@decaf-ts/ui-decorators 0.20.1 → 0.20.2
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.
- package/README.md +12 -0
- package/dist/ui-decorators.cjs +1 -1
- package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs +5 -0
- package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs.map +1 -1
- package/lib/cjs/graph/constants.cjs +1 -15
- package/lib/cjs/graph/constants.cjs.map +1 -1
- package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs +67 -10
- package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs.map +1 -1
- package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs +46 -4
- package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs.map +1 -1
- package/lib/cjs/graph/snapshot.cjs +77 -8
- package/lib/cjs/graph/snapshot.cjs.map +1 -1
- package/lib/cjs/index.cjs +3 -3
- package/lib/esm/graph/catalog/GraphNodePolicyManifest.js +5 -0
- package/lib/esm/graph/catalog/GraphNodePolicyManifest.js.map +1 -1
- package/lib/esm/graph/constants.js +0 -13
- package/lib/esm/graph/constants.js.map +1 -1
- package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js +67 -10
- package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js.map +1 -1
- package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js +46 -4
- package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js.map +1 -1
- package/lib/esm/graph/snapshot.js +77 -8
- package/lib/esm/graph/snapshot.js.map +1 -1
- package/lib/esm/index.js +3 -3
- package/lib/types/graph/catalog/GraphNodePolicyManifest.d.cts +33 -0
- package/lib/types/graph/catalog/GraphNodePolicyManifest.d.mts +33 -0
- package/lib/types/graph/constants.d.cts +0 -8
- package/lib/types/graph/constants.d.mts +0 -8
- package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.cts +21 -0
- package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.mts +21 -0
- package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.cts +44 -0
- package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.mts +44 -0
- package/lib/types/graph/snapshot.d.cts +8 -1
- package/lib/types/graph/snapshot.d.mts +8 -1
- package/lib/types/index.d.cts +3 -3
- package/lib/types/index.d.mts +3 -3
- package/package.json +1 -1
|
@@ -146,7 +146,14 @@ export type GraphWorkflowSnapshot = {
|
|
|
146
146
|
metadata?: Record<string, GraphJsonValue>;
|
|
147
147
|
};
|
|
148
148
|
export type GraphWorkflowSnapshotLike = LegacyGraphWorkflowSnapshot | GraphWorkflowSnapshot;
|
|
149
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Maps a legacy (pre-P7) canvas snapshot to the canonical
|
|
151
|
+
* {@link GraphWorkflowDocument} (DECAF-50 §4.4.6): legacy `node.data` becomes
|
|
152
|
+
* instance `parameters`, legacy `node.metadata` becomes instance `metadata`,
|
|
153
|
+
* workflow boundary badges (`input-{port}`) fold back onto their workflow
|
|
154
|
+
* ports, and edge labels missing from cloned edge rows are restored from the
|
|
155
|
+
* decorated definition's relation labels (§4.4.7).
|
|
156
|
+
*/
|
|
150
157
|
export declare function graphWorkflowDocumentFromLegacySnapshot(snapshot: LegacyGraphWorkflowSnapshot): GraphWorkflowDocument;
|
|
151
158
|
/**
|
|
152
159
|
* Converts a legacy persisted snapshot into the canonical wrapper. The canonical
|
package/lib/types/index.d.cts
CHANGED
|
@@ -15,19 +15,19 @@ export * from "./ui/index.d.cts";
|
|
|
15
15
|
* @const VERSION
|
|
16
16
|
* @memberOf module:ui-decorators
|
|
17
17
|
*/
|
|
18
|
-
export declare const VERSION = "0.20.
|
|
18
|
+
export declare const VERSION = "0.20.2";
|
|
19
19
|
/**
|
|
20
20
|
* @description Represents the current commit hash of the module build.
|
|
21
21
|
* @summary Stores the current git commit hash for the package. The build replaces
|
|
22
22
|
* the placeholder with the actual commit hash at publish time.
|
|
23
23
|
* @const COMMIT
|
|
24
24
|
*/
|
|
25
|
-
export declare const COMMIT = "
|
|
25
|
+
export declare const COMMIT = "f5a4e57";
|
|
26
26
|
/**
|
|
27
27
|
* @description Represents the full version string of the module.
|
|
28
28
|
* @summary Stores the semver version and commit hash for the package.
|
|
29
29
|
* The build replaces the placeholder with the actual `<version>-<commit>` value at publish time.
|
|
30
30
|
* @const FULL_VERSION
|
|
31
31
|
*/
|
|
32
|
-
export declare const FULL_VERSION = "0.20.
|
|
32
|
+
export declare const FULL_VERSION = "0.20.2-f5a4e57";
|
|
33
33
|
export declare const PACKAGE_NAME = "@decaf-ts/ui-decorators";
|
package/lib/types/index.d.mts
CHANGED
|
@@ -15,19 +15,19 @@ export * from "./ui/index.d.mts";
|
|
|
15
15
|
* @const VERSION
|
|
16
16
|
* @memberOf module:ui-decorators
|
|
17
17
|
*/
|
|
18
|
-
export declare const VERSION = "0.20.
|
|
18
|
+
export declare const VERSION = "0.20.2";
|
|
19
19
|
/**
|
|
20
20
|
* @description Represents the current commit hash of the module build.
|
|
21
21
|
* @summary Stores the current git commit hash for the package. The build replaces
|
|
22
22
|
* the placeholder with the actual commit hash at publish time.
|
|
23
23
|
* @const COMMIT
|
|
24
24
|
*/
|
|
25
|
-
export declare const COMMIT = "
|
|
25
|
+
export declare const COMMIT = "f5a4e57";
|
|
26
26
|
/**
|
|
27
27
|
* @description Represents the full version string of the module.
|
|
28
28
|
* @summary Stores the semver version and commit hash for the package.
|
|
29
29
|
* The build replaces the placeholder with the actual `<version>-<commit>` value at publish time.
|
|
30
30
|
* @const FULL_VERSION
|
|
31
31
|
*/
|
|
32
|
-
export declare const FULL_VERSION = "0.20.
|
|
32
|
+
export declare const FULL_VERSION = "0.20.2-f5a4e57";
|
|
33
33
|
export declare const PACKAGE_NAME = "@decaf-ts/ui-decorators";
|