Persist project locations
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import type { ProjectLocationStructureProjectCommand } from "../models/project-location-structure-project-command.model.js";
|
||||
import type {
|
||||
AppendedProjectRevision,
|
||||
ProjectRevisionSource,
|
||||
} from "./project-revision.store.js";
|
||||
|
||||
export interface ExecuteProjectLocationStructureCommandInput {
|
||||
projectId: string;
|
||||
expectedRevision: number;
|
||||
source: ProjectRevisionSource;
|
||||
description?: string;
|
||||
actorId?: string;
|
||||
historyTargetChangeSetId?: string;
|
||||
command: ProjectLocationStructureProjectCommand;
|
||||
}
|
||||
|
||||
export interface ExecutedProjectLocationStructureCommand {
|
||||
revision: AppendedProjectRevision;
|
||||
inverse: ProjectLocationStructureProjectCommand;
|
||||
}
|
||||
|
||||
export interface ProjectLocationStructureProjectCommandStore {
|
||||
execute(
|
||||
input: ExecuteProjectLocationStructureCommandInput
|
||||
): ExecutedProjectLocationStructureCommand;
|
||||
}
|
||||
Reference in New Issue
Block a user