@constructive-io/react 0.6.2 → 0.6.4

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 (469) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +18 -18
  4. package/admin/hooks/invalidation.js +45 -45
  5. package/admin/hooks/mutation-keys.d.ts +36 -36
  6. package/admin/hooks/mutation-keys.js +22 -22
  7. package/admin/hooks/mutations/index.d.ts +9 -9
  8. package/admin/hooks/mutations/index.js +9 -9
  9. package/admin/hooks/queries/index.d.ts +6 -6
  10. package/admin/hooks/queries/index.js +6 -6
  11. package/admin/hooks/query-keys.d.ts +42 -42
  12. package/admin/hooks/query-keys.js +25 -25
  13. package/admin/orm/index.d.ts +6 -6
  14. package/admin/orm/index.js +6 -6
  15. package/admin/orm/input-types.d.ts +489 -667
  16. package/admin/orm/models/appAchievement.d.ts +1 -1
  17. package/admin/orm/models/appAdminGrant.d.ts +1 -1
  18. package/admin/orm/models/appGrant.d.ts +1 -1
  19. package/admin/orm/models/appLevel.d.ts +1 -1
  20. package/admin/orm/models/appLevelRequirement.d.ts +1 -1
  21. package/admin/orm/models/appLimit.d.ts +1 -1
  22. package/admin/orm/models/appLimitDefault.d.ts +1 -1
  23. package/admin/orm/models/appMembership.d.ts +1 -1
  24. package/admin/orm/models/appMembershipDefault.d.ts +1 -1
  25. package/admin/orm/models/appOwnerGrant.d.ts +1 -1
  26. package/admin/orm/models/appPermission.d.ts +1 -1
  27. package/admin/orm/models/appPermissionDefault.d.ts +1 -1
  28. package/admin/orm/models/appStep.d.ts +1 -1
  29. package/admin/orm/models/claimedInvite.d.ts +1 -1
  30. package/admin/orm/models/index.d.ts +3 -3
  31. package/admin/orm/models/index.js +7 -7
  32. package/admin/orm/models/invite.d.ts +1 -1
  33. package/admin/orm/models/membershipType.d.ts +1 -1
  34. package/admin/orm/models/orgAdminGrant.d.ts +1 -1
  35. package/admin/orm/models/orgChartEdge.d.ts +1 -1
  36. package/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  37. package/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  38. package/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  39. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  40. package/admin/orm/models/orgGrant.d.ts +1 -1
  41. package/admin/orm/models/orgInvite.d.ts +1 -1
  42. package/admin/orm/models/orgLimit.d.ts +1 -1
  43. package/admin/orm/models/orgLimitDefault.d.ts +1 -1
  44. package/admin/orm/models/orgMember.d.ts +1 -1
  45. package/admin/orm/models/orgMembership.d.ts +1 -1
  46. package/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  47. package/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  48. package/admin/orm/models/orgPermission.d.ts +1 -1
  49. package/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  50. package/admin/orm/query-builder.d.ts +6 -4
  51. package/admin/orm/query-builder.js +13 -5
  52. package/admin/orm/select-types.d.ts +4 -2
  53. package/admin/schema-types.d.ts +475 -983
  54. package/admin/types.d.ts +55 -29
  55. package/auth/hooks/index.d.ts +1 -1
  56. package/auth/hooks/index.js +1 -1
  57. package/auth/hooks/invalidation.d.ts +6 -6
  58. package/auth/hooks/invalidation.js +15 -15
  59. package/auth/hooks/mutation-keys.d.ts +12 -12
  60. package/auth/hooks/mutation-keys.js +8 -8
  61. package/auth/hooks/mutations/index.d.ts +3 -3
  62. package/auth/hooks/mutations/index.js +3 -3
  63. package/auth/hooks/queries/index.d.ts +2 -2
  64. package/auth/hooks/queries/index.js +2 -2
  65. package/auth/hooks/query-keys.d.ts +14 -14
  66. package/auth/hooks/query-keys.js +9 -9
  67. package/auth/orm/index.d.ts +2 -2
  68. package/auth/orm/index.js +2 -2
  69. package/auth/orm/input-types.d.ts +196 -162
  70. package/auth/orm/models/auditLog.d.ts +1 -1
  71. package/auth/orm/models/connectedAccount.d.ts +1 -1
  72. package/auth/orm/models/cryptoAddress.d.ts +1 -1
  73. package/auth/orm/models/email.d.ts +1 -1
  74. package/auth/orm/models/index.d.ts +1 -1
  75. package/auth/orm/models/index.js +3 -3
  76. package/auth/orm/models/phoneNumber.d.ts +1 -1
  77. package/auth/orm/models/roleType.d.ts +1 -1
  78. package/auth/orm/models/user.d.ts +1 -1
  79. package/auth/orm/query-builder.d.ts +6 -4
  80. package/auth/orm/query-builder.js +13 -5
  81. package/auth/orm/select-types.d.ts +4 -2
  82. package/auth/schema-types.d.ts +226 -270
  83. package/auth/types.d.ts +23 -4
  84. package/esm/admin/hooks/index.d.ts +1 -1
  85. package/esm/admin/hooks/index.js +1 -1
  86. package/esm/admin/hooks/invalidation.d.ts +18 -18
  87. package/esm/admin/hooks/invalidation.js +46 -46
  88. package/esm/admin/hooks/mutation-keys.d.ts +36 -36
  89. package/esm/admin/hooks/mutation-keys.js +21 -21
  90. package/esm/admin/hooks/mutations/index.d.ts +9 -9
  91. package/esm/admin/hooks/mutations/index.js +9 -9
  92. package/esm/admin/hooks/queries/index.d.ts +6 -6
  93. package/esm/admin/hooks/queries/index.js +6 -6
  94. package/esm/admin/hooks/query-keys.d.ts +42 -42
  95. package/esm/admin/hooks/query-keys.js +24 -24
  96. package/esm/admin/orm/index.d.ts +6 -6
  97. package/esm/admin/orm/index.js +6 -6
  98. package/esm/admin/orm/input-types.d.ts +489 -667
  99. package/esm/admin/orm/models/appAchievement.d.ts +1 -1
  100. package/esm/admin/orm/models/appAdminGrant.d.ts +1 -1
  101. package/esm/admin/orm/models/appGrant.d.ts +1 -1
  102. package/esm/admin/orm/models/appLevel.d.ts +1 -1
  103. package/esm/admin/orm/models/appLevelRequirement.d.ts +1 -1
  104. package/esm/admin/orm/models/appLimit.d.ts +1 -1
  105. package/esm/admin/orm/models/appLimitDefault.d.ts +1 -1
  106. package/esm/admin/orm/models/appMembership.d.ts +1 -1
  107. package/esm/admin/orm/models/appMembershipDefault.d.ts +1 -1
  108. package/esm/admin/orm/models/appOwnerGrant.d.ts +1 -1
  109. package/esm/admin/orm/models/appPermission.d.ts +1 -1
  110. package/esm/admin/orm/models/appPermissionDefault.d.ts +1 -1
  111. package/esm/admin/orm/models/appStep.d.ts +1 -1
  112. package/esm/admin/orm/models/claimedInvite.d.ts +1 -1
  113. package/esm/admin/orm/models/index.d.ts +3 -3
  114. package/esm/admin/orm/models/index.js +3 -3
  115. package/esm/admin/orm/models/invite.d.ts +1 -1
  116. package/esm/admin/orm/models/membershipType.d.ts +1 -1
  117. package/esm/admin/orm/models/orgAdminGrant.d.ts +1 -1
  118. package/esm/admin/orm/models/orgChartEdge.d.ts +1 -1
  119. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  120. package/esm/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  121. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  122. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  123. package/esm/admin/orm/models/orgGrant.d.ts +1 -1
  124. package/esm/admin/orm/models/orgInvite.d.ts +1 -1
  125. package/esm/admin/orm/models/orgLimit.d.ts +1 -1
  126. package/esm/admin/orm/models/orgLimitDefault.d.ts +1 -1
  127. package/esm/admin/orm/models/orgMember.d.ts +1 -1
  128. package/esm/admin/orm/models/orgMembership.d.ts +1 -1
  129. package/esm/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  130. package/esm/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  131. package/esm/admin/orm/models/orgPermission.d.ts +1 -1
  132. package/esm/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  133. package/esm/admin/orm/query-builder.d.ts +6 -4
  134. package/esm/admin/orm/query-builder.js +13 -5
  135. package/esm/admin/orm/select-types.d.ts +4 -2
  136. package/esm/admin/schema-types.d.ts +475 -983
  137. package/esm/admin/types.d.ts +55 -29
  138. package/esm/auth/hooks/index.d.ts +1 -1
  139. package/esm/auth/hooks/index.js +1 -1
  140. package/esm/auth/hooks/invalidation.d.ts +6 -6
  141. package/esm/auth/hooks/invalidation.js +16 -16
  142. package/esm/auth/hooks/mutation-keys.d.ts +12 -12
  143. package/esm/auth/hooks/mutation-keys.js +7 -7
  144. package/esm/auth/hooks/mutations/index.d.ts +3 -3
  145. package/esm/auth/hooks/mutations/index.js +3 -3
  146. package/esm/auth/hooks/queries/index.d.ts +2 -2
  147. package/esm/auth/hooks/queries/index.js +2 -2
  148. package/esm/auth/hooks/query-keys.d.ts +14 -14
  149. package/esm/auth/hooks/query-keys.js +8 -8
  150. package/esm/auth/orm/index.d.ts +2 -2
  151. package/esm/auth/orm/index.js +2 -2
  152. package/esm/auth/orm/input-types.d.ts +196 -162
  153. package/esm/auth/orm/models/auditLog.d.ts +1 -1
  154. package/esm/auth/orm/models/connectedAccount.d.ts +1 -1
  155. package/esm/auth/orm/models/cryptoAddress.d.ts +1 -1
  156. package/esm/auth/orm/models/email.d.ts +1 -1
  157. package/esm/auth/orm/models/index.d.ts +1 -1
  158. package/esm/auth/orm/models/index.js +1 -1
  159. package/esm/auth/orm/models/phoneNumber.d.ts +1 -1
  160. package/esm/auth/orm/models/roleType.d.ts +1 -1
  161. package/esm/auth/orm/models/user.d.ts +1 -1
  162. package/esm/auth/orm/query-builder.d.ts +6 -4
  163. package/esm/auth/orm/query-builder.js +13 -5
  164. package/esm/auth/orm/select-types.d.ts +4 -2
  165. package/esm/auth/schema-types.d.ts +226 -270
  166. package/esm/auth/types.d.ts +23 -4
  167. package/esm/objects/orm/input-types.d.ts +40 -42
  168. package/esm/objects/orm/models/commit.d.ts +1 -1
  169. package/esm/objects/orm/models/getAllRecord.d.ts +1 -1
  170. package/esm/objects/orm/models/object.d.ts +1 -1
  171. package/esm/objects/orm/models/ref.d.ts +1 -1
  172. package/esm/objects/orm/models/store.d.ts +1 -1
  173. package/esm/objects/orm/query-builder.d.ts +6 -4
  174. package/esm/objects/orm/query-builder.js +13 -5
  175. package/esm/objects/orm/select-types.d.ts +4 -2
  176. package/esm/objects/schema-types.d.ts +37 -67
  177. package/esm/objects/types.d.ts +13 -0
  178. package/esm/public/hooks/index.d.ts +1 -1
  179. package/esm/public/hooks/index.js +1 -1
  180. package/esm/public/hooks/invalidation.d.ts +34 -40
  181. package/esm/public/hooks/invalidation.js +80 -96
  182. package/esm/public/hooks/mutation-keys.d.ts +70 -82
  183. package/esm/public/hooks/mutation-keys.js +43 -50
  184. package/esm/public/hooks/mutations/index.d.ts +17 -20
  185. package/esm/public/hooks/mutations/index.js +17 -20
  186. package/esm/public/hooks/queries/index.d.ts +12 -14
  187. package/esm/public/hooks/queries/index.js +12 -14
  188. package/esm/public/hooks/query-keys.d.ts +80 -94
  189. package/esm/public/hooks/query-keys.js +46 -54
  190. package/esm/public/orm/index.d.ts +17 -19
  191. package/esm/public/orm/index.js +12 -14
  192. package/esm/public/orm/input-types.d.ts +2426 -2179
  193. package/esm/public/orm/input-types.js +0 -3
  194. package/esm/public/orm/models/api.d.ts +1 -1
  195. package/esm/public/orm/models/apiModule.d.ts +1 -1
  196. package/esm/public/orm/models/apiSchema.d.ts +1 -1
  197. package/esm/public/orm/models/app.d.ts +1 -1
  198. package/esm/public/orm/models/appAchievement.d.ts +1 -1
  199. package/esm/public/orm/models/appAdminGrant.d.ts +1 -1
  200. package/esm/public/orm/models/appGrant.d.ts +1 -1
  201. package/esm/public/orm/models/appLevel.d.ts +1 -1
  202. package/esm/public/orm/models/appLevelRequirement.d.ts +1 -1
  203. package/esm/public/orm/models/appLimit.d.ts +1 -1
  204. package/esm/public/orm/models/appLimitDefault.d.ts +1 -1
  205. package/esm/public/orm/models/appMembership.d.ts +1 -1
  206. package/esm/public/orm/models/appMembershipDefault.d.ts +1 -1
  207. package/esm/public/orm/models/appOwnerGrant.d.ts +1 -1
  208. package/esm/public/orm/models/appPermission.d.ts +1 -1
  209. package/esm/public/orm/models/appPermissionDefault.d.ts +1 -1
  210. package/esm/public/orm/models/appStep.d.ts +1 -1
  211. package/esm/public/orm/models/astMigration.d.ts +1 -1
  212. package/esm/public/orm/models/auditLog.d.ts +1 -1
  213. package/esm/public/orm/models/checkConstraint.d.ts +1 -1
  214. package/esm/public/orm/models/claimedInvite.d.ts +1 -1
  215. package/esm/public/orm/models/commit.d.ts +1 -1
  216. package/esm/public/orm/models/connectedAccount.d.ts +1 -1
  217. package/esm/public/orm/models/connectedAccountsModule.d.ts +1 -1
  218. package/esm/public/orm/models/cryptoAddress.d.ts +1 -1
  219. package/esm/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  220. package/esm/public/orm/models/cryptoAuthModule.d.ts +1 -1
  221. package/esm/public/orm/models/database.d.ts +1 -1
  222. package/esm/public/orm/models/databaseProvisionModule.d.ts +1 -1
  223. package/esm/public/orm/models/defaultIdsModule.d.ts +1 -1
  224. package/esm/public/orm/models/defaultPrivilege.d.ts +1 -1
  225. package/esm/public/orm/models/denormalizedTableField.d.ts +1 -1
  226. package/esm/public/orm/models/domain.d.ts +1 -1
  227. package/esm/public/orm/models/email.d.ts +1 -1
  228. package/esm/public/orm/models/emailsModule.d.ts +1 -1
  229. package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  230. package/esm/public/orm/models/field.d.ts +1 -1
  231. package/esm/public/orm/models/fieldModule.d.ts +1 -1
  232. package/esm/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  233. package/esm/public/orm/models/fullTextSearch.d.ts +1 -1
  234. package/esm/public/orm/models/getAllRecord.d.ts +1 -1
  235. package/esm/public/orm/models/hierarchyModule.d.ts +1 -1
  236. package/esm/public/orm/models/index.d.ts +6 -7
  237. package/esm/public/orm/models/index.js +6 -7
  238. package/esm/public/orm/models/indexModel.d.ts +1 -1
  239. package/esm/public/orm/models/invite.d.ts +1 -1
  240. package/esm/public/orm/models/invitesModule.d.ts +1 -1
  241. package/esm/public/orm/models/levelsModule.d.ts +1 -1
  242. package/esm/public/orm/models/limitsModule.d.ts +1 -1
  243. package/esm/public/orm/models/membershipType.d.ts +1 -1
  244. package/esm/public/orm/models/membershipTypesModule.d.ts +1 -1
  245. package/esm/public/orm/models/membershipsModule.d.ts +1 -1
  246. package/esm/public/orm/models/nodeTypeRegistry.d.ts +1 -1
  247. package/esm/public/orm/models/object.d.ts +1 -1
  248. package/esm/public/orm/models/orgAdminGrant.d.ts +1 -1
  249. package/esm/public/orm/models/orgChartEdge.d.ts +1 -1
  250. package/esm/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  251. package/esm/public/orm/models/orgClaimedInvite.d.ts +1 -1
  252. package/esm/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  253. package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  254. package/esm/public/orm/models/orgGrant.d.ts +1 -1
  255. package/esm/public/orm/models/orgInvite.d.ts +1 -1
  256. package/esm/public/orm/models/orgLimit.d.ts +1 -1
  257. package/esm/public/orm/models/orgLimitDefault.d.ts +1 -1
  258. package/esm/public/orm/models/orgMember.d.ts +1 -1
  259. package/esm/public/orm/models/orgMembership.d.ts +1 -1
  260. package/esm/public/orm/models/orgMembershipDefault.d.ts +1 -1
  261. package/esm/public/orm/models/orgOwnerGrant.d.ts +1 -1
  262. package/esm/public/orm/models/orgPermission.d.ts +1 -1
  263. package/esm/public/orm/models/orgPermissionDefault.d.ts +1 -1
  264. package/esm/public/orm/models/permissionsModule.d.ts +1 -1
  265. package/esm/public/orm/models/phoneNumber.d.ts +1 -1
  266. package/esm/public/orm/models/phoneNumbersModule.d.ts +1 -1
  267. package/esm/public/orm/models/policy.d.ts +1 -1
  268. package/esm/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  269. package/esm/public/orm/models/profilesModule.d.ts +1 -1
  270. package/esm/public/orm/models/ref.d.ts +1 -1
  271. package/esm/public/orm/models/relationProvision.d.ts +1 -1
  272. package/esm/public/orm/models/rlsModule.d.ts +1 -1
  273. package/esm/public/orm/models/roleType.d.ts +1 -1
  274. package/esm/public/orm/models/schema.d.ts +1 -1
  275. package/esm/public/orm/models/schemaGrant.d.ts +1 -1
  276. package/esm/public/orm/models/secretsModule.d.ts +1 -1
  277. package/esm/public/orm/models/secureTableProvision.d.ts +1 -1
  278. package/esm/public/orm/models/sessionsModule.d.ts +1 -1
  279. package/esm/public/orm/models/site.d.ts +1 -1
  280. package/esm/public/orm/models/siteMetadatum.d.ts +1 -1
  281. package/esm/public/orm/models/siteModule.d.ts +1 -1
  282. package/esm/public/orm/models/siteTheme.d.ts +1 -1
  283. package/esm/public/orm/models/sqlMigration.d.ts +1 -1
  284. package/esm/public/orm/models/store.d.ts +1 -1
  285. package/esm/public/orm/models/table.d.ts +1 -1
  286. package/esm/public/orm/models/tableGrant.d.ts +1 -1
  287. package/esm/public/orm/models/tableTemplateModule.d.ts +1 -1
  288. package/esm/public/orm/models/trigger.d.ts +1 -1
  289. package/esm/public/orm/models/triggerFunction.d.ts +1 -1
  290. package/esm/public/orm/models/uniqueConstraint.d.ts +1 -1
  291. package/esm/public/orm/models/user.d.ts +1 -1
  292. package/esm/public/orm/models/userAuthModule.d.ts +1 -1
  293. package/esm/public/orm/models/usersModule.d.ts +1 -1
  294. package/esm/public/orm/models/uuidModule.d.ts +1 -1
  295. package/esm/public/orm/models/view.d.ts +1 -1
  296. package/esm/public/orm/models/viewGrant.d.ts +1 -1
  297. package/esm/public/orm/models/viewRule.d.ts +1 -1
  298. package/esm/public/orm/models/viewTable.d.ts +1 -1
  299. package/esm/public/orm/mutation/index.d.ts +9 -9
  300. package/esm/public/orm/mutation/index.js +12 -12
  301. package/esm/public/orm/query-builder.d.ts +6 -4
  302. package/esm/public/orm/query-builder.js +13 -5
  303. package/esm/public/orm/select-types.d.ts +4 -2
  304. package/esm/public/schema-types.d.ts +6895 -6506
  305. package/esm/public/types.d.ts +369 -63
  306. package/objects/orm/input-types.d.ts +40 -42
  307. package/objects/orm/models/commit.d.ts +1 -1
  308. package/objects/orm/models/getAllRecord.d.ts +1 -1
  309. package/objects/orm/models/object.d.ts +1 -1
  310. package/objects/orm/models/ref.d.ts +1 -1
  311. package/objects/orm/models/store.d.ts +1 -1
  312. package/objects/orm/query-builder.d.ts +6 -4
  313. package/objects/orm/query-builder.js +13 -5
  314. package/objects/orm/select-types.d.ts +4 -2
  315. package/objects/schema-types.d.ts +37 -67
  316. package/objects/types.d.ts +13 -0
  317. package/package.json +6 -6
  318. package/public/hooks/index.d.ts +1 -1
  319. package/public/hooks/index.js +1 -1
  320. package/public/hooks/invalidation.d.ts +34 -40
  321. package/public/hooks/invalidation.js +79 -95
  322. package/public/hooks/mutation-keys.d.ts +70 -82
  323. package/public/hooks/mutation-keys.js +46 -53
  324. package/public/hooks/mutations/index.d.ts +17 -20
  325. package/public/hooks/mutations/index.js +17 -20
  326. package/public/hooks/queries/index.d.ts +12 -14
  327. package/public/hooks/queries/index.js +12 -14
  328. package/public/hooks/query-keys.d.ts +80 -94
  329. package/public/hooks/query-keys.js +49 -57
  330. package/public/orm/index.d.ts +17 -19
  331. package/public/orm/index.js +12 -14
  332. package/public/orm/input-types.d.ts +2426 -2179
  333. package/public/orm/input-types.js +0 -3
  334. package/public/orm/models/api.d.ts +1 -1
  335. package/public/orm/models/apiModule.d.ts +1 -1
  336. package/public/orm/models/apiSchema.d.ts +1 -1
  337. package/public/orm/models/app.d.ts +1 -1
  338. package/public/orm/models/appAchievement.d.ts +1 -1
  339. package/public/orm/models/appAdminGrant.d.ts +1 -1
  340. package/public/orm/models/appGrant.d.ts +1 -1
  341. package/public/orm/models/appLevel.d.ts +1 -1
  342. package/public/orm/models/appLevelRequirement.d.ts +1 -1
  343. package/public/orm/models/appLimit.d.ts +1 -1
  344. package/public/orm/models/appLimitDefault.d.ts +1 -1
  345. package/public/orm/models/appMembership.d.ts +1 -1
  346. package/public/orm/models/appMembershipDefault.d.ts +1 -1
  347. package/public/orm/models/appOwnerGrant.d.ts +1 -1
  348. package/public/orm/models/appPermission.d.ts +1 -1
  349. package/public/orm/models/appPermissionDefault.d.ts +1 -1
  350. package/public/orm/models/appStep.d.ts +1 -1
  351. package/public/orm/models/astMigration.d.ts +1 -1
  352. package/public/orm/models/auditLog.d.ts +1 -1
  353. package/public/orm/models/checkConstraint.d.ts +1 -1
  354. package/public/orm/models/claimedInvite.d.ts +1 -1
  355. package/public/orm/models/commit.d.ts +1 -1
  356. package/public/orm/models/connectedAccount.d.ts +1 -1
  357. package/public/orm/models/connectedAccountsModule.d.ts +1 -1
  358. package/public/orm/models/cryptoAddress.d.ts +1 -1
  359. package/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  360. package/public/orm/models/cryptoAuthModule.d.ts +1 -1
  361. package/public/orm/models/database.d.ts +1 -1
  362. package/public/orm/models/databaseProvisionModule.d.ts +1 -1
  363. package/public/orm/models/defaultIdsModule.d.ts +1 -1
  364. package/public/orm/models/defaultPrivilege.d.ts +1 -1
  365. package/public/orm/models/denormalizedTableField.d.ts +1 -1
  366. package/public/orm/models/domain.d.ts +1 -1
  367. package/public/orm/models/email.d.ts +1 -1
  368. package/public/orm/models/emailsModule.d.ts +1 -1
  369. package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  370. package/public/orm/models/field.d.ts +1 -1
  371. package/public/orm/models/fieldModule.d.ts +1 -1
  372. package/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  373. package/public/orm/models/fullTextSearch.d.ts +1 -1
  374. package/public/orm/models/getAllRecord.d.ts +1 -1
  375. package/public/orm/models/hierarchyModule.d.ts +1 -1
  376. package/public/orm/models/index.d.ts +6 -7
  377. package/public/orm/models/index.js +15 -17
  378. package/public/orm/models/indexModel.d.ts +1 -1
  379. package/public/orm/models/invite.d.ts +1 -1
  380. package/public/orm/models/invitesModule.d.ts +1 -1
  381. package/public/orm/models/levelsModule.d.ts +1 -1
  382. package/public/orm/models/limitsModule.d.ts +1 -1
  383. package/public/orm/models/membershipType.d.ts +1 -1
  384. package/public/orm/models/membershipTypesModule.d.ts +1 -1
  385. package/public/orm/models/membershipsModule.d.ts +1 -1
  386. package/public/orm/models/nodeTypeRegistry.d.ts +1 -1
  387. package/public/orm/models/object.d.ts +1 -1
  388. package/public/orm/models/orgAdminGrant.d.ts +1 -1
  389. package/public/orm/models/orgChartEdge.d.ts +1 -1
  390. package/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  391. package/public/orm/models/orgClaimedInvite.d.ts +1 -1
  392. package/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  393. package/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  394. package/public/orm/models/orgGrant.d.ts +1 -1
  395. package/public/orm/models/orgInvite.d.ts +1 -1
  396. package/public/orm/models/orgLimit.d.ts +1 -1
  397. package/public/orm/models/orgLimitDefault.d.ts +1 -1
  398. package/public/orm/models/orgMember.d.ts +1 -1
  399. package/public/orm/models/orgMembership.d.ts +1 -1
  400. package/public/orm/models/orgMembershipDefault.d.ts +1 -1
  401. package/public/orm/models/orgOwnerGrant.d.ts +1 -1
  402. package/public/orm/models/orgPermission.d.ts +1 -1
  403. package/public/orm/models/orgPermissionDefault.d.ts +1 -1
  404. package/public/orm/models/permissionsModule.d.ts +1 -1
  405. package/public/orm/models/phoneNumber.d.ts +1 -1
  406. package/public/orm/models/phoneNumbersModule.d.ts +1 -1
  407. package/public/orm/models/policy.d.ts +1 -1
  408. package/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  409. package/public/orm/models/profilesModule.d.ts +1 -1
  410. package/public/orm/models/ref.d.ts +1 -1
  411. package/public/orm/models/relationProvision.d.ts +1 -1
  412. package/public/orm/models/rlsModule.d.ts +1 -1
  413. package/public/orm/models/roleType.d.ts +1 -1
  414. package/public/orm/models/schema.d.ts +1 -1
  415. package/public/orm/models/schemaGrant.d.ts +1 -1
  416. package/public/orm/models/secretsModule.d.ts +1 -1
  417. package/public/orm/models/secureTableProvision.d.ts +1 -1
  418. package/public/orm/models/sessionsModule.d.ts +1 -1
  419. package/public/orm/models/site.d.ts +1 -1
  420. package/public/orm/models/siteMetadatum.d.ts +1 -1
  421. package/public/orm/models/siteModule.d.ts +1 -1
  422. package/public/orm/models/siteTheme.d.ts +1 -1
  423. package/public/orm/models/sqlMigration.d.ts +1 -1
  424. package/public/orm/models/store.d.ts +1 -1
  425. package/public/orm/models/table.d.ts +1 -1
  426. package/public/orm/models/tableGrant.d.ts +1 -1
  427. package/public/orm/models/tableTemplateModule.d.ts +1 -1
  428. package/public/orm/models/trigger.d.ts +1 -1
  429. package/public/orm/models/triggerFunction.d.ts +1 -1
  430. package/public/orm/models/uniqueConstraint.d.ts +1 -1
  431. package/public/orm/models/user.d.ts +1 -1
  432. package/public/orm/models/userAuthModule.d.ts +1 -1
  433. package/public/orm/models/usersModule.d.ts +1 -1
  434. package/public/orm/models/uuidModule.d.ts +1 -1
  435. package/public/orm/models/view.d.ts +1 -1
  436. package/public/orm/models/viewGrant.d.ts +1 -1
  437. package/public/orm/models/viewRule.d.ts +1 -1
  438. package/public/orm/models/viewTable.d.ts +1 -1
  439. package/public/orm/mutation/index.d.ts +9 -9
  440. package/public/orm/mutation/index.js +12 -12
  441. package/public/orm/query-builder.d.ts +6 -4
  442. package/public/orm/query-builder.js +13 -5
  443. package/public/orm/select-types.d.ts +4 -2
  444. package/public/schema-types.d.ts +6895 -6506
  445. package/public/types.d.ts +369 -63
  446. package/esm/public/hooks/mutations/useCreateTableModuleMutation.d.ts +0 -34
  447. package/esm/public/hooks/mutations/useCreateTableModuleMutation.js +0 -31
  448. package/esm/public/hooks/mutations/useDeleteTableModuleMutation.d.ts +0 -38
  449. package/esm/public/hooks/mutations/useDeleteTableModuleMutation.js +0 -36
  450. package/esm/public/hooks/mutations/useUpdateTableModuleMutation.d.ts +0 -40
  451. package/esm/public/hooks/mutations/useUpdateTableModuleMutation.js +0 -37
  452. package/esm/public/hooks/queries/useTableModuleQuery.d.ts +0 -65
  453. package/esm/public/hooks/queries/useTableModuleQuery.js +0 -47
  454. package/esm/public/hooks/queries/useTableModulesQuery.d.ts +0 -69
  455. package/esm/public/hooks/queries/useTableModulesQuery.js +0 -32
  456. package/esm/public/orm/models/tableModule.d.ts +0 -56
  457. package/esm/public/orm/models/tableModule.js +0 -94
  458. package/public/hooks/mutations/useCreateTableModuleMutation.d.ts +0 -34
  459. package/public/hooks/mutations/useCreateTableModuleMutation.js +0 -34
  460. package/public/hooks/mutations/useDeleteTableModuleMutation.d.ts +0 -38
  461. package/public/hooks/mutations/useDeleteTableModuleMutation.js +0 -39
  462. package/public/hooks/mutations/useUpdateTableModuleMutation.d.ts +0 -40
  463. package/public/hooks/mutations/useUpdateTableModuleMutation.js +0 -40
  464. package/public/hooks/queries/useTableModuleQuery.d.ts +0 -65
  465. package/public/hooks/queries/useTableModuleQuery.js +0 -53
  466. package/public/hooks/queries/useTableModulesQuery.d.ts +0 -69
  467. package/public/hooks/queries/useTableModulesQuery.js +0 -38
  468. package/public/orm/models/tableModule.d.ts +0 -56
  469. package/public/orm/models/tableModule.js +0 -98
@@ -7,63 +7,20 @@ import type { AuditLog, ConnectedAccount, CryptoAddress, Email, PhoneNumber, Rol
7
7
  export type ConstructiveInternalTypeEmail = unknown;
8
8
  export type ConstructiveInternalTypeImage = unknown;
9
9
  export type ConstructiveInternalTypeOrigin = unknown;
10
+ /** Methods to use when ordering `CryptoAddress`. */
11
+ export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ADDRESS_TRGM_SIMILARITY_ASC' | 'ADDRESS_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
10
12
  /** Methods to use when ordering `RoleType`. */
11
13
  export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
12
- /** Methods to use when ordering `CryptoAddress`. */
13
- export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14
14
  /** Methods to use when ordering `PhoneNumber`. */
15
- export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
15
+ export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CC_TRGM_SIMILARITY_ASC' | 'CC_TRGM_SIMILARITY_DESC' | 'NUMBER_TRGM_SIMILARITY_ASC' | 'NUMBER_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
16
16
  /** Methods to use when ordering `ConnectedAccount`. */
17
- export type ConnectedAccountOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
17
+ export type ConnectedAccountOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SERVICE_TRGM_SIMILARITY_ASC' | 'SERVICE_TRGM_SIMILARITY_DESC' | 'IDENTIFIER_TRGM_SIMILARITY_ASC' | 'IDENTIFIER_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
18
18
  /** Methods to use when ordering `AuditLog`. */
19
- export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC';
19
+ export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'USER_AGENT_TRGM_SIMILARITY_ASC' | 'USER_AGENT_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
20
20
  /** Methods to use when ordering `Email`. */
21
21
  export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
22
22
  /** Methods to use when ordering `User`. */
23
- export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC';
24
- /**
25
- * A condition to be used against `RoleType` object types. All fields are tested
26
- * for equality and combined with a logical ‘and.’
27
- */
28
- export interface RoleTypeCondition {
29
- /** Checks for equality with the object’s `id` field. */
30
- id?: number;
31
- /** Checks for equality with the object’s `name` field. */
32
- name?: string;
33
- }
34
- /** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */
35
- export interface RoleTypeFilter {
36
- /** Filter by the object’s `id` field. */
37
- id?: IntFilter;
38
- /** Filter by the object’s `name` field. */
39
- name?: StringFilter;
40
- /** Checks for all expressions in this list. */
41
- and?: RoleTypeFilter[];
42
- /** Checks for any expressions in this list. */
43
- or?: RoleTypeFilter[];
44
- /** Negates the expression. */
45
- not?: RoleTypeFilter;
46
- }
47
- /**
48
- * A condition to be used against `CryptoAddress` object types. All fields are
49
- * tested for equality and combined with a logical ‘and.’
50
- */
51
- export interface CryptoAddressCondition {
52
- /** Checks for equality with the object’s `id` field. */
53
- id?: string;
54
- /** Checks for equality with the object’s `ownerId` field. */
55
- ownerId?: string;
56
- /** Checks for equality with the object’s `address` field. */
57
- address?: string;
58
- /** Checks for equality with the object’s `isVerified` field. */
59
- isVerified?: boolean;
60
- /** Checks for equality with the object’s `isPrimary` field. */
61
- isPrimary?: boolean;
62
- /** Checks for equality with the object’s `createdAt` field. */
63
- createdAt?: string;
64
- /** Checks for equality with the object’s `updatedAt` field. */
65
- updatedAt?: string;
66
- }
23
+ export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
67
24
  /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
68
25
  export interface CryptoAddressFilter {
69
26
  /** Filter by the object’s `id` field. */
@@ -86,28 +43,110 @@ export interface CryptoAddressFilter {
86
43
  or?: CryptoAddressFilter[];
87
44
  /** Negates the expression. */
88
45
  not?: CryptoAddressFilter;
46
+ /** Filter by the object’s `owner` relation. */
47
+ owner?: UserFilter;
48
+ /** TRGM search on the `address` column. */
49
+ trgmAddress?: TrgmSearchInput;
50
+ /**
51
+ * Composite full-text search. Provide a search string and it will be dispatched
52
+ * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
53
+ * simultaneously. Rows matching ANY algorithm are returned. All matching score
54
+ * fields are populated.
55
+ */
56
+ fullTextSearch?: string;
89
57
  }
90
- /**
91
- * A condition to be used against `PhoneNumber` object types. All fields are tested
92
- * for equality and combined with a logical ‘and.’
93
- */
94
- export interface PhoneNumberCondition {
95
- /** Checks for equality with the object’s `id` field. */
96
- id?: string;
97
- /** Checks for equality with the object’s `ownerId` field. */
98
- ownerId?: string;
99
- /** Checks for equality with the object’s `cc` field. */
100
- cc?: string;
101
- /** Checks for equality with the object’s `number` field. */
102
- number?: string;
103
- /** Checks for equality with the object’s `isVerified` field. */
104
- isVerified?: boolean;
105
- /** Checks for equality with the object’s `isPrimary` field. */
106
- isPrimary?: boolean;
107
- /** Checks for equality with the object’s `createdAt` field. */
108
- createdAt?: string;
109
- /** Checks for equality with the object’s `updatedAt` field. */
110
- updatedAt?: string;
58
+ /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
59
+ export interface TrgmSearchInput {
60
+ /** The text to fuzzy-match against. Typos and misspellings are tolerated. */
61
+ value: string;
62
+ /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
63
+ threshold?: number;
64
+ }
65
+ /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
66
+ export interface UserFilter {
67
+ /** Filter by the object’s `id` field. */
68
+ id?: UUIDFilter;
69
+ /** Filter by the object’s `username` field. */
70
+ username?: StringFilter;
71
+ /** Filter by the object’s `displayName` field. */
72
+ displayName?: StringFilter;
73
+ /** Filter by the object’s `profilePicture` field. */
74
+ profilePicture?: ConstructiveInternalTypeImageFilter;
75
+ /** Filter by the object’s `searchTsv` field. */
76
+ searchTsv?: FullTextFilter;
77
+ /** Filter by the object’s `type` field. */
78
+ type?: IntFilter;
79
+ /** Filter by the object’s `createdAt` field. */
80
+ createdAt?: DatetimeFilter;
81
+ /** Filter by the object’s `updatedAt` field. */
82
+ updatedAt?: DatetimeFilter;
83
+ /** Checks for all expressions in this list. */
84
+ and?: UserFilter[];
85
+ /** Checks for any expressions in this list. */
86
+ or?: UserFilter[];
87
+ /** Negates the expression. */
88
+ not?: UserFilter;
89
+ /** Filter by the object’s `roleType` relation. */
90
+ roleType?: RoleTypeFilter;
91
+ /** TSV search on the `search_tsv` column. */
92
+ tsvSearchTsv?: string;
93
+ /** TRGM search on the `display_name` column. */
94
+ trgmDisplayName?: TrgmSearchInput;
95
+ /**
96
+ * Composite full-text search. Provide a search string and it will be dispatched
97
+ * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
98
+ * simultaneously. Rows matching ANY algorithm are returned. All matching score
99
+ * fields are populated.
100
+ */
101
+ fullTextSearch?: string;
102
+ }
103
+ /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
104
+ export interface ConstructiveInternalTypeImageFilter {
105
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
106
+ isNull?: boolean;
107
+ /** Equal to the specified value. */
108
+ equalTo?: ConstructiveInternalTypeImage;
109
+ /** Not equal to the specified value. */
110
+ notEqualTo?: ConstructiveInternalTypeImage;
111
+ /** Not equal to the specified value, treating null like an ordinary value. */
112
+ distinctFrom?: ConstructiveInternalTypeImage;
113
+ /** Equal to the specified value, treating null like an ordinary value. */
114
+ notDistinctFrom?: ConstructiveInternalTypeImage;
115
+ /** Included in the specified list. */
116
+ in?: ConstructiveInternalTypeImage[];
117
+ /** Not included in the specified list. */
118
+ notIn?: ConstructiveInternalTypeImage[];
119
+ /** Less than the specified value. */
120
+ lessThan?: ConstructiveInternalTypeImage;
121
+ /** Less than or equal to the specified value. */
122
+ lessThanOrEqualTo?: ConstructiveInternalTypeImage;
123
+ /** Greater than the specified value. */
124
+ greaterThan?: ConstructiveInternalTypeImage;
125
+ /** Greater than or equal to the specified value. */
126
+ greaterThanOrEqualTo?: ConstructiveInternalTypeImage;
127
+ /** Contains the specified JSON. */
128
+ contains?: ConstructiveInternalTypeImage;
129
+ /** Contains the specified key. */
130
+ containsKey?: string;
131
+ /** Contains all of the specified keys. */
132
+ containsAllKeys?: string[];
133
+ /** Contains any of the specified keys. */
134
+ containsAnyKeys?: string[];
135
+ /** Contained by the specified JSON. */
136
+ containedBy?: ConstructiveInternalTypeImage;
137
+ }
138
+ /** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */
139
+ export interface RoleTypeFilter {
140
+ /** Filter by the object’s `id` field. */
141
+ id?: IntFilter;
142
+ /** Filter by the object’s `name` field. */
143
+ name?: StringFilter;
144
+ /** Checks for all expressions in this list. */
145
+ and?: RoleTypeFilter[];
146
+ /** Checks for any expressions in this list. */
147
+ or?: RoleTypeFilter[];
148
+ /** Negates the expression. */
149
+ not?: RoleTypeFilter;
111
150
  }
112
151
  /** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
113
152
  export interface PhoneNumberFilter {
@@ -133,28 +172,19 @@ export interface PhoneNumberFilter {
133
172
  or?: PhoneNumberFilter[];
134
173
  /** Negates the expression. */
135
174
  not?: PhoneNumberFilter;
136
- }
137
- /**
138
- * A condition to be used against `ConnectedAccount` object types. All fields are
139
- * tested for equality and combined with a logical ‘and.’
140
- */
141
- export interface ConnectedAccountCondition {
142
- /** Checks for equality with the object’s `id` field. */
143
- id?: string;
144
- /** Checks for equality with the object’s `ownerId` field. */
145
- ownerId?: string;
146
- /** Checks for equality with the object’s `service` field. */
147
- service?: string;
148
- /** Checks for equality with the object’s `identifier` field. */
149
- identifier?: string;
150
- /** Checks for equality with the object’s `details` field. */
151
- details?: unknown;
152
- /** Checks for equality with the object’s `isVerified` field. */
153
- isVerified?: boolean;
154
- /** Checks for equality with the object’s `createdAt` field. */
155
- createdAt?: string;
156
- /** Checks for equality with the object’s `updatedAt` field. */
157
- updatedAt?: string;
175
+ /** Filter by the object’s `owner` relation. */
176
+ owner?: UserFilter;
177
+ /** TRGM search on the `cc` column. */
178
+ trgmCc?: TrgmSearchInput;
179
+ /** TRGM search on the `number` column. */
180
+ trgmNumber?: TrgmSearchInput;
181
+ /**
182
+ * Composite full-text search. Provide a search string and it will be dispatched
183
+ * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
184
+ * simultaneously. Rows matching ANY algorithm are returned. All matching score
185
+ * fields are populated.
186
+ */
187
+ fullTextSearch?: string;
158
188
  }
159
189
  /** A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
160
190
  export interface ConnectedAccountFilter {
@@ -180,28 +210,19 @@ export interface ConnectedAccountFilter {
180
210
  or?: ConnectedAccountFilter[];
181
211
  /** Negates the expression. */
182
212
  not?: ConnectedAccountFilter;
183
- }
184
- /**
185
- * A condition to be used against `AuditLog` object types. All fields are tested
186
- * for equality and combined with a logical ‘and.’
187
- */
188
- export interface AuditLogCondition {
189
- /** Checks for equality with the object’s `id` field. */
190
- id?: string;
191
- /** Checks for equality with the object’s `event` field. */
192
- event?: string;
193
- /** Checks for equality with the object’s `actorId` field. */
194
- actorId?: string;
195
- /** Checks for equality with the object’s `origin` field. */
196
- origin?: ConstructiveInternalTypeOrigin;
197
- /** Checks for equality with the object’s `userAgent` field. */
198
- userAgent?: string;
199
- /** Checks for equality with the object’s `ipAddress` field. */
200
- ipAddress?: string;
201
- /** Checks for equality with the object’s `success` field. */
202
- success?: boolean;
203
- /** Checks for equality with the object’s `createdAt` field. */
204
- createdAt?: string;
213
+ /** Filter by the object’s `owner` relation. */
214
+ owner?: UserFilter;
215
+ /** TRGM search on the `service` column. */
216
+ trgmService?: TrgmSearchInput;
217
+ /** TRGM search on the `identifier` column. */
218
+ trgmIdentifier?: TrgmSearchInput;
219
+ /**
220
+ * Composite full-text search. Provide a search string and it will be dispatched
221
+ * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
222
+ * simultaneously. Rows matching ANY algorithm are returned. All matching score
223
+ * fields are populated.
224
+ */
225
+ fullTextSearch?: string;
205
226
  }
206
227
  /** A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ */
207
228
  export interface AuditLogFilter {
@@ -227,6 +248,17 @@ export interface AuditLogFilter {
227
248
  or?: AuditLogFilter[];
228
249
  /** Negates the expression. */
229
250
  not?: AuditLogFilter;
251
+ /** Filter by the object’s `actor` relation. */
252
+ actor?: UserFilter;
253
+ /** TRGM search on the `user_agent` column. */
254
+ trgmUserAgent?: TrgmSearchInput;
255
+ /**
256
+ * Composite full-text search. Provide a search string and it will be dispatched
257
+ * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
258
+ * simultaneously. Rows matching ANY algorithm are returned. All matching score
259
+ * fields are populated.
260
+ */
261
+ fullTextSearch?: string;
230
262
  }
231
263
  /** A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ */
232
264
  export interface ConstructiveInternalTypeOriginFilter {
@@ -305,23 +337,6 @@ export interface ConstructiveInternalTypeOriginFilter {
305
337
  /** Greater than or equal to the specified value (case-insensitive). */
306
338
  greaterThanOrEqualToInsensitive?: string;
307
339
  }
308
- /** A condition to be used against `Email` object types. All fields are tested for equality and combined with a logical ‘and.’ */
309
- export interface EmailCondition {
310
- /** Checks for equality with the object’s `id` field. */
311
- id?: string;
312
- /** Checks for equality with the object’s `ownerId` field. */
313
- ownerId?: string;
314
- /** Checks for equality with the object’s `email` field. */
315
- email?: ConstructiveInternalTypeEmail;
316
- /** Checks for equality with the object’s `isVerified` field. */
317
- isVerified?: boolean;
318
- /** Checks for equality with the object’s `isPrimary` field. */
319
- isPrimary?: boolean;
320
- /** Checks for equality with the object’s `createdAt` field. */
321
- createdAt?: string;
322
- /** Checks for equality with the object’s `updatedAt` field. */
323
- updatedAt?: string;
324
- }
325
340
  /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
326
341
  export interface EmailFilter {
327
342
  /** Filter by the object’s `id` field. */
@@ -344,6 +359,8 @@ export interface EmailFilter {
344
359
  or?: EmailFilter[];
345
360
  /** Negates the expression. */
346
361
  not?: EmailFilter;
362
+ /** Filter by the object’s `owner` relation. */
363
+ owner?: UserFilter;
347
364
  }
348
365
  /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
349
366
  export interface ConstructiveInternalTypeEmailFilter {
@@ -422,87 +439,6 @@ export interface ConstructiveInternalTypeEmailFilter {
422
439
  /** Greater than or equal to the specified value (case-insensitive). */
423
440
  greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
424
441
  }
425
- /** A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ */
426
- export interface UserCondition {
427
- /** Checks for equality with the object’s `id` field. */
428
- id?: string;
429
- /** Checks for equality with the object’s `username` field. */
430
- username?: string;
431
- /** Checks for equality with the object’s `displayName` field. */
432
- displayName?: string;
433
- /** Checks for equality with the object’s `profilePicture` field. */
434
- profilePicture?: ConstructiveInternalTypeImage;
435
- /** Checks for equality with the object’s `searchTsv` field. */
436
- searchTsv?: string;
437
- /** Checks for equality with the object’s `type` field. */
438
- type?: number;
439
- /** Checks for equality with the object’s `createdAt` field. */
440
- createdAt?: string;
441
- /** Checks for equality with the object’s `updatedAt` field. */
442
- updatedAt?: string;
443
- /** Full-text search on the `search_tsv` tsvector column using `websearch_to_tsquery`. */
444
- fullTextSearchTsv?: string;
445
- }
446
- /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
447
- export interface UserFilter {
448
- /** Filter by the object’s `id` field. */
449
- id?: UUIDFilter;
450
- /** Filter by the object’s `username` field. */
451
- username?: StringFilter;
452
- /** Filter by the object’s `displayName` field. */
453
- displayName?: StringFilter;
454
- /** Filter by the object’s `profilePicture` field. */
455
- profilePicture?: ConstructiveInternalTypeImageFilter;
456
- /** Filter by the object’s `searchTsv` field. */
457
- searchTsv?: FullTextFilter;
458
- /** Filter by the object’s `type` field. */
459
- type?: IntFilter;
460
- /** Filter by the object’s `createdAt` field. */
461
- createdAt?: DatetimeFilter;
462
- /** Filter by the object’s `updatedAt` field. */
463
- updatedAt?: DatetimeFilter;
464
- /** Checks for all expressions in this list. */
465
- and?: UserFilter[];
466
- /** Checks for any expressions in this list. */
467
- or?: UserFilter[];
468
- /** Negates the expression. */
469
- not?: UserFilter;
470
- }
471
- /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
472
- export interface ConstructiveInternalTypeImageFilter {
473
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
474
- isNull?: boolean;
475
- /** Equal to the specified value. */
476
- equalTo?: ConstructiveInternalTypeImage;
477
- /** Not equal to the specified value. */
478
- notEqualTo?: ConstructiveInternalTypeImage;
479
- /** Not equal to the specified value, treating null like an ordinary value. */
480
- distinctFrom?: ConstructiveInternalTypeImage;
481
- /** Equal to the specified value, treating null like an ordinary value. */
482
- notDistinctFrom?: ConstructiveInternalTypeImage;
483
- /** Included in the specified list. */
484
- in?: ConstructiveInternalTypeImage[];
485
- /** Not included in the specified list. */
486
- notIn?: ConstructiveInternalTypeImage[];
487
- /** Less than the specified value. */
488
- lessThan?: ConstructiveInternalTypeImage;
489
- /** Less than or equal to the specified value. */
490
- lessThanOrEqualTo?: ConstructiveInternalTypeImage;
491
- /** Greater than the specified value. */
492
- greaterThan?: ConstructiveInternalTypeImage;
493
- /** Greater than or equal to the specified value. */
494
- greaterThanOrEqualTo?: ConstructiveInternalTypeImage;
495
- /** Contains the specified JSON. */
496
- contains?: ConstructiveInternalTypeImage;
497
- /** Contains the specified key. */
498
- containsKey?: string;
499
- /** Contains all of the specified keys. */
500
- containsAllKeys?: string[];
501
- /** Contains any of the specified keys. */
502
- containsAnyKeys?: string[];
503
- /** Contained by the specified JSON. */
504
- containedBy?: ConstructiveInternalTypeImage;
505
- }
506
442
  export interface SignOutInput {
507
443
  clientMutationId?: string;
508
444
  }
@@ -601,16 +537,6 @@ export interface VerifyTotpInput {
601
537
  clientMutationId?: string;
602
538
  totpValue: string;
603
539
  }
604
- export interface CreateRoleTypeInput {
605
- clientMutationId?: string;
606
- /** The `RoleType` to be created by this mutation. */
607
- roleType: RoleTypeInput;
608
- }
609
- /** An input for mutations affecting `RoleType` */
610
- export interface RoleTypeInput {
611
- id: number;
612
- name: string;
613
- }
614
540
  export interface CreateCryptoAddressInput {
615
541
  clientMutationId?: string;
616
542
  /** The `CryptoAddress` to be created by this mutation. */
@@ -629,6 +555,16 @@ export interface CryptoAddressInput {
629
555
  createdAt?: string;
630
556
  updatedAt?: string;
631
557
  }
558
+ export interface CreateRoleTypeInput {
559
+ clientMutationId?: string;
560
+ /** The `RoleType` to be created by this mutation. */
561
+ roleType: RoleTypeInput;
562
+ }
563
+ /** An input for mutations affecting `RoleType` */
564
+ export interface RoleTypeInput {
565
+ id: number;
566
+ name: string;
567
+ }
632
568
  export interface CreatePhoneNumberInput {
633
569
  clientMutationId?: string;
634
570
  /** The `PhoneNumber` to be created by this mutation. */
@@ -726,17 +662,6 @@ export interface UserInput {
726
662
  createdAt?: string;
727
663
  updatedAt?: string;
728
664
  }
729
- export interface UpdateRoleTypeInput {
730
- clientMutationId?: string;
731
- id: number;
732
- /** An object where the defined keys will be set on the `RoleType` being updated. */
733
- roleTypePatch: RoleTypePatch;
734
- }
735
- /** Represents an update to a `RoleType`. Fields that are set will be updated. */
736
- export interface RoleTypePatch {
737
- id?: number;
738
- name?: string;
739
- }
740
665
  export interface UpdateCryptoAddressInput {
741
666
  clientMutationId?: string;
742
667
  id: string;
@@ -756,6 +681,17 @@ export interface CryptoAddressPatch {
756
681
  createdAt?: string;
757
682
  updatedAt?: string;
758
683
  }
684
+ export interface UpdateRoleTypeInput {
685
+ clientMutationId?: string;
686
+ id: number;
687
+ /** An object where the defined keys will be set on the `RoleType` being updated. */
688
+ roleTypePatch: RoleTypePatch;
689
+ }
690
+ /** Represents an update to a `RoleType`. Fields that are set will be updated. */
691
+ export interface RoleTypePatch {
692
+ id?: number;
693
+ name?: string;
694
+ }
759
695
  export interface UpdatePhoneNumberInput {
760
696
  clientMutationId?: string;
761
697
  id: string;
@@ -860,14 +796,14 @@ export interface UserPatch {
860
796
  /** File upload for the `profilePicture` field. */
861
797
  profilePictureUpload?: File;
862
798
  }
863
- export interface DeleteRoleTypeInput {
864
- clientMutationId?: string;
865
- id: number;
866
- }
867
799
  export interface DeleteCryptoAddressInput {
868
800
  clientMutationId?: string;
869
801
  id: string;
870
802
  }
803
+ export interface DeleteRoleTypeInput {
804
+ clientMutationId?: string;
805
+ id: number;
806
+ }
871
807
  export interface DeletePhoneNumberInput {
872
808
  clientMutationId?: string;
873
809
  id: string;
@@ -888,13 +824,6 @@ export interface DeleteUserInput {
888
824
  clientMutationId?: string;
889
825
  id: string;
890
826
  }
891
- /** A connection to a list of `RoleType` values. */
892
- export interface RoleTypeConnection {
893
- nodes: RoleType[];
894
- edges: RoleTypeEdge[];
895
- pageInfo: PageInfo;
896
- totalCount: number;
897
- }
898
827
  /** A connection to a list of `CryptoAddress` values. */
899
828
  export interface CryptoAddressConnection {
900
829
  nodes: CryptoAddress[];
@@ -902,6 +831,13 @@ export interface CryptoAddressConnection {
902
831
  pageInfo: PageInfo;
903
832
  totalCount: number;
904
833
  }
834
+ /** A connection to a list of `RoleType` values. */
835
+ export interface RoleTypeConnection {
836
+ nodes: RoleType[];
837
+ edges: RoleTypeEdge[];
838
+ pageInfo: PageInfo;
839
+ totalCount: number;
840
+ }
905
841
  /** A connection to a list of `PhoneNumber` values. */
906
842
  export interface PhoneNumberConnection {
907
843
  nodes: PhoneNumber[];
@@ -1002,18 +938,18 @@ export interface VerifyTotpPayload {
1002
938
  clientMutationId?: string | null;
1003
939
  result?: Session | null;
1004
940
  }
1005
- export interface CreateRoleTypePayload {
1006
- clientMutationId?: string | null;
1007
- /** The `RoleType` that was created by this mutation. */
1008
- roleType?: RoleType | null;
1009
- roleTypeEdge?: RoleTypeEdge | null;
1010
- }
1011
941
  export interface CreateCryptoAddressPayload {
1012
942
  clientMutationId?: string | null;
1013
943
  /** The `CryptoAddress` that was created by this mutation. */
1014
944
  cryptoAddress?: CryptoAddress | null;
1015
945
  cryptoAddressEdge?: CryptoAddressEdge | null;
1016
946
  }
947
+ export interface CreateRoleTypePayload {
948
+ clientMutationId?: string | null;
949
+ /** The `RoleType` that was created by this mutation. */
950
+ roleType?: RoleType | null;
951
+ roleTypeEdge?: RoleTypeEdge | null;
952
+ }
1017
953
  export interface CreatePhoneNumberPayload {
1018
954
  clientMutationId?: string | null;
1019
955
  /** The `PhoneNumber` that was created by this mutation. */
@@ -1044,18 +980,18 @@ export interface CreateUserPayload {
1044
980
  user?: User | null;
1045
981
  userEdge?: UserEdge | null;
1046
982
  }
1047
- export interface UpdateRoleTypePayload {
1048
- clientMutationId?: string | null;
1049
- /** The `RoleType` that was updated by this mutation. */
1050
- roleType?: RoleType | null;
1051
- roleTypeEdge?: RoleTypeEdge | null;
1052
- }
1053
983
  export interface UpdateCryptoAddressPayload {
1054
984
  clientMutationId?: string | null;
1055
985
  /** The `CryptoAddress` that was updated by this mutation. */
1056
986
  cryptoAddress?: CryptoAddress | null;
1057
987
  cryptoAddressEdge?: CryptoAddressEdge | null;
1058
988
  }
989
+ export interface UpdateRoleTypePayload {
990
+ clientMutationId?: string | null;
991
+ /** The `RoleType` that was updated by this mutation. */
992
+ roleType?: RoleType | null;
993
+ roleTypeEdge?: RoleTypeEdge | null;
994
+ }
1059
995
  export interface UpdatePhoneNumberPayload {
1060
996
  clientMutationId?: string | null;
1061
997
  /** The `PhoneNumber` that was updated by this mutation. */
@@ -1086,18 +1022,18 @@ export interface UpdateUserPayload {
1086
1022
  user?: User | null;
1087
1023
  userEdge?: UserEdge | null;
1088
1024
  }
1089
- export interface DeleteRoleTypePayload {
1090
- clientMutationId?: string | null;
1091
- /** The `RoleType` that was deleted by this mutation. */
1092
- roleType?: RoleType | null;
1093
- roleTypeEdge?: RoleTypeEdge | null;
1094
- }
1095
1025
  export interface DeleteCryptoAddressPayload {
1096
1026
  clientMutationId?: string | null;
1097
1027
  /** The `CryptoAddress` that was deleted by this mutation. */
1098
1028
  cryptoAddress?: CryptoAddress | null;
1099
1029
  cryptoAddressEdge?: CryptoAddressEdge | null;
1100
1030
  }
1031
+ export interface DeleteRoleTypePayload {
1032
+ clientMutationId?: string | null;
1033
+ /** The `RoleType` that was deleted by this mutation. */
1034
+ roleType?: RoleType | null;
1035
+ roleTypeEdge?: RoleTypeEdge | null;
1036
+ }
1101
1037
  export interface DeletePhoneNumberPayload {
1102
1038
  clientMutationId?: string | null;
1103
1039
  /** The `PhoneNumber` that was deleted by this mutation. */
@@ -1128,11 +1064,11 @@ export interface DeleteUserPayload {
1128
1064
  user?: User | null;
1129
1065
  userEdge?: UserEdge | null;
1130
1066
  }
1131
- /** A `RoleType` edge in the connection. */
1132
- export interface RoleTypeEdge {
1067
+ /** A `CryptoAddress` edge in the connection. */
1068
+ export interface CryptoAddressEdge {
1133
1069
  cursor?: string | null;
1134
- /** The `RoleType` at the end of the edge. */
1135
- node?: RoleType | null;
1070
+ /** The `CryptoAddress` at the end of the edge. */
1071
+ node?: CryptoAddress | null;
1136
1072
  }
1137
1073
  /** Information about pagination in a connection. */
1138
1074
  export interface PageInfo {
@@ -1145,11 +1081,11 @@ export interface PageInfo {
1145
1081
  /** When paginating forwards, the cursor to continue. */
1146
1082
  endCursor?: string | null;
1147
1083
  }
1148
- /** A `CryptoAddress` edge in the connection. */
1149
- export interface CryptoAddressEdge {
1084
+ /** A `RoleType` edge in the connection. */
1085
+ export interface RoleTypeEdge {
1150
1086
  cursor?: string | null;
1151
- /** The `CryptoAddress` at the end of the edge. */
1152
- node?: CryptoAddress | null;
1087
+ /** The `RoleType` at the end of the edge. */
1088
+ node?: RoleType | null;
1153
1089
  }
1154
1090
  /** A `PhoneNumber` edge in the connection. */
1155
1091
  export interface PhoneNumberEdge {
@@ -1202,6 +1138,10 @@ export interface SignInOneTimeTokenRecord {
1202
1138
  accessTokenExpiresAt?: string | null;
1203
1139
  isVerified?: boolean | null;
1204
1140
  totpEnabled?: boolean | null;
1141
+ /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1142
+ accessTokenTrgmSimilarity?: number | null;
1143
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1144
+ searchScore?: number | null;
1205
1145
  }
1206
1146
  export interface SignInRecord {
1207
1147
  id?: string | null;
@@ -1210,6 +1150,10 @@ export interface SignInRecord {
1210
1150
  accessTokenExpiresAt?: string | null;
1211
1151
  isVerified?: boolean | null;
1212
1152
  totpEnabled?: boolean | null;
1153
+ /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1154
+ accessTokenTrgmSimilarity?: number | null;
1155
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1156
+ searchScore?: number | null;
1213
1157
  }
1214
1158
  export interface SignUpRecord {
1215
1159
  id?: string | null;
@@ -1218,6 +1162,10 @@ export interface SignUpRecord {
1218
1162
  accessTokenExpiresAt?: string | null;
1219
1163
  isVerified?: boolean | null;
1220
1164
  totpEnabled?: boolean | null;
1165
+ /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1166
+ accessTokenTrgmSimilarity?: number | null;
1167
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1168
+ searchScore?: number | null;
1221
1169
  }
1222
1170
  export interface ExtendTokenExpiresRecord {
1223
1171
  id?: string | null;
@@ -1251,6 +1199,14 @@ export interface Session {
1251
1199
  csrfSecret?: string | null;
1252
1200
  createdAt?: string | null;
1253
1201
  updatedAt?: string | null;
1202
+ /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */
1203
+ uagentTrgmSimilarity?: number | null;
1204
+ /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */
1205
+ fingerprintModeTrgmSimilarity?: number | null;
1206
+ /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */
1207
+ csrfSecretTrgmSimilarity?: number | null;
1208
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1209
+ searchScore?: number | null;
1254
1210
  }
1255
1211
  /** Information about a table field/column */
1256
1212
  export interface MetaField {