update space service

This commit is contained in:
faris Aljohari
2025-02-27 13:36:08 +03:00
parent 7ddc39a7eb
commit 902ddbab50
6 changed files with 439 additions and 13 deletions
+4 -4
View File
@@ -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 {