fixed delete subspace model propagation

This commit is contained in:
hannathkadher
2025-03-11 01:25:27 +04:00
parent aa609266c7
commit 9122137922
3 changed files with 77 additions and 25 deletions

View File

@ -6,13 +6,13 @@ import { ModifyTagModelDto } from '../dtos';
import { ModifyAction } from '@app/common/constants/modify-action.enum';
import { NewTagEntity } from '@app/common/modules/tag';
export interface IRelocatedAllocation {
allocation: SpaceModelProductAllocationEntity;
tags?: NewTagEntity[];
}
export interface ISingleSubspaceModel {
subspaceModel: SubspaceModelEntity;
action: ModifyAction;
tags: ModifyTagModelDto[];
movedToNewSpaceAllocation?: SpaceModelProductAllocationEntity[];
movedToAlreadyExistingSpaceAllocation?: {
allocation: SpaceModelProductAllocationEntity;
tags: NewTagEntity[];
}[];
tags?: ModifyTagModelDto[];
relocatedAllocations?: IRelocatedAllocation[];
}