1
0
forked from Yara724/api

Initial commit after migration to gitea

This commit is contained in:
2026-01-18 11:27:43 +03:30
parent a21039410c
commit ea4b8eb543
196 changed files with 45567 additions and 9 deletions

View File

@@ -0,0 +1,31 @@
import { ApiProperty, ApiSchema } from "@nestjs/swagger";
import { IsDateString } from "class-validator";
@ApiSchema({
name: "Update user profile",
description: "Users updates their profile via this API.",
})
export class UpdateUserProfileDtoRq {
// @ApiProperty({})
// mobile: string;
@ApiProperty({
type: "string",
description: "Birth date of the user",
example: "1999-03-05",
nullable: true,
})
@IsDateString()
birthDay: string;
@ApiProperty()
gender?: "male" | "female";
@ApiProperty()
city: string;
@ApiProperty()
state: string;
@ApiProperty()
address: string;
}