forked from jappel/leistungsbilanz-ts
Add project device structure history
This commit is contained in:
parent
0bc6c7372f
commit
ac16cca77a
15 changed files with 1262 additions and 26 deletions
|
|
@ -0,0 +1,26 @@
|
|||
import type { ProjectDeviceStructureProjectCommand } from "../models/project-device-structure-project-command.model.js";
|
||||
import type {
|
||||
AppendedProjectRevision,
|
||||
ProjectRevisionSource,
|
||||
} from "./project-revision.store.js";
|
||||
|
||||
export interface ExecuteProjectDeviceStructureCommandInput {
|
||||
projectId: string;
|
||||
expectedRevision: number;
|
||||
source: ProjectRevisionSource;
|
||||
description?: string;
|
||||
actorId?: string;
|
||||
historyTargetChangeSetId?: string;
|
||||
command: ProjectDeviceStructureProjectCommand;
|
||||
}
|
||||
|
||||
export interface ExecutedProjectDeviceStructureCommand {
|
||||
revision: AppendedProjectRevision;
|
||||
inverse: ProjectDeviceStructureProjectCommand;
|
||||
}
|
||||
|
||||
export interface ProjectDeviceStructureProjectCommandStore {
|
||||
execute(
|
||||
input: ExecuteProjectDeviceStructureCommandInput
|
||||
): ExecutedProjectDeviceStructureCommand;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue