Add project device update history

This commit is contained in:
2026-07-24 08:57:57 +02:00
parent 2668fc2f16
commit 0bc6c7372f
14 changed files with 785 additions and 13 deletions
@@ -0,0 +1,26 @@
import type { ProjectDeviceUpdateProjectCommand } from "../models/project-device-project-command.model.js";
import type {
AppendedProjectRevision,
ProjectRevisionSource,
} from "./project-revision.store.js";
export interface ExecuteProjectDeviceUpdateCommandInput {
projectId: string;
expectedRevision: number;
source: ProjectRevisionSource;
description?: string;
actorId?: string;
historyTargetChangeSetId?: string;
command: ProjectDeviceUpdateProjectCommand;
}
export interface ExecutedProjectDeviceUpdateCommand {
revision: AppendedProjectRevision;
inverse: ProjectDeviceUpdateProjectCommand;
}
export interface ProjectDeviceProjectCommandStore {
executeUpdate(
input: ExecuteProjectDeviceUpdateCommandInput
): ExecutedProjectDeviceUpdateCommand;
}