From 46b090c366c64515dd8c5a150cc32a34f11e7331 Mon Sep 17 00:00:00 2001 From: Mathis Date: Mon, 7 Oct 2024 12:00:37 +0200 Subject: [PATCH] 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. --- apps/backend/src/app/files/files.dto.ts | 27 ++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/apps/backend/src/app/files/files.dto.ts b/apps/backend/src/app/files/files.dto.ts index 8a1c616..6a92333 100644 --- a/apps/backend/src/app/files/files.dto.ts +++ b/apps/backend/src/app/files/files.dto.ts @@ -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; -} \ No newline at end of file + @IsUUID() + groupId: string; +}