feat: add profiles session API

This commit is contained in:
Matthieu
2025-09-17 23:11:25 +02:00
parent 83251b532c
commit df5bbeecb7
78 changed files with 3000 additions and 836 deletions

View File

@@ -0,0 +1,19 @@
import { IsNotEmpty, IsString, MaxLength } from 'class-validator'
export class CreateProfileDto {
@IsString()
@IsNotEmpty()
@MaxLength(100)
firstName!: string
@IsString()
@IsNotEmpty()
@MaxLength(100)
lastName!: string
}
export class ActivateProfileDto {
@IsString()
@IsNotEmpty()
profileId!: string
}