Align import and property formatting in files.dto.ts
Change import statements to use double quotes for consistency and adjust property indents to match standard. These modifications improve code readability and maintain uniform coding style throughout the file.
This commit is contained in:
parent
534560bae5
commit
46b090c366
@ -1,19 +1,18 @@
|
||||
import { IsUUID, MaxLength, MinLength } from 'class-validator';
|
||||
import { DefaultValuePipe } from '@nestjs/common';
|
||||
|
||||
import { DefaultValuePipe } from "@nestjs/common";
|
||||
import { IsUUID, MaxLength, MinLength } from "class-validator";
|
||||
|
||||
export class CreateFilesDto {
|
||||
@MaxLength(128)
|
||||
@MinLength(4)
|
||||
fileName: string;
|
||||
@MaxLength(128)
|
||||
@MinLength(4)
|
||||
fileName: string;
|
||||
|
||||
@MaxLength(64)
|
||||
@MinLength(2)
|
||||
uploadedBy: string;
|
||||
@MaxLength(64)
|
||||
@MinLength(2)
|
||||
uploadedBy: string;
|
||||
|
||||
isDocumentation?: boolean;
|
||||
isRestricted?: boolean;
|
||||
isDocumentation?: boolean;
|
||||
isRestricted?: boolean;
|
||||
|
||||
@IsUUID()
|
||||
groupId: string;
|
||||
}
|
||||
@IsUUID()
|
||||
groupId: string;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user