Persist project settings updates
This commit is contained in:
parent
d00ae30bda
commit
b2763f72d5
21 changed files with 569 additions and 33 deletions
26
src/domain/ports/project-settings-project-command.store.ts
Normal file
26
src/domain/ports/project-settings-project-command.store.ts
Normal file
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue