@konitif/workbench 0.285.5 → 0.285.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,6 +53,7 @@ export declare function saveWorkbenchExperienceRevision<TMetadata, TSpecializati
53
53
  draft: WorkbenchExperienceDraft<TSpecialization>;
54
54
  expectedHeadRevisionId: ExperienceRevisionIdentity;
55
55
  revisionId: ExperienceRevisionIdentity;
56
+ derivedFrom?: ExperienceRevisionIdentity | null;
56
57
  metadata?: TMetadata;
57
58
  }): ExperienceLifecycleResult<WorkbenchExperienceLifecycleValue<TMetadata, TSpecialization>>;
58
59
  export declare function transitionWorkbenchExperienceLifecycle<TMetadata>(input: {
@@ -63,7 +63,9 @@ export function saveWorkbenchExperienceRevision(input) {
63
63
  id: revisionId,
64
64
  experienceId: input.experience.id,
65
65
  parentRevisionId: input.draft.baseRevisionId,
66
- derivedFrom: null,
66
+ derivedFrom: input.derivedFrom
67
+ ? defineExperienceRevisionIdentity(input.derivedFrom.value)
68
+ : null,
67
69
  preset: input.draft.preset,
68
70
  specialization: input.draft.specialization,
69
71
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@konitif/workbench",
3
3
  "license": "PolyForm-Noncommercial-1.0.0",
4
- "version": "0.285.5",
4
+ "version": "0.285.6",
5
5
  "description": "Workspace composition, docking, registries and hosting contracts for KONITIF.",
6
6
  "repository": {
7
7
  "type": "git",