update tests to handle signup requests
All checks were successful
Lint / pnpm_install (pull_request) Successful in 2m51s
API report (misskey.js) / report (pull_request) Successful in 2m53s
Test (frontend) / vitest (22.x) (pull_request) Successful in 3m7s
Test (misskey.js) / test (22.x) (pull_request) Successful in 3m2s
Test (production install and build) / production (22.x) (pull_request) Successful in 2m40s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 3m22s
Lint / lint (backend) (pull_request) Successful in 4m14s
Lint / lint (misskey-js) (pull_request) Successful in 2m22s
Lint / lint (sw) (pull_request) Successful in 2m30s
Lint / typecheck (backend) (pull_request) Successful in 2m46s
Lint / lint (frontend) (pull_request) Successful in 9m19s
Lint / typecheck (misskey-js) (pull_request) Successful in 2m59s
Test (backend) / unit (22.x) (pull_request) Successful in 7m49s
Test (backend) / e2e (22.x) (pull_request) Successful in 9m34s
All checks were successful
Lint / pnpm_install (pull_request) Successful in 2m51s
API report (misskey.js) / report (pull_request) Successful in 2m53s
Test (frontend) / vitest (22.x) (pull_request) Successful in 3m7s
Test (misskey.js) / test (22.x) (pull_request) Successful in 3m2s
Test (production install and build) / production (22.x) (pull_request) Successful in 2m40s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 3m22s
Lint / lint (backend) (pull_request) Successful in 4m14s
Lint / lint (misskey-js) (pull_request) Successful in 2m22s
Lint / lint (sw) (pull_request) Successful in 2m30s
Lint / typecheck (backend) (pull_request) Successful in 2m46s
Lint / lint (frontend) (pull_request) Successful in 9m19s
Lint / typecheck (misskey-js) (pull_request) Successful in 2m59s
Test (backend) / unit (22.x) (pull_request) Successful in 7m49s
Test (backend) / e2e (22.x) (pull_request) Successful in 9m34s
This commit is contained in:
parent
2951162865
commit
1c8a2cfa46
3 changed files with 16 additions and 0 deletions
|
@ -651,6 +651,14 @@ export const packedMeDetailedOnlySchema = {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
nullable: true, optional: true,
|
nullable: true, optional: true,
|
||||||
},
|
},
|
||||||
|
approved: {
|
||||||
|
type: 'boolean',
|
||||||
|
nullable: false, optional: true,
|
||||||
|
},
|
||||||
|
signupReason: {
|
||||||
|
type: 'string',
|
||||||
|
nullable: true, optional: true,
|
||||||
|
},
|
||||||
securityKeysList: {
|
securityKeysList: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
nullable: false, optional: true,
|
nullable: false, optional: true,
|
||||||
|
|
|
@ -151,6 +151,8 @@ describe('ユーザー', () => {
|
||||||
...(security ? {
|
...(security ? {
|
||||||
email: user.email,
|
email: user.email,
|
||||||
emailVerified: user.emailVerified,
|
emailVerified: user.emailVerified,
|
||||||
|
approved: user.approved,
|
||||||
|
signupReason: user.signupReason,
|
||||||
securityKeysList: user.securityKeysList,
|
securityKeysList: user.securityKeysList,
|
||||||
} : {}),
|
} : {}),
|
||||||
});
|
});
|
||||||
|
|
|
@ -4103,6 +4103,8 @@ export type components = {
|
||||||
policies: components['schemas']['RolePolicies'];
|
policies: components['schemas']['RolePolicies'];
|
||||||
email?: string | null;
|
email?: string | null;
|
||||||
emailVerified?: boolean | null;
|
emailVerified?: boolean | null;
|
||||||
|
approved?: boolean;
|
||||||
|
signupReason?: string | null;
|
||||||
securityKeysList?: {
|
securityKeysList?: {
|
||||||
/**
|
/**
|
||||||
* Format: id
|
* Format: id
|
||||||
|
@ -15517,6 +15519,8 @@ export type operations = {
|
||||||
type?: string | null;
|
type?: string | null;
|
||||||
/** @enum {string|null} */
|
/** @enum {string|null} */
|
||||||
sort?: '+createdAt' | '-createdAt' | '+name' | '-name' | '+size' | '-size' | null;
|
sort?: '+createdAt' | '-createdAt' | '+name' | '-name' | '+size' | '-size' | null;
|
||||||
|
/** @default */
|
||||||
|
searchQuery?: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -16116,6 +16120,8 @@ export type operations = {
|
||||||
* @default null
|
* @default null
|
||||||
*/
|
*/
|
||||||
folderId?: string | null;
|
folderId?: string | null;
|
||||||
|
/** @default */
|
||||||
|
searchQuery?: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue