@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,9 +0,0 @@
|
|
|
1
|
-
export interface GraphConnectionPolicy {
|
|
2
|
-
allowSelf?: boolean;
|
|
3
|
-
allowMultiple?: boolean;
|
|
4
|
-
allowedNodeKinds?: string[];
|
|
5
|
-
blockedNodeKinds?: string[];
|
|
6
|
-
allowedPortCategories?: string[];
|
|
7
|
-
maxConnections?: number;
|
|
8
|
-
}
|
|
9
|
-
export declare function isGraphConnectionPolicy(value: unknown): value is GraphConnectionPolicy;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface GraphCredentialReference {
|
|
2
|
-
credentialId: string;
|
|
3
|
-
credentialType: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function isGraphCredentialReference(value: unknown): value is GraphCredentialReference;
|
|
6
|
-
export { isGraphCredentialRequirement, type GraphCredentialRequirement } from "./GraphCredentialRequirement.d.cts";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface GraphCredentialReference {
|
|
2
|
-
credentialId: string;
|
|
3
|
-
credentialType: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function isGraphCredentialReference(value: unknown): value is GraphCredentialReference;
|
|
6
|
-
export { isGraphCredentialRequirement, type GraphCredentialRequirement } from "./GraphCredentialRequirement.d.mts";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonPrimitive } from "../document/GraphJsonValue.d.cts";
|
|
2
|
-
import type { GraphPortManifest } from "./GraphPortManifest.d.cts";
|
|
3
|
-
export type GraphRepeatFromParameterRule = {
|
|
4
|
-
type: "repeatFromParameter";
|
|
5
|
-
parameter: string;
|
|
6
|
-
itemIdPath: string;
|
|
7
|
-
itemLabelPath?: string;
|
|
8
|
-
direction: "input" | "output" | "connection";
|
|
9
|
-
portIdTemplate: string;
|
|
10
|
-
defaultPort?: GraphPortManifest;
|
|
11
|
-
};
|
|
12
|
-
export type GraphTogglePortRule = {
|
|
13
|
-
type: "togglePort";
|
|
14
|
-
parameter: string;
|
|
15
|
-
equals: GraphJsonPrimitive;
|
|
16
|
-
port: GraphPortManifest;
|
|
17
|
-
};
|
|
18
|
-
export type GraphDynamicPortRule = GraphRepeatFromParameterRule | GraphTogglePortRule;
|
|
19
|
-
export declare const GRAPH_DYNAMIC_PORT_RULE_TYPES: readonly ["repeatFromParameter", "togglePort"];
|
|
20
|
-
export type GraphDynamicPortRuleType = (typeof GRAPH_DYNAMIC_PORT_RULE_TYPES)[number];
|
|
21
|
-
export declare function isGraphDynamicPortRuleType(value: unknown): value is GraphDynamicPortRuleType;
|
|
22
|
-
export declare function isGraphDynamicPortRule(value: unknown): value is GraphDynamicPortRule;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonPrimitive } from "../document/GraphJsonValue.d.mts";
|
|
2
|
-
import type { GraphPortManifest } from "./GraphPortManifest.d.mts";
|
|
3
|
-
export type GraphRepeatFromParameterRule = {
|
|
4
|
-
type: "repeatFromParameter";
|
|
5
|
-
parameter: string;
|
|
6
|
-
itemIdPath: string;
|
|
7
|
-
itemLabelPath?: string;
|
|
8
|
-
direction: "input" | "output" | "connection";
|
|
9
|
-
portIdTemplate: string;
|
|
10
|
-
defaultPort?: GraphPortManifest;
|
|
11
|
-
};
|
|
12
|
-
export type GraphTogglePortRule = {
|
|
13
|
-
type: "togglePort";
|
|
14
|
-
parameter: string;
|
|
15
|
-
equals: GraphJsonPrimitive;
|
|
16
|
-
port: GraphPortManifest;
|
|
17
|
-
};
|
|
18
|
-
export type GraphDynamicPortRule = GraphRepeatFromParameterRule | GraphTogglePortRule;
|
|
19
|
-
export declare const GRAPH_DYNAMIC_PORT_RULE_TYPES: readonly ["repeatFromParameter", "togglePort"];
|
|
20
|
-
export type GraphDynamicPortRuleType = (typeof GRAPH_DYNAMIC_PORT_RULE_TYPES)[number];
|
|
21
|
-
export declare function isGraphDynamicPortRuleType(value: unknown): value is GraphDynamicPortRuleType;
|
|
22
|
-
export declare function isGraphDynamicPortRule(value: unknown): value is GraphDynamicPortRule;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type GraphIconReference = {
|
|
2
|
-
type: "catalogue";
|
|
3
|
-
name: string;
|
|
4
|
-
} | {
|
|
5
|
-
type: "url";
|
|
6
|
-
url: string;
|
|
7
|
-
} | {
|
|
8
|
-
type: "data";
|
|
9
|
-
mediaType: "image/svg+xml";
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function isGraphIconReference(value: unknown): value is GraphIconReference;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type GraphIconReference = {
|
|
2
|
-
type: "catalogue";
|
|
3
|
-
name: string;
|
|
4
|
-
} | {
|
|
5
|
-
type: "url";
|
|
6
|
-
url: string;
|
|
7
|
-
} | {
|
|
8
|
-
type: "data";
|
|
9
|
-
mediaType: "image/svg+xml";
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function isGraphIconReference(value: unknown): value is GraphIconReference;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import type { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import type { GraphIconReference } from "./GraphIconReference.d.cts";
|
|
4
|
-
import type { GraphNodeManifest } from "./GraphNodeManifest.d.cts";
|
|
5
|
-
export interface GraphManifestCompileOptions {
|
|
6
|
-
kind?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
category?: string;
|
|
9
|
-
icon?: GraphIconReference;
|
|
10
|
-
}
|
|
11
|
-
declare const GRAPH_CODE_LANGUAGES: readonly ["javascript", "typescript", "json", "text"];
|
|
12
|
-
export type GraphCodeLanguage = (typeof GRAPH_CODE_LANGUAGES)[number];
|
|
13
|
-
export declare function graphNodeManifest(node: Constructor | Model, options?: GraphManifestCompileOptions): GraphNodeManifest;
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import type { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import type { GraphIconReference } from "./GraphIconReference.d.mts";
|
|
4
|
-
import type { GraphNodeManifest } from "./GraphNodeManifest.d.mts";
|
|
5
|
-
export interface GraphManifestCompileOptions {
|
|
6
|
-
kind?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
category?: string;
|
|
9
|
-
icon?: GraphIconReference;
|
|
10
|
-
}
|
|
11
|
-
declare const GRAPH_CODE_LANGUAGES: readonly ["javascript", "typescript", "json", "text"];
|
|
12
|
-
export type GraphCodeLanguage = (typeof GRAPH_CODE_LANGUAGES)[number];
|
|
13
|
-
export declare function graphNodeManifest(node: Constructor | Model, options?: GraphManifestCompileOptions): GraphNodeManifest;
|
|
14
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const GRAPH_NODE_CAPABILITIES: readonly ["trigger", "loop", "branching", "stateful", "retryable", "cancellable", "parallel", "resource"];
|
|
2
|
-
export type GraphNodeCapability = (typeof GRAPH_NODE_CAPABILITIES)[number];
|
|
3
|
-
export declare function isGraphNodeCapability(value: unknown): value is GraphNodeCapability;
|
|
4
|
-
export declare function isGraphNodeCapabilityArray(value: unknown): value is GraphNodeCapability[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const GRAPH_NODE_CAPABILITIES: readonly ["trigger", "loop", "branching", "stateful", "retryable", "cancellable", "parallel", "resource"];
|
|
2
|
-
export type GraphNodeCapability = (typeof GRAPH_NODE_CAPABILITIES)[number];
|
|
3
|
-
export declare function isGraphNodeCapability(value: unknown): value is GraphNodeCapability;
|
|
4
|
-
export declare function isGraphNodeCapabilityArray(value: unknown): value is GraphNodeCapability[];
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.cts";
|
|
2
|
-
import type { GraphNodeShape, GraphNodeSizeRule } from "../constants.d.cts";
|
|
3
|
-
import type { GraphIconReference } from "./GraphIconReference.d.cts";
|
|
4
|
-
export interface GraphNodeDisplayManifest {
|
|
5
|
-
name: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
category?: string;
|
|
8
|
-
group?: string;
|
|
9
|
-
labels?: string[];
|
|
10
|
-
icon?: GraphIconReference;
|
|
11
|
-
color?: string;
|
|
12
|
-
width?: number;
|
|
13
|
-
minWidth?: number;
|
|
14
|
-
height?: number;
|
|
15
|
-
/**
|
|
16
|
-
* Node face silhouette (D1, DECAF-50 §4.5). Manifest-authoritative; the
|
|
17
|
-
* projected node renders this shape instead of a template CSS default.
|
|
18
|
-
*/
|
|
19
|
-
shape?: GraphNodeShape;
|
|
20
|
-
/**
|
|
21
|
-
* Node corner radius in pixels (D1, DECAF-50 §4.5). Manifest-authoritative;
|
|
22
|
-
* the projected node renders this radius instead of a template CSS default.
|
|
23
|
-
*/
|
|
24
|
-
cornerRadius?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Manifest-declared, value-driven display rules (D1, DECAF-50 §4.5) evaluated
|
|
27
|
-
* from node-instance parameters — content growth never comes from hardcoded
|
|
28
|
-
* formulas or direct DOM style writes.
|
|
29
|
-
*/
|
|
30
|
-
sizeRules?: GraphNodeSizeRule[];
|
|
31
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
32
|
-
}
|
|
33
|
-
export declare function isGraphNodeDisplayManifest(value: unknown): value is GraphNodeDisplayManifest;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.mts";
|
|
2
|
-
import type { GraphNodeShape, GraphNodeSizeRule } from "../constants.d.mts";
|
|
3
|
-
import type { GraphIconReference } from "./GraphIconReference.d.mts";
|
|
4
|
-
export interface GraphNodeDisplayManifest {
|
|
5
|
-
name: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
category?: string;
|
|
8
|
-
group?: string;
|
|
9
|
-
labels?: string[];
|
|
10
|
-
icon?: GraphIconReference;
|
|
11
|
-
color?: string;
|
|
12
|
-
width?: number;
|
|
13
|
-
minWidth?: number;
|
|
14
|
-
height?: number;
|
|
15
|
-
/**
|
|
16
|
-
* Node face silhouette (D1, DECAF-50 §4.5). Manifest-authoritative; the
|
|
17
|
-
* projected node renders this shape instead of a template CSS default.
|
|
18
|
-
*/
|
|
19
|
-
shape?: GraphNodeShape;
|
|
20
|
-
/**
|
|
21
|
-
* Node corner radius in pixels (D1, DECAF-50 §4.5). Manifest-authoritative;
|
|
22
|
-
* the projected node renders this radius instead of a template CSS default.
|
|
23
|
-
*/
|
|
24
|
-
cornerRadius?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Manifest-declared, value-driven display rules (D1, DECAF-50 §4.5) evaluated
|
|
27
|
-
* from node-instance parameters — content growth never comes from hardcoded
|
|
28
|
-
* formulas or direct DOM style writes.
|
|
29
|
-
*/
|
|
30
|
-
sizeRules?: GraphNodeSizeRule[];
|
|
31
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
32
|
-
}
|
|
33
|
-
export declare function isGraphNodeDisplayManifest(value: unknown): value is GraphNodeDisplayManifest;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.cts";
|
|
2
|
-
import type { GraphNodeDisplayManifest } from "./GraphNodeDisplayManifest.d.cts";
|
|
3
|
-
import type { GraphPortManifest } from "./GraphPortManifest.d.cts";
|
|
4
|
-
import type { GraphParameterDefinition } from "./GraphParameterDefinition.d.cts";
|
|
5
|
-
import type { GraphNodeMethodManifest } from "./GraphNodeMethodManifest.d.cts";
|
|
6
|
-
import type { GraphNodeCapability } from "./GraphNodeCapability.d.cts";
|
|
7
|
-
import type { GraphNodePolicyManifest } from "./GraphNodePolicyManifest.d.cts";
|
|
8
|
-
import type { GraphCredentialRequirement } from "./GraphCredentialRequirement.d.cts";
|
|
9
|
-
import type { GraphDynamicPortRule } from "./GraphDynamicPortRule.d.cts";
|
|
10
|
-
export interface GraphNodeManifest {
|
|
11
|
-
kind: string;
|
|
12
|
-
display: GraphNodeDisplayManifest;
|
|
13
|
-
inputs: GraphPortManifest[];
|
|
14
|
-
outputs: GraphPortManifest[];
|
|
15
|
-
connections?: GraphPortManifest[];
|
|
16
|
-
parameters: GraphParameterDefinition[];
|
|
17
|
-
dynamicPorts?: GraphDynamicPortRule[];
|
|
18
|
-
credentials?: GraphCredentialRequirement[];
|
|
19
|
-
capabilities?: GraphNodeCapability[];
|
|
20
|
-
methods?: GraphNodeMethodManifest[];
|
|
21
|
-
policies?: GraphNodePolicyManifest;
|
|
22
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
23
|
-
}
|
|
24
|
-
export declare function isGraphNodeManifest(value: unknown): value is GraphNodeManifest;
|
|
25
|
-
export declare function graphDataPortManifestsOf(manifest: GraphNodeManifest, direction: "input" | "output"): GraphPortManifest[];
|
|
26
|
-
export declare function graphConnectionPortManifests(manifest: GraphNodeManifest): GraphPortManifest[];
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.mts";
|
|
2
|
-
import type { GraphNodeDisplayManifest } from "./GraphNodeDisplayManifest.d.mts";
|
|
3
|
-
import type { GraphPortManifest } from "./GraphPortManifest.d.mts";
|
|
4
|
-
import type { GraphParameterDefinition } from "./GraphParameterDefinition.d.mts";
|
|
5
|
-
import type { GraphNodeMethodManifest } from "./GraphNodeMethodManifest.d.mts";
|
|
6
|
-
import type { GraphNodeCapability } from "./GraphNodeCapability.d.mts";
|
|
7
|
-
import type { GraphNodePolicyManifest } from "./GraphNodePolicyManifest.d.mts";
|
|
8
|
-
import type { GraphCredentialRequirement } from "./GraphCredentialRequirement.d.mts";
|
|
9
|
-
import type { GraphDynamicPortRule } from "./GraphDynamicPortRule.d.mts";
|
|
10
|
-
export interface GraphNodeManifest {
|
|
11
|
-
kind: string;
|
|
12
|
-
display: GraphNodeDisplayManifest;
|
|
13
|
-
inputs: GraphPortManifest[];
|
|
14
|
-
outputs: GraphPortManifest[];
|
|
15
|
-
connections?: GraphPortManifest[];
|
|
16
|
-
parameters: GraphParameterDefinition[];
|
|
17
|
-
dynamicPorts?: GraphDynamicPortRule[];
|
|
18
|
-
credentials?: GraphCredentialRequirement[];
|
|
19
|
-
capabilities?: GraphNodeCapability[];
|
|
20
|
-
methods?: GraphNodeMethodManifest[];
|
|
21
|
-
policies?: GraphNodePolicyManifest;
|
|
22
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
23
|
-
}
|
|
24
|
-
export declare function isGraphNodeManifest(value: unknown): value is GraphNodeManifest;
|
|
25
|
-
export declare function graphDataPortManifestsOf(manifest: GraphNodeManifest, direction: "input" | "output"): GraphPortManifest[];
|
|
26
|
-
export declare function graphConnectionPortManifests(manifest: GraphNodeManifest): GraphPortManifest[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.cts";
|
|
2
|
-
import type { GraphNodeManifest } from "./GraphNodeManifest.d.cts";
|
|
3
|
-
export declare function assertGraphNodeManifestSerializable(manifest: GraphNodeManifest): void;
|
|
4
|
-
export declare function serializeGraphNodeManifest(manifest: GraphNodeManifest): Record<string, GraphJsonValue>;
|
|
5
|
-
export declare function deserializeGraphNodeManifest(serialized: Record<string, GraphJsonValue>): GraphNodeManifest;
|
|
6
|
-
export declare function graphNodeManifestSerializer(manifest: GraphNodeManifest): string;
|
|
7
|
-
export declare function graphNodeManifestDeserializer(serialised: string): GraphNodeManifest;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.mts";
|
|
2
|
-
import type { GraphNodeManifest } from "./GraphNodeManifest.d.mts";
|
|
3
|
-
export declare function assertGraphNodeManifestSerializable(manifest: GraphNodeManifest): void;
|
|
4
|
-
export declare function serializeGraphNodeManifest(manifest: GraphNodeManifest): Record<string, GraphJsonValue>;
|
|
5
|
-
export declare function deserializeGraphNodeManifest(serialized: Record<string, GraphJsonValue>): GraphNodeManifest;
|
|
6
|
-
export declare function graphNodeManifestSerializer(manifest: GraphNodeManifest): string;
|
|
7
|
-
export declare function graphNodeManifestDeserializer(serialised: string): GraphNodeManifest;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type GraphNodeMethodType = "loadOptions" | "listSearch" | "resourceLocator" | "resourceMapping" | "validateParameter" | "action";
|
|
2
|
-
export interface GraphNodeMethodManifest {
|
|
3
|
-
name: string;
|
|
4
|
-
type: GraphNodeMethodType;
|
|
5
|
-
parameter?: string;
|
|
6
|
-
dependencies?: string[];
|
|
7
|
-
}
|
|
8
|
-
export declare const GRAPH_NODE_METHOD_TYPES: readonly ["loadOptions", "listSearch", "resourceLocator", "resourceMapping", "validateParameter", "action"];
|
|
9
|
-
export declare function isGraphNodeMethodType(value: unknown): value is GraphNodeMethodType;
|
|
10
|
-
export declare function isGraphNodeMethodManifest(value: unknown): value is GraphNodeMethodManifest;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type GraphNodeMethodType = "loadOptions" | "listSearch" | "resourceLocator" | "resourceMapping" | "validateParameter" | "action";
|
|
2
|
-
export interface GraphNodeMethodManifest {
|
|
3
|
-
name: string;
|
|
4
|
-
type: GraphNodeMethodType;
|
|
5
|
-
parameter?: string;
|
|
6
|
-
dependencies?: string[];
|
|
7
|
-
}
|
|
8
|
-
export declare const GRAPH_NODE_METHOD_TYPES: readonly ["loadOptions", "listSearch", "resourceLocator", "resourceMapping", "validateParameter", "action"];
|
|
9
|
-
export declare function isGraphNodeMethodType(value: unknown): value is GraphNodeMethodType;
|
|
10
|
-
export declare function isGraphNodeMethodManifest(value: unknown): value is GraphNodeMethodManifest;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Execution-policy facet of a node manifest (DECAF-50 §4.9/§4.12): the
|
|
3
|
-
* declarative limits the run engine enforces for a node kind — manual
|
|
4
|
-
* triggering, retries, cancellation, timeouts, concurrency, and input
|
|
5
|
-
* binding mode. Carried inside {@link GraphNodeManifest} and mirrored by the
|
|
6
|
-
* backend catalogue; transition-leniency flags are stripped at cutover (P7).
|
|
7
|
-
*/
|
|
8
|
-
export interface GraphNodePolicyManifest {
|
|
9
|
-
/** Whether and when the node may be triggered manually (`"partial"` defers to port-level rules). */
|
|
10
|
-
allowManualTrigger?: "always" | "never" | "partial";
|
|
11
|
-
/** Whether failed node executions may be retried. */
|
|
12
|
-
allowRetry?: boolean;
|
|
13
|
-
/** Maximum number of retry attempts when {@link GraphNodePolicyManifest.allowRetry} is enabled. */
|
|
14
|
-
maxRetries?: number;
|
|
15
|
-
/** Whether an in-flight node execution may be cancelled. */
|
|
16
|
-
allowCancel?: boolean;
|
|
17
|
-
/** Execution timeout in milliseconds. */
|
|
18
|
-
timeoutMs?: number;
|
|
19
|
-
/** Maximum number of concurrent executions allowed for the node. */
|
|
20
|
-
concurrency?: number;
|
|
21
|
-
/** How many input bindings the node accepts per input port. */
|
|
22
|
-
inputMode?: GraphNodePolicyInputMode;
|
|
23
|
-
/**
|
|
24
|
-
* Transition leniency (DECAF-50 §4.8/§4.18): when `true`, document
|
|
25
|
-
* validation accepts parameters that are not declared by the manifest.
|
|
26
|
-
* Set on placeholder manifests created for legacy executor-only
|
|
27
|
-
* registrations; removed at cutover (P7).
|
|
28
|
-
*/
|
|
29
|
-
allowUndeclaredParameters?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Transition leniency (DECAF-50 §4.9): when `true`, executor outputs that
|
|
32
|
-
* are not declared by the effective output manifest are accepted instead
|
|
33
|
-
* of being rejected. Set on placeholder manifests; removed at cutover (P7).
|
|
34
|
-
*/
|
|
35
|
-
allowUnknownOutputs?: boolean;
|
|
36
|
-
}
|
|
37
|
-
/** Input binding mode of a node policy: any number of bindings, exactly one, or multiple. */
|
|
38
|
-
export type GraphNodePolicyInputMode = "any" | "single" | "multiple";
|
|
39
|
-
/**
|
|
40
|
-
* Type guard for {@link GraphNodePolicyManifest}: accepts objects whose
|
|
41
|
-
* `inputMode` (when present) is one of the declared
|
|
42
|
-
* {@link GraphNodePolicyInputMode} values.
|
|
43
|
-
*
|
|
44
|
-
* @returns {boolean} Whether the value is a {@link GraphNodePolicyManifest}.
|
|
45
|
-
*/
|
|
46
|
-
export declare function isGraphNodePolicyManifest(value: unknown): value is GraphNodePolicyManifest;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Execution-policy facet of a node manifest (DECAF-50 §4.9/§4.12): the
|
|
3
|
-
* declarative limits the run engine enforces for a node kind — manual
|
|
4
|
-
* triggering, retries, cancellation, timeouts, concurrency, and input
|
|
5
|
-
* binding mode. Carried inside {@link GraphNodeManifest} and mirrored by the
|
|
6
|
-
* backend catalogue; transition-leniency flags are stripped at cutover (P7).
|
|
7
|
-
*/
|
|
8
|
-
export interface GraphNodePolicyManifest {
|
|
9
|
-
/** Whether and when the node may be triggered manually (`"partial"` defers to port-level rules). */
|
|
10
|
-
allowManualTrigger?: "always" | "never" | "partial";
|
|
11
|
-
/** Whether failed node executions may be retried. */
|
|
12
|
-
allowRetry?: boolean;
|
|
13
|
-
/** Maximum number of retry attempts when {@link GraphNodePolicyManifest.allowRetry} is enabled. */
|
|
14
|
-
maxRetries?: number;
|
|
15
|
-
/** Whether an in-flight node execution may be cancelled. */
|
|
16
|
-
allowCancel?: boolean;
|
|
17
|
-
/** Execution timeout in milliseconds. */
|
|
18
|
-
timeoutMs?: number;
|
|
19
|
-
/** Maximum number of concurrent executions allowed for the node. */
|
|
20
|
-
concurrency?: number;
|
|
21
|
-
/** How many input bindings the node accepts per input port. */
|
|
22
|
-
inputMode?: GraphNodePolicyInputMode;
|
|
23
|
-
/**
|
|
24
|
-
* Transition leniency (DECAF-50 §4.8/§4.18): when `true`, document
|
|
25
|
-
* validation accepts parameters that are not declared by the manifest.
|
|
26
|
-
* Set on placeholder manifests created for legacy executor-only
|
|
27
|
-
* registrations; removed at cutover (P7).
|
|
28
|
-
*/
|
|
29
|
-
allowUndeclaredParameters?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Transition leniency (DECAF-50 §4.9): when `true`, executor outputs that
|
|
32
|
-
* are not declared by the effective output manifest are accepted instead
|
|
33
|
-
* of being rejected. Set on placeholder manifests; removed at cutover (P7).
|
|
34
|
-
*/
|
|
35
|
-
allowUnknownOutputs?: boolean;
|
|
36
|
-
}
|
|
37
|
-
/** Input binding mode of a node policy: any number of bindings, exactly one, or multiple. */
|
|
38
|
-
export type GraphNodePolicyInputMode = "any" | "single" | "multiple";
|
|
39
|
-
/**
|
|
40
|
-
* Type guard for {@link GraphNodePolicyManifest}: accepts objects whose
|
|
41
|
-
* `inputMode` (when present) is one of the declared
|
|
42
|
-
* {@link GraphNodePolicyInputMode} values.
|
|
43
|
-
*
|
|
44
|
-
* @returns {boolean} Whether the value is a {@link GraphNodePolicyManifest}.
|
|
45
|
-
*/
|
|
46
|
-
export declare function isGraphNodePolicyManifest(value: unknown): value is GraphNodePolicyManifest;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.cts";
|
|
2
|
-
import type { GraphParameterValidation } from "./GraphParameterValidation.d.cts";
|
|
3
|
-
import type { GraphVisibilityExpression } from "./GraphVisibilityExpression.d.cts";
|
|
4
|
-
export interface GraphParameterBase {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
defaultValue?: GraphJsonValue;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
visibility?: GraphVisibilityExpression;
|
|
12
|
-
validation?: GraphParameterValidation[];
|
|
13
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonValue } from "../document/GraphJsonValue.d.mts";
|
|
2
|
-
import type { GraphParameterValidation } from "./GraphParameterValidation.d.mts";
|
|
3
|
-
import type { GraphVisibilityExpression } from "./GraphVisibilityExpression.d.mts";
|
|
4
|
-
export interface GraphParameterBase {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
defaultValue?: GraphJsonValue;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
visibility?: GraphVisibilityExpression;
|
|
12
|
-
validation?: GraphParameterValidation[];
|
|
13
|
-
metadata?: Record<string, GraphJsonValue>;
|
|
14
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { GraphParameterBase } from "./GraphParameterBase.d.cts";
|
|
2
|
-
import type { GraphParameterOption } from "./GraphParameterOption.d.cts";
|
|
3
|
-
import type { GraphResourceLocatorMode } from "./GraphResourceLocatorMode.d.cts";
|
|
4
|
-
export interface GraphStringParameter extends GraphParameterBase {
|
|
5
|
-
type: "string";
|
|
6
|
-
multiline?: boolean;
|
|
7
|
-
minLength?: number;
|
|
8
|
-
maxLength?: number;
|
|
9
|
-
pattern?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface GraphNumberParameter extends GraphParameterBase {
|
|
12
|
-
type: "number";
|
|
13
|
-
integer?: boolean;
|
|
14
|
-
min?: number;
|
|
15
|
-
max?: number;
|
|
16
|
-
step?: number;
|
|
17
|
-
}
|
|
18
|
-
export interface GraphBooleanParameter extends GraphParameterBase {
|
|
19
|
-
type: "boolean";
|
|
20
|
-
}
|
|
21
|
-
export interface GraphOptionsParameter extends GraphParameterBase {
|
|
22
|
-
type: "options";
|
|
23
|
-
options?: GraphParameterOption[];
|
|
24
|
-
loadOptionsMethod?: string;
|
|
25
|
-
multiple?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export interface GraphCollectionParameter extends GraphParameterBase {
|
|
28
|
-
type: "collection";
|
|
29
|
-
itemIdPath?: string;
|
|
30
|
-
itemLabelPath?: string;
|
|
31
|
-
itemParameters?: GraphParameterDefinition[];
|
|
32
|
-
maxItems?: number;
|
|
33
|
-
}
|
|
34
|
-
export interface GraphObjectParameter extends GraphParameterBase {
|
|
35
|
-
type: "object";
|
|
36
|
-
properties?: GraphParameterDefinition[];
|
|
37
|
-
}
|
|
38
|
-
export interface GraphCodeParameter extends GraphParameterBase {
|
|
39
|
-
type: "code";
|
|
40
|
-
language: "javascript" | "typescript" | "json" | "text";
|
|
41
|
-
validateMethod?: string;
|
|
42
|
-
}
|
|
43
|
-
export interface GraphExpressionParameter extends GraphParameterBase {
|
|
44
|
-
type: "expression";
|
|
45
|
-
}
|
|
46
|
-
export interface GraphResourceLocatorParameter extends GraphParameterBase {
|
|
47
|
-
type: "resourceLocator";
|
|
48
|
-
modes: GraphResourceLocatorMode[];
|
|
49
|
-
}
|
|
50
|
-
export interface GraphCredentialParameter extends GraphParameterBase {
|
|
51
|
-
type: "credential";
|
|
52
|
-
credentialType: string;
|
|
53
|
-
}
|
|
54
|
-
export interface GraphNoticeParameter extends GraphParameterBase {
|
|
55
|
-
type: "notice";
|
|
56
|
-
noticeVariant: "info" | "warning" | "error" | "success";
|
|
57
|
-
noticeContent: string;
|
|
58
|
-
}
|
|
59
|
-
export interface GraphHiddenParameter extends GraphParameterBase {
|
|
60
|
-
type: "hidden";
|
|
61
|
-
}
|
|
62
|
-
export type GraphParameterDefinition = GraphStringParameter | GraphNumberParameter | GraphBooleanParameter | GraphOptionsParameter | GraphCollectionParameter | GraphObjectParameter | GraphCodeParameter | GraphExpressionParameter | GraphResourceLocatorParameter | GraphCredentialParameter | GraphNoticeParameter | GraphHiddenParameter;
|
|
63
|
-
export declare const GRAPH_PARAMETER_TYPES: readonly ["string", "number", "boolean", "options", "collection", "object", "code", "expression", "resourceLocator", "credential", "notice", "hidden"];
|
|
64
|
-
export type GraphParameterDefinitionType = (typeof GRAPH_PARAMETER_TYPES)[number];
|
|
65
|
-
export declare function isGraphParameterDefinitionType(value: unknown): value is GraphParameterDefinitionType;
|
|
66
|
-
export declare function isGraphParameterDefinition(value: unknown): value is GraphParameterDefinition;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { GraphParameterBase } from "./GraphParameterBase.d.mts";
|
|
2
|
-
import type { GraphParameterOption } from "./GraphParameterOption.d.mts";
|
|
3
|
-
import type { GraphResourceLocatorMode } from "./GraphResourceLocatorMode.d.mts";
|
|
4
|
-
export interface GraphStringParameter extends GraphParameterBase {
|
|
5
|
-
type: "string";
|
|
6
|
-
multiline?: boolean;
|
|
7
|
-
minLength?: number;
|
|
8
|
-
maxLength?: number;
|
|
9
|
-
pattern?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface GraphNumberParameter extends GraphParameterBase {
|
|
12
|
-
type: "number";
|
|
13
|
-
integer?: boolean;
|
|
14
|
-
min?: number;
|
|
15
|
-
max?: number;
|
|
16
|
-
step?: number;
|
|
17
|
-
}
|
|
18
|
-
export interface GraphBooleanParameter extends GraphParameterBase {
|
|
19
|
-
type: "boolean";
|
|
20
|
-
}
|
|
21
|
-
export interface GraphOptionsParameter extends GraphParameterBase {
|
|
22
|
-
type: "options";
|
|
23
|
-
options?: GraphParameterOption[];
|
|
24
|
-
loadOptionsMethod?: string;
|
|
25
|
-
multiple?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export interface GraphCollectionParameter extends GraphParameterBase {
|
|
28
|
-
type: "collection";
|
|
29
|
-
itemIdPath?: string;
|
|
30
|
-
itemLabelPath?: string;
|
|
31
|
-
itemParameters?: GraphParameterDefinition[];
|
|
32
|
-
maxItems?: number;
|
|
33
|
-
}
|
|
34
|
-
export interface GraphObjectParameter extends GraphParameterBase {
|
|
35
|
-
type: "object";
|
|
36
|
-
properties?: GraphParameterDefinition[];
|
|
37
|
-
}
|
|
38
|
-
export interface GraphCodeParameter extends GraphParameterBase {
|
|
39
|
-
type: "code";
|
|
40
|
-
language: "javascript" | "typescript" | "json" | "text";
|
|
41
|
-
validateMethod?: string;
|
|
42
|
-
}
|
|
43
|
-
export interface GraphExpressionParameter extends GraphParameterBase {
|
|
44
|
-
type: "expression";
|
|
45
|
-
}
|
|
46
|
-
export interface GraphResourceLocatorParameter extends GraphParameterBase {
|
|
47
|
-
type: "resourceLocator";
|
|
48
|
-
modes: GraphResourceLocatorMode[];
|
|
49
|
-
}
|
|
50
|
-
export interface GraphCredentialParameter extends GraphParameterBase {
|
|
51
|
-
type: "credential";
|
|
52
|
-
credentialType: string;
|
|
53
|
-
}
|
|
54
|
-
export interface GraphNoticeParameter extends GraphParameterBase {
|
|
55
|
-
type: "notice";
|
|
56
|
-
noticeVariant: "info" | "warning" | "error" | "success";
|
|
57
|
-
noticeContent: string;
|
|
58
|
-
}
|
|
59
|
-
export interface GraphHiddenParameter extends GraphParameterBase {
|
|
60
|
-
type: "hidden";
|
|
61
|
-
}
|
|
62
|
-
export type GraphParameterDefinition = GraphStringParameter | GraphNumberParameter | GraphBooleanParameter | GraphOptionsParameter | GraphCollectionParameter | GraphObjectParameter | GraphCodeParameter | GraphExpressionParameter | GraphResourceLocatorParameter | GraphCredentialParameter | GraphNoticeParameter | GraphHiddenParameter;
|
|
63
|
-
export declare const GRAPH_PARAMETER_TYPES: readonly ["string", "number", "boolean", "options", "collection", "object", "code", "expression", "resourceLocator", "credential", "notice", "hidden"];
|
|
64
|
-
export type GraphParameterDefinitionType = (typeof GRAPH_PARAMETER_TYPES)[number];
|
|
65
|
-
export declare function isGraphParameterDefinitionType(value: unknown): value is GraphParameterDefinitionType;
|
|
66
|
-
export declare function isGraphParameterDefinition(value: unknown): value is GraphParameterDefinition;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonPrimitive } from "../document/GraphJsonValue.d.cts";
|
|
2
|
-
export interface GraphParameterOption {
|
|
3
|
-
label: string;
|
|
4
|
-
value: GraphJsonPrimitive;
|
|
5
|
-
description?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function isGraphParameterOption(value: unknown): value is GraphParameterOption;
|
|
8
|
-
export declare function isGraphParameterOptionArray(value: unknown): value is GraphParameterOption[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { GraphJsonPrimitive } from "../document/GraphJsonValue.d.mts";
|
|
2
|
-
export interface GraphParameterOption {
|
|
3
|
-
label: string;
|
|
4
|
-
value: GraphJsonPrimitive;
|
|
5
|
-
description?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function isGraphParameterOption(value: unknown): value is GraphParameterOption;
|
|
8
|
-
export declare function isGraphParameterOptionArray(value: unknown): value is GraphParameterOption[];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type GraphParameterValidation = {
|
|
2
|
-
kind: "required";
|
|
3
|
-
message?: string;
|
|
4
|
-
} | {
|
|
5
|
-
kind: "min" | "max" | "step" | "minLength" | "maxLength";
|
|
6
|
-
value: number;
|
|
7
|
-
message?: string;
|
|
8
|
-
} | {
|
|
9
|
-
kind: "pattern";
|
|
10
|
-
value: string;
|
|
11
|
-
message?: string;
|
|
12
|
-
} | {
|
|
13
|
-
kind: "enum";
|
|
14
|
-
values: (string | number | boolean)[];
|
|
15
|
-
message?: string;
|
|
16
|
-
} | {
|
|
17
|
-
kind: "method";
|
|
18
|
-
method: string;
|
|
19
|
-
message?: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const GRAPH_PARAMETER_VALIDATION_KINDS: readonly ["required", "min", "max", "step", "minLength", "maxLength", "pattern", "enum", "method"];
|
|
22
|
-
export type GraphParameterValidationKind = (typeof GRAPH_PARAMETER_VALIDATION_KINDS)[number];
|
|
23
|
-
export declare function isGraphParameterValidationKind(value: unknown): value is GraphParameterValidationKind;
|
|
24
|
-
export declare function isGraphParameterValidation(value: unknown): value is GraphParameterValidation;
|
|
25
|
-
export declare function isGraphParameterValidationList(value: unknown): value is GraphParameterValidation[];
|