@decaf-ts/integrations 0.3.6 → 0.3.7

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 (878) hide show
  1. package/dist/integrations.cjs +1649 -2
  2. package/dist/integrations.js +1885 -2
  3. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs +2 -2
  4. package/lib/cjs/blob/azure/index.cjs +2 -2
  5. package/lib/cjs/blob/core/BlobErrors.cjs +2 -2
  6. package/lib/cjs/blob/core/BlobKey.cjs +2 -2
  7. package/lib/cjs/blob/core/BlobStoreFactory.cjs +2 -2
  8. package/lib/cjs/blob/core/BlobStoreService.cjs +2 -2
  9. package/lib/cjs/blob/core/BlobTypes.cjs +2 -2
  10. package/lib/cjs/blob/core/BlobValue.cjs +2 -2
  11. package/lib/cjs/blob/core/index.cjs +2 -2
  12. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs +2 -2
  13. package/lib/cjs/blob/gcp/index.cjs +2 -2
  14. package/lib/cjs/blob/index.cjs +2 -2
  15. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +2 -2
  16. package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs +2 -2
  17. package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs +2 -2
  18. package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs +2 -2
  19. package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs +2 -2
  20. package/lib/cjs/blob/ipfs/index.cjs +2 -2
  21. package/lib/cjs/blob/local/LocalBlobStoreService.cjs +2 -2
  22. package/lib/cjs/blob/local/index.cjs +2 -2
  23. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs +2 -2
  24. package/lib/cjs/blob/memory/index.cjs +2 -2
  25. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs +2 -2
  26. package/lib/cjs/blob/s3/R2BlobStoreService.cjs +2 -2
  27. package/lib/cjs/blob/s3/S3BlobStoreService.cjs +2 -2
  28. package/lib/cjs/blob/s3/index.cjs +2 -2
  29. package/lib/cjs/docker/DockerComposeService.cjs +2 -2
  30. package/lib/cjs/docker/index.cjs +2 -2
  31. package/lib/cjs/graph/constants.cjs +2 -2
  32. package/lib/cjs/graph/decorators.cjs +2 -2
  33. package/lib/cjs/graph/errors/GraphCycleError.cjs +2 -2
  34. package/lib/cjs/graph/errors/GraphExecutionError.cjs +2 -2
  35. package/lib/cjs/graph/errors/GraphInputError.cjs +2 -2
  36. package/lib/cjs/graph/errors/GraphLoopLimitError.cjs +2 -2
  37. package/lib/cjs/graph/errors/GraphPinningError.cjs +2 -2
  38. package/lib/cjs/graph/errors/GraphPortError.cjs +2 -2
  39. package/lib/cjs/graph/errors/GraphStoreError.cjs +2 -2
  40. package/lib/cjs/graph/errors/GraphTopologyError.cjs +2 -2
  41. package/lib/cjs/graph/errors/index.cjs +2 -2
  42. package/lib/cjs/graph/events/GraphExecutionEvent.cjs +2 -2
  43. package/lib/cjs/graph/events/GraphExecutionEventEmitter.cjs +2 -2
  44. package/lib/cjs/graph/events/GraphExecutionEventFactory.cjs +2 -2
  45. package/lib/cjs/graph/events/GraphExecutionObserver.cjs +2 -2
  46. package/lib/cjs/graph/events/index.cjs +2 -2
  47. package/lib/cjs/graph/execution/CodeSandboxEvaluator.cjs +2 -2
  48. package/lib/cjs/graph/execution/GraphExecutionContext.cjs +2 -2
  49. package/lib/cjs/graph/execution/GraphExecutionEngine.cjs +2 -2
  50. package/lib/cjs/graph/execution/GraphExecutionFrame.cjs +2 -2
  51. package/lib/cjs/graph/execution/GraphExecutionResult.cjs +2 -2
  52. package/lib/cjs/graph/execution/GraphNodeExecutor.cjs +2 -2
  53. package/lib/cjs/graph/execution/SwitchGraphNodeExecutor.cjs +2 -2
  54. package/lib/cjs/graph/execution/index.cjs +2 -2
  55. package/lib/cjs/graph/index.cjs +2 -2
  56. package/lib/cjs/graph/loops/ConditionExpressionEvaluator.cjs +2 -2
  57. package/lib/cjs/graph/loops/ForeachGraphNodeExecutor.cjs +2 -2
  58. package/lib/cjs/graph/loops/GraphConditionEvaluator.cjs +2 -2
  59. package/lib/cjs/graph/loops/GraphLoopExecutionContext.cjs +2 -2
  60. package/lib/cjs/graph/loops/UntilGraphNodeExecutor.cjs +2 -2
  61. package/lib/cjs/graph/loops/WhileGraphNodeExecutor.cjs +2 -2
  62. package/lib/cjs/graph/loops/index.cjs +2 -2
  63. package/lib/cjs/graph/nodes/agent.cjs +2 -2
  64. package/lib/cjs/graph/nodes/base.cjs +35 -0
  65. package/lib/cjs/graph/nodes/category-styles.cjs +2 -2
  66. package/lib/cjs/graph/nodes/flow-control.cjs +31 -3
  67. package/lib/cjs/graph/nodes/index.cjs +3 -2
  68. package/lib/cjs/graph/nodes/triggers.cjs +2 -2
  69. package/lib/cjs/graph/pinning/GraphPinningDependencyResolver.cjs +2 -2
  70. package/lib/cjs/graph/pinning/GraphPinningMetadata.cjs +2 -2
  71. package/lib/cjs/graph/pinning/GraphPinningPolicy.cjs +2 -2
  72. package/lib/cjs/graph/pinning/GraphPinningService.cjs +2 -2
  73. package/lib/cjs/graph/pinning/index.cjs +2 -2
  74. package/lib/cjs/graph/planning/GraphExecutionPlan.cjs +2 -2
  75. package/lib/cjs/graph/planning/GraphExecutionPlanEdge.cjs +2 -2
  76. package/lib/cjs/graph/planning/GraphExecutionPlanLayer.cjs +2 -2
  77. package/lib/cjs/graph/planning/GraphExecutionPlanNode.cjs +2 -2
  78. package/lib/cjs/graph/planning/GraphExecutionPlanner.cjs +2 -2
  79. package/lib/cjs/graph/planning/GraphRelationResolver.cjs +2 -2
  80. package/lib/cjs/graph/planning/GraphTopology.cjs +2 -2
  81. package/lib/cjs/graph/planning/index.cjs +2 -2
  82. package/lib/cjs/graph/registry/GraphNodeExecutorRegistry.cjs +2 -2
  83. package/lib/cjs/graph/registry/GraphNodeExecutorResolver.cjs +2 -2
  84. package/lib/cjs/graph/registry/index.cjs +2 -2
  85. package/lib/cjs/graph/snapshots/GraphExecutionSnapshotMapper.cjs +2 -2
  86. package/lib/cjs/graph/snapshots/index.cjs +2 -2
  87. package/lib/cjs/graph/store/GraphCachedValue.cjs +2 -2
  88. package/lib/cjs/graph/store/GraphValueKey.cjs +2 -2
  89. package/lib/cjs/graph/store/GraphValueStore.cjs +2 -2
  90. package/lib/cjs/graph/store/GraphValueStoreAdapter.cjs +2 -2
  91. package/lib/cjs/graph/store/InMemoryGraphValueStoreAdapter.cjs +2 -2
  92. package/lib/cjs/graph/store/index.cjs +2 -2
  93. package/lib/cjs/graph/types.cjs +2 -2
  94. package/lib/cjs/graph/validation/GraphDefinitionValidator.cjs +2 -2
  95. package/lib/cjs/graph/validation/GraphPortSchemaResolver.cjs +2 -2
  96. package/lib/cjs/graph/validation/GraphValueValidator.cjs +2 -2
  97. package/lib/cjs/graph/validation/index.cjs +2 -2
  98. package/lib/cjs/index.cjs +6 -5
  99. package/lib/cjs/keycloak/index.cjs +2 -2
  100. package/lib/cjs/keycloak/services/KeycloakAuthService.cjs +2 -2
  101. package/lib/cjs/keycloak/services/KeycloakClientService.cjs +2 -2
  102. package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs +2 -2
  103. package/lib/cjs/keycloak/services/KeycloakRealmService.cjs +2 -2
  104. package/lib/cjs/keycloak/services/KeycloakRoleService.cjs +2 -2
  105. package/lib/cjs/keycloak/services/KeycloakService.cjs +2 -2
  106. package/lib/cjs/keycloak/services/KeycloakUserService.cjs +2 -2
  107. package/lib/cjs/keycloak/services/index.cjs +2 -2
  108. package/lib/cjs/keycloak/services/runtime.cjs +2 -2
  109. package/lib/cjs/keycloak/types.cjs +2 -2
  110. package/lib/cjs/kibana/helpers.cjs +2 -2
  111. package/lib/cjs/kibana/index.cjs +2 -2
  112. package/lib/cjs/kibana/services/KibanaAuthService.cjs +2 -2
  113. package/lib/cjs/kibana/services/KibanaDashboardService.cjs +2 -2
  114. package/lib/cjs/kibana/services/KibanaDataViewService.cjs +2 -2
  115. package/lib/cjs/kibana/services/KibanaRoleService.cjs +2 -2
  116. package/lib/cjs/kibana/services/KibanaService.cjs +2 -2
  117. package/lib/cjs/kibana/services/KibanaSpaceService.cjs +2 -2
  118. package/lib/cjs/kibana/services/KibanaUserService.cjs +2 -2
  119. package/lib/cjs/kibana/services/index.cjs +2 -2
  120. package/lib/cjs/kibana/services/runtime.cjs +2 -2
  121. package/lib/cjs/kibana/types.cjs +2 -2
  122. package/lib/cjs/namespaces/index.cjs +26 -0
  123. package/lib/cjs/namespaces/models/authorization-model.cjs +12 -0
  124. package/lib/cjs/namespaces/models/effective-permission.model.cjs +95 -0
  125. package/lib/cjs/namespaces/models/group-membership.model.cjs +66 -0
  126. package/lib/cjs/namespaces/models/group.model.cjs +74 -0
  127. package/lib/cjs/namespaces/models/index.cjs +39 -0
  128. package/lib/cjs/namespaces/models/inheritance-block.model.cjs +76 -0
  129. package/lib/cjs/namespaces/models/org-unit-closure.model.cjs +66 -0
  130. package/lib/cjs/namespaces/models/org-unit-membership.model.cjs +73 -0
  131. package/lib/cjs/namespaces/models/org-unit-profile.model.cjs +64 -0
  132. package/lib/cjs/namespaces/models/org-unit.model.cjs +102 -0
  133. package/lib/cjs/namespaces/models/permission.model.cjs +64 -0
  134. package/lib/cjs/namespaces/models/principal.model.cjs +77 -0
  135. package/lib/cjs/namespaces/models/protected-resource.model.cjs +99 -0
  136. package/lib/cjs/namespaces/models/resource-grant.model.cjs +88 -0
  137. package/lib/cjs/namespaces/models/role-assignment.model.cjs +98 -0
  138. package/lib/cjs/namespaces/models/role-permission.model.cjs +55 -0
  139. package/lib/cjs/namespaces/models/role.model.cjs +84 -0
  140. package/lib/cjs/namespaces/models/storage-binding.model.cjs +85 -0
  141. package/lib/cjs/namespaces/models/tenant-membership.model.cjs +67 -0
  142. package/lib/cjs/namespaces/models/tenant-profile.model.cjs +64 -0
  143. package/lib/cjs/namespaces/models/tenant.model.cjs +88 -0
  144. package/lib/cjs/namespaces/models/user.model.cjs +75 -0
  145. package/lib/cjs/namespaces/org-based-authorization-system.cjs +286 -0
  146. package/lib/cjs/namespaces/org-based-authorization-system.models.cjs +968 -0
  147. package/lib/cjs/namespaces/org-based-authorization-system.services.cjs +1046 -0
  148. package/lib/cjs/namespaces/services/authz.service.cjs +76 -0
  149. package/lib/cjs/namespaces/services/bootstrap.service.cjs +112 -0
  150. package/lib/cjs/namespaces/services/effective-permission.service.cjs +150 -0
  151. package/lib/cjs/namespaces/services/group-membership.service.cjs +42 -0
  152. package/lib/cjs/namespaces/services/group.service.cjs +30 -0
  153. package/lib/cjs/namespaces/services/index.cjs +42 -0
  154. package/lib/cjs/namespaces/services/inheritance-block.service.cjs +32 -0
  155. package/lib/cjs/namespaces/services/org-unit-closure.service.cjs +55 -0
  156. package/lib/cjs/namespaces/services/org-unit-membership.service.cjs +34 -0
  157. package/lib/cjs/namespaces/services/org-unit-profile.service.cjs +23 -0
  158. package/lib/cjs/namespaces/services/org-unit.service.cjs +160 -0
  159. package/lib/cjs/namespaces/services/permission.service.cjs +29 -0
  160. package/lib/cjs/namespaces/services/principal.service.cjs +35 -0
  161. package/lib/cjs/namespaces/services/protected-resource.service.cjs +43 -0
  162. package/lib/cjs/namespaces/services/resource-grant.service.cjs +45 -0
  163. package/lib/cjs/namespaces/services/resource-lifecycle.service.cjs +24 -0
  164. package/lib/cjs/namespaces/services/role-assignment.service.cjs +41 -0
  165. package/lib/cjs/namespaces/services/role-permission.service.cjs +51 -0
  166. package/lib/cjs/namespaces/services/role.service.cjs +45 -0
  167. package/lib/cjs/namespaces/services/storage-binding.service.cjs +39 -0
  168. package/lib/cjs/namespaces/services/system-management.service.cjs +102 -0
  169. package/lib/cjs/namespaces/services/tenant-membership.service.cjs +33 -0
  170. package/lib/cjs/namespaces/services/tenant-profile.service.cjs +28 -0
  171. package/lib/cjs/namespaces/services/tenant.service.cjs +36 -0
  172. package/lib/cjs/namespaces/services/user.service.cjs +32 -0
  173. package/lib/cjs/namespaces/types.cjs +67 -0
  174. package/lib/cjs/namespaces/utils.cjs +161 -0
  175. package/lib/cjs/nest/authService.cjs +2 -2
  176. package/lib/cjs/nest/graph/GraphExecutionController.cjs +153 -0
  177. package/lib/cjs/nest/graph/GraphExecutionModule.cjs +84 -0
  178. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +82 -0
  179. package/lib/cjs/nest/graph/GraphExecutionResultRepository.cjs +66 -0
  180. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +35 -0
  181. package/lib/cjs/nest/graph/index.cjs +28 -0
  182. package/lib/cjs/nest/index.cjs +3 -2
  183. package/lib/cjs/nest/keycloakAuthHandler.cjs +2 -2
  184. package/lib/cjs/nest/keycloakModule.cjs +2 -2
  185. package/lib/cjs/nest/logging.cjs +2 -2
  186. package/lib/cjs/nest/types.cjs +2 -2
  187. package/lib/cjs/nest/utils.cjs +2 -2
  188. package/lib/cjs/secrets/aws/AwsSecretService.cjs +2 -2
  189. package/lib/cjs/secrets/aws/AwsSecretServiceConfig.cjs +2 -2
  190. package/lib/cjs/secrets/aws/index.cjs +2 -2
  191. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs +2 -2
  192. package/lib/cjs/secrets/azure/AzureKeyVaultSecretServiceConfig.cjs +2 -2
  193. package/lib/cjs/secrets/azure/index.cjs +2 -2
  194. package/lib/cjs/secrets/core/SecretErrors.cjs +2 -2
  195. package/lib/cjs/secrets/core/SecretName.cjs +2 -2
  196. package/lib/cjs/secrets/core/SecretReference.cjs +2 -2
  197. package/lib/cjs/secrets/core/SecretSerialization.cjs +2 -2
  198. package/lib/cjs/secrets/core/SecretService.cjs +2 -2
  199. package/lib/cjs/secrets/core/SecretTypes.cjs +2 -2
  200. package/lib/cjs/secrets/core/index.cjs +2 -2
  201. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs +2 -2
  202. package/lib/cjs/secrets/gcp/GcpSecretManagerServiceConfig.cjs +2 -2
  203. package/lib/cjs/secrets/gcp/index.cjs +2 -2
  204. package/lib/cjs/secrets/index.cjs +2 -2
  205. package/lib/cjs/secrets/model/ModelSecretCrypto.cjs +2 -2
  206. package/lib/cjs/secrets/model/ModelSecretService.cjs +2 -2
  207. package/lib/cjs/secrets/model/ModelSecretServiceConfig.cjs +2 -2
  208. package/lib/cjs/secrets/model/Secret.cjs +2 -2
  209. package/lib/cjs/secrets/model/index.cjs +2 -2
  210. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs +2 -2
  211. package/lib/cjs/secrets/onepassword/OnePasswordSecretServiceConfig.cjs +2 -2
  212. package/lib/cjs/secrets/onepassword/index.cjs +2 -2
  213. package/lib/cjs/secrets/vault/VaultSecretService.cjs +2 -2
  214. package/lib/cjs/secrets/vault/VaultSecretServiceConfig.cjs +2 -2
  215. package/lib/cjs/secrets/vault/index.cjs +2 -2
  216. package/lib/cjs/shared/runtime.cjs +2 -2
  217. package/lib/cjs/utils.cjs +2 -2
  218. package/lib/esm/blob/azure/AzureBlobStoreService.js +1 -1
  219. package/lib/esm/blob/azure/index.js +1 -1
  220. package/lib/esm/blob/core/BlobErrors.js +1 -1
  221. package/lib/esm/blob/core/BlobKey.js +1 -1
  222. package/lib/esm/blob/core/BlobStoreFactory.js +1 -1
  223. package/lib/esm/blob/core/BlobStoreService.js +1 -1
  224. package/lib/esm/blob/core/BlobTypes.js +1 -1
  225. package/lib/esm/blob/core/BlobValue.js +1 -1
  226. package/lib/esm/blob/core/index.js +1 -1
  227. package/lib/esm/blob/gcp/GcsBlobStoreService.js +1 -1
  228. package/lib/esm/blob/gcp/index.js +1 -1
  229. package/lib/esm/blob/index.js +1 -1
  230. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +1 -1
  231. package/lib/esm/blob/ipfs/IpfsKeyIndex.js +1 -1
  232. package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js +1 -1
  233. package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js +1 -1
  234. package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js +1 -1
  235. package/lib/esm/blob/ipfs/index.js +1 -1
  236. package/lib/esm/blob/local/LocalBlobStoreService.js +1 -1
  237. package/lib/esm/blob/local/index.js +1 -1
  238. package/lib/esm/blob/memory/MemoryBlobStoreService.js +1 -1
  239. package/lib/esm/blob/memory/index.js +1 -1
  240. package/lib/esm/blob/s3/MinioBlobStoreService.js +1 -1
  241. package/lib/esm/blob/s3/R2BlobStoreService.js +1 -1
  242. package/lib/esm/blob/s3/S3BlobStoreService.js +1 -1
  243. package/lib/esm/blob/s3/index.js +1 -1
  244. package/lib/esm/docker/DockerComposeService.js +1 -1
  245. package/lib/esm/docker/index.js +1 -1
  246. package/lib/esm/graph/constants.js +1 -1
  247. package/lib/esm/graph/decorators.js +1 -1
  248. package/lib/esm/graph/errors/GraphCycleError.js +1 -1
  249. package/lib/esm/graph/errors/GraphExecutionError.js +1 -1
  250. package/lib/esm/graph/errors/GraphInputError.js +1 -1
  251. package/lib/esm/graph/errors/GraphLoopLimitError.js +1 -1
  252. package/lib/esm/graph/errors/GraphPinningError.js +1 -1
  253. package/lib/esm/graph/errors/GraphPortError.js +1 -1
  254. package/lib/esm/graph/errors/GraphStoreError.js +1 -1
  255. package/lib/esm/graph/errors/GraphTopologyError.js +1 -1
  256. package/lib/esm/graph/errors/index.js +1 -1
  257. package/lib/esm/graph/events/GraphExecutionEvent.js +1 -1
  258. package/lib/esm/graph/events/GraphExecutionEventEmitter.js +1 -1
  259. package/lib/esm/graph/events/GraphExecutionEventFactory.js +1 -1
  260. package/lib/esm/graph/events/GraphExecutionObserver.js +1 -1
  261. package/lib/esm/graph/events/index.js +1 -1
  262. package/lib/esm/graph/execution/CodeSandboxEvaluator.js +1 -1
  263. package/lib/esm/graph/execution/GraphExecutionContext.js +1 -1
  264. package/lib/esm/graph/execution/GraphExecutionEngine.js +1 -1
  265. package/lib/esm/graph/execution/GraphExecutionFrame.js +1 -1
  266. package/lib/esm/graph/execution/GraphExecutionResult.js +1 -1
  267. package/lib/esm/graph/execution/GraphNodeExecutor.js +1 -1
  268. package/lib/esm/graph/execution/SwitchGraphNodeExecutor.js +1 -1
  269. package/lib/esm/graph/execution/index.js +1 -1
  270. package/lib/esm/graph/index.js +1 -1
  271. package/lib/esm/graph/loops/ConditionExpressionEvaluator.js +1 -1
  272. package/lib/esm/graph/loops/ForeachGraphNodeExecutor.js +1 -1
  273. package/lib/esm/graph/loops/GraphConditionEvaluator.js +1 -1
  274. package/lib/esm/graph/loops/GraphLoopExecutionContext.js +1 -1
  275. package/lib/esm/graph/loops/UntilGraphNodeExecutor.js +1 -1
  276. package/lib/esm/graph/loops/WhileGraphNodeExecutor.js +1 -1
  277. package/lib/esm/graph/loops/index.js +1 -1
  278. package/lib/esm/graph/nodes/agent.js +1 -1
  279. package/lib/esm/graph/nodes/base.js +30 -0
  280. package/lib/esm/graph/nodes/category-styles.js +1 -1
  281. package/lib/esm/graph/nodes/flow-control.js +31 -3
  282. package/lib/esm/graph/nodes/index.js +2 -1
  283. package/lib/esm/graph/nodes/triggers.js +1 -1
  284. package/lib/esm/graph/pinning/GraphPinningDependencyResolver.js +1 -1
  285. package/lib/esm/graph/pinning/GraphPinningMetadata.js +1 -1
  286. package/lib/esm/graph/pinning/GraphPinningPolicy.js +1 -1
  287. package/lib/esm/graph/pinning/GraphPinningService.js +1 -1
  288. package/lib/esm/graph/pinning/index.js +1 -1
  289. package/lib/esm/graph/planning/GraphExecutionPlan.js +1 -1
  290. package/lib/esm/graph/planning/GraphExecutionPlanEdge.js +1 -1
  291. package/lib/esm/graph/planning/GraphExecutionPlanLayer.js +1 -1
  292. package/lib/esm/graph/planning/GraphExecutionPlanNode.js +1 -1
  293. package/lib/esm/graph/planning/GraphExecutionPlanner.js +1 -1
  294. package/lib/esm/graph/planning/GraphRelationResolver.js +1 -1
  295. package/lib/esm/graph/planning/GraphTopology.js +1 -1
  296. package/lib/esm/graph/planning/index.js +1 -1
  297. package/lib/esm/graph/registry/GraphNodeExecutorRegistry.js +1 -1
  298. package/lib/esm/graph/registry/GraphNodeExecutorResolver.js +1 -1
  299. package/lib/esm/graph/registry/index.js +1 -1
  300. package/lib/esm/graph/snapshots/GraphExecutionSnapshotMapper.js +1 -1
  301. package/lib/esm/graph/snapshots/index.js +1 -1
  302. package/lib/esm/graph/store/GraphCachedValue.js +1 -1
  303. package/lib/esm/graph/store/GraphValueKey.js +1 -1
  304. package/lib/esm/graph/store/GraphValueStore.js +1 -1
  305. package/lib/esm/graph/store/GraphValueStoreAdapter.js +1 -1
  306. package/lib/esm/graph/store/InMemoryGraphValueStoreAdapter.js +1 -1
  307. package/lib/esm/graph/store/index.js +1 -1
  308. package/lib/esm/graph/types.js +1 -1
  309. package/lib/esm/graph/validation/GraphDefinitionValidator.js +1 -1
  310. package/lib/esm/graph/validation/GraphPortSchemaResolver.js +1 -1
  311. package/lib/esm/graph/validation/GraphValueValidator.js +1 -1
  312. package/lib/esm/graph/validation/index.js +1 -1
  313. package/lib/esm/index.js +5 -4
  314. package/lib/esm/keycloak/index.js +1 -1
  315. package/lib/esm/keycloak/services/KeycloakAuthService.js +1 -1
  316. package/lib/esm/keycloak/services/KeycloakClientService.js +1 -1
  317. package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js +1 -1
  318. package/lib/esm/keycloak/services/KeycloakRealmService.js +1 -1
  319. package/lib/esm/keycloak/services/KeycloakRoleService.js +1 -1
  320. package/lib/esm/keycloak/services/KeycloakService.js +1 -1
  321. package/lib/esm/keycloak/services/KeycloakUserService.js +1 -1
  322. package/lib/esm/keycloak/services/index.js +1 -1
  323. package/lib/esm/keycloak/services/runtime.js +1 -1
  324. package/lib/esm/keycloak/types.js +1 -1
  325. package/lib/esm/kibana/helpers.js +1 -1
  326. package/lib/esm/kibana/index.js +1 -1
  327. package/lib/esm/kibana/services/KibanaAuthService.js +1 -1
  328. package/lib/esm/kibana/services/KibanaDashboardService.js +1 -1
  329. package/lib/esm/kibana/services/KibanaDataViewService.js +1 -1
  330. package/lib/esm/kibana/services/KibanaRoleService.js +1 -1
  331. package/lib/esm/kibana/services/KibanaService.js +1 -1
  332. package/lib/esm/kibana/services/KibanaSpaceService.js +1 -1
  333. package/lib/esm/kibana/services/KibanaUserService.js +1 -1
  334. package/lib/esm/kibana/services/index.js +1 -1
  335. package/lib/esm/kibana/services/runtime.js +1 -1
  336. package/lib/esm/kibana/types.js +1 -1
  337. package/lib/esm/namespaces/index.js +9 -0
  338. package/lib/esm/namespaces/models/authorization-model.js +7 -0
  339. package/lib/esm/namespaces/models/effective-permission.model.js +86 -0
  340. package/lib/esm/namespaces/models/group-membership.model.js +57 -0
  341. package/lib/esm/namespaces/models/group.model.js +65 -0
  342. package/lib/esm/namespaces/models/index.js +22 -0
  343. package/lib/esm/namespaces/models/inheritance-block.model.js +67 -0
  344. package/lib/esm/namespaces/models/org-unit-closure.model.js +57 -0
  345. package/lib/esm/namespaces/models/org-unit-membership.model.js +64 -0
  346. package/lib/esm/namespaces/models/org-unit-profile.model.js +55 -0
  347. package/lib/esm/namespaces/models/org-unit.model.js +93 -0
  348. package/lib/esm/namespaces/models/permission.model.js +55 -0
  349. package/lib/esm/namespaces/models/principal.model.js +68 -0
  350. package/lib/esm/namespaces/models/protected-resource.model.js +90 -0
  351. package/lib/esm/namespaces/models/resource-grant.model.js +79 -0
  352. package/lib/esm/namespaces/models/role-assignment.model.js +89 -0
  353. package/lib/esm/namespaces/models/role-permission.model.js +46 -0
  354. package/lib/esm/namespaces/models/role.model.js +75 -0
  355. package/lib/esm/namespaces/models/storage-binding.model.js +76 -0
  356. package/lib/esm/namespaces/models/tenant-membership.model.js +58 -0
  357. package/lib/esm/namespaces/models/tenant-profile.model.js +55 -0
  358. package/lib/esm/namespaces/models/tenant.model.js +79 -0
  359. package/lib/esm/namespaces/models/user.model.js +66 -0
  360. package/lib/esm/namespaces/org-based-authorization-system.js +283 -0
  361. package/lib/esm/namespaces/org-based-authorization-system.models.js +958 -0
  362. package/lib/esm/namespaces/org-based-authorization-system.services.js +1014 -0
  363. package/lib/esm/namespaces/services/authz.service.js +71 -0
  364. package/lib/esm/namespaces/services/bootstrap.service.js +102 -0
  365. package/lib/esm/namespaces/services/effective-permission.service.js +140 -0
  366. package/lib/esm/namespaces/services/group-membership.service.js +37 -0
  367. package/lib/esm/namespaces/services/group.service.js +25 -0
  368. package/lib/esm/namespaces/services/index.js +25 -0
  369. package/lib/esm/namespaces/services/inheritance-block.service.js +27 -0
  370. package/lib/esm/namespaces/services/org-unit-closure.service.js +50 -0
  371. package/lib/esm/namespaces/services/org-unit-membership.service.js +29 -0
  372. package/lib/esm/namespaces/services/org-unit-profile.service.js +18 -0
  373. package/lib/esm/namespaces/services/org-unit.service.js +150 -0
  374. package/lib/esm/namespaces/services/permission.service.js +24 -0
  375. package/lib/esm/namespaces/services/principal.service.js +30 -0
  376. package/lib/esm/namespaces/services/protected-resource.service.js +38 -0
  377. package/lib/esm/namespaces/services/resource-grant.service.js +40 -0
  378. package/lib/esm/namespaces/services/resource-lifecycle.service.js +19 -0
  379. package/lib/esm/namespaces/services/role-assignment.service.js +36 -0
  380. package/lib/esm/namespaces/services/role-permission.service.js +46 -0
  381. package/lib/esm/namespaces/services/role.service.js +40 -0
  382. package/lib/esm/namespaces/services/storage-binding.service.js +34 -0
  383. package/lib/esm/namespaces/services/system-management.service.js +92 -0
  384. package/lib/esm/namespaces/services/tenant-membership.service.js +28 -0
  385. package/lib/esm/namespaces/services/tenant-profile.service.js +23 -0
  386. package/lib/esm/namespaces/services/tenant.service.js +31 -0
  387. package/lib/esm/namespaces/services/user.service.js +27 -0
  388. package/lib/esm/namespaces/types.js +71 -0
  389. package/lib/esm/namespaces/utils.js +143 -0
  390. package/lib/esm/nest/authService.js +1 -1
  391. package/lib/esm/nest/graph/GraphExecutionController.js +144 -0
  392. package/lib/esm/nest/graph/GraphExecutionModule.js +76 -0
  393. package/lib/esm/nest/graph/GraphExecutionResultModel.js +73 -0
  394. package/lib/esm/nest/graph/GraphExecutionResultRepository.js +60 -0
  395. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +31 -0
  396. package/lib/esm/nest/graph/index.js +11 -0
  397. package/lib/esm/nest/index.js +2 -1
  398. package/lib/esm/nest/keycloakAuthHandler.js +1 -1
  399. package/lib/esm/nest/keycloakModule.js +1 -1
  400. package/lib/esm/nest/logging.js +1 -1
  401. package/lib/esm/nest/types.js +1 -1
  402. package/lib/esm/nest/utils.js +1 -1
  403. package/lib/esm/secrets/aws/AwsSecretService.js +1 -1
  404. package/lib/esm/secrets/aws/AwsSecretServiceConfig.js +1 -1
  405. package/lib/esm/secrets/aws/index.js +1 -1
  406. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js +1 -1
  407. package/lib/esm/secrets/azure/AzureKeyVaultSecretServiceConfig.js +1 -1
  408. package/lib/esm/secrets/azure/index.js +1 -1
  409. package/lib/esm/secrets/core/SecretErrors.js +1 -1
  410. package/lib/esm/secrets/core/SecretName.js +1 -1
  411. package/lib/esm/secrets/core/SecretReference.js +1 -1
  412. package/lib/esm/secrets/core/SecretSerialization.js +1 -1
  413. package/lib/esm/secrets/core/SecretService.js +1 -1
  414. package/lib/esm/secrets/core/SecretTypes.js +1 -1
  415. package/lib/esm/secrets/core/index.js +1 -1
  416. package/lib/esm/secrets/gcp/GcpSecretManagerService.js +1 -1
  417. package/lib/esm/secrets/gcp/GcpSecretManagerServiceConfig.js +1 -1
  418. package/lib/esm/secrets/gcp/index.js +1 -1
  419. package/lib/esm/secrets/index.js +1 -1
  420. package/lib/esm/secrets/model/ModelSecretCrypto.js +1 -1
  421. package/lib/esm/secrets/model/ModelSecretService.js +1 -1
  422. package/lib/esm/secrets/model/ModelSecretServiceConfig.js +1 -1
  423. package/lib/esm/secrets/model/Secret.js +1 -1
  424. package/lib/esm/secrets/model/index.js +1 -1
  425. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js +1 -1
  426. package/lib/esm/secrets/onepassword/OnePasswordSecretServiceConfig.js +1 -1
  427. package/lib/esm/secrets/onepassword/index.js +1 -1
  428. package/lib/esm/secrets/vault/VaultSecretService.js +1 -1
  429. package/lib/esm/secrets/vault/VaultSecretServiceConfig.js +1 -1
  430. package/lib/esm/secrets/vault/index.js +1 -1
  431. package/lib/esm/shared/runtime.js +1 -1
  432. package/lib/esm/utils.js +1 -1
  433. package/lib/types/graph/nodes/base.d.cts +28 -0
  434. package/lib/types/graph/nodes/base.d.mts +28 -0
  435. package/lib/types/graph/nodes/flow-control.d.cts +9 -1
  436. package/lib/types/graph/nodes/flow-control.d.mts +9 -1
  437. package/lib/types/graph/nodes/index.d.cts +1 -0
  438. package/lib/types/graph/nodes/index.d.mts +1 -0
  439. package/lib/types/graph/types.d.cts +15 -1
  440. package/lib/types/graph/types.d.mts +15 -1
  441. package/lib/types/index.d.cts +3 -2
  442. package/lib/types/index.d.mts +3 -2
  443. package/lib/types/namespaces/index.d.cts +8 -0
  444. package/lib/types/namespaces/index.d.mts +8 -0
  445. package/lib/types/namespaces/models/authorization-model.d.cts +4 -0
  446. package/lib/types/namespaces/models/authorization-model.d.mts +4 -0
  447. package/lib/types/namespaces/models/effective-permission.model.d.cts +18 -0
  448. package/lib/types/namespaces/models/effective-permission.model.d.mts +18 -0
  449. package/lib/types/namespaces/models/group-membership.model.d.cts +13 -0
  450. package/lib/types/namespaces/models/group-membership.model.d.mts +13 -0
  451. package/lib/types/namespaces/models/group.model.d.cts +15 -0
  452. package/lib/types/namespaces/models/group.model.d.mts +15 -0
  453. package/lib/types/namespaces/models/index.d.cts +21 -0
  454. package/lib/types/namespaces/models/index.d.mts +21 -0
  455. package/lib/types/namespaces/models/inheritance-block.model.d.cts +15 -0
  456. package/lib/types/namespaces/models/inheritance-block.model.d.mts +15 -0
  457. package/lib/types/namespaces/models/org-unit-closure.model.d.cts +12 -0
  458. package/lib/types/namespaces/models/org-unit-closure.model.d.mts +12 -0
  459. package/lib/types/namespaces/models/org-unit-membership.model.d.cts +15 -0
  460. package/lib/types/namespaces/models/org-unit-membership.model.d.mts +15 -0
  461. package/lib/types/namespaces/models/org-unit-profile.model.d.cts +11 -0
  462. package/lib/types/namespaces/models/org-unit-profile.model.d.mts +11 -0
  463. package/lib/types/namespaces/models/org-unit.model.d.cts +23 -0
  464. package/lib/types/namespaces/models/org-unit.model.d.mts +23 -0
  465. package/lib/types/namespaces/models/permission.model.d.cts +11 -0
  466. package/lib/types/namespaces/models/permission.model.d.mts +11 -0
  467. package/lib/types/namespaces/models/principal.model.d.cts +16 -0
  468. package/lib/types/namespaces/models/principal.model.d.mts +16 -0
  469. package/lib/types/namespaces/models/protected-resource.model.d.cts +21 -0
  470. package/lib/types/namespaces/models/protected-resource.model.d.mts +21 -0
  471. package/lib/types/namespaces/models/resource-grant.model.d.cts +18 -0
  472. package/lib/types/namespaces/models/resource-grant.model.d.mts +18 -0
  473. package/lib/types/namespaces/models/role-assignment.model.d.cts +20 -0
  474. package/lib/types/namespaces/models/role-assignment.model.d.mts +20 -0
  475. package/lib/types/namespaces/models/role-permission.model.d.cts +10 -0
  476. package/lib/types/namespaces/models/role-permission.model.d.mts +10 -0
  477. package/lib/types/namespaces/models/role.model.d.cts +17 -0
  478. package/lib/types/namespaces/models/role.model.d.mts +17 -0
  479. package/lib/types/namespaces/models/storage-binding.model.d.cts +15 -0
  480. package/lib/types/namespaces/models/storage-binding.model.d.mts +15 -0
  481. package/lib/types/namespaces/models/tenant-membership.model.d.cts +13 -0
  482. package/lib/types/namespaces/models/tenant-membership.model.d.mts +13 -0
  483. package/lib/types/namespaces/models/tenant-profile.model.d.cts +11 -0
  484. package/lib/types/namespaces/models/tenant-profile.model.d.mts +11 -0
  485. package/lib/types/namespaces/models/tenant.model.d.cts +19 -0
  486. package/lib/types/namespaces/models/tenant.model.d.mts +19 -0
  487. package/lib/types/namespaces/models/user.model.d.cts +14 -0
  488. package/lib/types/namespaces/models/user.model.d.mts +14 -0
  489. package/lib/types/namespaces/org-based-authorization-system.d.cts +299 -0
  490. package/lib/types/namespaces/org-based-authorization-system.d.mts +299 -0
  491. package/lib/types/namespaces/org-based-authorization-system.models.d.cts +212 -0
  492. package/lib/types/namespaces/org-based-authorization-system.models.d.mts +212 -0
  493. package/lib/types/namespaces/org-based-authorization-system.services.d.cts +217 -0
  494. package/lib/types/namespaces/org-based-authorization-system.services.d.mts +217 -0
  495. package/lib/types/namespaces/services/authz.service.d.cts +10 -0
  496. package/lib/types/namespaces/services/authz.service.d.mts +10 -0
  497. package/lib/types/namespaces/services/bootstrap.service.d.cts +21 -0
  498. package/lib/types/namespaces/services/bootstrap.service.d.mts +21 -0
  499. package/lib/types/namespaces/services/effective-permission.service.d.cts +13 -0
  500. package/lib/types/namespaces/services/effective-permission.service.d.mts +13 -0
  501. package/lib/types/namespaces/services/group-membership.service.d.cts +10 -0
  502. package/lib/types/namespaces/services/group-membership.service.d.mts +10 -0
  503. package/lib/types/namespaces/services/group.service.d.cts +9 -0
  504. package/lib/types/namespaces/services/group.service.d.mts +9 -0
  505. package/lib/types/namespaces/services/index.d.cts +24 -0
  506. package/lib/types/namespaces/services/index.d.mts +24 -0
  507. package/lib/types/namespaces/services/inheritance-block.service.d.cts +10 -0
  508. package/lib/types/namespaces/services/inheritance-block.service.d.mts +10 -0
  509. package/lib/types/namespaces/services/org-unit-closure.service.d.cts +11 -0
  510. package/lib/types/namespaces/services/org-unit-closure.service.d.mts +11 -0
  511. package/lib/types/namespaces/services/org-unit-membership.service.d.cts +11 -0
  512. package/lib/types/namespaces/services/org-unit-membership.service.d.mts +11 -0
  513. package/lib/types/namespaces/services/org-unit-profile.service.d.cts +7 -0
  514. package/lib/types/namespaces/services/org-unit-profile.service.d.mts +7 -0
  515. package/lib/types/namespaces/services/org-unit.service.d.cts +18 -0
  516. package/lib/types/namespaces/services/org-unit.service.d.mts +18 -0
  517. package/lib/types/namespaces/services/permission.service.d.cts +10 -0
  518. package/lib/types/namespaces/services/permission.service.d.mts +10 -0
  519. package/lib/types/namespaces/services/principal.service.d.cts +11 -0
  520. package/lib/types/namespaces/services/principal.service.d.mts +11 -0
  521. package/lib/types/namespaces/services/protected-resource.service.d.cts +13 -0
  522. package/lib/types/namespaces/services/protected-resource.service.d.mts +13 -0
  523. package/lib/types/namespaces/services/resource-grant.service.d.cts +12 -0
  524. package/lib/types/namespaces/services/resource-grant.service.d.mts +12 -0
  525. package/lib/types/namespaces/services/resource-lifecycle.service.d.cts +10 -0
  526. package/lib/types/namespaces/services/resource-lifecycle.service.d.mts +10 -0
  527. package/lib/types/namespaces/services/role-assignment.service.d.cts +12 -0
  528. package/lib/types/namespaces/services/role-assignment.service.d.mts +12 -0
  529. package/lib/types/namespaces/services/role-permission.service.d.cts +12 -0
  530. package/lib/types/namespaces/services/role-permission.service.d.mts +12 -0
  531. package/lib/types/namespaces/services/role.service.d.cts +12 -0
  532. package/lib/types/namespaces/services/role.service.d.mts +12 -0
  533. package/lib/types/namespaces/services/storage-binding.service.d.cts +12 -0
  534. package/lib/types/namespaces/services/storage-binding.service.d.mts +12 -0
  535. package/lib/types/namespaces/services/system-management.service.d.cts +14 -0
  536. package/lib/types/namespaces/services/system-management.service.d.mts +14 -0
  537. package/lib/types/namespaces/services/tenant-membership.service.d.cts +11 -0
  538. package/lib/types/namespaces/services/tenant-membership.service.d.mts +11 -0
  539. package/lib/types/namespaces/services/tenant-profile.service.d.cts +8 -0
  540. package/lib/types/namespaces/services/tenant-profile.service.d.mts +8 -0
  541. package/lib/types/namespaces/services/tenant.service.d.cts +12 -0
  542. package/lib/types/namespaces/services/tenant.service.d.mts +12 -0
  543. package/lib/types/namespaces/services/user.service.d.cts +11 -0
  544. package/lib/types/namespaces/services/user.service.d.mts +11 -0
  545. package/lib/types/namespaces/types.d.cts +230 -0
  546. package/lib/types/namespaces/types.d.mts +230 -0
  547. package/lib/types/namespaces/utils.d.cts +68 -0
  548. package/lib/types/namespaces/utils.d.mts +68 -0
  549. package/lib/types/nest/graph/GraphExecutionController.d.cts +62 -0
  550. package/lib/types/nest/graph/GraphExecutionController.d.mts +62 -0
  551. package/lib/types/nest/graph/GraphExecutionModule.d.cts +39 -0
  552. package/lib/types/nest/graph/GraphExecutionModule.d.mts +39 -0
  553. package/lib/types/nest/graph/GraphExecutionResultModel.d.cts +46 -0
  554. package/lib/types/nest/graph/GraphExecutionResultModel.d.mts +46 -0
  555. package/lib/types/nest/graph/GraphExecutionResultRepository.d.cts +38 -0
  556. package/lib/types/nest/graph/GraphExecutionResultRepository.d.mts +38 -0
  557. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +17 -0
  558. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +17 -0
  559. package/lib/types/nest/graph/index.d.cts +10 -0
  560. package/lib/types/nest/graph/index.d.mts +10 -0
  561. package/lib/types/nest/index.d.cts +1 -0
  562. package/lib/types/nest/index.d.mts +1 -0
  563. package/package.json +16 -5
  564. package/sql/001_constraints.sql +11 -0
  565. package/sql/002_rls.sql +20 -0
  566. package/sql/003_indexes.sql +2 -0
  567. package/dist/integrations.cjs.map +0 -1
  568. package/dist/integrations.js.map +0 -1
  569. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs.map +0 -1
  570. package/lib/cjs/blob/azure/index.cjs.map +0 -1
  571. package/lib/cjs/blob/core/BlobErrors.cjs.map +0 -1
  572. package/lib/cjs/blob/core/BlobKey.cjs.map +0 -1
  573. package/lib/cjs/blob/core/BlobStoreFactory.cjs.map +0 -1
  574. package/lib/cjs/blob/core/BlobStoreService.cjs.map +0 -1
  575. package/lib/cjs/blob/core/BlobTypes.cjs.map +0 -1
  576. package/lib/cjs/blob/core/BlobValue.cjs.map +0 -1
  577. package/lib/cjs/blob/core/index.cjs.map +0 -1
  578. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs.map +0 -1
  579. package/lib/cjs/blob/gcp/index.cjs.map +0 -1
  580. package/lib/cjs/blob/index.cjs.map +0 -1
  581. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +0 -1
  582. package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs.map +0 -1
  583. package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs.map +0 -1
  584. package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs.map +0 -1
  585. package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs.map +0 -1
  586. package/lib/cjs/blob/ipfs/index.cjs.map +0 -1
  587. package/lib/cjs/blob/local/LocalBlobStoreService.cjs.map +0 -1
  588. package/lib/cjs/blob/local/index.cjs.map +0 -1
  589. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs.map +0 -1
  590. package/lib/cjs/blob/memory/index.cjs.map +0 -1
  591. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs.map +0 -1
  592. package/lib/cjs/blob/s3/R2BlobStoreService.cjs.map +0 -1
  593. package/lib/cjs/blob/s3/S3BlobStoreService.cjs.map +0 -1
  594. package/lib/cjs/blob/s3/index.cjs.map +0 -1
  595. package/lib/cjs/docker/DockerComposeService.cjs.map +0 -1
  596. package/lib/cjs/docker/index.cjs.map +0 -1
  597. package/lib/cjs/graph/constants.cjs.map +0 -1
  598. package/lib/cjs/graph/decorators.cjs.map +0 -1
  599. package/lib/cjs/graph/errors/GraphCycleError.cjs.map +0 -1
  600. package/lib/cjs/graph/errors/GraphExecutionError.cjs.map +0 -1
  601. package/lib/cjs/graph/errors/GraphInputError.cjs.map +0 -1
  602. package/lib/cjs/graph/errors/GraphLoopLimitError.cjs.map +0 -1
  603. package/lib/cjs/graph/errors/GraphPinningError.cjs.map +0 -1
  604. package/lib/cjs/graph/errors/GraphPortError.cjs.map +0 -1
  605. package/lib/cjs/graph/errors/GraphStoreError.cjs.map +0 -1
  606. package/lib/cjs/graph/errors/GraphTopologyError.cjs.map +0 -1
  607. package/lib/cjs/graph/errors/index.cjs.map +0 -1
  608. package/lib/cjs/graph/events/GraphExecutionEvent.cjs.map +0 -1
  609. package/lib/cjs/graph/events/GraphExecutionEventEmitter.cjs.map +0 -1
  610. package/lib/cjs/graph/events/GraphExecutionEventFactory.cjs.map +0 -1
  611. package/lib/cjs/graph/events/GraphExecutionObserver.cjs.map +0 -1
  612. package/lib/cjs/graph/events/index.cjs.map +0 -1
  613. package/lib/cjs/graph/execution/CodeSandboxEvaluator.cjs.map +0 -1
  614. package/lib/cjs/graph/execution/GraphExecutionContext.cjs.map +0 -1
  615. package/lib/cjs/graph/execution/GraphExecutionEngine.cjs.map +0 -1
  616. package/lib/cjs/graph/execution/GraphExecutionFrame.cjs.map +0 -1
  617. package/lib/cjs/graph/execution/GraphExecutionResult.cjs.map +0 -1
  618. package/lib/cjs/graph/execution/GraphNodeExecutor.cjs.map +0 -1
  619. package/lib/cjs/graph/execution/SwitchGraphNodeExecutor.cjs.map +0 -1
  620. package/lib/cjs/graph/execution/index.cjs.map +0 -1
  621. package/lib/cjs/graph/index.cjs.map +0 -1
  622. package/lib/cjs/graph/loops/ConditionExpressionEvaluator.cjs.map +0 -1
  623. package/lib/cjs/graph/loops/ForeachGraphNodeExecutor.cjs.map +0 -1
  624. package/lib/cjs/graph/loops/GraphConditionEvaluator.cjs.map +0 -1
  625. package/lib/cjs/graph/loops/GraphLoopExecutionContext.cjs.map +0 -1
  626. package/lib/cjs/graph/loops/UntilGraphNodeExecutor.cjs.map +0 -1
  627. package/lib/cjs/graph/loops/WhileGraphNodeExecutor.cjs.map +0 -1
  628. package/lib/cjs/graph/loops/index.cjs.map +0 -1
  629. package/lib/cjs/graph/nodes/agent.cjs.map +0 -1
  630. package/lib/cjs/graph/nodes/category-styles.cjs.map +0 -1
  631. package/lib/cjs/graph/nodes/flow-control.cjs.map +0 -1
  632. package/lib/cjs/graph/nodes/index.cjs.map +0 -1
  633. package/lib/cjs/graph/nodes/triggers.cjs.map +0 -1
  634. package/lib/cjs/graph/pinning/GraphPinningDependencyResolver.cjs.map +0 -1
  635. package/lib/cjs/graph/pinning/GraphPinningMetadata.cjs.map +0 -1
  636. package/lib/cjs/graph/pinning/GraphPinningPolicy.cjs.map +0 -1
  637. package/lib/cjs/graph/pinning/GraphPinningService.cjs.map +0 -1
  638. package/lib/cjs/graph/pinning/index.cjs.map +0 -1
  639. package/lib/cjs/graph/planning/GraphExecutionPlan.cjs.map +0 -1
  640. package/lib/cjs/graph/planning/GraphExecutionPlanEdge.cjs.map +0 -1
  641. package/lib/cjs/graph/planning/GraphExecutionPlanLayer.cjs.map +0 -1
  642. package/lib/cjs/graph/planning/GraphExecutionPlanNode.cjs.map +0 -1
  643. package/lib/cjs/graph/planning/GraphExecutionPlanner.cjs.map +0 -1
  644. package/lib/cjs/graph/planning/GraphRelationResolver.cjs.map +0 -1
  645. package/lib/cjs/graph/planning/GraphTopology.cjs.map +0 -1
  646. package/lib/cjs/graph/planning/index.cjs.map +0 -1
  647. package/lib/cjs/graph/registry/GraphNodeExecutorRegistry.cjs.map +0 -1
  648. package/lib/cjs/graph/registry/GraphNodeExecutorResolver.cjs.map +0 -1
  649. package/lib/cjs/graph/registry/index.cjs.map +0 -1
  650. package/lib/cjs/graph/snapshots/GraphExecutionSnapshotMapper.cjs.map +0 -1
  651. package/lib/cjs/graph/snapshots/index.cjs.map +0 -1
  652. package/lib/cjs/graph/store/GraphCachedValue.cjs.map +0 -1
  653. package/lib/cjs/graph/store/GraphValueKey.cjs.map +0 -1
  654. package/lib/cjs/graph/store/GraphValueStore.cjs.map +0 -1
  655. package/lib/cjs/graph/store/GraphValueStoreAdapter.cjs.map +0 -1
  656. package/lib/cjs/graph/store/InMemoryGraphValueStoreAdapter.cjs.map +0 -1
  657. package/lib/cjs/graph/store/index.cjs.map +0 -1
  658. package/lib/cjs/graph/types.cjs.map +0 -1
  659. package/lib/cjs/graph/validation/GraphDefinitionValidator.cjs.map +0 -1
  660. package/lib/cjs/graph/validation/GraphPortSchemaResolver.cjs.map +0 -1
  661. package/lib/cjs/graph/validation/GraphValueValidator.cjs.map +0 -1
  662. package/lib/cjs/graph/validation/index.cjs.map +0 -1
  663. package/lib/cjs/index.cjs.map +0 -1
  664. package/lib/cjs/keycloak/index.cjs.map +0 -1
  665. package/lib/cjs/keycloak/services/KeycloakAuthService.cjs.map +0 -1
  666. package/lib/cjs/keycloak/services/KeycloakClientService.cjs.map +0 -1
  667. package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs.map +0 -1
  668. package/lib/cjs/keycloak/services/KeycloakRealmService.cjs.map +0 -1
  669. package/lib/cjs/keycloak/services/KeycloakRoleService.cjs.map +0 -1
  670. package/lib/cjs/keycloak/services/KeycloakService.cjs.map +0 -1
  671. package/lib/cjs/keycloak/services/KeycloakUserService.cjs.map +0 -1
  672. package/lib/cjs/keycloak/services/index.cjs.map +0 -1
  673. package/lib/cjs/keycloak/services/runtime.cjs.map +0 -1
  674. package/lib/cjs/keycloak/types.cjs.map +0 -1
  675. package/lib/cjs/kibana/helpers.cjs.map +0 -1
  676. package/lib/cjs/kibana/index.cjs.map +0 -1
  677. package/lib/cjs/kibana/services/KibanaAuthService.cjs.map +0 -1
  678. package/lib/cjs/kibana/services/KibanaDashboardService.cjs.map +0 -1
  679. package/lib/cjs/kibana/services/KibanaDataViewService.cjs.map +0 -1
  680. package/lib/cjs/kibana/services/KibanaRoleService.cjs.map +0 -1
  681. package/lib/cjs/kibana/services/KibanaService.cjs.map +0 -1
  682. package/lib/cjs/kibana/services/KibanaSpaceService.cjs.map +0 -1
  683. package/lib/cjs/kibana/services/KibanaUserService.cjs.map +0 -1
  684. package/lib/cjs/kibana/services/index.cjs.map +0 -1
  685. package/lib/cjs/kibana/services/runtime.cjs.map +0 -1
  686. package/lib/cjs/kibana/types.cjs.map +0 -1
  687. package/lib/cjs/nest/authService.cjs.map +0 -1
  688. package/lib/cjs/nest/index.cjs.map +0 -1
  689. package/lib/cjs/nest/keycloakAuthHandler.cjs.map +0 -1
  690. package/lib/cjs/nest/keycloakModule.cjs.map +0 -1
  691. package/lib/cjs/nest/logging.cjs.map +0 -1
  692. package/lib/cjs/nest/types.cjs.map +0 -1
  693. package/lib/cjs/nest/utils.cjs.map +0 -1
  694. package/lib/cjs/secrets/aws/AwsSecretService.cjs.map +0 -1
  695. package/lib/cjs/secrets/aws/AwsSecretServiceConfig.cjs.map +0 -1
  696. package/lib/cjs/secrets/aws/index.cjs.map +0 -1
  697. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs.map +0 -1
  698. package/lib/cjs/secrets/azure/AzureKeyVaultSecretServiceConfig.cjs.map +0 -1
  699. package/lib/cjs/secrets/azure/index.cjs.map +0 -1
  700. package/lib/cjs/secrets/core/SecretErrors.cjs.map +0 -1
  701. package/lib/cjs/secrets/core/SecretName.cjs.map +0 -1
  702. package/lib/cjs/secrets/core/SecretReference.cjs.map +0 -1
  703. package/lib/cjs/secrets/core/SecretSerialization.cjs.map +0 -1
  704. package/lib/cjs/secrets/core/SecretService.cjs.map +0 -1
  705. package/lib/cjs/secrets/core/SecretTypes.cjs.map +0 -1
  706. package/lib/cjs/secrets/core/index.cjs.map +0 -1
  707. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs.map +0 -1
  708. package/lib/cjs/secrets/gcp/GcpSecretManagerServiceConfig.cjs.map +0 -1
  709. package/lib/cjs/secrets/gcp/index.cjs.map +0 -1
  710. package/lib/cjs/secrets/index.cjs.map +0 -1
  711. package/lib/cjs/secrets/model/ModelSecretCrypto.cjs.map +0 -1
  712. package/lib/cjs/secrets/model/ModelSecretService.cjs.map +0 -1
  713. package/lib/cjs/secrets/model/ModelSecretServiceConfig.cjs.map +0 -1
  714. package/lib/cjs/secrets/model/Secret.cjs.map +0 -1
  715. package/lib/cjs/secrets/model/index.cjs.map +0 -1
  716. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs.map +0 -1
  717. package/lib/cjs/secrets/onepassword/OnePasswordSecretServiceConfig.cjs.map +0 -1
  718. package/lib/cjs/secrets/onepassword/index.cjs.map +0 -1
  719. package/lib/cjs/secrets/vault/VaultSecretService.cjs.map +0 -1
  720. package/lib/cjs/secrets/vault/VaultSecretServiceConfig.cjs.map +0 -1
  721. package/lib/cjs/secrets/vault/index.cjs.map +0 -1
  722. package/lib/cjs/shared/runtime.cjs.map +0 -1
  723. package/lib/cjs/utils.cjs.map +0 -1
  724. package/lib/esm/blob/azure/AzureBlobStoreService.js.map +0 -1
  725. package/lib/esm/blob/azure/index.js.map +0 -1
  726. package/lib/esm/blob/core/BlobErrors.js.map +0 -1
  727. package/lib/esm/blob/core/BlobKey.js.map +0 -1
  728. package/lib/esm/blob/core/BlobStoreFactory.js.map +0 -1
  729. package/lib/esm/blob/core/BlobStoreService.js.map +0 -1
  730. package/lib/esm/blob/core/BlobTypes.js.map +0 -1
  731. package/lib/esm/blob/core/BlobValue.js.map +0 -1
  732. package/lib/esm/blob/core/index.js.map +0 -1
  733. package/lib/esm/blob/gcp/GcsBlobStoreService.js.map +0 -1
  734. package/lib/esm/blob/gcp/index.js.map +0 -1
  735. package/lib/esm/blob/index.js.map +0 -1
  736. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +0 -1
  737. package/lib/esm/blob/ipfs/IpfsKeyIndex.js.map +0 -1
  738. package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js.map +0 -1
  739. package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js.map +0 -1
  740. package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js.map +0 -1
  741. package/lib/esm/blob/ipfs/index.js.map +0 -1
  742. package/lib/esm/blob/local/LocalBlobStoreService.js.map +0 -1
  743. package/lib/esm/blob/local/index.js.map +0 -1
  744. package/lib/esm/blob/memory/MemoryBlobStoreService.js.map +0 -1
  745. package/lib/esm/blob/memory/index.js.map +0 -1
  746. package/lib/esm/blob/s3/MinioBlobStoreService.js.map +0 -1
  747. package/lib/esm/blob/s3/R2BlobStoreService.js.map +0 -1
  748. package/lib/esm/blob/s3/S3BlobStoreService.js.map +0 -1
  749. package/lib/esm/blob/s3/index.js.map +0 -1
  750. package/lib/esm/docker/DockerComposeService.js.map +0 -1
  751. package/lib/esm/docker/index.js.map +0 -1
  752. package/lib/esm/graph/constants.js.map +0 -1
  753. package/lib/esm/graph/decorators.js.map +0 -1
  754. package/lib/esm/graph/errors/GraphCycleError.js.map +0 -1
  755. package/lib/esm/graph/errors/GraphExecutionError.js.map +0 -1
  756. package/lib/esm/graph/errors/GraphInputError.js.map +0 -1
  757. package/lib/esm/graph/errors/GraphLoopLimitError.js.map +0 -1
  758. package/lib/esm/graph/errors/GraphPinningError.js.map +0 -1
  759. package/lib/esm/graph/errors/GraphPortError.js.map +0 -1
  760. package/lib/esm/graph/errors/GraphStoreError.js.map +0 -1
  761. package/lib/esm/graph/errors/GraphTopologyError.js.map +0 -1
  762. package/lib/esm/graph/errors/index.js.map +0 -1
  763. package/lib/esm/graph/events/GraphExecutionEvent.js.map +0 -1
  764. package/lib/esm/graph/events/GraphExecutionEventEmitter.js.map +0 -1
  765. package/lib/esm/graph/events/GraphExecutionEventFactory.js.map +0 -1
  766. package/lib/esm/graph/events/GraphExecutionObserver.js.map +0 -1
  767. package/lib/esm/graph/events/index.js.map +0 -1
  768. package/lib/esm/graph/execution/CodeSandboxEvaluator.js.map +0 -1
  769. package/lib/esm/graph/execution/GraphExecutionContext.js.map +0 -1
  770. package/lib/esm/graph/execution/GraphExecutionEngine.js.map +0 -1
  771. package/lib/esm/graph/execution/GraphExecutionFrame.js.map +0 -1
  772. package/lib/esm/graph/execution/GraphExecutionResult.js.map +0 -1
  773. package/lib/esm/graph/execution/GraphNodeExecutor.js.map +0 -1
  774. package/lib/esm/graph/execution/SwitchGraphNodeExecutor.js.map +0 -1
  775. package/lib/esm/graph/execution/index.js.map +0 -1
  776. package/lib/esm/graph/index.js.map +0 -1
  777. package/lib/esm/graph/loops/ConditionExpressionEvaluator.js.map +0 -1
  778. package/lib/esm/graph/loops/ForeachGraphNodeExecutor.js.map +0 -1
  779. package/lib/esm/graph/loops/GraphConditionEvaluator.js.map +0 -1
  780. package/lib/esm/graph/loops/GraphLoopExecutionContext.js.map +0 -1
  781. package/lib/esm/graph/loops/UntilGraphNodeExecutor.js.map +0 -1
  782. package/lib/esm/graph/loops/WhileGraphNodeExecutor.js.map +0 -1
  783. package/lib/esm/graph/loops/index.js.map +0 -1
  784. package/lib/esm/graph/nodes/agent.js.map +0 -1
  785. package/lib/esm/graph/nodes/category-styles.js.map +0 -1
  786. package/lib/esm/graph/nodes/flow-control.js.map +0 -1
  787. package/lib/esm/graph/nodes/index.js.map +0 -1
  788. package/lib/esm/graph/nodes/triggers.js.map +0 -1
  789. package/lib/esm/graph/pinning/GraphPinningDependencyResolver.js.map +0 -1
  790. package/lib/esm/graph/pinning/GraphPinningMetadata.js.map +0 -1
  791. package/lib/esm/graph/pinning/GraphPinningPolicy.js.map +0 -1
  792. package/lib/esm/graph/pinning/GraphPinningService.js.map +0 -1
  793. package/lib/esm/graph/pinning/index.js.map +0 -1
  794. package/lib/esm/graph/planning/GraphExecutionPlan.js.map +0 -1
  795. package/lib/esm/graph/planning/GraphExecutionPlanEdge.js.map +0 -1
  796. package/lib/esm/graph/planning/GraphExecutionPlanLayer.js.map +0 -1
  797. package/lib/esm/graph/planning/GraphExecutionPlanNode.js.map +0 -1
  798. package/lib/esm/graph/planning/GraphExecutionPlanner.js.map +0 -1
  799. package/lib/esm/graph/planning/GraphRelationResolver.js.map +0 -1
  800. package/lib/esm/graph/planning/GraphTopology.js.map +0 -1
  801. package/lib/esm/graph/planning/index.js.map +0 -1
  802. package/lib/esm/graph/registry/GraphNodeExecutorRegistry.js.map +0 -1
  803. package/lib/esm/graph/registry/GraphNodeExecutorResolver.js.map +0 -1
  804. package/lib/esm/graph/registry/index.js.map +0 -1
  805. package/lib/esm/graph/snapshots/GraphExecutionSnapshotMapper.js.map +0 -1
  806. package/lib/esm/graph/snapshots/index.js.map +0 -1
  807. package/lib/esm/graph/store/GraphCachedValue.js.map +0 -1
  808. package/lib/esm/graph/store/GraphValueKey.js.map +0 -1
  809. package/lib/esm/graph/store/GraphValueStore.js.map +0 -1
  810. package/lib/esm/graph/store/GraphValueStoreAdapter.js.map +0 -1
  811. package/lib/esm/graph/store/InMemoryGraphValueStoreAdapter.js.map +0 -1
  812. package/lib/esm/graph/store/index.js.map +0 -1
  813. package/lib/esm/graph/types.js.map +0 -1
  814. package/lib/esm/graph/validation/GraphDefinitionValidator.js.map +0 -1
  815. package/lib/esm/graph/validation/GraphPortSchemaResolver.js.map +0 -1
  816. package/lib/esm/graph/validation/GraphValueValidator.js.map +0 -1
  817. package/lib/esm/graph/validation/index.js.map +0 -1
  818. package/lib/esm/index.js.map +0 -1
  819. package/lib/esm/keycloak/index.js.map +0 -1
  820. package/lib/esm/keycloak/services/KeycloakAuthService.js.map +0 -1
  821. package/lib/esm/keycloak/services/KeycloakClientService.js.map +0 -1
  822. package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js.map +0 -1
  823. package/lib/esm/keycloak/services/KeycloakRealmService.js.map +0 -1
  824. package/lib/esm/keycloak/services/KeycloakRoleService.js.map +0 -1
  825. package/lib/esm/keycloak/services/KeycloakService.js.map +0 -1
  826. package/lib/esm/keycloak/services/KeycloakUserService.js.map +0 -1
  827. package/lib/esm/keycloak/services/index.js.map +0 -1
  828. package/lib/esm/keycloak/services/runtime.js.map +0 -1
  829. package/lib/esm/keycloak/types.js.map +0 -1
  830. package/lib/esm/kibana/helpers.js.map +0 -1
  831. package/lib/esm/kibana/index.js.map +0 -1
  832. package/lib/esm/kibana/services/KibanaAuthService.js.map +0 -1
  833. package/lib/esm/kibana/services/KibanaDashboardService.js.map +0 -1
  834. package/lib/esm/kibana/services/KibanaDataViewService.js.map +0 -1
  835. package/lib/esm/kibana/services/KibanaRoleService.js.map +0 -1
  836. package/lib/esm/kibana/services/KibanaService.js.map +0 -1
  837. package/lib/esm/kibana/services/KibanaSpaceService.js.map +0 -1
  838. package/lib/esm/kibana/services/KibanaUserService.js.map +0 -1
  839. package/lib/esm/kibana/services/index.js.map +0 -1
  840. package/lib/esm/kibana/services/runtime.js.map +0 -1
  841. package/lib/esm/kibana/types.js.map +0 -1
  842. package/lib/esm/nest/authService.js.map +0 -1
  843. package/lib/esm/nest/index.js.map +0 -1
  844. package/lib/esm/nest/keycloakAuthHandler.js.map +0 -1
  845. package/lib/esm/nest/keycloakModule.js.map +0 -1
  846. package/lib/esm/nest/logging.js.map +0 -1
  847. package/lib/esm/nest/types.js.map +0 -1
  848. package/lib/esm/nest/utils.js.map +0 -1
  849. package/lib/esm/secrets/aws/AwsSecretService.js.map +0 -1
  850. package/lib/esm/secrets/aws/AwsSecretServiceConfig.js.map +0 -1
  851. package/lib/esm/secrets/aws/index.js.map +0 -1
  852. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js.map +0 -1
  853. package/lib/esm/secrets/azure/AzureKeyVaultSecretServiceConfig.js.map +0 -1
  854. package/lib/esm/secrets/azure/index.js.map +0 -1
  855. package/lib/esm/secrets/core/SecretErrors.js.map +0 -1
  856. package/lib/esm/secrets/core/SecretName.js.map +0 -1
  857. package/lib/esm/secrets/core/SecretReference.js.map +0 -1
  858. package/lib/esm/secrets/core/SecretSerialization.js.map +0 -1
  859. package/lib/esm/secrets/core/SecretService.js.map +0 -1
  860. package/lib/esm/secrets/core/SecretTypes.js.map +0 -1
  861. package/lib/esm/secrets/core/index.js.map +0 -1
  862. package/lib/esm/secrets/gcp/GcpSecretManagerService.js.map +0 -1
  863. package/lib/esm/secrets/gcp/GcpSecretManagerServiceConfig.js.map +0 -1
  864. package/lib/esm/secrets/gcp/index.js.map +0 -1
  865. package/lib/esm/secrets/index.js.map +0 -1
  866. package/lib/esm/secrets/model/ModelSecretCrypto.js.map +0 -1
  867. package/lib/esm/secrets/model/ModelSecretService.js.map +0 -1
  868. package/lib/esm/secrets/model/ModelSecretServiceConfig.js.map +0 -1
  869. package/lib/esm/secrets/model/Secret.js.map +0 -1
  870. package/lib/esm/secrets/model/index.js.map +0 -1
  871. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js.map +0 -1
  872. package/lib/esm/secrets/onepassword/OnePasswordSecretServiceConfig.js.map +0 -1
  873. package/lib/esm/secrets/onepassword/index.js.map +0 -1
  874. package/lib/esm/secrets/vault/VaultSecretService.js.map +0 -1
  875. package/lib/esm/secrets/vault/VaultSecretServiceConfig.js.map +0 -1
  876. package/lib/esm/secrets/vault/index.js.map +0 -1
  877. package/lib/esm/shared/runtime.js.map +0 -1
  878. package/lib/esm/utils.js.map +0 -1
@@ -0,0 +1,230 @@
1
+ export declare enum IsolationTier {
2
+ Pooled = "pooled",
3
+ Bridge = "bridge",
4
+ Silo = "silo"
5
+ }
6
+ export declare enum MembershipStatus {
7
+ Invited = "invited",
8
+ Active = "active",
9
+ Suspended = "suspended",
10
+ Removed = "removed"
11
+ }
12
+ export declare enum PrincipalKind {
13
+ User = "user",
14
+ Group = "group",
15
+ ServiceAccount = "service_account",
16
+ Agent = "agent",
17
+ ApiKey = "api_key"
18
+ }
19
+ export declare enum ScopeKind {
20
+ Tenant = "tenant",
21
+ OrgUnit = "org_unit",
22
+ Resource = "resource"
23
+ }
24
+ export declare enum PermissionCategory {
25
+ Admin = "admin",
26
+ ContentRead = "content_read",
27
+ ContentWrite = "content_write",
28
+ Memory = "memory",
29
+ Graph = "graph",
30
+ Vector = "vector",
31
+ Export = "export",
32
+ Billing = "billing",
33
+ Audit = "audit",
34
+ Security = "security",
35
+ Data = "data",
36
+ Automation = "automation"
37
+ }
38
+ export declare enum ResourceVisibility {
39
+ Private = "private",
40
+ ResourceAcl = "resource_acl",
41
+ OrgUnit = "org_unit",
42
+ OrgSubtree = "org_subtree",
43
+ Tenant = "tenant"
44
+ }
45
+ export declare enum StorageKind {
46
+ Postgres = "postgres",
47
+ Arango = "arango",
48
+ Qdrant = "qdrant",
49
+ ObjectStorage = "object_storage"
50
+ }
51
+ export declare enum StorageBindingKind {
52
+ Shared = "shared",
53
+ Dedicated = "dedicated"
54
+ }
55
+ export declare const IsolationTierOptions: IsolationTier[];
56
+ export declare const MembershipStatusOptions: MembershipStatus[];
57
+ export declare const PrincipalKindOptions: PrincipalKind[];
58
+ export declare const ScopeKindOptions: ScopeKind[];
59
+ export declare const PermissionCategoryOptions: PermissionCategory[];
60
+ export declare const ResourceVisibilityOptions: ResourceVisibility[];
61
+ export declare const StorageKindOptions: StorageKind[];
62
+ export declare const StorageBindingKindOptions: StorageBindingKind[];
63
+ export type TxArgs = any[];
64
+ export interface CreateTenantInput {
65
+ slug: string;
66
+ name: string;
67
+ isolationTier?: IsolationTier;
68
+ profileKey?: string;
69
+ profileMetadata?: Record<string, unknown>;
70
+ }
71
+ export interface CreateUserInput {
72
+ email?: string;
73
+ phone?: string;
74
+ displayName: string;
75
+ }
76
+ export interface CreateOrgUnitInput {
77
+ tenantId: string;
78
+ parentOrgUnitId?: string;
79
+ name: string;
80
+ metadata?: Record<string, unknown>;
81
+ profileKey?: string;
82
+ profileMetadata?: Record<string, unknown>;
83
+ }
84
+ export interface CreateRoleInput {
85
+ tenantId?: string;
86
+ key: string;
87
+ name: string;
88
+ description?: string;
89
+ metadata?: Record<string, unknown>;
90
+ }
91
+ export interface CreatePermissionInput {
92
+ key: string;
93
+ category: PermissionCategory;
94
+ description?: string;
95
+ }
96
+ export interface AssignRoleInput {
97
+ tenantId: string;
98
+ principalId: string;
99
+ roleId: string;
100
+ scopeKind: ScopeKind;
101
+ scopeId: string;
102
+ inheritDown?: boolean;
103
+ startsAt?: Date;
104
+ expiresAt?: Date;
105
+ conditions?: Record<string, unknown>;
106
+ }
107
+ export interface RegisterResourceInput {
108
+ tenantId: string;
109
+ orgUnitId: string;
110
+ resourceType: string;
111
+ resourceId: string;
112
+ visibility: ResourceVisibility;
113
+ ownerPrincipalId?: string;
114
+ sensitivity?: string;
115
+ metadata?: Record<string, unknown>;
116
+ }
117
+ export interface GrantResourceInput {
118
+ tenantId: string;
119
+ resourceId: string;
120
+ principalId: string;
121
+ permissionKey: string;
122
+ startsAt?: Date;
123
+ expiresAt?: Date;
124
+ conditions?: Record<string, unknown>;
125
+ createdByPrincipalId?: string;
126
+ }
127
+ export interface CanAccessInput {
128
+ tenantId: string;
129
+ principalId: string;
130
+ permissionKey: string;
131
+ resourceProtectedId?: string;
132
+ scopeKind?: ScopeKind;
133
+ scopeId?: string;
134
+ at?: Date;
135
+ }
136
+ export interface AccessContext {
137
+ tenantId: string;
138
+ principalId: string;
139
+ permissionsByScope: Record<string, string[]>;
140
+ allowedOrgUnitIdsByPermission: Record<string, string[]>;
141
+ resourceGrants: Array<{
142
+ resourceId: string;
143
+ permissionKey: string;
144
+ }>;
145
+ }
146
+ export interface ArangoAuthContext {
147
+ tenantId: string;
148
+ principalId: string;
149
+ permissionKey: string;
150
+ allowedOrgUnitIds: string[];
151
+ allowedResourceIds: string[];
152
+ }
153
+ export interface QdrantAuthFilter {
154
+ must: Array<Record<string, unknown>>;
155
+ must_not?: Array<Record<string, unknown>>;
156
+ }
157
+ export interface CreateStorageBindingInput {
158
+ tenantId: string;
159
+ storageKind: StorageKind;
160
+ bindingKind: StorageBindingKind;
161
+ bindingKey: string;
162
+ region: string;
163
+ config?: Record<string, unknown>;
164
+ }
165
+ export interface BootstrapPermission {
166
+ key: string;
167
+ category: PermissionCategory;
168
+ description?: string;
169
+ }
170
+ export interface BootstrapRole {
171
+ key: string;
172
+ name: string;
173
+ description?: string;
174
+ permissionKeys: string[];
175
+ }
176
+ export interface BootstrapOrgUnit {
177
+ name: string;
178
+ profileKey?: string;
179
+ metadata?: Record<string, unknown>;
180
+ children?: BootstrapOrgUnit[];
181
+ }
182
+ export interface BootstrapTemplate {
183
+ tenant: CreateTenantInput;
184
+ rootOrgUnit: BootstrapOrgUnit;
185
+ permissions: BootstrapPermission[];
186
+ roles: BootstrapRole[];
187
+ ownerUser: CreateUserInput;
188
+ ownerRoleKey: string;
189
+ }
190
+ export interface ResourceSnapshot {
191
+ id: string;
192
+ tenantId: string;
193
+ orgUnitId: string;
194
+ resourceType: string;
195
+ resourceId: string;
196
+ visibility: ResourceVisibility;
197
+ ownerPrincipalId?: string;
198
+ sensitivity?: string;
199
+ metadata?: Record<string, unknown>;
200
+ }
201
+ export interface GrantSnapshot {
202
+ id: string;
203
+ tenantId: string;
204
+ resourceId: string;
205
+ principalId: string;
206
+ permissionKey: string;
207
+ startsAt?: Date;
208
+ expiresAt?: Date;
209
+ conditions?: Record<string, unknown>;
210
+ createdByPrincipalId?: string;
211
+ }
212
+ export interface EffectivePermissionSnapshot {
213
+ id: string;
214
+ tenantId: string;
215
+ principalId: string;
216
+ permissionKey: string;
217
+ scopeKind: ScopeKind;
218
+ scopeId: string;
219
+ sourceKind: string;
220
+ sourceId: string;
221
+ startsAt?: Date;
222
+ expiresAt?: Date;
223
+ }
224
+ export interface AuthzDataSources {
225
+ loadResource?: (tenantId: string, protectedResourceId: string) => Promise<ResourceSnapshot | undefined>;
226
+ listResourceGrants?: (tenantId: string, protectedResourceId: string) => Promise<GrantSnapshot[]>;
227
+ listPrincipalGrants?: (tenantId: string, principalId: string) => Promise<GrantSnapshot[]>;
228
+ listEffectivePermissions?: (tenantId: string, principalId: string) => Promise<EffectivePermissionSnapshot[]>;
229
+ listEffectivePermissionsForScope?: (tenantId: string, scopeKind: ScopeKind, scopeId: string) => Promise<EffectivePermissionSnapshot[]>;
230
+ }
@@ -0,0 +1,68 @@
1
+ import { Cascade, ModelService, Repository } from "@decaf-ts/core";
2
+ import { Model } from "@decaf-ts/decorator-validation";
3
+ import { AccessContext, ArangoAuthContext, EffectivePermissionSnapshot, GrantSnapshot, QdrantAuthFilter } from "./types.d.cts";
4
+ export declare const REL_RESTRICT: {
5
+ readonly update: Cascade.NONE;
6
+ readonly delete: Cascade.NONE;
7
+ readonly nullable: false;
8
+ };
9
+ export declare const REL_NULLIFY: {
10
+ readonly update: Cascade.NONE;
11
+ readonly delete: Cascade.NONE;
12
+ readonly nullable: true;
13
+ };
14
+ export declare const REL_CASCADE_DEPENDENT: {
15
+ readonly update: Cascade.CASCADE;
16
+ readonly delete: Cascade.CASCADE;
17
+ readonly nullable: false;
18
+ };
19
+ export declare const REL_CASCADE_INSERT_UPDATE: {
20
+ readonly update: Cascade.CASCADE;
21
+ readonly delete: Cascade.NONE;
22
+ readonly nullable: false;
23
+ };
24
+ export declare function buildArangoContext(options: {
25
+ tenantId: string;
26
+ principalId: string;
27
+ permissionKey: string;
28
+ allowedOrgUnitIds: string[];
29
+ allowedResourceIds: string[];
30
+ }): ArangoAuthContext;
31
+ export declare function buildQdrantFilter(options: {
32
+ tenantId: string;
33
+ principalId: string;
34
+ permissionKey: string;
35
+ allowedOrgUnitIds: string[];
36
+ allowedResourceIds: string[];
37
+ }): QdrantAuthFilter;
38
+ export declare function nowIso(): Date;
39
+ export declare function asArray<T>(value: T[] | undefined): T[];
40
+ export declare function sameTenant(rowTenant: unknown, tenantId: string): boolean;
41
+ export declare function relationMatch(value: unknown, target: string | undefined): boolean;
42
+ export declare function lowerSlug(value: string): string;
43
+ export declare function isTimeValid(at: Date | undefined, startsAt?: Date, expiresAt?: Date): boolean;
44
+ export declare function buildAccessContext(options: {
45
+ tenantId: string;
46
+ principalId: string;
47
+ permissions: EffectivePermissionSnapshot[];
48
+ grants: GrantSnapshot[];
49
+ }): AccessContext;
50
+ export declare abstract class BaseModelService<M extends Model<boolean> & {
51
+ id: string;
52
+ }> extends ModelService<M, Repository<M, any>> {
53
+ protected constructor(clazz: new () => M);
54
+ protected newModel<T>(clazz: new () => T, data: Partial<T>): T;
55
+ create(data: Partial<M>, ...args: any[]): Promise<M>;
56
+ createOne(data: Partial<M>, ...args: any[]): Promise<M>;
57
+ getById(id: string, ...args: any[]): Promise<M>;
58
+ updateOne(id: string, patch: Partial<M>, ...args: any[]): Promise<M>;
59
+ deleteById(id: string, ...args: any[]): Promise<void>;
60
+ findOneBy<K extends keyof M & string>(key: K, value: M[K], ...args: any[]): Promise<M>;
61
+ findManyBy<K extends keyof M & string>(key: K, value: M[K], ...args: any[]): Promise<M[]>;
62
+ listAll(...args: any[]): Promise<M[]>;
63
+ }
64
+ export declare function id(): string;
65
+ export declare function relationId(value: string | {
66
+ id: string;
67
+ }): string;
68
+ export { AuthorizationError, transactional } from "@decaf-ts/core";
@@ -0,0 +1,68 @@
1
+ import { Cascade, ModelService, Repository } from "@decaf-ts/core";
2
+ import { Model } from "@decaf-ts/decorator-validation";
3
+ import { AccessContext, ArangoAuthContext, EffectivePermissionSnapshot, GrantSnapshot, QdrantAuthFilter } from "./types.d.mts";
4
+ export declare const REL_RESTRICT: {
5
+ readonly update: Cascade.NONE;
6
+ readonly delete: Cascade.NONE;
7
+ readonly nullable: false;
8
+ };
9
+ export declare const REL_NULLIFY: {
10
+ readonly update: Cascade.NONE;
11
+ readonly delete: Cascade.NONE;
12
+ readonly nullable: true;
13
+ };
14
+ export declare const REL_CASCADE_DEPENDENT: {
15
+ readonly update: Cascade.CASCADE;
16
+ readonly delete: Cascade.CASCADE;
17
+ readonly nullable: false;
18
+ };
19
+ export declare const REL_CASCADE_INSERT_UPDATE: {
20
+ readonly update: Cascade.CASCADE;
21
+ readonly delete: Cascade.NONE;
22
+ readonly nullable: false;
23
+ };
24
+ export declare function buildArangoContext(options: {
25
+ tenantId: string;
26
+ principalId: string;
27
+ permissionKey: string;
28
+ allowedOrgUnitIds: string[];
29
+ allowedResourceIds: string[];
30
+ }): ArangoAuthContext;
31
+ export declare function buildQdrantFilter(options: {
32
+ tenantId: string;
33
+ principalId: string;
34
+ permissionKey: string;
35
+ allowedOrgUnitIds: string[];
36
+ allowedResourceIds: string[];
37
+ }): QdrantAuthFilter;
38
+ export declare function nowIso(): Date;
39
+ export declare function asArray<T>(value: T[] | undefined): T[];
40
+ export declare function sameTenant(rowTenant: unknown, tenantId: string): boolean;
41
+ export declare function relationMatch(value: unknown, target: string | undefined): boolean;
42
+ export declare function lowerSlug(value: string): string;
43
+ export declare function isTimeValid(at: Date | undefined, startsAt?: Date, expiresAt?: Date): boolean;
44
+ export declare function buildAccessContext(options: {
45
+ tenantId: string;
46
+ principalId: string;
47
+ permissions: EffectivePermissionSnapshot[];
48
+ grants: GrantSnapshot[];
49
+ }): AccessContext;
50
+ export declare abstract class BaseModelService<M extends Model<boolean> & {
51
+ id: string;
52
+ }> extends ModelService<M, Repository<M, any>> {
53
+ protected constructor(clazz: new () => M);
54
+ protected newModel<T>(clazz: new () => T, data: Partial<T>): T;
55
+ create(data: Partial<M>, ...args: any[]): Promise<M>;
56
+ createOne(data: Partial<M>, ...args: any[]): Promise<M>;
57
+ getById(id: string, ...args: any[]): Promise<M>;
58
+ updateOne(id: string, patch: Partial<M>, ...args: any[]): Promise<M>;
59
+ deleteById(id: string, ...args: any[]): Promise<void>;
60
+ findOneBy<K extends keyof M & string>(key: K, value: M[K], ...args: any[]): Promise<M>;
61
+ findManyBy<K extends keyof M & string>(key: K, value: M[K], ...args: any[]): Promise<M[]>;
62
+ listAll(...args: any[]): Promise<M[]>;
63
+ }
64
+ export declare function id(): string;
65
+ export declare function relationId(value: string | {
66
+ id: string;
67
+ }): string;
68
+ export { AuthorizationError, transactional } from "@decaf-ts/core";
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @module integrations/nest/graph/GraphExecutionController
3
+ * @summary NestJS controller bridging the graph execution engine to REST + SSE.
4
+ * @description Exposes three endpoints:
5
+ * - `POST /graph/execute` — triggers {@link GraphExecutionEngine.execute}, persists the result via a Decaf repository, and returns `{ runId, status, outputs }`.
6
+ * - `GET /graph/events` — SSE endpoint streaming {@link GraphExecutionEvent}s as `[modelName, operation, id, payload]` tuples (compatible with for-http's `ServerEventConnector`).
7
+ * - `GET /graph/results/:runId` — retrieves a persisted {@link GraphExecutionResultModel} from the repository.
8
+ *
9
+ * This is the production pattern: for-nest hosts the engine, for-angular consumes events over the network via SSE and fetches persisted results via REST.
10
+ */
11
+ import { MessageEvent } from "@nestjs/common";
12
+ import { Observable } from "rxjs";
13
+ import { GraphExecutionEngine, type GraphExecutionValues } from "../../graph/index.d.cts";
14
+ import type { GraphWorkflowDefinition } from "@decaf-ts/ui-decorators/graph";
15
+ import { type GraphExecutionResultRepositoryInstance } from "./GraphExecutionResultRepository.d.cts";
16
+ /**
17
+ * NestJS injection token for the graph execution result repository.
18
+ */
19
+ export declare const GRAPH_RESULT_REPOSITORY = "GRAPH_RESULT_REPOSITORY";
20
+ /**
21
+ * Payload for the `POST /graph/execute` endpoint.
22
+ */
23
+ export interface GraphExecutePayload {
24
+ workflow: GraphWorkflowDefinition;
25
+ inputs: GraphExecutionValues;
26
+ }
27
+ /**
28
+ * Response shape for the `POST /graph/execute` endpoint.
29
+ */
30
+ export interface GraphExecuteResponse {
31
+ runId: string;
32
+ status: string;
33
+ outputs: Record<string, unknown>;
34
+ }
35
+ /**
36
+ * NestJS controller that hosts the graph execution engine server-side,
37
+ * streams events via SSE, and persists results for later retrieval.
38
+ */
39
+ export declare class GraphExecutionController {
40
+ private readonly engine;
41
+ private readonly resultRepository;
42
+ private readonly eventSubject;
43
+ constructor(engine: GraphExecutionEngine, resultRepository: GraphExecutionResultRepositoryInstance);
44
+ /**
45
+ * Triggers graph execution server-side, persists the result, and returns
46
+ * a summary containing the `runId`, `status`, and `outputs`.
47
+ */
48
+ execute(body: GraphExecutePayload): Promise<GraphExecuteResponse>;
49
+ /**
50
+ * SSE endpoint that streams graph execution events.
51
+ *
52
+ * Events are serialized as `[modelName, operation, id, payload]` to match
53
+ * the format expected by for-http's `ServerEventConnector`.
54
+ */
55
+ events(): Observable<MessageEvent>;
56
+ /**
57
+ * Retrieves a persisted graph execution result by its `runId`.
58
+ *
59
+ * @throws {NotFoundException} when no result is stored for the given `runId`.
60
+ */
61
+ getResult(runId: string): Promise<unknown>;
62
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @module integrations/nest/graph/GraphExecutionController
3
+ * @summary NestJS controller bridging the graph execution engine to REST + SSE.
4
+ * @description Exposes three endpoints:
5
+ * - `POST /graph/execute` — triggers {@link GraphExecutionEngine.execute}, persists the result via a Decaf repository, and returns `{ runId, status, outputs }`.
6
+ * - `GET /graph/events` — SSE endpoint streaming {@link GraphExecutionEvent}s as `[modelName, operation, id, payload]` tuples (compatible with for-http's `ServerEventConnector`).
7
+ * - `GET /graph/results/:runId` — retrieves a persisted {@link GraphExecutionResultModel} from the repository.
8
+ *
9
+ * This is the production pattern: for-nest hosts the engine, for-angular consumes events over the network via SSE and fetches persisted results via REST.
10
+ */
11
+ import { MessageEvent } from "@nestjs/common";
12
+ import { Observable } from "rxjs";
13
+ import { GraphExecutionEngine, type GraphExecutionValues } from "../../graph/index.d.mts";
14
+ import type { GraphWorkflowDefinition } from "@decaf-ts/ui-decorators/graph";
15
+ import { type GraphExecutionResultRepositoryInstance } from "./GraphExecutionResultRepository.d.mts";
16
+ /**
17
+ * NestJS injection token for the graph execution result repository.
18
+ */
19
+ export declare const GRAPH_RESULT_REPOSITORY = "GRAPH_RESULT_REPOSITORY";
20
+ /**
21
+ * Payload for the `POST /graph/execute` endpoint.
22
+ */
23
+ export interface GraphExecutePayload {
24
+ workflow: GraphWorkflowDefinition;
25
+ inputs: GraphExecutionValues;
26
+ }
27
+ /**
28
+ * Response shape for the `POST /graph/execute` endpoint.
29
+ */
30
+ export interface GraphExecuteResponse {
31
+ runId: string;
32
+ status: string;
33
+ outputs: Record<string, unknown>;
34
+ }
35
+ /**
36
+ * NestJS controller that hosts the graph execution engine server-side,
37
+ * streams events via SSE, and persists results for later retrieval.
38
+ */
39
+ export declare class GraphExecutionController {
40
+ private readonly engine;
41
+ private readonly resultRepository;
42
+ private readonly eventSubject;
43
+ constructor(engine: GraphExecutionEngine, resultRepository: GraphExecutionResultRepositoryInstance);
44
+ /**
45
+ * Triggers graph execution server-side, persists the result, and returns
46
+ * a summary containing the `runId`, `status`, and `outputs`.
47
+ */
48
+ execute(body: GraphExecutePayload): Promise<GraphExecuteResponse>;
49
+ /**
50
+ * SSE endpoint that streams graph execution events.
51
+ *
52
+ * Events are serialized as `[modelName, operation, id, payload]` to match
53
+ * the format expected by for-http's `ServerEventConnector`.
54
+ */
55
+ events(): Observable<MessageEvent>;
56
+ /**
57
+ * Retrieves a persisted graph execution result by its `runId`.
58
+ *
59
+ * @throws {NotFoundException} when no result is stored for the given `runId`.
60
+ */
61
+ getResult(runId: string): Promise<unknown>;
62
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @module integrations/nest/graph/GraphExecutionModule
3
+ * @summary NestJS DynamicModule hosting the graph execution engine.
4
+ * @description Wires the {@link GraphExecutionEngine}, a demo executor registry, a RamAdapter-backed result repository, and the {@link GraphExecutionController} into a single NestJS module. Use `GraphExecutionModule.forRoot()` to register it in the application.
5
+ */
6
+ import { DynamicModule } from "@nestjs/common";
7
+ /**
8
+ * Options for {@link GraphExecutionModule.forRoot}.
9
+ */
10
+ export interface GraphExecutionModuleOptions {
11
+ /**
12
+ * User identifier passed to the RamAdapter. Defaults to `"graph-engine"`.
13
+ */
14
+ adapterUser?: string;
15
+ /**
16
+ * When `true`, calls `RamAdapter.decoration()` and
17
+ * `Adapter.setCurrent(RamFlavour)` during module initialisation. Defaults to
18
+ * `true`. Set to `false` when the host application has already configured a
19
+ * RamAdapter.
20
+ */
21
+ initAdapter?: boolean;
22
+ }
23
+ /**
24
+ * NestJS module that hosts the graph execution engine server-side.
25
+ *
26
+ * Provides:
27
+ * - {@link GraphExecutionEngine} — singleton engine with a demo executor registry.
28
+ * - `GRAPH_RESULT_REPOSITORY` — Decaf repository for {@link GraphExecutionResultModel} backed by RamAdapter.
29
+ * - {@link GraphExecutionController} — REST + SSE controller.
30
+ */
31
+ export declare class GraphExecutionModule {
32
+ /**
33
+ * Creates a configured {@link DynamicModule} for the graph execution backend.
34
+ *
35
+ * @param options - Module configuration options.
36
+ * @returns A NestJS `DynamicModule` ready for import.
37
+ */
38
+ static forRoot(options?: GraphExecutionModuleOptions): DynamicModule;
39
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @module integrations/nest/graph/GraphExecutionModule
3
+ * @summary NestJS DynamicModule hosting the graph execution engine.
4
+ * @description Wires the {@link GraphExecutionEngine}, a demo executor registry, a RamAdapter-backed result repository, and the {@link GraphExecutionController} into a single NestJS module. Use `GraphExecutionModule.forRoot()` to register it in the application.
5
+ */
6
+ import { DynamicModule } from "@nestjs/common";
7
+ /**
8
+ * Options for {@link GraphExecutionModule.forRoot}.
9
+ */
10
+ export interface GraphExecutionModuleOptions {
11
+ /**
12
+ * User identifier passed to the RamAdapter. Defaults to `"graph-engine"`.
13
+ */
14
+ adapterUser?: string;
15
+ /**
16
+ * When `true`, calls `RamAdapter.decoration()` and
17
+ * `Adapter.setCurrent(RamFlavour)` during module initialisation. Defaults to
18
+ * `true`. Set to `false` when the host application has already configured a
19
+ * RamAdapter.
20
+ */
21
+ initAdapter?: boolean;
22
+ }
23
+ /**
24
+ * NestJS module that hosts the graph execution engine server-side.
25
+ *
26
+ * Provides:
27
+ * - {@link GraphExecutionEngine} — singleton engine with a demo executor registry.
28
+ * - `GRAPH_RESULT_REPOSITORY` — Decaf repository for {@link GraphExecutionResultModel} backed by RamAdapter.
29
+ * - {@link GraphExecutionController} — REST + SSE controller.
30
+ */
31
+ export declare class GraphExecutionModule {
32
+ /**
33
+ * Creates a configured {@link DynamicModule} for the graph execution backend.
34
+ *
35
+ * @param options - Module configuration options.
36
+ * @returns A NestJS `DynamicModule` ready for import.
37
+ */
38
+ static forRoot(options?: GraphExecutionModuleOptions): DynamicModule;
39
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @module integrations/nest/graph/GraphExecutionResultModel
3
+ * @summary Decaf model for persisting graph execution results.
4
+ * @description Serializes a {@link GraphExecutionResult} for storage in a Decaf persistence adapter (e.g. RamAdapter). Stores the run id, workflow id, status, inputs, outputs, per-node results, and timing information so clients can retrieve a completed run's full state via `GET /graph/results/:runId`.
5
+ */
6
+ import { Model, type ModelArg } from "@decaf-ts/decorator-validation";
7
+ /**
8
+ * Persisted representation of a completed graph execution run.
9
+ *
10
+ * Stored in the `graph_execution_result` table and keyed by `runId`.
11
+ */
12
+ export declare class GraphExecutionResultModel extends Model {
13
+ /**
14
+ * Unique identifier for this execution run. Acts as the primary key.
15
+ */
16
+ runId: string;
17
+ /**
18
+ * Identifier of the workflow that was executed.
19
+ */
20
+ workflowId: string;
21
+ /**
22
+ * Final status of the run (e.g. `succeeded`, `failed`).
23
+ */
24
+ status: string;
25
+ /**
26
+ * Inputs supplied to the workflow at execution time.
27
+ */
28
+ inputs: Record<string, unknown>;
29
+ /**
30
+ * Outputs produced by the workflow.
31
+ */
32
+ outputs: Record<string, unknown>;
33
+ /**
34
+ * Per-node execution results keyed by node id.
35
+ */
36
+ nodeResults: Record<string, unknown>;
37
+ /**
38
+ * Timestamp marking when the run started.
39
+ */
40
+ startedAt: Date;
41
+ /**
42
+ * Timestamp marking when the run finished.
43
+ */
44
+ finishedAt?: Date;
45
+ constructor(arg?: ModelArg<GraphExecutionResultModel>);
46
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @module integrations/nest/graph/GraphExecutionResultModel
3
+ * @summary Decaf model for persisting graph execution results.
4
+ * @description Serializes a {@link GraphExecutionResult} for storage in a Decaf persistence adapter (e.g. RamAdapter). Stores the run id, workflow id, status, inputs, outputs, per-node results, and timing information so clients can retrieve a completed run's full state via `GET /graph/results/:runId`.
5
+ */
6
+ import { Model, type ModelArg } from "@decaf-ts/decorator-validation";
7
+ /**
8
+ * Persisted representation of a completed graph execution run.
9
+ *
10
+ * Stored in the `graph_execution_result` table and keyed by `runId`.
11
+ */
12
+ export declare class GraphExecutionResultModel extends Model {
13
+ /**
14
+ * Unique identifier for this execution run. Acts as the primary key.
15
+ */
16
+ runId: string;
17
+ /**
18
+ * Identifier of the workflow that was executed.
19
+ */
20
+ workflowId: string;
21
+ /**
22
+ * Final status of the run (e.g. `succeeded`, `failed`).
23
+ */
24
+ status: string;
25
+ /**
26
+ * Inputs supplied to the workflow at execution time.
27
+ */
28
+ inputs: Record<string, unknown>;
29
+ /**
30
+ * Outputs produced by the workflow.
31
+ */
32
+ outputs: Record<string, unknown>;
33
+ /**
34
+ * Per-node execution results keyed by node id.
35
+ */
36
+ nodeResults: Record<string, unknown>;
37
+ /**
38
+ * Timestamp marking when the run started.
39
+ */
40
+ startedAt: Date;
41
+ /**
42
+ * Timestamp marking when the run finished.
43
+ */
44
+ finishedAt?: Date;
45
+ constructor(arg?: ModelArg<GraphExecutionResultModel>);
46
+ }