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',
|
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