From 8c34c68ba6a32bcea5d25201b63e29a66ce3f5a3 Mon Sep 17 00:00:00 2001 From: faris Aljohari <83524184+farisaljohari@users.noreply.github.com> Date: Wed, 18 Jun 2025 01:48:35 -0600 Subject: [PATCH] refactor: remove BookableSpaceDto and its index export --- .../booking/dtos/bookable-space.dto.ts | 23 ------------------- libs/common/src/modules/booking/dtos/index.ts | 1 - 2 files changed, 24 deletions(-) delete mode 100644 libs/common/src/modules/booking/dtos/bookable-space.dto.ts delete mode 100644 libs/common/src/modules/booking/dtos/index.ts diff --git a/libs/common/src/modules/booking/dtos/bookable-space.dto.ts b/libs/common/src/modules/booking/dtos/bookable-space.dto.ts deleted file mode 100644 index 8c7c41a..0000000 --- a/libs/common/src/modules/booking/dtos/bookable-space.dto.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { DaysEnum } from '@app/common/constants/days.enum'; -import { IsArray, IsEnum, IsInt, IsNotEmpty, IsString } from 'class-validator'; - -export class BookableSpaceDto { - @IsString() - @IsNotEmpty() - public uuid: string; - - @IsArray() - @IsEnum(DaysEnum, { each: true }) - daysAvailable: DaysEnum[]; - - @IsString() - @IsNotEmpty() - startTime: string; - - @IsString() - @IsNotEmpty() - endTime: string; - - @IsInt() - points: number; -} diff --git a/libs/common/src/modules/booking/dtos/index.ts b/libs/common/src/modules/booking/dtos/index.ts deleted file mode 100644 index 29762ae..0000000 --- a/libs/common/src/modules/booking/dtos/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './bookable-space.dto';