Persist project settings updates

This commit is contained in:
2026-07-25 23:08:07 +02:00
parent d00ae30bda
commit b2763f72d5
21 changed files with 569 additions and 33 deletions
@@ -0,0 +1,26 @@
import type { ProjectSettingsUpdateProjectCommand } from "../models/project-settings-project-command.model.js";
import type {
AppendedProjectRevision,
ProjectRevisionSource,
} from "./project-revision.store.js";
export interface ExecuteProjectSettingsUpdateCommandInput {
projectId: string;
expectedRevision: number;
source: ProjectRevisionSource;
description?: string;
actorId?: string;
historyTargetChangeSetId?: string;
command: ProjectSettingsUpdateProjectCommand;
}
export interface ExecutedProjectSettingsUpdateCommand {
revision: AppendedProjectRevision;
inverse: ProjectSettingsUpdateProjectCommand;
}
export interface ProjectSettingsProjectCommandStore {
executeUpdate(
input: ExecuteProjectSettingsUpdateCommandInput
): ExecutedProjectSettingsUpdateCommand;
}