mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 07:07:21 +00:00

* task: add getCommunitiesV2 * task: update getOneSpace API to match revamp structure * refactor: implement modifications to pace management APIs * refactor: remove space link
15 lines
470 B
TypeScript
15 lines
470 B
TypeScript
import { ApiPropertyOptional, PartialType } from '@nestjs/swagger';
|
|
import { IsOptional, IsUUID } from 'class-validator';
|
|
import { AddSubspaceDto } from './add.subspace.dto';
|
|
|
|
export class UpdateSubspaceDto extends PartialType(AddSubspaceDto) {
|
|
@ApiPropertyOptional({
|
|
description:
|
|
'UUID of the subspace (will present if updating an existing subspace)',
|
|
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
})
|
|
@IsOptional()
|
|
@IsUUID()
|
|
uuid?: string;
|
|
}
|