Files
backend/src/space/dtos/get.space.param.ts
T
2024-10-17 11:20:05 +04:00

13 lines
358 B
TypeScript

import { ApiProperty } from '@nestjs/swagger';
import { IsUUID } from 'class-validator';
import { CommunitySpaceParam } from './community-space.param';
export class GetSpaceParam extends CommunitySpaceParam {
@ApiProperty({
description: 'UUID of the Space',
example: 'd290f1ee-6c54-4b01-90e6-d701748f0851',
})
@IsUUID()
spaceUuid: string;
}