mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 09:24:54 +00:00
Refactor/space management (#404)
* refactor: reducing used queries on get communities (#385) * refactor: fix create space logic (#394) * Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity * refactor: fix create space logic * device model updated to include the fixes and final columns * updated space models to include suggested fixes, update final logic and column names * task: removing old references of the old tag-product relation * task: remove old use of tags * task: remove old tag & tag model usage * refactor: delete space * task: remove unused functions * fix lint rule
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
import { ModifyAction } from '@app/common/constants/modify-action.enum';
|
||||
import { SubspaceEntity } from '@app/common/modules/space/entities/subspace/subspace.entity';
|
||||
import { ModifyTagDto } from '../dtos/tag/modify-tag.dto';
|
||||
|
||||
export interface ISingleSubspace {
|
||||
subspace: SubspaceEntity;
|
||||
action: ModifyAction;
|
||||
tags: ModifyTagDto[];
|
||||
}
|
||||
6
src/space/interfaces/update-subspace-allocation.dto.ts
Normal file
6
src/space/interfaces/update-subspace-allocation.dto.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { ProcessTagDto } from 'src/tags/dtos';
|
||||
|
||||
export interface UpdateSpaceAllocationDto {
|
||||
uuid: string;
|
||||
tags: ProcessTagDto[];
|
||||
}
|
||||
Reference in New Issue
Block a user