@constructive-io/react 1.9.2 → 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) 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 +24 -0
  4. package/admin/hooks/invalidation.js +64 -0
  5. package/admin/hooks/mutation-keys.d.ts +48 -0
  6. package/admin/hooks/mutation-keys.js +32 -1
  7. package/admin/hooks/mutations/index.d.ts +8 -0
  8. package/admin/hooks/mutations/index.js +8 -0
  9. package/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
  10. package/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js} +6 -6
  11. package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
  12. package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.js +34 -0
  13. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
  14. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +34 -0
  15. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
  16. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +34 -0
  17. package/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
  18. package/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +7 -7
  19. package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
  20. package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +39 -0
  21. package/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
  22. package/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +9 -9
  23. package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
  24. package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +40 -0
  25. package/admin/hooks/queries/index.d.ts +7 -0
  26. package/admin/hooks/queries/index.js +7 -0
  27. package/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
  28. package/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +14 -14
  29. package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
  30. package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.js +38 -0
  31. package/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
  32. package/admin/hooks/queries/useOrgChartEdgeQuery.js +53 -0
  33. package/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
  34. package/admin/hooks/queries/useOrgChartEdgesQuery.js +38 -0
  35. package/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
  36. package/admin/hooks/queries/useOrgGetManagersQuery.js +38 -0
  37. package/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
  38. package/admin/hooks/queries/useOrgGetSubordinatesQuery.js +38 -0
  39. package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
  40. package/admin/hooks/queries/useOrgIsManagerOfQuery.js +53 -0
  41. package/admin/hooks/query-keys.d.ts +58 -0
  42. package/admin/hooks/query-keys.js +34 -1
  43. package/admin/orm/index.d.ts +13 -0
  44. package/admin/orm/index.js +8 -0
  45. package/admin/orm/input-types.d.ts +399 -0
  46. package/admin/orm/models/index.d.ts +4 -0
  47. package/admin/orm/models/index.js +9 -1
  48. package/admin/orm/models/orgChartEdge.d.ts +54 -0
  49. package/admin/orm/models/orgChartEdge.js +104 -0
  50. package/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  51. package/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +27 -27
  52. package/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  53. package/admin/orm/models/orgGetManagersRecord.js +59 -0
  54. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  55. package/admin/orm/models/orgGetSubordinatesRecord.js +59 -0
  56. package/admin/orm/query/index.d.ts +11 -0
  57. package/admin/orm/query/index.js +24 -0
  58. package/admin/schema-types.d.ts +247 -1
  59. package/admin/types.d.ts +29 -0
  60. package/api/hooks/index.d.ts +1 -1
  61. package/api/hooks/index.js +1 -1
  62. package/api/hooks/invalidation.d.ts +6 -12
  63. package/api/hooks/invalidation.js +16 -32
  64. package/api/hooks/mutation-keys.d.ts +12 -24
  65. package/api/hooks/mutation-keys.js +9 -16
  66. package/api/hooks/mutations/index.d.ts +3 -6
  67. package/api/hooks/mutations/index.js +3 -6
  68. package/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
  69. package/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +6 -6
  70. package/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
  71. package/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +7 -7
  72. package/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
  73. package/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +9 -9
  74. package/api/hooks/queries/index.d.ts +2 -4
  75. package/api/hooks/queries/index.js +2 -4
  76. package/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
  77. package/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +14 -14
  78. package/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
  79. package/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +14 -14
  80. package/api/hooks/query-keys.d.ts +14 -28
  81. package/api/hooks/query-keys.js +10 -18
  82. package/api/orm/index.d.ts +2 -4
  83. package/api/orm/index.js +2 -4
  84. package/api/orm/input-types.d.ts +378 -468
  85. package/api/orm/input-types.js +2 -2
  86. package/api/orm/models/domainType.d.ts +54 -0
  87. package/api/orm/models/{apiModule.js → domainType.js} +27 -27
  88. package/api/orm/models/index.d.ts +1 -2
  89. package/api/orm/models/index.js +4 -6
  90. package/api/schema-types.d.ts +157 -226
  91. package/api/types.d.ts +16 -17
  92. package/compute/orm/input-types.d.ts +42 -3
  93. package/compute/schema-types.d.ts +25 -3
  94. package/compute/types.d.ts +5 -0
  95. package/esm/admin/hooks/index.d.ts +1 -1
  96. package/esm/admin/hooks/index.js +1 -1
  97. package/esm/admin/hooks/invalidation.d.ts +24 -0
  98. package/esm/admin/hooks/invalidation.js +65 -1
  99. package/esm/admin/hooks/mutation-keys.d.ts +48 -0
  100. package/esm/admin/hooks/mutation-keys.js +31 -0
  101. package/esm/admin/hooks/mutations/index.d.ts +8 -0
  102. package/esm/admin/hooks/mutations/index.js +8 -0
  103. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
  104. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js +31 -0
  105. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
  106. package/esm/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeMutation.js} +7 -7
  107. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
  108. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +31 -0
  109. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
  110. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +31 -0
  111. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
  112. package/esm/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +8 -8
  113. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
  114. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +36 -0
  115. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
  116. package/esm/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +10 -10
  117. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
  118. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +37 -0
  119. package/esm/admin/hooks/queries/index.d.ts +7 -0
  120. package/esm/admin/hooks/queries/index.js +7 -0
  121. package/esm/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
  122. package/esm/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +11 -11
  123. package/esm/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
  124. package/esm/{api/hooks/queries/usePlatformApiModulesQuery.js → admin/hooks/queries/useOrgChartEdgeGrantsQuery.js} +11 -11
  125. package/esm/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
  126. package/esm/admin/hooks/queries/useOrgChartEdgeQuery.js +47 -0
  127. package/esm/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
  128. package/esm/admin/hooks/queries/useOrgChartEdgesQuery.js +32 -0
  129. package/esm/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
  130. package/esm/admin/hooks/queries/useOrgGetManagersQuery.js +32 -0
  131. package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
  132. package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.js +32 -0
  133. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
  134. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +47 -0
  135. package/esm/admin/hooks/query-keys.d.ts +58 -0
  136. package/esm/admin/hooks/query-keys.js +33 -0
  137. package/esm/admin/orm/index.d.ts +13 -0
  138. package/esm/admin/orm/index.js +8 -0
  139. package/esm/admin/orm/input-types.d.ts +399 -0
  140. package/esm/admin/orm/models/index.d.ts +4 -0
  141. package/esm/admin/orm/models/index.js +4 -0
  142. package/esm/admin/orm/models/orgChartEdge.d.ts +54 -0
  143. package/esm/admin/orm/models/orgChartEdge.js +100 -0
  144. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  145. package/esm/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +25 -25
  146. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  147. package/esm/admin/orm/models/orgGetManagersRecord.js +55 -0
  148. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  149. package/esm/admin/orm/models/orgGetSubordinatesRecord.js +55 -0
  150. package/esm/admin/orm/query/index.d.ts +11 -0
  151. package/esm/admin/orm/query/index.js +24 -0
  152. package/esm/admin/schema-types.d.ts +247 -1
  153. package/esm/admin/types.d.ts +29 -0
  154. package/esm/api/hooks/index.d.ts +1 -1
  155. package/esm/api/hooks/index.js +1 -1
  156. package/esm/api/hooks/invalidation.d.ts +6 -12
  157. package/esm/api/hooks/invalidation.js +17 -33
  158. package/esm/api/hooks/mutation-keys.d.ts +12 -24
  159. package/esm/api/hooks/mutation-keys.js +7 -14
  160. package/esm/api/hooks/mutations/index.d.ts +3 -6
  161. package/esm/api/hooks/mutations/index.js +3 -6
  162. package/esm/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
  163. package/esm/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +7 -7
  164. package/esm/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
  165. package/esm/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +8 -8
  166. package/esm/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
  167. package/esm/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +10 -10
  168. package/esm/api/hooks/queries/index.d.ts +2 -4
  169. package/esm/api/hooks/queries/index.js +2 -4
  170. package/esm/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
  171. package/esm/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +11 -11
  172. package/esm/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
  173. package/esm/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +11 -11
  174. package/esm/api/hooks/query-keys.d.ts +14 -28
  175. package/esm/api/hooks/query-keys.js +8 -16
  176. package/esm/api/orm/index.d.ts +2 -4
  177. package/esm/api/orm/index.js +2 -4
  178. package/esm/api/orm/input-types.d.ts +378 -468
  179. package/esm/api/orm/input-types.js +2 -2
  180. package/esm/api/orm/models/domainType.d.ts +54 -0
  181. package/esm/api/orm/models/{apiModule.js → domainType.js} +25 -25
  182. package/esm/api/orm/models/index.d.ts +1 -2
  183. package/esm/api/orm/models/index.js +1 -2
  184. package/esm/api/schema-types.d.ts +157 -226
  185. package/esm/api/types.d.ts +16 -17
  186. package/esm/compute/orm/input-types.d.ts +42 -3
  187. package/esm/compute/schema-types.d.ts +25 -3
  188. package/esm/compute/types.d.ts +5 -0
  189. package/esm/modules/orm/input-types.d.ts +9 -16
  190. package/esm/modules/schema-types.d.ts +6 -10
  191. package/esm/modules/types.d.ts +1 -2
  192. package/modules/orm/input-types.d.ts +9 -16
  193. package/modules/schema-types.d.ts +6 -10
  194. package/modules/types.d.ts +1 -2
  195. package/package.json +5 -5
  196. package/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
  197. package/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
  198. package/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
  199. package/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
  200. package/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
  201. package/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
  202. package/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
  203. package/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
  204. package/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
  205. package/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
  206. package/api/hooks/queries/usePlatformApiModulesQuery.js +0 -38
  207. package/api/orm/models/apiModule.d.ts +0 -54
  208. package/api/orm/models/platformApiModule.d.ts +0 -54
  209. package/esm/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
  210. package/esm/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
  211. package/esm/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
  212. package/esm/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
  213. package/esm/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
  214. package/esm/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
  215. package/esm/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
  216. package/esm/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
  217. package/esm/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
  218. package/esm/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
  219. package/esm/api/orm/models/apiModule.d.ts +0 -54
  220. package/esm/api/orm/models/platformApiModule.d.ts +0 -54
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppPermissionDefaultGrant, AppPermissionDefaultPermission, MembershipType, OrgAdminGrant, OrgClaimedInvite, OrgGrant, OrgInvite, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, OrgPermissionDefaultGrant, OrgPermissionDefaultPermission, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
6
+ import type { AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppPermissionDefaultGrant, AppPermissionDefaultPermission, MembershipType, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, OrgPermissionDefaultGrant, OrgPermissionDefaultPermission, BitStringFilter, BooleanFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
7
7
  export type ConstructiveInternalTypeEmail = unknown;
8
8
  export type ConstructiveInternalTypeImage = unknown;
9
9
  /** Methods to use when ordering `AppAdminGrant`. */
@@ -32,6 +32,10 @@ export type AppPermissionOrderBy = 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' |
32
32
  export type MembershipTypeOrderBy = 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'HAS_USERS_TABLE_ENTRY_ASC' | 'HAS_USERS_TABLE_ENTRY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PARENT_MEMBERSHIP_TYPE_ASC' | 'PARENT_MEMBERSHIP_TYPE_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC';
33
33
  /** Methods to use when ordering `OrgAdminGrant`. */
34
34
  export type OrgAdminGrantOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
35
+ /** Methods to use when ordering `OrgChartEdgeGrant`. */
36
+ export type OrgChartEdgeGrantOrderBy = 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'NATURAL' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
37
+ /** Methods to use when ordering `OrgChartEdge`. */
38
+ export type OrgChartEdgeOrderBy = 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
35
39
  /** Methods to use when ordering `OrgClaimedInvite`. */
36
40
  export type OrgClaimedInviteOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
37
41
  /** Methods to use when ordering `OrgGrant`. */
@@ -821,6 +825,16 @@ export interface CreateOrgAdminGrantInput {
821
825
  /** The `OrgAdminGrant` to be created by this mutation. */
822
826
  orgAdminGrant: OrgAdminGrantInput;
823
827
  }
828
+ export interface CreateOrgChartEdgeGrantInput {
829
+ clientMutationId?: string;
830
+ /** The `OrgChartEdgeGrant` to be created by this mutation. */
831
+ orgChartEdgeGrant: OrgChartEdgeGrantInput;
832
+ }
833
+ export interface CreateOrgChartEdgeInput {
834
+ clientMutationId?: string;
835
+ /** The `OrgChartEdge` to be created by this mutation. */
836
+ orgChartEdge: OrgChartEdgeInput;
837
+ }
824
838
  export interface CreateOrgClaimedInviteInput {
825
839
  clientMutationId?: string;
826
840
  /** The `OrgClaimedInvite` to be created by this mutation. */
@@ -939,6 +953,14 @@ export interface DeleteOrgAdminGrantInput {
939
953
  clientMutationId?: string;
940
954
  id: string;
941
955
  }
956
+ export interface DeleteOrgChartEdgeGrantInput {
957
+ clientMutationId?: string;
958
+ id: string;
959
+ }
960
+ export interface DeleteOrgChartEdgeInput {
961
+ clientMutationId?: string;
962
+ id: string;
963
+ }
942
964
  export interface DeleteOrgClaimedInviteInput {
943
965
  clientMutationId?: string;
944
966
  id: string;
@@ -1091,6 +1113,130 @@ export interface OrgAdminGrantPatch {
1091
1113
  isGrant?: boolean;
1092
1114
  updatedAt?: string;
1093
1115
  }
1116
+ /** A filter to be used against `OrgChartEdge` object types. All fields are combined with a logical ‘and.’ */
1117
+ export interface OrgChartEdgeFilter {
1118
+ /** Checks for all expressions in this list. */
1119
+ and?: OrgChartEdgeFilter[];
1120
+ /** Filter by the object’s `childId` field. */
1121
+ childId?: UUIDFilter;
1122
+ /** Filter by the object’s `createdAt` field. */
1123
+ createdAt?: DatetimeFilter;
1124
+ /** Filter by the object’s `entityId` field. */
1125
+ entityId?: UUIDFilter;
1126
+ /** Filter by the object’s `id` field. */
1127
+ id?: UUIDFilter;
1128
+ /** Negates the expression. */
1129
+ not?: OrgChartEdgeFilter;
1130
+ /** Checks for any expressions in this list. */
1131
+ or?: OrgChartEdgeFilter[];
1132
+ /** Filter by the object’s `parentId` field. */
1133
+ parentId?: UUIDFilter;
1134
+ /** Filter by the object’s `positionLevel` field. */
1135
+ positionLevel?: IntFilter;
1136
+ /** Filter by the object’s `positionTitle` field. */
1137
+ positionTitle?: StringFilter;
1138
+ /** Filter by the object’s `updatedAt` field. */
1139
+ updatedAt?: DatetimeFilter;
1140
+ }
1141
+ /** A filter to be used against `OrgChartEdgeGrant` object types. All fields are combined with a logical ‘and.’ */
1142
+ export interface OrgChartEdgeGrantFilter {
1143
+ /** Checks for all expressions in this list. */
1144
+ and?: OrgChartEdgeGrantFilter[];
1145
+ /** Filter by the object’s `childId` field. */
1146
+ childId?: UUIDFilter;
1147
+ /** Filter by the object’s `createdAt` field. */
1148
+ createdAt?: DatetimeFilter;
1149
+ /** Filter by the object’s `entityId` field. */
1150
+ entityId?: UUIDFilter;
1151
+ /** Filter by the object’s `grantorId` field. */
1152
+ grantorId?: UUIDFilter;
1153
+ /** Filter by the object’s `id` field. */
1154
+ id?: UUIDFilter;
1155
+ /** Filter by the object’s `isGrant` field. */
1156
+ isGrant?: BooleanFilter;
1157
+ /** Negates the expression. */
1158
+ not?: OrgChartEdgeGrantFilter;
1159
+ /** Checks for any expressions in this list. */
1160
+ or?: OrgChartEdgeGrantFilter[];
1161
+ /** Filter by the object’s `parentId` field. */
1162
+ parentId?: UUIDFilter;
1163
+ /** Filter by the object’s `positionLevel` field. */
1164
+ positionLevel?: IntFilter;
1165
+ /** Filter by the object’s `positionTitle` field. */
1166
+ positionTitle?: StringFilter;
1167
+ }
1168
+ /** An input for mutations affecting `OrgChartEdgeGrant` */
1169
+ export interface OrgChartEdgeGrantInput {
1170
+ /** User ID of the subordinate being placed in the hierarchy */
1171
+ childId: string;
1172
+ /** Timestamp when this grant or revocation was recorded */
1173
+ createdAt?: string;
1174
+ /** Organization this grant applies to */
1175
+ entityId: string;
1176
+ /** User ID of the admin who performed this grant or revocation; NULL if grantor was deleted */
1177
+ grantorId?: string;
1178
+ id?: string;
1179
+ /** TRUE to add/update the edge, FALSE to remove it */
1180
+ isGrant?: boolean;
1181
+ /** User ID of the manager being assigned; NULL for top-level positions */
1182
+ parentId?: string;
1183
+ /** Numeric seniority level being assigned in this grant */
1184
+ positionLevel?: number;
1185
+ /** Job title or role name being assigned in this grant */
1186
+ positionTitle?: string;
1187
+ }
1188
+ /** Represents an update to a `OrgChartEdgeGrant`. Fields that are set will be updated. */
1189
+ export interface OrgChartEdgeGrantPatch {
1190
+ /** User ID of the subordinate being placed in the hierarchy */
1191
+ childId?: string;
1192
+ /** Timestamp when this grant or revocation was recorded */
1193
+ createdAt?: string;
1194
+ /** Organization this grant applies to */
1195
+ entityId?: string;
1196
+ /** User ID of the admin who performed this grant or revocation; NULL if grantor was deleted */
1197
+ grantorId?: string;
1198
+ id?: string;
1199
+ /** TRUE to add/update the edge, FALSE to remove it */
1200
+ isGrant?: boolean;
1201
+ /** User ID of the manager being assigned; NULL for top-level positions */
1202
+ parentId?: string;
1203
+ /** Numeric seniority level being assigned in this grant */
1204
+ positionLevel?: number;
1205
+ /** Job title or role name being assigned in this grant */
1206
+ positionTitle?: string;
1207
+ }
1208
+ /** An input for mutations affecting `OrgChartEdge` */
1209
+ export interface OrgChartEdgeInput {
1210
+ /** User ID of the subordinate (employee) in this reporting relationship */
1211
+ childId: string;
1212
+ createdAt?: string;
1213
+ /** Organization this hierarchy edge belongs to */
1214
+ entityId: string;
1215
+ id?: string;
1216
+ /** User ID of the manager; NULL indicates a top-level position with no direct report */
1217
+ parentId?: string;
1218
+ /** Numeric seniority level for this position (higher = more senior) */
1219
+ positionLevel?: number;
1220
+ /** Job title or role name for this position in the org chart */
1221
+ positionTitle?: string;
1222
+ updatedAt?: string;
1223
+ }
1224
+ /** Represents an update to a `OrgChartEdge`. Fields that are set will be updated. */
1225
+ export interface OrgChartEdgePatch {
1226
+ /** User ID of the subordinate (employee) in this reporting relationship */
1227
+ childId?: string;
1228
+ createdAt?: string;
1229
+ /** Organization this hierarchy edge belongs to */
1230
+ entityId?: string;
1231
+ id?: string;
1232
+ /** User ID of the manager; NULL indicates a top-level position with no direct report */
1233
+ parentId?: string;
1234
+ /** Numeric seniority level for this position (higher = more senior) */
1235
+ positionLevel?: number;
1236
+ /** Job title or role name for this position in the org chart */
1237
+ positionTitle?: string;
1238
+ updatedAt?: string;
1239
+ }
1094
1240
  /** A filter to be used against `OrgClaimedInvite` object types. All fields are combined with a logical ‘and.’ */
1095
1241
  export interface OrgClaimedInviteFilter {
1096
1242
  /** Checks for all expressions in this list. */
@@ -2010,6 +2156,18 @@ export interface UpdateOrgAdminGrantInput {
2010
2156
  /** An object where the defined keys will be set on the `OrgAdminGrant` being updated. */
2011
2157
  orgAdminGrantPatch: OrgAdminGrantPatch;
2012
2158
  }
2159
+ export interface UpdateOrgChartEdgeGrantInput {
2160
+ clientMutationId?: string;
2161
+ id: string;
2162
+ /** An object where the defined keys will be set on the `OrgChartEdgeGrant` being updated. */
2163
+ orgChartEdgeGrantPatch: OrgChartEdgeGrantPatch;
2164
+ }
2165
+ export interface UpdateOrgChartEdgeInput {
2166
+ clientMutationId?: string;
2167
+ id: string;
2168
+ /** An object where the defined keys will be set on the `OrgChartEdge` being updated. */
2169
+ orgChartEdgePatch: OrgChartEdgePatch;
2170
+ }
2013
2171
  export interface UpdateOrgClaimedInviteInput {
2014
2172
  clientMutationId?: string;
2015
2173
  id: string;
@@ -2183,6 +2341,20 @@ export interface OrgAdminGrantConnection {
2183
2341
  pageInfo: PageInfo;
2184
2342
  totalCount: number;
2185
2343
  }
2344
+ /** A connection to a list of `OrgChartEdgeGrant` values. */
2345
+ export interface OrgChartEdgeGrantConnection {
2346
+ edges: OrgChartEdgeGrantEdge[];
2347
+ nodes: OrgChartEdgeGrant[];
2348
+ pageInfo: PageInfo;
2349
+ totalCount: number;
2350
+ }
2351
+ /** A connection to a list of `OrgChartEdge` values. */
2352
+ export interface OrgChartEdgeConnection {
2353
+ edges: OrgChartEdgeEdge[];
2354
+ nodes: OrgChartEdge[];
2355
+ pageInfo: PageInfo;
2356
+ totalCount: number;
2357
+ }
2186
2358
  /** A connection to a list of `OrgClaimedInvite` values. */
2187
2359
  export interface OrgClaimedInviteConnection {
2188
2360
  edges: OrgClaimedInviteEdge[];
@@ -2190,6 +2362,20 @@ export interface OrgClaimedInviteConnection {
2190
2362
  pageInfo: PageInfo;
2191
2363
  totalCount: number;
2192
2364
  }
2365
+ /** A connection to a list of `OrgGetManagersRecord` values. */
2366
+ export interface OrgGetManagersConnection {
2367
+ edges: OrgGetManagersEdge[];
2368
+ nodes: OrgGetManagersRecord[];
2369
+ pageInfo: PageInfo;
2370
+ totalCount: number;
2371
+ }
2372
+ /** A connection to a list of `OrgGetSubordinatesRecord` values. */
2373
+ export interface OrgGetSubordinatesConnection {
2374
+ edges: OrgGetSubordinatesEdge[];
2375
+ nodes: OrgGetSubordinatesRecord[];
2376
+ pageInfo: PageInfo;
2377
+ totalCount: number;
2378
+ }
2193
2379
  /** A connection to a list of `OrgGrant` values. */
2194
2380
  export interface OrgGrantConnection {
2195
2381
  edges: OrgGrantEdge[];
@@ -2352,6 +2538,18 @@ export interface CreateOrgAdminGrantPayload {
2352
2538
  orgAdminGrant?: OrgAdminGrant | null;
2353
2539
  orgAdminGrantEdge?: OrgAdminGrantEdge | null;
2354
2540
  }
2541
+ export interface CreateOrgChartEdgePayload {
2542
+ clientMutationId?: string | null;
2543
+ /** The `OrgChartEdge` that was created by this mutation. */
2544
+ orgChartEdge?: OrgChartEdge | null;
2545
+ orgChartEdgeEdge?: OrgChartEdgeEdge | null;
2546
+ }
2547
+ export interface CreateOrgChartEdgeGrantPayload {
2548
+ clientMutationId?: string | null;
2549
+ /** The `OrgChartEdgeGrant` that was created by this mutation. */
2550
+ orgChartEdgeGrant?: OrgChartEdgeGrant | null;
2551
+ orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null;
2552
+ }
2355
2553
  export interface CreateOrgClaimedInvitePayload {
2356
2554
  clientMutationId?: string | null;
2357
2555
  /** The `OrgClaimedInvite` that was created by this mutation. */
@@ -2508,6 +2706,18 @@ export interface DeleteOrgAdminGrantPayload {
2508
2706
  orgAdminGrant?: OrgAdminGrant | null;
2509
2707
  orgAdminGrantEdge?: OrgAdminGrantEdge | null;
2510
2708
  }
2709
+ export interface DeleteOrgChartEdgePayload {
2710
+ clientMutationId?: string | null;
2711
+ /** The `OrgChartEdge` that was deleted by this mutation. */
2712
+ orgChartEdge?: OrgChartEdge | null;
2713
+ orgChartEdgeEdge?: OrgChartEdgeEdge | null;
2714
+ }
2715
+ export interface DeleteOrgChartEdgeGrantPayload {
2716
+ clientMutationId?: string | null;
2717
+ /** The `OrgChartEdgeGrant` that was deleted by this mutation. */
2718
+ orgChartEdgeGrant?: OrgChartEdgeGrant | null;
2719
+ orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null;
2720
+ }
2511
2721
  export interface DeleteOrgClaimedInvitePayload {
2512
2722
  clientMutationId?: string | null;
2513
2723
  /** The `OrgClaimedInvite` that was deleted by this mutation. */
@@ -2686,6 +2896,18 @@ export interface UpdateOrgAdminGrantPayload {
2686
2896
  orgAdminGrant?: OrgAdminGrant | null;
2687
2897
  orgAdminGrantEdge?: OrgAdminGrantEdge | null;
2688
2898
  }
2899
+ export interface UpdateOrgChartEdgePayload {
2900
+ clientMutationId?: string | null;
2901
+ /** The `OrgChartEdge` that was updated by this mutation. */
2902
+ orgChartEdge?: OrgChartEdge | null;
2903
+ orgChartEdgeEdge?: OrgChartEdgeEdge | null;
2904
+ }
2905
+ export interface UpdateOrgChartEdgeGrantPayload {
2906
+ clientMutationId?: string | null;
2907
+ /** The `OrgChartEdgeGrant` that was updated by this mutation. */
2908
+ orgChartEdgeGrant?: OrgChartEdgeGrant | null;
2909
+ orgChartEdgeGrantEdge?: OrgChartEdgeGrantEdge | null;
2910
+ }
2689
2911
  export interface UpdateOrgClaimedInvitePayload {
2690
2912
  clientMutationId?: string | null;
2691
2913
  /** The `OrgClaimedInvite` that was updated by this mutation. */
@@ -2877,12 +3099,36 @@ export interface OrgAdminGrantEdge {
2877
3099
  /** The `OrgAdminGrant` at the end of the edge. */
2878
3100
  node?: OrgAdminGrant | null;
2879
3101
  }
3102
+ /** A `OrgChartEdgeGrant` edge in the connection. */
3103
+ export interface OrgChartEdgeGrantEdge {
3104
+ cursor?: string | null;
3105
+ /** The `OrgChartEdgeGrant` at the end of the edge. */
3106
+ node?: OrgChartEdgeGrant | null;
3107
+ }
3108
+ /** A `OrgChartEdge` edge in the connection. */
3109
+ export interface OrgChartEdgeEdge {
3110
+ cursor?: string | null;
3111
+ /** The `OrgChartEdge` at the end of the edge. */
3112
+ node?: OrgChartEdge | null;
3113
+ }
2880
3114
  /** A `OrgClaimedInvite` edge in the connection. */
2881
3115
  export interface OrgClaimedInviteEdge {
2882
3116
  cursor?: string | null;
2883
3117
  /** The `OrgClaimedInvite` at the end of the edge. */
2884
3118
  node?: OrgClaimedInvite | null;
2885
3119
  }
3120
+ /** A `OrgGetManagersRecord` edge in the connection. */
3121
+ export interface OrgGetManagersEdge {
3122
+ cursor?: string | null;
3123
+ /** The `OrgGetManagersRecord` at the end of the edge. */
3124
+ node?: OrgGetManagersRecord | null;
3125
+ }
3126
+ /** A `OrgGetSubordinatesRecord` edge in the connection. */
3127
+ export interface OrgGetSubordinatesEdge {
3128
+ cursor?: string | null;
3129
+ /** The `OrgGetSubordinatesRecord` at the end of the edge. */
3130
+ node?: OrgGetSubordinatesRecord | null;
3131
+ }
2886
3132
  /** A `OrgGrant` edge in the connection. */
2887
3133
  export interface OrgGrantEdge {
2888
3134
  cursor?: string | null;
@@ -124,6 +124,27 @@ export interface OrgAdminGrant {
124
124
  isGrant: boolean | null;
125
125
  updatedAt: string | null;
126
126
  }
127
+ export interface OrgChartEdge {
128
+ childId: string | null;
129
+ createdAt: string | null;
130
+ entityId: string | null;
131
+ id: string | null;
132
+ parentId: string | null;
133
+ positionLevel: number | null;
134
+ positionTitle: string | null;
135
+ updatedAt: string | null;
136
+ }
137
+ export interface OrgChartEdgeGrant {
138
+ childId: string | null;
139
+ createdAt: string | null;
140
+ entityId: string | null;
141
+ grantorId: string | null;
142
+ id: string | null;
143
+ isGrant: boolean | null;
144
+ parentId: string | null;
145
+ positionLevel: number | null;
146
+ positionTitle: string | null;
147
+ }
127
148
  export interface OrgClaimedInvite {
128
149
  createdAt: string | null;
129
150
  data: unknown | null;
@@ -133,6 +154,14 @@ export interface OrgClaimedInvite {
133
154
  senderId: string | null;
134
155
  updatedAt: string | null;
135
156
  }
157
+ export interface OrgGetManagersRecord {
158
+ depth: number | null;
159
+ userId: string | null;
160
+ }
161
+ export interface OrgGetSubordinatesRecord {
162
+ depth: number | null;
163
+ userId: string | null;
164
+ }
136
165
  export interface OrgGrant {
137
166
  actorId: string | null;
138
167
  createdAt: string | null;
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: Api, ApiModule, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, DomainEvent, DomainVerification, EmbeddingChunk, Enum, ExclusionConstraint, Field, ForeignKeyConstraint, FullTextSearch, Function, HostnameBinding, HttpRoute, Index, ManagedDomain, NodeTypeRegistry, Partition, PlatformApi, PlatformApiModule, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformManagedDomain, PlatformSite, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteTheme, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, RouteBinding, Route, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
5
+ * Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, DomainEvent, DomainType, DomainVerification, EmbeddingChunk, Enum, ExclusionConstraint, Field, ForeignKeyConstraint, FullTextSearch, Function, HostnameBinding, HttpRoute, Index, ManagedDomain, NodeTypeRegistry, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformManagedDomain, PlatformSite, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteTheme, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, RouteBinding, Route, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: Api, ApiModule, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, DomainEvent, DomainVerification, EmbeddingChunk, Enum, ExclusionConstraint, Field, ForeignKeyConstraint, FullTextSearch, Function, HostnameBinding, HttpRoute, Index, ManagedDomain, NodeTypeRegistry, Partition, PlatformApi, PlatformApiModule, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformManagedDomain, PlatformSite, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteTheme, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, RouteBinding, Route, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
5
+ * Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, DomainEvent, DomainType, DomainVerification, EmbeddingChunk, Enum, ExclusionConstraint, Field, ForeignKeyConstraint, FullTextSearch, Function, HostnameBinding, HttpRoute, Index, ManagedDomain, NodeTypeRegistry, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformManagedDomain, PlatformSite, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteTheme, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, RouteBinding, Route, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -29,11 +29,6 @@ export declare const invalidate: {
29
29
  /** Invalidate api list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
30
30
  /** Invalidate a specific api */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
31
31
  };
32
- /** Invalidate apiModule queries */ readonly apiModule: {
33
- /** Invalidate all apiModule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
34
- /** Invalidate apiModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
35
- /** Invalidate a specific apiModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
36
- };
37
32
  /** Invalidate apiSchema queries */ readonly apiSchema: {
38
33
  /** Invalidate all apiSchema queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
39
34
  /** Invalidate apiSchema list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -94,6 +89,11 @@ export declare const invalidate: {
94
89
  /** Invalidate domainEvent list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
95
90
  /** Invalidate a specific domainEvent */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
96
91
  };
92
+ /** Invalidate domainType queries */ readonly domainType: {
93
+ /** Invalidate all domainType queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
94
+ /** Invalidate domainType list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
95
+ /** Invalidate a specific domainType */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
96
+ };
97
97
  /** Invalidate domainVerification queries */ readonly domainVerification: {
98
98
  /** Invalidate all domainVerification queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
99
99
  /** Invalidate domainVerification list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -169,11 +169,6 @@ export declare const invalidate: {
169
169
  /** Invalidate platformApi list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
170
170
  /** Invalidate a specific platformApi */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
171
171
  };
172
- /** Invalidate platformApiModule queries */ readonly platformApiModule: {
173
- /** Invalidate all platformApiModule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
174
- /** Invalidate platformApiModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
175
- /** Invalidate a specific platformApiModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
176
- };
177
172
  /** Invalidate platformApiSchema queries */ readonly platformApiSchema: {
178
173
  /** Invalidate all platformApiSchema queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
179
174
  /** Invalidate platformApiSchema list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -363,7 +358,6 @@ export declare const invalidate: {
363
358
  */
364
359
  export declare const remove: {
365
360
  /** Remove api from cache */ readonly api: (queryClient: QueryClient, id: string | number) => void;
366
- /** Remove apiModule from cache */ readonly apiModule: (queryClient: QueryClient, id: string | number) => void;
367
361
  /** Remove apiSchema from cache */ readonly apiSchema: (queryClient: QueryClient, id: string | number) => void;
368
362
  /** Remove apiSetting from cache */ readonly apiSetting: (queryClient: QueryClient, id: string | number) => void;
369
363
  /** Remove astMigration from cache */ readonly astMigration: (queryClient: QueryClient, id: string | number) => void;
@@ -376,6 +370,7 @@ export declare const remove: {
376
370
  /** Remove defaultPrivilege from cache */ readonly defaultPrivilege: (queryClient: QueryClient, id: string | number) => void;
377
371
  /** Remove domain from cache */ readonly domain: (queryClient: QueryClient, id: string | number) => void;
378
372
  /** Remove domainEvent from cache */ readonly domainEvent: (queryClient: QueryClient, id: string | number) => void;
373
+ /** Remove domainType from cache */ readonly domainType: (queryClient: QueryClient, id: string | number) => void;
379
374
  /** Remove domainVerification from cache */ readonly domainVerification: (queryClient: QueryClient, id: string | number) => void;
380
375
  /** Remove embeddingChunk from cache */ readonly embeddingChunk: (queryClient: QueryClient, id: string | number) => void;
381
376
  /** Remove enum from cache */ readonly enum: (queryClient: QueryClient, id: string | number) => void;
@@ -391,7 +386,6 @@ export declare const remove: {
391
386
  /** Remove nodeTypeRegistry from cache */ readonly nodeTypeRegistry: (queryClient: QueryClient, id: string | number) => void;
392
387
  /** Remove partition from cache */ readonly partition: (queryClient: QueryClient, id: string | number) => void;
393
388
  /** Remove platformApi from cache */ readonly platformApi: (queryClient: QueryClient, id: string | number) => void;
394
- /** Remove platformApiModule from cache */ readonly platformApiModule: (queryClient: QueryClient, id: string | number) => void;
395
389
  /** Remove platformApiSchema from cache */ readonly platformApiSchema: (queryClient: QueryClient, id: string | number) => void;
396
390
  /** Remove platformApiSetting from cache */ readonly platformApiSetting: (queryClient: QueryClient, id: string | number) => void;
397
391
  /** Remove platformCorsSetting from cache */ readonly platformCorsSetting: (queryClient: QueryClient, id: string | number) => void;
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import { apiKeys, apiModuleKeys, apiSchemaKeys, apiSettingKeys, astMigrationKeys, checkConstraintKeys, compositeTypeKeys, corsSettingKeys, databaseKeys, databaseSettingKeys, databaseTransferKeys, defaultPrivilegeKeys, domainKeys, domainEventKeys, domainVerificationKeys, embeddingChunkKeys, enumKeys, exclusionConstraintKeys, fieldKeys, foreignKeyConstraintKeys, fullTextSearchKeys, functionKeys, hostnameBindingKeys, httpRouteKeys, indexKeys, managedDomainKeys, nodeTypeRegistryKeys, partitionKeys, platformApiKeys, platformApiModuleKeys, platformApiSchemaKeys, platformApiSettingKeys, platformCorsSettingKeys, platformDomainKeys, platformDomainEventKeys, platformDomainVerificationKeys, platformManagedDomainKeys, platformSiteKeys, platformSiteMetadatumKeys, platformSiteModuleKeys, platformSiteThemeKeys, policyKeys, primaryKeyConstraintKeys, pubkeySettingKeys, rlsSettingKeys, routeBindingKeys, routeKeys, schemaKeys, schemaGrantKeys, siteKeys, siteMetadatumKeys, siteModuleKeys, siteThemeKeys, spatialRelationKeys, sqlActionKeys, tableKeys, tableGrantKeys, triggerKeys, triggerFunctionKeys, uniqueConstraintKeys, viewKeys, viewGrantKeys, viewRuleKeys, viewTableKeys, webauthnSettingKeys, } from './query-keys';
6
+ import { apiKeys, apiSchemaKeys, apiSettingKeys, astMigrationKeys, checkConstraintKeys, compositeTypeKeys, corsSettingKeys, databaseKeys, databaseSettingKeys, databaseTransferKeys, defaultPrivilegeKeys, domainKeys, domainEventKeys, domainTypeKeys, domainVerificationKeys, embeddingChunkKeys, enumKeys, exclusionConstraintKeys, fieldKeys, foreignKeyConstraintKeys, fullTextSearchKeys, functionKeys, hostnameBindingKeys, httpRouteKeys, indexKeys, managedDomainKeys, nodeTypeRegistryKeys, partitionKeys, platformApiKeys, platformApiSchemaKeys, platformApiSettingKeys, platformCorsSettingKeys, platformDomainKeys, platformDomainEventKeys, platformDomainVerificationKeys, platformManagedDomainKeys, platformSiteKeys, platformSiteMetadatumKeys, platformSiteModuleKeys, platformSiteThemeKeys, policyKeys, primaryKeyConstraintKeys, pubkeySettingKeys, rlsSettingKeys, routeBindingKeys, routeKeys, schemaKeys, schemaGrantKeys, siteKeys, siteMetadatumKeys, siteModuleKeys, siteThemeKeys, spatialRelationKeys, sqlActionKeys, tableKeys, tableGrantKeys, triggerKeys, triggerFunctionKeys, uniqueConstraintKeys, viewKeys, viewGrantKeys, viewRuleKeys, viewTableKeys, webauthnSettingKeys, } from './query-keys';
7
7
  /**
8
8
  // ============================================================================
9
9
  // Invalidation Helpers
@@ -35,17 +35,6 @@ export const invalidate = {
35
35
  queryKey: apiKeys.detail(id),
36
36
  }),
37
37
  },
38
- /** Invalidate apiModule queries */ apiModule: {
39
- /** Invalidate all apiModule queries */ all: (queryClient) => queryClient.invalidateQueries({
40
- queryKey: apiModuleKeys.all,
41
- }),
42
- /** Invalidate apiModule list queries */ lists: (queryClient) => queryClient.invalidateQueries({
43
- queryKey: apiModuleKeys.lists(),
44
- }),
45
- /** Invalidate a specific apiModule */ detail: (queryClient, id) => queryClient.invalidateQueries({
46
- queryKey: apiModuleKeys.detail(id),
47
- }),
48
- },
49
38
  /** Invalidate apiSchema queries */ apiSchema: {
50
39
  /** Invalidate all apiSchema queries */ all: (queryClient) => queryClient.invalidateQueries({
51
40
  queryKey: apiSchemaKeys.all,
@@ -178,6 +167,17 @@ export const invalidate = {
178
167
  queryKey: domainEventKeys.detail(id),
179
168
  }),
180
169
  },
170
+ /** Invalidate domainType queries */ domainType: {
171
+ /** Invalidate all domainType queries */ all: (queryClient) => queryClient.invalidateQueries({
172
+ queryKey: domainTypeKeys.all,
173
+ }),
174
+ /** Invalidate domainType list queries */ lists: (queryClient) => queryClient.invalidateQueries({
175
+ queryKey: domainTypeKeys.lists(),
176
+ }),
177
+ /** Invalidate a specific domainType */ detail: (queryClient, id) => queryClient.invalidateQueries({
178
+ queryKey: domainTypeKeys.detail(id),
179
+ }),
180
+ },
181
181
  /** Invalidate domainVerification queries */ domainVerification: {
182
182
  /** Invalidate all domainVerification queries */ all: (queryClient) => queryClient.invalidateQueries({
183
183
  queryKey: domainVerificationKeys.all,
@@ -343,17 +343,6 @@ export const invalidate = {
343
343
  queryKey: platformApiKeys.detail(id),
344
344
  }),
345
345
  },
346
- /** Invalidate platformApiModule queries */ platformApiModule: {
347
- /** Invalidate all platformApiModule queries */ all: (queryClient) => queryClient.invalidateQueries({
348
- queryKey: platformApiModuleKeys.all,
349
- }),
350
- /** Invalidate platformApiModule list queries */ lists: (queryClient) => queryClient.invalidateQueries({
351
- queryKey: platformApiModuleKeys.lists(),
352
- }),
353
- /** Invalidate a specific platformApiModule */ detail: (queryClient, id) => queryClient.invalidateQueries({
354
- queryKey: platformApiModuleKeys.detail(id),
355
- }),
356
- },
357
346
  /** Invalidate platformApiSchema queries */ platformApiSchema: {
358
347
  /** Invalidate all platformApiSchema queries */ all: (queryClient) => queryClient.invalidateQueries({
359
348
  queryKey: platformApiSchemaKeys.all,
@@ -757,11 +746,6 @@ export const remove = {
757
746
  queryKey: apiKeys.detail(id),
758
747
  });
759
748
  },
760
- /** Remove apiModule from cache */ apiModule: (queryClient, id) => {
761
- queryClient.removeQueries({
762
- queryKey: apiModuleKeys.detail(id),
763
- });
764
- },
765
749
  /** Remove apiSchema from cache */ apiSchema: (queryClient, id) => {
766
750
  queryClient.removeQueries({
767
751
  queryKey: apiSchemaKeys.detail(id),
@@ -822,6 +806,11 @@ export const remove = {
822
806
  queryKey: domainEventKeys.detail(id),
823
807
  });
824
808
  },
809
+ /** Remove domainType from cache */ domainType: (queryClient, id) => {
810
+ queryClient.removeQueries({
811
+ queryKey: domainTypeKeys.detail(id),
812
+ });
813
+ },
825
814
  /** Remove domainVerification from cache */ domainVerification: (queryClient, id) => {
826
815
  queryClient.removeQueries({
827
816
  queryKey: domainVerificationKeys.detail(id),
@@ -897,11 +886,6 @@ export const remove = {
897
886
  queryKey: platformApiKeys.detail(id),
898
887
  });
899
888
  },
900
- /** Remove platformApiModule from cache */ platformApiModule: (queryClient, id) => {
901
- queryClient.removeQueries({
902
- queryKey: platformApiModuleKeys.detail(id),
903
- });
904
- },
905
889
  /** Remove platformApiSchema from cache */ platformApiSchema: (queryClient, id) => {
906
890
  queryClient.removeQueries({
907
891
  queryKey: platformApiSchemaKeys.detail(id),
@@ -9,12 +9,6 @@ export declare const apiMutationKeys: {
9
9
  /** Update api mutation key */ readonly update: (id: string | number) => readonly ["mutation", "api", "update", string | number];
10
10
  /** Delete api mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "api", "delete", string | number];
11
11
  };
12
- export declare const apiModuleMutationKeys: {
13
- /** All apiModule mutation keys */ readonly all: readonly ["mutation", "apimodule"];
14
- /** Create apiModule mutation key */ readonly create: () => readonly ["mutation", "apimodule", "create"];
15
- /** Update apiModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "apimodule", "update", string | number];
16
- /** Delete apiModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "apimodule", "delete", string | number];
17
- };
18
12
  export declare const apiSchemaMutationKeys: {
19
13
  /** All apiSchema mutation keys */ readonly all: readonly ["mutation", "apischema"];
20
14
  /** Create apiSchema mutation key */ readonly create: () => readonly ["mutation", "apischema", "create"];
@@ -87,6 +81,12 @@ export declare const domainEventMutationKeys: {
87
81
  /** Update domainEvent mutation key */ readonly update: (id: string | number) => readonly ["mutation", "domainevent", "update", string | number];
88
82
  /** Delete domainEvent mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "domainevent", "delete", string | number];
89
83
  };
84
+ export declare const domainTypeMutationKeys: {
85
+ /** All domainType mutation keys */ readonly all: readonly ["mutation", "domaintype"];
86
+ /** Create domainType mutation key */ readonly create: () => readonly ["mutation", "domaintype", "create"];
87
+ /** Update domainType mutation key */ readonly update: (id: string | number) => readonly ["mutation", "domaintype", "update", string | number];
88
+ /** Delete domainType mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "domaintype", "delete", string | number];
89
+ };
90
90
  export declare const domainVerificationMutationKeys: {
91
91
  /** All domainVerification mutation keys */ readonly all: readonly ["mutation", "domainverification"];
92
92
  /** Create domainVerification mutation key */ readonly create: () => readonly ["mutation", "domainverification", "create"];
@@ -177,12 +177,6 @@ export declare const platformApiMutationKeys: {
177
177
  /** Update platformApi mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformapi", "update", string | number];
178
178
  /** Delete platformApi mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformapi", "delete", string | number];
179
179
  };
180
- export declare const platformApiModuleMutationKeys: {
181
- /** All platformApiModule mutation keys */ readonly all: readonly ["mutation", "platformapimodule"];
182
- /** Create platformApiModule mutation key */ readonly create: () => readonly ["mutation", "platformapimodule", "create"];
183
- /** Update platformApiModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformapimodule", "update", string | number];
184
- /** Delete platformApiModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformapimodule", "delete", string | number];
185
- };
186
180
  export declare const platformApiSchemaMutationKeys: {
187
181
  /** All platformApiSchema mutation keys */ readonly all: readonly ["mutation", "platformapischema"];
188
182
  /** Create platformApiSchema mutation key */ readonly create: () => readonly ["mutation", "platformapischema", "create"];
@@ -431,12 +425,6 @@ export declare const mutationKeys: {
431
425
  /** Update api mutation key */ readonly update: (id: string | number) => readonly ["mutation", "api", "update", string | number];
432
426
  /** Delete api mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "api", "delete", string | number];
433
427
  };
434
- readonly apiModule: {
435
- /** All apiModule mutation keys */ readonly all: readonly ["mutation", "apimodule"];
436
- /** Create apiModule mutation key */ readonly create: () => readonly ["mutation", "apimodule", "create"];
437
- /** Update apiModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "apimodule", "update", string | number];
438
- /** Delete apiModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "apimodule", "delete", string | number];
439
- };
440
428
  readonly apiSchema: {
441
429
  /** All apiSchema mutation keys */ readonly all: readonly ["mutation", "apischema"];
442
430
  /** Create apiSchema mutation key */ readonly create: () => readonly ["mutation", "apischema", "create"];
@@ -509,6 +497,12 @@ export declare const mutationKeys: {
509
497
  /** Update domainEvent mutation key */ readonly update: (id: string | number) => readonly ["mutation", "domainevent", "update", string | number];
510
498
  /** Delete domainEvent mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "domainevent", "delete", string | number];
511
499
  };
500
+ readonly domainType: {
501
+ /** All domainType mutation keys */ readonly all: readonly ["mutation", "domaintype"];
502
+ /** Create domainType mutation key */ readonly create: () => readonly ["mutation", "domaintype", "create"];
503
+ /** Update domainType mutation key */ readonly update: (id: string | number) => readonly ["mutation", "domaintype", "update", string | number];
504
+ /** Delete domainType mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "domaintype", "delete", string | number];
505
+ };
512
506
  readonly domainVerification: {
513
507
  /** All domainVerification mutation keys */ readonly all: readonly ["mutation", "domainverification"];
514
508
  /** Create domainVerification mutation key */ readonly create: () => readonly ["mutation", "domainverification", "create"];
@@ -599,12 +593,6 @@ export declare const mutationKeys: {
599
593
  /** Update platformApi mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformapi", "update", string | number];
600
594
  /** Delete platformApi mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformapi", "delete", string | number];
601
595
  };
602
- readonly platformApiModule: {
603
- /** All platformApiModule mutation keys */ readonly all: readonly ["mutation", "platformapimodule"];
604
- /** Create platformApiModule mutation key */ readonly create: () => readonly ["mutation", "platformapimodule", "create"];
605
- /** Update platformApiModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformapimodule", "update", string | number];
606
- /** Delete platformApiModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformapimodule", "delete", string | number];
607
- };
608
596
  readonly platformApiSchema: {
609
597
  /** All platformApiSchema mutation keys */ readonly all: readonly ["mutation", "platformapischema"];
610
598
  /** Create platformApiSchema mutation key */ readonly create: () => readonly ["mutation", "platformapischema", "create"];