@constructive-io/sdk 0.29.8 → 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 +6 -6
  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
@@ -3,12 +3,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.connectionFieldsMap = void 0;
4
4
  // ============ Connection Fields Map ============
5
5
  exports.connectionFieldsMap = {
6
+ PlatformResource: {
7
+ platformResourceStatusChecksByResourceId: 'PlatformResourceStatusCheck',
8
+ },
9
+ Resource: {
10
+ resourceStatusChecks: 'ResourceStatusCheck',
11
+ },
6
12
  PlatformNamespace: {
7
- functionDeploymentsByNamespaceId: 'FunctionDeployment',
8
- resourcesByNamespaceId: 'Resource',
13
+ platformFunctionDeploymentsByNamespaceId: 'PlatformFunctionDeployment',
14
+ platformResourcesByNamespaceId: 'PlatformResource',
15
+ platformResourceDefinitionsByNamespaceId: 'PlatformResourceDefinition',
16
+ },
17
+ Namespace: {
18
+ functionDeployments: 'FunctionDeployment',
19
+ resources: 'Resource',
20
+ resourceDefinitions: 'ResourceDefinition',
21
+ },
22
+ PlatformFunctionDefinition: {
23
+ platformFunctionApiBindingsByFunctionDefinitionId: 'PlatformFunctionApiBinding',
9
24
  },
10
25
  FunctionDefinition: {
11
26
  functionApiBindings: 'FunctionApiBinding',
12
- functionDeployments: 'FunctionDeployment',
13
27
  },
14
28
  };
@@ -0,0 +1,54 @@
1
+ /**
2
+ * DbPreset model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { DbPresetWithRelations, DbPresetSelect, DbPresetFilter, DbPresetOrderBy, CreateDbPresetInput, DbPresetPatch } from '../input-types';
10
+ export declare class DbPresetModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends DbPresetSelect>(args: FindManyArgs<S, DbPresetFilter, DbPresetOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, DbPresetSelect>): QueryBuilder<{
16
+ dbPresets: ConnectionResult<InferSelectResult<DbPresetWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends DbPresetSelect>(args: FindFirstArgs<S, DbPresetFilter, DbPresetOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, DbPresetSelect>): QueryBuilder<{
21
+ dbPreset: InferSelectResult<DbPresetWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends DbPresetSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, DbPresetSelect>): QueryBuilder<{
27
+ dbPreset: InferSelectResult<DbPresetWithRelations, S> | null;
28
+ }>;
29
+ create<S extends DbPresetSelect>(args: CreateArgs<S, CreateDbPresetInput['dbPreset']> & {
30
+ select: S;
31
+ } & StrictSelect<S, DbPresetSelect>): QueryBuilder<{
32
+ createDbPreset: {
33
+ dbPreset: InferSelectResult<DbPresetWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends DbPresetSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, DbPresetPatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, DbPresetSelect>): QueryBuilder<{
41
+ updateDbPreset: {
42
+ dbPreset: InferSelectResult<DbPresetWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends DbPresetSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, DbPresetSelect>): QueryBuilder<{
50
+ deleteDbPreset: {
51
+ dbPreset: InferSelectResult<DbPresetWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DbPresetModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class DbPresetModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DbPreset', 'dbPresets', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'DbPresetFilter', 'DbPresetOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'DbPreset',
25
+ fieldName: 'dbPresets',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('DbPreset', 'dbPresets', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'DbPresetFilter', 'DbPresetOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'DbPreset',
39
+ fieldName: 'dbPreset',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ dbPreset: data.dbPresets?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DbPreset', 'dbPresets', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'DbPresetFilter', 'DbPresetOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'DbPreset',
60
+ fieldName: 'dbPreset',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ dbPreset: data.dbPresets?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('DbPreset', 'createDbPreset', 'dbPreset', args.select, args.data, 'CreateDbPresetInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'DbPreset',
74
+ fieldName: 'createDbPreset',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('DbPreset', 'updateDbPreset', 'dbPreset', args.select, args.where.id, args.data, 'UpdateDbPresetInput', 'id', 'dbPresetPatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'DbPreset',
85
+ fieldName: 'updateDbPreset',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('DbPreset', 'deleteDbPreset', 'dbPreset', {
92
+ id: args.where.id,
93
+ }, 'DeleteDbPresetInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'DbPreset',
98
+ fieldName: 'deleteDbPreset',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.DbPresetModel = DbPresetModel;
@@ -35,7 +35,7 @@ export declare class FunctionGraphCommitModel {
35
35
  }>;
36
36
  update<S extends FunctionGraphCommitSelect>(args: UpdateArgs<S, {
37
37
  id: string;
38
- databaseId: string;
38
+ scopeId: string;
39
39
  }, FunctionGraphCommitPatch> & {
40
40
  select: S;
41
41
  } & StrictSelect<S, FunctionGraphCommitSelect>): QueryBuilder<{
@@ -45,7 +45,7 @@ export declare class FunctionGraphCommitModel {
45
45
  }>;
46
46
  delete<S extends FunctionGraphCommitSelect>(args: DeleteArgs<{
47
47
  id: string;
48
- databaseId: string;
48
+ scopeId: string;
49
49
  }, S> & {
50
50
  select: S;
51
51
  } & StrictSelect<S, FunctionGraphCommitSelect>): QueryBuilder<{
@@ -78,7 +78,7 @@ class FunctionGraphCommitModel {
78
78
  }
79
79
  update(args) {
80
80
  const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('FunctionGraphCommit', 'updateFunctionGraphCommit', 'functionGraphCommit', args.select, args.where.id, args.data, 'UpdateFunctionGraphCommitInput', 'id', 'functionGraphCommitPatch', input_types_1.connectionFieldsMap, {
81
- databaseId: args.where.databaseId,
81
+ scopeId: args.where.scopeId,
82
82
  });
83
83
  return new query_builder_1.QueryBuilder({
84
84
  client: this.client,
@@ -92,7 +92,7 @@ class FunctionGraphCommitModel {
92
92
  delete(args) {
93
93
  const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('FunctionGraphCommit', 'deleteFunctionGraphCommit', 'functionGraphCommit', {
94
94
  id: args.where.id,
95
- databaseId: args.where.databaseId,
95
+ scopeId: args.where.scopeId,
96
96
  }, 'DeleteFunctionGraphCommitInput', args.select, input_types_1.connectionFieldsMap);
97
97
  return new query_builder_1.QueryBuilder({
98
98
  client: this.client,
@@ -35,7 +35,7 @@ export declare class FunctionGraphObjectModel {
35
35
  }>;
36
36
  update<S extends FunctionGraphObjectSelect>(args: UpdateArgs<S, {
37
37
  id: string;
38
- databaseId: string;
38
+ scopeId: string;
39
39
  }, FunctionGraphObjectPatch> & {
40
40
  select: S;
41
41
  } & StrictSelect<S, FunctionGraphObjectSelect>): QueryBuilder<{
@@ -45,7 +45,7 @@ export declare class FunctionGraphObjectModel {
45
45
  }>;
46
46
  delete<S extends FunctionGraphObjectSelect>(args: DeleteArgs<{
47
47
  id: string;
48
- databaseId: string;
48
+ scopeId: string;
49
49
  }, S> & {
50
50
  select: S;
51
51
  } & StrictSelect<S, FunctionGraphObjectSelect>): QueryBuilder<{
@@ -68,7 +68,7 @@ class FunctionGraphObjectModel {
68
68
  }
69
69
  update(args) {
70
70
  const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('FunctionGraphObject', 'updateFunctionGraphObject', 'functionGraphObject', args.select, args.where.id, args.data, 'UpdateFunctionGraphObjectInput', 'id', 'functionGraphObjectPatch', input_types_1.connectionFieldsMap, {
71
- databaseId: args.where.databaseId,
71
+ scopeId: args.where.scopeId,
72
72
  });
73
73
  return new query_builder_1.QueryBuilder({
74
74
  client: this.client,
@@ -82,7 +82,7 @@ class FunctionGraphObjectModel {
82
82
  delete(args) {
83
83
  const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('FunctionGraphObject', 'deleteFunctionGraphObject', 'functionGraphObject', {
84
84
  id: args.where.id,
85
- databaseId: args.where.databaseId,
85
+ scopeId: args.where.scopeId,
86
86
  }, 'DeleteFunctionGraphObjectInput', args.select, input_types_1.connectionFieldsMap);
87
87
  return new query_builder_1.QueryBuilder({
88
88
  client: this.client,
@@ -35,7 +35,7 @@ export declare class FunctionGraphRefModel {
35
35
  }>;
36
36
  update<S extends FunctionGraphRefSelect>(args: UpdateArgs<S, {
37
37
  id: string;
38
- databaseId: string;
38
+ scopeId: string;
39
39
  }, FunctionGraphRefPatch> & {
40
40
  select: S;
41
41
  } & StrictSelect<S, FunctionGraphRefSelect>): QueryBuilder<{
@@ -45,7 +45,7 @@ export declare class FunctionGraphRefModel {
45
45
  }>;
46
46
  delete<S extends FunctionGraphRefSelect>(args: DeleteArgs<{
47
47
  id: string;
48
- databaseId: string;
48
+ scopeId: string;
49
49
  }, S> & {
50
50
  select: S;
51
51
  } & StrictSelect<S, FunctionGraphRefSelect>): QueryBuilder<{
@@ -78,7 +78,7 @@ class FunctionGraphRefModel {
78
78
  }
79
79
  update(args) {
80
80
  const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('FunctionGraphRef', 'updateFunctionGraphRef', 'functionGraphRef', args.select, args.where.id, args.data, 'UpdateFunctionGraphRefInput', 'id', 'functionGraphRefPatch', input_types_1.connectionFieldsMap, {
81
- databaseId: args.where.databaseId,
81
+ scopeId: args.where.scopeId,
82
82
  });
83
83
  return new query_builder_1.QueryBuilder({
84
84
  client: this.client,
@@ -92,7 +92,7 @@ class FunctionGraphRefModel {
92
92
  delete(args) {
93
93
  const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('FunctionGraphRef', 'deleteFunctionGraphRef', 'functionGraphRef', {
94
94
  id: args.where.id,
95
- databaseId: args.where.databaseId,
95
+ scopeId: args.where.scopeId,
96
96
  }, 'DeleteFunctionGraphRefInput', args.select, input_types_1.connectionFieldsMap);
97
97
  return new query_builder_1.QueryBuilder({
98
98
  client: this.client,
@@ -3,25 +3,47 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
+ export { InfraGetAllRecordModel } from './infraGetAllRecord';
6
7
  export { GetAllRecordModel } from './getAllRecord';
8
+ export { InfraRefModel } from './infraRef';
9
+ export { InfraStoreModel } from './infraStore';
7
10
  export { FunctionApiBindingModel } from './functionApiBinding';
8
- export { FunctionDeploymentModel } from './functionDeployment';
9
- export { ResourceModel } from './resource';
10
11
  export { FunctionGraphRefModel } from './functionGraphRef';
11
12
  export { FunctionGraphStoreModel } from './functionGraphStore';
13
+ export { PlatformFunctionApiBindingModel } from './platformFunctionApiBinding';
14
+ export { PlatformResourcesRequirementsStateModel } from './platformResourcesRequirementsState';
15
+ export { ResourcesRequirementsStateModel } from './resourcesRequirementsState';
16
+ export { PlatformResourceStatusCheckModel } from './platformResourceStatusCheck';
17
+ export { PlatformFunctionDeploymentModel } from './platformFunctionDeployment';
18
+ export { PlatformResourceModel } from './platformResource';
19
+ export { PlatformResourceDefinitionModel } from './platformResourceDefinition';
20
+ export { InfraObjectModel } from './infraObject';
12
21
  export { FunctionGraphObjectModel } from './functionGraphObject';
22
+ export { PlatformFunctionDeploymentEventModel } from './platformFunctionDeploymentEvent';
23
+ export { PlatformResourceEventModel } from './platformResourceEvent';
24
+ export { ResourceStatusCheckModel } from './resourceStatusCheck';
25
+ export { FunctionDeploymentModel } from './functionDeployment';
26
+ export { ResourceModel } from './resource';
27
+ export { ResourceDefinitionModel } from './resourceDefinition';
13
28
  export { FunctionDeploymentEventModel } from './functionDeploymentEvent';
14
- export { OrgFunctionExecutionLogModel } from './orgFunctionExecutionLog';
29
+ export { PlatformFunctionExecutionLogModel } from './platformFunctionExecutionLog';
15
30
  export { ResourceEventModel } from './resourceEvent';
16
31
  export { FunctionGraphExecutionOutputModel } from './functionGraphExecutionOutput';
32
+ export { InfraCommitModel } from './infraCommit';
17
33
  export { FunctionGraphCommitModel } from './functionGraphCommit';
18
- export { SecretDefinitionModel } from './secretDefinition';
19
34
  export { FunctionExecutionLogModel } from './functionExecutionLog';
35
+ export { PlatformResourcesResolvedRequirementModel } from './platformResourcesResolvedRequirement';
36
+ export { ResourcesResolvedRequirementModel } from './resourcesResolvedRequirement';
37
+ export { DbPresetModel } from './dbPreset';
38
+ export { PlatformNamespaceModel } from './platformNamespace';
20
39
  export { FunctionGraphModel } from './functionGraph';
21
40
  export { FunctionGraphExecutionNodeStateModel } from './functionGraphExecutionNodeState';
22
- export { PlatformNamespaceModel } from './platformNamespace';
23
- export { OrgFunctionInvocationModel } from './orgFunctionInvocation';
41
+ export { NamespaceModel } from './namespace';
42
+ export { PlatformFunctionInvocationModel } from './platformFunctionInvocation';
24
43
  export { FunctionInvocationModel } from './functionInvocation';
25
44
  export { PlatformNamespaceEventModel } from './platformNamespaceEvent';
45
+ export { IntegrationProviderModel } from './integrationProvider';
46
+ export { NamespaceEventModel } from './namespaceEvent';
26
47
  export { FunctionGraphExecutionModel } from './functionGraphExecution';
48
+ export { PlatformFunctionDefinitionModel } from './platformFunctionDefinition';
27
49
  export { FunctionDefinitionModel } from './functionDefinition';
@@ -1,52 +1,96 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FunctionDefinitionModel = exports.FunctionGraphExecutionModel = exports.PlatformNamespaceEventModel = exports.FunctionInvocationModel = exports.OrgFunctionInvocationModel = exports.PlatformNamespaceModel = exports.FunctionGraphExecutionNodeStateModel = exports.FunctionGraphModel = exports.FunctionExecutionLogModel = exports.SecretDefinitionModel = exports.FunctionGraphCommitModel = exports.FunctionGraphExecutionOutputModel = exports.ResourceEventModel = exports.OrgFunctionExecutionLogModel = exports.FunctionDeploymentEventModel = exports.FunctionGraphObjectModel = exports.FunctionGraphStoreModel = exports.FunctionGraphRefModel = exports.ResourceModel = exports.FunctionDeploymentModel = exports.FunctionApiBindingModel = exports.GetAllRecordModel = void 0;
3
+ exports.FunctionDefinitionModel = exports.PlatformFunctionDefinitionModel = exports.FunctionGraphExecutionModel = exports.NamespaceEventModel = exports.IntegrationProviderModel = exports.PlatformNamespaceEventModel = exports.FunctionInvocationModel = exports.PlatformFunctionInvocationModel = exports.NamespaceModel = exports.FunctionGraphExecutionNodeStateModel = exports.FunctionGraphModel = exports.PlatformNamespaceModel = exports.DbPresetModel = exports.ResourcesResolvedRequirementModel = exports.PlatformResourcesResolvedRequirementModel = exports.FunctionExecutionLogModel = exports.FunctionGraphCommitModel = exports.InfraCommitModel = exports.FunctionGraphExecutionOutputModel = exports.ResourceEventModel = exports.PlatformFunctionExecutionLogModel = exports.FunctionDeploymentEventModel = exports.ResourceDefinitionModel = exports.ResourceModel = exports.FunctionDeploymentModel = exports.ResourceStatusCheckModel = exports.PlatformResourceEventModel = exports.PlatformFunctionDeploymentEventModel = exports.FunctionGraphObjectModel = exports.InfraObjectModel = exports.PlatformResourceDefinitionModel = exports.PlatformResourceModel = exports.PlatformFunctionDeploymentModel = exports.PlatformResourceStatusCheckModel = exports.ResourcesRequirementsStateModel = exports.PlatformResourcesRequirementsStateModel = exports.PlatformFunctionApiBindingModel = exports.FunctionGraphStoreModel = exports.FunctionGraphRefModel = exports.FunctionApiBindingModel = exports.InfraStoreModel = exports.InfraRefModel = exports.GetAllRecordModel = exports.InfraGetAllRecordModel = void 0;
4
4
  /**
5
5
  * Models barrel export
6
6
  * @generated by @constructive-io/graphql-codegen
7
7
  * DO NOT EDIT - changes will be overwritten
8
8
  */
9
+ var infraGetAllRecord_1 = require("./infraGetAllRecord");
10
+ Object.defineProperty(exports, "InfraGetAllRecordModel", { enumerable: true, get: function () { return infraGetAllRecord_1.InfraGetAllRecordModel; } });
9
11
  var getAllRecord_1 = require("./getAllRecord");
10
12
  Object.defineProperty(exports, "GetAllRecordModel", { enumerable: true, get: function () { return getAllRecord_1.GetAllRecordModel; } });
13
+ var infraRef_1 = require("./infraRef");
14
+ Object.defineProperty(exports, "InfraRefModel", { enumerable: true, get: function () { return infraRef_1.InfraRefModel; } });
15
+ var infraStore_1 = require("./infraStore");
16
+ Object.defineProperty(exports, "InfraStoreModel", { enumerable: true, get: function () { return infraStore_1.InfraStoreModel; } });
11
17
  var functionApiBinding_1 = require("./functionApiBinding");
12
18
  Object.defineProperty(exports, "FunctionApiBindingModel", { enumerable: true, get: function () { return functionApiBinding_1.FunctionApiBindingModel; } });
13
- var functionDeployment_1 = require("./functionDeployment");
14
- Object.defineProperty(exports, "FunctionDeploymentModel", { enumerable: true, get: function () { return functionDeployment_1.FunctionDeploymentModel; } });
15
- var resource_1 = require("./resource");
16
- Object.defineProperty(exports, "ResourceModel", { enumerable: true, get: function () { return resource_1.ResourceModel; } });
17
19
  var functionGraphRef_1 = require("./functionGraphRef");
18
20
  Object.defineProperty(exports, "FunctionGraphRefModel", { enumerable: true, get: function () { return functionGraphRef_1.FunctionGraphRefModel; } });
19
21
  var functionGraphStore_1 = require("./functionGraphStore");
20
22
  Object.defineProperty(exports, "FunctionGraphStoreModel", { enumerable: true, get: function () { return functionGraphStore_1.FunctionGraphStoreModel; } });
23
+ var platformFunctionApiBinding_1 = require("./platformFunctionApiBinding");
24
+ Object.defineProperty(exports, "PlatformFunctionApiBindingModel", { enumerable: true, get: function () { return platformFunctionApiBinding_1.PlatformFunctionApiBindingModel; } });
25
+ var platformResourcesRequirementsState_1 = require("./platformResourcesRequirementsState");
26
+ Object.defineProperty(exports, "PlatformResourcesRequirementsStateModel", { enumerable: true, get: function () { return platformResourcesRequirementsState_1.PlatformResourcesRequirementsStateModel; } });
27
+ var resourcesRequirementsState_1 = require("./resourcesRequirementsState");
28
+ Object.defineProperty(exports, "ResourcesRequirementsStateModel", { enumerable: true, get: function () { return resourcesRequirementsState_1.ResourcesRequirementsStateModel; } });
29
+ var platformResourceStatusCheck_1 = require("./platformResourceStatusCheck");
30
+ Object.defineProperty(exports, "PlatformResourceStatusCheckModel", { enumerable: true, get: function () { return platformResourceStatusCheck_1.PlatformResourceStatusCheckModel; } });
31
+ var platformFunctionDeployment_1 = require("./platformFunctionDeployment");
32
+ Object.defineProperty(exports, "PlatformFunctionDeploymentModel", { enumerable: true, get: function () { return platformFunctionDeployment_1.PlatformFunctionDeploymentModel; } });
33
+ var platformResource_1 = require("./platformResource");
34
+ Object.defineProperty(exports, "PlatformResourceModel", { enumerable: true, get: function () { return platformResource_1.PlatformResourceModel; } });
35
+ var platformResourceDefinition_1 = require("./platformResourceDefinition");
36
+ Object.defineProperty(exports, "PlatformResourceDefinitionModel", { enumerable: true, get: function () { return platformResourceDefinition_1.PlatformResourceDefinitionModel; } });
37
+ var infraObject_1 = require("./infraObject");
38
+ Object.defineProperty(exports, "InfraObjectModel", { enumerable: true, get: function () { return infraObject_1.InfraObjectModel; } });
21
39
  var functionGraphObject_1 = require("./functionGraphObject");
22
40
  Object.defineProperty(exports, "FunctionGraphObjectModel", { enumerable: true, get: function () { return functionGraphObject_1.FunctionGraphObjectModel; } });
41
+ var platformFunctionDeploymentEvent_1 = require("./platformFunctionDeploymentEvent");
42
+ Object.defineProperty(exports, "PlatformFunctionDeploymentEventModel", { enumerable: true, get: function () { return platformFunctionDeploymentEvent_1.PlatformFunctionDeploymentEventModel; } });
43
+ var platformResourceEvent_1 = require("./platformResourceEvent");
44
+ Object.defineProperty(exports, "PlatformResourceEventModel", { enumerable: true, get: function () { return platformResourceEvent_1.PlatformResourceEventModel; } });
45
+ var resourceStatusCheck_1 = require("./resourceStatusCheck");
46
+ Object.defineProperty(exports, "ResourceStatusCheckModel", { enumerable: true, get: function () { return resourceStatusCheck_1.ResourceStatusCheckModel; } });
47
+ var functionDeployment_1 = require("./functionDeployment");
48
+ Object.defineProperty(exports, "FunctionDeploymentModel", { enumerable: true, get: function () { return functionDeployment_1.FunctionDeploymentModel; } });
49
+ var resource_1 = require("./resource");
50
+ Object.defineProperty(exports, "ResourceModel", { enumerable: true, get: function () { return resource_1.ResourceModel; } });
51
+ var resourceDefinition_1 = require("./resourceDefinition");
52
+ Object.defineProperty(exports, "ResourceDefinitionModel", { enumerable: true, get: function () { return resourceDefinition_1.ResourceDefinitionModel; } });
23
53
  var functionDeploymentEvent_1 = require("./functionDeploymentEvent");
24
54
  Object.defineProperty(exports, "FunctionDeploymentEventModel", { enumerable: true, get: function () { return functionDeploymentEvent_1.FunctionDeploymentEventModel; } });
25
- var orgFunctionExecutionLog_1 = require("./orgFunctionExecutionLog");
26
- Object.defineProperty(exports, "OrgFunctionExecutionLogModel", { enumerable: true, get: function () { return orgFunctionExecutionLog_1.OrgFunctionExecutionLogModel; } });
55
+ var platformFunctionExecutionLog_1 = require("./platformFunctionExecutionLog");
56
+ Object.defineProperty(exports, "PlatformFunctionExecutionLogModel", { enumerable: true, get: function () { return platformFunctionExecutionLog_1.PlatformFunctionExecutionLogModel; } });
27
57
  var resourceEvent_1 = require("./resourceEvent");
28
58
  Object.defineProperty(exports, "ResourceEventModel", { enumerable: true, get: function () { return resourceEvent_1.ResourceEventModel; } });
29
59
  var functionGraphExecutionOutput_1 = require("./functionGraphExecutionOutput");
30
60
  Object.defineProperty(exports, "FunctionGraphExecutionOutputModel", { enumerable: true, get: function () { return functionGraphExecutionOutput_1.FunctionGraphExecutionOutputModel; } });
61
+ var infraCommit_1 = require("./infraCommit");
62
+ Object.defineProperty(exports, "InfraCommitModel", { enumerable: true, get: function () { return infraCommit_1.InfraCommitModel; } });
31
63
  var functionGraphCommit_1 = require("./functionGraphCommit");
32
64
  Object.defineProperty(exports, "FunctionGraphCommitModel", { enumerable: true, get: function () { return functionGraphCommit_1.FunctionGraphCommitModel; } });
33
- var secretDefinition_1 = require("./secretDefinition");
34
- Object.defineProperty(exports, "SecretDefinitionModel", { enumerable: true, get: function () { return secretDefinition_1.SecretDefinitionModel; } });
35
65
  var functionExecutionLog_1 = require("./functionExecutionLog");
36
66
  Object.defineProperty(exports, "FunctionExecutionLogModel", { enumerable: true, get: function () { return functionExecutionLog_1.FunctionExecutionLogModel; } });
67
+ var platformResourcesResolvedRequirement_1 = require("./platformResourcesResolvedRequirement");
68
+ Object.defineProperty(exports, "PlatformResourcesResolvedRequirementModel", { enumerable: true, get: function () { return platformResourcesResolvedRequirement_1.PlatformResourcesResolvedRequirementModel; } });
69
+ var resourcesResolvedRequirement_1 = require("./resourcesResolvedRequirement");
70
+ Object.defineProperty(exports, "ResourcesResolvedRequirementModel", { enumerable: true, get: function () { return resourcesResolvedRequirement_1.ResourcesResolvedRequirementModel; } });
71
+ var dbPreset_1 = require("./dbPreset");
72
+ Object.defineProperty(exports, "DbPresetModel", { enumerable: true, get: function () { return dbPreset_1.DbPresetModel; } });
73
+ var platformNamespace_1 = require("./platformNamespace");
74
+ Object.defineProperty(exports, "PlatformNamespaceModel", { enumerable: true, get: function () { return platformNamespace_1.PlatformNamespaceModel; } });
37
75
  var functionGraph_1 = require("./functionGraph");
38
76
  Object.defineProperty(exports, "FunctionGraphModel", { enumerable: true, get: function () { return functionGraph_1.FunctionGraphModel; } });
39
77
  var functionGraphExecutionNodeState_1 = require("./functionGraphExecutionNodeState");
40
78
  Object.defineProperty(exports, "FunctionGraphExecutionNodeStateModel", { enumerable: true, get: function () { return functionGraphExecutionNodeState_1.FunctionGraphExecutionNodeStateModel; } });
41
- var platformNamespace_1 = require("./platformNamespace");
42
- Object.defineProperty(exports, "PlatformNamespaceModel", { enumerable: true, get: function () { return platformNamespace_1.PlatformNamespaceModel; } });
43
- var orgFunctionInvocation_1 = require("./orgFunctionInvocation");
44
- Object.defineProperty(exports, "OrgFunctionInvocationModel", { enumerable: true, get: function () { return orgFunctionInvocation_1.OrgFunctionInvocationModel; } });
79
+ var namespace_1 = require("./namespace");
80
+ Object.defineProperty(exports, "NamespaceModel", { enumerable: true, get: function () { return namespace_1.NamespaceModel; } });
81
+ var platformFunctionInvocation_1 = require("./platformFunctionInvocation");
82
+ Object.defineProperty(exports, "PlatformFunctionInvocationModel", { enumerable: true, get: function () { return platformFunctionInvocation_1.PlatformFunctionInvocationModel; } });
45
83
  var functionInvocation_1 = require("./functionInvocation");
46
84
  Object.defineProperty(exports, "FunctionInvocationModel", { enumerable: true, get: function () { return functionInvocation_1.FunctionInvocationModel; } });
47
85
  var platformNamespaceEvent_1 = require("./platformNamespaceEvent");
48
86
  Object.defineProperty(exports, "PlatformNamespaceEventModel", { enumerable: true, get: function () { return platformNamespaceEvent_1.PlatformNamespaceEventModel; } });
87
+ var integrationProvider_1 = require("./integrationProvider");
88
+ Object.defineProperty(exports, "IntegrationProviderModel", { enumerable: true, get: function () { return integrationProvider_1.IntegrationProviderModel; } });
89
+ var namespaceEvent_1 = require("./namespaceEvent");
90
+ Object.defineProperty(exports, "NamespaceEventModel", { enumerable: true, get: function () { return namespaceEvent_1.NamespaceEventModel; } });
49
91
  var functionGraphExecution_1 = require("./functionGraphExecution");
50
92
  Object.defineProperty(exports, "FunctionGraphExecutionModel", { enumerable: true, get: function () { return functionGraphExecution_1.FunctionGraphExecutionModel; } });
93
+ var platformFunctionDefinition_1 = require("./platformFunctionDefinition");
94
+ Object.defineProperty(exports, "PlatformFunctionDefinitionModel", { enumerable: true, get: function () { return platformFunctionDefinition_1.PlatformFunctionDefinitionModel; } });
51
95
  var functionDefinition_1 = require("./functionDefinition");
52
96
  Object.defineProperty(exports, "FunctionDefinitionModel", { enumerable: true, get: function () { return functionDefinition_1.FunctionDefinitionModel; } });
@@ -0,0 +1,56 @@
1
+ /**
2
+ * InfraCommit model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { InfraCommitWithRelations, InfraCommitSelect, InfraCommitFilter, InfraCommitOrderBy, CreateInfraCommitInput, InfraCommitPatch } from '../input-types';
10
+ export declare class InfraCommitModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends InfraCommitSelect>(args: FindManyArgs<S, InfraCommitFilter, InfraCommitOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, InfraCommitSelect>): QueryBuilder<{
16
+ infraCommits: ConnectionResult<InferSelectResult<InfraCommitWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends InfraCommitSelect>(args: FindFirstArgs<S, InfraCommitFilter, InfraCommitOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, InfraCommitSelect>): QueryBuilder<{
21
+ infraCommit: InferSelectResult<InfraCommitWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends InfraCommitSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, InfraCommitSelect>): QueryBuilder<{
27
+ infraCommit: InferSelectResult<InfraCommitWithRelations, S> | null;
28
+ }>;
29
+ create<S extends InfraCommitSelect>(args: CreateArgs<S, CreateInfraCommitInput['infraCommit']> & {
30
+ select: S;
31
+ } & StrictSelect<S, InfraCommitSelect>): QueryBuilder<{
32
+ createInfraCommit: {
33
+ infraCommit: InferSelectResult<InfraCommitWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends InfraCommitSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ scopeId: string;
39
+ }, InfraCommitPatch> & {
40
+ select: S;
41
+ } & StrictSelect<S, InfraCommitSelect>): QueryBuilder<{
42
+ updateInfraCommit: {
43
+ infraCommit: InferSelectResult<InfraCommitWithRelations, S>;
44
+ };
45
+ }>;
46
+ delete<S extends InfraCommitSelect>(args: DeleteArgs<{
47
+ id: string;
48
+ scopeId: string;
49
+ }, S> & {
50
+ select: S;
51
+ } & StrictSelect<S, InfraCommitSelect>): QueryBuilder<{
52
+ deleteInfraCommit: {
53
+ infraCommit: InferSelectResult<InfraCommitWithRelations, S>;
54
+ };
55
+ }>;
56
+ }
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfraCommitModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class InfraCommitModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('InfraCommit', 'infraCommits', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'InfraCommitFilter', 'InfraCommitOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'InfraCommit',
25
+ fieldName: 'infraCommits',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('InfraCommit', 'infraCommits', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'InfraCommitFilter', 'InfraCommitOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'InfraCommit',
39
+ fieldName: 'infraCommit',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ infraCommit: data.infraCommits?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('InfraCommit', 'infraCommits', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'InfraCommitFilter', 'InfraCommitOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'InfraCommit',
60
+ fieldName: 'infraCommit',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ infraCommit: data.infraCommits?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('InfraCommit', 'createInfraCommit', 'infraCommit', args.select, args.data, 'CreateInfraCommitInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'InfraCommit',
74
+ fieldName: 'createInfraCommit',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('InfraCommit', 'updateInfraCommit', 'infraCommit', args.select, args.where.id, args.data, 'UpdateInfraCommitInput', 'id', 'infraCommitPatch', input_types_1.connectionFieldsMap, {
81
+ scopeId: args.where.scopeId,
82
+ });
83
+ return new query_builder_1.QueryBuilder({
84
+ client: this.client,
85
+ operation: 'mutation',
86
+ operationName: 'InfraCommit',
87
+ fieldName: 'updateInfraCommit',
88
+ document,
89
+ variables,
90
+ });
91
+ }
92
+ delete(args) {
93
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('InfraCommit', 'deleteInfraCommit', 'infraCommit', {
94
+ id: args.where.id,
95
+ scopeId: args.where.scopeId,
96
+ }, 'DeleteInfraCommitInput', args.select, input_types_1.connectionFieldsMap);
97
+ return new query_builder_1.QueryBuilder({
98
+ client: this.client,
99
+ operation: 'mutation',
100
+ operationName: 'InfraCommit',
101
+ fieldName: 'deleteInfraCommit',
102
+ document,
103
+ variables,
104
+ });
105
+ }
106
+ }
107
+ exports.InfraCommitModel = InfraCommitModel;