@constructive-io/sdk 0.30.0 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/README.md +1 -0
  2. package/agent/orm/input-types.d.ts +96 -8
  3. package/api/orm/index.d.ts +5 -15
  4. package/api/orm/index.js +2 -2
  5. package/api/orm/input-types.d.ts +250 -231
  6. package/api/orm/models/index.d.ts +1 -1
  7. package/api/orm/models/index.js +3 -3
  8. package/api/orm/mutation/index.d.ts +11 -36
  9. package/api/orm/mutation/index.js +6 -30
  10. package/auth/orm/index.d.ts +10 -5
  11. package/auth/orm/input-types.d.ts +54 -45
  12. package/auth/orm/models/principal.d.ts +1 -10
  13. package/auth/orm/models/principal.js +0 -13
  14. package/auth/orm/mutation/index.d.ts +17 -9
  15. package/auth/orm/mutation/index.js +24 -12
  16. package/compute/orm/index.d.ts +76 -17
  17. package/compute/orm/index.js +56 -12
  18. package/compute/orm/input-types.d.ts +5893 -1343
  19. package/compute/orm/input-types.js +17 -3
  20. package/compute/orm/models/dbPreset.d.ts +54 -0
  21. package/compute/orm/models/dbPreset.js +104 -0
  22. package/compute/orm/models/functionGraphCommit.d.ts +2 -2
  23. package/compute/orm/models/functionGraphCommit.js +2 -2
  24. package/compute/orm/models/functionGraphObject.d.ts +2 -2
  25. package/compute/orm/models/functionGraphObject.js +2 -2
  26. package/compute/orm/models/functionGraphRef.d.ts +2 -2
  27. package/compute/orm/models/functionGraphRef.js +2 -2
  28. package/compute/orm/models/index.d.ts +28 -6
  29. package/compute/orm/models/index.js +57 -13
  30. package/compute/orm/models/infraCommit.d.ts +56 -0
  31. package/compute/orm/models/infraCommit.js +107 -0
  32. package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
  33. package/compute/orm/models/infraGetAllRecord.js +59 -0
  34. package/compute/orm/models/infraObject.d.ts +56 -0
  35. package/compute/orm/models/infraObject.js +97 -0
  36. package/compute/orm/models/infraRef.d.ts +56 -0
  37. package/compute/orm/models/infraRef.js +107 -0
  38. package/compute/orm/models/infraStore.d.ts +54 -0
  39. package/compute/orm/models/infraStore.js +104 -0
  40. package/compute/orm/models/integrationProvider.d.ts +54 -0
  41. package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
  42. package/compute/orm/models/namespace.d.ts +54 -0
  43. package/compute/orm/models/namespace.js +104 -0
  44. package/compute/orm/models/namespaceEvent.d.ts +56 -0
  45. package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
  46. package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
  47. package/compute/orm/models/platformFunctionApiBinding.js +104 -0
  48. package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
  49. package/compute/orm/models/platformFunctionDefinition.js +104 -0
  50. package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
  51. package/compute/orm/models/platformFunctionDeployment.js +104 -0
  52. package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
  53. package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
  54. package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
  55. package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
  56. package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
  57. package/compute/orm/models/platformFunctionInvocation.js +107 -0
  58. package/compute/orm/models/platformResource.d.ts +54 -0
  59. package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
  60. package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
  61. package/compute/orm/models/platformResourceDefinition.js +104 -0
  62. package/compute/orm/models/platformResourceEvent.d.ts +56 -0
  63. package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
  64. package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
  65. package/compute/orm/models/platformResourceStatusCheck.js +104 -0
  66. package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
  67. package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
  68. package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
  69. package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
  70. package/compute/orm/models/resourceDefinition.d.ts +54 -0
  71. package/compute/orm/models/resourceDefinition.js +104 -0
  72. package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
  73. package/compute/orm/models/resourceStatusCheck.js +104 -0
  74. package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
  75. package/compute/orm/models/resourcesRequirementsState.js +59 -0
  76. package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
  77. package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
  78. package/compute/orm/mutation/index.d.ts +33 -9
  79. package/compute/orm/mutation/index.js +48 -12
  80. package/config/orm/index.d.ts +42 -16
  81. package/config/orm/index.js +8 -2
  82. package/config/orm/input-types.d.ts +595 -154
  83. package/config/orm/models/config.d.ts +54 -0
  84. package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
  85. package/config/orm/models/index.d.ts +4 -1
  86. package/config/orm/models/index.js +9 -3
  87. package/config/orm/models/platformInternalSecret.d.ts +36 -0
  88. package/config/orm/models/platformInternalSecret.js +80 -0
  89. package/config/orm/models/platformSecret.d.ts +36 -0
  90. package/config/orm/models/platformSecret.js +80 -0
  91. package/config/orm/models/secret.d.ts +36 -0
  92. package/config/orm/models/secret.js +80 -0
  93. package/config/orm/mutation/index.d.ts +56 -24
  94. package/config/orm/mutation/index.js +78 -30
  95. package/esm/agent/orm/input-types.d.ts +96 -8
  96. package/esm/api/orm/index.d.ts +5 -15
  97. package/esm/api/orm/index.js +2 -2
  98. package/esm/api/orm/input-types.d.ts +250 -231
  99. package/esm/api/orm/models/index.d.ts +1 -1
  100. package/esm/api/orm/models/index.js +1 -1
  101. package/esm/api/orm/mutation/index.d.ts +11 -36
  102. package/esm/api/orm/mutation/index.js +6 -30
  103. package/esm/auth/orm/index.d.ts +10 -5
  104. package/esm/auth/orm/input-types.d.ts +54 -45
  105. package/esm/auth/orm/models/principal.d.ts +1 -10
  106. package/esm/auth/orm/models/principal.js +1 -14
  107. package/esm/auth/orm/mutation/index.d.ts +17 -9
  108. package/esm/auth/orm/mutation/index.js +24 -12
  109. package/esm/compute/orm/index.d.ts +76 -17
  110. package/esm/compute/orm/index.js +56 -12
  111. package/esm/compute/orm/input-types.d.ts +5893 -1343
  112. package/esm/compute/orm/input-types.js +17 -3
  113. package/esm/compute/orm/models/dbPreset.d.ts +54 -0
  114. package/esm/compute/orm/models/dbPreset.js +100 -0
  115. package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
  116. package/esm/compute/orm/models/functionGraphCommit.js +2 -2
  117. package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
  118. package/esm/compute/orm/models/functionGraphObject.js +2 -2
  119. package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
  120. package/esm/compute/orm/models/functionGraphRef.js +2 -2
  121. package/esm/compute/orm/models/index.d.ts +28 -6
  122. package/esm/compute/orm/models/index.js +28 -6
  123. package/esm/compute/orm/models/infraCommit.d.ts +56 -0
  124. package/esm/compute/orm/models/infraCommit.js +103 -0
  125. package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
  126. package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
  127. package/esm/compute/orm/models/infraObject.d.ts +56 -0
  128. package/esm/compute/orm/models/infraObject.js +93 -0
  129. package/esm/compute/orm/models/infraRef.d.ts +56 -0
  130. package/esm/compute/orm/models/infraRef.js +103 -0
  131. package/esm/compute/orm/models/infraStore.d.ts +54 -0
  132. package/esm/compute/orm/models/infraStore.js +100 -0
  133. package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
  134. package/esm/compute/orm/models/integrationProvider.js +100 -0
  135. package/esm/compute/orm/models/namespace.d.ts +54 -0
  136. package/esm/compute/orm/models/namespace.js +100 -0
  137. package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
  138. package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
  139. package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
  140. package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
  141. package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
  142. package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
  143. package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
  144. package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
  145. package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
  146. package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
  147. package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
  148. package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
  149. package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
  150. package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
  151. package/esm/compute/orm/models/platformResource.d.ts +54 -0
  152. package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
  153. package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
  154. package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
  155. package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
  156. package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
  157. package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
  158. package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
  159. package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
  160. package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
  161. package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
  162. package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
  163. package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
  164. package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
  165. package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
  166. package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
  167. package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
  168. package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
  169. package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
  170. package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
  171. package/esm/compute/orm/mutation/index.d.ts +33 -9
  172. package/esm/compute/orm/mutation/index.js +48 -12
  173. package/esm/config/orm/index.d.ts +42 -16
  174. package/esm/config/orm/index.js +8 -2
  175. package/esm/config/orm/input-types.d.ts +595 -154
  176. package/esm/config/orm/models/config.d.ts +54 -0
  177. package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
  178. package/esm/config/orm/models/index.d.ts +4 -1
  179. package/esm/config/orm/models/index.js +4 -1
  180. package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
  181. package/esm/config/orm/models/platformInternalSecret.js +76 -0
  182. package/esm/config/orm/models/platformSecret.d.ts +36 -0
  183. package/esm/config/orm/models/platformSecret.js +76 -0
  184. package/esm/config/orm/models/secret.d.ts +36 -0
  185. package/esm/config/orm/models/secret.js +76 -0
  186. package/esm/config/orm/mutation/index.d.ts +56 -24
  187. package/esm/config/orm/mutation/index.js +78 -30
  188. package/esm/index.d.ts +1 -0
  189. package/esm/index.js +1 -0
  190. package/esm/infra/index.d.ts +5 -0
  191. package/esm/infra/index.js +5 -0
  192. package/esm/infra/orm/client.d.ts +97 -0
  193. package/esm/infra/orm/client.js +145 -0
  194. package/esm/infra/orm/index.d.ts +74 -0
  195. package/esm/infra/orm/index.js +61 -0
  196. package/esm/infra/orm/input-types.d.ts +1953 -0
  197. package/esm/infra/orm/input-types.js +2 -0
  198. package/esm/infra/orm/models/dbPreset.d.ts +54 -0
  199. package/esm/infra/orm/models/dbPreset.js +100 -0
  200. package/esm/infra/orm/models/index.d.ts +15 -0
  201. package/esm/infra/orm/models/index.js +15 -0
  202. package/esm/infra/orm/models/infraCommit.d.ts +56 -0
  203. package/esm/infra/orm/models/infraCommit.js +103 -0
  204. package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
  205. package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
  206. package/esm/infra/orm/models/infraObject.d.ts +56 -0
  207. package/esm/infra/orm/models/infraObject.js +93 -0
  208. package/esm/infra/orm/models/infraRef.d.ts +56 -0
  209. package/esm/infra/orm/models/infraRef.js +103 -0
  210. package/esm/infra/orm/models/infraStore.d.ts +54 -0
  211. package/esm/infra/orm/models/infraStore.js +100 -0
  212. package/esm/infra/orm/models/namespace.d.ts +54 -0
  213. package/esm/infra/orm/models/namespace.js +100 -0
  214. package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
  215. package/esm/infra/orm/models/namespaceEvent.js +103 -0
  216. package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
  217. package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
  218. package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
  219. package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
  220. package/esm/infra/orm/mutation/index.d.ts +50 -0
  221. package/esm/infra/orm/mutation/index.js +54 -0
  222. package/esm/infra/orm/query-builder.d.ts +110 -0
  223. package/esm/infra/orm/query-builder.js +705 -0
  224. package/esm/infra/orm/realtime.d.ts +142 -0
  225. package/esm/infra/orm/realtime.js +100 -0
  226. package/esm/infra/orm/select-types.d.ts +125 -0
  227. package/esm/infra/orm/select-types.js +1 -0
  228. package/esm/infra/orm/types.d.ts +6 -0
  229. package/esm/infra/orm/types.js +7 -0
  230. package/esm/modules/orm/index.d.ts +48 -38
  231. package/esm/modules/orm/index.js +48 -38
  232. package/esm/modules/orm/input-types.d.ts +5378 -4022
  233. package/esm/modules/orm/input-types.js +1 -0
  234. package/esm/modules/orm/models/dbPool.d.ts +54 -0
  235. package/esm/modules/orm/models/dbPool.js +100 -0
  236. package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
  237. package/esm/modules/orm/models/dbPoolConfig.js +100 -0
  238. package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
  239. package/esm/modules/orm/models/dbPresetModule.js +100 -0
  240. package/esm/modules/orm/models/index.d.ts +24 -19
  241. package/esm/modules/orm/models/index.js +24 -19
  242. package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
  243. package/esm/modules/orm/models/infraConfigModule.js +100 -0
  244. package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
  245. package/esm/modules/orm/models/infraSecretsModule.js +100 -0
  246. package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
  247. package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
  248. package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
  249. package/esm/modules/orm/models/internalSecretsModule.js +100 -0
  250. package/index.d.ts +1 -0
  251. package/index.js +2 -1
  252. package/infra/index.d.ts +5 -0
  253. package/infra/index.js +21 -0
  254. package/infra/orm/client.d.ts +97 -0
  255. package/infra/orm/client.js +152 -0
  256. package/infra/orm/index.d.ts +74 -0
  257. package/infra/orm/index.js +83 -0
  258. package/infra/orm/input-types.d.ts +1953 -0
  259. package/infra/orm/input-types.js +5 -0
  260. package/infra/orm/models/dbPreset.d.ts +54 -0
  261. package/infra/orm/models/dbPreset.js +104 -0
  262. package/infra/orm/models/index.d.ts +15 -0
  263. package/infra/orm/models/index.js +28 -0
  264. package/infra/orm/models/infraCommit.d.ts +56 -0
  265. package/infra/orm/models/infraCommit.js +107 -0
  266. package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
  267. package/infra/orm/models/infraGetAllRecord.js +59 -0
  268. package/infra/orm/models/infraObject.d.ts +56 -0
  269. package/infra/orm/models/infraObject.js +97 -0
  270. package/infra/orm/models/infraRef.d.ts +56 -0
  271. package/infra/orm/models/infraRef.js +107 -0
  272. package/infra/orm/models/infraStore.d.ts +54 -0
  273. package/infra/orm/models/infraStore.js +104 -0
  274. package/infra/orm/models/namespace.d.ts +54 -0
  275. package/infra/orm/models/namespace.js +104 -0
  276. package/infra/orm/models/namespaceEvent.d.ts +56 -0
  277. package/infra/orm/models/namespaceEvent.js +107 -0
  278. package/infra/orm/models/platformNamespace.d.ts +54 -0
  279. package/infra/orm/models/platformNamespace.js +104 -0
  280. package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
  281. package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
  282. package/infra/orm/mutation/index.d.ts +50 -0
  283. package/infra/orm/mutation/index.js +57 -0
  284. package/infra/orm/query-builder.d.ts +110 -0
  285. package/infra/orm/query-builder.js +757 -0
  286. package/infra/orm/realtime.d.ts +142 -0
  287. package/infra/orm/realtime.js +104 -0
  288. package/infra/orm/select-types.d.ts +125 -0
  289. package/infra/orm/select-types.js +2 -0
  290. package/infra/orm/types.d.ts +6 -0
  291. package/infra/orm/types.js +23 -0
  292. package/modules/orm/index.d.ts +48 -38
  293. package/modules/orm/index.js +48 -38
  294. package/modules/orm/input-types.d.ts +5378 -4022
  295. package/modules/orm/input-types.js +1 -0
  296. package/modules/orm/models/dbPool.d.ts +54 -0
  297. package/modules/orm/models/dbPool.js +104 -0
  298. package/modules/orm/models/dbPoolConfig.d.ts +54 -0
  299. package/modules/orm/models/dbPoolConfig.js +104 -0
  300. package/modules/orm/models/dbPresetModule.d.ts +54 -0
  301. package/modules/orm/models/dbPresetModule.js +104 -0
  302. package/modules/orm/models/index.d.ts +24 -19
  303. package/modules/orm/models/index.js +50 -40
  304. package/modules/orm/models/infraConfigModule.d.ts +54 -0
  305. package/modules/orm/models/infraConfigModule.js +104 -0
  306. package/modules/orm/models/infraSecretsModule.d.ts +54 -0
  307. package/modules/orm/models/infraSecretsModule.js +104 -0
  308. package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
  309. package/modules/orm/models/integrationProvidersModule.js +104 -0
  310. package/modules/orm/models/internalSecretsModule.d.ts +54 -0
  311. package/modules/orm/models/internalSecretsModule.js +104 -0
  312. package/package.json +4 -4
  313. package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
  314. package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
  315. package/compute/orm/models/secretDefinition.d.ts +0 -54
  316. package/config/orm/models/platformConfigDefinition.d.ts +0 -54
  317. package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
  318. package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
  319. package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
  320. package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
  321. package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
  322. package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
  323. package/modules/orm/models/configSecretsModule.d.ts +0 -54
  324. package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
@@ -0,0 +1,142 @@
1
+ /**
2
+ * Realtime Manager - WebSocket subscription support
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ interface WsGraphQLError {
7
+ readonly message: string;
8
+ readonly [key: string]: unknown;
9
+ }
10
+ interface WsExecutionResult<TData = Record<string, unknown>> {
11
+ data?: TData | null;
12
+ errors?: readonly WsGraphQLError[];
13
+ extensions?: Record<string, unknown>;
14
+ }
15
+ interface WsSink<T> {
16
+ next(value: T): void;
17
+ error(error: unknown): void;
18
+ complete(): void;
19
+ }
20
+ /**
21
+ * Minimal interface matching the graphql-ws Client.
22
+ * Consumers pass a concrete instance via RealtimeConfig.client.
23
+ */
24
+ export interface WsClient {
25
+ subscribe<TData = Record<string, unknown>>(payload: {
26
+ query: string;
27
+ variables?: Record<string, unknown>;
28
+ }, sink: WsSink<WsExecutionResult<TData>>): () => void;
29
+ dispose(): void;
30
+ }
31
+ /** The DML operation that triggered the subscription event */
32
+ export type SubscriptionOperation = 'INSERT' | 'UPDATE' | 'DELETE';
33
+ /** Connection state of the WebSocket */
34
+ export type ConnectionState = 'disconnected' | 'connecting' | 'connected' | 'reconnecting';
35
+ /** Listener for connection state changes */
36
+ export type ConnectionStateListener = (state: ConnectionState) => void;
37
+ /** Function returned by subscribe() to cancel the subscription */
38
+ export type Unsubscribe = () => void;
39
+ /**
40
+ * A realtime subscription event delivered to the client.
41
+ *
42
+ * @typeParam T - The row type of the subscribed table
43
+ */
44
+ export interface SubscriptionEvent<T> {
45
+ /** The DML operation that triggered this event */
46
+ operation: SubscriptionOperation;
47
+ /** The current row data (null for DELETE if row is no longer visible) */
48
+ data: T | null;
49
+ /** Previous field values (populated on UPDATE when available) */
50
+ previousValues?: Partial<T>;
51
+ /** Server-side timestamp of when the change occurred */
52
+ timestamp: string;
53
+ }
54
+ /**
55
+ * Options for creating a subscription.
56
+ *
57
+ * @typeParam T - The row type of the subscribed table
58
+ * @typeParam TFilter - The filter type for the table
59
+ */
60
+ export interface SubscribeOptions<T, TFilter = Record<string, unknown>> {
61
+ /** Server-side filter to limit which events are delivered */
62
+ filter?: TFilter;
63
+ /** Called when a subscription event is received */
64
+ onEvent: (event: SubscriptionEvent<T>) => void;
65
+ /** Called when the subscription encounters an error */
66
+ onError?: (error: Error) => void;
67
+ /** Called when the subscription completes (server-initiated close) */
68
+ onComplete?: () => void;
69
+ }
70
+ /**
71
+ * Metadata about a subscription field, used internally to map
72
+ * table names to GraphQL subscription field names and types.
73
+ */
74
+ export interface SubscriptionFieldMeta {
75
+ /** The GraphQL subscription field name (e.g., 'onContactChanged') */
76
+ fieldName: string;
77
+ /** The table name in the source schema (e.g., 'contact') */
78
+ tableName: string;
79
+ /** The data field name inside the subscription payload (e.g., 'contact') */
80
+ dataFieldName: string;
81
+ }
82
+ /**
83
+ * Configuration for the realtime (WebSocket) connection.
84
+ * Pass this as the `realtime` option in OrmClientConfig.
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * import { createClient } from 'graphql-ws';
89
+ *
90
+ * const client = createOrmClient({
91
+ * endpoint: 'https://api.example.com/graphql',
92
+ * realtime: {
93
+ * client: createClient({ url: 'wss://api.example.com/graphql' }),
94
+ * },
95
+ * });
96
+ * ```
97
+ */
98
+ export interface RealtimeConfig {
99
+ /**
100
+ * A graphql-ws Client instance (or any object satisfying WsClient).
101
+ * The consumer creates this themselves, giving full control over
102
+ * connection options, auth, and transport.
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * import { createClient } from 'graphql-ws';
107
+ * const wsClient = createClient({ url: 'wss://...' });
108
+ * ```
109
+ */
110
+ client: WsClient;
111
+ }
112
+ /**
113
+ * Manages a graphql-ws WebSocket client and multiplexes
114
+ * subscriptions over it. Created by OrmClient when `realtime`
115
+ * config is provided.
116
+ */
117
+ export declare class RealtimeManager {
118
+ private wsClient;
119
+ private connectionState;
120
+ private stateListeners;
121
+ private activeSubscriptions;
122
+ constructor(config: RealtimeConfig);
123
+ /**
124
+ * Subscribe to a GraphQL subscription operation.
125
+ * Models call this with typed metadata and documents.
126
+ */
127
+ subscribe<T>(meta: SubscriptionFieldMeta, document: string, variables: Record<string, unknown>, options: {
128
+ onEvent: (event: SubscriptionEvent<T>) => void;
129
+ onError?: (error: Error) => void;
130
+ onComplete?: () => void;
131
+ }): Unsubscribe;
132
+ /** Register a listener for connection state changes */
133
+ onConnectionStateChange(listener: ConnectionStateListener): Unsubscribe;
134
+ /** Get current connection state */
135
+ getConnectionState(): ConnectionState;
136
+ /** Number of active subscriptions */
137
+ getActiveSubscriptionCount(): number;
138
+ /** Dispose the manager and close the WebSocket connection */
139
+ dispose(): void;
140
+ private setConnectionState;
141
+ }
142
+ export {};
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Realtime Manager - WebSocket subscription support
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ // Minimal type shims so this module compiles without graphql-ws
7
+ // installed. Consumers supply a WsClient via RealtimeConfig;
8
+ // the SDK itself never imports or requires graphql-ws.
9
+ // ============================================================================
10
+ // RealtimeManager
11
+ // ============================================================================
12
+ /**
13
+ * Manages a graphql-ws WebSocket client and multiplexes
14
+ * subscriptions over it. Created by OrmClient when `realtime`
15
+ * config is provided.
16
+ */
17
+ export class RealtimeManager {
18
+ wsClient;
19
+ connectionState = 'disconnected';
20
+ stateListeners = new Set();
21
+ activeSubscriptions = 0;
22
+ constructor(config) {
23
+ this.wsClient = config.client;
24
+ }
25
+ /**
26
+ * Subscribe to a GraphQL subscription operation.
27
+ * Models call this with typed metadata and documents.
28
+ */
29
+ subscribe(meta, document, variables, options) {
30
+ this.activeSubscriptions++;
31
+ let disposed = false;
32
+ const cleanup = this.wsClient.subscribe({ query: document, variables }, {
33
+ next: (result) => {
34
+ if (disposed)
35
+ return;
36
+ if (result.errors) {
37
+ options.onError?.(new Error(result.errors.map((e) => e.message).join('; ')));
38
+ return;
39
+ }
40
+ const payload = result.data?.[meta.fieldName];
41
+ if (!payload)
42
+ return;
43
+ const event = {
44
+ operation: payload.event ?? 'UPDATE',
45
+ data: payload[meta.dataFieldName] ?? null,
46
+ previousValues: payload.previousValues,
47
+ timestamp: payload.timestamp ?? new Date().toISOString(),
48
+ };
49
+ options.onEvent(event);
50
+ },
51
+ error: (err) => {
52
+ if (disposed)
53
+ return;
54
+ options.onError?.(err instanceof Error ? err : new Error(String(err)));
55
+ },
56
+ complete: () => {
57
+ if (disposed)
58
+ return;
59
+ options.onComplete?.();
60
+ },
61
+ });
62
+ return () => {
63
+ if (disposed)
64
+ return;
65
+ disposed = true;
66
+ this.activeSubscriptions--;
67
+ cleanup();
68
+ };
69
+ }
70
+ /** Register a listener for connection state changes */
71
+ onConnectionStateChange(listener) {
72
+ this.stateListeners.add(listener);
73
+ return () => {
74
+ this.stateListeners.delete(listener);
75
+ };
76
+ }
77
+ /** Get current connection state */
78
+ getConnectionState() {
79
+ return this.connectionState;
80
+ }
81
+ /** Number of active subscriptions */
82
+ getActiveSubscriptionCount() {
83
+ return this.activeSubscriptions;
84
+ }
85
+ /** Dispose the manager and close the WebSocket connection */
86
+ dispose() {
87
+ this.wsClient.dispose();
88
+ this.stateListeners.clear();
89
+ this.activeSubscriptions = 0;
90
+ this.setConnectionState('disconnected');
91
+ }
92
+ setConnectionState(state) {
93
+ if (this.connectionState === state)
94
+ return;
95
+ this.connectionState = state;
96
+ for (const listener of this.stateListeners) {
97
+ listener(state);
98
+ }
99
+ }
100
+ }
@@ -0,0 +1,125 @@
1
+ /**
2
+ * Type utilities for select inference
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ export interface ConnectionResult<T> {
7
+ nodes: T[];
8
+ totalCount: number;
9
+ pageInfo: PageInfo;
10
+ }
11
+ export interface PageInfo {
12
+ hasNextPage: boolean;
13
+ hasPreviousPage: boolean;
14
+ startCursor?: string | null;
15
+ endCursor?: string | null;
16
+ }
17
+ export interface FindManyArgs<TSelect, TWhere, TOrderBy> {
18
+ select?: TSelect;
19
+ where?: TWhere;
20
+ orderBy?: TOrderBy[];
21
+ first?: number;
22
+ last?: number;
23
+ after?: string;
24
+ before?: string;
25
+ offset?: number;
26
+ }
27
+ export interface FindFirstArgs<TSelect, TWhere, TOrderBy> {
28
+ select?: TSelect;
29
+ where?: TWhere;
30
+ orderBy?: TOrderBy[];
31
+ }
32
+ export interface CreateArgs<TSelect, TData> {
33
+ data: TData;
34
+ select?: TSelect;
35
+ }
36
+ export interface UpdateArgs<TSelect, TWhere, TData> {
37
+ where: TWhere;
38
+ data: TData;
39
+ select?: TSelect;
40
+ }
41
+ export type FindOneArgs<TSelect, TIdName extends string = 'id', TId = string> = {
42
+ select?: TSelect;
43
+ } & Record<TIdName, TId>;
44
+ export interface DeleteArgs<TWhere, TSelect = undefined> {
45
+ where: TWhere;
46
+ select?: TSelect;
47
+ }
48
+ export interface BulkInsertArgs<TSelect, TData, TOnConflict = unknown> {
49
+ data: TData[];
50
+ select?: TSelect;
51
+ onConflict?: TOnConflict;
52
+ }
53
+ export interface BulkUpsertArgs<TSelect, TData, TOnConflict = unknown> {
54
+ data: TData[];
55
+ select?: TSelect;
56
+ onConflict: TOnConflict;
57
+ }
58
+ export interface BulkUpdateArgs<TSelect, TWhere, TData> {
59
+ where: TWhere;
60
+ data: TData;
61
+ select?: TSelect;
62
+ }
63
+ export interface BulkDeleteArgs<TSelect, TWhere> {
64
+ where: TWhere;
65
+ select?: TSelect;
66
+ }
67
+ export interface BulkMutationResult<T> {
68
+ affectedCount: number;
69
+ returning: T[];
70
+ }
71
+ type DepthLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
72
+ type DecrementDepth = {
73
+ 0: 0;
74
+ 1: 0;
75
+ 2: 1;
76
+ 3: 2;
77
+ 4: 3;
78
+ 5: 4;
79
+ 6: 5;
80
+ 7: 6;
81
+ 8: 7;
82
+ 9: 8;
83
+ 10: 9;
84
+ };
85
+ /**
86
+ * Recursively validates select objects, rejecting unknown keys.
87
+ *
88
+ * NOTE: Depth is intentionally capped to avoid circular-instantiation issues
89
+ * in very large cyclic schemas.
90
+ */
91
+ export type DeepExact<T, Shape, Depth extends DepthLevel = 10> = Depth extends 0 ? T extends Shape ? T : never : T extends Shape ? Exclude<keyof T, keyof Shape> extends never ? {
92
+ [K in keyof T]: K extends keyof Shape ? T[K] extends {
93
+ select: infer NS;
94
+ } ? Extract<Shape[K], {
95
+ select?: unknown;
96
+ }> extends {
97
+ select?: infer ShapeNS;
98
+ } ? DeepExact<Omit<T[K], 'select'> & {
99
+ select: DeepExact<NS, NonNullable<ShapeNS>, DecrementDepth[Depth]>;
100
+ }, Extract<Shape[K], {
101
+ select?: unknown;
102
+ }>, DecrementDepth[Depth]> : never : T[K] : never;
103
+ } : never : never;
104
+ /**
105
+ * Enforces exact select shape while keeping contextual typing on `S extends XxxSelect`.
106
+ * Use this as an intersection in overloads:
107
+ * `{ select: S } & StrictSelect<S, XxxSelect>`.
108
+ */
109
+ export type StrictSelect<S, Shape> = S extends DeepExact<S, Shape> ? {} : never;
110
+ /**
111
+ * Hook-optimized strict select variant.
112
+ *
113
+ * Uses a shallower recursion depth to keep editor autocomplete responsive
114
+ * in large schemas while still validating common nested-select mistakes.
115
+ */
116
+ export type HookStrictSelect<S, Shape> = S extends DeepExact<S, Shape, 5> ? {} : never;
117
+ /**
118
+ * Infer result type from select configuration
119
+ */
120
+ export type InferSelectResult<TEntity, TSelect> = TSelect extends undefined ? TEntity : {
121
+ [K in keyof TSelect as TSelect[K] extends false | undefined ? never : K]: TSelect[K] extends true ? K extends keyof TEntity ? TEntity[K] : never : TSelect[K] extends {
122
+ select: infer NestedSelect;
123
+ } ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
124
+ };
125
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Types re-export
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ export * from './input-types';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Types re-export
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ // Re-export all types from input-types
7
+ export * from './input-types';
@@ -1,23 +1,21 @@
1
1
  import type { OrmClientConfig } from './client';
2
2
  import { DefaultIdsModuleModel } from './models/defaultIdsModule';
3
3
  import { MembershipTypesModuleModel } from './models/membershipTypesModule';
4
- import { UserStateModuleModel } from './models/userStateModule';
5
4
  import { SessionSecretsModuleModel } from './models/sessionSecretsModule';
6
- import { ConfigSecretsOrgModuleModel } from './models/configSecretsOrgModule';
7
5
  import { DevicesModuleModel } from './models/devicesModule';
8
6
  import { I18NModuleModel } from './models/i18NModule';
9
- import { UserCredentialsModuleModel } from './models/userCredentialsModule';
10
7
  import { UserSettingsModuleModel } from './models/userSettingsModule';
11
- import { ConfigSecretsUserModuleModel } from './models/configSecretsUserModule';
8
+ import { UserStateModuleModel } from './models/userStateModule';
9
+ import { UserCredentialsModuleModel } from './models/userCredentialsModule';
12
10
  import { ConnectedAccountsModuleModel } from './models/connectedAccountsModule';
13
11
  import { EmailsModuleModel } from './models/emailsModule';
14
12
  import { PhoneNumbersModuleModel } from './models/phoneNumbersModule';
15
13
  import { RateLimitsModuleModel } from './models/rateLimitsModule';
16
14
  import { UsersModuleModel } from './models/usersModule';
17
15
  import { WebauthnCredentialsModuleModel } from './models/webauthnCredentialsModule';
16
+ import { ConfigSecretsUserModuleModel } from './models/configSecretsUserModule';
18
17
  import { CryptoAddressesModuleModel } from './models/cryptoAddressesModule';
19
18
  import { DenormalizedTableFieldModel } from './models/denormalizedTableField';
20
- import { IdentityProvidersModuleModel } from './models/identityProvidersModule';
21
19
  import { RlsModuleModel } from './models/rlsModule';
22
20
  import { BlueprintModel } from './models/blueprint';
23
21
  import { BlueprintTemplateModel } from './models/blueprintTemplate';
@@ -25,40 +23,47 @@ import { BlueprintConstructionModel } from './models/blueprintConstruction';
25
23
  import { CryptoAuthModuleModel } from './models/cryptoAuthModule';
26
24
  import { SessionsModuleModel } from './models/sessionsModule';
27
25
  import { SecureTableProvisionModel } from './models/secureTableProvision';
28
- import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
29
- import { ConfigSecretsModuleModel } from './models/configSecretsModule';
26
+ import { IdentityProvidersModuleModel } from './models/identityProvidersModule';
27
+ import { IntegrationProvidersModuleModel } from './models/integrationProvidersModule';
28
+ import { DbPoolConfigModel } from './models/dbPoolConfig';
29
+ import { RealtimeModuleModel } from './models/realtimeModule';
30
+ import { InfraSecretsModuleModel } from './models/infraSecretsModule';
31
+ import { InternalSecretsModuleModel } from './models/internalSecretsModule';
32
+ import { DbPresetModuleModel } from './models/dbPresetModule';
30
33
  import { GraphModuleModel } from './models/graphModule';
31
- import { MerkleStoreModuleModel } from './models/merkleStoreModule';
32
34
  import { RateLimitMetersModuleModel } from './models/rateLimitMetersModule';
33
- import { RealtimeModuleModel } from './models/realtimeModule';
35
+ import { InfraConfigModuleModel } from './models/infraConfigModule';
34
36
  import { WebauthnAuthModuleModel } from './models/webauthnAuthModule';
35
- import { FunctionInvocationModuleModel } from './models/functionInvocationModule';
37
+ import { PrincipalAuthModuleModel } from './models/principalAuthModule';
38
+ import { DbPoolModel } from './models/dbPool';
36
39
  import { FunctionModuleModel } from './models/functionModule';
40
+ import { MerkleStoreModuleModel } from './models/merkleStoreModule';
41
+ import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
42
+ import { FunctionInvocationModuleModel } from './models/functionInvocationModule';
37
43
  import { InvitesModuleModel } from './models/invitesModule';
38
- import { PrincipalAuthModuleModel } from './models/principalAuthModule';
44
+ import { NamespaceModuleModel } from './models/namespaceModule';
45
+ import { PlansModuleModel } from './models/plansModule';
39
46
  import { ComputeLogModuleModel } from './models/computeLogModule';
40
47
  import { InferenceLogModuleModel } from './models/inferenceLogModule';
41
- import { NamespaceModuleModel } from './models/namespaceModule';
42
- import { ResourceModuleModel } from './models/resourceModule';
43
48
  import { StorageLogModuleModel } from './models/storageLogModule';
44
49
  import { TransferLogModuleModel } from './models/transferLogModule';
45
- import { FunctionDeploymentModuleModel } from './models/functionDeploymentModule';
46
- import { PlansModuleModel } from './models/plansModule';
47
50
  import { BillingProviderModuleModel } from './models/billingProviderModule';
48
- import { DbUsageModuleModel } from './models/dbUsageModule';
51
+ import { FunctionDeploymentModuleModel } from './models/functionDeploymentModule';
52
+ import { PermissionsModuleModel } from './models/permissionsModule';
49
53
  import { GraphExecutionModuleModel } from './models/graphExecutionModule';
50
54
  import { HierarchyModuleModel } from './models/hierarchyModule';
51
- import { PermissionsModuleModel } from './models/permissionsModule';
52
55
  import { NotificationsModuleModel } from './models/notificationsModule';
56
+ import { RelationProvisionModel } from './models/relationProvision';
53
57
  import { ProfilesModuleModel } from './models/profilesModule';
54
58
  import { BillingModuleModel } from './models/billingModule';
55
- import { RelationProvisionModel } from './models/relationProvision';
59
+ import { ResourceModuleModel } from './models/resourceModule';
56
60
  import { UserAuthModuleModel } from './models/userAuthModule';
61
+ import { DbUsageModuleModel } from './models/dbUsageModule';
57
62
  import { AgentModuleModel } from './models/agentModule';
58
63
  import { LimitsModuleModel } from './models/limitsModule';
59
- import { MembershipsModuleModel } from './models/membershipsModule';
60
64
  import { EntityTypeProvisionModel } from './models/entityTypeProvision';
61
65
  import { StorageModuleModel } from './models/storageModule';
66
+ import { MembershipsModuleModel } from './models/membershipsModule';
62
67
  import { EventsModuleModel } from './models/eventsModule';
63
68
  export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
64
69
  export { GraphQLRequestError, FetchAdapter } from './client';
@@ -93,23 +98,21 @@ export { createMutationOperations } from './mutation';
93
98
  export declare function createClient(config: OrmClientConfig): {
94
99
  defaultIdsModule: DefaultIdsModuleModel;
95
100
  membershipTypesModule: MembershipTypesModuleModel;
96
- userStateModule: UserStateModuleModel;
97
101
  sessionSecretsModule: SessionSecretsModuleModel;
98
- configSecretsOrgModule: ConfigSecretsOrgModuleModel;
99
102
  devicesModule: DevicesModuleModel;
100
103
  i18NModule: I18NModuleModel;
101
- userCredentialsModule: UserCredentialsModuleModel;
102
104
  userSettingsModule: UserSettingsModuleModel;
103
- configSecretsUserModule: ConfigSecretsUserModuleModel;
105
+ userStateModule: UserStateModuleModel;
106
+ userCredentialsModule: UserCredentialsModuleModel;
104
107
  connectedAccountsModule: ConnectedAccountsModuleModel;
105
108
  emailsModule: EmailsModuleModel;
106
109
  phoneNumbersModule: PhoneNumbersModuleModel;
107
110
  rateLimitsModule: RateLimitsModuleModel;
108
111
  usersModule: UsersModuleModel;
109
112
  webauthnCredentialsModule: WebauthnCredentialsModuleModel;
113
+ configSecretsUserModule: ConfigSecretsUserModuleModel;
110
114
  cryptoAddressesModule: CryptoAddressesModuleModel;
111
115
  denormalizedTableField: DenormalizedTableFieldModel;
112
- identityProvidersModule: IdentityProvidersModuleModel;
113
116
  rlsModule: RlsModuleModel;
114
117
  blueprint: BlueprintModel;
115
118
  blueprintTemplate: BlueprintTemplateModel;
@@ -117,40 +120,47 @@ export declare function createClient(config: OrmClientConfig): {
117
120
  cryptoAuthModule: CryptoAuthModuleModel;
118
121
  sessionsModule: SessionsModuleModel;
119
122
  secureTableProvision: SecureTableProvisionModel;
120
- databaseProvisionModule: DatabaseProvisionModuleModel;
121
- configSecretsModule: ConfigSecretsModuleModel;
123
+ identityProvidersModule: IdentityProvidersModuleModel;
124
+ integrationProvidersModule: IntegrationProvidersModuleModel;
125
+ dbPoolConfig: DbPoolConfigModel;
126
+ realtimeModule: RealtimeModuleModel;
127
+ infraSecretsModule: InfraSecretsModuleModel;
128
+ internalSecretsModule: InternalSecretsModuleModel;
129
+ dbPresetModule: DbPresetModuleModel;
122
130
  graphModule: GraphModuleModel;
123
- merkleStoreModule: MerkleStoreModuleModel;
124
131
  rateLimitMetersModule: RateLimitMetersModuleModel;
125
- realtimeModule: RealtimeModuleModel;
132
+ infraConfigModule: InfraConfigModuleModel;
126
133
  webauthnAuthModule: WebauthnAuthModuleModel;
127
- functionInvocationModule: FunctionInvocationModuleModel;
134
+ principalAuthModule: PrincipalAuthModuleModel;
135
+ dbPool: DbPoolModel;
128
136
  functionModule: FunctionModuleModel;
137
+ merkleStoreModule: MerkleStoreModuleModel;
138
+ databaseProvisionModule: DatabaseProvisionModuleModel;
139
+ functionInvocationModule: FunctionInvocationModuleModel;
129
140
  invitesModule: InvitesModuleModel;
130
- principalAuthModule: PrincipalAuthModuleModel;
141
+ namespaceModule: NamespaceModuleModel;
142
+ plansModule: PlansModuleModel;
131
143
  computeLogModule: ComputeLogModuleModel;
132
144
  inferenceLogModule: InferenceLogModuleModel;
133
- namespaceModule: NamespaceModuleModel;
134
- resourceModule: ResourceModuleModel;
135
145
  storageLogModule: StorageLogModuleModel;
136
146
  transferLogModule: TransferLogModuleModel;
137
- functionDeploymentModule: FunctionDeploymentModuleModel;
138
- plansModule: PlansModuleModel;
139
147
  billingProviderModule: BillingProviderModuleModel;
140
- dbUsageModule: DbUsageModuleModel;
148
+ functionDeploymentModule: FunctionDeploymentModuleModel;
149
+ permissionsModule: PermissionsModuleModel;
141
150
  graphExecutionModule: GraphExecutionModuleModel;
142
151
  hierarchyModule: HierarchyModuleModel;
143
- permissionsModule: PermissionsModuleModel;
144
152
  notificationsModule: NotificationsModuleModel;
153
+ relationProvision: RelationProvisionModel;
145
154
  profilesModule: ProfilesModuleModel;
146
155
  billingModule: BillingModuleModel;
147
- relationProvision: RelationProvisionModel;
156
+ resourceModule: ResourceModuleModel;
148
157
  userAuthModule: UserAuthModuleModel;
158
+ dbUsageModule: DbUsageModuleModel;
149
159
  agentModule: AgentModuleModel;
150
160
  limitsModule: LimitsModuleModel;
151
- membershipsModule: MembershipsModuleModel;
152
161
  entityTypeProvision: EntityTypeProvisionModel;
153
162
  storageModule: StorageModuleModel;
163
+ membershipsModule: MembershipsModuleModel;
154
164
  eventsModule: EventsModuleModel;
155
165
  query: {
156
166
  resolveBlueprintField: (args: import("./query").ResolveBlueprintFieldVariables, options?: {