mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 07:07:21 +00:00
refactor: remove BookableSpaceDto and its index export
This commit is contained in:
@ -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;
|
||||
}
|
@ -1 +0,0 @@
|
||||
export * from './bookable-space.dto';
|
Reference in New Issue
Block a user