feat(services): ability to search GET /guilds/public

This commit is contained in:
Divlo
2021-11-13 14:48:56 +01:00
parent f0f4f9f69f
commit 385c95be90
6 changed files with 2153 additions and 3015 deletions

View File

@ -21,10 +21,14 @@ export const userSchema = {
name: Type.String({ minLength: 1, maxLength: 30 }),
email: Type.String({ minLength: 1, maxLength: 254, format: 'email' }),
password: Type.String(),
logo: Type.String({ format: 'uri-reference' }),
status: Type.String({ maxLength: 50 }),
biography: Type.String({ maxLength: 160 }),
website: Type.String({ maxLength: 255, format: 'uri-reference' }),
logo: Type.String({ minLength: 1, format: 'uri-reference' }),
status: Type.String({ minLength: 1, maxLength: 50 }),
biography: Type.String({ minLength: 1, maxLength: 160 }),
website: Type.String({
minLength: 1,
maxLength: 255,
format: 'uri-reference'
}),
isConfirmed: Type.Boolean({ default: false }),
temporaryToken: Type.String(),
temporaryExpirationToken: Type.String({ format: 'date-time' }),