@decaf-ts/ui-decorators 0.21.0 → 0.21.1
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/dist/ui-decorators.cjs +1 -1
- package/dist/ui-decorators.cjs.map +1 -1
- package/dist/ui-decorators.js +1 -1
- package/dist/ui-decorators.js.map +1 -1
- package/lib/cjs/index.cjs +3 -3
- package/lib/esm/index.js +3 -3
- package/lib/types/index.d.cts +3 -3
- package/lib/types/index.d.mts +3 -3
- package/package.json +2 -18
- package/lib/cjs/graph/GraphExecutionStateMapper.cjs +0 -97
- package/lib/cjs/graph/GraphExecutionStateMapper.cjs.map +0 -1
- package/lib/cjs/graph/GraphResolution.cjs +0 -17
- package/lib/cjs/graph/GraphResolution.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphConnectionPolicy.cjs +0 -20
- package/lib/cjs/graph/catalog/GraphConnectionPolicy.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphCredentialReference.cjs +0 -15
- package/lib/cjs/graph/catalog/GraphCredentialReference.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphCredentialRequirement.cjs +0 -16
- package/lib/cjs/graph/catalog/GraphCredentialRequirement.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphDynamicPortRule.cjs +0 -31
- package/lib/cjs/graph/catalog/GraphDynamicPortRule.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphIconReference.cjs +0 -22
- package/lib/cjs/graph/catalog/GraphIconReference.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs +0 -326
- package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeCapability.cjs +0 -23
- package/lib/cjs/graph/catalog/GraphNodeCapability.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeDisplayManifest.cjs +0 -11
- package/lib/cjs/graph/catalog/GraphNodeDisplayManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeManifest.cjs +0 -23
- package/lib/cjs/graph/catalog/GraphNodeManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeManifestSerialization.cjs +0 -50
- package/lib/cjs/graph/catalog/GraphNodeManifestSerialization.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeMethodManifest.cjs +0 -29
- package/lib/cjs/graph/catalog/GraphNodeMethodManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs +0 -18
- package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterBase.cjs +0 -4
- package/lib/cjs/graph/catalog/GraphParameterBase.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterDefinition.cjs +0 -29
- package/lib/cjs/graph/catalog/GraphParameterDefinition.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterOption.cjs +0 -18
- package/lib/cjs/graph/catalog/GraphParameterOption.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterValidation.cjs +0 -57
- package/lib/cjs/graph/catalog/GraphParameterValidation.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphPortManifest.cjs +0 -19
- package/lib/cjs/graph/catalog/GraphPortManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs +0 -15
- package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphResourceLocatorMode.cjs +0 -19
- package/lib/cjs/graph/catalog/GraphResourceLocatorMode.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphValueSchema.cjs +0 -25
- package/lib/cjs/graph/catalog/GraphValueSchema.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphValueSchemaDerivation.cjs +0 -164
- package/lib/cjs/graph/catalog/GraphValueSchemaDerivation.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphVisibilityExpression.cjs +0 -63
- package/lib/cjs/graph/catalog/GraphVisibilityExpression.cjs.map +0 -1
- package/lib/cjs/graph/catalog/index.cjs +0 -40
- package/lib/cjs/graph/catalog/index.cjs.map +0 -1
- package/lib/cjs/graph/category-styles.cjs +0 -38
- package/lib/cjs/graph/category-styles.cjs.map +0 -1
- package/lib/cjs/graph/constants.cjs +0 -320
- package/lib/cjs/graph/constants.cjs.map +0 -1
- package/lib/cjs/graph/decorators.cjs +0 -151
- package/lib/cjs/graph/decorators.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs +0 -353
- package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphEdgeInstance.cjs +0 -4
- package/lib/cjs/graph/document/GraphEdgeInstance.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphEndpoint.cjs +0 -27
- package/lib/cjs/graph/document/GraphEndpoint.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphJsonValue.cjs +0 -82
- package/lib/cjs/graph/document/GraphJsonValue.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphLoopConfiguration.cjs +0 -4
- package/lib/cjs/graph/document/GraphLoopConfiguration.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphNodeBinding.cjs +0 -27
- package/lib/cjs/graph/document/GraphNodeBinding.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphNodeInstance.cjs +0 -4
- package/lib/cjs/graph/document/GraphNodeInstance.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocument.cjs +0 -16
- package/lib/cjs/graph/document/GraphWorkflowDocument.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs +0 -309
- package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocumentReader.cjs +0 -78
- package/lib/cjs/graph/document/GraphWorkflowDocumentReader.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocumentSerializer.cjs +0 -70
- package/lib/cjs/graph/document/GraphWorkflowDocumentSerializer.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowUiState.cjs +0 -4
- package/lib/cjs/graph/document/GraphWorkflowUiState.cjs.map +0 -1
- package/lib/cjs/graph/document/index.cjs +0 -30
- package/lib/cjs/graph/document/index.cjs.map +0 -1
- package/lib/cjs/graph/index.cjs +0 -33
- package/lib/cjs/graph/index.cjs.map +0 -1
- package/lib/cjs/graph/overrides/Metadata.cjs +0 -23
- package/lib/cjs/graph/overrides/Metadata.cjs.map +0 -1
- package/lib/cjs/graph/overrides/Rendering.cjs +0 -4
- package/lib/cjs/graph/overrides/Rendering.cjs.map +0 -1
- package/lib/cjs/graph/overrides/index.cjs +0 -21
- package/lib/cjs/graph/overrides/index.cjs.map +0 -1
- package/lib/cjs/graph/overrides/overrides.cjs +0 -20
- package/lib/cjs/graph/overrides/overrides.cjs.map +0 -1
- package/lib/cjs/graph/reader.cjs +0 -327
- package/lib/cjs/graph/reader.cjs.map +0 -1
- package/lib/cjs/graph/registry.cjs +0 -67
- package/lib/cjs/graph/registry.cjs.map +0 -1
- package/lib/cjs/graph/snapshot.cjs +0 -4
- package/lib/cjs/graph/snapshot.cjs.map +0 -1
- package/lib/cjs/graph/types.cjs +0 -7
- package/lib/cjs/graph/types.cjs.map +0 -1
- package/lib/esm/graph/GraphExecutionStateMapper.js +0 -91
- package/lib/esm/graph/GraphExecutionStateMapper.js.map +0 -1
- package/lib/esm/graph/GraphResolution.js +0 -13
- package/lib/esm/graph/GraphResolution.js.map +0 -1
- package/lib/esm/graph/catalog/GraphConnectionPolicy.js +0 -16
- package/lib/esm/graph/catalog/GraphConnectionPolicy.js.map +0 -1
- package/lib/esm/graph/catalog/GraphCredentialReference.js +0 -9
- package/lib/esm/graph/catalog/GraphCredentialReference.js.map +0 -1
- package/lib/esm/graph/catalog/GraphCredentialRequirement.js +0 -12
- package/lib/esm/graph/catalog/GraphCredentialRequirement.js.map +0 -1
- package/lib/esm/graph/catalog/GraphDynamicPortRule.js +0 -25
- package/lib/esm/graph/catalog/GraphDynamicPortRule.js.map +0 -1
- package/lib/esm/graph/catalog/GraphIconReference.js +0 -18
- package/lib/esm/graph/catalog/GraphIconReference.js.map +0 -1
- package/lib/esm/graph/catalog/GraphManifestCompiler.js +0 -322
- package/lib/esm/graph/catalog/GraphManifestCompiler.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeCapability.js +0 -17
- package/lib/esm/graph/catalog/GraphNodeCapability.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeDisplayManifest.js +0 -7
- package/lib/esm/graph/catalog/GraphNodeDisplayManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeManifest.js +0 -17
- package/lib/esm/graph/catalog/GraphNodeManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeManifestSerialization.js +0 -42
- package/lib/esm/graph/catalog/GraphNodeManifestSerialization.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeMethodManifest.js +0 -23
- package/lib/esm/graph/catalog/GraphNodeMethodManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodePolicyManifest.js +0 -14
- package/lib/esm/graph/catalog/GraphNodePolicyManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterBase.js +0 -2
- package/lib/esm/graph/catalog/GraphParameterBase.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterDefinition.js +0 -23
- package/lib/esm/graph/catalog/GraphParameterDefinition.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterOption.js +0 -13
- package/lib/esm/graph/catalog/GraphParameterOption.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterValidation.js +0 -50
- package/lib/esm/graph/catalog/GraphParameterValidation.js.map +0 -1
- package/lib/esm/graph/catalog/GraphPortManifest.js +0 -13
- package/lib/esm/graph/catalog/GraphPortManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphPortManifestElement.js +0 -11
- package/lib/esm/graph/catalog/GraphPortManifestElement.js.map +0 -1
- package/lib/esm/graph/catalog/GraphResourceLocatorMode.js +0 -13
- package/lib/esm/graph/catalog/GraphResourceLocatorMode.js.map +0 -1
- package/lib/esm/graph/catalog/GraphValueSchema.js +0 -19
- package/lib/esm/graph/catalog/GraphValueSchema.js.map +0 -1
- package/lib/esm/graph/catalog/GraphValueSchemaDerivation.js +0 -156
- package/lib/esm/graph/catalog/GraphValueSchemaDerivation.js.map +0 -1
- package/lib/esm/graph/catalog/GraphVisibilityExpression.js +0 -58
- package/lib/esm/graph/catalog/GraphVisibilityExpression.js.map +0 -1
- package/lib/esm/graph/catalog/index.js +0 -23
- package/lib/esm/graph/catalog/index.js.map +0 -1
- package/lib/esm/graph/category-styles.js +0 -34
- package/lib/esm/graph/category-styles.js.map +0 -1
- package/lib/esm/graph/constants.js +0 -335
- package/lib/esm/graph/constants.js.map +0 -1
- package/lib/esm/graph/decorators.js +0 -141
- package/lib/esm/graph/decorators.js.map +0 -1
- package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js +0 -347
- package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js.map +0 -1
- package/lib/esm/graph/document/GraphEdgeInstance.js +0 -2
- package/lib/esm/graph/document/GraphEdgeInstance.js.map +0 -1
- package/lib/esm/graph/document/GraphEndpoint.js +0 -21
- package/lib/esm/graph/document/GraphEndpoint.js.map +0 -1
- package/lib/esm/graph/document/GraphJsonValue.js +0 -73
- package/lib/esm/graph/document/GraphJsonValue.js.map +0 -1
- package/lib/esm/graph/document/GraphLoopConfiguration.js +0 -2
- package/lib/esm/graph/document/GraphLoopConfiguration.js.map +0 -1
- package/lib/esm/graph/document/GraphNodeBinding.js +0 -22
- package/lib/esm/graph/document/GraphNodeBinding.js.map +0 -1
- package/lib/esm/graph/document/GraphNodeInstance.js +0 -2
- package/lib/esm/graph/document/GraphNodeInstance.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocument.js +0 -12
- package/lib/esm/graph/document/GraphWorkflowDocument.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js +0 -303
- package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocumentReader.js +0 -62
- package/lib/esm/graph/document/GraphWorkflowDocumentReader.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocumentSerializer.js +0 -63
- package/lib/esm/graph/document/GraphWorkflowDocumentSerializer.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowUiState.js +0 -2
- package/lib/esm/graph/document/GraphWorkflowUiState.js.map +0 -1
- package/lib/esm/graph/document/index.js +0 -13
- package/lib/esm/graph/document/index.js.map +0 -1
- package/lib/esm/graph/index.js +0 -16
- package/lib/esm/graph/index.js.map +0 -1
- package/lib/esm/graph/overrides/Metadata.js +0 -20
- package/lib/esm/graph/overrides/Metadata.js.map +0 -1
- package/lib/esm/graph/overrides/Rendering.js +0 -2
- package/lib/esm/graph/overrides/Rendering.js.map +0 -1
- package/lib/esm/graph/overrides/index.js +0 -4
- package/lib/esm/graph/overrides/index.js.map +0 -1
- package/lib/esm/graph/overrides/overrides.js +0 -17
- package/lib/esm/graph/overrides/overrides.js.map +0 -1
- package/lib/esm/graph/reader.js +0 -313
- package/lib/esm/graph/reader.js.map +0 -1
- package/lib/esm/graph/registry.js +0 -59
- package/lib/esm/graph/registry.js.map +0 -1
- package/lib/esm/graph/snapshot.js +0 -2
- package/lib/esm/graph/snapshot.js.map +0 -1
- package/lib/esm/graph/types.js +0 -2
- package/lib/esm/graph/types.js.map +0 -1
- package/lib/types/graph/GraphExecutionStateMapper.d.cts +0 -66
- package/lib/types/graph/GraphExecutionStateMapper.d.mts +0 -66
- package/lib/types/graph/GraphResolution.d.cts +0 -53
- package/lib/types/graph/GraphResolution.d.mts +0 -53
- package/lib/types/graph/catalog/GraphConnectionPolicy.d.cts +0 -9
- package/lib/types/graph/catalog/GraphConnectionPolicy.d.mts +0 -9
- package/lib/types/graph/catalog/GraphCredentialReference.d.cts +0 -6
- package/lib/types/graph/catalog/GraphCredentialReference.d.mts +0 -6
- package/lib/types/graph/catalog/GraphCredentialRequirement.d.cts +0 -7
- package/lib/types/graph/catalog/GraphCredentialRequirement.d.mts +0 -7
- package/lib/types/graph/catalog/GraphDynamicPortRule.d.cts +0 -22
- package/lib/types/graph/catalog/GraphDynamicPortRule.d.mts +0 -22
- package/lib/types/graph/catalog/GraphIconReference.d.cts +0 -12
- package/lib/types/graph/catalog/GraphIconReference.d.mts +0 -12
- package/lib/types/graph/catalog/GraphManifestCompiler.d.cts +0 -14
- package/lib/types/graph/catalog/GraphManifestCompiler.d.mts +0 -14
- package/lib/types/graph/catalog/GraphNodeCapability.d.cts +0 -4
- package/lib/types/graph/catalog/GraphNodeCapability.d.mts +0 -4
- package/lib/types/graph/catalog/GraphNodeDisplayManifest.d.cts +0 -33
- package/lib/types/graph/catalog/GraphNodeDisplayManifest.d.mts +0 -33
- package/lib/types/graph/catalog/GraphNodeManifest.d.cts +0 -26
- package/lib/types/graph/catalog/GraphNodeManifest.d.mts +0 -26
- package/lib/types/graph/catalog/GraphNodeManifestSerialization.d.cts +0 -7
- package/lib/types/graph/catalog/GraphNodeManifestSerialization.d.mts +0 -7
- package/lib/types/graph/catalog/GraphNodeMethodManifest.d.cts +0 -10
- package/lib/types/graph/catalog/GraphNodeMethodManifest.d.mts +0 -10
- package/lib/types/graph/catalog/GraphNodePolicyManifest.d.cts +0 -46
- package/lib/types/graph/catalog/GraphNodePolicyManifest.d.mts +0 -46
- package/lib/types/graph/catalog/GraphParameterBase.d.cts +0 -14
- package/lib/types/graph/catalog/GraphParameterBase.d.mts +0 -14
- package/lib/types/graph/catalog/GraphParameterDefinition.d.cts +0 -66
- package/lib/types/graph/catalog/GraphParameterDefinition.d.mts +0 -66
- package/lib/types/graph/catalog/GraphParameterOption.d.cts +0 -8
- package/lib/types/graph/catalog/GraphParameterOption.d.mts +0 -8
- package/lib/types/graph/catalog/GraphParameterValidation.d.cts +0 -25
- package/lib/types/graph/catalog/GraphParameterValidation.d.mts +0 -25
- package/lib/types/graph/catalog/GraphPortManifest.d.cts +0 -23
- package/lib/types/graph/catalog/GraphPortManifest.d.mts +0 -23
- package/lib/types/graph/catalog/GraphPortManifestElement.d.cts +0 -7
- package/lib/types/graph/catalog/GraphPortManifestElement.d.mts +0 -7
- package/lib/types/graph/catalog/GraphResourceLocatorMode.d.cts +0 -10
- package/lib/types/graph/catalog/GraphResourceLocatorMode.d.mts +0 -10
- package/lib/types/graph/catalog/GraphValueSchema.d.cts +0 -44
- package/lib/types/graph/catalog/GraphValueSchema.d.mts +0 -44
- package/lib/types/graph/catalog/GraphValueSchemaDerivation.d.cts +0 -9
- package/lib/types/graph/catalog/GraphValueSchemaDerivation.d.mts +0 -9
- package/lib/types/graph/catalog/GraphVisibilityExpression.d.cts +0 -22
- package/lib/types/graph/catalog/GraphVisibilityExpression.d.mts +0 -22
- package/lib/types/graph/catalog/index.d.cts +0 -22
- package/lib/types/graph/catalog/index.d.mts +0 -22
- package/lib/types/graph/category-styles.d.cts +0 -8
- package/lib/types/graph/category-styles.d.mts +0 -8
- package/lib/types/graph/constants.d.cts +0 -544
- package/lib/types/graph/constants.d.mts +0 -544
- package/lib/types/graph/decorators.d.cts +0 -69
- package/lib/types/graph/decorators.d.mts +0 -69
- package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.cts +0 -47
- package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.mts +0 -47
- package/lib/types/graph/document/GraphEdgeInstance.d.cts +0 -12
- package/lib/types/graph/document/GraphEdgeInstance.d.mts +0 -12
- package/lib/types/graph/document/GraphEndpoint.d.cts +0 -13
- package/lib/types/graph/document/GraphEndpoint.d.mts +0 -13
- package/lib/types/graph/document/GraphJsonValue.d.cts +0 -11
- package/lib/types/graph/document/GraphJsonValue.d.mts +0 -11
- package/lib/types/graph/document/GraphLoopConfiguration.d.cts +0 -24
- package/lib/types/graph/document/GraphLoopConfiguration.d.mts +0 -24
- package/lib/types/graph/document/GraphNodeBinding.d.cts +0 -21
- package/lib/types/graph/document/GraphNodeBinding.d.mts +0 -21
- package/lib/types/graph/document/GraphNodeInstance.d.cts +0 -36
- package/lib/types/graph/document/GraphNodeInstance.d.mts +0 -36
- package/lib/types/graph/document/GraphWorkflowDocument.d.cts +0 -33
- package/lib/types/graph/document/GraphWorkflowDocument.d.mts +0 -33
- package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.cts +0 -72
- package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.mts +0 -72
- package/lib/types/graph/document/GraphWorkflowDocumentReader.d.cts +0 -21
- package/lib/types/graph/document/GraphWorkflowDocumentReader.d.mts +0 -21
- package/lib/types/graph/document/GraphWorkflowDocumentSerializer.d.cts +0 -5
- package/lib/types/graph/document/GraphWorkflowDocumentSerializer.d.mts +0 -5
- package/lib/types/graph/document/GraphWorkflowUiState.d.cts +0 -37
- package/lib/types/graph/document/GraphWorkflowUiState.d.mts +0 -37
- package/lib/types/graph/document/index.d.cts +0 -12
- package/lib/types/graph/document/index.d.mts +0 -12
- package/lib/types/graph/index.d.cts +0 -15
- package/lib/types/graph/index.d.mts +0 -15
- package/lib/types/graph/overrides/Metadata.d.cts +0 -43
- package/lib/types/graph/overrides/Metadata.d.mts +0 -43
- package/lib/types/graph/overrides/Rendering.d.cts +0 -5
- package/lib/types/graph/overrides/Rendering.d.mts +0 -5
- package/lib/types/graph/overrides/index.d.cts +0 -3
- package/lib/types/graph/overrides/index.d.mts +0 -3
- package/lib/types/graph/overrides/overrides.d.cts +0 -1
- package/lib/types/graph/overrides/overrides.d.mts +0 -1
- package/lib/types/graph/reader.d.cts +0 -28
- package/lib/types/graph/reader.d.mts +0 -28
- package/lib/types/graph/registry.d.cts +0 -40
- package/lib/types/graph/registry.d.mts +0 -40
- package/lib/types/graph/snapshot.d.cts +0 -36
- package/lib/types/graph/snapshot.d.mts +0 -36
- package/lib/types/graph/types.d.cts +0 -289
- package/lib/types/graph/types.d.mts +0 -289
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "./GraphJsonValue.d.cts";
|
|
2
|
-
export type GraphWorkflowViewport = {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
zoom: number;
|
|
6
|
-
};
|
|
7
|
-
export type GraphNodeUiState = {
|
|
8
|
-
position: {
|
|
9
|
-
x: number;
|
|
10
|
-
y: number;
|
|
11
|
-
};
|
|
12
|
-
size?: {
|
|
13
|
-
width?: number;
|
|
14
|
-
height?: number;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Explicit user resize flag (D1, DECAF-50 §4.5). Only a genuine user resize
|
|
18
|
-
* sets this; a carried default or template CSS never wins over the manifest
|
|
19
|
-
* display. `ui.size` is honoured by projection only when this is `true`.
|
|
20
|
-
*/
|
|
21
|
-
resized?: boolean;
|
|
22
|
-
/** Explicit user per-node colour override (D7, DECAF-50 §4.5), when any. */
|
|
23
|
-
color?: string;
|
|
24
|
-
expanded?: boolean;
|
|
25
|
-
selectedTab?: string;
|
|
26
|
-
};
|
|
27
|
-
export type GraphEdgeUiState = {
|
|
28
|
-
points?: Array<{
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
}>;
|
|
32
|
-
};
|
|
33
|
-
export type GraphWorkflowUiState = {
|
|
34
|
-
viewport?: GraphWorkflowViewport;
|
|
35
|
-
} & {
|
|
36
|
-
[key: string]: GraphJsonValue | undefined;
|
|
37
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "./GraphJsonValue.d.mts";
|
|
2
|
-
export type GraphWorkflowViewport = {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
zoom: number;
|
|
6
|
-
};
|
|
7
|
-
export type GraphNodeUiState = {
|
|
8
|
-
position: {
|
|
9
|
-
x: number;
|
|
10
|
-
y: number;
|
|
11
|
-
};
|
|
12
|
-
size?: {
|
|
13
|
-
width?: number;
|
|
14
|
-
height?: number;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Explicit user resize flag (D1, DECAF-50 §4.5). Only a genuine user resize
|
|
18
|
-
* sets this; a carried default or template CSS never wins over the manifest
|
|
19
|
-
* display. `ui.size` is honoured by projection only when this is `true`.
|
|
20
|
-
*/
|
|
21
|
-
resized?: boolean;
|
|
22
|
-
/** Explicit user per-node colour override (D7, DECAF-50 §4.5), when any. */
|
|
23
|
-
color?: string;
|
|
24
|
-
expanded?: boolean;
|
|
25
|
-
selectedTab?: string;
|
|
26
|
-
};
|
|
27
|
-
export type GraphEdgeUiState = {
|
|
28
|
-
points?: Array<{
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
}>;
|
|
32
|
-
};
|
|
33
|
-
export type GraphWorkflowUiState = {
|
|
34
|
-
viewport?: GraphWorkflowViewport;
|
|
35
|
-
} & {
|
|
36
|
-
[key: string]: GraphJsonValue | undefined;
|
|
37
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from "./GraphDecoratedWorkflowCompiler.d.cts";
|
|
2
|
-
export * from "./GraphEdgeInstance.d.cts";
|
|
3
|
-
export * from "./GraphEndpoint.d.cts";
|
|
4
|
-
export * from "./GraphJsonValue.d.cts";
|
|
5
|
-
export * from "./GraphLoopConfiguration.d.cts";
|
|
6
|
-
export * from "./GraphNodeBinding.d.cts";
|
|
7
|
-
export * from "./GraphNodeInstance.d.cts";
|
|
8
|
-
export * from "./GraphWorkflowDocument.d.cts";
|
|
9
|
-
export * from "./GraphWorkflowDocumentBuilder.d.cts";
|
|
10
|
-
export * from "./GraphWorkflowDocumentReader.d.cts";
|
|
11
|
-
export * from "./GraphWorkflowDocumentSerializer.d.cts";
|
|
12
|
-
export * from "./GraphWorkflowUiState.d.cts";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from "./GraphDecoratedWorkflowCompiler.d.mts";
|
|
2
|
-
export * from "./GraphEdgeInstance.d.mts";
|
|
3
|
-
export * from "./GraphEndpoint.d.mts";
|
|
4
|
-
export * from "./GraphJsonValue.d.mts";
|
|
5
|
-
export * from "./GraphLoopConfiguration.d.mts";
|
|
6
|
-
export * from "./GraphNodeBinding.d.mts";
|
|
7
|
-
export * from "./GraphNodeInstance.d.mts";
|
|
8
|
-
export * from "./GraphWorkflowDocument.d.mts";
|
|
9
|
-
export * from "./GraphWorkflowDocumentBuilder.d.mts";
|
|
10
|
-
export * from "./GraphWorkflowDocumentReader.d.mts";
|
|
11
|
-
export * from "./GraphWorkflowDocumentSerializer.d.mts";
|
|
12
|
-
export * from "./GraphWorkflowUiState.d.mts";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import "../overrides";
|
|
2
|
-
import "./overrides";
|
|
3
|
-
export * from "./constants.d.cts";
|
|
4
|
-
export * from "./decorators.d.cts";
|
|
5
|
-
export * from "./registry.d.cts";
|
|
6
|
-
export * from "./overrides/index.d.cts";
|
|
7
|
-
export * from "./snapshot.d.cts";
|
|
8
|
-
export * from "./reader.d.cts";
|
|
9
|
-
export * from "./document/index.d.cts";
|
|
10
|
-
export * from "./catalog/index.d.cts";
|
|
11
|
-
export * from "./types.d.cts";
|
|
12
|
-
export * from "./GraphExecutionStateMapper.d.cts";
|
|
13
|
-
export * from "./GraphResolution.d.cts";
|
|
14
|
-
export * from "./category-styles.d.cts";
|
|
15
|
-
export * from "./overrides/index.d.cts";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import "../overrides";
|
|
2
|
-
import "./overrides";
|
|
3
|
-
export * from "./constants.d.mts";
|
|
4
|
-
export * from "./decorators.d.mts";
|
|
5
|
-
export * from "./registry.d.mts";
|
|
6
|
-
export * from "./overrides/index.d.mts";
|
|
7
|
-
export * from "./snapshot.d.mts";
|
|
8
|
-
export * from "./reader.d.mts";
|
|
9
|
-
export * from "./document/index.d.mts";
|
|
10
|
-
export * from "./catalog/index.d.mts";
|
|
11
|
-
export * from "./types.d.mts";
|
|
12
|
-
export * from "./GraphExecutionStateMapper.d.mts";
|
|
13
|
-
export * from "./GraphResolution.d.mts";
|
|
14
|
-
export * from "./category-styles.d.mts";
|
|
15
|
-
export * from "./overrides/index.d.mts";
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module ui-decorators/graph/overrides/Metadata
|
|
3
|
-
* @summary Metadata namespace augmentation for graph nodes and workflows.
|
|
4
|
-
* @description Extends the `Metadata` class from `@decaf-ts/decoration` with
|
|
5
|
-
* `Metadata.nodes()` and `Metadata.workflows()` accessors that return all
|
|
6
|
-
* `@node`-decorated and `@graph`-decorated constructors respectively.
|
|
7
|
-
*
|
|
8
|
-
* This follows the existing override pattern used by `core` (`core/src/overrides/`)
|
|
9
|
-
* and `decorator-validation` (`decorator-validation/src/overrides/`):
|
|
10
|
-
* 1. This file declares the new static methods on the `Metadata` namespace via
|
|
11
|
-
* `declare module` (TypeScript declaration merging).
|
|
12
|
-
* 2. The companion `overrides.ts` attaches the implementations to the
|
|
13
|
-
* `Metadata` class at runtime via `(Metadata as any).fn = ...`.
|
|
14
|
-
* 3. The `index.ts` of this folder side-effect-imports `overrides.ts` so the
|
|
15
|
-
* attachments run whenever the graph module is loaded.
|
|
16
|
-
* 4. The package's `sideEffects` array in `package.json` includes the compiled
|
|
17
|
-
* overrides entry points so bundlers preserve the side-effect imports.
|
|
18
|
-
*/
|
|
19
|
-
import "@decaf-ts/decoration";
|
|
20
|
-
import type { Constructor } from "@decaf-ts/decoration";
|
|
21
|
-
declare module "@decaf-ts/decoration" {
|
|
22
|
-
namespace Metadata {
|
|
23
|
-
/**
|
|
24
|
-
* Returns all `@node`-decorated constructors.
|
|
25
|
-
*
|
|
26
|
-
* The list is populated as a side-effect of the `@node` decorator — every
|
|
27
|
-
* class decorated with `@node(...)` is appended to the node registry at
|
|
28
|
-
* decoration time. Consumers (e.g. the for-angular graph palette, CRUD form
|
|
29
|
-
* builders, executor registries) call this to discover all available node
|
|
30
|
-
* kinds without a hand-maintained array.
|
|
31
|
-
* @returns A fresh array of `@node`-decorated constructors.
|
|
32
|
-
*/
|
|
33
|
-
function nodes(): Constructor[];
|
|
34
|
-
/**
|
|
35
|
-
* Returns all `@graph`-decorated constructors (workflow roots).
|
|
36
|
-
*
|
|
37
|
-
* Analogous to {@link nodes} but for `@graph`-decorated workflow-root
|
|
38
|
-
* classes. Populated as a side-effect of the `@graph` decorator.
|
|
39
|
-
* @returns A fresh array of `@graph`-decorated constructors.
|
|
40
|
-
*/
|
|
41
|
-
function workflows(): Constructor[];
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module ui-decorators/graph/overrides/Metadata
|
|
3
|
-
* @summary Metadata namespace augmentation for graph nodes and workflows.
|
|
4
|
-
* @description Extends the `Metadata` class from `@decaf-ts/decoration` with
|
|
5
|
-
* `Metadata.nodes()` and `Metadata.workflows()` accessors that return all
|
|
6
|
-
* `@node`-decorated and `@graph`-decorated constructors respectively.
|
|
7
|
-
*
|
|
8
|
-
* This follows the existing override pattern used by `core` (`core/src/overrides/`)
|
|
9
|
-
* and `decorator-validation` (`decorator-validation/src/overrides/`):
|
|
10
|
-
* 1. This file declares the new static methods on the `Metadata` namespace via
|
|
11
|
-
* `declare module` (TypeScript declaration merging).
|
|
12
|
-
* 2. The companion `overrides.ts` attaches the implementations to the
|
|
13
|
-
* `Metadata` class at runtime via `(Metadata as any).fn = ...`.
|
|
14
|
-
* 3. The `index.ts` of this folder side-effect-imports `overrides.ts` so the
|
|
15
|
-
* attachments run whenever the graph module is loaded.
|
|
16
|
-
* 4. The package's `sideEffects` array in `package.json` includes the compiled
|
|
17
|
-
* overrides entry points so bundlers preserve the side-effect imports.
|
|
18
|
-
*/
|
|
19
|
-
import "@decaf-ts/decoration";
|
|
20
|
-
import type { Constructor } from "@decaf-ts/decoration";
|
|
21
|
-
declare module "@decaf-ts/decoration" {
|
|
22
|
-
namespace Metadata {
|
|
23
|
-
/**
|
|
24
|
-
* Returns all `@node`-decorated constructors.
|
|
25
|
-
*
|
|
26
|
-
* The list is populated as a side-effect of the `@node` decorator — every
|
|
27
|
-
* class decorated with `@node(...)` is appended to the node registry at
|
|
28
|
-
* decoration time. Consumers (e.g. the for-angular graph palette, CRUD form
|
|
29
|
-
* builders, executor registries) call this to discover all available node
|
|
30
|
-
* kinds without a hand-maintained array.
|
|
31
|
-
* @returns A fresh array of `@node`-decorated constructors.
|
|
32
|
-
*/
|
|
33
|
-
function nodes(): Constructor[];
|
|
34
|
-
/**
|
|
35
|
-
* Returns all `@graph`-decorated constructors (workflow roots).
|
|
36
|
-
*
|
|
37
|
-
* Analogous to {@link nodes} but for `@graph`-decorated workflow-root
|
|
38
|
-
* classes. Populated as a side-effect of the `@graph` decorator.
|
|
39
|
-
* @returns A fresh array of `@graph`-decorated constructors.
|
|
40
|
-
*/
|
|
41
|
-
function workflows(): Constructor[];
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { FieldDefinition } from "../../ui/types.d.cts";
|
|
2
|
-
import type { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
export interface RenderingEngine<T = void, R = FieldDefinition<T>> {
|
|
4
|
-
renderAsNode<M extends Model>(model: M, globalProps: Record<string, unknown>, ...args: any[]): R;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { FieldDefinition } from "../../ui/types.d.mts";
|
|
2
|
-
import type { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
export interface RenderingEngine<T = void, R = FieldDefinition<T>> {
|
|
4
|
-
renderAsNode<M extends Model>(model: M, globalProps: Record<string, unknown>, ...args: any[]): R;
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./Rendering";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./Rendering";
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import type { GraphNodeDefinition, GraphNodeMetadata, GraphPortDefinition, GraphPortMetadata, GraphWorkflowDefinition, GraphWorkflowMetadata } from "./constants.d.cts";
|
|
4
|
-
import "../model/overrides";
|
|
5
|
-
type GraphModelLike<M extends Model = Model> = Constructor<M> | M;
|
|
6
|
-
export declare function graphNodeMetadataOf<M extends Model>(model: GraphModelLike<M>): GraphNodeMetadata | undefined;
|
|
7
|
-
export declare function graphWorkflowMetadataOf<M extends Model>(model: GraphModelLike<M>): GraphWorkflowMetadata | undefined;
|
|
8
|
-
export declare function graphPortMetadataOf<M extends Model>(model: GraphModelLike<M>, property: keyof M | string): GraphPortMetadata | undefined;
|
|
9
|
-
export declare function graphPortDefinitionOf<M extends Model>(model: GraphModelLike<M>, property: keyof M | string): GraphPortDefinition | undefined;
|
|
10
|
-
export declare function graphPortsOf<M extends Model>(model: GraphModelLike<M>): GraphPortDefinition[];
|
|
11
|
-
export declare function graphLeafPortsOf(ports: GraphPortDefinition[]): GraphPortDefinition[];
|
|
12
|
-
export declare function graphWorkflowInputLeafPortsOf<M extends Model>(model: GraphModelLike<M>): GraphPortDefinition[];
|
|
13
|
-
export declare function graphWorkflowOutputLeafPortsOf<M extends Model>(model: GraphModelLike<M>): GraphPortDefinition[];
|
|
14
|
-
export declare function graphDefinitionOf<M extends Model>(model: GraphModelLike<M>): GraphNodeDefinition;
|
|
15
|
-
/**
|
|
16
|
-
* Detects an already-resolved {@link GraphWorkflowDefinition} — the plain-object
|
|
17
|
-
* shape returned by {@link graphWorkflowDefinitionOf}, as opposed to a decorated
|
|
18
|
-
* workflow class or model instance.
|
|
19
|
-
*
|
|
20
|
-
* Resolved definitions are values, not models: `resolveModel` maps them to
|
|
21
|
-
* `Object`, so without this guard `graphWorkflowDefinitionOf` would rebuild an
|
|
22
|
-
* empty definition and silently drop `nodes`/`relations`. Loop bodies already
|
|
23
|
-
* resolved by the caller (e.g. `for-angular`'s `metadata.loop.body`) rely on
|
|
24
|
-
* this round-trip.
|
|
25
|
-
*/
|
|
26
|
-
export declare function isGraphWorkflowDefinition(value: unknown): value is GraphWorkflowDefinition;
|
|
27
|
-
export declare function graphWorkflowDefinitionOf<M extends Model>(model: GraphModelLike<M>): GraphWorkflowDefinition;
|
|
28
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import type { GraphNodeDefinition, GraphNodeMetadata, GraphPortDefinition, GraphPortMetadata, GraphWorkflowDefinition, GraphWorkflowMetadata } from "./constants.d.mts";
|
|
4
|
-
import "../model/overrides";
|
|
5
|
-
type GraphModelLike<M extends Model = Model> = Constructor<M> | M;
|
|
6
|
-
export declare function graphNodeMetadataOf<M extends Model>(model: GraphModelLike<M>): GraphNodeMetadata | undefined;
|
|
7
|
-
export declare function graphWorkflowMetadataOf<M extends Model>(model: GraphModelLike<M>): GraphWorkflowMetadata | undefined;
|
|
8
|
-
export declare function graphPortMetadataOf<M extends Model>(model: GraphModelLike<M>, property: keyof M | string): GraphPortMetadata | undefined;
|
|
9
|
-
export declare function graphPortDefinitionOf<M extends Model>(model: GraphModelLike<M>, property: keyof M | string): GraphPortDefinition | undefined;
|
|
10
|
-
export declare function graphPortsOf<M extends Model>(model: GraphModelLike<M>): GraphPortDefinition[];
|
|
11
|
-
export declare function graphLeafPortsOf(ports: GraphPortDefinition[]): GraphPortDefinition[];
|
|
12
|
-
export declare function graphWorkflowInputLeafPortsOf<M extends Model>(model: GraphModelLike<M>): GraphPortDefinition[];
|
|
13
|
-
export declare function graphWorkflowOutputLeafPortsOf<M extends Model>(model: GraphModelLike<M>): GraphPortDefinition[];
|
|
14
|
-
export declare function graphDefinitionOf<M extends Model>(model: GraphModelLike<M>): GraphNodeDefinition;
|
|
15
|
-
/**
|
|
16
|
-
* Detects an already-resolved {@link GraphWorkflowDefinition} — the plain-object
|
|
17
|
-
* shape returned by {@link graphWorkflowDefinitionOf}, as opposed to a decorated
|
|
18
|
-
* workflow class or model instance.
|
|
19
|
-
*
|
|
20
|
-
* Resolved definitions are values, not models: `resolveModel` maps them to
|
|
21
|
-
* `Object`, so without this guard `graphWorkflowDefinitionOf` would rebuild an
|
|
22
|
-
* empty definition and silently drop `nodes`/`relations`. Loop bodies already
|
|
23
|
-
* resolved by the caller (e.g. `for-angular`'s `metadata.loop.body`) rely on
|
|
24
|
-
* this round-trip.
|
|
25
|
-
*/
|
|
26
|
-
export declare function isGraphWorkflowDefinition(value: unknown): value is GraphWorkflowDefinition;
|
|
27
|
-
export declare function graphWorkflowDefinitionOf<M extends Model>(model: GraphModelLike<M>): GraphWorkflowDefinition;
|
|
28
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module ui-decorators/graph/registry
|
|
3
|
-
* @summary Node and workflow class registries.
|
|
4
|
-
* @description Module-level registries that track every `@node`-decorated and
|
|
5
|
-
* `@graph`-decorated constructor. The `@node` and `@graph` decorators call
|
|
6
|
-
* {@link registerNode} / {@link registerWorkflow} as a side-effect; consumers
|
|
7
|
-
* discover all decorated classes via {@link graphNodes} / {@link graphWorkflows}
|
|
8
|
-
* or the `Metadata.nodes()` / `Metadata.workflows()` accessors.
|
|
9
|
-
*
|
|
10
|
-
* This follows the same pattern as `Injectables` (`injectable-decorators`)
|
|
11
|
-
* which maintains its own `InjectablesRegistry` rather than using the private
|
|
12
|
-
* `Metadata.innerGet`/`innerSet` helpers.
|
|
13
|
-
*/
|
|
14
|
-
import type { Constructor } from "@decaf-ts/decoration";
|
|
15
|
-
/**
|
|
16
|
-
* Appends a constructor to the node registry. Called by the `@node` decorator.
|
|
17
|
-
* Idempotent — re-decorating the same class does not duplicate the entry.
|
|
18
|
-
* @param ctor The `@node`-decorated constructor.
|
|
19
|
-
*/
|
|
20
|
-
export declare function registerNode(ctor: Constructor): void;
|
|
21
|
-
/**
|
|
22
|
-
* Appends a constructor to the workflow registry. Called by the `@graph`
|
|
23
|
-
* decorator. Idempotent.
|
|
24
|
-
* @param ctor The `@graph`-decorated constructor.
|
|
25
|
-
*/
|
|
26
|
-
export declare function registerWorkflow(ctor: Constructor): void;
|
|
27
|
-
/**
|
|
28
|
-
* Returns all `@node`-decorated constructors.
|
|
29
|
-
* @returns A fresh array of constructors (mutable; does not expose the internal set).
|
|
30
|
-
*/
|
|
31
|
-
export declare function graphNodes(): Constructor[];
|
|
32
|
-
/**
|
|
33
|
-
* Returns all `@graph`-decorated constructors.
|
|
34
|
-
* @returns A fresh array of constructors.
|
|
35
|
-
*/
|
|
36
|
-
export declare function graphWorkflows(): Constructor[];
|
|
37
|
-
/**
|
|
38
|
-
* Clears both registries. Intended for tests only.
|
|
39
|
-
*/
|
|
40
|
-
export declare function resetGraphRegistries(): void;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module ui-decorators/graph/registry
|
|
3
|
-
* @summary Node and workflow class registries.
|
|
4
|
-
* @description Module-level registries that track every `@node`-decorated and
|
|
5
|
-
* `@graph`-decorated constructor. The `@node` and `@graph` decorators call
|
|
6
|
-
* {@link registerNode} / {@link registerWorkflow} as a side-effect; consumers
|
|
7
|
-
* discover all decorated classes via {@link graphNodes} / {@link graphWorkflows}
|
|
8
|
-
* or the `Metadata.nodes()` / `Metadata.workflows()` accessors.
|
|
9
|
-
*
|
|
10
|
-
* This follows the same pattern as `Injectables` (`injectable-decorators`)
|
|
11
|
-
* which maintains its own `InjectablesRegistry` rather than using the private
|
|
12
|
-
* `Metadata.innerGet`/`innerSet` helpers.
|
|
13
|
-
*/
|
|
14
|
-
import type { Constructor } from "@decaf-ts/decoration";
|
|
15
|
-
/**
|
|
16
|
-
* Appends a constructor to the node registry. Called by the `@node` decorator.
|
|
17
|
-
* Idempotent — re-decorating the same class does not duplicate the entry.
|
|
18
|
-
* @param ctor The `@node`-decorated constructor.
|
|
19
|
-
*/
|
|
20
|
-
export declare function registerNode(ctor: Constructor): void;
|
|
21
|
-
/**
|
|
22
|
-
* Appends a constructor to the workflow registry. Called by the `@graph`
|
|
23
|
-
* decorator. Idempotent.
|
|
24
|
-
* @param ctor The `@graph`-decorated constructor.
|
|
25
|
-
*/
|
|
26
|
-
export declare function registerWorkflow(ctor: Constructor): void;
|
|
27
|
-
/**
|
|
28
|
-
* Returns all `@node`-decorated constructors.
|
|
29
|
-
* @returns A fresh array of constructors (mutable; does not expose the internal set).
|
|
30
|
-
*/
|
|
31
|
-
export declare function graphNodes(): Constructor[];
|
|
32
|
-
/**
|
|
33
|
-
* Returns all `@graph`-decorated constructors.
|
|
34
|
-
* @returns A fresh array of constructors.
|
|
35
|
-
*/
|
|
36
|
-
export declare function graphWorkflows(): Constructor[];
|
|
37
|
-
/**
|
|
38
|
-
* Clears both registries. Intended for tests only.
|
|
39
|
-
*/
|
|
40
|
-
export declare function resetGraphRegistries(): void;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { GraphWorkflowDocument } from "./document/GraphWorkflowDocument.d.cts";
|
|
2
|
-
import type { GraphJsonValue } from "./document/GraphJsonValue.d.cts";
|
|
3
|
-
/**
|
|
4
|
-
* Editor-only state that the canonical {@link GraphWorkflowDocument} cannot
|
|
5
|
-
* express (layout beyond node positions, config-store values, per-port modes,
|
|
6
|
-
* workflow boundary values, and duplicate counts). Stored as JSON-safe values
|
|
7
|
-
* only; constructors and `modelClass`/`sourceClass` references are dropped.
|
|
8
|
-
*/
|
|
9
|
-
export type GraphSnapshotEditorState = {
|
|
10
|
-
viewport?: {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
scale: number;
|
|
14
|
-
};
|
|
15
|
-
duplicateCounts?: Record<string, number>;
|
|
16
|
-
boundaryInputValues?: Record<string, GraphJsonValue>;
|
|
17
|
-
boundaryOutputValues?: Record<string, GraphJsonValue>;
|
|
18
|
-
nodePorts?: Record<string, Record<string, GraphJsonValue>>;
|
|
19
|
-
nodeConfigs?: Record<string, GraphJsonValue>;
|
|
20
|
-
diagramMetadata?: Record<string, GraphJsonValue>;
|
|
21
|
-
definitionDisplay?: Record<string, GraphJsonValue>;
|
|
22
|
-
} & {
|
|
23
|
-
[key: string]: GraphJsonValue | undefined;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Canonical document-first snapshot. `document` is the executable semantic
|
|
27
|
-
* truth; `editor` preserves editor-only UI state. This is the only persisted and
|
|
28
|
-
* executed snapshot form (DECAF-50 §4.26 R2-2): the engine ships as its first
|
|
29
|
-
* version with no backward compatibility, so the former
|
|
30
|
-
* `{ definition, state }` legacy snapshot and its conversion helpers are gone.
|
|
31
|
-
*/
|
|
32
|
-
export type GraphWorkflowSnapshot = {
|
|
33
|
-
document: GraphWorkflowDocument;
|
|
34
|
-
editor?: GraphSnapshotEditorState;
|
|
35
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
36
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { GraphWorkflowDocument } from "./document/GraphWorkflowDocument.d.mts";
|
|
2
|
-
import type { GraphJsonValue } from "./document/GraphJsonValue.d.mts";
|
|
3
|
-
/**
|
|
4
|
-
* Editor-only state that the canonical {@link GraphWorkflowDocument} cannot
|
|
5
|
-
* express (layout beyond node positions, config-store values, per-port modes,
|
|
6
|
-
* workflow boundary values, and duplicate counts). Stored as JSON-safe values
|
|
7
|
-
* only; constructors and `modelClass`/`sourceClass` references are dropped.
|
|
8
|
-
*/
|
|
9
|
-
export type GraphSnapshotEditorState = {
|
|
10
|
-
viewport?: {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
scale: number;
|
|
14
|
-
};
|
|
15
|
-
duplicateCounts?: Record<string, number>;
|
|
16
|
-
boundaryInputValues?: Record<string, GraphJsonValue>;
|
|
17
|
-
boundaryOutputValues?: Record<string, GraphJsonValue>;
|
|
18
|
-
nodePorts?: Record<string, Record<string, GraphJsonValue>>;
|
|
19
|
-
nodeConfigs?: Record<string, GraphJsonValue>;
|
|
20
|
-
diagramMetadata?: Record<string, GraphJsonValue>;
|
|
21
|
-
definitionDisplay?: Record<string, GraphJsonValue>;
|
|
22
|
-
} & {
|
|
23
|
-
[key: string]: GraphJsonValue | undefined;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Canonical document-first snapshot. `document` is the executable semantic
|
|
27
|
-
* truth; `editor` preserves editor-only UI state. This is the only persisted and
|
|
28
|
-
* executed snapshot form (DECAF-50 §4.26 R2-2): the engine ships as its first
|
|
29
|
-
* version with no backward compatibility, so the former
|
|
30
|
-
* `{ definition, state }` legacy snapshot and its conversion helpers are gone.
|
|
31
|
-
*/
|
|
32
|
-
export type GraphWorkflowSnapshot = {
|
|
33
|
-
document: GraphWorkflowDocument;
|
|
34
|
-
editor?: GraphSnapshotEditorState;
|
|
35
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
36
|
-
};
|