forked from jappel/leistungsbilanz-ts
Add automatic project snapshots
This commit is contained in:
parent
59d442593f
commit
1a77eedaa8
23 changed files with 2232 additions and 26 deletions
|
|
@ -65,6 +65,7 @@ export class ProjectSnapshotRepository implements ProjectSnapshotStore {
|
|||
projectId: input.projectId,
|
||||
sourceRevision: current.currentRevision,
|
||||
schemaVersion: projectStateSnapshotSchemaVersion,
|
||||
kind: "named",
|
||||
name: snapshotName,
|
||||
description: snapshotDescription,
|
||||
payloadSha256: current.payloadSha256,
|
||||
|
|
@ -96,6 +97,7 @@ export class ProjectSnapshotRepository implements ProjectSnapshotStore {
|
|||
projectId: projectSnapshots.projectId,
|
||||
sourceRevision: projectSnapshots.sourceRevision,
|
||||
schemaVersion: projectSnapshots.schemaVersion,
|
||||
kind: projectSnapshots.kind,
|
||||
name: projectSnapshots.name,
|
||||
description: projectSnapshots.description,
|
||||
payloadSha256: projectSnapshots.payloadSha256,
|
||||
|
|
@ -146,6 +148,7 @@ export class ProjectSnapshotRepository implements ProjectSnapshotStore {
|
|||
projectId: stored.projectId,
|
||||
sourceRevision: stored.sourceRevision,
|
||||
schemaVersion: stored.schemaVersion,
|
||||
kind: stored.kind,
|
||||
name: stored.name,
|
||||
description: stored.description,
|
||||
payloadSha256: stored.payloadSha256,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue