@decaf-ts/integrations 0.8.0 → 0.9.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.
Files changed (850) hide show
  1. package/README.md +4 -0
  2. package/dist/integrations.cjs +1 -1
  3. package/jest.config.cjs +1 -11
  4. package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs +25 -0
  5. package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs.map +1 -0
  6. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs +52 -10
  7. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs.map +1 -1
  8. package/lib/cjs/blob/azure/index.cjs +1 -0
  9. package/lib/cjs/blob/azure/index.cjs.map +1 -1
  10. package/lib/cjs/blob/core/BlobEnvironment.cjs +19 -0
  11. package/lib/cjs/blob/core/BlobEnvironment.cjs.map +1 -0
  12. package/lib/cjs/blob/core/BlobStoreService.cjs +6 -3
  13. package/lib/cjs/blob/core/BlobStoreService.cjs.map +1 -1
  14. package/lib/cjs/blob/core/index.cjs +1 -0
  15. package/lib/cjs/blob/core/index.cjs.map +1 -1
  16. package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs +26 -0
  17. package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs.map +1 -0
  18. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs +31 -2
  19. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs.map +1 -1
  20. package/lib/cjs/blob/gcp/index.cjs +1 -0
  21. package/lib/cjs/blob/gcp/index.cjs.map +1 -1
  22. package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs +30 -0
  23. package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs.map +1 -0
  24. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +37 -2
  25. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +1 -1
  26. package/lib/cjs/blob/ipfs/index.cjs +1 -0
  27. package/lib/cjs/blob/ipfs/index.cjs.map +1 -1
  28. package/lib/cjs/blob/local/LocalBlobEnvironment.cjs +22 -0
  29. package/lib/cjs/blob/local/LocalBlobEnvironment.cjs.map +1 -0
  30. package/lib/cjs/blob/local/LocalBlobStoreService.cjs +29 -2
  31. package/lib/cjs/blob/local/LocalBlobStoreService.cjs.map +1 -1
  32. package/lib/cjs/blob/local/index.cjs +1 -0
  33. package/lib/cjs/blob/local/index.cjs.map +1 -1
  34. package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs +21 -0
  35. package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs.map +1 -0
  36. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs +28 -2
  37. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs.map +1 -1
  38. package/lib/cjs/blob/memory/index.cjs +1 -0
  39. package/lib/cjs/blob/memory/index.cjs.map +1 -1
  40. package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs +32 -0
  41. package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs.map +1 -0
  42. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs +45 -4
  43. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs.map +1 -1
  44. package/lib/cjs/blob/s3/R2BlobEnvironment.cjs +32 -0
  45. package/lib/cjs/blob/s3/R2BlobEnvironment.cjs.map +1 -0
  46. package/lib/cjs/blob/s3/R2BlobStoreService.cjs +45 -4
  47. package/lib/cjs/blob/s3/R2BlobStoreService.cjs.map +1 -1
  48. package/lib/cjs/blob/s3/S3BlobEnvironment.cjs +32 -0
  49. package/lib/cjs/blob/s3/S3BlobEnvironment.cjs.map +1 -0
  50. package/lib/cjs/blob/s3/S3BlobStoreService.cjs +43 -310
  51. package/lib/cjs/blob/s3/S3BlobStoreService.cjs.map +1 -1
  52. package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs +327 -0
  53. package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs.map +1 -0
  54. package/lib/cjs/blob/s3/index.cjs +4 -0
  55. package/lib/cjs/blob/s3/index.cjs.map +1 -1
  56. package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs +100 -0
  57. package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs.map +1 -0
  58. package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs +29 -0
  59. package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs.map +1 -0
  60. package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs +270 -0
  61. package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs.map +1 -0
  62. package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs +169 -0
  63. package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs.map +1 -0
  64. package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs +64 -0
  65. package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs.map +1 -0
  66. package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs +17 -0
  67. package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs.map +1 -0
  68. package/lib/cjs/graph/engine/catalog/index.cjs +24 -0
  69. package/lib/cjs/graph/engine/catalog/index.cjs.map +1 -0
  70. package/lib/cjs/graph/engine/constants.cjs +2 -2
  71. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs +1 -0
  72. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs.map +1 -1
  73. package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs +18 -0
  74. package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs.map +1 -0
  75. package/lib/cjs/graph/engine/errors/index.cjs +1 -0
  76. package/lib/cjs/graph/engine/errors/index.cjs.map +1 -1
  77. package/lib/cjs/graph/engine/events/index.cjs +0 -1
  78. package/lib/cjs/graph/engine/events/index.cjs.map +1 -1
  79. package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs +2 -2
  80. package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs.map +1 -1
  81. package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs +10 -6
  82. package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs.map +1 -1
  83. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs +30 -18
  84. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs.map +1 -1
  85. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs +354 -73
  86. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs.map +1 -1
  87. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs +3 -3
  88. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs.map +1 -1
  89. package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs +9 -6
  90. package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs.map +1 -1
  91. package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs +11 -10
  92. package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs.map +1 -1
  93. package/lib/cjs/graph/engine/index.cjs +8 -11
  94. package/lib/cjs/graph/engine/index.cjs.map +1 -1
  95. package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs +37 -12
  96. package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs.map +1 -1
  97. package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs +38 -13
  98. package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs.map +1 -1
  99. package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs +38 -13
  100. package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs.map +1 -1
  101. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs +2 -2
  102. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs.map +1 -1
  103. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs +43 -14
  104. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs.map +1 -1
  105. package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs.map +1 -1
  106. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs +79 -88
  107. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs.map +1 -1
  108. package/lib/cjs/graph/engine/planning/index.cjs +0 -1
  109. package/lib/cjs/graph/engine/planning/index.cjs.map +1 -1
  110. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs +28 -15
  111. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs.map +1 -1
  112. package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs +69 -0
  113. package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs.map +1 -0
  114. package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs +291 -0
  115. package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs.map +1 -0
  116. package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs +29 -0
  117. package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs.map +1 -0
  118. package/lib/cjs/graph/engine/runs/GraphRunService.cjs +259 -0
  119. package/lib/cjs/graph/engine/runs/GraphRunService.cjs.map +1 -0
  120. package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs +69 -0
  121. package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs.map +1 -0
  122. package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs +26 -0
  123. package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs.map +1 -0
  124. package/lib/cjs/graph/engine/runs/index.cjs +26 -0
  125. package/lib/cjs/graph/engine/runs/index.cjs.map +1 -0
  126. package/lib/cjs/graph/engine/runs/ownership.cjs +34 -0
  127. package/lib/cjs/graph/engine/runs/ownership.cjs.map +1 -0
  128. package/lib/cjs/graph/engine/runs/types.cjs.map +1 -0
  129. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs +2 -2
  130. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -1
  131. package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs +142 -0
  132. package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs.map +1 -0
  133. package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs +160 -0
  134. package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs.map +1 -0
  135. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs +6 -10
  136. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs.map +1 -1
  137. package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs +166 -0
  138. package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs.map +1 -0
  139. package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs +86 -0
  140. package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs.map +1 -0
  141. package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs +423 -0
  142. package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs.map +1 -0
  143. package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs +4 -0
  144. package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs.map +1 -0
  145. package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs +50 -0
  146. package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs.map +1 -0
  147. package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs +4 -0
  148. package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs.map +1 -0
  149. package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs +478 -0
  150. package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs.map +1 -0
  151. package/lib/cjs/graph/engine/validation/index.cjs +12 -1
  152. package/lib/cjs/graph/engine/validation/index.cjs.map +1 -1
  153. package/lib/cjs/graph/index.cjs +4 -4
  154. package/lib/cjs/graph/log/GraphRunLogger.cjs +10 -6
  155. package/lib/cjs/graph/log/GraphRunLogger.cjs.map +1 -1
  156. package/lib/cjs/graph/log/LogParameters.cjs +13 -13
  157. package/lib/cjs/graph/log/LogParameters.cjs.map +1 -1
  158. package/lib/cjs/index.cjs +2 -2
  159. package/lib/cjs/nest/graph/GraphExecutionController.cjs +140 -16
  160. package/lib/cjs/nest/graph/GraphExecutionController.cjs.map +1 -1
  161. package/lib/cjs/nest/graph/GraphExecutionModule.cjs +94 -7
  162. package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -1
  163. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +11 -0
  164. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs.map +1 -1
  165. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +63 -61
  166. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +1 -1
  167. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs +270 -0
  168. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs.map +1 -0
  169. package/lib/cjs/nest/graph/GraphResultService.cjs +16 -1
  170. package/lib/cjs/nest/graph/GraphResultService.cjs.map +1 -1
  171. package/lib/cjs/nest/graph/GraphRunController.cjs +279 -0
  172. package/lib/cjs/nest/graph/GraphRunController.cjs.map +1 -0
  173. package/lib/cjs/nest/graph/GraphRunModel.cjs +83 -0
  174. package/lib/cjs/nest/graph/GraphRunModel.cjs.map +1 -0
  175. package/lib/cjs/nest/graph/GraphRunModelService.cjs +121 -0
  176. package/lib/cjs/nest/graph/GraphRunModelService.cjs.map +1 -0
  177. package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs +169 -0
  178. package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs.map +1 -0
  179. package/lib/cjs/nest/graph/GraphWorkflowController.cjs +162 -0
  180. package/lib/cjs/nest/graph/GraphWorkflowController.cjs.map +1 -0
  181. package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs +12 -0
  182. package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs.map +1 -0
  183. package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs +23 -0
  184. package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs.map +1 -0
  185. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs +27 -1
  186. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs.map +1 -1
  187. package/lib/cjs/nest/graph/GraphWorkflowService.cjs +211 -8
  188. package/lib/cjs/nest/graph/GraphWorkflowService.cjs.map +1 -1
  189. package/lib/cjs/nest/graph/index.cjs +8 -0
  190. package/lib/cjs/nest/graph/index.cjs.map +1 -1
  191. package/lib/cjs/nest/graph/main.cjs +22 -5
  192. package/lib/cjs/nest/graph/main.cjs.map +1 -1
  193. package/lib/cjs/nest/keycloakModule.cjs +3 -1
  194. package/lib/cjs/nest/keycloakModule.cjs.map +1 -1
  195. package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs +27 -0
  196. package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs.map +1 -0
  197. package/lib/cjs/secrets/aws/AwsSecretService.cjs +53 -19
  198. package/lib/cjs/secrets/aws/AwsSecretService.cjs.map +1 -1
  199. package/lib/cjs/secrets/aws/index.cjs +1 -0
  200. package/lib/cjs/secrets/aws/index.cjs.map +1 -1
  201. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs +45 -16
  202. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs.map +1 -1
  203. package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs +23 -0
  204. package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs.map +1 -0
  205. package/lib/cjs/secrets/azure/index.cjs +1 -0
  206. package/lib/cjs/secrets/azure/index.cjs.map +1 -1
  207. package/lib/cjs/secrets/core/ClientBasedSecretService.cjs +29 -0
  208. package/lib/cjs/secrets/core/ClientBasedSecretService.cjs.map +1 -0
  209. package/lib/cjs/secrets/core/SecretEnvironment.cjs +19 -0
  210. package/lib/cjs/secrets/core/SecretEnvironment.cjs.map +1 -0
  211. package/lib/cjs/secrets/core/index.cjs +2 -0
  212. package/lib/cjs/secrets/core/index.cjs.map +1 -1
  213. package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs +25 -0
  214. package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs.map +1 -0
  215. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs +45 -17
  216. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs.map +1 -1
  217. package/lib/cjs/secrets/gcp/index.cjs +1 -0
  218. package/lib/cjs/secrets/gcp/index.cjs.map +1 -1
  219. package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs +21 -0
  220. package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs.map +1 -0
  221. package/lib/cjs/secrets/model/ModelSecretService.cjs +29 -3
  222. package/lib/cjs/secrets/model/ModelSecretService.cjs.map +1 -1
  223. package/lib/cjs/secrets/model/index.cjs +1 -0
  224. package/lib/cjs/secrets/model/index.cjs.map +1 -1
  225. package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs +24 -0
  226. package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs.map +1 -0
  227. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs +34 -3
  228. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs.map +1 -1
  229. package/lib/cjs/secrets/onepassword/index.cjs +1 -0
  230. package/lib/cjs/secrets/onepassword/index.cjs.map +1 -1
  231. package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs +24 -0
  232. package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs.map +1 -0
  233. package/lib/cjs/secrets/vault/VaultSecretService.cjs +47 -16
  234. package/lib/cjs/secrets/vault/VaultSecretService.cjs.map +1 -1
  235. package/lib/cjs/secrets/vault/index.cjs +1 -0
  236. package/lib/cjs/secrets/vault/index.cjs.map +1 -1
  237. package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs +31 -0
  238. package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs.map +1 -0
  239. package/lib/cjs/sftp/aws/AwsSftpService.cjs +55 -5
  240. package/lib/cjs/sftp/aws/AwsSftpService.cjs.map +1 -1
  241. package/lib/cjs/sftp/core/SftpEnvironment.cjs +19 -0
  242. package/lib/cjs/sftp/core/SftpEnvironment.cjs.map +1 -0
  243. package/lib/cjs/sftp/core/SftpSource.cjs +10 -0
  244. package/lib/cjs/sftp/core/SftpSource.cjs.map +1 -1
  245. package/lib/cjs/sftp/core/index.cjs +1 -0
  246. package/lib/cjs/sftp/core/index.cjs.map +1 -1
  247. package/lib/cjs/sftp/index.cjs +3 -0
  248. package/lib/cjs/sftp/index.cjs.map +1 -1
  249. package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs +28 -0
  250. package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs.map +1 -0
  251. package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs +46 -5
  252. package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs.map +1 -1
  253. package/lib/cjs/shared/environmentValue.cjs +31 -0
  254. package/lib/cjs/shared/environmentValue.cjs.map +1 -0
  255. package/lib/esm/blob/azure/AzureBlobEnvironment.js +21 -0
  256. package/lib/esm/blob/azure/AzureBlobEnvironment.js.map +1 -0
  257. package/lib/esm/blob/azure/AzureBlobStoreService.js +51 -12
  258. package/lib/esm/blob/azure/AzureBlobStoreService.js.map +1 -1
  259. package/lib/esm/blob/azure/index.js +1 -0
  260. package/lib/esm/blob/azure/index.js.map +1 -1
  261. package/lib/esm/blob/core/BlobEnvironment.js +15 -0
  262. package/lib/esm/blob/core/BlobEnvironment.js.map +1 -0
  263. package/lib/esm/blob/core/BlobStoreService.js +6 -3
  264. package/lib/esm/blob/core/BlobStoreService.js.map +1 -1
  265. package/lib/esm/blob/core/index.js +1 -0
  266. package/lib/esm/blob/core/index.js.map +1 -1
  267. package/lib/esm/blob/gcp/GcsBlobEnvironment.js +22 -0
  268. package/lib/esm/blob/gcp/GcsBlobEnvironment.js.map +1 -0
  269. package/lib/esm/blob/gcp/GcsBlobStoreService.js +29 -3
  270. package/lib/esm/blob/gcp/GcsBlobStoreService.js.map +1 -1
  271. package/lib/esm/blob/gcp/index.js +1 -0
  272. package/lib/esm/blob/gcp/index.js.map +1 -1
  273. package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js +26 -0
  274. package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js.map +1 -0
  275. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +35 -3
  276. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +1 -1
  277. package/lib/esm/blob/ipfs/index.js +1 -0
  278. package/lib/esm/blob/ipfs/index.js.map +1 -1
  279. package/lib/esm/blob/local/LocalBlobEnvironment.js +18 -0
  280. package/lib/esm/blob/local/LocalBlobEnvironment.js.map +1 -0
  281. package/lib/esm/blob/local/LocalBlobStoreService.js +27 -3
  282. package/lib/esm/blob/local/LocalBlobStoreService.js.map +1 -1
  283. package/lib/esm/blob/local/index.js +1 -0
  284. package/lib/esm/blob/local/index.js.map +1 -1
  285. package/lib/esm/blob/memory/MemoryBlobEnvironment.js +17 -0
  286. package/lib/esm/blob/memory/MemoryBlobEnvironment.js.map +1 -0
  287. package/lib/esm/blob/memory/MemoryBlobStoreService.js +26 -3
  288. package/lib/esm/blob/memory/MemoryBlobStoreService.js.map +1 -1
  289. package/lib/esm/blob/memory/index.js +1 -0
  290. package/lib/esm/blob/memory/index.js.map +1 -1
  291. package/lib/esm/blob/s3/MinioBlobEnvironment.js +28 -0
  292. package/lib/esm/blob/s3/MinioBlobEnvironment.js.map +1 -0
  293. package/lib/esm/blob/s3/MinioBlobStoreService.js +42 -4
  294. package/lib/esm/blob/s3/MinioBlobStoreService.js.map +1 -1
  295. package/lib/esm/blob/s3/R2BlobEnvironment.js +28 -0
  296. package/lib/esm/blob/s3/R2BlobEnvironment.js.map +1 -0
  297. package/lib/esm/blob/s3/R2BlobStoreService.js +42 -4
  298. package/lib/esm/blob/s3/R2BlobStoreService.js.map +1 -1
  299. package/lib/esm/blob/s3/S3BlobEnvironment.js +28 -0
  300. package/lib/esm/blob/s3/S3BlobEnvironment.js.map +1 -0
  301. package/lib/esm/blob/s3/S3BlobStoreService.js +41 -311
  302. package/lib/esm/blob/s3/S3BlobStoreService.js.map +1 -1
  303. package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js +322 -0
  304. package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js.map +1 -0
  305. package/lib/esm/blob/s3/index.js +4 -0
  306. package/lib/esm/blob/s3/index.js.map +1 -1
  307. package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js +95 -0
  308. package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js.map +1 -0
  309. package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js +22 -0
  310. package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js.map +1 -0
  311. package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js +265 -0
  312. package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js.map +1 -0
  313. package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js +162 -0
  314. package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js.map +1 -0
  315. package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js +59 -0
  316. package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js.map +1 -0
  317. package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js +12 -0
  318. package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js.map +1 -0
  319. package/lib/esm/graph/engine/catalog/index.js +7 -0
  320. package/lib/esm/graph/engine/catalog/index.js.map +1 -0
  321. package/lib/esm/graph/engine/constants.js +2 -2
  322. package/lib/esm/graph/engine/errors/GraphExecutionError.js +1 -0
  323. package/lib/esm/graph/engine/errors/GraphExecutionError.js.map +1 -1
  324. package/lib/esm/graph/engine/errors/GraphRunCancelledError.js +13 -0
  325. package/lib/esm/graph/engine/errors/GraphRunCancelledError.js.map +1 -0
  326. package/lib/esm/graph/engine/errors/index.js +1 -0
  327. package/lib/esm/graph/engine/errors/index.js.map +1 -1
  328. package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js.map +1 -1
  329. package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js.map +1 -1
  330. package/lib/esm/graph/engine/events/index.js +0 -1
  331. package/lib/esm/graph/engine/events/index.js.map +1 -1
  332. package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js +2 -2
  333. package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js.map +1 -1
  334. package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js +10 -6
  335. package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js.map +1 -1
  336. package/lib/esm/graph/engine/execution/GraphExecutionContext.js +28 -16
  337. package/lib/esm/graph/engine/execution/GraphExecutionContext.js.map +1 -1
  338. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js +322 -41
  339. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js.map +1 -1
  340. package/lib/esm/graph/engine/execution/GraphExecutionFrame.js.map +1 -1
  341. package/lib/esm/graph/engine/execution/GraphExecutionResult.js +3 -3
  342. package/lib/esm/graph/engine/execution/GraphExecutionResult.js.map +1 -1
  343. package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js +9 -6
  344. package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js.map +1 -1
  345. package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js +11 -10
  346. package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js.map +1 -1
  347. package/lib/esm/graph/engine/index.js +8 -11
  348. package/lib/esm/graph/engine/index.js.map +1 -1
  349. package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js +32 -7
  350. package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js.map +1 -1
  351. package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js +32 -7
  352. package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js.map +1 -1
  353. package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js +32 -7
  354. package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js.map +1 -1
  355. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js +2 -2
  356. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js.map +1 -1
  357. package/lib/esm/graph/engine/pinning/GraphPinningService.js +43 -14
  358. package/lib/esm/graph/engine/pinning/GraphPinningService.js.map +1 -1
  359. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js +3 -1
  360. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js.map +1 -1
  361. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js +79 -88
  362. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js.map +1 -1
  363. package/lib/esm/graph/engine/planning/index.js +0 -1
  364. package/lib/esm/graph/engine/planning/index.js.map +1 -1
  365. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js +28 -15
  366. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js.map +1 -1
  367. package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js +64 -0
  368. package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js.map +1 -0
  369. package/lib/esm/graph/engine/runs/GraphRunExecutor.js +286 -0
  370. package/lib/esm/graph/engine/runs/GraphRunExecutor.js.map +1 -0
  371. package/lib/esm/graph/engine/runs/GraphRunFingerprint.js +25 -0
  372. package/lib/esm/graph/engine/runs/GraphRunFingerprint.js.map +1 -0
  373. package/lib/esm/graph/engine/runs/GraphRunService.js +254 -0
  374. package/lib/esm/graph/engine/runs/GraphRunService.js.map +1 -0
  375. package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js +64 -0
  376. package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js.map +1 -0
  377. package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js +21 -0
  378. package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js.map +1 -0
  379. package/lib/esm/graph/engine/runs/index.js +9 -0
  380. package/lib/esm/graph/engine/runs/index.js.map +1 -0
  381. package/lib/esm/graph/engine/runs/ownership.js +30 -0
  382. package/lib/esm/graph/engine/runs/ownership.js.map +1 -0
  383. package/lib/esm/graph/engine/runs/types.js.map +1 -0
  384. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js +1 -1
  385. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js.map +1 -1
  386. package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js +137 -0
  387. package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js.map +1 -0
  388. package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js +155 -0
  389. package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js.map +1 -0
  390. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js +6 -10
  391. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js.map +1 -1
  392. package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js +161 -0
  393. package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js.map +1 -0
  394. package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js +81 -0
  395. package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js.map +1 -0
  396. package/lib/esm/graph/engine/validation/GraphParameterValidator.js +416 -0
  397. package/lib/esm/graph/engine/validation/GraphParameterValidator.js.map +1 -0
  398. package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js +2 -0
  399. package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js.map +1 -0
  400. package/lib/esm/graph/engine/validation/GraphValidationErrors.js +43 -0
  401. package/lib/esm/graph/engine/validation/GraphValidationErrors.js.map +1 -0
  402. package/lib/esm/graph/engine/validation/GraphValidationIssue.js +2 -0
  403. package/lib/esm/graph/engine/validation/GraphValidationIssue.js.map +1 -0
  404. package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js +472 -0
  405. package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js.map +1 -0
  406. package/lib/esm/graph/engine/validation/index.js +12 -1
  407. package/lib/esm/graph/engine/validation/index.js.map +1 -1
  408. package/lib/esm/graph/index.js +4 -4
  409. package/lib/esm/graph/log/GraphRunLogger.js +5 -1
  410. package/lib/esm/graph/log/GraphRunLogger.js.map +1 -1
  411. package/lib/esm/graph/log/LogParameters.js +1 -1
  412. package/lib/esm/graph/log/LogParameters.js.map +1 -1
  413. package/lib/esm/index.js +2 -2
  414. package/lib/esm/nest/graph/GraphExecutionController.js +143 -19
  415. package/lib/esm/nest/graph/GraphExecutionController.js.map +1 -1
  416. package/lib/esm/nest/graph/GraphExecutionModule.js +97 -10
  417. package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -1
  418. package/lib/esm/nest/graph/GraphExecutionResultModel.js +11 -0
  419. package/lib/esm/nest/graph/GraphExecutionResultModel.js.map +1 -1
  420. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +62 -62
  421. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +1 -1
  422. package/lib/esm/nest/graph/GraphNodeCatalogueController.js +261 -0
  423. package/lib/esm/nest/graph/GraphNodeCatalogueController.js.map +1 -0
  424. package/lib/esm/nest/graph/GraphResultService.js +16 -1
  425. package/lib/esm/nest/graph/GraphResultService.js.map +1 -1
  426. package/lib/esm/nest/graph/GraphRunController.js +270 -0
  427. package/lib/esm/nest/graph/GraphRunController.js.map +1 -0
  428. package/lib/esm/nest/graph/GraphRunModel.js +74 -0
  429. package/lib/esm/nest/graph/GraphRunModel.js.map +1 -0
  430. package/lib/esm/nest/graph/GraphRunModelService.js +112 -0
  431. package/lib/esm/nest/graph/GraphRunModelService.js.map +1 -0
  432. package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js +164 -0
  433. package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js.map +1 -0
  434. package/lib/esm/nest/graph/GraphWorkflowController.js +153 -0
  435. package/lib/esm/nest/graph/GraphWorkflowController.js.map +1 -0
  436. package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js +8 -0
  437. package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js.map +1 -0
  438. package/lib/esm/nest/graph/GraphWorkflowErrors.js +18 -0
  439. package/lib/esm/nest/graph/GraphWorkflowErrors.js.map +1 -0
  440. package/lib/esm/nest/graph/GraphWorkflowModel.js +27 -1
  441. package/lib/esm/nest/graph/GraphWorkflowModel.js.map +1 -1
  442. package/lib/esm/nest/graph/GraphWorkflowService.js +210 -8
  443. package/lib/esm/nest/graph/GraphWorkflowService.js.map +1 -1
  444. package/lib/esm/nest/graph/index.js +8 -0
  445. package/lib/esm/nest/graph/index.js.map +1 -1
  446. package/lib/esm/nest/graph/main.js +22 -5
  447. package/lib/esm/nest/graph/main.js.map +1 -1
  448. package/lib/esm/nest/keycloakModule.js +3 -1
  449. package/lib/esm/nest/keycloakModule.js.map +1 -1
  450. package/lib/esm/secrets/aws/AwsSecretEnvironment.js +23 -0
  451. package/lib/esm/secrets/aws/AwsSecretEnvironment.js.map +1 -0
  452. package/lib/esm/secrets/aws/AwsSecretService.js +39 -8
  453. package/lib/esm/secrets/aws/AwsSecretService.js.map +1 -1
  454. package/lib/esm/secrets/aws/index.js +1 -0
  455. package/lib/esm/secrets/aws/index.js.map +1 -1
  456. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js +30 -4
  457. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js.map +1 -1
  458. package/lib/esm/secrets/azure/AzureSecretEnvironment.js +19 -0
  459. package/lib/esm/secrets/azure/AzureSecretEnvironment.js.map +1 -0
  460. package/lib/esm/secrets/azure/index.js +1 -0
  461. package/lib/esm/secrets/azure/index.js.map +1 -1
  462. package/lib/esm/secrets/core/ClientBasedSecretService.js +24 -0
  463. package/lib/esm/secrets/core/ClientBasedSecretService.js.map +1 -0
  464. package/lib/esm/secrets/core/SecretEnvironment.js +15 -0
  465. package/lib/esm/secrets/core/SecretEnvironment.js.map +1 -0
  466. package/lib/esm/secrets/core/index.js +2 -0
  467. package/lib/esm/secrets/core/index.js.map +1 -1
  468. package/lib/esm/secrets/gcp/GcpSecretEnvironment.js +21 -0
  469. package/lib/esm/secrets/gcp/GcpSecretEnvironment.js.map +1 -0
  470. package/lib/esm/secrets/gcp/GcpSecretManagerService.js +30 -5
  471. package/lib/esm/secrets/gcp/GcpSecretManagerService.js.map +1 -1
  472. package/lib/esm/secrets/gcp/index.js +1 -0
  473. package/lib/esm/secrets/gcp/index.js.map +1 -1
  474. package/lib/esm/secrets/model/ModelSecretEnvironment.js +17 -0
  475. package/lib/esm/secrets/model/ModelSecretEnvironment.js.map +1 -0
  476. package/lib/esm/secrets/model/ModelSecretService.js +28 -5
  477. package/lib/esm/secrets/model/ModelSecretService.js.map +1 -1
  478. package/lib/esm/secrets/model/index.js +1 -0
  479. package/lib/esm/secrets/model/index.js.map +1 -1
  480. package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js +20 -0
  481. package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js.map +1 -0
  482. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js +33 -5
  483. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js.map +1 -1
  484. package/lib/esm/secrets/onepassword/index.js +1 -0
  485. package/lib/esm/secrets/onepassword/index.js.map +1 -1
  486. package/lib/esm/secrets/vault/VaultSecretEnvironment.js +20 -0
  487. package/lib/esm/secrets/vault/VaultSecretEnvironment.js.map +1 -0
  488. package/lib/esm/secrets/vault/VaultSecretService.js +33 -5
  489. package/lib/esm/secrets/vault/VaultSecretService.js.map +1 -1
  490. package/lib/esm/secrets/vault/index.js +1 -0
  491. package/lib/esm/secrets/vault/index.js.map +1 -1
  492. package/lib/esm/sftp/aws/AwsSftpEnvironment.js +27 -0
  493. package/lib/esm/sftp/aws/AwsSftpEnvironment.js.map +1 -0
  494. package/lib/esm/sftp/aws/AwsSftpService.js +52 -6
  495. package/lib/esm/sftp/aws/AwsSftpService.js.map +1 -1
  496. package/lib/esm/sftp/core/SftpEnvironment.js +15 -0
  497. package/lib/esm/sftp/core/SftpEnvironment.js.map +1 -0
  498. package/lib/esm/sftp/core/SftpSource.js +12 -2
  499. package/lib/esm/sftp/core/SftpSource.js.map +1 -1
  500. package/lib/esm/sftp/core/index.js +1 -0
  501. package/lib/esm/sftp/core/index.js.map +1 -1
  502. package/lib/esm/sftp/index.js +3 -0
  503. package/lib/esm/sftp/index.js.map +1 -1
  504. package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js +24 -0
  505. package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js.map +1 -0
  506. package/lib/esm/sftp/ssh2/Ssh2SftpService.js +43 -6
  507. package/lib/esm/sftp/ssh2/Ssh2SftpService.js.map +1 -1
  508. package/lib/esm/shared/environmentValue.js +25 -0
  509. package/lib/esm/shared/environmentValue.js.map +1 -0
  510. package/lib/types/blob/azure/AzureBlobEnvironment.d.cts +25 -0
  511. package/lib/types/blob/azure/AzureBlobEnvironment.d.mts +25 -0
  512. package/lib/types/blob/azure/AzureBlobStoreService.d.cts +1 -0
  513. package/lib/types/blob/azure/AzureBlobStoreService.d.mts +1 -0
  514. package/lib/types/blob/azure/index.d.cts +1 -0
  515. package/lib/types/blob/azure/index.d.mts +1 -0
  516. package/lib/types/blob/core/BlobEnvironment.d.cts +11 -0
  517. package/lib/types/blob/core/BlobEnvironment.d.mts +11 -0
  518. package/lib/types/blob/core/BlobStoreService.d.cts +6 -0
  519. package/lib/types/blob/core/BlobStoreService.d.mts +6 -0
  520. package/lib/types/blob/core/index.d.cts +1 -0
  521. package/lib/types/blob/core/index.d.mts +1 -0
  522. package/lib/types/blob/gcp/GcsBlobEnvironment.d.cts +17 -0
  523. package/lib/types/blob/gcp/GcsBlobEnvironment.d.mts +17 -0
  524. package/lib/types/blob/gcp/GcsBlobStoreService.d.cts +1 -0
  525. package/lib/types/blob/gcp/GcsBlobStoreService.d.mts +1 -0
  526. package/lib/types/blob/gcp/index.d.cts +1 -0
  527. package/lib/types/blob/gcp/index.d.mts +1 -0
  528. package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.cts +24 -0
  529. package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.mts +24 -0
  530. package/lib/types/blob/ipfs/IpfsBlobStoreService.d.cts +1 -0
  531. package/lib/types/blob/ipfs/IpfsBlobStoreService.d.mts +1 -0
  532. package/lib/types/blob/ipfs/index.d.cts +1 -0
  533. package/lib/types/blob/ipfs/index.d.mts +1 -0
  534. package/lib/types/blob/local/LocalBlobEnvironment.d.cts +15 -0
  535. package/lib/types/blob/local/LocalBlobEnvironment.d.mts +15 -0
  536. package/lib/types/blob/local/LocalBlobStoreService.d.cts +1 -0
  537. package/lib/types/blob/local/LocalBlobStoreService.d.mts +1 -0
  538. package/lib/types/blob/local/index.d.cts +1 -0
  539. package/lib/types/blob/local/index.d.mts +1 -0
  540. package/lib/types/blob/memory/MemoryBlobEnvironment.d.cts +14 -0
  541. package/lib/types/blob/memory/MemoryBlobEnvironment.d.mts +14 -0
  542. package/lib/types/blob/memory/MemoryBlobStoreService.d.cts +1 -0
  543. package/lib/types/blob/memory/MemoryBlobStoreService.d.mts +1 -0
  544. package/lib/types/blob/memory/index.d.cts +1 -0
  545. package/lib/types/blob/memory/index.d.mts +1 -0
  546. package/lib/types/blob/s3/MinioBlobEnvironment.d.cts +11 -0
  547. package/lib/types/blob/s3/MinioBlobEnvironment.d.mts +11 -0
  548. package/lib/types/blob/s3/MinioBlobStoreService.d.cts +4 -7
  549. package/lib/types/blob/s3/MinioBlobStoreService.d.mts +4 -7
  550. package/lib/types/blob/s3/R2BlobEnvironment.d.cts +11 -0
  551. package/lib/types/blob/s3/R2BlobEnvironment.d.mts +11 -0
  552. package/lib/types/blob/s3/R2BlobStoreService.d.cts +4 -7
  553. package/lib/types/blob/s3/R2BlobStoreService.d.mts +4 -7
  554. package/lib/types/blob/s3/S3BlobEnvironment.d.cts +26 -0
  555. package/lib/types/blob/s3/S3BlobEnvironment.d.mts +26 -0
  556. package/lib/types/blob/s3/S3BlobStoreService.d.cts +4 -24
  557. package/lib/types/blob/s3/S3BlobStoreService.d.mts +4 -24
  558. package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.cts +30 -0
  559. package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.mts +30 -0
  560. package/lib/types/blob/s3/index.d.cts +4 -0
  561. package/lib/types/blob/s3/index.d.mts +4 -0
  562. package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.cts +17 -0
  563. package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.mts +17 -0
  564. package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.cts +13 -0
  565. package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.mts +13 -0
  566. package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.cts +71 -0
  567. package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.mts +71 -0
  568. package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.cts +42 -0
  569. package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.mts +42 -0
  570. package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.cts +22 -0
  571. package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.mts +22 -0
  572. package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.cts +68 -0
  573. package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.mts +68 -0
  574. package/lib/types/graph/engine/catalog/index.d.cts +6 -0
  575. package/lib/types/graph/engine/catalog/index.d.mts +6 -0
  576. package/lib/types/graph/engine/constants.d.cts +2 -2
  577. package/lib/types/graph/engine/constants.d.mts +2 -2
  578. package/lib/types/graph/engine/errors/GraphRunCancelledError.d.cts +9 -0
  579. package/lib/types/graph/engine/errors/GraphRunCancelledError.d.mts +9 -0
  580. package/lib/types/graph/engine/errors/index.d.cts +1 -0
  581. package/lib/types/graph/engine/errors/index.d.mts +1 -0
  582. package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.cts +1 -1
  583. package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.mts +1 -1
  584. package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.cts +1 -1
  585. package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.mts +1 -1
  586. package/lib/types/graph/engine/events/GraphExecutionObserver.d.cts +1 -1
  587. package/lib/types/graph/engine/events/GraphExecutionObserver.d.mts +1 -1
  588. package/lib/types/graph/engine/events/index.d.cts +0 -1
  589. package/lib/types/graph/engine/events/index.d.mts +0 -1
  590. package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.cts +2 -2
  591. package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.mts +2 -2
  592. package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.cts +2 -2
  593. package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.mts +2 -2
  594. package/lib/types/graph/engine/execution/GraphExecutionContext.d.cts +28 -14
  595. package/lib/types/graph/engine/execution/GraphExecutionContext.d.mts +28 -14
  596. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.cts +106 -23
  597. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.mts +106 -23
  598. package/lib/types/graph/engine/execution/GraphExecutionFrame.d.cts +2 -1
  599. package/lib/types/graph/engine/execution/GraphExecutionFrame.d.mts +2 -1
  600. package/lib/types/graph/engine/execution/GraphExecutionResult.d.cts +3 -3
  601. package/lib/types/graph/engine/execution/GraphExecutionResult.d.mts +3 -3
  602. package/lib/types/graph/engine/execution/GraphNodeExecutor.d.cts +17 -9
  603. package/lib/types/graph/engine/execution/GraphNodeExecutor.d.mts +17 -9
  604. package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.cts +3 -3
  605. package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.mts +3 -3
  606. package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.cts +2 -2
  607. package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.mts +2 -2
  608. package/lib/types/graph/engine/index.d.cts +6 -9
  609. package/lib/types/graph/engine/index.d.mts +6 -9
  610. package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.cts +1 -1
  611. package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.mts +1 -1
  612. package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.cts +2 -2
  613. package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.mts +2 -2
  614. package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.cts +1 -1
  615. package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.mts +1 -1
  616. package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.cts +2 -2
  617. package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.mts +2 -2
  618. package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.cts +2 -2
  619. package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.mts +2 -2
  620. package/lib/types/graph/engine/pinning/GraphPinningService.d.cts +16 -5
  621. package/lib/types/graph/engine/pinning/GraphPinningService.d.mts +16 -5
  622. package/lib/types/graph/engine/planning/GraphExecutionPlan.d.cts +8 -4
  623. package/lib/types/graph/engine/planning/GraphExecutionPlan.d.mts +8 -4
  624. package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.cts +9 -4
  625. package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.mts +9 -4
  626. package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.cts +17 -9
  627. package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.mts +17 -9
  628. package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.cts +21 -33
  629. package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.mts +21 -33
  630. package/lib/types/graph/engine/planning/index.d.cts +0 -1
  631. package/lib/types/graph/engine/planning/index.d.mts +0 -1
  632. package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.cts +22 -8
  633. package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.mts +22 -8
  634. package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.cts +26 -0
  635. package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.mts +26 -0
  636. package/lib/types/graph/engine/runs/GraphRunExecutor.d.cts +75 -0
  637. package/lib/types/graph/engine/runs/GraphRunExecutor.d.mts +75 -0
  638. package/lib/types/graph/engine/runs/GraphRunFingerprint.d.cts +8 -0
  639. package/lib/types/graph/engine/runs/GraphRunFingerprint.d.mts +8 -0
  640. package/lib/types/graph/engine/runs/GraphRunService.d.cts +93 -0
  641. package/lib/types/graph/engine/runs/GraphRunService.d.mts +93 -0
  642. package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.cts +28 -0
  643. package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.mts +28 -0
  644. package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.cts +12 -0
  645. package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.mts +12 -0
  646. package/lib/types/graph/engine/runs/index.d.cts +8 -0
  647. package/lib/types/graph/engine/runs/index.d.mts +8 -0
  648. package/lib/types/graph/engine/runs/ownership.d.cts +25 -0
  649. package/lib/types/graph/engine/runs/ownership.d.mts +25 -0
  650. package/lib/types/graph/engine/runs/types.d.cts +83 -0
  651. package/lib/types/graph/engine/runs/types.d.mts +83 -0
  652. package/lib/types/graph/engine/types.d.cts +37 -12
  653. package/lib/types/graph/engine/types.d.mts +37 -12
  654. package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.cts +32 -0
  655. package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.mts +32 -0
  656. package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.cts +62 -0
  657. package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.mts +62 -0
  658. package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.cts +11 -9
  659. package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.mts +11 -9
  660. package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.cts +32 -0
  661. package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.mts +32 -0
  662. package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.cts +37 -0
  663. package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.mts +37 -0
  664. package/lib/types/graph/engine/validation/GraphParameterValidator.d.cts +92 -0
  665. package/lib/types/graph/engine/validation/GraphParameterValidator.d.mts +92 -0
  666. package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.cts +66 -0
  667. package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.mts +66 -0
  668. package/lib/types/graph/engine/validation/GraphValidationErrors.d.cts +34 -0
  669. package/lib/types/graph/engine/validation/GraphValidationErrors.d.mts +34 -0
  670. package/lib/types/graph/engine/validation/GraphValidationIssue.d.cts +39 -0
  671. package/lib/types/graph/engine/validation/GraphValidationIssue.d.mts +39 -0
  672. package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.cts +162 -0
  673. package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.mts +162 -0
  674. package/lib/types/graph/engine/validation/index.d.cts +12 -1
  675. package/lib/types/graph/engine/validation/index.d.mts +12 -1
  676. package/lib/types/graph/index.d.cts +4 -4
  677. package/lib/types/graph/index.d.mts +4 -4
  678. package/lib/types/graph/log/GraphRunLogger.d.cts +3 -1
  679. package/lib/types/graph/log/GraphRunLogger.d.mts +3 -1
  680. package/lib/types/index.d.cts +2 -2
  681. package/lib/types/index.d.mts +2 -2
  682. package/lib/types/nest/graph/GraphExecutionController.d.cts +83 -4
  683. package/lib/types/nest/graph/GraphExecutionController.d.mts +83 -4
  684. package/lib/types/nest/graph/GraphExecutionModule.d.cts +64 -0
  685. package/lib/types/nest/graph/GraphExecutionModule.d.mts +64 -0
  686. package/lib/types/nest/graph/GraphExecutionResultModel.d.cts +12 -0
  687. package/lib/types/nest/graph/GraphExecutionResultModel.d.mts +12 -0
  688. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +42 -28
  689. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +42 -28
  690. package/lib/types/nest/graph/GraphNodeCatalogueController.d.cts +70 -0
  691. package/lib/types/nest/graph/GraphNodeCatalogueController.d.mts +70 -0
  692. package/lib/types/nest/graph/GraphResultService.d.cts +12 -0
  693. package/lib/types/nest/graph/GraphResultService.d.mts +12 -0
  694. package/lib/types/nest/graph/GraphRunController.d.cts +87 -0
  695. package/lib/types/nest/graph/GraphRunController.d.mts +87 -0
  696. package/lib/types/nest/graph/GraphRunModel.d.cts +22 -0
  697. package/lib/types/nest/graph/GraphRunModel.d.mts +22 -0
  698. package/lib/types/nest/graph/GraphRunModelService.d.cts +21 -0
  699. package/lib/types/nest/graph/GraphRunModelService.d.mts +21 -0
  700. package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.cts +28 -0
  701. package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.mts +28 -0
  702. package/lib/types/nest/graph/GraphWorkflowController.d.cts +62 -0
  703. package/lib/types/nest/graph/GraphWorkflowController.d.mts +62 -0
  704. package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.cts +33 -0
  705. package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.mts +33 -0
  706. package/lib/types/nest/graph/GraphWorkflowErrors.d.cts +13 -0
  707. package/lib/types/nest/graph/GraphWorkflowErrors.d.mts +13 -0
  708. package/lib/types/nest/graph/GraphWorkflowModel.d.cts +19 -1
  709. package/lib/types/nest/graph/GraphWorkflowModel.d.mts +19 -1
  710. package/lib/types/nest/graph/GraphWorkflowService.d.cts +48 -1
  711. package/lib/types/nest/graph/GraphWorkflowService.d.mts +48 -1
  712. package/lib/types/nest/graph/index.d.cts +8 -0
  713. package/lib/types/nest/graph/index.d.mts +8 -0
  714. package/lib/types/nest/keycloakModule.d.cts +9 -1
  715. package/lib/types/nest/keycloakModule.d.mts +9 -1
  716. package/lib/types/secrets/aws/AwsSecretEnvironment.d.cts +21 -0
  717. package/lib/types/secrets/aws/AwsSecretEnvironment.d.mts +21 -0
  718. package/lib/types/secrets/aws/AwsSecretService.d.cts +4 -3
  719. package/lib/types/secrets/aws/AwsSecretService.d.mts +4 -3
  720. package/lib/types/secrets/aws/index.d.cts +1 -0
  721. package/lib/types/secrets/aws/index.d.mts +1 -0
  722. package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.cts +4 -3
  723. package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.mts +4 -3
  724. package/lib/types/secrets/azure/AzureSecretEnvironment.d.cts +14 -0
  725. package/lib/types/secrets/azure/AzureSecretEnvironment.d.mts +14 -0
  726. package/lib/types/secrets/azure/index.d.cts +1 -0
  727. package/lib/types/secrets/azure/index.d.mts +1 -0
  728. package/lib/types/secrets/core/ClientBasedSecretService.d.cts +20 -0
  729. package/lib/types/secrets/core/ClientBasedSecretService.d.mts +20 -0
  730. package/lib/types/secrets/core/SecretEnvironment.d.cts +11 -0
  731. package/lib/types/secrets/core/SecretEnvironment.d.mts +11 -0
  732. package/lib/types/secrets/core/index.d.cts +2 -0
  733. package/lib/types/secrets/core/index.d.mts +2 -0
  734. package/lib/types/secrets/gcp/GcpSecretEnvironment.d.cts +16 -0
  735. package/lib/types/secrets/gcp/GcpSecretEnvironment.d.mts +16 -0
  736. package/lib/types/secrets/gcp/GcpSecretManagerService.d.cts +4 -3
  737. package/lib/types/secrets/gcp/GcpSecretManagerService.d.mts +4 -3
  738. package/lib/types/secrets/gcp/index.d.cts +1 -0
  739. package/lib/types/secrets/gcp/index.d.mts +1 -0
  740. package/lib/types/secrets/model/ModelSecretEnvironment.d.cts +14 -0
  741. package/lib/types/secrets/model/ModelSecretEnvironment.d.mts +14 -0
  742. package/lib/types/secrets/model/ModelSecretService.d.cts +4 -3
  743. package/lib/types/secrets/model/ModelSecretService.d.mts +4 -3
  744. package/lib/types/secrets/model/ModelSecretServiceConfig.d.cts +2 -1
  745. package/lib/types/secrets/model/ModelSecretServiceConfig.d.mts +2 -1
  746. package/lib/types/secrets/model/index.d.cts +1 -0
  747. package/lib/types/secrets/model/index.d.mts +1 -0
  748. package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.cts +17 -0
  749. package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.mts +17 -0
  750. package/lib/types/secrets/onepassword/OnePasswordSecretService.d.cts +4 -3
  751. package/lib/types/secrets/onepassword/OnePasswordSecretService.d.mts +4 -3
  752. package/lib/types/secrets/onepassword/index.d.cts +1 -0
  753. package/lib/types/secrets/onepassword/index.d.mts +1 -0
  754. package/lib/types/secrets/vault/VaultSecretEnvironment.d.cts +17 -0
  755. package/lib/types/secrets/vault/VaultSecretEnvironment.d.mts +17 -0
  756. package/lib/types/secrets/vault/VaultSecretService.d.cts +4 -3
  757. package/lib/types/secrets/vault/VaultSecretService.d.mts +4 -3
  758. package/lib/types/secrets/vault/index.d.cts +1 -0
  759. package/lib/types/secrets/vault/index.d.mts +1 -0
  760. package/lib/types/sftp/aws/AwsSftpEnvironment.d.cts +24 -0
  761. package/lib/types/sftp/aws/AwsSftpEnvironment.d.mts +24 -0
  762. package/lib/types/sftp/aws/AwsSftpService.d.cts +1 -0
  763. package/lib/types/sftp/aws/AwsSftpService.d.mts +1 -0
  764. package/lib/types/sftp/core/SftpEnvironment.d.cts +11 -0
  765. package/lib/types/sftp/core/SftpEnvironment.d.mts +11 -0
  766. package/lib/types/sftp/core/SftpSource.d.cts +7 -0
  767. package/lib/types/sftp/core/SftpSource.d.mts +7 -0
  768. package/lib/types/sftp/core/index.d.cts +1 -0
  769. package/lib/types/sftp/core/index.d.mts +1 -0
  770. package/lib/types/sftp/index.d.cts +3 -0
  771. package/lib/types/sftp/index.d.mts +3 -0
  772. package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.cts +21 -0
  773. package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.mts +21 -0
  774. package/lib/types/sftp/ssh2/Ssh2SftpService.d.cts +1 -0
  775. package/lib/types/sftp/ssh2/Ssh2SftpService.d.mts +1 -0
  776. package/lib/types/shared/environmentValue.d.cts +16 -0
  777. package/lib/types/shared/environmentValue.d.mts +16 -0
  778. package/package.json +6 -16
  779. package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs +0 -4
  780. package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs.map +0 -1
  781. package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs +0 -172
  782. package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs.map +0 -1
  783. package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs +0 -97
  784. package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs.map +0 -1
  785. package/lib/cjs/graph/shared/constants.cjs +0 -99
  786. package/lib/cjs/graph/shared/constants.cjs.map +0 -1
  787. package/lib/cjs/graph/shared/index.cjs +0 -46
  788. package/lib/cjs/graph/shared/index.cjs.map +0 -1
  789. package/lib/cjs/graph/shared/nodes/agent.cjs +0 -110
  790. package/lib/cjs/graph/shared/nodes/agent.cjs.map +0 -1
  791. package/lib/cjs/graph/shared/nodes/base.cjs +0 -36
  792. package/lib/cjs/graph/shared/nodes/base.cjs.map +0 -1
  793. package/lib/cjs/graph/shared/nodes/category-styles.cjs +0 -38
  794. package/lib/cjs/graph/shared/nodes/category-styles.cjs.map +0 -1
  795. package/lib/cjs/graph/shared/nodes/flow-control.cjs +0 -630
  796. package/lib/cjs/graph/shared/nodes/flow-control.cjs.map +0 -1
  797. package/lib/cjs/graph/shared/nodes/index.cjs +0 -35
  798. package/lib/cjs/graph/shared/nodes/index.cjs.map +0 -1
  799. package/lib/cjs/graph/shared/nodes/triggers.cjs +0 -250
  800. package/lib/cjs/graph/shared/nodes/triggers.cjs.map +0 -1
  801. package/lib/cjs/graph/shared/types.cjs.map +0 -1
  802. package/lib/esm/graph/engine/events/GraphExecutionEvent.js +0 -2
  803. package/lib/esm/graph/engine/events/GraphExecutionEvent.js.map +0 -1
  804. package/lib/esm/graph/engine/planning/GraphRelationResolver.js +0 -167
  805. package/lib/esm/graph/engine/planning/GraphRelationResolver.js.map +0 -1
  806. package/lib/esm/graph/shared/GraphExecutionStateMapper.js +0 -91
  807. package/lib/esm/graph/shared/GraphExecutionStateMapper.js.map +0 -1
  808. package/lib/esm/graph/shared/constants.js +0 -135
  809. package/lib/esm/graph/shared/constants.js.map +0 -1
  810. package/lib/esm/graph/shared/index.js +0 -25
  811. package/lib/esm/graph/shared/index.js.map +0 -1
  812. package/lib/esm/graph/shared/nodes/agent.js +0 -101
  813. package/lib/esm/graph/shared/nodes/agent.js.map +0 -1
  814. package/lib/esm/graph/shared/nodes/base.js +0 -31
  815. package/lib/esm/graph/shared/nodes/base.js.map +0 -1
  816. package/lib/esm/graph/shared/nodes/category-styles.js +0 -34
  817. package/lib/esm/graph/shared/nodes/category-styles.js.map +0 -1
  818. package/lib/esm/graph/shared/nodes/flow-control.js +0 -621
  819. package/lib/esm/graph/shared/nodes/flow-control.js.map +0 -1
  820. package/lib/esm/graph/shared/nodes/index.js +0 -18
  821. package/lib/esm/graph/shared/nodes/index.js.map +0 -1
  822. package/lib/esm/graph/shared/nodes/triggers.js +0 -241
  823. package/lib/esm/graph/shared/nodes/triggers.js.map +0 -1
  824. package/lib/esm/graph/shared/types.js.map +0 -1
  825. package/lib/types/graph/engine/events/GraphExecutionEvent.d.cts +0 -6
  826. package/lib/types/graph/engine/events/GraphExecutionEvent.d.mts +0 -6
  827. package/lib/types/graph/engine/planning/GraphRelationResolver.d.cts +0 -62
  828. package/lib/types/graph/engine/planning/GraphRelationResolver.d.mts +0 -62
  829. package/lib/types/graph/shared/GraphExecutionStateMapper.d.cts +0 -66
  830. package/lib/types/graph/shared/GraphExecutionStateMapper.d.mts +0 -66
  831. package/lib/types/graph/shared/constants.d.cts +0 -120
  832. package/lib/types/graph/shared/constants.d.mts +0 -120
  833. package/lib/types/graph/shared/index.d.cts +0 -21
  834. package/lib/types/graph/shared/index.d.mts +0 -21
  835. package/lib/types/graph/shared/nodes/agent.d.cts +0 -44
  836. package/lib/types/graph/shared/nodes/agent.d.mts +0 -44
  837. package/lib/types/graph/shared/nodes/base.d.cts +0 -28
  838. package/lib/types/graph/shared/nodes/base.d.mts +0 -28
  839. package/lib/types/graph/shared/nodes/category-styles.d.cts +0 -8
  840. package/lib/types/graph/shared/nodes/category-styles.d.mts +0 -8
  841. package/lib/types/graph/shared/nodes/flow-control.d.cts +0 -163
  842. package/lib/types/graph/shared/nodes/flow-control.d.mts +0 -163
  843. package/lib/types/graph/shared/nodes/index.d.cts +0 -17
  844. package/lib/types/graph/shared/nodes/index.d.mts +0 -17
  845. package/lib/types/graph/shared/nodes/triggers.d.cts +0 -53
  846. package/lib/types/graph/shared/nodes/triggers.d.mts +0 -53
  847. package/lib/types/graph/shared/types.d.cts +0 -257
  848. package/lib/types/graph/shared/types.d.mts +0 -257
  849. /package/lib/cjs/graph/{shared → engine/runs}/types.cjs +0 -0
  850. /package/lib/esm/graph/{shared → engine/runs}/types.js +0 -0
@@ -0,0 +1,423 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GraphParameterValidator = exports.GRAPH_PLAIN_SECRET_KEYS = void 0;
4
+ exports.checkGraphValueAgainstSchema = checkGraphValueAgainstSchema;
5
+ exports.isGraphCredentialReferenceLike = isGraphCredentialReferenceLike;
6
+ const graph_1 = require("@decaf-ts/ui-decorators/graph");
7
+ /**
8
+ * Checks a JSON value against a {@link GraphValueSchema}.
9
+ *
10
+ * `model` schemas are treated as `object` (property-level checks apply only
11
+ * when a `properties` map is declared).
12
+ */
13
+ function checkGraphValueAgainstSchema(value, schema) {
14
+ if (!schema)
15
+ return { valid: true };
16
+ switch (schema.type) {
17
+ case "any":
18
+ return { valid: true };
19
+ case "string":
20
+ if (typeof value !== "string")
21
+ return notOfType("string");
22
+ return { valid: true };
23
+ case "number": {
24
+ if (typeof value !== "number" || !Number.isFinite(value)) {
25
+ return notOfType("number");
26
+ }
27
+ if (schema.integer && !Number.isInteger(value)) {
28
+ return { valid: false, message: "expected an integer number" };
29
+ }
30
+ if (schema.min !== undefined && value < schema.min) {
31
+ return { valid: false, message: `expected a number >= ${schema.min}` };
32
+ }
33
+ if (schema.max !== undefined && value > schema.max) {
34
+ return { valid: false, message: `expected a number <= ${schema.max}` };
35
+ }
36
+ return { valid: true };
37
+ }
38
+ case "boolean":
39
+ if (typeof value !== "boolean")
40
+ return notOfType("boolean");
41
+ return { valid: true };
42
+ case "array": {
43
+ if (!Array.isArray(value))
44
+ return notOfType("array");
45
+ if (schema.minItems !== undefined && value.length < schema.minItems) {
46
+ return {
47
+ valid: false,
48
+ message: `expected at least ${schema.minItems} items`,
49
+ };
50
+ }
51
+ if (schema.maxItems !== undefined && value.length > schema.maxItems) {
52
+ return {
53
+ valid: false,
54
+ message: `expected at most ${schema.maxItems} items`,
55
+ };
56
+ }
57
+ for (const item of value) {
58
+ const result = checkGraphValueAgainstSchema(item, schema.items);
59
+ if (!result.valid)
60
+ return result;
61
+ }
62
+ return { valid: true };
63
+ }
64
+ case "object":
65
+ case "model": {
66
+ if (value === null || typeof value !== "object" || Array.isArray(value)) {
67
+ return notOfType(schema.type);
68
+ }
69
+ const objectSchema = schema;
70
+ const properties = objectSchema.properties;
71
+ if (!properties)
72
+ return { valid: true };
73
+ for (const [key, propertySchema] of Object.entries(properties)) {
74
+ if (key in value) {
75
+ const result = checkGraphValueAgainstSchema(value[key], propertySchema);
76
+ if (!result.valid) {
77
+ return { valid: false, message: `property '${key}': ${result.message}` };
78
+ }
79
+ }
80
+ }
81
+ if (objectSchema.required) {
82
+ for (const key of objectSchema.required) {
83
+ if (!(key in value)) {
84
+ return {
85
+ valid: false,
86
+ message: `missing required property '${key}'`,
87
+ };
88
+ }
89
+ }
90
+ }
91
+ if (objectSchema.additionalProperties === false) {
92
+ for (const key of Object.keys(value)) {
93
+ if (!(key in properties)) {
94
+ return {
95
+ valid: false,
96
+ message: `unexpected property '${key}'`,
97
+ };
98
+ }
99
+ }
100
+ }
101
+ return { valid: true };
102
+ }
103
+ case "enum":
104
+ if (!schema.values.some((candidate) => candidate === value)) {
105
+ return { valid: false, message: "value is not one of the enum values" };
106
+ }
107
+ return { valid: true };
108
+ default:
109
+ return { valid: true };
110
+ }
111
+ }
112
+ function notOfType(expected) {
113
+ return { valid: false, message: `expected a ${expected} value` };
114
+ }
115
+ /**
116
+ * Returns `true` when the value looks like a plain credential reference
117
+ * (a `credentialId` string, optionally with a `credentialType`).
118
+ */
119
+ function isGraphCredentialReferenceLike(value) {
120
+ if (typeof value === "string")
121
+ return value.length > 0;
122
+ if (!value || typeof value !== "object" || Array.isArray(value))
123
+ return false;
124
+ const record = value;
125
+ return (typeof record["credentialId"] === "string" &&
126
+ record["credentialId"].length > 0 &&
127
+ (record["credentialType"] === undefined ||
128
+ typeof record["credentialType"] === "string"));
129
+ }
130
+ /** Keys never allowed as instance metadata keys. */
131
+ const GRAPH_RESERVED_INSTANCE_METADATA_KEYS = new Set(["loop"]);
132
+ /**
133
+ * Keys that must never carry plain secret material in a workflow document
134
+ * (DECAF-50 §4.8/§4.16 — documents store credential references only).
135
+ */
136
+ exports.GRAPH_PLAIN_SECRET_KEYS = [
137
+ "secret",
138
+ "secrets",
139
+ "password",
140
+ "passwd",
141
+ "token",
142
+ "accessToken",
143
+ "refreshToken",
144
+ "apiKey",
145
+ "api_key",
146
+ "privateKey",
147
+ "credentials",
148
+ ];
149
+ /**
150
+ * Validates the parameters, bindings, metadata, and disabled behavior of a
151
+ * single resolved node instance.
152
+ */
153
+ class GraphParameterValidator {
154
+ /**
155
+ * Validates a node's parameters, instance metadata keys, disabled
156
+ * behavior, and binding shapes against the effective manifest.
157
+ *
158
+ * Called at stage 3 (parameters) with the manifest resolved at stage 2.
159
+ */
160
+ validate(node, manifest, issues, path) {
161
+ this.validateParameters(node, manifest, issues, path);
162
+ this.validateMetadataKeys(node, manifest, issues, path);
163
+ this.validateDisabledBehavior(node, issues, path);
164
+ this.validateBindingShapes(node, manifest, issues, path);
165
+ }
166
+ /**
167
+ * Declared-ness, required presence, typing, and declarative validation
168
+ * rules for parameter values. Validation is visibility-invariant: hidden
169
+ * parameters are validated identically (visibility cannot bypass
170
+ * security-sensitive validation).
171
+ */
172
+ validateParameters(node, manifest, issues, path) {
173
+ const allowUndeclared = manifest.policies?.allowUndeclaredParameters === true;
174
+ const declared = new Map(manifest.parameters.map((parameter) => [parameter.id, parameter]));
175
+ for (const [key, value] of Object.entries(node.parameters ?? {})) {
176
+ const parameter = declared.get(key);
177
+ if (!parameter) {
178
+ if (!allowUndeclared) {
179
+ issues.push({
180
+ code: "parameter.undeclared",
181
+ path: `${path}.parameters.${key}`,
182
+ message: `Node '${node.id}' sets parameter '${key}' which is not declared by kind '${manifest.kind}'`,
183
+ nodeId: node.id,
184
+ details: { kind: manifest.kind },
185
+ });
186
+ }
187
+ continue;
188
+ }
189
+ if (value === undefined) {
190
+ issues.push({
191
+ code: "parameter.invalid",
192
+ path: `${path}.parameters.${key}`,
193
+ message: `Node '${node.id}' parameter '${key}' must not be undefined`,
194
+ nodeId: node.id,
195
+ });
196
+ continue;
197
+ }
198
+ const result = this.checkParameterValue(value, parameter);
199
+ if (!result.valid) {
200
+ issues.push({
201
+ code: "parameter.type-mismatch",
202
+ path: `${path}.parameters.${key}`,
203
+ message: `Node '${node.id}' parameter '${key}' is invalid: ${result.message}`,
204
+ nodeId: node.id,
205
+ details: { expectedType: parameter.type },
206
+ });
207
+ }
208
+ }
209
+ for (const parameter of manifest.parameters) {
210
+ const provided = (node.parameters ?? {})[parameter.id];
211
+ if (provided !== undefined)
212
+ continue;
213
+ const isRequired = parameter.required === true ||
214
+ (parameter.validation ?? []).some((rule) => rule.kind === "required");
215
+ if (isRequired && parameter.defaultValue === undefined) {
216
+ issues.push({
217
+ code: "parameter.required-missing",
218
+ path: `${path}.parameters.${parameter.id}`,
219
+ message: `Node '${node.id}' is missing required parameter '${parameter.id}' declared by kind '${manifest.kind}'`,
220
+ nodeId: node.id,
221
+ });
222
+ }
223
+ }
224
+ }
225
+ /**
226
+ * Type-checks a parameter value against its parameter definition.
227
+ */
228
+ checkParameterValue(value, parameter) {
229
+ switch (parameter.type) {
230
+ case "string":
231
+ case "code":
232
+ case "expression":
233
+ if (typeof value !== "string")
234
+ return notOfType("string");
235
+ return { valid: true };
236
+ case "number":
237
+ if (typeof value !== "number" || !Number.isFinite(value)) {
238
+ return notOfType("number");
239
+ }
240
+ return { valid: true };
241
+ case "boolean":
242
+ if (typeof value !== "boolean")
243
+ return notOfType("boolean");
244
+ return { valid: true };
245
+ case "options": {
246
+ const options = parameter.options;
247
+ if (options && options.length && !options.some((o) => o.value === value)) {
248
+ return { valid: false, message: "value is not one of the declared options" };
249
+ }
250
+ return { valid: true };
251
+ }
252
+ case "collection":
253
+ if (!Array.isArray(value))
254
+ return notOfType("array");
255
+ return { valid: true };
256
+ case "object":
257
+ case "resourceLocator":
258
+ if (value === null || typeof value !== "object" || Array.isArray(value)) {
259
+ return notOfType("object");
260
+ }
261
+ return { valid: true };
262
+ case "credential":
263
+ if (!isGraphCredentialReferenceLike(value)) {
264
+ return {
265
+ valid: false,
266
+ message: "credential parameters must hold a credential reference (credentialId), never a secret",
267
+ };
268
+ }
269
+ if (parameter.credentialType &&
270
+ typeof value === "object" &&
271
+ value.credentialType !== undefined &&
272
+ value.credentialType !== parameter.credentialType) {
273
+ return {
274
+ valid: false,
275
+ message: `credential type '${value.credentialType}' does not match the declared type '${parameter.credentialType}'`,
276
+ };
277
+ }
278
+ return { valid: true };
279
+ case "notice":
280
+ case "hidden":
281
+ return { valid: true };
282
+ default:
283
+ return { valid: true };
284
+ }
285
+ }
286
+ /**
287
+ * Instance metadata keys: unsafe keys and engine-reserved keys are
288
+ * rejected; when the manifest declares an explicit allow-list
289
+ * (`metadata.allowedInstanceMetadataKeys`), only listed keys are allowed.
290
+ */
291
+ validateMetadataKeys(node, manifest, issues, path) {
292
+ const allowedByManifest = manifest.metadata?.["allowedInstanceMetadataKeys"];
293
+ for (const key of Object.keys(node.metadata ?? {})) {
294
+ if (GRAPH_RESERVED_INSTANCE_METADATA_KEYS.has(key)) {
295
+ issues.push({
296
+ code: "metadata.key-not-allowed",
297
+ path: `${path}.metadata.${key}`,
298
+ message: `Node '${node.id}' metadata key '${key}' is reserved and must not be set directly`,
299
+ nodeId: node.id,
300
+ });
301
+ continue;
302
+ }
303
+ if (Array.isArray(allowedByManifest) &&
304
+ !allowedByManifest.includes(key)) {
305
+ issues.push({
306
+ code: "metadata.key-not-allowed",
307
+ path: `${path}.metadata.${key}`,
308
+ message: `Node '${node.id}' metadata key '${key}' is not in the allowed metadata keys of kind '${manifest.kind}'`,
309
+ nodeId: node.id,
310
+ });
311
+ }
312
+ }
313
+ }
314
+ /**
315
+ * Disabled-node behavior must be one of the explicit
316
+ * {@link GRAPH_DISABLED_NODE_BEHAVIORS} values when configured.
317
+ */
318
+ validateDisabledBehavior(node, issues, path) {
319
+ if (node.disabled !== true && node.disabled !== false && node.disabled !== undefined) {
320
+ issues.push({
321
+ code: "disabled.invalid",
322
+ path: `${path}.disabled`,
323
+ message: `Node '${node.id}' disabled flag must be a boolean`,
324
+ nodeId: node.id,
325
+ });
326
+ }
327
+ const behavior = (node.metadata ?? {})["disabledBehavior"];
328
+ if (behavior !== undefined && !(0, graph_1.isGraphDisabledNodeBehavior)(behavior)) {
329
+ issues.push({
330
+ code: "disabled.invalid-behavior",
331
+ path: `${path}.metadata.disabledBehavior`,
332
+ message: `Node '${node.id}' disabled behavior '${String(behavior)}' is not one of: ${graph_1.GRAPH_DISABLED_NODE_BEHAVIORS.join(", ")}`,
333
+ nodeId: node.id,
334
+ });
335
+ }
336
+ }
337
+ /**
338
+ * Binding shape validity: literal bindings must conform to the effective
339
+ * port schema (when declared), expression bindings must be non-empty
340
+ * strings, and binding values must be JSON-safe.
341
+ */
342
+ validateBindingShapes(node, manifest, issues, path) {
343
+ for (const [key, binding] of Object.entries(node.inputBindings ?? {})) {
344
+ if (binding.mode === "literal") {
345
+ const port = manifest.inputs.find((candidate) => candidate.id === key);
346
+ if (port?.schema) {
347
+ const result = checkGraphValueAgainstSchema(binding.value, port.schema);
348
+ if (!result.valid) {
349
+ issues.push({
350
+ code: "binding.literal-invalid",
351
+ path: `${path}.inputBindings.${key}`,
352
+ message: `Node '${node.id}' literal binding for '${key}' is schema-invalid: ${result.message}`,
353
+ nodeId: node.id,
354
+ });
355
+ }
356
+ }
357
+ }
358
+ if (binding.mode === "expression" &&
359
+ (typeof binding.expression !== "string" || !binding.expression.trim())) {
360
+ issues.push({
361
+ code: "binding.expression-invalid",
362
+ path: `${path}.inputBindings.${key}`,
363
+ message: `Node '${node.id}' expression binding for '${key}' must contain a non-empty expression`,
364
+ nodeId: node.id,
365
+ });
366
+ }
367
+ }
368
+ }
369
+ /**
370
+ * Stage-7 binding satisfaction checks: a port with an incoming edge must
371
+ * not also carry a literal binding (unless explicitly allowed), and every
372
+ * required effective input port must be satisfiable (incoming edge,
373
+ * literal, or expression binding).
374
+ */
375
+ validateBindingSatisfaction(node, manifest, incoming, issues, path, options = {}) {
376
+ const edgePorts = new Set(incoming
377
+ .filter((edge) => edge.type === "data")
378
+ .map((edge) => edge.targetPort));
379
+ const boundPorts = new Set(Object.entries(node.inputBindings ?? {}).map(([key]) => key));
380
+ for (const key of edgePorts) {
381
+ const binding = (node.inputBindings ?? {})[key];
382
+ if (binding &&
383
+ binding.mode === "literal" &&
384
+ options.allowLiteralAndEdgeBindings !== true) {
385
+ issues.push({
386
+ code: "binding.conflict",
387
+ path: `${path}.inputBindings.${key}`,
388
+ message: `Node '${node.id}' input '${key}' has both an incoming edge and a literal binding`,
389
+ nodeId: node.id,
390
+ });
391
+ }
392
+ }
393
+ for (const port of manifest.inputs) {
394
+ if (port.required !== true)
395
+ continue;
396
+ if (edgePorts.has(port.id) || boundPorts.has(port.id))
397
+ continue;
398
+ issues.push({
399
+ code: "topology.required-input-unsatisfiable",
400
+ path: `${path}.parameters`,
401
+ message: `Node '${node.id}' required input '${port.id}' has no incoming edge or binding`,
402
+ nodeId: node.id,
403
+ details: { port: port.id },
404
+ });
405
+ }
406
+ }
407
+ /**
408
+ * Resolves the effective disabled-node behavior for a node: instance
409
+ * metadata override, else the document settings, else the default.
410
+ */
411
+ static disabledBehaviorOf(node, settings) {
412
+ const fromNode = (node.metadata ?? {})["disabledBehavior"];
413
+ if ((0, graph_1.isGraphDisabledNodeBehavior)(fromNode))
414
+ return fromNode;
415
+ const fromSettings = settings?.["disabledBehavior"];
416
+ if ((0, graph_1.isGraphDisabledNodeBehavior)(fromSettings))
417
+ return fromSettings;
418
+ return graph_1.GRAPH_DEFAULT_DISABLED_NODE_BEHAVIOR;
419
+ }
420
+ }
421
+ exports.GraphParameterValidator = GraphParameterValidator;
422
+ //# sourceMappingURL=GraphParameterValidator.js.map
423
+ //# sourceMappingURL=GraphParameterValidator.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph/engine/validation/GraphParameterValidator.cjs","sourceRoot":"","sources":["graph/engine/validation/GraphParameterValidator.js"],"names":[],"mappings":";;;AAOA,oEAkGC;AAQD,wEAUC;AA3HD,yDAAkJ;AAClJ;;;;;GAKG;AACH,SAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM;IACtD,IAAI,CAAC,MAAM;QACP,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAC3B,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,KAAK;YACN,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QAC3B,KAAK,QAAQ;YACT,IAAI,OAAO,KAAK,KAAK,QAAQ;gBACzB,OAAO,SAAS,CAAC,QAAQ,CAAC,CAAC;YAC/B,OAAO,EAAE,KAAK,EAAE,IAAI,EAA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AAkB,CAAC,CAAC;QACpD,IAAI,IAAA,mCAA2B,EAAC,YAAY,CAAC;YACzC,OAAO,YAAY,CAAC;QACxB,OAAO,4CAAoC,CAAC;IAChD,CAAC;CACJ;AA3QD,0DA2QC;AACD,mDAAmD"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GraphResolvedWorkflow.js.map
4
+ //# sourceMappingURL=GraphResolvedWorkflow.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph/engine/validation/GraphResolvedWorkflow.cjs","sourceRoot":"","sources":["graph/engine/validation/GraphResolvedWorkflow.js"],"names":[],"mappings":";;AACA,iDAAiD"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GraphCredentialAuthorizationError = exports.GraphConnectionValidationError = exports.GraphDocumentValidationError = void 0;
4
+ /**
5
+ * @module integrations/graph/engine/validation/GraphValidationErrors
6
+ * @summary Normative validation error hierarchy for graph modules (DECAF-50 §4.8).
7
+ * @description Decaf error hierarchy ONLY (constitution §1.1.3): these errors
8
+ * extend the base Decaf errors, never raw `Error`. They are thrown for
9
+ * fail-fast paths (e.g. the engine refusing to execute an invalid document);
10
+ * the nine-stage validator itself accumulates structured
11
+ * {@link GraphValidationIssue}s instead of throwing.
12
+ */
13
+ const core_1 = require("@decaf-ts/core");
14
+ const db_decorators_1 = require("@decaf-ts/db-decorators");
15
+ /**
16
+ * Thrown when a workflow document is structurally or semantically invalid.
17
+ * Carries the structured issues found by the nine-stage validator.
18
+ */
19
+ class GraphDocumentValidationError extends db_decorators_1.ValidationError {
20
+ constructor(message, issues = []) {
21
+ super(message);
22
+ this.issues = issues;
23
+ this.name = GraphDocumentValidationError.name;
24
+ }
25
+ }
26
+ exports.GraphDocumentValidationError = GraphDocumentValidationError;
27
+ /**
28
+ * Thrown when an edge violates connection-policy rules.
29
+ */
30
+ class GraphConnectionValidationError extends db_decorators_1.ValidationError {
31
+ constructor(message, edgeId) {
32
+ super(message);
33
+ this.edgeId = edgeId;
34
+ this.name = GraphConnectionValidationError.name;
35
+ }
36
+ }
37
+ exports.GraphConnectionValidationError = GraphConnectionValidationError;
38
+ /**
39
+ * Thrown when a credential reference fails existence, authorization, or
40
+ * type-match checks.
41
+ */
42
+ class GraphCredentialAuthorizationError extends core_1.AuthorizationError {
43
+ constructor(message) {
44
+ super(message);
45
+ this.name = GraphCredentialAuthorizationError.name;
46
+ }
47
+ }
48
+ exports.GraphCredentialAuthorizationError = GraphCredentialAuthorizationError;
49
+ //# sourceMappingURL=GraphValidationErrors.js.map
50
+ //# sourceMappingURL=GraphValidationErrors.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph/engine/validation/GraphValidationErrors.cjs","sourceRoot":"","sources":["graph/engine/validation/GraphValidationErrors.js"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACH,yCAAoD;AACpD,2DAA0D;AAC1D;;;GAGG;AACH,MAAa,4BAA6B,SAAQ,+BAAe;IAC7D,YAAY,OAAO,EAAE,MAAM,GAAG,EAAE;QAC5B,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAC,IAAI,CAAC;IAClD,CAAC;CACJ;AAND,oEAMC;AACD;;GAEG;AACH,MAAa,8BAA+B,SAAQ,+BAAe;IAC/D,YAAY,OAAO,EAAE,MAAM;QACvB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,8BAA8B,CAAC,IAAI,CAAC;IACpD,CAAC;CACJ;AAND,wEAMC;AACD;;;GAGG;AACH,MAAa,iCAAkC,SAAQ,yBAAkB;IACrE,YAAY,OAAO;QACf,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,iCAAiC,CAAC,IAAI,CAAC;IACvD,CAAC;CACJ;AALD,8EAKC;AACD,iDAAiD"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GraphValidationIssue.js.map
4
+ //# sourceMappingURL=GraphValidationIssue.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph/engine/validation/GraphValidationIssue.cjs","sourceRoot":"","sources":["graph/engine/validation/GraphValidationIssue.js"],"names":[],"mappings":";;AACA,gDAAgD"}