@constructive-sdk/cli 0.13.1 → 0.13.3

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 (351) hide show
  1. package/admin/cli/utils.d.ts +1 -1
  2. package/admin/cli/utils.js +1 -5
  3. package/admin/orm/models/appAchievement.d.ts +1 -1
  4. package/admin/orm/models/appAdminGrant.d.ts +1 -1
  5. package/admin/orm/models/appGrant.d.ts +1 -1
  6. package/admin/orm/models/appLevel.d.ts +1 -1
  7. package/admin/orm/models/appLevelRequirement.d.ts +1 -1
  8. package/admin/orm/models/appLimit.d.ts +1 -1
  9. package/admin/orm/models/appLimitDefault.d.ts +1 -1
  10. package/admin/orm/models/appMembership.d.ts +1 -1
  11. package/admin/orm/models/appMembershipDefault.d.ts +1 -1
  12. package/admin/orm/models/appOwnerGrant.d.ts +1 -1
  13. package/admin/orm/models/appPermission.d.ts +1 -1
  14. package/admin/orm/models/appPermissionDefault.d.ts +1 -1
  15. package/admin/orm/models/appStep.d.ts +1 -1
  16. package/admin/orm/models/claimedInvite.d.ts +1 -1
  17. package/admin/orm/models/invite.d.ts +1 -1
  18. package/admin/orm/models/membershipType.d.ts +1 -1
  19. package/admin/orm/models/orgAdminGrant.d.ts +1 -1
  20. package/admin/orm/models/orgChartEdge.d.ts +1 -1
  21. package/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  22. package/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  23. package/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  24. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  25. package/admin/orm/models/orgGrant.d.ts +1 -1
  26. package/admin/orm/models/orgInvite.d.ts +1 -1
  27. package/admin/orm/models/orgLimit.d.ts +1 -1
  28. package/admin/orm/models/orgLimitDefault.d.ts +1 -1
  29. package/admin/orm/models/orgMember.d.ts +1 -1
  30. package/admin/orm/models/orgMembership.d.ts +1 -1
  31. package/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  32. package/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  33. package/admin/orm/models/orgPermission.d.ts +1 -1
  34. package/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  35. package/admin/orm/query-builder.d.ts +4 -6
  36. package/admin/orm/query-builder.js +2 -12
  37. package/admin/orm/select-types.d.ts +2 -4
  38. package/auth/cli/utils.d.ts +1 -1
  39. package/auth/cli/utils.js +1 -5
  40. package/auth/orm/models/auditLog.d.ts +1 -1
  41. package/auth/orm/models/connectedAccount.d.ts +1 -1
  42. package/auth/orm/models/cryptoAddress.d.ts +1 -1
  43. package/auth/orm/models/email.d.ts +1 -1
  44. package/auth/orm/models/phoneNumber.d.ts +1 -1
  45. package/auth/orm/models/roleType.d.ts +1 -1
  46. package/auth/orm/models/user.d.ts +1 -1
  47. package/auth/orm/query-builder.d.ts +4 -6
  48. package/auth/orm/query-builder.js +2 -12
  49. package/auth/orm/select-types.d.ts +2 -4
  50. package/esm/admin/cli/utils.d.ts +1 -1
  51. package/esm/admin/cli/utils.js +1 -5
  52. package/esm/admin/orm/models/appAchievement.d.ts +1 -1
  53. package/esm/admin/orm/models/appAdminGrant.d.ts +1 -1
  54. package/esm/admin/orm/models/appGrant.d.ts +1 -1
  55. package/esm/admin/orm/models/appLevel.d.ts +1 -1
  56. package/esm/admin/orm/models/appLevelRequirement.d.ts +1 -1
  57. package/esm/admin/orm/models/appLimit.d.ts +1 -1
  58. package/esm/admin/orm/models/appLimitDefault.d.ts +1 -1
  59. package/esm/admin/orm/models/appMembership.d.ts +1 -1
  60. package/esm/admin/orm/models/appMembershipDefault.d.ts +1 -1
  61. package/esm/admin/orm/models/appOwnerGrant.d.ts +1 -1
  62. package/esm/admin/orm/models/appPermission.d.ts +1 -1
  63. package/esm/admin/orm/models/appPermissionDefault.d.ts +1 -1
  64. package/esm/admin/orm/models/appStep.d.ts +1 -1
  65. package/esm/admin/orm/models/claimedInvite.d.ts +1 -1
  66. package/esm/admin/orm/models/invite.d.ts +1 -1
  67. package/esm/admin/orm/models/membershipType.d.ts +1 -1
  68. package/esm/admin/orm/models/orgAdminGrant.d.ts +1 -1
  69. package/esm/admin/orm/models/orgChartEdge.d.ts +1 -1
  70. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  71. package/esm/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  72. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  73. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  74. package/esm/admin/orm/models/orgGrant.d.ts +1 -1
  75. package/esm/admin/orm/models/orgInvite.d.ts +1 -1
  76. package/esm/admin/orm/models/orgLimit.d.ts +1 -1
  77. package/esm/admin/orm/models/orgLimitDefault.d.ts +1 -1
  78. package/esm/admin/orm/models/orgMember.d.ts +1 -1
  79. package/esm/admin/orm/models/orgMembership.d.ts +1 -1
  80. package/esm/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  81. package/esm/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  82. package/esm/admin/orm/models/orgPermission.d.ts +1 -1
  83. package/esm/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  84. package/esm/admin/orm/query-builder.d.ts +4 -6
  85. package/esm/admin/orm/query-builder.js +2 -12
  86. package/esm/admin/orm/select-types.d.ts +2 -4
  87. package/esm/auth/cli/utils.d.ts +1 -1
  88. package/esm/auth/cli/utils.js +1 -5
  89. package/esm/auth/orm/models/auditLog.d.ts +1 -1
  90. package/esm/auth/orm/models/connectedAccount.d.ts +1 -1
  91. package/esm/auth/orm/models/cryptoAddress.d.ts +1 -1
  92. package/esm/auth/orm/models/email.d.ts +1 -1
  93. package/esm/auth/orm/models/phoneNumber.d.ts +1 -1
  94. package/esm/auth/orm/models/roleType.d.ts +1 -1
  95. package/esm/auth/orm/models/user.d.ts +1 -1
  96. package/esm/auth/orm/query-builder.d.ts +4 -6
  97. package/esm/auth/orm/query-builder.js +2 -12
  98. package/esm/auth/orm/select-types.d.ts +2 -4
  99. package/esm/objects/cli/utils.d.ts +1 -1
  100. package/esm/objects/cli/utils.js +1 -5
  101. package/esm/objects/orm/models/commit.d.ts +1 -1
  102. package/esm/objects/orm/models/getAllRecord.d.ts +1 -1
  103. package/esm/objects/orm/models/object.d.ts +1 -1
  104. package/esm/objects/orm/models/ref.d.ts +1 -1
  105. package/esm/objects/orm/models/store.d.ts +1 -1
  106. package/esm/objects/orm/query-builder.d.ts +4 -6
  107. package/esm/objects/orm/query-builder.js +2 -12
  108. package/esm/objects/orm/select-types.d.ts +2 -4
  109. package/esm/public/cli/commands/construct-blueprint.js +1 -1
  110. package/esm/public/cli/commands.js +1 -1
  111. package/esm/public/cli/utils.d.ts +1 -1
  112. package/esm/public/cli/utils.js +1 -5
  113. package/esm/public/orm/models/api.d.ts +1 -1
  114. package/esm/public/orm/models/apiModule.d.ts +1 -1
  115. package/esm/public/orm/models/apiSchema.d.ts +1 -1
  116. package/esm/public/orm/models/app.d.ts +1 -1
  117. package/esm/public/orm/models/appAchievement.d.ts +1 -1
  118. package/esm/public/orm/models/appAdminGrant.d.ts +1 -1
  119. package/esm/public/orm/models/appGrant.d.ts +1 -1
  120. package/esm/public/orm/models/appLevel.d.ts +1 -1
  121. package/esm/public/orm/models/appLevelRequirement.d.ts +1 -1
  122. package/esm/public/orm/models/appLimit.d.ts +1 -1
  123. package/esm/public/orm/models/appLimitDefault.d.ts +1 -1
  124. package/esm/public/orm/models/appMembership.d.ts +1 -1
  125. package/esm/public/orm/models/appMembershipDefault.d.ts +1 -1
  126. package/esm/public/orm/models/appOwnerGrant.d.ts +1 -1
  127. package/esm/public/orm/models/appPermission.d.ts +1 -1
  128. package/esm/public/orm/models/appPermissionDefault.d.ts +1 -1
  129. package/esm/public/orm/models/appStep.d.ts +1 -1
  130. package/esm/public/orm/models/astMigration.d.ts +1 -1
  131. package/esm/public/orm/models/auditLog.d.ts +1 -1
  132. package/esm/public/orm/models/blueprint.d.ts +1 -1
  133. package/esm/public/orm/models/blueprintConstruction.d.ts +1 -1
  134. package/esm/public/orm/models/blueprintTemplate.d.ts +1 -1
  135. package/esm/public/orm/models/checkConstraint.d.ts +1 -1
  136. package/esm/public/orm/models/claimedInvite.d.ts +1 -1
  137. package/esm/public/orm/models/commit.d.ts +1 -1
  138. package/esm/public/orm/models/connectedAccount.d.ts +1 -1
  139. package/esm/public/orm/models/connectedAccountsModule.d.ts +1 -1
  140. package/esm/public/orm/models/cryptoAddress.d.ts +1 -1
  141. package/esm/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  142. package/esm/public/orm/models/cryptoAuthModule.d.ts +1 -1
  143. package/esm/public/orm/models/database.d.ts +1 -1
  144. package/esm/public/orm/models/databaseProvisionModule.d.ts +1 -1
  145. package/esm/public/orm/models/databaseTransfer.d.ts +1 -1
  146. package/esm/public/orm/models/defaultIdsModule.d.ts +1 -1
  147. package/esm/public/orm/models/defaultPrivilege.d.ts +1 -1
  148. package/esm/public/orm/models/denormalizedTableField.d.ts +1 -1
  149. package/esm/public/orm/models/domain.d.ts +1 -1
  150. package/esm/public/orm/models/email.d.ts +1 -1
  151. package/esm/public/orm/models/emailsModule.d.ts +1 -1
  152. package/esm/public/orm/models/embeddingChunk.d.ts +1 -1
  153. package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  154. package/esm/public/orm/models/enum.d.ts +1 -1
  155. package/esm/public/orm/models/field.d.ts +1 -1
  156. package/esm/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  157. package/esm/public/orm/models/fullTextSearch.d.ts +1 -1
  158. package/esm/public/orm/models/getAllRecord.d.ts +1 -1
  159. package/esm/public/orm/models/hierarchyModule.d.ts +1 -1
  160. package/esm/public/orm/models/indexModel.d.ts +1 -1
  161. package/esm/public/orm/models/invite.d.ts +1 -1
  162. package/esm/public/orm/models/invitesModule.d.ts +1 -1
  163. package/esm/public/orm/models/levelsModule.d.ts +1 -1
  164. package/esm/public/orm/models/limitsModule.d.ts +1 -1
  165. package/esm/public/orm/models/membershipType.d.ts +1 -1
  166. package/esm/public/orm/models/membershipTypesModule.d.ts +1 -1
  167. package/esm/public/orm/models/membershipsModule.d.ts +1 -1
  168. package/esm/public/orm/models/migrateFile.d.ts +1 -1
  169. package/esm/public/orm/models/object.d.ts +1 -1
  170. package/esm/public/orm/models/orgAdminGrant.d.ts +1 -1
  171. package/esm/public/orm/models/orgChartEdge.d.ts +1 -1
  172. package/esm/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  173. package/esm/public/orm/models/orgClaimedInvite.d.ts +1 -1
  174. package/esm/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  175. package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  176. package/esm/public/orm/models/orgGrant.d.ts +1 -1
  177. package/esm/public/orm/models/orgInvite.d.ts +1 -1
  178. package/esm/public/orm/models/orgLimit.d.ts +1 -1
  179. package/esm/public/orm/models/orgLimitDefault.d.ts +1 -1
  180. package/esm/public/orm/models/orgMember.d.ts +1 -1
  181. package/esm/public/orm/models/orgMembership.d.ts +1 -1
  182. package/esm/public/orm/models/orgMembershipDefault.d.ts +1 -1
  183. package/esm/public/orm/models/orgOwnerGrant.d.ts +1 -1
  184. package/esm/public/orm/models/orgPermission.d.ts +1 -1
  185. package/esm/public/orm/models/orgPermissionDefault.d.ts +1 -1
  186. package/esm/public/orm/models/permissionsModule.d.ts +1 -1
  187. package/esm/public/orm/models/phoneNumber.d.ts +1 -1
  188. package/esm/public/orm/models/phoneNumbersModule.d.ts +1 -1
  189. package/esm/public/orm/models/policy.d.ts +1 -1
  190. package/esm/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  191. package/esm/public/orm/models/profilesModule.d.ts +1 -1
  192. package/esm/public/orm/models/ref.d.ts +1 -1
  193. package/esm/public/orm/models/relationProvision.d.ts +1 -1
  194. package/esm/public/orm/models/rlsModule.d.ts +1 -1
  195. package/esm/public/orm/models/roleType.d.ts +1 -1
  196. package/esm/public/orm/models/schema.d.ts +1 -1
  197. package/esm/public/orm/models/schemaGrant.d.ts +1 -1
  198. package/esm/public/orm/models/secretsModule.d.ts +1 -1
  199. package/esm/public/orm/models/secureTableProvision.d.ts +1 -1
  200. package/esm/public/orm/models/sessionsModule.d.ts +1 -1
  201. package/esm/public/orm/models/site.d.ts +1 -1
  202. package/esm/public/orm/models/siteMetadatum.d.ts +1 -1
  203. package/esm/public/orm/models/siteModule.d.ts +1 -1
  204. package/esm/public/orm/models/siteTheme.d.ts +1 -1
  205. package/esm/public/orm/models/sqlAction.d.ts +1 -1
  206. package/esm/public/orm/models/storageModule.d.ts +1 -1
  207. package/esm/public/orm/models/store.d.ts +1 -1
  208. package/esm/public/orm/models/table.d.ts +1 -1
  209. package/esm/public/orm/models/tableGrant.d.ts +1 -1
  210. package/esm/public/orm/models/tableTemplateModule.d.ts +1 -1
  211. package/esm/public/orm/models/trigger.d.ts +1 -1
  212. package/esm/public/orm/models/triggerFunction.d.ts +1 -1
  213. package/esm/public/orm/models/uniqueConstraint.d.ts +1 -1
  214. package/esm/public/orm/models/user.d.ts +1 -1
  215. package/esm/public/orm/models/userAuthModule.d.ts +1 -1
  216. package/esm/public/orm/models/usersModule.d.ts +1 -1
  217. package/esm/public/orm/models/view.d.ts +1 -1
  218. package/esm/public/orm/models/viewGrant.d.ts +1 -1
  219. package/esm/public/orm/models/viewRule.d.ts +1 -1
  220. package/esm/public/orm/models/viewTable.d.ts +1 -1
  221. package/esm/public/orm/mutation/index.d.ts +1 -1
  222. package/esm/public/orm/query-builder.d.ts +4 -6
  223. package/esm/public/orm/query-builder.js +2 -12
  224. package/esm/public/orm/select-types.d.ts +2 -4
  225. package/objects/cli/utils.d.ts +1 -1
  226. package/objects/cli/utils.js +1 -5
  227. package/objects/orm/models/commit.d.ts +1 -1
  228. package/objects/orm/models/getAllRecord.d.ts +1 -1
  229. package/objects/orm/models/object.d.ts +1 -1
  230. package/objects/orm/models/ref.d.ts +1 -1
  231. package/objects/orm/models/store.d.ts +1 -1
  232. package/objects/orm/query-builder.d.ts +4 -6
  233. package/objects/orm/query-builder.js +2 -12
  234. package/objects/orm/select-types.d.ts +2 -4
  235. package/package.json +3 -3
  236. package/public/cli/commands/construct-blueprint.js +1 -1
  237. package/public/cli/commands.js +1 -1
  238. package/public/cli/utils.d.ts +1 -1
  239. package/public/cli/utils.js +1 -5
  240. package/public/orm/models/api.d.ts +1 -1
  241. package/public/orm/models/apiModule.d.ts +1 -1
  242. package/public/orm/models/apiSchema.d.ts +1 -1
  243. package/public/orm/models/app.d.ts +1 -1
  244. package/public/orm/models/appAchievement.d.ts +1 -1
  245. package/public/orm/models/appAdminGrant.d.ts +1 -1
  246. package/public/orm/models/appGrant.d.ts +1 -1
  247. package/public/orm/models/appLevel.d.ts +1 -1
  248. package/public/orm/models/appLevelRequirement.d.ts +1 -1
  249. package/public/orm/models/appLimit.d.ts +1 -1
  250. package/public/orm/models/appLimitDefault.d.ts +1 -1
  251. package/public/orm/models/appMembership.d.ts +1 -1
  252. package/public/orm/models/appMembershipDefault.d.ts +1 -1
  253. package/public/orm/models/appOwnerGrant.d.ts +1 -1
  254. package/public/orm/models/appPermission.d.ts +1 -1
  255. package/public/orm/models/appPermissionDefault.d.ts +1 -1
  256. package/public/orm/models/appStep.d.ts +1 -1
  257. package/public/orm/models/astMigration.d.ts +1 -1
  258. package/public/orm/models/auditLog.d.ts +1 -1
  259. package/public/orm/models/blueprint.d.ts +1 -1
  260. package/public/orm/models/blueprintConstruction.d.ts +1 -1
  261. package/public/orm/models/blueprintTemplate.d.ts +1 -1
  262. package/public/orm/models/checkConstraint.d.ts +1 -1
  263. package/public/orm/models/claimedInvite.d.ts +1 -1
  264. package/public/orm/models/commit.d.ts +1 -1
  265. package/public/orm/models/connectedAccount.d.ts +1 -1
  266. package/public/orm/models/connectedAccountsModule.d.ts +1 -1
  267. package/public/orm/models/cryptoAddress.d.ts +1 -1
  268. package/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  269. package/public/orm/models/cryptoAuthModule.d.ts +1 -1
  270. package/public/orm/models/database.d.ts +1 -1
  271. package/public/orm/models/databaseProvisionModule.d.ts +1 -1
  272. package/public/orm/models/databaseTransfer.d.ts +1 -1
  273. package/public/orm/models/defaultIdsModule.d.ts +1 -1
  274. package/public/orm/models/defaultPrivilege.d.ts +1 -1
  275. package/public/orm/models/denormalizedTableField.d.ts +1 -1
  276. package/public/orm/models/domain.d.ts +1 -1
  277. package/public/orm/models/email.d.ts +1 -1
  278. package/public/orm/models/emailsModule.d.ts +1 -1
  279. package/public/orm/models/embeddingChunk.d.ts +1 -1
  280. package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  281. package/public/orm/models/enum.d.ts +1 -1
  282. package/public/orm/models/field.d.ts +1 -1
  283. package/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  284. package/public/orm/models/fullTextSearch.d.ts +1 -1
  285. package/public/orm/models/getAllRecord.d.ts +1 -1
  286. package/public/orm/models/hierarchyModule.d.ts +1 -1
  287. package/public/orm/models/indexModel.d.ts +1 -1
  288. package/public/orm/models/invite.d.ts +1 -1
  289. package/public/orm/models/invitesModule.d.ts +1 -1
  290. package/public/orm/models/levelsModule.d.ts +1 -1
  291. package/public/orm/models/limitsModule.d.ts +1 -1
  292. package/public/orm/models/membershipType.d.ts +1 -1
  293. package/public/orm/models/membershipTypesModule.d.ts +1 -1
  294. package/public/orm/models/membershipsModule.d.ts +1 -1
  295. package/public/orm/models/migrateFile.d.ts +1 -1
  296. package/public/orm/models/object.d.ts +1 -1
  297. package/public/orm/models/orgAdminGrant.d.ts +1 -1
  298. package/public/orm/models/orgChartEdge.d.ts +1 -1
  299. package/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  300. package/public/orm/models/orgClaimedInvite.d.ts +1 -1
  301. package/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  302. package/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  303. package/public/orm/models/orgGrant.d.ts +1 -1
  304. package/public/orm/models/orgInvite.d.ts +1 -1
  305. package/public/orm/models/orgLimit.d.ts +1 -1
  306. package/public/orm/models/orgLimitDefault.d.ts +1 -1
  307. package/public/orm/models/orgMember.d.ts +1 -1
  308. package/public/orm/models/orgMembership.d.ts +1 -1
  309. package/public/orm/models/orgMembershipDefault.d.ts +1 -1
  310. package/public/orm/models/orgOwnerGrant.d.ts +1 -1
  311. package/public/orm/models/orgPermission.d.ts +1 -1
  312. package/public/orm/models/orgPermissionDefault.d.ts +1 -1
  313. package/public/orm/models/permissionsModule.d.ts +1 -1
  314. package/public/orm/models/phoneNumber.d.ts +1 -1
  315. package/public/orm/models/phoneNumbersModule.d.ts +1 -1
  316. package/public/orm/models/policy.d.ts +1 -1
  317. package/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  318. package/public/orm/models/profilesModule.d.ts +1 -1
  319. package/public/orm/models/ref.d.ts +1 -1
  320. package/public/orm/models/relationProvision.d.ts +1 -1
  321. package/public/orm/models/rlsModule.d.ts +1 -1
  322. package/public/orm/models/roleType.d.ts +1 -1
  323. package/public/orm/models/schema.d.ts +1 -1
  324. package/public/orm/models/schemaGrant.d.ts +1 -1
  325. package/public/orm/models/secretsModule.d.ts +1 -1
  326. package/public/orm/models/secureTableProvision.d.ts +1 -1
  327. package/public/orm/models/sessionsModule.d.ts +1 -1
  328. package/public/orm/models/site.d.ts +1 -1
  329. package/public/orm/models/siteMetadatum.d.ts +1 -1
  330. package/public/orm/models/siteModule.d.ts +1 -1
  331. package/public/orm/models/siteTheme.d.ts +1 -1
  332. package/public/orm/models/sqlAction.d.ts +1 -1
  333. package/public/orm/models/storageModule.d.ts +1 -1
  334. package/public/orm/models/store.d.ts +1 -1
  335. package/public/orm/models/table.d.ts +1 -1
  336. package/public/orm/models/tableGrant.d.ts +1 -1
  337. package/public/orm/models/tableTemplateModule.d.ts +1 -1
  338. package/public/orm/models/trigger.d.ts +1 -1
  339. package/public/orm/models/triggerFunction.d.ts +1 -1
  340. package/public/orm/models/uniqueConstraint.d.ts +1 -1
  341. package/public/orm/models/user.d.ts +1 -1
  342. package/public/orm/models/userAuthModule.d.ts +1 -1
  343. package/public/orm/models/usersModule.d.ts +1 -1
  344. package/public/orm/models/view.d.ts +1 -1
  345. package/public/orm/models/viewGrant.d.ts +1 -1
  346. package/public/orm/models/viewRule.d.ts +1 -1
  347. package/public/orm/models/viewTable.d.ts +1 -1
  348. package/public/orm/mutation/index.d.ts +1 -1
  349. package/public/orm/query-builder.d.ts +4 -6
  350. package/public/orm/query-builder.js +2 -12
  351. package/public/orm/select-types.d.ts +2 -4
@@ -34,23 +34,21 @@ export declare class QueryBuilder<TResult> {
34
34
  getVariables(): Record<string, unknown> | undefined;
35
35
  }
36
36
  export declare function buildSelections(select: Record<string, unknown> | undefined, connectionFieldsMap?: Record<string, Record<string, string>>, entityType?: string): FieldNode[];
37
- export declare function buildFindManyDocument<TSelect, TWhere, TCondition = never>(operationName: string, queryField: string, select: TSelect, args: {
37
+ export declare function buildFindManyDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
38
38
  where?: TWhere;
39
- condition?: TCondition;
40
39
  orderBy?: string[];
41
40
  first?: number;
42
41
  last?: number;
43
42
  after?: string;
44
43
  before?: string;
45
44
  offset?: number;
46
- }, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>, conditionTypeName?: string): {
45
+ }, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
47
46
  document: string;
48
47
  variables: Record<string, unknown>;
49
48
  };
50
- export declare function buildFindFirstDocument<TSelect, TWhere, TCondition = never>(operationName: string, queryField: string, select: TSelect, args: {
49
+ export declare function buildFindFirstDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
51
50
  where?: TWhere;
52
- condition?: TCondition;
53
- }, filterTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>, conditionTypeName?: string): {
51
+ }, filterTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
54
52
  document: string;
55
53
  variables: Record<string, unknown>;
56
54
  };
@@ -179,18 +179,13 @@ function buildSelections(select, connectionFieldsMap, entityType) {
179
179
  // ============================================================================
180
180
  // Document Builders
181
181
  // ============================================================================
182
- function buildFindManyDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap, conditionTypeName) {
182
+ function buildFindManyDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap) {
183
183
  const selections = select
184
184
  ? buildSelections(select, connectionFieldsMap, operationName)
185
185
  : [t.field({ name: 'id' })];
186
186
  const variableDefinitions = [];
187
187
  const queryArgs = [];
188
188
  const variables = {};
189
- addVariable({
190
- varName: 'condition',
191
- typeName: conditionTypeName,
192
- value: args.condition,
193
- }, variableDefinitions, queryArgs, variables);
194
189
  addVariable({
195
190
  varName: 'where',
196
191
  typeName: filterTypeName,
@@ -228,7 +223,7 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
228
223
  });
229
224
  return { document: (0, graphql_web_1.print)(document), variables };
230
225
  }
231
- function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap, conditionTypeName) {
226
+ function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
232
227
  const selections = select
233
228
  ? buildSelections(select, connectionFieldsMap, operationName)
234
229
  : [t.field({ name: 'id' })];
@@ -237,11 +232,6 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
237
232
  const variables = {};
238
233
  // Always add first: 1 for findFirst
239
234
  addVariable({ varName: 'first', typeName: 'Int', value: 1 }, variableDefinitions, queryArgs, variables);
240
- addVariable({
241
- varName: 'condition',
242
- typeName: conditionTypeName,
243
- value: args.condition,
244
- }, variableDefinitions, queryArgs, variables);
245
235
  addVariable({
246
236
  varName: 'where',
247
237
  typeName: filterTypeName,
@@ -14,10 +14,9 @@ export interface PageInfo {
14
14
  startCursor?: string | null;
15
15
  endCursor?: string | null;
16
16
  }
17
- export interface FindManyArgs<TSelect, TWhere, TCondition = never, TOrderBy = never> {
17
+ export interface FindManyArgs<TSelect, TWhere, TOrderBy = never> {
18
18
  select?: TSelect;
19
19
  where?: TWhere;
20
- condition?: TCondition;
21
20
  orderBy?: TOrderBy[];
22
21
  first?: number;
23
22
  last?: number;
@@ -25,10 +24,9 @@ export interface FindManyArgs<TSelect, TWhere, TCondition = never, TOrderBy = ne
25
24
  before?: string;
26
25
  offset?: number;
27
26
  }
28
- export interface FindFirstArgs<TSelect, TWhere, TCondition = never> {
27
+ export interface FindFirstArgs<TSelect, TWhere> {
29
28
  select?: TSelect;
30
29
  where?: TWhere;
31
- condition?: TCondition;
32
30
  }
33
31
  export interface CreateArgs<TSelect, TData> {
34
32
  data: TData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-sdk/cli",
3
- "version": "0.13.1",
3
+ "version": "0.13.3",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive CLI SDK - Auto-generated GraphQL CLI with ORM client, context management, and interactive prompts",
6
6
  "main": "index.js",
@@ -55,11 +55,11 @@
55
55
  "yanse": "^0.2.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@constructive-io/graphql-codegen": "^4.29.1",
58
+ "@constructive-io/graphql-codegen": "^4.29.3",
59
59
  "@types/node": "^22.19.11",
60
60
  "makage": "^0.3.0",
61
61
  "tsx": "^4.19.0",
62
62
  "typescript": "^5.9.3"
63
63
  },
64
- "gitHead": "49ef6637c5f4d8d4f4e0534de36b0ca834dbb9bc"
64
+ "gitHead": "1b2f42363c80172c1305b103d9394c403b3cebea"
65
65
  }
@@ -5,7 +5,7 @@ const utils_1 = require("../utils");
5
5
  exports.default = async (argv, prompter, _options) => {
6
6
  try {
7
7
  if (argv.help || argv.h) {
8
- console.log('construct-blueprint - Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with all nodes[], fields[], policies[], grants, and table-level indexes/fts/unique_constraints in a single call, (2) provision_relation() for each relation, (3) provision_index() for top-level indexes, (4) provision_full_text_search() for top-level FTS, (5) provision_unique_constraint() for top-level unique constraints. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.\n\nUsage: construct-blueprint [OPTIONS]\n');
8
+ console.log('construct-blueprint - Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.\n\nUsage: construct-blueprint [OPTIONS]\n');
9
9
  process.exit(0);
10
10
  }
11
11
  const answers = await prompter.prompt(argv, [
@@ -360,7 +360,7 @@ const createCommandMap = () => ({
360
360
  'confirm-upload': confirm_upload_1.default,
361
361
  'provision-bucket': provision_bucket_1.default,
362
362
  });
363
- const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n object object CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n table-template-module tableTemplateModule CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n connected-account connectedAccount CRUD operations\n invite invite CRUD operations\n claimed-invite claimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n role-type roleType CRUD operations\n migrate-file migrateFile CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n membership-type membershipType CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n commit commit CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n rls-module rlsModule CRUD operations\n sql-action sqlAction CRUD operations\n user user CRUD operations\n ast-migration astMigration CRUD operations\n app-membership appMembership CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-ip-address currentIpAddress\n current-user-agent currentUserAgent\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with all nodes[], fields[], policies[], grants, and table-level indexes/fts/unique_constraints in a single call, (2) provision_relation() for each relation, (3) provision_index() for top-level indexes, (4) provision_full_text_search() for top-level FTS, (5) provision_unique_constraint() for top-level unique constraints. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-one-time-token signInOneTimeToken\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n sign-in signIn\n sign-up signUp\n one-time-token oneTimeToken\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n verify-password verifyPassword\n verify-totp verifyTotp\n request-upload-url Request a presigned URL for uploading a file directly to S3.\nClient computes SHA-256 of the file content and provides it here.\nIf a file with the same hash already exists (dedup), returns the\nexisting file ID and deduplicated=true with no uploadUrl.\n confirm-upload Confirm that a file has been uploaded to S3.\nVerifies the object exists in S3, checks content-type,\nand transitions the file status from 'pending' to 'ready'.\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
363
+ const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n object object CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n table-template-module tableTemplateModule CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n connected-account connectedAccount CRUD operations\n invite invite CRUD operations\n claimed-invite claimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n role-type roleType CRUD operations\n migrate-file migrateFile CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n membership-type membershipType CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n commit commit CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n rls-module rlsModule CRUD operations\n sql-action sqlAction CRUD operations\n user user CRUD operations\n ast-migration astMigration CRUD operations\n app-membership appMembership CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-ip-address currentIpAddress\n current-user-agent currentUserAgent\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-one-time-token signInOneTimeToken\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n sign-in signIn\n sign-up signUp\n one-time-token oneTimeToken\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n verify-password verifyPassword\n verify-totp verifyTotp\n request-upload-url Request a presigned URL for uploading a file directly to S3.\nClient computes SHA-256 of the file content and provides it here.\nIf a file with the same hash already exists (dedup), returns the\nexisting file ID and deduplicated=true with no uploadUrl.\n confirm-upload Confirm that a file has been uploaded to S3.\nVerifies the object exists in S3, checks content-type,\nand transitions the file status from 'pending' to 'ready'.\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
364
364
  const commands = async (argv, prompter, options) => {
365
365
  if (argv.help || argv.h) {
366
366
  console.log(usage);
@@ -81,7 +81,7 @@ export declare function parseSelectFlag(argv: Record<string, unknown>, defaultSe
81
81
  export declare function parseFindManyArgs<T = Record<string, unknown>>(argv: Record<string, unknown>, defaultSelect: Record<string, unknown>, extraWhere?: Record<string, unknown>): T;
82
82
  /**
83
83
  * Build findFirst args from CLI argv.
84
- * Like parseFindManyArgs but only includes select, where, and condition
84
+ * Like parseFindManyArgs but only includes select and where
85
85
  * (no pagination flags — findFirst returns the first matching record).
86
86
  */
87
87
  export declare function parseFindFirstArgs<T = Record<string, unknown>>(argv: Record<string, unknown>, defaultSelect: Record<string, unknown>): T;
@@ -229,7 +229,6 @@ function parseFindManyArgs(argv, defaultSelect, extraWhere) {
229
229
  const where = (parsed.where ?? extraWhere)
230
230
  ? { ...(extraWhere ?? {}), ...(parsed.where ?? {}) }
231
231
  : undefined;
232
- const condition = parsed.condition;
233
232
  const orderBy = parseOrderByFlag(argv);
234
233
  return {
235
234
  select,
@@ -239,24 +238,21 @@ function parseFindManyArgs(argv, defaultSelect, extraWhere) {
239
238
  ...(before !== undefined ? { before } : {}),
240
239
  ...(offset !== undefined ? { offset } : {}),
241
240
  ...(where !== undefined ? { where } : {}),
242
- ...(condition !== undefined ? { condition } : {}),
243
241
  ...(orderBy !== undefined ? { orderBy } : {}),
244
242
  };
245
243
  }
246
244
  /**
247
245
  * Build findFirst args from CLI argv.
248
- * Like parseFindManyArgs but only includes select, where, and condition
246
+ * Like parseFindManyArgs but only includes select and where
249
247
  * (no pagination flags — findFirst returns the first matching record).
250
248
  */
251
249
  function parseFindFirstArgs(argv, defaultSelect) {
252
250
  const select = parseSelectFlag(argv, defaultSelect);
253
251
  const parsed = unflattenDotNotation(argv);
254
252
  const where = parsed.where;
255
- const condition = parsed.condition;
256
253
  return {
257
254
  select,
258
255
  ...(where !== undefined ? { where } : {}),
259
- ...(condition !== undefined ? { condition } : {}),
260
256
  };
261
257
  }
262
258
  function buildSelectFromPaths(paths) {
@@ -10,7 +10,7 @@ import type { ApiWithRelations, ApiSelect, ApiFilter, ApiOrderBy, CreateApiInput
10
10
  export declare class ApiModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends ApiSelect>(args: FindManyArgs<S, ApiFilter, never, ApiOrderBy> & {
13
+ findMany<S extends ApiSelect>(args: FindManyArgs<S, ApiFilter, ApiOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, ApiSelect>): QueryBuilder<{
16
16
  apis: ConnectionResult<InferSelectResult<ApiWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { ApiModuleWithRelations, ApiModuleSelect, ApiModuleFilter, ApiModul
10
10
  export declare class ApiModuleModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends ApiModuleSelect>(args: FindManyArgs<S, ApiModuleFilter, never, ApiModuleOrderBy> & {
13
+ findMany<S extends ApiModuleSelect>(args: FindManyArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
16
16
  apiModules: ConnectionResult<InferSelectResult<ApiModuleWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { ApiSchemaWithRelations, ApiSchemaSelect, ApiSchemaFilter, ApiSchem
10
10
  export declare class ApiSchemaModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends ApiSchemaSelect>(args: FindManyArgs<S, ApiSchemaFilter, never, ApiSchemaOrderBy> & {
13
+ findMany<S extends ApiSchemaSelect>(args: FindManyArgs<S, ApiSchemaFilter, ApiSchemaOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
16
16
  apiSchemas: ConnectionResult<InferSelectResult<ApiSchemaWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppWithRelations, AppSelect, AppFilter, AppOrderBy, CreateAppInput
10
10
  export declare class AppModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppSelect>(args: FindManyArgs<S, AppFilter, never, AppOrderBy> & {
13
+ findMany<S extends AppSelect>(args: FindManyArgs<S, AppFilter, AppOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppSelect>): QueryBuilder<{
16
16
  apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppAchievementWithRelations, AppAchievementSelect, AppAchievementF
10
10
  export declare class AppAchievementModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppAchievementSelect>(args: FindManyArgs<S, AppAchievementFilter, never, AppAchievementOrderBy> & {
13
+ findMany<S extends AppAchievementSelect>(args: FindManyArgs<S, AppAchievementFilter, AppAchievementOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
16
16
  appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppAdminGrantWithRelations, AppAdminGrantSelect, AppAdminGrantFilt
10
10
  export declare class AppAdminGrantModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppAdminGrantSelect>(args: FindManyArgs<S, AppAdminGrantFilter, never, AppAdminGrantOrderBy> & {
13
+ findMany<S extends AppAdminGrantSelect>(args: FindManyArgs<S, AppAdminGrantFilter, AppAdminGrantOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
16
16
  appAdminGrants: ConnectionResult<InferSelectResult<AppAdminGrantWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppGrantWithRelations, AppGrantSelect, AppGrantFilter, AppGrantOrd
10
10
  export declare class AppGrantModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppGrantSelect>(args: FindManyArgs<S, AppGrantFilter, never, AppGrantOrderBy> & {
13
+ findMany<S extends AppGrantSelect>(args: FindManyArgs<S, AppGrantFilter, AppGrantOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
16
16
  appGrants: ConnectionResult<InferSelectResult<AppGrantWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppLevelWithRelations, AppLevelSelect, AppLevelFilter, AppLevelOrd
10
10
  export declare class AppLevelModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, never, AppLevelOrderBy> & {
13
+ findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, AppLevelOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
16
16
  appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppLevelRequirementWithRelations, AppLevelRequirementSelect, AppLe
10
10
  export declare class AppLevelRequirementModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, never, AppLevelRequirementOrderBy> & {
13
+ findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
16
16
  appLevelRequirements: ConnectionResult<InferSelectResult<AppLevelRequirementWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppLimitWithRelations, AppLimitSelect, AppLimitFilter, AppLimitOrd
10
10
  export declare class AppLimitModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppLimitSelect>(args: FindManyArgs<S, AppLimitFilter, never, AppLimitOrderBy> & {
13
+ findMany<S extends AppLimitSelect>(args: FindManyArgs<S, AppLimitFilter, AppLimitOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppLimitSelect>): QueryBuilder<{
16
16
  appLimits: ConnectionResult<InferSelectResult<AppLimitWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppLimitDefaultWithRelations, AppLimitDefaultSelect, AppLimitDefau
10
10
  export declare class AppLimitDefaultModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppLimitDefaultSelect>(args: FindManyArgs<S, AppLimitDefaultFilter, never, AppLimitDefaultOrderBy> & {
13
+ findMany<S extends AppLimitDefaultSelect>(args: FindManyArgs<S, AppLimitDefaultFilter, AppLimitDefaultOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppLimitDefaultSelect>): QueryBuilder<{
16
16
  appLimitDefaults: ConnectionResult<InferSelectResult<AppLimitDefaultWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppMembershipWithRelations, AppMembershipSelect, AppMembershipFilt
10
10
  export declare class AppMembershipModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppMembershipSelect>(args: FindManyArgs<S, AppMembershipFilter, never, AppMembershipOrderBy> & {
13
+ findMany<S extends AppMembershipSelect>(args: FindManyArgs<S, AppMembershipFilter, AppMembershipOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppMembershipSelect>): QueryBuilder<{
16
16
  appMemberships: ConnectionResult<InferSelectResult<AppMembershipWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppMembershipDefaultWithRelations, AppMembershipDefaultSelect, App
10
10
  export declare class AppMembershipDefaultModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppMembershipDefaultSelect>(args: FindManyArgs<S, AppMembershipDefaultFilter, never, AppMembershipDefaultOrderBy> & {
13
+ findMany<S extends AppMembershipDefaultSelect>(args: FindManyArgs<S, AppMembershipDefaultFilter, AppMembershipDefaultOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppMembershipDefaultSelect>): QueryBuilder<{
16
16
  appMembershipDefaults: ConnectionResult<InferSelectResult<AppMembershipDefaultWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppOwnerGrantWithRelations, AppOwnerGrantSelect, AppOwnerGrantFilt
10
10
  export declare class AppOwnerGrantModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppOwnerGrantSelect>(args: FindManyArgs<S, AppOwnerGrantFilter, never, AppOwnerGrantOrderBy> & {
13
+ findMany<S extends AppOwnerGrantSelect>(args: FindManyArgs<S, AppOwnerGrantFilter, AppOwnerGrantOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
16
16
  appOwnerGrants: ConnectionResult<InferSelectResult<AppOwnerGrantWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppPermissionWithRelations, AppPermissionSelect, AppPermissionFilt
10
10
  export declare class AppPermissionModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppPermissionSelect>(args: FindManyArgs<S, AppPermissionFilter, never, AppPermissionOrderBy> & {
13
+ findMany<S extends AppPermissionSelect>(args: FindManyArgs<S, AppPermissionFilter, AppPermissionOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
16
16
  appPermissions: ConnectionResult<InferSelectResult<AppPermissionWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppPermissionDefaultWithRelations, AppPermissionDefaultSelect, App
10
10
  export declare class AppPermissionDefaultModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppPermissionDefaultSelect>(args: FindManyArgs<S, AppPermissionDefaultFilter, never, AppPermissionDefaultOrderBy> & {
13
+ findMany<S extends AppPermissionDefaultSelect>(args: FindManyArgs<S, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
16
16
  appPermissionDefaults: ConnectionResult<InferSelectResult<AppPermissionDefaultWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AppStepWithRelations, AppStepSelect, AppStepFilter, AppStepOrderBy
10
10
  export declare class AppStepModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AppStepSelect>(args: FindManyArgs<S, AppStepFilter, never, AppStepOrderBy> & {
13
+ findMany<S extends AppStepSelect>(args: FindManyArgs<S, AppStepFilter, AppStepOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AppStepSelect>): QueryBuilder<{
16
16
  appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AstMigrationWithRelations, AstMigrationSelect, AstMigrationFilter,
10
10
  export declare class AstMigrationModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AstMigrationSelect>(args: FindManyArgs<S, AstMigrationFilter, never, AstMigrationOrderBy> & {
13
+ findMany<S extends AstMigrationSelect>(args: FindManyArgs<S, AstMigrationFilter, AstMigrationOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AstMigrationSelect>): QueryBuilder<{
16
16
  astMigrations: ConnectionResult<InferSelectResult<AstMigrationWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { AuditLogWithRelations, AuditLogSelect, AuditLogFilter, AuditLogOrd
10
10
  export declare class AuditLogModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, never, AuditLogOrderBy> & {
13
+ findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, AuditLogOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
16
16
  auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { BlueprintWithRelations, BlueprintSelect, BlueprintFilter, Blueprin
10
10
  export declare class BlueprintModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends BlueprintSelect>(args: FindManyArgs<S, BlueprintFilter, never, BlueprintOrderBy> & {
13
+ findMany<S extends BlueprintSelect>(args: FindManyArgs<S, BlueprintFilter, BlueprintOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, BlueprintSelect>): QueryBuilder<{
16
16
  blueprints: ConnectionResult<InferSelectResult<BlueprintWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { BlueprintConstructionWithRelations, BlueprintConstructionSelect, B
10
10
  export declare class BlueprintConstructionModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends BlueprintConstructionSelect>(args: FindManyArgs<S, BlueprintConstructionFilter, never, BlueprintConstructionOrderBy> & {
13
+ findMany<S extends BlueprintConstructionSelect>(args: FindManyArgs<S, BlueprintConstructionFilter, BlueprintConstructionOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
16
16
  blueprintConstructions: ConnectionResult<InferSelectResult<BlueprintConstructionWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { BlueprintTemplateWithRelations, BlueprintTemplateSelect, Blueprint
10
10
  export declare class BlueprintTemplateModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends BlueprintTemplateSelect>(args: FindManyArgs<S, BlueprintTemplateFilter, never, BlueprintTemplateOrderBy> & {
13
+ findMany<S extends BlueprintTemplateSelect>(args: FindManyArgs<S, BlueprintTemplateFilter, BlueprintTemplateOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, BlueprintTemplateSelect>): QueryBuilder<{
16
16
  blueprintTemplates: ConnectionResult<InferSelectResult<BlueprintTemplateWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { CheckConstraintWithRelations, CheckConstraintSelect, CheckConstrai
10
10
  export declare class CheckConstraintModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends CheckConstraintSelect>(args: FindManyArgs<S, CheckConstraintFilter, never, CheckConstraintOrderBy> & {
13
+ findMany<S extends CheckConstraintSelect>(args: FindManyArgs<S, CheckConstraintFilter, CheckConstraintOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
16
16
  checkConstraints: ConnectionResult<InferSelectResult<CheckConstraintWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { ClaimedInviteWithRelations, ClaimedInviteSelect, ClaimedInviteFilt
10
10
  export declare class ClaimedInviteModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends ClaimedInviteSelect>(args: FindManyArgs<S, ClaimedInviteFilter, never, ClaimedInviteOrderBy> & {
13
+ findMany<S extends ClaimedInviteSelect>(args: FindManyArgs<S, ClaimedInviteFilter, ClaimedInviteOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
16
16
  claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { CommitWithRelations, CommitSelect, CommitFilter, CommitOrderBy, Cr
10
10
  export declare class CommitModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends CommitSelect>(args: FindManyArgs<S, CommitFilter, never, CommitOrderBy> & {
13
+ findMany<S extends CommitSelect>(args: FindManyArgs<S, CommitFilter, CommitOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, CommitSelect>): QueryBuilder<{
16
16
  commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { ConnectedAccountWithRelations, ConnectedAccountSelect, ConnectedAc
10
10
  export declare class ConnectedAccountModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends ConnectedAccountSelect>(args: FindManyArgs<S, ConnectedAccountFilter, never, ConnectedAccountOrderBy> & {
13
+ findMany<S extends ConnectedAccountSelect>(args: FindManyArgs<S, ConnectedAccountFilter, ConnectedAccountOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
16
16
  connectedAccounts: ConnectionResult<InferSelectResult<ConnectedAccountWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { ConnectedAccountsModuleWithRelations, ConnectedAccountsModuleSelec
10
10
  export declare class ConnectedAccountsModuleModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends ConnectedAccountsModuleSelect>(args: FindManyArgs<S, ConnectedAccountsModuleFilter, never, ConnectedAccountsModuleOrderBy> & {
13
+ findMany<S extends ConnectedAccountsModuleSelect>(args: FindManyArgs<S, ConnectedAccountsModuleFilter, ConnectedAccountsModuleOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, ConnectedAccountsModuleSelect>): QueryBuilder<{
16
16
  connectedAccountsModules: ConnectionResult<InferSelectResult<ConnectedAccountsModuleWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { CryptoAddressWithRelations, CryptoAddressSelect, CryptoAddressFilt
10
10
  export declare class CryptoAddressModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends CryptoAddressSelect>(args: FindManyArgs<S, CryptoAddressFilter, never, CryptoAddressOrderBy> & {
13
+ findMany<S extends CryptoAddressSelect>(args: FindManyArgs<S, CryptoAddressFilter, CryptoAddressOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, CryptoAddressSelect>): QueryBuilder<{
16
16
  cryptoAddresses: ConnectionResult<InferSelectResult<CryptoAddressWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { CryptoAddressesModuleWithRelations, CryptoAddressesModuleSelect, C
10
10
  export declare class CryptoAddressesModuleModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends CryptoAddressesModuleSelect>(args: FindManyArgs<S, CryptoAddressesModuleFilter, never, CryptoAddressesModuleOrderBy> & {
13
+ findMany<S extends CryptoAddressesModuleSelect>(args: FindManyArgs<S, CryptoAddressesModuleFilter, CryptoAddressesModuleOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, CryptoAddressesModuleSelect>): QueryBuilder<{
16
16
  cryptoAddressesModules: ConnectionResult<InferSelectResult<CryptoAddressesModuleWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { CryptoAuthModuleWithRelations, CryptoAuthModuleSelect, CryptoAuthM
10
10
  export declare class CryptoAuthModuleModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends CryptoAuthModuleSelect>(args: FindManyArgs<S, CryptoAuthModuleFilter, never, CryptoAuthModuleOrderBy> & {
13
+ findMany<S extends CryptoAuthModuleSelect>(args: FindManyArgs<S, CryptoAuthModuleFilter, CryptoAuthModuleOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, CryptoAuthModuleSelect>): QueryBuilder<{
16
16
  cryptoAuthModules: ConnectionResult<InferSelectResult<CryptoAuthModuleWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { DatabaseWithRelations, DatabaseSelect, DatabaseFilter, DatabaseOrd
10
10
  export declare class DatabaseModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends DatabaseSelect>(args: FindManyArgs<S, DatabaseFilter, never, DatabaseOrderBy> & {
13
+ findMany<S extends DatabaseSelect>(args: FindManyArgs<S, DatabaseFilter, DatabaseOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, DatabaseSelect>): QueryBuilder<{
16
16
  databases: ConnectionResult<InferSelectResult<DatabaseWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { DatabaseProvisionModuleWithRelations, DatabaseProvisionModuleSelec
10
10
  export declare class DatabaseProvisionModuleModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends DatabaseProvisionModuleSelect>(args: FindManyArgs<S, DatabaseProvisionModuleFilter, never, DatabaseProvisionModuleOrderBy> & {
13
+ findMany<S extends DatabaseProvisionModuleSelect>(args: FindManyArgs<S, DatabaseProvisionModuleFilter, DatabaseProvisionModuleOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, DatabaseProvisionModuleSelect>): QueryBuilder<{
16
16
  databaseProvisionModules: ConnectionResult<InferSelectResult<DatabaseProvisionModuleWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { DatabaseTransferWithRelations, DatabaseTransferSelect, DatabaseTra
10
10
  export declare class DatabaseTransferModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends DatabaseTransferSelect>(args: FindManyArgs<S, DatabaseTransferFilter, never, DatabaseTransferOrderBy> & {
13
+ findMany<S extends DatabaseTransferSelect>(args: FindManyArgs<S, DatabaseTransferFilter, DatabaseTransferOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, DatabaseTransferSelect>): QueryBuilder<{
16
16
  databaseTransfers: ConnectionResult<InferSelectResult<DatabaseTransferWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { DefaultIdsModuleWithRelations, DefaultIdsModuleSelect, DefaultIdsM
10
10
  export declare class DefaultIdsModuleModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends DefaultIdsModuleSelect>(args: FindManyArgs<S, DefaultIdsModuleFilter, never, DefaultIdsModuleOrderBy> & {
13
+ findMany<S extends DefaultIdsModuleSelect>(args: FindManyArgs<S, DefaultIdsModuleFilter, DefaultIdsModuleOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, DefaultIdsModuleSelect>): QueryBuilder<{
16
16
  defaultIdsModules: ConnectionResult<InferSelectResult<DefaultIdsModuleWithRelations, S>>;
@@ -10,7 +10,7 @@ import type { DefaultPrivilegeWithRelations, DefaultPrivilegeSelect, DefaultPriv
10
10
  export declare class DefaultPrivilegeModel {
11
11
  private client;
12
12
  constructor(client: OrmClient);
13
- findMany<S extends DefaultPrivilegeSelect>(args: FindManyArgs<S, DefaultPrivilegeFilter, never, DefaultPrivilegeOrderBy> & {
13
+ findMany<S extends DefaultPrivilegeSelect>(args: FindManyArgs<S, DefaultPrivilegeFilter, DefaultPrivilegeOrderBy> & {
14
14
  select: S;
15
15
  } & StrictSelect<S, DefaultPrivilegeSelect>): QueryBuilder<{
16
16
  defaultPrivileges: ConnectionResult<InferSelectResult<DefaultPrivilegeWithRelations, S>>;