Files
leistungsbilanz-ts/src/domain/ports/circuit-device-row-move-project-command.store.ts
T
2026-07-23 22:39:59 +02:00

27 lines
823 B
TypeScript

import type { CircuitDeviceRowMoveHistoryProjectCommand } from "../models/circuit-device-row-move-project-command.model.js";
import type {
AppendedProjectRevision,
ProjectRevisionSource,
} from "./project-revision.store.js";
export interface ExecuteCircuitDeviceRowMoveCommandInput {
projectId: string;
expectedRevision: number;
source: ProjectRevisionSource;
description?: string;
actorId?: string;
historyTargetChangeSetId?: string;
command: CircuitDeviceRowMoveHistoryProjectCommand;
}
export interface ExecutedCircuitDeviceRowMoveCommand {
revision: AppendedProjectRevision;
inverse: CircuitDeviceRowMoveHistoryProjectCommand;
}
export interface CircuitDeviceRowMoveProjectCommandStore {
execute(
input: ExecuteCircuitDeviceRowMoveCommandInput
): ExecutedCircuitDeviceRowMoveCommand;
}