mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
19 lines
585 B
TypeScript
19 lines
585 B
TypeScript
import {
|
|
SpaceModelProductAllocationEntity,
|
|
SubspaceModelEntity,
|
|
} from '@app/common/modules/space-model';
|
|
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[];
|
|
relocatedAllocations?: IRelocatedAllocation[];
|
|
}
|