Files
leistungsbilanz-ts/src/domain/ports/external-object-new-circuit-project-command.store.ts
T

20 lines
733 B
TypeScript

import type { ExternalObjectNewCircuitProjectCommand } from "../models/external-object-new-circuit-project-command.model.js";
import type { AppendedProjectRevision, ProjectRevisionSource } from "./project-revision.store.js";
export interface ExecuteExternalObjectNewCircuitCommandInput {
projectId: string;
expectedRevision: number;
source: ProjectRevisionSource;
description?: string;
actorId?: string;
historyTargetChangeSetId?: string;
command: ExternalObjectNewCircuitProjectCommand;
}
export interface ExternalObjectNewCircuitProjectCommandStore {
execute(input: ExecuteExternalObjectNewCircuitCommandInput): {
revision: AppendedProjectRevision;
inverse: ExternalObjectNewCircuitProjectCommand;
};
}