Persist populated group deletion

This commit is contained in:
2026-07-30 20:10:10 +02:00
parent db4c757018
commit 99bdf6491b
15 changed files with 754 additions and 5 deletions
@@ -0,0 +1,24 @@
import type { CircuitGroupSubtreeSnapshot } from "../models/circuit-group-subtree-snapshot.model.js";
import type { CircuitGroupSubtreeProjectCommand } from "../models/circuit-group-subtree-project-command.model.js";
import type {
AppendedProjectRevision,
ProjectRevisionSource,
} from "./project-revision.store.js";
export interface ExecuteCircuitGroupSubtreeCommandInput {
projectId: string;
expectedRevision: number;
source: ProjectRevisionSource;
description?: string;
actorId?: string;
historyTargetChangeSetId?: string;
command: CircuitGroupSubtreeProjectCommand;
}
export interface CircuitGroupSubtreeProjectCommandStore {
capture(projectId: string, groupId: string): CircuitGroupSubtreeSnapshot;
execute(input: ExecuteCircuitGroupSubtreeCommandInput): {
revision: AppendedProjectRevision;
inverse: CircuitGroupSubtreeProjectCommand;
};
}