@constructive-io/react 0.7.2 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/README.md +0 -8
  2. package/admin/orm/input-types.d.ts +33 -127
  3. package/admin/schema-types.d.ts +20 -110
  4. package/admin/types.d.ts +0 -19
  5. package/auth/hooks/index.d.ts +1 -1
  6. package/auth/hooks/index.js +1 -1
  7. package/auth/hooks/invalidation.d.ts +16 -16
  8. package/auth/hooks/invalidation.js +33 -33
  9. package/auth/hooks/mutation-keys.d.ts +32 -32
  10. package/auth/hooks/mutation-keys.js +20 -20
  11. package/auth/hooks/mutations/index.d.ts +9 -9
  12. package/auth/hooks/mutations/index.js +9 -9
  13. package/auth/hooks/queries/index.d.ts +6 -6
  14. package/auth/hooks/queries/index.js +6 -6
  15. package/auth/hooks/query-keys.d.ts +38 -38
  16. package/auth/hooks/query-keys.js +23 -23
  17. package/auth/orm/index.d.ts +6 -6
  18. package/auth/orm/index.js +6 -6
  19. package/auth/orm/input-types.d.ts +279 -327
  20. package/auth/orm/input-types.js +9 -1
  21. package/auth/orm/models/index.d.ts +3 -3
  22. package/auth/orm/models/index.js +7 -7
  23. package/auth/schema-types.d.ts +276 -188
  24. package/auth/types.d.ts +14 -24
  25. package/esm/admin/orm/input-types.d.ts +33 -127
  26. package/esm/admin/schema-types.d.ts +20 -110
  27. package/esm/admin/types.d.ts +0 -19
  28. package/esm/auth/hooks/index.d.ts +1 -1
  29. package/esm/auth/hooks/index.js +1 -1
  30. package/esm/auth/hooks/invalidation.d.ts +16 -16
  31. package/esm/auth/hooks/invalidation.js +34 -34
  32. package/esm/auth/hooks/mutation-keys.d.ts +32 -32
  33. package/esm/auth/hooks/mutation-keys.js +19 -19
  34. package/esm/auth/hooks/mutations/index.d.ts +9 -9
  35. package/esm/auth/hooks/mutations/index.js +9 -9
  36. package/esm/auth/hooks/queries/index.d.ts +6 -6
  37. package/esm/auth/hooks/queries/index.js +6 -6
  38. package/esm/auth/hooks/query-keys.d.ts +38 -38
  39. package/esm/auth/hooks/query-keys.js +22 -22
  40. package/esm/auth/orm/index.d.ts +6 -6
  41. package/esm/auth/orm/index.js +6 -6
  42. package/esm/auth/orm/input-types.d.ts +279 -327
  43. package/esm/auth/orm/input-types.js +9 -1
  44. package/esm/auth/orm/models/index.d.ts +3 -3
  45. package/esm/auth/orm/models/index.js +3 -3
  46. package/esm/auth/schema-types.d.ts +276 -188
  47. package/esm/auth/types.d.ts +14 -24
  48. package/esm/index.d.ts +5 -1
  49. package/esm/index.js +5 -1
  50. package/esm/objects/orm/input-types.d.ts +17 -48
  51. package/esm/objects/schema-types.d.ts +3 -37
  52. package/esm/objects/types.d.ts +0 -6
  53. package/esm/public/hooks/index.d.ts +1 -1
  54. package/esm/public/hooks/index.js +1 -1
  55. package/esm/public/hooks/invalidation.d.ts +77 -53
  56. package/esm/public/hooks/invalidation.js +202 -138
  57. package/esm/public/hooks/mutation-keys.d.ts +180 -122
  58. package/esm/public/hooks/mutation-keys.js +129 -86
  59. package/esm/public/hooks/mutations/index.d.ts +50 -33
  60. package/esm/public/hooks/mutations/index.js +50 -33
  61. package/esm/public/hooks/mutations/useAcceptDatabaseTransferMutation.d.ts +20 -0
  62. package/esm/public/hooks/mutations/useAcceptDatabaseTransferMutation.js +23 -0
  63. package/esm/public/hooks/mutations/useCancelDatabaseTransferMutation.d.ts +20 -0
  64. package/esm/public/hooks/mutations/useCancelDatabaseTransferMutation.js +23 -0
  65. package/esm/public/hooks/mutations/useConstructBlueprintMutation.d.ts +20 -0
  66. package/esm/public/hooks/mutations/useConstructBlueprintMutation.js +23 -0
  67. package/esm/public/hooks/mutations/useCopyTemplateToBlueprintMutation.d.ts +20 -0
  68. package/esm/public/hooks/mutations/useCopyTemplateToBlueprintMutation.js +23 -0
  69. package/esm/public/hooks/mutations/useCreateBlueprintMutation.d.ts +34 -0
  70. package/esm/public/hooks/mutations/useCreateBlueprintMutation.js +31 -0
  71. package/esm/public/hooks/mutations/useCreateBlueprintTemplateMutation.d.ts +34 -0
  72. package/esm/public/hooks/mutations/useCreateBlueprintTemplateMutation.js +31 -0
  73. package/esm/public/hooks/mutations/useCreateDatabaseTransferMutation.d.ts +34 -0
  74. package/esm/public/hooks/mutations/useCreateDatabaseTransferMutation.js +31 -0
  75. package/esm/public/hooks/mutations/useCreateEmbeddingChunkMutation.d.ts +34 -0
  76. package/esm/public/hooks/mutations/useCreateEmbeddingChunkMutation.js +31 -0
  77. package/esm/public/hooks/mutations/useCreateEnumMutation.d.ts +34 -0
  78. package/esm/public/hooks/mutations/{useCreateUuidModuleMutation.js → useCreateEnumMutation.js} +7 -7
  79. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +38 -0
  80. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.js +36 -0
  81. package/esm/public/hooks/mutations/useDeleteBlueprintTemplateMutation.d.ts +38 -0
  82. package/esm/public/hooks/mutations/useDeleteBlueprintTemplateMutation.js +36 -0
  83. package/esm/public/hooks/mutations/useDeleteDatabaseTransferMutation.d.ts +38 -0
  84. package/esm/public/hooks/mutations/useDeleteDatabaseTransferMutation.js +36 -0
  85. package/esm/public/hooks/mutations/useDeleteEmbeddingChunkMutation.d.ts +38 -0
  86. package/esm/public/hooks/mutations/useDeleteEmbeddingChunkMutation.js +36 -0
  87. package/esm/public/hooks/mutations/useDeleteEnumMutation.d.ts +38 -0
  88. package/esm/public/hooks/mutations/{useDeleteUuidModuleMutation.js → useDeleteEnumMutation.js} +8 -8
  89. package/esm/public/hooks/mutations/useRejectDatabaseTransferMutation.d.ts +20 -0
  90. package/esm/public/hooks/mutations/useRejectDatabaseTransferMutation.js +23 -0
  91. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +40 -0
  92. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.js +37 -0
  93. package/esm/public/hooks/mutations/useUpdateBlueprintTemplateMutation.d.ts +40 -0
  94. package/esm/public/hooks/mutations/useUpdateBlueprintTemplateMutation.js +37 -0
  95. package/esm/public/hooks/mutations/useUpdateDatabaseTransferMutation.d.ts +40 -0
  96. package/esm/public/hooks/mutations/useUpdateDatabaseTransferMutation.js +37 -0
  97. package/esm/public/hooks/mutations/useUpdateEmbeddingChunkMutation.d.ts +40 -0
  98. package/esm/public/hooks/mutations/useUpdateEmbeddingChunkMutation.js +37 -0
  99. package/esm/public/hooks/mutations/useUpdateEnumMutation.d.ts +40 -0
  100. package/esm/public/hooks/mutations/{useUpdateUuidModuleMutation.js → useUpdateEnumMutation.js} +10 -10
  101. package/esm/public/hooks/queries/index.d.ts +25 -17
  102. package/esm/public/hooks/queries/index.js +25 -17
  103. package/esm/public/hooks/queries/useBlueprintQuery.d.ts +65 -0
  104. package/esm/public/hooks/queries/useBlueprintQuery.js +47 -0
  105. package/esm/public/hooks/queries/useBlueprintTemplateQuery.d.ts +65 -0
  106. package/esm/public/hooks/queries/useBlueprintTemplateQuery.js +47 -0
  107. package/esm/public/hooks/queries/useBlueprintTemplatesQuery.d.ts +69 -0
  108. package/esm/public/hooks/queries/useBlueprintTemplatesQuery.js +32 -0
  109. package/esm/public/hooks/queries/useBlueprintsQuery.d.ts +69 -0
  110. package/esm/public/hooks/queries/useBlueprintsQuery.js +32 -0
  111. package/esm/public/hooks/queries/useDatabaseTransferQuery.d.ts +65 -0
  112. package/esm/public/hooks/queries/useDatabaseTransferQuery.js +47 -0
  113. package/esm/public/hooks/queries/useDatabaseTransfersQuery.d.ts +69 -0
  114. package/esm/public/hooks/queries/useDatabaseTransfersQuery.js +32 -0
  115. package/esm/public/hooks/queries/useEmbeddingChunkQuery.d.ts +65 -0
  116. package/esm/public/hooks/queries/useEmbeddingChunkQuery.js +47 -0
  117. package/esm/public/hooks/queries/useEmbeddingChunksQuery.d.ts +69 -0
  118. package/esm/public/hooks/queries/useEmbeddingChunksQuery.js +32 -0
  119. package/esm/public/hooks/queries/useEnumQuery.d.ts +65 -0
  120. package/esm/public/hooks/queries/{useUuidModuleQuery.js → useEnumQuery.js} +11 -11
  121. package/esm/public/hooks/queries/useEnumsQuery.d.ts +69 -0
  122. package/esm/public/hooks/queries/{useUuidModulesQuery.js → useEnumsQuery.js} +11 -11
  123. package/esm/public/hooks/query-keys.d.ts +180 -124
  124. package/esm/public/hooks/query-keys.js +103 -71
  125. package/esm/public/orm/index.d.ts +81 -48
  126. package/esm/public/orm/index.js +26 -18
  127. package/esm/public/orm/input-types.d.ts +2447 -2980
  128. package/esm/public/orm/input-types.js +26 -1
  129. package/esm/public/orm/models/blueprint.d.ts +56 -0
  130. package/esm/public/orm/models/blueprint.js +94 -0
  131. package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
  132. package/esm/public/orm/models/blueprintTemplate.js +94 -0
  133. package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
  134. package/esm/public/orm/models/databaseTransfer.js +94 -0
  135. package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
  136. package/esm/public/orm/models/embeddingChunk.js +94 -0
  137. package/esm/public/orm/models/enum.d.ts +56 -0
  138. package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
  139. package/esm/public/orm/models/index.d.ts +13 -9
  140. package/esm/public/orm/models/index.js +13 -9
  141. package/esm/public/orm/mutation/index.d.ts +98 -50
  142. package/esm/public/orm/mutation/index.js +126 -66
  143. package/esm/public/schema-types.d.ts +2328 -2206
  144. package/esm/public/types.d.ts +161 -379
  145. package/index.d.ts +5 -1
  146. package/index.js +5 -1
  147. package/objects/orm/input-types.d.ts +17 -48
  148. package/objects/schema-types.d.ts +3 -37
  149. package/objects/types.d.ts +0 -6
  150. package/package.json +3 -3
  151. package/public/hooks/index.d.ts +1 -1
  152. package/public/hooks/index.js +1 -1
  153. package/public/hooks/invalidation.d.ts +77 -53
  154. package/public/hooks/invalidation.js +201 -137
  155. package/public/hooks/mutation-keys.d.ts +180 -122
  156. package/public/hooks/mutation-keys.js +132 -89
  157. package/public/hooks/mutations/index.d.ts +50 -33
  158. package/public/hooks/mutations/index.js +50 -33
  159. package/public/hooks/mutations/useAcceptDatabaseTransferMutation.d.ts +20 -0
  160. package/public/hooks/mutations/useAcceptDatabaseTransferMutation.js +26 -0
  161. package/public/hooks/mutations/useCancelDatabaseTransferMutation.d.ts +20 -0
  162. package/public/hooks/mutations/useCancelDatabaseTransferMutation.js +26 -0
  163. package/public/hooks/mutations/useConstructBlueprintMutation.d.ts +20 -0
  164. package/public/hooks/mutations/useConstructBlueprintMutation.js +26 -0
  165. package/public/hooks/mutations/useCopyTemplateToBlueprintMutation.d.ts +20 -0
  166. package/public/hooks/mutations/useCopyTemplateToBlueprintMutation.js +26 -0
  167. package/public/hooks/mutations/useCreateBlueprintMutation.d.ts +34 -0
  168. package/public/hooks/mutations/useCreateBlueprintMutation.js +34 -0
  169. package/public/hooks/mutations/useCreateBlueprintTemplateMutation.d.ts +34 -0
  170. package/public/hooks/mutations/useCreateBlueprintTemplateMutation.js +34 -0
  171. package/public/hooks/mutations/useCreateDatabaseTransferMutation.d.ts +34 -0
  172. package/public/hooks/mutations/useCreateDatabaseTransferMutation.js +34 -0
  173. package/public/hooks/mutations/useCreateEmbeddingChunkMutation.d.ts +34 -0
  174. package/public/hooks/mutations/useCreateEmbeddingChunkMutation.js +34 -0
  175. package/public/hooks/mutations/useCreateEnumMutation.d.ts +34 -0
  176. package/public/hooks/mutations/{useCreateUuidModuleMutation.js → useCreateEnumMutation.js} +6 -6
  177. package/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +38 -0
  178. package/public/hooks/mutations/useDeleteBlueprintMutation.js +39 -0
  179. package/public/hooks/mutations/useDeleteBlueprintTemplateMutation.d.ts +38 -0
  180. package/public/hooks/mutations/useDeleteBlueprintTemplateMutation.js +39 -0
  181. package/public/hooks/mutations/useDeleteDatabaseTransferMutation.d.ts +38 -0
  182. package/public/hooks/mutations/useDeleteDatabaseTransferMutation.js +39 -0
  183. package/public/hooks/mutations/useDeleteEmbeddingChunkMutation.d.ts +38 -0
  184. package/public/hooks/mutations/useDeleteEmbeddingChunkMutation.js +39 -0
  185. package/public/hooks/mutations/useDeleteEnumMutation.d.ts +38 -0
  186. package/public/hooks/mutations/{useDeleteUuidModuleMutation.js → useDeleteEnumMutation.js} +7 -7
  187. package/public/hooks/mutations/useRejectDatabaseTransferMutation.d.ts +20 -0
  188. package/public/hooks/mutations/useRejectDatabaseTransferMutation.js +26 -0
  189. package/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +40 -0
  190. package/public/hooks/mutations/useUpdateBlueprintMutation.js +40 -0
  191. package/public/hooks/mutations/useUpdateBlueprintTemplateMutation.d.ts +40 -0
  192. package/public/hooks/mutations/useUpdateBlueprintTemplateMutation.js +40 -0
  193. package/public/hooks/mutations/useUpdateDatabaseTransferMutation.d.ts +40 -0
  194. package/public/hooks/mutations/useUpdateDatabaseTransferMutation.js +40 -0
  195. package/public/hooks/mutations/useUpdateEmbeddingChunkMutation.d.ts +40 -0
  196. package/public/hooks/mutations/useUpdateEmbeddingChunkMutation.js +40 -0
  197. package/public/hooks/mutations/useUpdateEnumMutation.d.ts +40 -0
  198. package/public/hooks/mutations/{useUpdateUuidModuleMutation.js → useUpdateEnumMutation.js} +9 -9
  199. package/public/hooks/queries/index.d.ts +25 -17
  200. package/public/hooks/queries/index.js +25 -17
  201. package/public/hooks/queries/useBlueprintQuery.d.ts +65 -0
  202. package/public/hooks/queries/useBlueprintQuery.js +53 -0
  203. package/public/hooks/queries/useBlueprintTemplateQuery.d.ts +65 -0
  204. package/public/hooks/queries/useBlueprintTemplateQuery.js +53 -0
  205. package/public/hooks/queries/useBlueprintTemplatesQuery.d.ts +69 -0
  206. package/public/hooks/queries/useBlueprintTemplatesQuery.js +38 -0
  207. package/public/hooks/queries/useBlueprintsQuery.d.ts +69 -0
  208. package/public/hooks/queries/useBlueprintsQuery.js +38 -0
  209. package/public/hooks/queries/useDatabaseTransferQuery.d.ts +65 -0
  210. package/public/hooks/queries/useDatabaseTransferQuery.js +53 -0
  211. package/public/hooks/queries/useDatabaseTransfersQuery.d.ts +69 -0
  212. package/public/hooks/queries/useDatabaseTransfersQuery.js +38 -0
  213. package/public/hooks/queries/useEmbeddingChunkQuery.d.ts +65 -0
  214. package/public/hooks/queries/useEmbeddingChunkQuery.js +53 -0
  215. package/public/hooks/queries/useEmbeddingChunksQuery.d.ts +69 -0
  216. package/public/hooks/queries/useEmbeddingChunksQuery.js +38 -0
  217. package/public/hooks/queries/useEnumQuery.d.ts +65 -0
  218. package/public/hooks/queries/{useUuidModuleQuery.js → useEnumQuery.js} +14 -14
  219. package/public/hooks/queries/useEnumsQuery.d.ts +69 -0
  220. package/public/hooks/queries/{useUuidModulesQuery.js → useEnumsQuery.js} +14 -14
  221. package/public/hooks/query-keys.d.ts +180 -124
  222. package/public/hooks/query-keys.js +106 -74
  223. package/public/orm/index.d.ts +81 -48
  224. package/public/orm/index.js +26 -18
  225. package/public/orm/input-types.d.ts +2447 -2980
  226. package/public/orm/input-types.js +26 -1
  227. package/public/orm/models/blueprint.d.ts +56 -0
  228. package/public/orm/models/blueprint.js +98 -0
  229. package/public/orm/models/blueprintTemplate.d.ts +56 -0
  230. package/public/orm/models/blueprintTemplate.js +98 -0
  231. package/public/orm/models/databaseTransfer.d.ts +56 -0
  232. package/public/orm/models/databaseTransfer.js +98 -0
  233. package/public/orm/models/embeddingChunk.d.ts +56 -0
  234. package/public/orm/models/embeddingChunk.js +98 -0
  235. package/public/orm/models/enum.d.ts +56 -0
  236. package/public/orm/models/{uuidModule.js → enum.js} +25 -25
  237. package/public/orm/models/index.d.ts +13 -9
  238. package/public/orm/models/index.js +29 -21
  239. package/public/orm/mutation/index.d.ts +98 -50
  240. package/public/orm/mutation/index.js +126 -66
  241. package/public/schema-types.d.ts +2328 -2206
  242. package/public/types.d.ts +161 -379
  243. package/esm/public/hooks/mutations/useCreateUuidModuleMutation.d.ts +0 -34
  244. package/esm/public/hooks/mutations/useDeleteUuidModuleMutation.d.ts +0 -38
  245. package/esm/public/hooks/mutations/useUpdateUuidModuleMutation.d.ts +0 -40
  246. package/esm/public/hooks/queries/useUuidModuleQuery.d.ts +0 -65
  247. package/esm/public/hooks/queries/useUuidModulesQuery.d.ts +0 -69
  248. package/esm/public/orm/models/uuidModule.d.ts +0 -56
  249. package/public/hooks/mutations/useCreateUuidModuleMutation.d.ts +0 -34
  250. package/public/hooks/mutations/useDeleteUuidModuleMutation.d.ts +0 -38
  251. package/public/hooks/mutations/useUpdateUuidModuleMutation.d.ts +0 -40
  252. package/public/hooks/queries/useUuidModuleQuery.d.ts +0 -65
  253. package/public/hooks/queries/useUuidModulesQuery.d.ts +0 -69
  254. package/public/orm/models/uuidModule.d.ts +0 -56
@@ -11,27 +11,27 @@ export type OrgMemberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
11
11
  /** Methods to use when ordering `AppPermissionDefault`. */
12
12
  export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC';
13
13
  /** Methods to use when ordering `OrgPermissionDefault`. */
14
- export type OrgPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC';
14
+ export type OrgPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
15
15
  /** Methods to use when ordering `AppAdminGrant`. */
16
- export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
16
+ export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
17
17
  /** Methods to use when ordering `AppOwnerGrant`. */
18
- export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
18
+ export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
19
19
  /** Methods to use when ordering `OrgAdminGrant`. */
20
- export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
20
+ export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
21
21
  /** Methods to use when ordering `OrgOwnerGrant`. */
22
- export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
22
+ export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
23
23
  /** Methods to use when ordering `AppLimitDefault`. */
24
24
  export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
25
25
  /** Methods to use when ordering `OrgLimitDefault`. */
26
26
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
27
27
  /** Methods to use when ordering `OrgChartEdgeGrant`. */
28
- export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
28
+ export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC';
29
29
  /** Methods to use when ordering `MembershipType`. */
30
- export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'PREFIX_TRGM_SIMILARITY_ASC' | 'PREFIX_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
30
+ export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
31
31
  /** Methods to use when ordering `AppPermission`. */
32
- export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
32
+ export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC';
33
33
  /** Methods to use when ordering `OrgPermission`. */
34
- export type OrgPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
34
+ export type OrgPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC';
35
35
  /** Methods to use when ordering `AppLimit`. */
36
36
  export type AppLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
37
37
  /** Methods to use when ordering `AppAchievement`. */
@@ -41,31 +41,31 @@ export type AppStepOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'
41
41
  /** Methods to use when ordering `ClaimedInvite`. */
42
42
  export type ClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
43
43
  /** Methods to use when ordering `AppGrant`. */
44
- export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
44
+ export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
45
45
  /** Methods to use when ordering `AppMembershipDefault`. */
46
46
  export type AppMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
47
47
  /** Methods to use when ordering `OrgLimit`. */
48
48
  export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
49
49
  /** Methods to use when ordering `OrgClaimedInvite`. */
50
- export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
50
+ export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
51
51
  /** Methods to use when ordering `OrgGrant`. */
52
- export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
52
+ export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
53
53
  /** Methods to use when ordering `OrgChartEdge`. */
54
- export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
54
+ export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC';
55
55
  /** Methods to use when ordering `OrgMembershipDefault`. */
56
56
  export type OrgMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
57
57
  /** Methods to use when ordering `AppLevelRequirement`. */
58
- export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
58
+ export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
59
59
  /** Methods to use when ordering `AppMembership`. */
60
60
  export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
61
61
  /** Methods to use when ordering `OrgMembership`. */
62
62
  export type OrgMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
63
63
  /** Methods to use when ordering `Invite`. */
64
- export type InviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
64
+ export type InviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
65
65
  /** Methods to use when ordering `AppLevel`. */
66
- export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
66
+ export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
67
67
  /** Methods to use when ordering `OrgInvite`. */
68
- export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
68
+ export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
69
69
  /** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */
70
70
  export interface OrgMemberFilter {
71
71
  /** Filter by the object’s `id` field. */
@@ -214,13 +214,6 @@ export interface AppLimitDefaultFilter {
214
214
  /** Negates the expression. */
215
215
  not?: AppLimitDefaultFilter;
216
216
  }
217
- /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
218
- export interface TrgmSearchInput {
219
- /** The text to fuzzy-match against. Typos and misspellings are tolerated. */
220
- value: string;
221
- /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
222
- threshold?: number;
223
- }
224
217
  /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */
225
218
  export interface OrgLimitDefaultFilter {
226
219
  /** Filter by the object’s `id` field. */
@@ -262,15 +255,6 @@ export interface OrgChartEdgeGrantFilter {
262
255
  or?: OrgChartEdgeGrantFilter[];
263
256
  /** Negates the expression. */
264
257
  not?: OrgChartEdgeGrantFilter;
265
- /** TRGM search on the `position_title` column. */
266
- trgmPositionTitle?: TrgmSearchInput;
267
- /**
268
- * Composite full-text search. Provide a search string and it will be dispatched
269
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
270
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
271
- * fields are populated.
272
- */
273
- fullTextSearch?: string;
274
258
  }
275
259
  /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
276
260
  export interface MembershipTypeFilter {
@@ -288,17 +272,6 @@ export interface MembershipTypeFilter {
288
272
  or?: MembershipTypeFilter[];
289
273
  /** Negates the expression. */
290
274
  not?: MembershipTypeFilter;
291
- /** TRGM search on the `description` column. */
292
- trgmDescription?: TrgmSearchInput;
293
- /** TRGM search on the `prefix` column. */
294
- trgmPrefix?: TrgmSearchInput;
295
- /**
296
- * Composite full-text search. Provide a search string and it will be dispatched
297
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
298
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
299
- * fields are populated.
300
- */
301
- fullTextSearch?: string;
302
275
  }
303
276
  /** A filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ */
304
277
  export interface AppPermissionFilter {
@@ -318,15 +291,6 @@ export interface AppPermissionFilter {
318
291
  or?: AppPermissionFilter[];
319
292
  /** Negates the expression. */
320
293
  not?: AppPermissionFilter;
321
- /** TRGM search on the `description` column. */
322
- trgmDescription?: TrgmSearchInput;
323
- /**
324
- * Composite full-text search. Provide a search string and it will be dispatched
325
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
326
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
327
- * fields are populated.
328
- */
329
- fullTextSearch?: string;
330
294
  }
331
295
  /** A filter to be used against `OrgPermission` object types. All fields are combined with a logical ‘and.’ */
332
296
  export interface OrgPermissionFilter {
@@ -346,15 +310,6 @@ export interface OrgPermissionFilter {
346
310
  or?: OrgPermissionFilter[];
347
311
  /** Negates the expression. */
348
312
  not?: OrgPermissionFilter;
349
- /** TRGM search on the `description` column. */
350
- trgmDescription?: TrgmSearchInput;
351
- /**
352
- * Composite full-text search. Provide a search string and it will be dispatched
353
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
354
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
355
- * fields are populated.
356
- */
357
- fullTextSearch?: string;
358
313
  }
359
314
  /** A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ */
360
315
  export interface AppLimitFilter {
@@ -573,15 +528,6 @@ export interface OrgChartEdgeFilter {
573
528
  or?: OrgChartEdgeFilter[];
574
529
  /** Negates the expression. */
575
530
  not?: OrgChartEdgeFilter;
576
- /** TRGM search on the `position_title` column. */
577
- trgmPositionTitle?: TrgmSearchInput;
578
- /**
579
- * Composite full-text search. Provide a search string and it will be dispatched
580
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
581
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
582
- * fields are populated.
583
- */
584
- fullTextSearch?: string;
585
531
  }
586
532
  /** A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ */
587
533
  export interface OrgMembershipDefaultFilter {
@@ -634,15 +580,6 @@ export interface AppLevelRequirementFilter {
634
580
  or?: AppLevelRequirementFilter[];
635
581
  /** Negates the expression. */
636
582
  not?: AppLevelRequirementFilter;
637
- /** TRGM search on the `description` column. */
638
- trgmDescription?: TrgmSearchInput;
639
- /**
640
- * Composite full-text search. Provide a search string and it will be dispatched
641
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
642
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
643
- * fields are populated.
644
- */
645
- fullTextSearch?: string;
646
583
  }
647
584
  /** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */
648
585
  export interface AppMembershipFilter {
@@ -756,15 +693,6 @@ export interface InviteFilter {
756
693
  or?: InviteFilter[];
757
694
  /** Negates the expression. */
758
695
  not?: InviteFilter;
759
- /** TRGM search on the `invite_token` column. */
760
- trgmInviteToken?: TrgmSearchInput;
761
- /**
762
- * Composite full-text search. Provide a search string and it will be dispatched
763
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
764
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
765
- * fields are populated.
766
- */
767
- fullTextSearch?: string;
768
696
  }
769
697
  /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
770
698
  export interface ConstructiveInternalTypeEmailFilter {
@@ -865,15 +793,6 @@ export interface AppLevelFilter {
865
793
  or?: AppLevelFilter[];
866
794
  /** Negates the expression. */
867
795
  not?: AppLevelFilter;
868
- /** TRGM search on the `description` column. */
869
- trgmDescription?: TrgmSearchInput;
870
- /**
871
- * Composite full-text search. Provide a search string and it will be dispatched
872
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
873
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
874
- * fields are populated.
875
- */
876
- fullTextSearch?: string;
877
796
  }
878
797
  /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
879
798
  export interface ConstructiveInternalTypeImageFilter {
@@ -944,15 +863,6 @@ export interface OrgInviteFilter {
944
863
  or?: OrgInviteFilter[];
945
864
  /** Negates the expression. */
946
865
  not?: OrgInviteFilter;
947
- /** TRGM search on the `invite_token` column. */
948
- trgmInviteToken?: TrgmSearchInput;
949
- /**
950
- * Composite full-text search. Provide a search string and it will be dispatched
951
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
952
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
953
- * fields are populated.
954
- */
955
- fullTextSearch?: string;
956
866
  }
957
867
  export interface SubmitInviteCodeInput {
958
868
  clientMutationId?: string;
@@ -1109,8 +1019,8 @@ export interface OrgChartEdgeGrantInput {
1109
1019
  childId: string;
1110
1020
  /** User ID of the manager being assigned; NULL for top-level positions */
1111
1021
  parentId?: string;
1112
- /** User ID of the admin who performed this grant or revocation */
1113
- grantorId: string;
1022
+ /** User ID of the admin who performed this grant or revocation; NULL if grantor was deleted */
1023
+ grantorId?: string;
1114
1024
  /** TRUE to add/update the edge, FALSE to remove it */
1115
1025
  isGrant?: boolean;
1116
1026
  /** Job title or role name being assigned in this grant */
@@ -1695,7 +1605,7 @@ export interface OrgChartEdgeGrantPatch {
1695
1605
  childId?: string;
1696
1606
  /** User ID of the manager being assigned; NULL for top-level positions */
1697
1607
  parentId?: string;
1698
- /** User ID of the admin who performed this grant or revocation */
1608
+ /** User ID of the admin who performed this grant or revocation; NULL if grantor was deleted */
1699
1609
  grantorId?: string;
1700
1610
  /** TRUE to add/update the edge, FALSE to remove it */
1701
1611
  isGrant?: boolean;
package/admin/types.d.ts CHANGED
@@ -19,8 +19,6 @@ export interface AppPermission {
19
19
  bitnum: number | null;
20
20
  bitstr: string | null;
21
21
  description: string | null;
22
- descriptionTrgmSimilarity: number | null;
23
- searchScore: number | null;
24
22
  }
25
23
  export interface OrgPermission {
26
24
  id: string | null;
@@ -28,8 +26,6 @@ export interface OrgPermission {
28
26
  bitnum: number | null;
29
27
  bitstr: string | null;
30
28
  description: string | null;
31
- descriptionTrgmSimilarity: number | null;
32
- searchScore: number | null;
33
29
  }
34
30
  export interface AppLevelRequirement {
35
31
  id: string | null;
@@ -40,8 +36,6 @@ export interface AppLevelRequirement {
40
36
  priority: number | null;
41
37
  createdAt: string | null;
42
38
  updatedAt: string | null;
43
- descriptionTrgmSimilarity: number | null;
44
- searchScore: number | null;
45
39
  }
46
40
  export interface OrgMember {
47
41
  id: string | null;
@@ -112,17 +106,12 @@ export interface OrgChartEdgeGrant {
112
106
  positionTitle: string | null;
113
107
  positionLevel: number | null;
114
108
  createdAt: string | null;
115
- positionTitleTrgmSimilarity: number | null;
116
- searchScore: number | null;
117
109
  }
118
110
  export interface MembershipType {
119
111
  id: number | null;
120
112
  name: string | null;
121
113
  description: string | null;
122
114
  prefix: string | null;
123
- descriptionTrgmSimilarity: number | null;
124
- prefixTrgmSimilarity: number | null;
125
- searchScore: number | null;
126
115
  }
127
116
  export interface AppLimit {
128
117
  id: string | null;
@@ -209,8 +198,6 @@ export interface OrgChartEdge {
209
198
  parentId: string | null;
210
199
  positionTitle: string | null;
211
200
  positionLevel: number | null;
212
- positionTitleTrgmSimilarity: number | null;
213
- searchScore: number | null;
214
201
  }
215
202
  export interface OrgMembershipDefault {
216
203
  id: string | null;
@@ -272,8 +259,6 @@ export interface Invite {
272
259
  expiresAt: string | null;
273
260
  createdAt: string | null;
274
261
  updatedAt: string | null;
275
- inviteTokenTrgmSimilarity: number | null;
276
- searchScore: number | null;
277
262
  }
278
263
  export interface AppLevel {
279
264
  id: string | null;
@@ -283,8 +268,6 @@ export interface AppLevel {
283
268
  ownerId: string | null;
284
269
  createdAt: string | null;
285
270
  updatedAt: string | null;
286
- descriptionTrgmSimilarity: number | null;
287
- searchScore: number | null;
288
271
  }
289
272
  export interface OrgInvite {
290
273
  id: string | null;
@@ -301,8 +284,6 @@ export interface OrgInvite {
301
284
  createdAt: string | null;
302
285
  updatedAt: string | null;
303
286
  entityId: string | null;
304
- inviteTokenTrgmSimilarity: number | null;
305
- searchScore: number | null;
306
287
  }
307
288
  export interface StringFilter {
308
289
  isNull?: boolean;
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: CryptoAddress, RoleType, PhoneNumber, ConnectedAccount, AuditLog, Email, User
5
+ * Tables: Email, PhoneNumber, CryptoAddress, ConnectedAccount, AuditLog, RoleType, User
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  * GraphQL SDK
19
19
  * @generated by @constructive-io/graphql-codegen
20
20
  *
21
- * Tables: CryptoAddress, RoleType, PhoneNumber, ConnectedAccount, AuditLog, Email, User
21
+ * Tables: Email, PhoneNumber, CryptoAddress, ConnectedAccount, AuditLog, RoleType, User
22
22
  *
23
23
  * Usage:
24
24
  *
@@ -24,21 +24,21 @@ import type { QueryClient } from '@tanstack/react-query';
24
24
  * ```
25
25
  */
26
26
  export declare const invalidate: {
27
- /** Invalidate cryptoAddress queries */ readonly cryptoAddress: {
28
- /** Invalidate all cryptoAddress queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
29
- /** Invalidate cryptoAddress list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
30
- /** Invalidate a specific cryptoAddress */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
31
- };
32
- /** Invalidate roleType queries */ readonly roleType: {
33
- /** Invalidate all roleType queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
34
- /** Invalidate roleType list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
35
- /** Invalidate a specific roleType */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
27
+ /** Invalidate email queries */ readonly email: {
28
+ /** Invalidate all email queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
29
+ /** Invalidate email list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
30
+ /** Invalidate a specific email */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
36
31
  };
37
32
  /** Invalidate phoneNumber queries */ readonly phoneNumber: {
38
33
  /** Invalidate all phoneNumber queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
39
34
  /** Invalidate phoneNumber list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
40
35
  /** Invalidate a specific phoneNumber */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
41
36
  };
37
+ /** Invalidate cryptoAddress queries */ readonly cryptoAddress: {
38
+ /** Invalidate all cryptoAddress queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
39
+ /** Invalidate cryptoAddress list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
40
+ /** Invalidate a specific cryptoAddress */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
41
+ };
42
42
  /** Invalidate connectedAccount queries */ readonly connectedAccount: {
43
43
  /** Invalidate all connectedAccount queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
44
44
  /** Invalidate connectedAccount list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -49,10 +49,10 @@ export declare const invalidate: {
49
49
  /** Invalidate auditLog list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
50
50
  /** Invalidate a specific auditLog */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
51
51
  };
52
- /** Invalidate email queries */ readonly email: {
53
- /** Invalidate all email queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
54
- /** Invalidate email list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
55
- /** Invalidate a specific email */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
52
+ /** Invalidate roleType queries */ readonly roleType: {
53
+ /** Invalidate all roleType queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
54
+ /** Invalidate roleType list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
55
+ /** Invalidate a specific roleType */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
56
56
  };
57
57
  /** Invalidate user queries */ readonly user: {
58
58
  /** Invalidate all user queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
@@ -72,11 +72,11 @@ export declare const invalidate: {
72
72
  * instead of just invalidating (which would trigger a refetch).
73
73
  */
74
74
  export declare const remove: {
75
- /** Remove cryptoAddress from cache */ readonly cryptoAddress: (queryClient: QueryClient, id: string | number) => void;
76
- /** Remove roleType from cache */ readonly roleType: (queryClient: QueryClient, id: string | number) => void;
75
+ /** Remove email from cache */ readonly email: (queryClient: QueryClient, id: string | number) => void;
77
76
  /** Remove phoneNumber from cache */ readonly phoneNumber: (queryClient: QueryClient, id: string | number) => void;
77
+ /** Remove cryptoAddress from cache */ readonly cryptoAddress: (queryClient: QueryClient, id: string | number) => void;
78
78
  /** Remove connectedAccount from cache */ readonly connectedAccount: (queryClient: QueryClient, id: string | number) => void;
79
79
  /** Remove auditLog from cache */ readonly auditLog: (queryClient: QueryClient, id: string | number) => void;
80
- /** Remove email from cache */ readonly email: (queryClient: QueryClient, id: string | number) => void;
80
+ /** Remove roleType from cache */ readonly roleType: (queryClient: QueryClient, id: string | number) => void;
81
81
  /** Remove user from cache */ readonly user: (queryClient: QueryClient, id: string | number) => void;
82
82
  };
@@ -27,26 +27,15 @@ const query_keys_1 = require("./query-keys");
27
27
  * ```
28
28
  */
29
29
  exports.invalidate = {
30
- /** Invalidate cryptoAddress queries */ cryptoAddress: {
31
- /** Invalidate all cryptoAddress queries */ all: (queryClient) => queryClient.invalidateQueries({
32
- queryKey: query_keys_1.cryptoAddressKeys.all,
33
- }),
34
- /** Invalidate cryptoAddress list queries */ lists: (queryClient) => queryClient.invalidateQueries({
35
- queryKey: query_keys_1.cryptoAddressKeys.lists(),
36
- }),
37
- /** Invalidate a specific cryptoAddress */ detail: (queryClient, id) => queryClient.invalidateQueries({
38
- queryKey: query_keys_1.cryptoAddressKeys.detail(id),
39
- }),
40
- },
41
- /** Invalidate roleType queries */ roleType: {
42
- /** Invalidate all roleType queries */ all: (queryClient) => queryClient.invalidateQueries({
43
- queryKey: query_keys_1.roleTypeKeys.all,
30
+ /** Invalidate email queries */ email: {
31
+ /** Invalidate all email queries */ all: (queryClient) => queryClient.invalidateQueries({
32
+ queryKey: query_keys_1.emailKeys.all,
44
33
  }),
45
- /** Invalidate roleType list queries */ lists: (queryClient) => queryClient.invalidateQueries({
46
- queryKey: query_keys_1.roleTypeKeys.lists(),
34
+ /** Invalidate email list queries */ lists: (queryClient) => queryClient.invalidateQueries({
35
+ queryKey: query_keys_1.emailKeys.lists(),
47
36
  }),
48
- /** Invalidate a specific roleType */ detail: (queryClient, id) => queryClient.invalidateQueries({
49
- queryKey: query_keys_1.roleTypeKeys.detail(id),
37
+ /** Invalidate a specific email */ detail: (queryClient, id) => queryClient.invalidateQueries({
38
+ queryKey: query_keys_1.emailKeys.detail(id),
50
39
  }),
51
40
  },
52
41
  /** Invalidate phoneNumber queries */ phoneNumber: {
@@ -60,6 +49,17 @@ exports.invalidate = {
60
49
  queryKey: query_keys_1.phoneNumberKeys.detail(id),
61
50
  }),
62
51
  },
52
+ /** Invalidate cryptoAddress queries */ cryptoAddress: {
53
+ /** Invalidate all cryptoAddress queries */ all: (queryClient) => queryClient.invalidateQueries({
54
+ queryKey: query_keys_1.cryptoAddressKeys.all,
55
+ }),
56
+ /** Invalidate cryptoAddress list queries */ lists: (queryClient) => queryClient.invalidateQueries({
57
+ queryKey: query_keys_1.cryptoAddressKeys.lists(),
58
+ }),
59
+ /** Invalidate a specific cryptoAddress */ detail: (queryClient, id) => queryClient.invalidateQueries({
60
+ queryKey: query_keys_1.cryptoAddressKeys.detail(id),
61
+ }),
62
+ },
63
63
  /** Invalidate connectedAccount queries */ connectedAccount: {
64
64
  /** Invalidate all connectedAccount queries */ all: (queryClient) => queryClient.invalidateQueries({
65
65
  queryKey: query_keys_1.connectedAccountKeys.all,
@@ -82,15 +82,15 @@ exports.invalidate = {
82
82
  queryKey: query_keys_1.auditLogKeys.detail(id),
83
83
  }),
84
84
  },
85
- /** Invalidate email queries */ email: {
86
- /** Invalidate all email queries */ all: (queryClient) => queryClient.invalidateQueries({
87
- queryKey: query_keys_1.emailKeys.all,
85
+ /** Invalidate roleType queries */ roleType: {
86
+ /** Invalidate all roleType queries */ all: (queryClient) => queryClient.invalidateQueries({
87
+ queryKey: query_keys_1.roleTypeKeys.all,
88
88
  }),
89
- /** Invalidate email list queries */ lists: (queryClient) => queryClient.invalidateQueries({
90
- queryKey: query_keys_1.emailKeys.lists(),
89
+ /** Invalidate roleType list queries */ lists: (queryClient) => queryClient.invalidateQueries({
90
+ queryKey: query_keys_1.roleTypeKeys.lists(),
91
91
  }),
92
- /** Invalidate a specific email */ detail: (queryClient, id) => queryClient.invalidateQueries({
93
- queryKey: query_keys_1.emailKeys.detail(id),
92
+ /** Invalidate a specific roleType */ detail: (queryClient, id) => queryClient.invalidateQueries({
93
+ queryKey: query_keys_1.roleTypeKeys.detail(id),
94
94
  }),
95
95
  },
96
96
  /** Invalidate user queries */ user: {
@@ -117,19 +117,19 @@ exports.invalidate = {
117
117
  * instead of just invalidating (which would trigger a refetch).
118
118
  */
119
119
  exports.remove = {
120
- /** Remove cryptoAddress from cache */ cryptoAddress: (queryClient, id) => {
120
+ /** Remove email from cache */ email: (queryClient, id) => {
121
121
  queryClient.removeQueries({
122
- queryKey: query_keys_1.cryptoAddressKeys.detail(id),
122
+ queryKey: query_keys_1.emailKeys.detail(id),
123
123
  });
124
124
  },
125
- /** Remove roleType from cache */ roleType: (queryClient, id) => {
125
+ /** Remove phoneNumber from cache */ phoneNumber: (queryClient, id) => {
126
126
  queryClient.removeQueries({
127
- queryKey: query_keys_1.roleTypeKeys.detail(id),
127
+ queryKey: query_keys_1.phoneNumberKeys.detail(id),
128
128
  });
129
129
  },
130
- /** Remove phoneNumber from cache */ phoneNumber: (queryClient, id) => {
130
+ /** Remove cryptoAddress from cache */ cryptoAddress: (queryClient, id) => {
131
131
  queryClient.removeQueries({
132
- queryKey: query_keys_1.phoneNumberKeys.detail(id),
132
+ queryKey: query_keys_1.cryptoAddressKeys.detail(id),
133
133
  });
134
134
  },
135
135
  /** Remove connectedAccount from cache */ connectedAccount: (queryClient, id) => {
@@ -142,9 +142,9 @@ exports.remove = {
142
142
  queryKey: query_keys_1.auditLogKeys.detail(id),
143
143
  });
144
144
  },
145
- /** Remove email from cache */ email: (queryClient, id) => {
145
+ /** Remove roleType from cache */ roleType: (queryClient, id) => {
146
146
  queryClient.removeQueries({
147
- queryKey: query_keys_1.emailKeys.detail(id),
147
+ queryKey: query_keys_1.roleTypeKeys.detail(id),
148
148
  });
149
149
  },
150
150
  /** Remove user from cache */ user: (queryClient, id) => {