style: 统一项目代码格式
This commit is contained in:
1 parent
f0836ec056
commit
718d357d88
8 files changed
+1012
-117
No files matched your search
@@ -41,7 +41,8 @@ export class CreateServiceDto {
|
||||
}
|
||||
|
||||
export class CreateTrustContentDto {
|
||||
@IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"]) type!: string;
|
||||
@IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"])
|
||||
type!: string;
|
||||
@IsString() title!: string;
|
||||
@IsOptional() @IsString() summary?: string;
|
||||
@IsString() content!: string;
|
||||
@@ -52,7 +53,9 @@ export class CreateTrustContentDto {
|
||||
}
|
||||
|
||||
export class UpdateTrustContentDto {
|
||||
@IsOptional() @IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"]) type?: string;
|
||||
@IsOptional()
|
||||
@IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"])
|
||||
type?: string;
|
||||
@IsOptional() @IsString() title?: string;
|
||||
@IsOptional() @IsString() summary?: string;
|
||||
@IsOptional() @IsString() content?: string;
|
||||
|
||||
Reference in new issue
Block a user