Restore named project snapshots
This commit is contained in:
parent
7c670fece3
commit
384a5769ab
25 changed files with 1315 additions and 206 deletions
|
|
@ -18,9 +18,19 @@ export interface CreateNamedProjectSnapshotInput {
|
|||
actorId?: string;
|
||||
}
|
||||
|
||||
export interface PreparedProjectSnapshotRestore {
|
||||
snapshot: ProjectSnapshotMetadata;
|
||||
command: ProjectStateRestoreCommand;
|
||||
}
|
||||
|
||||
export interface ProjectSnapshotStore {
|
||||
createNamed(
|
||||
input: CreateNamedProjectSnapshotInput
|
||||
): ProjectSnapshotMetadata | null;
|
||||
listByProject(projectId: string): ProjectSnapshotMetadata[] | null;
|
||||
prepareRestore(
|
||||
projectId: string,
|
||||
snapshotId: string
|
||||
): PreparedProjectSnapshotRestore | null;
|
||||
}
|
||||
import type { ProjectStateRestoreCommand } from "../models/project-state-restore-command.model.js";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue