@decaf-ts/integrations 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/integrations.cjs +1 -1
- package/docker/minio-compose.yml +1 -1
- package/jest.config.cjs +1 -11
- package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs +25 -0
- package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/azure/AzureBlobStoreService.cjs +85 -10
- package/lib/cjs/blob/azure/AzureBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/azure/index.cjs +1 -0
- package/lib/cjs/blob/azure/index.cjs.map +1 -1
- package/lib/cjs/blob/core/BlobEnvironment.cjs +19 -0
- package/lib/cjs/blob/core/BlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobStoreService.cjs +181 -3
- package/lib/cjs/blob/core/BlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/core/index.cjs +1 -0
- package/lib/cjs/blob/core/index.cjs.map +1 -1
- package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs +26 -0
- package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs +63 -2
- package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/gcp/index.cjs +1 -0
- package/lib/cjs/blob/gcp/index.cjs.map +1 -1
- package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs +30 -0
- package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +68 -2
- package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/ipfs/index.cjs +1 -0
- package/lib/cjs/blob/ipfs/index.cjs.map +1 -1
- package/lib/cjs/blob/local/LocalBlobEnvironment.cjs +22 -0
- package/lib/cjs/blob/local/LocalBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/local/LocalBlobStoreService.cjs +59 -2
- package/lib/cjs/blob/local/LocalBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/local/index.cjs +1 -0
- package/lib/cjs/blob/local/index.cjs.map +1 -1
- package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs +21 -0
- package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs +58 -2
- package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/memory/index.cjs +1 -0
- package/lib/cjs/blob/memory/index.cjs.map +1 -1
- package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs +32 -0
- package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/s3/MinioBlobStoreService.cjs +45 -4
- package/lib/cjs/blob/s3/MinioBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/s3/R2BlobEnvironment.cjs +32 -0
- package/lib/cjs/blob/s3/R2BlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/s3/R2BlobStoreService.cjs +45 -4
- package/lib/cjs/blob/s3/R2BlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/s3/S3BlobEnvironment.cjs +32 -0
- package/lib/cjs/blob/s3/S3BlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/s3/S3BlobStoreService.cjs +43 -310
- package/lib/cjs/blob/s3/S3BlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs +358 -0
- package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/s3/index.cjs +4 -0
- package/lib/cjs/blob/s3/index.cjs.map +1 -1
- package/lib/cjs/calendar/CalendarService.cjs +393 -0
- package/lib/cjs/calendar/CalendarService.cjs.map +1 -0
- package/lib/cjs/calendar/index.cjs +21 -0
- package/lib/cjs/calendar/index.cjs.map +1 -0
- package/lib/cjs/calendar/types.cjs.map +1 -0
- package/lib/cjs/calendar/validators/cron.cjs +58 -0
- package/lib/cjs/calendar/validators/cron.cjs.map +1 -0
- package/lib/cjs/calendar/writers/CalendarFsWriter.cjs +39 -0
- package/lib/cjs/calendar/writers/CalendarFsWriter.cjs.map +1 -0
- package/lib/cjs/calendar/writers/CalenderDownloader.cjs +47 -0
- package/lib/cjs/calendar/writers/CalenderDownloader.cjs.map +1 -0
- package/lib/cjs/calendar/writers/ICalendarWriter.cjs +4 -0
- package/lib/cjs/calendar/writers/ICalendarWriter.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs +100 -0
- package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs +29 -0
- package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs +270 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs +169 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs +64 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs +17 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/index.cjs +24 -0
- package/lib/cjs/graph/engine/catalog/index.cjs.map +1 -0
- package/lib/cjs/graph/engine/constants.cjs +2 -2
- package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs +1 -0
- package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs.map +1 -1
- package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs +18 -0
- package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs.map +1 -0
- package/lib/cjs/graph/engine/errors/index.cjs +1 -0
- package/lib/cjs/graph/engine/errors/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/events/index.cjs +0 -1
- package/lib/cjs/graph/engine/events/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs +2 -2
- package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs +10 -6
- package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs +30 -18
- package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs +354 -73
- package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs +3 -3
- package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs +9 -6
- package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs +11 -10
- package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/index.cjs +8 -11
- package/lib/cjs/graph/engine/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs +37 -12
- package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs +38 -13
- package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs +38 -13
- package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs +2 -2
- package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs.map +1 -1
- package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs +43 -14
- package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs.map +1 -1
- package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs.map +1 -1
- package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs +79 -88
- package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs.map +1 -1
- package/lib/cjs/graph/engine/planning/index.cjs +0 -1
- package/lib/cjs/graph/engine/planning/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs +28 -15
- package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs.map +1 -1
- package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs +69 -0
- package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs +291 -0
- package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs +29 -0
- package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/GraphRunService.cjs +259 -0
- package/lib/cjs/graph/engine/runs/GraphRunService.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs +69 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs +26 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/index.cjs +26 -0
- package/lib/cjs/graph/engine/runs/index.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/ownership.cjs +34 -0
- package/lib/cjs/graph/engine/runs/ownership.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/types.cjs +4 -0
- package/lib/cjs/graph/engine/runs/types.cjs.map +1 -0
- package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs +2 -2
- package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -1
- package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs +142 -0
- package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs +160 -0
- package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs +6 -10
- package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs.map +1 -1
- package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs +166 -0
- package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs +86 -0
- package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs +423 -0
- package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs +4 -0
- package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs +50 -0
- package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs +4 -0
- package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs +478 -0
- package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/index.cjs +12 -1
- package/lib/cjs/graph/engine/validation/index.cjs.map +1 -1
- package/lib/cjs/graph/index.cjs +4 -4
- package/lib/cjs/graph/log/GraphRunLogger.cjs +9 -6
- package/lib/cjs/graph/log/GraphRunLogger.cjs.map +1 -1
- package/lib/cjs/graph/log/LogParameters.cjs +13 -13
- package/lib/cjs/graph/log/LogParameters.cjs.map +1 -1
- package/lib/cjs/index.cjs +3 -3
- package/lib/cjs/nest/graph/GraphExecutionController.cjs +140 -16
- package/lib/cjs/nest/graph/GraphExecutionController.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphExecutionModule.cjs +94 -7
- package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +11 -0
- package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +63 -61
- package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs +270 -0
- package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphResultService.cjs +16 -1
- package/lib/cjs/nest/graph/GraphResultService.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphRunController.cjs +279 -0
- package/lib/cjs/nest/graph/GraphRunController.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphRunModel.cjs +83 -0
- package/lib/cjs/nest/graph/GraphRunModel.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphRunModelService.cjs +121 -0
- package/lib/cjs/nest/graph/GraphRunModelService.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs +169 -0
- package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowController.cjs +162 -0
- package/lib/cjs/nest/graph/GraphWorkflowController.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs +12 -0
- package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs +23 -0
- package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowModel.cjs +27 -1
- package/lib/cjs/nest/graph/GraphWorkflowModel.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphWorkflowService.cjs +211 -8
- package/lib/cjs/nest/graph/GraphWorkflowService.cjs.map +1 -1
- package/lib/cjs/nest/graph/index.cjs +8 -0
- package/lib/cjs/nest/graph/index.cjs.map +1 -1
- package/lib/cjs/nest/graph/main.cjs +22 -5
- package/lib/cjs/nest/graph/main.cjs.map +1 -1
- package/lib/cjs/nest/keycloakModule.cjs +3 -1
- package/lib/cjs/nest/keycloakModule.cjs.map +1 -1
- package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs +27 -0
- package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/aws/AwsSecretService.cjs +53 -19
- package/lib/cjs/secrets/aws/AwsSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/aws/index.cjs +1 -0
- package/lib/cjs/secrets/aws/index.cjs.map +1 -1
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs +45 -16
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs +23 -0
- package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/azure/index.cjs +1 -0
- package/lib/cjs/secrets/azure/index.cjs.map +1 -1
- package/lib/cjs/secrets/core/ClientBasedSecretService.cjs +29 -0
- package/lib/cjs/secrets/core/ClientBasedSecretService.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretEnvironment.cjs +19 -0
- package/lib/cjs/secrets/core/SecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/core/index.cjs +2 -0
- package/lib/cjs/secrets/core/index.cjs.map +1 -1
- package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs +25 -0
- package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs +45 -17
- package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs.map +1 -1
- package/lib/cjs/secrets/gcp/index.cjs +1 -0
- package/lib/cjs/secrets/gcp/index.cjs.map +1 -1
- package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs +21 -0
- package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/model/ModelSecretService.cjs +29 -3
- package/lib/cjs/secrets/model/ModelSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/model/index.cjs +1 -0
- package/lib/cjs/secrets/model/index.cjs.map +1 -1
- package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs +24 -0
- package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs +34 -3
- package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/onepassword/index.cjs +1 -0
- package/lib/cjs/secrets/onepassword/index.cjs.map +1 -1
- package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs +24 -0
- package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/vault/VaultSecretService.cjs +47 -16
- package/lib/cjs/secrets/vault/VaultSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/vault/index.cjs +1 -0
- package/lib/cjs/secrets/vault/index.cjs.map +1 -1
- package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs +31 -0
- package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs.map +1 -0
- package/lib/cjs/sftp/aws/AwsSftpService.cjs +55 -5
- package/lib/cjs/sftp/aws/AwsSftpService.cjs.map +1 -1
- package/lib/cjs/sftp/core/SftpEnvironment.cjs +19 -0
- package/lib/cjs/sftp/core/SftpEnvironment.cjs.map +1 -0
- package/lib/cjs/sftp/core/SftpSource.cjs +10 -0
- package/lib/cjs/sftp/core/SftpSource.cjs.map +1 -1
- package/lib/cjs/sftp/core/index.cjs +1 -0
- package/lib/cjs/sftp/core/index.cjs.map +1 -1
- package/lib/cjs/sftp/index.cjs +3 -0
- package/lib/cjs/sftp/index.cjs.map +1 -1
- package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs +28 -0
- package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs.map +1 -0
- package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs +46 -5
- package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs.map +1 -1
- package/lib/cjs/shared/environmentValue.cjs +31 -0
- package/lib/cjs/shared/environmentValue.cjs.map +1 -0
- package/lib/esm/blob/azure/AzureBlobEnvironment.js +21 -0
- package/lib/esm/blob/azure/AzureBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/azure/AzureBlobStoreService.js +84 -12
- package/lib/esm/blob/azure/AzureBlobStoreService.js.map +1 -1
- package/lib/esm/blob/azure/index.js +1 -0
- package/lib/esm/blob/azure/index.js.map +1 -1
- package/lib/esm/blob/core/BlobEnvironment.js +15 -0
- package/lib/esm/blob/core/BlobEnvironment.js.map +1 -0
- package/lib/esm/blob/core/BlobStoreService.js +181 -3
- package/lib/esm/blob/core/BlobStoreService.js.map +1 -1
- package/lib/esm/blob/core/index.js +1 -0
- package/lib/esm/blob/core/index.js.map +1 -1
- package/lib/esm/blob/gcp/GcsBlobEnvironment.js +22 -0
- package/lib/esm/blob/gcp/GcsBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/gcp/GcsBlobStoreService.js +61 -3
- package/lib/esm/blob/gcp/GcsBlobStoreService.js.map +1 -1
- package/lib/esm/blob/gcp/index.js +1 -0
- package/lib/esm/blob/gcp/index.js.map +1 -1
- package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js +26 -0
- package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +66 -3
- package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +1 -1
- package/lib/esm/blob/ipfs/index.js +1 -0
- package/lib/esm/blob/ipfs/index.js.map +1 -1
- package/lib/esm/blob/local/LocalBlobEnvironment.js +18 -0
- package/lib/esm/blob/local/LocalBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/local/LocalBlobStoreService.js +57 -3
- package/lib/esm/blob/local/LocalBlobStoreService.js.map +1 -1
- package/lib/esm/blob/local/index.js +1 -0
- package/lib/esm/blob/local/index.js.map +1 -1
- package/lib/esm/blob/memory/MemoryBlobEnvironment.js +17 -0
- package/lib/esm/blob/memory/MemoryBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/memory/MemoryBlobStoreService.js +56 -3
- package/lib/esm/blob/memory/MemoryBlobStoreService.js.map +1 -1
- package/lib/esm/blob/memory/index.js +1 -0
- package/lib/esm/blob/memory/index.js.map +1 -1
- package/lib/esm/blob/s3/MinioBlobEnvironment.js +28 -0
- package/lib/esm/blob/s3/MinioBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/s3/MinioBlobStoreService.js +42 -4
- package/lib/esm/blob/s3/MinioBlobStoreService.js.map +1 -1
- package/lib/esm/blob/s3/R2BlobEnvironment.js +28 -0
- package/lib/esm/blob/s3/R2BlobEnvironment.js.map +1 -0
- package/lib/esm/blob/s3/R2BlobStoreService.js +42 -4
- package/lib/esm/blob/s3/R2BlobStoreService.js.map +1 -1
- package/lib/esm/blob/s3/S3BlobEnvironment.js +28 -0
- package/lib/esm/blob/s3/S3BlobEnvironment.js.map +1 -0
- package/lib/esm/blob/s3/S3BlobStoreService.js +41 -311
- package/lib/esm/blob/s3/S3BlobStoreService.js.map +1 -1
- package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js +353 -0
- package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js.map +1 -0
- package/lib/esm/blob/s3/index.js +4 -0
- package/lib/esm/blob/s3/index.js.map +1 -1
- package/lib/esm/calendar/CalendarService.js +384 -0
- package/lib/esm/calendar/CalendarService.js.map +1 -0
- package/lib/esm/calendar/index.js +4 -0
- package/lib/esm/calendar/index.js.map +1 -0
- package/lib/esm/{graph/shared → calendar}/types.js.map +1 -1
- package/lib/esm/calendar/validators/cron.js +48 -0
- package/lib/esm/calendar/validators/cron.js.map +1 -0
- package/lib/esm/calendar/writers/CalendarFsWriter.js +31 -0
- package/lib/esm/calendar/writers/CalendarFsWriter.js.map +1 -0
- package/lib/esm/calendar/writers/CalenderDownloader.js +39 -0
- package/lib/esm/calendar/writers/CalenderDownloader.js.map +1 -0
- package/lib/esm/calendar/writers/ICalendarWriter.js +2 -0
- package/lib/esm/calendar/writers/ICalendarWriter.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js +95 -0
- package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js +22 -0
- package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js +265 -0
- package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js +162 -0
- package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js +59 -0
- package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js +12 -0
- package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js.map +1 -0
- package/lib/esm/graph/engine/catalog/index.js +7 -0
- package/lib/esm/graph/engine/catalog/index.js.map +1 -0
- package/lib/esm/graph/engine/constants.js +2 -2
- package/lib/esm/graph/engine/errors/GraphExecutionError.js +1 -0
- package/lib/esm/graph/engine/errors/GraphExecutionError.js.map +1 -1
- package/lib/esm/graph/engine/errors/GraphRunCancelledError.js +13 -0
- package/lib/esm/graph/engine/errors/GraphRunCancelledError.js.map +1 -0
- package/lib/esm/graph/engine/errors/index.js +1 -0
- package/lib/esm/graph/engine/errors/index.js.map +1 -1
- package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js.map +1 -1
- package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js.map +1 -1
- package/lib/esm/graph/engine/events/index.js +0 -1
- package/lib/esm/graph/engine/events/index.js.map +1 -1
- package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js +2 -2
- package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js +10 -6
- package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionContext.js +28 -16
- package/lib/esm/graph/engine/execution/GraphExecutionContext.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionEngine.js +322 -41
- package/lib/esm/graph/engine/execution/GraphExecutionEngine.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionFrame.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionResult.js +3 -3
- package/lib/esm/graph/engine/execution/GraphExecutionResult.js.map +1 -1
- package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js +9 -6
- package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js +11 -10
- package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/index.js +8 -11
- package/lib/esm/graph/engine/index.js.map +1 -1
- package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js +32 -7
- package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js +32 -7
- package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js +32 -7
- package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js +2 -2
- package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js.map +1 -1
- package/lib/esm/graph/engine/pinning/GraphPinningService.js +43 -14
- package/lib/esm/graph/engine/pinning/GraphPinningService.js.map +1 -1
- package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js +3 -1
- package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js.map +1 -1
- package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js +79 -88
- package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js.map +1 -1
- package/lib/esm/graph/engine/planning/index.js +0 -1
- package/lib/esm/graph/engine/planning/index.js.map +1 -1
- package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js +28 -15
- package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js.map +1 -1
- package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js +64 -0
- package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js.map +1 -0
- package/lib/esm/graph/engine/runs/GraphRunExecutor.js +286 -0
- package/lib/esm/graph/engine/runs/GraphRunExecutor.js.map +1 -0
- package/lib/esm/graph/engine/runs/GraphRunFingerprint.js +25 -0
- package/lib/esm/graph/engine/runs/GraphRunFingerprint.js.map +1 -0
- package/lib/esm/graph/engine/runs/GraphRunService.js +254 -0
- package/lib/esm/graph/engine/runs/GraphRunService.js.map +1 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js +64 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js.map +1 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js +21 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js.map +1 -0
- package/lib/esm/graph/engine/runs/index.js +9 -0
- package/lib/esm/graph/engine/runs/index.js.map +1 -0
- package/lib/esm/graph/engine/runs/ownership.js +30 -0
- package/lib/esm/graph/engine/runs/ownership.js.map +1 -0
- package/lib/esm/graph/engine/runs/types.js +2 -0
- package/lib/esm/graph/engine/runs/types.js.map +1 -0
- package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js +1 -1
- package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js.map +1 -1
- package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js +137 -0
- package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js +155 -0
- package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js +6 -10
- package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js.map +1 -1
- package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js +161 -0
- package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js +81 -0
- package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphParameterValidator.js +416 -0
- package/lib/esm/graph/engine/validation/GraphParameterValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js +2 -0
- package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphValidationErrors.js +43 -0
- package/lib/esm/graph/engine/validation/GraphValidationErrors.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphValidationIssue.js +2 -0
- package/lib/esm/graph/engine/validation/GraphValidationIssue.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js +472 -0
- package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/index.js +12 -1
- package/lib/esm/graph/engine/validation/index.js.map +1 -1
- package/lib/esm/graph/index.js +4 -4
- package/lib/esm/graph/log/GraphRunLogger.js +4 -1
- package/lib/esm/graph/log/GraphRunLogger.js.map +1 -1
- package/lib/esm/graph/log/LogParameters.js +1 -1
- package/lib/esm/graph/log/LogParameters.js.map +1 -1
- package/lib/esm/index.js +3 -3
- package/lib/esm/nest/graph/GraphExecutionController.js +143 -19
- package/lib/esm/nest/graph/GraphExecutionController.js.map +1 -1
- package/lib/esm/nest/graph/GraphExecutionModule.js +97 -10
- package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -1
- package/lib/esm/nest/graph/GraphExecutionResultModel.js +11 -0
- package/lib/esm/nest/graph/GraphExecutionResultModel.js.map +1 -1
- package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +62 -62
- package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +1 -1
- package/lib/esm/nest/graph/GraphNodeCatalogueController.js +261 -0
- package/lib/esm/nest/graph/GraphNodeCatalogueController.js.map +1 -0
- package/lib/esm/nest/graph/GraphResultService.js +16 -1
- package/lib/esm/nest/graph/GraphResultService.js.map +1 -1
- package/lib/esm/nest/graph/GraphRunController.js +270 -0
- package/lib/esm/nest/graph/GraphRunController.js.map +1 -0
- package/lib/esm/nest/graph/GraphRunModel.js +74 -0
- package/lib/esm/nest/graph/GraphRunModel.js.map +1 -0
- package/lib/esm/nest/graph/GraphRunModelService.js +112 -0
- package/lib/esm/nest/graph/GraphRunModelService.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js +164 -0
- package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowController.js +153 -0
- package/lib/esm/nest/graph/GraphWorkflowController.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js +8 -0
- package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowErrors.js +18 -0
- package/lib/esm/nest/graph/GraphWorkflowErrors.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowModel.js +27 -1
- package/lib/esm/nest/graph/GraphWorkflowModel.js.map +1 -1
- package/lib/esm/nest/graph/GraphWorkflowService.js +210 -8
- package/lib/esm/nest/graph/GraphWorkflowService.js.map +1 -1
- package/lib/esm/nest/graph/index.js +8 -0
- package/lib/esm/nest/graph/index.js.map +1 -1
- package/lib/esm/nest/graph/main.js +22 -5
- package/lib/esm/nest/graph/main.js.map +1 -1
- package/lib/esm/nest/keycloakModule.js +3 -1
- package/lib/esm/nest/keycloakModule.js.map +1 -1
- package/lib/esm/secrets/aws/AwsSecretEnvironment.js +23 -0
- package/lib/esm/secrets/aws/AwsSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/aws/AwsSecretService.js +39 -8
- package/lib/esm/secrets/aws/AwsSecretService.js.map +1 -1
- package/lib/esm/secrets/aws/index.js +1 -0
- package/lib/esm/secrets/aws/index.js.map +1 -1
- package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js +30 -4
- package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js.map +1 -1
- package/lib/esm/secrets/azure/AzureSecretEnvironment.js +19 -0
- package/lib/esm/secrets/azure/AzureSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/azure/index.js +1 -0
- package/lib/esm/secrets/azure/index.js.map +1 -1
- package/lib/esm/secrets/core/ClientBasedSecretService.js +24 -0
- package/lib/esm/secrets/core/ClientBasedSecretService.js.map +1 -0
- package/lib/esm/secrets/core/SecretEnvironment.js +15 -0
- package/lib/esm/secrets/core/SecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/core/index.js +2 -0
- package/lib/esm/secrets/core/index.js.map +1 -1
- package/lib/esm/secrets/gcp/GcpSecretEnvironment.js +21 -0
- package/lib/esm/secrets/gcp/GcpSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/gcp/GcpSecretManagerService.js +30 -5
- package/lib/esm/secrets/gcp/GcpSecretManagerService.js.map +1 -1
- package/lib/esm/secrets/gcp/index.js +1 -0
- package/lib/esm/secrets/gcp/index.js.map +1 -1
- package/lib/esm/secrets/model/ModelSecretEnvironment.js +17 -0
- package/lib/esm/secrets/model/ModelSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/model/ModelSecretService.js +28 -5
- package/lib/esm/secrets/model/ModelSecretService.js.map +1 -1
- package/lib/esm/secrets/model/index.js +1 -0
- package/lib/esm/secrets/model/index.js.map +1 -1
- package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js +20 -0
- package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/onepassword/OnePasswordSecretService.js +33 -5
- package/lib/esm/secrets/onepassword/OnePasswordSecretService.js.map +1 -1
- package/lib/esm/secrets/onepassword/index.js +1 -0
- package/lib/esm/secrets/onepassword/index.js.map +1 -1
- package/lib/esm/secrets/vault/VaultSecretEnvironment.js +20 -0
- package/lib/esm/secrets/vault/VaultSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/vault/VaultSecretService.js +33 -5
- package/lib/esm/secrets/vault/VaultSecretService.js.map +1 -1
- package/lib/esm/secrets/vault/index.js +1 -0
- package/lib/esm/secrets/vault/index.js.map +1 -1
- package/lib/esm/sftp/aws/AwsSftpEnvironment.js +27 -0
- package/lib/esm/sftp/aws/AwsSftpEnvironment.js.map +1 -0
- package/lib/esm/sftp/aws/AwsSftpService.js +52 -6
- package/lib/esm/sftp/aws/AwsSftpService.js.map +1 -1
- package/lib/esm/sftp/core/SftpEnvironment.js +15 -0
- package/lib/esm/sftp/core/SftpEnvironment.js.map +1 -0
- package/lib/esm/sftp/core/SftpSource.js +12 -2
- package/lib/esm/sftp/core/SftpSource.js.map +1 -1
- package/lib/esm/sftp/core/index.js +1 -0
- package/lib/esm/sftp/core/index.js.map +1 -1
- package/lib/esm/sftp/index.js +3 -0
- package/lib/esm/sftp/index.js.map +1 -1
- package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js +24 -0
- package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js.map +1 -0
- package/lib/esm/sftp/ssh2/Ssh2SftpService.js +43 -6
- package/lib/esm/sftp/ssh2/Ssh2SftpService.js.map +1 -1
- package/lib/esm/shared/environmentValue.js +25 -0
- package/lib/esm/shared/environmentValue.js.map +1 -0
- package/lib/types/blob/azure/AzureBlobEnvironment.d.cts +25 -0
- package/lib/types/blob/azure/AzureBlobEnvironment.d.mts +25 -0
- package/lib/types/blob/azure/AzureBlobStoreService.d.cts +38 -0
- package/lib/types/blob/azure/AzureBlobStoreService.d.mts +38 -0
- package/lib/types/blob/azure/index.d.cts +1 -0
- package/lib/types/blob/azure/index.d.mts +1 -0
- package/lib/types/blob/core/BlobEnvironment.d.cts +11 -0
- package/lib/types/blob/core/BlobEnvironment.d.mts +11 -0
- package/lib/types/blob/core/BlobStoreService.d.cts +238 -1
- package/lib/types/blob/core/BlobStoreService.d.mts +238 -1
- package/lib/types/blob/core/index.d.cts +1 -0
- package/lib/types/blob/core/index.d.mts +1 -0
- package/lib/types/blob/gcp/GcsBlobEnvironment.d.cts +17 -0
- package/lib/types/blob/gcp/GcsBlobEnvironment.d.mts +17 -0
- package/lib/types/blob/gcp/GcsBlobStoreService.d.cts +36 -0
- package/lib/types/blob/gcp/GcsBlobStoreService.d.mts +36 -0
- package/lib/types/blob/gcp/index.d.cts +1 -0
- package/lib/types/blob/gcp/index.d.mts +1 -0
- package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.cts +24 -0
- package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.mts +24 -0
- package/lib/types/blob/ipfs/IpfsBlobStoreService.d.cts +35 -0
- package/lib/types/blob/ipfs/IpfsBlobStoreService.d.mts +35 -0
- package/lib/types/blob/ipfs/index.d.cts +1 -0
- package/lib/types/blob/ipfs/index.d.mts +1 -0
- package/lib/types/blob/local/LocalBlobEnvironment.d.cts +15 -0
- package/lib/types/blob/local/LocalBlobEnvironment.d.mts +15 -0
- package/lib/types/blob/local/LocalBlobStoreService.d.cts +28 -0
- package/lib/types/blob/local/LocalBlobStoreService.d.mts +28 -0
- package/lib/types/blob/local/index.d.cts +1 -0
- package/lib/types/blob/local/index.d.mts +1 -0
- package/lib/types/blob/memory/MemoryBlobEnvironment.d.cts +14 -0
- package/lib/types/blob/memory/MemoryBlobEnvironment.d.mts +14 -0
- package/lib/types/blob/memory/MemoryBlobStoreService.d.cts +28 -0
- package/lib/types/blob/memory/MemoryBlobStoreService.d.mts +28 -0
- package/lib/types/blob/memory/index.d.cts +1 -0
- package/lib/types/blob/memory/index.d.mts +1 -0
- package/lib/types/blob/s3/MinioBlobEnvironment.d.cts +11 -0
- package/lib/types/blob/s3/MinioBlobEnvironment.d.mts +11 -0
- package/lib/types/blob/s3/MinioBlobStoreService.d.cts +4 -7
- package/lib/types/blob/s3/MinioBlobStoreService.d.mts +4 -7
- package/lib/types/blob/s3/R2BlobEnvironment.d.cts +11 -0
- package/lib/types/blob/s3/R2BlobEnvironment.d.mts +11 -0
- package/lib/types/blob/s3/R2BlobStoreService.d.cts +4 -7
- package/lib/types/blob/s3/R2BlobStoreService.d.mts +4 -7
- package/lib/types/blob/s3/S3BlobEnvironment.d.cts +26 -0
- package/lib/types/blob/s3/S3BlobEnvironment.d.mts +26 -0
- package/lib/types/blob/s3/S3BlobStoreService.d.cts +4 -24
- package/lib/types/blob/s3/S3BlobStoreService.d.mts +4 -24
- package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.cts +58 -0
- package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.mts +58 -0
- package/lib/types/blob/s3/index.d.cts +4 -0
- package/lib/types/blob/s3/index.d.mts +4 -0
- package/lib/types/calendar/CalendarService.d.cts +40 -0
- package/lib/types/calendar/CalendarService.d.mts +40 -0
- package/lib/types/calendar/index.d.cts +3 -0
- package/lib/types/calendar/index.d.mts +3 -0
- package/lib/types/calendar/types.d.cts +64 -0
- package/lib/types/calendar/types.d.mts +64 -0
- package/lib/types/calendar/validators/cron.d.cts +7 -0
- package/lib/types/calendar/validators/cron.d.mts +7 -0
- package/lib/types/calendar/writers/CalendarFsWriter.d.cts +6 -0
- package/lib/types/calendar/writers/CalendarFsWriter.d.mts +6 -0
- package/lib/types/calendar/writers/CalenderDownloader.d.cts +6 -0
- package/lib/types/calendar/writers/CalenderDownloader.d.mts +6 -0
- package/lib/types/calendar/writers/ICalendarWriter.d.cts +5 -0
- package/lib/types/calendar/writers/ICalendarWriter.d.mts +5 -0
- package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.cts +17 -0
- package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.mts +17 -0
- package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.cts +13 -0
- package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.mts +13 -0
- package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.cts +71 -0
- package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.mts +71 -0
- package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.cts +42 -0
- package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.mts +42 -0
- package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.cts +22 -0
- package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.mts +22 -0
- package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.cts +68 -0
- package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.mts +68 -0
- package/lib/types/graph/engine/catalog/index.d.cts +6 -0
- package/lib/types/graph/engine/catalog/index.d.mts +6 -0
- package/lib/types/graph/engine/constants.d.cts +2 -2
- package/lib/types/graph/engine/constants.d.mts +2 -2
- package/lib/types/graph/engine/errors/GraphRunCancelledError.d.cts +9 -0
- package/lib/types/graph/engine/errors/GraphRunCancelledError.d.mts +9 -0
- package/lib/types/graph/engine/errors/index.d.cts +1 -0
- package/lib/types/graph/engine/errors/index.d.mts +1 -0
- package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.cts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.mts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.cts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.mts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionObserver.d.cts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionObserver.d.mts +1 -1
- package/lib/types/graph/engine/events/index.d.cts +0 -1
- package/lib/types/graph/engine/events/index.d.mts +0 -1
- package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/execution/GraphExecutionContext.d.cts +28 -14
- package/lib/types/graph/engine/execution/GraphExecutionContext.d.mts +28 -14
- package/lib/types/graph/engine/execution/GraphExecutionEngine.d.cts +106 -23
- package/lib/types/graph/engine/execution/GraphExecutionEngine.d.mts +106 -23
- package/lib/types/graph/engine/execution/GraphExecutionFrame.d.cts +2 -1
- package/lib/types/graph/engine/execution/GraphExecutionFrame.d.mts +2 -1
- package/lib/types/graph/engine/execution/GraphExecutionResult.d.cts +3 -3
- package/lib/types/graph/engine/execution/GraphExecutionResult.d.mts +3 -3
- package/lib/types/graph/engine/execution/GraphNodeExecutor.d.cts +17 -9
- package/lib/types/graph/engine/execution/GraphNodeExecutor.d.mts +17 -9
- package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.cts +3 -3
- package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.mts +3 -3
- package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/index.d.cts +6 -9
- package/lib/types/graph/engine/index.d.mts +6 -9
- package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.cts +1 -1
- package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.mts +1 -1
- package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.cts +1 -1
- package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.mts +1 -1
- package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/pinning/GraphPinningService.d.cts +16 -5
- package/lib/types/graph/engine/pinning/GraphPinningService.d.mts +16 -5
- package/lib/types/graph/engine/planning/GraphExecutionPlan.d.cts +8 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlan.d.mts +8 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.cts +9 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.mts +9 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.cts +17 -9
- package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.mts +17 -9
- package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.cts +21 -33
- package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.mts +21 -33
- package/lib/types/graph/engine/planning/index.d.cts +0 -1
- package/lib/types/graph/engine/planning/index.d.mts +0 -1
- package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.cts +22 -8
- package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.mts +22 -8
- package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.cts +26 -0
- package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.mts +26 -0
- package/lib/types/graph/engine/runs/GraphRunExecutor.d.cts +75 -0
- package/lib/types/graph/engine/runs/GraphRunExecutor.d.mts +75 -0
- package/lib/types/graph/engine/runs/GraphRunFingerprint.d.cts +8 -0
- package/lib/types/graph/engine/runs/GraphRunFingerprint.d.mts +8 -0
- package/lib/types/graph/engine/runs/GraphRunService.d.cts +93 -0
- package/lib/types/graph/engine/runs/GraphRunService.d.mts +93 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.cts +28 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.mts +28 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.cts +12 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.mts +12 -0
- package/lib/types/graph/engine/runs/index.d.cts +8 -0
- package/lib/types/graph/engine/runs/index.d.mts +8 -0
- package/lib/types/graph/engine/runs/ownership.d.cts +25 -0
- package/lib/types/graph/engine/runs/ownership.d.mts +25 -0
- package/lib/types/graph/engine/runs/types.d.cts +83 -0
- package/lib/types/graph/engine/runs/types.d.mts +83 -0
- package/lib/types/graph/engine/types.d.cts +37 -12
- package/lib/types/graph/engine/types.d.mts +37 -12
- package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.cts +32 -0
- package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.mts +32 -0
- package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.cts +62 -0
- package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.mts +62 -0
- package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.cts +11 -9
- package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.mts +11 -9
- package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.cts +32 -0
- package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.mts +32 -0
- package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.cts +37 -0
- package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.mts +37 -0
- package/lib/types/graph/engine/validation/GraphParameterValidator.d.cts +92 -0
- package/lib/types/graph/engine/validation/GraphParameterValidator.d.mts +92 -0
- package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.cts +66 -0
- package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.mts +66 -0
- package/lib/types/graph/engine/validation/GraphValidationErrors.d.cts +34 -0
- package/lib/types/graph/engine/validation/GraphValidationErrors.d.mts +34 -0
- package/lib/types/graph/engine/validation/GraphValidationIssue.d.cts +39 -0
- package/lib/types/graph/engine/validation/GraphValidationIssue.d.mts +39 -0
- package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.cts +162 -0
- package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.mts +162 -0
- package/lib/types/graph/engine/validation/index.d.cts +12 -1
- package/lib/types/graph/engine/validation/index.d.mts +12 -1
- package/lib/types/graph/index.d.cts +4 -4
- package/lib/types/graph/index.d.mts +4 -4
- package/lib/types/graph/log/GraphRunLogger.d.cts +5 -1
- package/lib/types/graph/log/GraphRunLogger.d.mts +5 -1
- package/lib/types/index.d.cts +2 -2
- package/lib/types/index.d.mts +2 -2
- package/lib/types/nest/graph/GraphExecutionController.d.cts +83 -4
- package/lib/types/nest/graph/GraphExecutionController.d.mts +83 -4
- package/lib/types/nest/graph/GraphExecutionModule.d.cts +64 -0
- package/lib/types/nest/graph/GraphExecutionModule.d.mts +64 -0
- package/lib/types/nest/graph/GraphExecutionResultModel.d.cts +12 -0
- package/lib/types/nest/graph/GraphExecutionResultModel.d.mts +12 -0
- package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +42 -28
- package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +42 -28
- package/lib/types/nest/graph/GraphNodeCatalogueController.d.cts +70 -0
- package/lib/types/nest/graph/GraphNodeCatalogueController.d.mts +70 -0
- package/lib/types/nest/graph/GraphResultService.d.cts +12 -0
- package/lib/types/nest/graph/GraphResultService.d.mts +12 -0
- package/lib/types/nest/graph/GraphRunController.d.cts +87 -0
- package/lib/types/nest/graph/GraphRunController.d.mts +87 -0
- package/lib/types/nest/graph/GraphRunModel.d.cts +22 -0
- package/lib/types/nest/graph/GraphRunModel.d.mts +22 -0
- package/lib/types/nest/graph/GraphRunModelService.d.cts +21 -0
- package/lib/types/nest/graph/GraphRunModelService.d.mts +21 -0
- package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.cts +28 -0
- package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.mts +28 -0
- package/lib/types/nest/graph/GraphWorkflowController.d.cts +62 -0
- package/lib/types/nest/graph/GraphWorkflowController.d.mts +62 -0
- package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.cts +33 -0
- package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.mts +33 -0
- package/lib/types/nest/graph/GraphWorkflowErrors.d.cts +13 -0
- package/lib/types/nest/graph/GraphWorkflowErrors.d.mts +13 -0
- package/lib/types/nest/graph/GraphWorkflowModel.d.cts +19 -1
- package/lib/types/nest/graph/GraphWorkflowModel.d.mts +19 -1
- package/lib/types/nest/graph/GraphWorkflowService.d.cts +48 -1
- package/lib/types/nest/graph/GraphWorkflowService.d.mts +48 -1
- package/lib/types/nest/graph/index.d.cts +8 -0
- package/lib/types/nest/graph/index.d.mts +8 -0
- package/lib/types/nest/keycloakModule.d.cts +9 -1
- package/lib/types/nest/keycloakModule.d.mts +9 -1
- package/lib/types/secrets/aws/AwsSecretEnvironment.d.cts +21 -0
- package/lib/types/secrets/aws/AwsSecretEnvironment.d.mts +21 -0
- package/lib/types/secrets/aws/AwsSecretService.d.cts +4 -3
- package/lib/types/secrets/aws/AwsSecretService.d.mts +4 -3
- package/lib/types/secrets/aws/index.d.cts +1 -0
- package/lib/types/secrets/aws/index.d.mts +1 -0
- package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.cts +4 -3
- package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.mts +4 -3
- package/lib/types/secrets/azure/AzureSecretEnvironment.d.cts +14 -0
- package/lib/types/secrets/azure/AzureSecretEnvironment.d.mts +14 -0
- package/lib/types/secrets/azure/index.d.cts +1 -0
- package/lib/types/secrets/azure/index.d.mts +1 -0
- package/lib/types/secrets/core/ClientBasedSecretService.d.cts +20 -0
- package/lib/types/secrets/core/ClientBasedSecretService.d.mts +20 -0
- package/lib/types/secrets/core/SecretEnvironment.d.cts +11 -0
- package/lib/types/secrets/core/SecretEnvironment.d.mts +11 -0
- package/lib/types/secrets/core/index.d.cts +2 -0
- package/lib/types/secrets/core/index.d.mts +2 -0
- package/lib/types/secrets/gcp/GcpSecretEnvironment.d.cts +16 -0
- package/lib/types/secrets/gcp/GcpSecretEnvironment.d.mts +16 -0
- package/lib/types/secrets/gcp/GcpSecretManagerService.d.cts +4 -3
- package/lib/types/secrets/gcp/GcpSecretManagerService.d.mts +4 -3
- package/lib/types/secrets/gcp/index.d.cts +1 -0
- package/lib/types/secrets/gcp/index.d.mts +1 -0
- package/lib/types/secrets/model/ModelSecretEnvironment.d.cts +14 -0
- package/lib/types/secrets/model/ModelSecretEnvironment.d.mts +14 -0
- package/lib/types/secrets/model/ModelSecretService.d.cts +4 -3
- package/lib/types/secrets/model/ModelSecretService.d.mts +4 -3
- package/lib/types/secrets/model/ModelSecretServiceConfig.d.cts +2 -1
- package/lib/types/secrets/model/ModelSecretServiceConfig.d.mts +2 -1
- package/lib/types/secrets/model/index.d.cts +1 -0
- package/lib/types/secrets/model/index.d.mts +1 -0
- package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.cts +17 -0
- package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.mts +17 -0
- package/lib/types/secrets/onepassword/OnePasswordSecretService.d.cts +4 -3
- package/lib/types/secrets/onepassword/OnePasswordSecretService.d.mts +4 -3
- package/lib/types/secrets/onepassword/index.d.cts +1 -0
- package/lib/types/secrets/onepassword/index.d.mts +1 -0
- package/lib/types/secrets/vault/VaultSecretEnvironment.d.cts +17 -0
- package/lib/types/secrets/vault/VaultSecretEnvironment.d.mts +17 -0
- package/lib/types/secrets/vault/VaultSecretService.d.cts +4 -3
- package/lib/types/secrets/vault/VaultSecretService.d.mts +4 -3
- package/lib/types/secrets/vault/index.d.cts +1 -0
- package/lib/types/secrets/vault/index.d.mts +1 -0
- package/lib/types/sftp/aws/AwsSftpEnvironment.d.cts +24 -0
- package/lib/types/sftp/aws/AwsSftpEnvironment.d.mts +24 -0
- package/lib/types/sftp/aws/AwsSftpService.d.cts +1 -0
- package/lib/types/sftp/aws/AwsSftpService.d.mts +1 -0
- package/lib/types/sftp/core/SftpEnvironment.d.cts +11 -0
- package/lib/types/sftp/core/SftpEnvironment.d.mts +11 -0
- package/lib/types/sftp/core/SftpSource.d.cts +7 -0
- package/lib/types/sftp/core/SftpSource.d.mts +7 -0
- package/lib/types/sftp/core/index.d.cts +1 -0
- package/lib/types/sftp/core/index.d.mts +1 -0
- package/lib/types/sftp/index.d.cts +3 -0
- package/lib/types/sftp/index.d.mts +3 -0
- package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.cts +21 -0
- package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.mts +21 -0
- package/lib/types/sftp/ssh2/Ssh2SftpService.d.cts +1 -0
- package/lib/types/sftp/ssh2/Ssh2SftpService.d.mts +1 -0
- package/lib/types/shared/environmentValue.d.cts +16 -0
- package/lib/types/shared/environmentValue.d.mts +16 -0
- package/package.json +19 -17
- package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs +0 -4
- package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs.map +0 -1
- package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs +0 -172
- package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs.map +0 -1
- package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs +0 -97
- package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs.map +0 -1
- package/lib/cjs/graph/shared/constants.cjs +0 -99
- package/lib/cjs/graph/shared/constants.cjs.map +0 -1
- package/lib/cjs/graph/shared/index.cjs +0 -46
- package/lib/cjs/graph/shared/index.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/agent.cjs +0 -110
- package/lib/cjs/graph/shared/nodes/agent.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/base.cjs +0 -36
- package/lib/cjs/graph/shared/nodes/base.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/category-styles.cjs +0 -38
- package/lib/cjs/graph/shared/nodes/category-styles.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/flow-control.cjs +0 -630
- package/lib/cjs/graph/shared/nodes/flow-control.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/index.cjs +0 -35
- package/lib/cjs/graph/shared/nodes/index.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/triggers.cjs +0 -250
- package/lib/cjs/graph/shared/nodes/triggers.cjs.map +0 -1
- package/lib/cjs/graph/shared/types.cjs.map +0 -1
- package/lib/esm/graph/engine/events/GraphExecutionEvent.js +0 -2
- package/lib/esm/graph/engine/events/GraphExecutionEvent.js.map +0 -1
- package/lib/esm/graph/engine/planning/GraphRelationResolver.js +0 -167
- package/lib/esm/graph/engine/planning/GraphRelationResolver.js.map +0 -1
- package/lib/esm/graph/shared/GraphExecutionStateMapper.js +0 -91
- package/lib/esm/graph/shared/GraphExecutionStateMapper.js.map +0 -1
- package/lib/esm/graph/shared/constants.js +0 -135
- package/lib/esm/graph/shared/constants.js.map +0 -1
- package/lib/esm/graph/shared/index.js +0 -25
- package/lib/esm/graph/shared/index.js.map +0 -1
- package/lib/esm/graph/shared/nodes/agent.js +0 -101
- package/lib/esm/graph/shared/nodes/agent.js.map +0 -1
- package/lib/esm/graph/shared/nodes/base.js +0 -31
- package/lib/esm/graph/shared/nodes/base.js.map +0 -1
- package/lib/esm/graph/shared/nodes/category-styles.js +0 -34
- package/lib/esm/graph/shared/nodes/category-styles.js.map +0 -1
- package/lib/esm/graph/shared/nodes/flow-control.js +0 -621
- package/lib/esm/graph/shared/nodes/flow-control.js.map +0 -1
- package/lib/esm/graph/shared/nodes/index.js +0 -18
- package/lib/esm/graph/shared/nodes/index.js.map +0 -1
- package/lib/esm/graph/shared/nodes/triggers.js +0 -241
- package/lib/esm/graph/shared/nodes/triggers.js.map +0 -1
- package/lib/types/graph/engine/events/GraphExecutionEvent.d.cts +0 -6
- package/lib/types/graph/engine/events/GraphExecutionEvent.d.mts +0 -6
- package/lib/types/graph/engine/planning/GraphRelationResolver.d.cts +0 -62
- package/lib/types/graph/engine/planning/GraphRelationResolver.d.mts +0 -62
- package/lib/types/graph/shared/GraphExecutionStateMapper.d.cts +0 -66
- package/lib/types/graph/shared/GraphExecutionStateMapper.d.mts +0 -66
- package/lib/types/graph/shared/constants.d.cts +0 -120
- package/lib/types/graph/shared/constants.d.mts +0 -120
- package/lib/types/graph/shared/index.d.cts +0 -21
- package/lib/types/graph/shared/index.d.mts +0 -21
- package/lib/types/graph/shared/nodes/agent.d.cts +0 -44
- package/lib/types/graph/shared/nodes/agent.d.mts +0 -44
- package/lib/types/graph/shared/nodes/base.d.cts +0 -28
- package/lib/types/graph/shared/nodes/base.d.mts +0 -28
- package/lib/types/graph/shared/nodes/category-styles.d.cts +0 -8
- package/lib/types/graph/shared/nodes/category-styles.d.mts +0 -8
- package/lib/types/graph/shared/nodes/flow-control.d.cts +0 -163
- package/lib/types/graph/shared/nodes/flow-control.d.mts +0 -163
- package/lib/types/graph/shared/nodes/index.d.cts +0 -17
- package/lib/types/graph/shared/nodes/index.d.mts +0 -17
- package/lib/types/graph/shared/nodes/triggers.d.cts +0 -53
- package/lib/types/graph/shared/nodes/triggers.d.mts +0 -53
- package/lib/types/graph/shared/types.d.cts +0 -257
- package/lib/types/graph/shared/types.d.mts +0 -257
- /package/lib/cjs/{graph/shared → calendar}/types.cjs +0 -0
- /package/lib/esm/{graph/shared → calendar}/types.js +0 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module integrations/graph/engine/validation/GraphWorkflowDocumentValidator
|
|
3
|
+
* @summary Nine-stage backend workflow-document validation gate (DECAF-50 §4.8).
|
|
4
|
+
* @description Validates a canonical {@link GraphWorkflowDocument} and, when
|
|
5
|
+
* valid, resolves it into a backend-only {@link GraphResolvedWorkflow} — the
|
|
6
|
+
* only input the {@link GraphExecutionPlanner} accepts. The nine stages run
|
|
7
|
+
* in the EXACT normative order 1→9:
|
|
8
|
+
*
|
|
9
|
+
* 1. workflow structure (shape, JSON safety, unique ids, backend-enforced
|
|
10
|
+
* limits, forbidden definition/executor fields, recursive nested loop-body
|
|
11
|
+
* validation),
|
|
12
|
+
* 2. kind resolution against the trusted backend catalogue,
|
|
13
|
+
* 3. parameters (declared-ness, required presence, typing, metadata keys,
|
|
14
|
+
* disabled behavior, binding shapes),
|
|
15
|
+
* 4. dynamic ports (binding ids refer to effective ports),
|
|
16
|
+
* 5. edge endpoints (existence, direction, data/structural compatibility,
|
|
17
|
+
* boundary routing),
|
|
18
|
+
* 6. connection policy (policies, counts, duplicates, self-connections),
|
|
19
|
+
* 7. topology (acyclicity, binding satisfaction, required-value
|
|
20
|
+
* satisfiability),
|
|
21
|
+
* 8. credential-reference authorization (existence, authorization, type
|
|
22
|
+
* match, no plain secrets),
|
|
23
|
+
* 9. capability validation.
|
|
24
|
+
*
|
|
25
|
+
* Issues accumulate as structured {@link GraphValidationIssue}s — validation
|
|
26
|
+
* never fails abruptly; a document with any issue is reported invalid and is
|
|
27
|
+
* never resolved. Fail-fast consumers (the execution engine) throw
|
|
28
|
+
* {@link GraphDocumentValidationError} on invalid results.
|
|
29
|
+
*/
|
|
30
|
+
import type { GraphWorkflowDocument } from "@decaf-ts/ui-decorators/graph";
|
|
31
|
+
import type { GraphNodeCatalogue } from "../catalog/GraphNodeCatalogue.d.mts";
|
|
32
|
+
import type { GraphNodeResolutionContext } from "@decaf-ts/ui-decorators/graph";
|
|
33
|
+
import type { GraphCredentialAuthorizer } from "./GraphCredentialReferenceValidator.d.mts";
|
|
34
|
+
import type { GraphWorkflowValidationResult } from "./GraphValidationIssue.d.mts";
|
|
35
|
+
import type { GraphResolvedWorkflow } from "./GraphResolvedWorkflow.d.mts";
|
|
36
|
+
/**
|
|
37
|
+
* Backend-enforced, configurable document resource limits (DECAF-50 §4.8).
|
|
38
|
+
* Mirrors the persistence-boundary limits; every value is overridable.
|
|
39
|
+
*/
|
|
40
|
+
export interface GraphWorkflowDocumentValidationLimits {
|
|
41
|
+
/** Maximum serialized size of the document in bytes. */
|
|
42
|
+
maxDocumentBytes?: number;
|
|
43
|
+
/** Maximum nested loop-body document depth (root document is depth 0). */
|
|
44
|
+
maxNestingDepth?: number;
|
|
45
|
+
/** Maximum node instances per document level. */
|
|
46
|
+
maxNodes?: number;
|
|
47
|
+
/** Maximum edge instances per document level. */
|
|
48
|
+
maxEdges?: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Default resource limits (technical governance delegates the numbers to
|
|
52
|
+
* implementation; these match the persistence boundary defaults).
|
|
53
|
+
*/
|
|
54
|
+
export declare const DEFAULT_GRAPH_WORKFLOW_VALIDATION_LIMITS: Required<GraphWorkflowDocumentValidationLimits>;
|
|
55
|
+
/**
|
|
56
|
+
* Field keys that must never appear on a workflow document or any of its
|
|
57
|
+
* structural records: client input resembling node definitions, executors,
|
|
58
|
+
* authoritative ports, or frontend component definitions is rejected before
|
|
59
|
+
* kind resolution (the planner must never see raw definitions).
|
|
60
|
+
*/
|
|
61
|
+
export declare const GRAPH_DOCUMENT_FORBIDDEN_FIELD_KEYS: readonly string[];
|
|
62
|
+
/**
|
|
63
|
+
* Options controlling the nine-stage validation gate.
|
|
64
|
+
*/
|
|
65
|
+
export interface GraphWorkflowDocumentValidatorOptions {
|
|
66
|
+
/** Trusted backend kind catalogue (required). */
|
|
67
|
+
catalogue: GraphNodeCatalogue;
|
|
68
|
+
/** Backend-enforced resource limits; defaults to {@link DEFAULT_GRAPH_WORKFLOW_VALIDATION_LIMITS}. */
|
|
69
|
+
limits?: GraphWorkflowDocumentValidationLimits;
|
|
70
|
+
/** Pluggable credential existence/authorization hook (DECAF-50 §4.16). */
|
|
71
|
+
credentialAuthorizer?: GraphCredentialAuthorizer;
|
|
72
|
+
/** Extra context passed to manifest resolution (credentials, request context). */
|
|
73
|
+
resolutionContext?: GraphNodeResolutionContext;
|
|
74
|
+
/**
|
|
75
|
+
* Transition leniency (§4.18): when `true`, a port with an incoming edge
|
|
76
|
+
* may also carry a literal binding. Defaults to `false` (conflicting
|
|
77
|
+
* literal+edge bindings are rejected).
|
|
78
|
+
*/
|
|
79
|
+
allowLiteralAndEdgeBindings?: boolean;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Returns `true` when the value structurally looks like a resolved workflow
|
|
83
|
+
* (resolved node instances + resolved edges + lookup maps over a canonical
|
|
84
|
+
* document). Used as the planner's runtime input guard.
|
|
85
|
+
*/
|
|
86
|
+
export declare function isGraphResolvedWorkflow(value: unknown): value is GraphResolvedWorkflow;
|
|
87
|
+
/**
|
|
88
|
+
* The nine-stage backend validation gate (DECAF-50 §4.8).
|
|
89
|
+
*
|
|
90
|
+
* Usage: `const result = await validator.validate(document);` — inspect
|
|
91
|
+
* `result.issues` (structured, in stage order) and `result.resolved` (present
|
|
92
|
+
* only when valid). Use {@link GraphWorkflowDocumentValidator.validateOrThrow}
|
|
93
|
+
* for the fail-fast engine path.
|
|
94
|
+
*/
|
|
95
|
+
export declare class GraphWorkflowDocumentValidator {
|
|
96
|
+
private readonly options;
|
|
97
|
+
private readonly nodeValidator;
|
|
98
|
+
private readonly parameterValidator;
|
|
99
|
+
private readonly edgeValidator;
|
|
100
|
+
private readonly connectionPolicyValidator;
|
|
101
|
+
private readonly credentialValidator;
|
|
102
|
+
constructor(options: GraphWorkflowDocumentValidatorOptions);
|
|
103
|
+
/**
|
|
104
|
+
* Fail-fast variant of {@link validate}: resolves the document or throws
|
|
105
|
+
* {@link GraphDocumentValidationError} carrying every structured issue.
|
|
106
|
+
*/
|
|
107
|
+
validateOrThrow(document: GraphWorkflowDocument): Promise<GraphResolvedWorkflow>;
|
|
108
|
+
/**
|
|
109
|
+
* Runs the nine validation stages in the exact normative order 1→9 and,
|
|
110
|
+
* when the document is fully valid, resolves it against the backend
|
|
111
|
+
* catalogue.
|
|
112
|
+
*
|
|
113
|
+
* @param document - The canonical workflow document to validate.
|
|
114
|
+
* @param depth - Current nesting depth (root is 0); enforced against
|
|
115
|
+
* `limits.maxNestingDepth` and used to guard recursive loop-body
|
|
116
|
+
* validation.
|
|
117
|
+
* @returns The validation result with accumulated issues and, when valid,
|
|
118
|
+
* the resolved workflow.
|
|
119
|
+
*/
|
|
120
|
+
validate(document: GraphWorkflowDocument, depth?: number): Promise<GraphWorkflowValidationResult>;
|
|
121
|
+
/**
|
|
122
|
+
* Stage 1 — document structure. Returns `true` when the document is
|
|
123
|
+
* structurally sound enough to continue (shape and JSON safety are
|
|
124
|
+
* hard preconditions); all other findings accumulate as issues.
|
|
125
|
+
*/
|
|
126
|
+
private validateStructure;
|
|
127
|
+
/**
|
|
128
|
+
* Stage 1 — unique node, edge, workflow-input and workflow-output ids.
|
|
129
|
+
*/
|
|
130
|
+
private validateUniqueIds;
|
|
131
|
+
/**
|
|
132
|
+
* Stage 1 — backend-enforced configurable limits: document size, nesting
|
|
133
|
+
* depth, node count, edge count.
|
|
134
|
+
*/
|
|
135
|
+
private validateLimits;
|
|
136
|
+
/**
|
|
137
|
+
* Stage 1 — recursive nested-workflow validation. Every loop body runs
|
|
138
|
+
* through the full nine-stage gate; nested issues are merged with a path
|
|
139
|
+
* prefix identifying the owning loop node.
|
|
140
|
+
*/
|
|
141
|
+
private validateNestedBodies;
|
|
142
|
+
/**
|
|
143
|
+
* Stage 7 — acyclicity (DECAF-32 preserved). Kahn's algorithm over the
|
|
144
|
+
* resolved executable nodes; connection and data edges both count as
|
|
145
|
+
* dependencies. Loop constructs are excepted because their bodies are
|
|
146
|
+
* separate nested documents, validated recursively.
|
|
147
|
+
*/
|
|
148
|
+
private validateAcyclicity;
|
|
149
|
+
/**
|
|
150
|
+
* Stage 7 — required values must be satisfiable: every required workflow
|
|
151
|
+
* output port must be routable from at least one node output.
|
|
152
|
+
*/
|
|
153
|
+
private validateRequiredWorkflowOutputs;
|
|
154
|
+
/**
|
|
155
|
+
* Stage 9 — capability validation. Declared manifest capabilities must be
|
|
156
|
+
* known values, and document features that require a capability may only be
|
|
157
|
+
* used on kinds declaring it (loop configuration requires the `loop`
|
|
158
|
+
* capability). Lenient transition manifests (legacy executor-only
|
|
159
|
+
* registrations) are exempt until cutover (§4.18).
|
|
160
|
+
*/
|
|
161
|
+
private validateCapabilities;
|
|
162
|
+
}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph/validation
|
|
3
3
|
* @summary Graph validation utilities.
|
|
4
|
-
* @description Re-exports the definition
|
|
4
|
+
* @description Re-exports the legacy definition/port/value validators plus
|
|
5
|
+
* the DECAF-50 §4.8 nine-stage document validation gate, structured issues,
|
|
6
|
+
* resolved-workflow types, and the normative validation error hierarchy.
|
|
5
7
|
*/
|
|
6
8
|
export * from "./GraphDefinitionValidator.d.cts";
|
|
7
9
|
export * from "./GraphPortSchemaResolver.d.cts";
|
|
8
10
|
export * from "./GraphValueValidator.d.cts";
|
|
11
|
+
export * from "./GraphValidationIssue.d.cts";
|
|
12
|
+
export * from "./GraphValidationErrors.d.cts";
|
|
13
|
+
export * from "./GraphResolvedWorkflow.d.cts";
|
|
14
|
+
export * from "./GraphNodeInstanceValidator.d.cts";
|
|
15
|
+
export * from "./GraphParameterValidator.d.cts";
|
|
16
|
+
export * from "./GraphEdgeInstanceValidator.d.cts";
|
|
17
|
+
export * from "./GraphConnectionPolicyValidator.d.cts";
|
|
18
|
+
export * from "./GraphCredentialReferenceValidator.d.cts";
|
|
19
|
+
export * from "./GraphWorkflowDocumentValidator.d.cts";
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph/validation
|
|
3
3
|
* @summary Graph validation utilities.
|
|
4
|
-
* @description Re-exports the definition
|
|
4
|
+
* @description Re-exports the legacy definition/port/value validators plus
|
|
5
|
+
* the DECAF-50 §4.8 nine-stage document validation gate, structured issues,
|
|
6
|
+
* resolved-workflow types, and the normative validation error hierarchy.
|
|
5
7
|
*/
|
|
6
8
|
export * from "./GraphDefinitionValidator.d.mts";
|
|
7
9
|
export * from "./GraphPortSchemaResolver.d.mts";
|
|
8
10
|
export * from "./GraphValueValidator.d.mts";
|
|
11
|
+
export * from "./GraphValidationIssue.d.mts";
|
|
12
|
+
export * from "./GraphValidationErrors.d.mts";
|
|
13
|
+
export * from "./GraphResolvedWorkflow.d.mts";
|
|
14
|
+
export * from "./GraphNodeInstanceValidator.d.mts";
|
|
15
|
+
export * from "./GraphParameterValidator.d.mts";
|
|
16
|
+
export * from "./GraphEdgeInstanceValidator.d.mts";
|
|
17
|
+
export * from "./GraphConnectionPolicyValidator.d.mts";
|
|
18
|
+
export * from "./GraphCredentialReferenceValidator.d.mts";
|
|
19
|
+
export * from "./GraphWorkflowDocumentValidator.d.mts";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph
|
|
3
3
|
* @summary Decaf Graph Execution Engine (backend convenience export).
|
|
4
|
-
* @description Re-exports `./engine
|
|
5
|
-
* (frontend-safe declarations) plus all engine modules. Backend consumers
|
|
4
|
+
* @description Re-exports `./engine` (all engine modules). Backend consumers
|
|
6
5
|
* import from `@decaf-ts/integrations/graph` and get a single unified surface.
|
|
7
6
|
*
|
|
8
|
-
* Frontend
|
|
9
|
-
*
|
|
7
|
+
* Frontend-safe shared declarations (node kinds, types, constants) live in
|
|
8
|
+
* `@decaf-ts/ui-decorators/graph` — frontend bundles MUST import from there
|
|
9
|
+
* to avoid pulling in the execution engine.
|
|
10
10
|
*/
|
|
11
11
|
import "./log/LogParameters";
|
|
12
12
|
export * from "./engine/index.d.cts";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph
|
|
3
3
|
* @summary Decaf Graph Execution Engine (backend convenience export).
|
|
4
|
-
* @description Re-exports `./engine
|
|
5
|
-
* (frontend-safe declarations) plus all engine modules. Backend consumers
|
|
4
|
+
* @description Re-exports `./engine` (all engine modules). Backend consumers
|
|
6
5
|
* import from `@decaf-ts/integrations/graph` and get a single unified surface.
|
|
7
6
|
*
|
|
8
|
-
* Frontend
|
|
9
|
-
*
|
|
7
|
+
* Frontend-safe shared declarations (node kinds, types, constants) live in
|
|
8
|
+
* `@decaf-ts/ui-decorators/graph` — frontend bundles MUST import from there
|
|
9
|
+
* to avoid pulling in the execution engine.
|
|
10
10
|
*/
|
|
11
11
|
import "./log/LogParameters";
|
|
12
12
|
export * from "./engine/index.d.mts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Logger, LogMeta, StringLike } from "@decaf-ts/logging";
|
|
2
|
-
import type { GraphExecutionEvent } from "
|
|
2
|
+
import type { GraphExecutionEvent } from "@decaf-ts/ui-decorators/graph";
|
|
3
3
|
/**
|
|
4
4
|
* Signature of the context's event emitter used to forward log entries onto
|
|
5
5
|
* the existing graph execution Observable.
|
|
@@ -60,6 +60,10 @@ export declare class GraphRunLogger implements Logger {
|
|
|
60
60
|
/** @inheritdoc */
|
|
61
61
|
debug(msg: StringLike, meta?: LogMeta): void;
|
|
62
62
|
/** @inheritdoc */
|
|
63
|
+
action(action: string, meta?: LogMeta): void;
|
|
64
|
+
/** @inheritdoc */
|
|
65
|
+
action(action: string, code: number, meta?: LogMeta): void;
|
|
66
|
+
/** @inheritdoc */
|
|
63
67
|
setConfig(): void;
|
|
64
68
|
/** @inheritdoc */
|
|
65
69
|
for(_method?: string | ((...args: any[]) => any) | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Logger, LogMeta, StringLike } from "@decaf-ts/logging";
|
|
2
|
-
import type { GraphExecutionEvent } from "
|
|
2
|
+
import type { GraphExecutionEvent } from "@decaf-ts/ui-decorators/graph";
|
|
3
3
|
/**
|
|
4
4
|
* Signature of the context's event emitter used to forward log entries onto
|
|
5
5
|
* the existing graph execution Observable.
|
|
@@ -60,6 +60,10 @@ export declare class GraphRunLogger implements Logger {
|
|
|
60
60
|
/** @inheritdoc */
|
|
61
61
|
debug(msg: StringLike, meta?: LogMeta): void;
|
|
62
62
|
/** @inheritdoc */
|
|
63
|
+
action(action: string, meta?: LogMeta): void;
|
|
64
|
+
/** @inheritdoc */
|
|
65
|
+
action(action: string, code: number, meta?: LogMeta): void;
|
|
66
|
+
/** @inheritdoc */
|
|
63
67
|
setConfig(): void;
|
|
64
68
|
/** @inheritdoc */
|
|
65
69
|
for(_method?: string | ((...args: any[]) => any) | {
|
package/lib/types/index.d.cts
CHANGED
|
@@ -7,6 +7,6 @@ export * from "./utils.d.cts";
|
|
|
7
7
|
export * from "./namespaces/index.d.cts";
|
|
8
8
|
export * from "./feature-flags/index.d.cts";
|
|
9
9
|
export declare const VERSION: string;
|
|
10
|
-
export declare const COMMIT = "
|
|
11
|
-
export declare const FULL_VERSION = "0.
|
|
10
|
+
export declare const COMMIT = "1d7b1fb";
|
|
11
|
+
export declare const FULL_VERSION = "0.9.0-1d7b1fb";
|
|
12
12
|
export declare const PACKAGE_NAME: string;
|
package/lib/types/index.d.mts
CHANGED
|
@@ -7,6 +7,6 @@ export * from "./utils.d.mts";
|
|
|
7
7
|
export * from "./namespaces/index.d.mts";
|
|
8
8
|
export * from "./feature-flags/index.d.mts";
|
|
9
9
|
export declare const VERSION: string;
|
|
10
|
-
export declare const COMMIT = "
|
|
11
|
-
export declare const FULL_VERSION = "0.
|
|
10
|
+
export declare const COMMIT = "1d7b1fb";
|
|
11
|
+
export declare const FULL_VERSION = "0.9.0-1d7b1fb";
|
|
12
12
|
export declare const PACKAGE_NAME: string;
|
|
@@ -1,29 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module integrations/nest/graph/GraphExecutionController
|
|
3
|
+
* @summary Legacy synchronous graph execution surface (SAA-595).
|
|
4
|
+
* @description The deprecated `POST /graph/execute` endpoint, the deprecated
|
|
5
|
+
* global `SSE /graph/events` stream, plus the run-result read and workflow
|
|
6
|
+
* persistence endpoints. All execution now flows through
|
|
7
|
+
* {@link GraphRunService}; only canonical documents are accepted (inline
|
|
8
|
+
* node/definition/executor/ports/component fields are rejected at the
|
|
9
|
+
* boundary) and the global stream is disabled unless explicitly enabled.
|
|
10
|
+
*/
|
|
1
11
|
import { MessageEvent } from "@nestjs/common";
|
|
2
12
|
import { Observable } from "rxjs";
|
|
3
|
-
import { GraphExecutionEngine, type GraphExecutionValues } from "../../graph/index.d.cts";
|
|
4
|
-
import type
|
|
13
|
+
import { GraphExecutionEngine, GraphRunService, type GraphExecutionValues } from "../../graph/index.d.cts";
|
|
14
|
+
import { type GraphWorkflowDocument } from "@decaf-ts/ui-decorators/graph";
|
|
5
15
|
import { DecafRequestContext } from "@decaf-ts/for-nest";
|
|
6
16
|
import { GraphResultService } from "./GraphResultService.d.cts";
|
|
7
17
|
import { GraphWorkflowService } from "./GraphWorkflowService.d.cts";
|
|
18
|
+
/** DI token for {@link GraphExecutionControllerOptions}. */
|
|
19
|
+
export declare const GRAPH_EXECUTION_OPTIONS = "GRAPH_EXECUTION_OPTIONS";
|
|
20
|
+
/**
|
|
21
|
+
* Options for the legacy execution surface (SAA-595): the deprecated global
|
|
22
|
+
* SSE stream is disabled unless explicitly enabled, and when enabled every
|
|
23
|
+
* emitted event is ownership-gated against the connected caller.
|
|
24
|
+
*/
|
|
25
|
+
export interface GraphExecutionControllerOptions {
|
|
26
|
+
/**
|
|
27
|
+
* Whether the deprecated global `GET /graph/events` SSE stream is exposed
|
|
28
|
+
* at all. Defaults to `false`: the run-scoped, replayable
|
|
29
|
+
* `GET /graph/runs/{runId}/events` transport is the canonical stream
|
|
30
|
+
* (DECAF-50 §4.15). When `true`, each connected caller only receives
|
|
31
|
+
* events for runs they own.
|
|
32
|
+
*/
|
|
33
|
+
enableGlobalEventStream?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Execution payloads accept a canonical {@link GraphWorkflowDocument} only
|
|
37
|
+
* (DECAF-50 §4.16 cutover): client payloads carrying legacy definitions,
|
|
38
|
+
* snapshots, or inline node/definition/executor/ports/component fields are
|
|
39
|
+
* rejected at the boundary.
|
|
40
|
+
*/
|
|
8
41
|
export interface GraphExecutePayload {
|
|
9
|
-
workflow:
|
|
42
|
+
workflow: GraphWorkflowDocument;
|
|
10
43
|
inputs: GraphExecutionValues;
|
|
11
44
|
}
|
|
45
|
+
/** Response of the (deprecated) synchronous execute endpoint: run id, terminal status, and output values. */
|
|
12
46
|
export interface GraphExecuteResponse {
|
|
13
47
|
runId: string;
|
|
14
48
|
status: string;
|
|
15
49
|
outputs: Record<string, unknown>;
|
|
16
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Legacy synchronous graph execution surface (DECAF-50 §4.14/§4.18): the
|
|
53
|
+
* `POST /graph/execute` endpoint (deprecated in favour of the run lifecycle
|
|
54
|
+
* at `POST /graph/runs`), the legacy `PUT /graph/:id/execute` alias, and the
|
|
55
|
+
* deprecated global SSE event stream. All execution now flows through
|
|
56
|
+
* {@link GraphRunService}; only canonical documents are accepted.
|
|
57
|
+
*/
|
|
17
58
|
export declare class GraphExecutionController {
|
|
18
59
|
private readonly engine;
|
|
19
60
|
private readonly resultService;
|
|
20
61
|
private readonly workflowService;
|
|
62
|
+
private readonly runService;
|
|
21
63
|
private readonly requestContext?;
|
|
64
|
+
private readonly options;
|
|
22
65
|
private readonly eventSubject;
|
|
23
|
-
constructor(engine: GraphExecutionEngine, resultService: GraphResultService, workflowService: GraphWorkflowService, requestContext?: DecafRequestContext | undefined);
|
|
66
|
+
constructor(engine: GraphExecutionEngine, resultService: GraphResultService, workflowService: GraphWorkflowService, runService: GraphRunService, requestContext?: DecafRequestContext | undefined, options?: GraphExecutionControllerOptions);
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated DECAF-50 §4.14/§4.18 cutover: the synchronous execution
|
|
69
|
+
* endpoint is deprecated in favour of the asynchronous run lifecycle
|
|
70
|
+
* (`POST /graph/runs`). It is kept, not removed, within this
|
|
71
|
+
* specification. Only canonical {@link GraphWorkflowDocument} payloads are
|
|
72
|
+
* accepted; legacy definition/snapshot payloads and inline
|
|
73
|
+
* node/definition/executor/ports/component fields are rejected (§4.16).
|
|
74
|
+
*/
|
|
24
75
|
execute(body: GraphExecutePayload): Promise<GraphExecuteResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* DECAF-50 §4.16 cutover: only a canonical {@link GraphWorkflowDocument}
|
|
78
|
+
* is accepted. Payloads resembling legacy decorated definitions, snapshot
|
|
79
|
+
* wrappers, or any other non-canonical shape are rejected with a Decaf
|
|
80
|
+
* {@link ValidationError} before the engine or planner sees them.
|
|
81
|
+
*/
|
|
82
|
+
private requireCanonicalDocument;
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated DECAF-50 §4.15 cutover (SAA-595 F2): the global `/graph/events`
|
|
85
|
+
* stream is disabled by default — the run-scoped, authorized, replayable
|
|
86
|
+
* `GET /graph/runs/{runId}/events` transport is the canonical stream. Hosts
|
|
87
|
+
* with a residual transition need may re-enable it explicitly via
|
|
88
|
+
* {@link GraphExecutionControllerOptions.enableGlobalEventStream}; every
|
|
89
|
+
* event is then ownership-gated at emit: a connected caller only ever
|
|
90
|
+
* receives events for runs they own.
|
|
91
|
+
*/
|
|
25
92
|
events(): Observable<MessageEvent>;
|
|
93
|
+
/** Encodes one engine event in the global stream's wire format: a `["graph", type, runId, envelope]` SSE message tuple. */
|
|
94
|
+
private messageOf;
|
|
95
|
+
/** Strict ownership gate for the global stream: only run owners see their runs' events. */
|
|
96
|
+
private callerOwnsRun;
|
|
97
|
+
/**
|
|
98
|
+
* Reads a persisted execution result by run id (DECAF-50 §4.18). Gated
|
|
99
|
+
* through the centralized run ownership check first (SAA-595 F1): a
|
|
100
|
+
* cross-user or anonymous caller gets `403` for a run owned by another
|
|
101
|
+
* user before any result data is read.
|
|
102
|
+
*/
|
|
26
103
|
getResult(runId: string): Promise<unknown>;
|
|
104
|
+
/** Concurrency-bucket key for the per-caller run cap: the owner, else the request IP, else a shared anonymous bucket. */
|
|
105
|
+
private concurrencyKeyOf;
|
|
27
106
|
saveWorkflow(id: string, snapshot: Record<string, unknown>): Promise<{
|
|
28
107
|
workflowId: string;
|
|
29
108
|
savedAt: string;
|
|
@@ -1,29 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module integrations/nest/graph/GraphExecutionController
|
|
3
|
+
* @summary Legacy synchronous graph execution surface (SAA-595).
|
|
4
|
+
* @description The deprecated `POST /graph/execute` endpoint, the deprecated
|
|
5
|
+
* global `SSE /graph/events` stream, plus the run-result read and workflow
|
|
6
|
+
* persistence endpoints. All execution now flows through
|
|
7
|
+
* {@link GraphRunService}; only canonical documents are accepted (inline
|
|
8
|
+
* node/definition/executor/ports/component fields are rejected at the
|
|
9
|
+
* boundary) and the global stream is disabled unless explicitly enabled.
|
|
10
|
+
*/
|
|
1
11
|
import { MessageEvent } from "@nestjs/common";
|
|
2
12
|
import { Observable } from "rxjs";
|
|
3
|
-
import { GraphExecutionEngine, type GraphExecutionValues } from "../../graph/index.d.mts";
|
|
4
|
-
import type
|
|
13
|
+
import { GraphExecutionEngine, GraphRunService, type GraphExecutionValues } from "../../graph/index.d.mts";
|
|
14
|
+
import { type GraphWorkflowDocument } from "@decaf-ts/ui-decorators/graph";
|
|
5
15
|
import { DecafRequestContext } from "@decaf-ts/for-nest";
|
|
6
16
|
import { GraphResultService } from "./GraphResultService.d.mts";
|
|
7
17
|
import { GraphWorkflowService } from "./GraphWorkflowService.d.mts";
|
|
18
|
+
/** DI token for {@link GraphExecutionControllerOptions}. */
|
|
19
|
+
export declare const GRAPH_EXECUTION_OPTIONS = "GRAPH_EXECUTION_OPTIONS";
|
|
20
|
+
/**
|
|
21
|
+
* Options for the legacy execution surface (SAA-595): the deprecated global
|
|
22
|
+
* SSE stream is disabled unless explicitly enabled, and when enabled every
|
|
23
|
+
* emitted event is ownership-gated against the connected caller.
|
|
24
|
+
*/
|
|
25
|
+
export interface GraphExecutionControllerOptions {
|
|
26
|
+
/**
|
|
27
|
+
* Whether the deprecated global `GET /graph/events` SSE stream is exposed
|
|
28
|
+
* at all. Defaults to `false`: the run-scoped, replayable
|
|
29
|
+
* `GET /graph/runs/{runId}/events` transport is the canonical stream
|
|
30
|
+
* (DECAF-50 §4.15). When `true`, each connected caller only receives
|
|
31
|
+
* events for runs they own.
|
|
32
|
+
*/
|
|
33
|
+
enableGlobalEventStream?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Execution payloads accept a canonical {@link GraphWorkflowDocument} only
|
|
37
|
+
* (DECAF-50 §4.16 cutover): client payloads carrying legacy definitions,
|
|
38
|
+
* snapshots, or inline node/definition/executor/ports/component fields are
|
|
39
|
+
* rejected at the boundary.
|
|
40
|
+
*/
|
|
8
41
|
export interface GraphExecutePayload {
|
|
9
|
-
workflow:
|
|
42
|
+
workflow: GraphWorkflowDocument;
|
|
10
43
|
inputs: GraphExecutionValues;
|
|
11
44
|
}
|
|
45
|
+
/** Response of the (deprecated) synchronous execute endpoint: run id, terminal status, and output values. */
|
|
12
46
|
export interface GraphExecuteResponse {
|
|
13
47
|
runId: string;
|
|
14
48
|
status: string;
|
|
15
49
|
outputs: Record<string, unknown>;
|
|
16
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Legacy synchronous graph execution surface (DECAF-50 §4.14/§4.18): the
|
|
53
|
+
* `POST /graph/execute` endpoint (deprecated in favour of the run lifecycle
|
|
54
|
+
* at `POST /graph/runs`), the legacy `PUT /graph/:id/execute` alias, and the
|
|
55
|
+
* deprecated global SSE event stream. All execution now flows through
|
|
56
|
+
* {@link GraphRunService}; only canonical documents are accepted.
|
|
57
|
+
*/
|
|
17
58
|
export declare class GraphExecutionController {
|
|
18
59
|
private readonly engine;
|
|
19
60
|
private readonly resultService;
|
|
20
61
|
private readonly workflowService;
|
|
62
|
+
private readonly runService;
|
|
21
63
|
private readonly requestContext?;
|
|
64
|
+
private readonly options;
|
|
22
65
|
private readonly eventSubject;
|
|
23
|
-
constructor(engine: GraphExecutionEngine, resultService: GraphResultService, workflowService: GraphWorkflowService, requestContext?: DecafRequestContext | undefined);
|
|
66
|
+
constructor(engine: GraphExecutionEngine, resultService: GraphResultService, workflowService: GraphWorkflowService, runService: GraphRunService, requestContext?: DecafRequestContext | undefined, options?: GraphExecutionControllerOptions);
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated DECAF-50 §4.14/§4.18 cutover: the synchronous execution
|
|
69
|
+
* endpoint is deprecated in favour of the asynchronous run lifecycle
|
|
70
|
+
* (`POST /graph/runs`). It is kept, not removed, within this
|
|
71
|
+
* specification. Only canonical {@link GraphWorkflowDocument} payloads are
|
|
72
|
+
* accepted; legacy definition/snapshot payloads and inline
|
|
73
|
+
* node/definition/executor/ports/component fields are rejected (§4.16).
|
|
74
|
+
*/
|
|
24
75
|
execute(body: GraphExecutePayload): Promise<GraphExecuteResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* DECAF-50 §4.16 cutover: only a canonical {@link GraphWorkflowDocument}
|
|
78
|
+
* is accepted. Payloads resembling legacy decorated definitions, snapshot
|
|
79
|
+
* wrappers, or any other non-canonical shape are rejected with a Decaf
|
|
80
|
+
* {@link ValidationError} before the engine or planner sees them.
|
|
81
|
+
*/
|
|
82
|
+
private requireCanonicalDocument;
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated DECAF-50 §4.15 cutover (SAA-595 F2): the global `/graph/events`
|
|
85
|
+
* stream is disabled by default — the run-scoped, authorized, replayable
|
|
86
|
+
* `GET /graph/runs/{runId}/events` transport is the canonical stream. Hosts
|
|
87
|
+
* with a residual transition need may re-enable it explicitly via
|
|
88
|
+
* {@link GraphExecutionControllerOptions.enableGlobalEventStream}; every
|
|
89
|
+
* event is then ownership-gated at emit: a connected caller only ever
|
|
90
|
+
* receives events for runs they own.
|
|
91
|
+
*/
|
|
25
92
|
events(): Observable<MessageEvent>;
|
|
93
|
+
/** Encodes one engine event in the global stream's wire format: a `["graph", type, runId, envelope]` SSE message tuple. */
|
|
94
|
+
private messageOf;
|
|
95
|
+
/** Strict ownership gate for the global stream: only run owners see their runs' events. */
|
|
96
|
+
private callerOwnsRun;
|
|
97
|
+
/**
|
|
98
|
+
* Reads a persisted execution result by run id (DECAF-50 §4.18). Gated
|
|
99
|
+
* through the centralized run ownership check first (SAA-595 F1): a
|
|
100
|
+
* cross-user or anonymous caller gets `403` for a run owned by another
|
|
101
|
+
* user before any result data is read.
|
|
102
|
+
*/
|
|
26
103
|
getResult(runId: string): Promise<unknown>;
|
|
104
|
+
/** Concurrency-bucket key for the per-caller run cap: the owner, else the request IP, else a shared anonymous bucket. */
|
|
105
|
+
private concurrencyKeyOf;
|
|
27
106
|
saveWorkflow(id: string, snapshot: Record<string, unknown>): Promise<{
|
|
28
107
|
workflowId: string;
|
|
29
108
|
savedAt: string;
|
|
@@ -1,4 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module integrations/nest/graph/GraphExecutionModule
|
|
3
|
+
* @summary NestJS graph backend module wiring (DECAF-50 §4.10–§4.16).
|
|
4
|
+
* @description The dynamic module assembling the graph backend: the
|
|
5
|
+
* {@link GraphExecutionEngine}, the trusted {@link GraphNodeCatalogue} with
|
|
6
|
+
* built-in registrations, the run lifecycle services and stores, and the
|
|
7
|
+
* HTTP/SSE controllers (catalogue, workflows, runs, legacy execution) — each
|
|
8
|
+
* configurable with authentication enforcement and backend-enforced
|
|
9
|
+
* resource limits via {@link GraphExecutionModuleOptions}.
|
|
10
|
+
*/
|
|
1
11
|
import { DynamicModule } from "@nestjs/common";
|
|
12
|
+
import { type GraphCredentialAuthorizer } from "../../graph/index.d.cts";
|
|
13
|
+
import { type GraphExecutionControllerOptions } from "./GraphExecutionController.d.cts";
|
|
14
|
+
import { type GraphCatalogueControllerOptions } from "./GraphNodeCatalogueController.d.cts";
|
|
15
|
+
import { type GraphRunControllerOptions } from "./GraphRunController.d.cts";
|
|
16
|
+
import { type GraphWorkflowServiceOptions } from "./GraphWorkflowService.d.cts";
|
|
17
|
+
import { type GraphWorkflowControllerOptions } from "./GraphWorkflowController.d.cts";
|
|
18
|
+
/**
|
|
19
|
+
* Options for {@link GraphExecutionModule.forRoot}: adapter bootstrapping
|
|
20
|
+
* plus per-API (catalogue, workflows, runs) authentication and limit
|
|
21
|
+
* configuration.
|
|
22
|
+
*/
|
|
2
23
|
export interface GraphExecutionModuleOptions {
|
|
3
24
|
/**
|
|
4
25
|
* When `true`, the module bootstraps a default RamAdapter for standalone
|
|
@@ -13,7 +34,50 @@ export interface GraphExecutionModuleOptions {
|
|
|
13
34
|
* Defaults to `"graph-engine"`.
|
|
14
35
|
*/
|
|
15
36
|
adapterUser?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Options for the node catalogue HTTP API (DECAF-50 §4.13): authentication
|
|
39
|
+
* enforcement and backend-enforced rate limits for the expensive
|
|
40
|
+
* `resolve`/`methods` operations.
|
|
41
|
+
*/
|
|
42
|
+
catalogue?: GraphCatalogueControllerOptions;
|
|
43
|
+
/**
|
|
44
|
+
* Options for the canonical workflow persistence HTTP API (DECAF-50 §4.10):
|
|
45
|
+
* authentication enforcement and backend-enforced document resource limits.
|
|
46
|
+
*/
|
|
47
|
+
workflows?: GraphWorkflowControllerOptions & GraphWorkflowServiceOptions;
|
|
48
|
+
/**
|
|
49
|
+
* Options for the asynchronous run lifecycle API (DECAF-50 §4.14–§4.15):
|
|
50
|
+
* authentication enforcement and backend-enforced run resource limits.
|
|
51
|
+
*/
|
|
52
|
+
runs?: GraphRunControllerOptions;
|
|
53
|
+
/**
|
|
54
|
+
* Options for the legacy synchronous execution surface (SAA-595): the
|
|
55
|
+
* deprecated global SSE stream is disabled unless explicitly enabled.
|
|
56
|
+
*/
|
|
57
|
+
execution?: GraphExecutionControllerOptions;
|
|
58
|
+
/**
|
|
59
|
+
* Production hosts MUST wire a {@link GraphCredentialAuthorizer} backed by
|
|
60
|
+
* their credential store (DECAF-50 §4.8 stage 8). Without it, stage-8
|
|
61
|
+
* credential checks are shape/type-only: a reference that is
|
|
62
|
+
* well-formed and type-matched is accepted without verifying that the
|
|
63
|
+
* credential exists or that the run is authorized to use it (SAA-595 F8).
|
|
64
|
+
*/
|
|
65
|
+
credentialAuthorizer?: GraphCredentialAuthorizer;
|
|
16
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* NestJS module wiring the graph execution stack (DECAF-50 §4.13–§4.16): the
|
|
69
|
+
* engine, catalogue, workflow persistence, run lifecycle/SSE controllers,
|
|
70
|
+
* and their services. Configure via {@link GraphExecutionModule.forRoot}.
|
|
71
|
+
*/
|
|
17
72
|
export declare class GraphExecutionModule {
|
|
73
|
+
/**
|
|
74
|
+
* Creates the dynamic module. Boots a default RamAdapter for standalone
|
|
75
|
+
* development unless `initAdapter` is `false`. Wires the optional
|
|
76
|
+
* {@link GraphCredentialAuthorizer} into the engine's stage-8 validator
|
|
77
|
+
* (SAA-595 F8), and applies the workflow options to the
|
|
78
|
+
* {@link GraphWorkflowService} singleton via its {@link
|
|
79
|
+
* GraphWorkflowService.configure} method, since `@service` constructor
|
|
80
|
+
* injection does not forward provider options reliably.
|
|
81
|
+
*/
|
|
18
82
|
static forRoot(options?: GraphExecutionModuleOptions): DynamicModule;
|
|
19
83
|
}
|