mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-27 02:17:54 +00:00
update space service
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
ValidateNested,
|
||||
} from 'class-validator';
|
||||
import { AddSubspaceDto } from './subspace';
|
||||
import { CreateTagDto } from './tag';
|
||||
import { ProcessTagDto } from 'src/tags/dtos';
|
||||
|
||||
export class AddSpaceDto {
|
||||
@ApiProperty({
|
||||
@@ -79,11 +79,11 @@ export class AddSpaceDto {
|
||||
|
||||
@ApiProperty({
|
||||
description: 'List of tags associated with the space model',
|
||||
type: [CreateTagDto],
|
||||
type: [ProcessTagDto],
|
||||
})
|
||||
@ValidateNested({ each: true })
|
||||
@Type(() => CreateTagDto)
|
||||
tags?: CreateTagDto[];
|
||||
@Type(() => ProcessTagDto)
|
||||
tags?: ProcessTagDto[];
|
||||
}
|
||||
|
||||
export class AddUserSpaceDto {
|
||||
|
||||
Reference in New Issue
Block a user