feat: onboarding & profile edition (#507)
* feat: wip onboarding * fix: generate graphql front * wip: onboarding * feat: login/register and edit profile * fix: unused import * fix: test * Use DEBUG_MODE instead of STAGE and mute typescript depth exceed errors * Fix seeds * Fix onboarding when coming from google * Fix * Fix lint * Fix ci * Fix tests --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -15,13 +15,15 @@ export class UserCreateWithoutCommentsInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
firstName!: string;
|
||||
@Validator.IsOptional()
|
||||
firstName?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
lastName!: string;
|
||||
@Validator.IsOptional()
|
||||
lastName?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
|
||||
Reference in New Issue
Block a user