forked from woem.men/forkey
update tests to handle signup requests
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',
|
||||
nullable: true, optional: true,
|
||||
},
|
||||
approved: {
|
||||
type: 'boolean',
|
||||
nullable: false, optional: true,
|
||||
},
|
||||
signupReason: {
|
||||
type: 'string',
|
||||
nullable: true, optional: true,
|
||||
},
|
||||
securityKeysList: {
|
||||
type: 'array',
|
||||
nullable: false, optional: true,
|
||||
|
|
|
@ -151,6 +151,8 @@ describe('ユーザー', () => {
|
|||
...(security ? {
|
||||
email: user.email,
|
||||
emailVerified: user.emailVerified,
|
||||
approved: user.approved,
|
||||
signupReason: user.signupReason,
|
||||
securityKeysList: user.securityKeysList,
|
||||
} : {}),
|
||||
});
|
||||
|
|
|
@ -4103,6 +4103,8 @@ export type components = {
|
|||
policies: components['schemas']['RolePolicies'];
|
||||
email?: string | null;
|
||||
emailVerified?: boolean | null;
|
||||
approved?: boolean;
|
||||
signupReason?: string | null;
|
||||
securityKeysList?: {
|
||||
/**
|
||||
* Format: id
|
||||
|
@ -15517,6 +15519,8 @@ export type operations = {
|
|||
type?: string | null;
|
||||
/** @enum {string|null} */
|
||||
sort?: '+createdAt' | '-createdAt' | '+name' | '-name' | '+size' | '-size' | null;
|
||||
/** @default */
|
||||
searchQuery?: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -16116,6 +16120,8 @@ export type operations = {
|
|||
* @default null
|
||||
*/
|
||||
folderId?: string | null;
|
||||
/** @default */
|
||||
searchQuery?: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue