@constructive-io/react 1.9.2 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +24 -0
- package/admin/hooks/invalidation.js +64 -0
- package/admin/hooks/mutation-keys.d.ts +48 -0
- package/admin/hooks/mutation-keys.js +32 -1
- package/admin/hooks/mutations/index.d.ts +8 -0
- package/admin/hooks/mutations/index.js +8 -0
- package/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
- package/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js} +6 -6
- package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
- package/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +7 -7
- package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
- package/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +9 -9
- package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +7 -0
- package/admin/hooks/queries/index.js +7 -0
- package/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
- package/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +14 -14
- package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.js +38 -0
- package/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgChartEdgeQuery.js +53 -0
- package/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgChartEdgesQuery.js +38 -0
- package/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgGetManagersQuery.js +38 -0
- package/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgGetSubordinatesQuery.js +38 -0
- package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
- package/admin/hooks/queries/useOrgIsManagerOfQuery.js +53 -0
- package/admin/hooks/query-keys.d.ts +58 -0
- package/admin/hooks/query-keys.js +34 -1
- package/admin/orm/index.d.ts +13 -0
- package/admin/orm/index.js +8 -0
- package/admin/orm/input-types.d.ts +399 -0
- package/admin/orm/models/index.d.ts +4 -0
- package/admin/orm/models/index.js +9 -1
- package/admin/orm/models/orgChartEdge.d.ts +54 -0
- package/admin/orm/models/orgChartEdge.js +104 -0
- package/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
- package/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +27 -27
- package/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
- package/admin/orm/models/orgGetManagersRecord.js +59 -0
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
- package/admin/orm/models/orgGetSubordinatesRecord.js +59 -0
- package/admin/orm/query/index.d.ts +11 -0
- package/admin/orm/query/index.js +24 -0
- package/admin/schema-types.d.ts +247 -1
- package/admin/types.d.ts +29 -0
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -12
- package/api/hooks/invalidation.js +16 -32
- package/api/hooks/mutation-keys.d.ts +12 -24
- package/api/hooks/mutation-keys.js +9 -16
- package/api/hooks/mutations/index.d.ts +3 -6
- package/api/hooks/mutations/index.js +3 -6
- package/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
- package/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +6 -6
- package/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
- package/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +7 -7
- package/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
- package/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +9 -9
- package/api/hooks/queries/index.d.ts +2 -4
- package/api/hooks/queries/index.js +2 -4
- package/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
- package/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +14 -14
- package/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
- package/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +14 -14
- package/api/hooks/query-keys.d.ts +14 -28
- package/api/hooks/query-keys.js +10 -18
- package/api/orm/index.d.ts +2 -4
- package/api/orm/index.js +2 -4
- package/api/orm/input-types.d.ts +378 -468
- package/api/orm/input-types.js +2 -2
- package/api/orm/models/domainType.d.ts +54 -0
- package/api/orm/models/{apiModule.js → domainType.js} +27 -27
- package/api/orm/models/index.d.ts +1 -2
- package/api/orm/models/index.js +4 -6
- package/api/schema-types.d.ts +157 -226
- package/api/types.d.ts +16 -17
- package/compute/orm/input-types.d.ts +42 -3
- package/compute/schema-types.d.ts +25 -3
- package/compute/types.d.ts +5 -0
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +24 -0
- package/esm/admin/hooks/invalidation.js +65 -1
- package/esm/admin/hooks/mutation-keys.d.ts +48 -0
- package/esm/admin/hooks/mutation-keys.js +31 -0
- package/esm/admin/hooks/mutations/index.d.ts +8 -0
- package/esm/admin/hooks/mutations/index.js +8 -0
- package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
- package/esm/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeMutation.js} +7 -7
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
- package/esm/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +8 -8
- package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
- package/esm/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +10 -10
- package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +7 -0
- package/esm/admin/hooks/queries/index.js +7 -0
- package/esm/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
- package/esm/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +11 -11
- package/esm/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
- package/esm/{api/hooks/queries/usePlatformApiModulesQuery.js → admin/hooks/queries/useOrgChartEdgeGrantsQuery.js} +11 -11
- package/esm/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgChartEdgeQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgChartEdgesQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgGetManagersQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +47 -0
- package/esm/admin/hooks/query-keys.d.ts +58 -0
- package/esm/admin/hooks/query-keys.js +33 -0
- package/esm/admin/orm/index.d.ts +13 -0
- package/esm/admin/orm/index.js +8 -0
- package/esm/admin/orm/input-types.d.ts +399 -0
- package/esm/admin/orm/models/index.d.ts +4 -0
- package/esm/admin/orm/models/index.js +4 -0
- package/esm/admin/orm/models/orgChartEdge.d.ts +54 -0
- package/esm/admin/orm/models/orgChartEdge.js +100 -0
- package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
- package/esm/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +25 -25
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
- package/esm/admin/orm/models/orgGetManagersRecord.js +55 -0
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +55 -0
- package/esm/admin/orm/query/index.d.ts +11 -0
- package/esm/admin/orm/query/index.js +24 -0
- package/esm/admin/schema-types.d.ts +247 -1
- package/esm/admin/types.d.ts +29 -0
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -12
- package/esm/api/hooks/invalidation.js +17 -33
- package/esm/api/hooks/mutation-keys.d.ts +12 -24
- package/esm/api/hooks/mutation-keys.js +7 -14
- package/esm/api/hooks/mutations/index.d.ts +3 -6
- package/esm/api/hooks/mutations/index.js +3 -6
- package/esm/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +7 -7
- package/esm/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +8 -8
- package/esm/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +10 -10
- package/esm/api/hooks/queries/index.d.ts +2 -4
- package/esm/api/hooks/queries/index.js +2 -4
- package/esm/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
- package/esm/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +11 -11
- package/esm/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +11 -11
- package/esm/api/hooks/query-keys.d.ts +14 -28
- package/esm/api/hooks/query-keys.js +8 -16
- package/esm/api/orm/index.d.ts +2 -4
- package/esm/api/orm/index.js +2 -4
- package/esm/api/orm/input-types.d.ts +378 -468
- package/esm/api/orm/input-types.js +2 -2
- package/esm/api/orm/models/domainType.d.ts +54 -0
- package/esm/api/orm/models/{apiModule.js → domainType.js} +25 -25
- package/esm/api/orm/models/index.d.ts +1 -2
- package/esm/api/orm/models/index.js +1 -2
- package/esm/api/schema-types.d.ts +157 -226
- package/esm/api/types.d.ts +16 -17
- package/esm/compute/orm/input-types.d.ts +42 -3
- package/esm/compute/schema-types.d.ts +25 -3
- package/esm/compute/types.d.ts +5 -0
- package/esm/modules/orm/input-types.d.ts +9 -16
- package/esm/modules/schema-types.d.ts +6 -10
- package/esm/modules/types.d.ts +1 -2
- package/modules/orm/input-types.d.ts +9 -16
- package/modules/schema-types.d.ts +6 -10
- package/modules/types.d.ts +1 -2
- package/package.json +5 -5
- package/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
- package/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
- package/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
- package/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
- package/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
- package/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
- package/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
- package/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
- package/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
- package/api/hooks/queries/usePlatformApiModulesQuery.js +0 -38
- package/api/orm/models/apiModule.d.ts +0 -54
- package/api/orm/models/platformApiModule.d.ts +0 -54
- package/esm/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
- package/esm/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
- package/esm/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
- package/esm/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
- package/esm/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
- package/esm/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
- package/esm/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
- package/esm/api/orm/models/apiModule.d.ts +0 -54
- package/esm/api/orm/models/platformApiModule.d.ts +0 -54
package/admin/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: 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
|
|
5
|
+
* Tables: 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
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
package/admin/hooks/index.js
CHANGED
|
@@ -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: 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
|
|
21
|
+
* Tables: 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
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|
|
@@ -89,11 +89,31 @@ export declare const invalidate: {
|
|
|
89
89
|
/** Invalidate orgAdminGrant list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
90
90
|
/** Invalidate a specific orgAdminGrant */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
91
91
|
};
|
|
92
|
+
/** Invalidate orgChartEdge queries */ readonly orgChartEdge: {
|
|
93
|
+
/** Invalidate all orgChartEdge queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
94
|
+
/** Invalidate orgChartEdge list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
95
|
+
/** Invalidate a specific orgChartEdge */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
96
|
+
};
|
|
97
|
+
/** Invalidate orgChartEdgeGrant queries */ readonly orgChartEdgeGrant: {
|
|
98
|
+
/** Invalidate all orgChartEdgeGrant queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
99
|
+
/** Invalidate orgChartEdgeGrant list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
100
|
+
/** Invalidate a specific orgChartEdgeGrant */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
101
|
+
};
|
|
92
102
|
/** Invalidate orgClaimedInvite queries */ readonly orgClaimedInvite: {
|
|
93
103
|
/** Invalidate all orgClaimedInvite queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
94
104
|
/** Invalidate orgClaimedInvite list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
95
105
|
/** Invalidate a specific orgClaimedInvite */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
96
106
|
};
|
|
107
|
+
/** Invalidate orgGetManagersRecord queries */ readonly orgGetManagersRecord: {
|
|
108
|
+
/** Invalidate all orgGetManagersRecord queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
109
|
+
/** Invalidate orgGetManagersRecord list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
110
|
+
/** Invalidate a specific orgGetManagersRecord */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
111
|
+
};
|
|
112
|
+
/** Invalidate orgGetSubordinatesRecord queries */ readonly orgGetSubordinatesRecord: {
|
|
113
|
+
/** Invalidate all orgGetSubordinatesRecord queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
114
|
+
/** Invalidate orgGetSubordinatesRecord list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
115
|
+
/** Invalidate a specific orgGetSubordinatesRecord */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
116
|
+
};
|
|
97
117
|
/** Invalidate orgGrant queries */ readonly orgGrant: {
|
|
98
118
|
/** Invalidate all orgGrant queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
99
119
|
/** Invalidate orgGrant list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -180,7 +200,11 @@ export declare const remove: {
|
|
|
180
200
|
/** Remove appPermissionDefaultPermission from cache */ readonly appPermissionDefaultPermission: (queryClient: QueryClient, id: string | number) => void;
|
|
181
201
|
/** Remove membershipType from cache */ readonly membershipType: (queryClient: QueryClient, id: string | number) => void;
|
|
182
202
|
/** Remove orgAdminGrant from cache */ readonly orgAdminGrant: (queryClient: QueryClient, id: string | number) => void;
|
|
203
|
+
/** Remove orgChartEdge from cache */ readonly orgChartEdge: (queryClient: QueryClient, id: string | number) => void;
|
|
204
|
+
/** Remove orgChartEdgeGrant from cache */ readonly orgChartEdgeGrant: (queryClient: QueryClient, id: string | number) => void;
|
|
183
205
|
/** Remove orgClaimedInvite from cache */ readonly orgClaimedInvite: (queryClient: QueryClient, id: string | number) => void;
|
|
206
|
+
/** Remove orgGetManagersRecord from cache */ readonly orgGetManagersRecord: (queryClient: QueryClient, id: string | number) => void;
|
|
207
|
+
/** Remove orgGetSubordinatesRecord from cache */ readonly orgGetSubordinatesRecord: (queryClient: QueryClient, id: string | number) => void;
|
|
184
208
|
/** Remove orgGrant from cache */ readonly orgGrant: (queryClient: QueryClient, id: string | number) => void;
|
|
185
209
|
/** Remove orgInvite from cache */ readonly orgInvite: (queryClient: QueryClient, id: string | number) => void;
|
|
186
210
|
/** Remove orgMember from cache */ readonly orgMember: (queryClient: QueryClient, id: string | number) => void;
|
|
@@ -170,6 +170,28 @@ exports.invalidate = {
|
|
|
170
170
|
queryKey: query_keys_1.orgAdminGrantKeys.detail(id),
|
|
171
171
|
}),
|
|
172
172
|
},
|
|
173
|
+
/** Invalidate orgChartEdge queries */ orgChartEdge: {
|
|
174
|
+
/** Invalidate all orgChartEdge queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
175
|
+
queryKey: query_keys_1.orgChartEdgeKeys.all,
|
|
176
|
+
}),
|
|
177
|
+
/** Invalidate orgChartEdge list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
178
|
+
queryKey: query_keys_1.orgChartEdgeKeys.lists(),
|
|
179
|
+
}),
|
|
180
|
+
/** Invalidate a specific orgChartEdge */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
181
|
+
queryKey: query_keys_1.orgChartEdgeKeys.detail(id),
|
|
182
|
+
}),
|
|
183
|
+
},
|
|
184
|
+
/** Invalidate orgChartEdgeGrant queries */ orgChartEdgeGrant: {
|
|
185
|
+
/** Invalidate all orgChartEdgeGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
186
|
+
queryKey: query_keys_1.orgChartEdgeGrantKeys.all,
|
|
187
|
+
}),
|
|
188
|
+
/** Invalidate orgChartEdgeGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
189
|
+
queryKey: query_keys_1.orgChartEdgeGrantKeys.lists(),
|
|
190
|
+
}),
|
|
191
|
+
/** Invalidate a specific orgChartEdgeGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
192
|
+
queryKey: query_keys_1.orgChartEdgeGrantKeys.detail(id),
|
|
193
|
+
}),
|
|
194
|
+
},
|
|
173
195
|
/** Invalidate orgClaimedInvite queries */ orgClaimedInvite: {
|
|
174
196
|
/** Invalidate all orgClaimedInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
175
197
|
queryKey: query_keys_1.orgClaimedInviteKeys.all,
|
|
@@ -181,6 +203,28 @@ exports.invalidate = {
|
|
|
181
203
|
queryKey: query_keys_1.orgClaimedInviteKeys.detail(id),
|
|
182
204
|
}),
|
|
183
205
|
},
|
|
206
|
+
/** Invalidate orgGetManagersRecord queries */ orgGetManagersRecord: {
|
|
207
|
+
/** Invalidate all orgGetManagersRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
208
|
+
queryKey: query_keys_1.orgGetManagersRecordKeys.all,
|
|
209
|
+
}),
|
|
210
|
+
/** Invalidate orgGetManagersRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
211
|
+
queryKey: query_keys_1.orgGetManagersRecordKeys.lists(),
|
|
212
|
+
}),
|
|
213
|
+
/** Invalidate a specific orgGetManagersRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
214
|
+
queryKey: query_keys_1.orgGetManagersRecordKeys.detail(id),
|
|
215
|
+
}),
|
|
216
|
+
},
|
|
217
|
+
/** Invalidate orgGetSubordinatesRecord queries */ orgGetSubordinatesRecord: {
|
|
218
|
+
/** Invalidate all orgGetSubordinatesRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
219
|
+
queryKey: query_keys_1.orgGetSubordinatesRecordKeys.all,
|
|
220
|
+
}),
|
|
221
|
+
/** Invalidate orgGetSubordinatesRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
222
|
+
queryKey: query_keys_1.orgGetSubordinatesRecordKeys.lists(),
|
|
223
|
+
}),
|
|
224
|
+
/** Invalidate a specific orgGetSubordinatesRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
225
|
+
queryKey: query_keys_1.orgGetSubordinatesRecordKeys.detail(id),
|
|
226
|
+
}),
|
|
227
|
+
},
|
|
184
228
|
/** Invalidate orgGrant queries */ orgGrant: {
|
|
185
229
|
/** Invalidate all orgGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
186
230
|
queryKey: query_keys_1.orgGrantKeys.all,
|
|
@@ -391,11 +435,31 @@ exports.remove = {
|
|
|
391
435
|
queryKey: query_keys_1.orgAdminGrantKeys.detail(id),
|
|
392
436
|
});
|
|
393
437
|
},
|
|
438
|
+
/** Remove orgChartEdge from cache */ orgChartEdge: (queryClient, id) => {
|
|
439
|
+
queryClient.removeQueries({
|
|
440
|
+
queryKey: query_keys_1.orgChartEdgeKeys.detail(id),
|
|
441
|
+
});
|
|
442
|
+
},
|
|
443
|
+
/** Remove orgChartEdgeGrant from cache */ orgChartEdgeGrant: (queryClient, id) => {
|
|
444
|
+
queryClient.removeQueries({
|
|
445
|
+
queryKey: query_keys_1.orgChartEdgeGrantKeys.detail(id),
|
|
446
|
+
});
|
|
447
|
+
},
|
|
394
448
|
/** Remove orgClaimedInvite from cache */ orgClaimedInvite: (queryClient, id) => {
|
|
395
449
|
queryClient.removeQueries({
|
|
396
450
|
queryKey: query_keys_1.orgClaimedInviteKeys.detail(id),
|
|
397
451
|
});
|
|
398
452
|
},
|
|
453
|
+
/** Remove orgGetManagersRecord from cache */ orgGetManagersRecord: (queryClient, id) => {
|
|
454
|
+
queryClient.removeQueries({
|
|
455
|
+
queryKey: query_keys_1.orgGetManagersRecordKeys.detail(id),
|
|
456
|
+
});
|
|
457
|
+
},
|
|
458
|
+
/** Remove orgGetSubordinatesRecord from cache */ orgGetSubordinatesRecord: (queryClient, id) => {
|
|
459
|
+
queryClient.removeQueries({
|
|
460
|
+
queryKey: query_keys_1.orgGetSubordinatesRecordKeys.detail(id),
|
|
461
|
+
});
|
|
462
|
+
},
|
|
399
463
|
/** Remove orgGrant from cache */ orgGrant: (queryClient, id) => {
|
|
400
464
|
queryClient.removeQueries({
|
|
401
465
|
queryKey: query_keys_1.orgGrantKeys.detail(id),
|
|
@@ -81,12 +81,36 @@ export declare const orgAdminGrantMutationKeys: {
|
|
|
81
81
|
/** Update orgAdminGrant mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgadmingrant", "update", string | number];
|
|
82
82
|
/** Delete orgAdminGrant mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgadmingrant", "delete", string | number];
|
|
83
83
|
};
|
|
84
|
+
export declare const orgChartEdgeMutationKeys: {
|
|
85
|
+
/** All orgChartEdge mutation keys */ readonly all: readonly ["mutation", "orgchartedge"];
|
|
86
|
+
/** Create orgChartEdge mutation key */ readonly create: () => readonly ["mutation", "orgchartedge", "create"];
|
|
87
|
+
/** Update orgChartEdge mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgchartedge", "update", string | number];
|
|
88
|
+
/** Delete orgChartEdge mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgchartedge", "delete", string | number];
|
|
89
|
+
};
|
|
90
|
+
export declare const orgChartEdgeGrantMutationKeys: {
|
|
91
|
+
/** All orgChartEdgeGrant mutation keys */ readonly all: readonly ["mutation", "orgchartedgegrant"];
|
|
92
|
+
/** Create orgChartEdgeGrant mutation key */ readonly create: () => readonly ["mutation", "orgchartedgegrant", "create"];
|
|
93
|
+
/** Update orgChartEdgeGrant mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgchartedgegrant", "update", string | number];
|
|
94
|
+
/** Delete orgChartEdgeGrant mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgchartedgegrant", "delete", string | number];
|
|
95
|
+
};
|
|
84
96
|
export declare const orgClaimedInviteMutationKeys: {
|
|
85
97
|
/** All orgClaimedInvite mutation keys */ readonly all: readonly ["mutation", "orgclaimedinvite"];
|
|
86
98
|
/** Create orgClaimedInvite mutation key */ readonly create: () => readonly ["mutation", "orgclaimedinvite", "create"];
|
|
87
99
|
/** Update orgClaimedInvite mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgclaimedinvite", "update", string | number];
|
|
88
100
|
/** Delete orgClaimedInvite mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgclaimedinvite", "delete", string | number];
|
|
89
101
|
};
|
|
102
|
+
export declare const orgGetManagersRecordMutationKeys: {
|
|
103
|
+
/** All orgGetManagersRecord mutation keys */ readonly all: readonly ["mutation", "orggetmanagersrecord"];
|
|
104
|
+
/** Create orgGetManagersRecord mutation key */ readonly create: () => readonly ["mutation", "orggetmanagersrecord", "create"];
|
|
105
|
+
/** Update orgGetManagersRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orggetmanagersrecord", "update", string | number];
|
|
106
|
+
/** Delete orgGetManagersRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orggetmanagersrecord", "delete", string | number];
|
|
107
|
+
};
|
|
108
|
+
export declare const orgGetSubordinatesRecordMutationKeys: {
|
|
109
|
+
/** All orgGetSubordinatesRecord mutation keys */ readonly all: readonly ["mutation", "orggetsubordinatesrecord"];
|
|
110
|
+
/** Create orgGetSubordinatesRecord mutation key */ readonly create: () => readonly ["mutation", "orggetsubordinatesrecord", "create"];
|
|
111
|
+
/** Update orgGetSubordinatesRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orggetsubordinatesrecord", "update", string | number];
|
|
112
|
+
/** Delete orgGetSubordinatesRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orggetsubordinatesrecord", "delete", string | number];
|
|
113
|
+
};
|
|
90
114
|
export declare const orgGrantMutationKeys: {
|
|
91
115
|
/** All orgGrant mutation keys */ readonly all: readonly ["mutation", "orggrant"];
|
|
92
116
|
/** Create orgGrant mutation key */ readonly create: () => readonly ["mutation", "orggrant", "create"];
|
|
@@ -265,12 +289,36 @@ export declare const mutationKeys: {
|
|
|
265
289
|
/** Update orgAdminGrant mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgadmingrant", "update", string | number];
|
|
266
290
|
/** Delete orgAdminGrant mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgadmingrant", "delete", string | number];
|
|
267
291
|
};
|
|
292
|
+
readonly orgChartEdge: {
|
|
293
|
+
/** All orgChartEdge mutation keys */ readonly all: readonly ["mutation", "orgchartedge"];
|
|
294
|
+
/** Create orgChartEdge mutation key */ readonly create: () => readonly ["mutation", "orgchartedge", "create"];
|
|
295
|
+
/** Update orgChartEdge mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgchartedge", "update", string | number];
|
|
296
|
+
/** Delete orgChartEdge mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgchartedge", "delete", string | number];
|
|
297
|
+
};
|
|
298
|
+
readonly orgChartEdgeGrant: {
|
|
299
|
+
/** All orgChartEdgeGrant mutation keys */ readonly all: readonly ["mutation", "orgchartedgegrant"];
|
|
300
|
+
/** Create orgChartEdgeGrant mutation key */ readonly create: () => readonly ["mutation", "orgchartedgegrant", "create"];
|
|
301
|
+
/** Update orgChartEdgeGrant mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgchartedgegrant", "update", string | number];
|
|
302
|
+
/** Delete orgChartEdgeGrant mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgchartedgegrant", "delete", string | number];
|
|
303
|
+
};
|
|
268
304
|
readonly orgClaimedInvite: {
|
|
269
305
|
/** All orgClaimedInvite mutation keys */ readonly all: readonly ["mutation", "orgclaimedinvite"];
|
|
270
306
|
/** Create orgClaimedInvite mutation key */ readonly create: () => readonly ["mutation", "orgclaimedinvite", "create"];
|
|
271
307
|
/** Update orgClaimedInvite mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orgclaimedinvite", "update", string | number];
|
|
272
308
|
/** Delete orgClaimedInvite mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orgclaimedinvite", "delete", string | number];
|
|
273
309
|
};
|
|
310
|
+
readonly orgGetManagersRecord: {
|
|
311
|
+
/** All orgGetManagersRecord mutation keys */ readonly all: readonly ["mutation", "orggetmanagersrecord"];
|
|
312
|
+
/** Create orgGetManagersRecord mutation key */ readonly create: () => readonly ["mutation", "orggetmanagersrecord", "create"];
|
|
313
|
+
/** Update orgGetManagersRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orggetmanagersrecord", "update", string | number];
|
|
314
|
+
/** Delete orgGetManagersRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orggetmanagersrecord", "delete", string | number];
|
|
315
|
+
};
|
|
316
|
+
readonly orgGetSubordinatesRecord: {
|
|
317
|
+
/** All orgGetSubordinatesRecord mutation keys */ readonly all: readonly ["mutation", "orggetsubordinatesrecord"];
|
|
318
|
+
/** Create orgGetSubordinatesRecord mutation key */ readonly create: () => readonly ["mutation", "orggetsubordinatesrecord", "create"];
|
|
319
|
+
/** Update orgGetSubordinatesRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orggetsubordinatesrecord", "update", string | number];
|
|
320
|
+
/** Delete orgGetSubordinatesRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orggetsubordinatesrecord", "delete", string | number];
|
|
321
|
+
};
|
|
274
322
|
readonly orgGrant: {
|
|
275
323
|
/** All orgGrant mutation keys */ readonly all: readonly ["mutation", "orggrant"];
|
|
276
324
|
/** Create orgGrant mutation key */ readonly create: () => readonly ["mutation", "orggrant", "create"];
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.mutationKeys = exports.customMutationKeys = exports.orgPermissionDefaultPermissionMutationKeys = exports.orgPermissionDefaultGrantMutationKeys = exports.orgPermissionDefaultMutationKeys = exports.orgPermissionMutationKeys = exports.orgOwnerGrantMutationKeys = exports.orgMembershipSettingMutationKeys = exports.orgMembershipDefaultMutationKeys = exports.orgMembershipMutationKeys = exports.orgMemberProfileMutationKeys = exports.orgMemberMutationKeys = exports.orgInviteMutationKeys = exports.orgGrantMutationKeys = exports.orgClaimedInviteMutationKeys = exports.orgAdminGrantMutationKeys = exports.membershipTypeMutationKeys = exports.appPermissionDefaultPermissionMutationKeys = exports.appPermissionDefaultGrantMutationKeys = exports.appPermissionDefaultMutationKeys = exports.appPermissionMutationKeys = exports.appOwnerGrantMutationKeys = exports.appMembershipDefaultMutationKeys = exports.appMembershipMutationKeys = exports.appInviteMutationKeys = exports.appGrantMutationKeys = exports.appClaimedInviteMutationKeys = exports.appAdminGrantMutationKeys = void 0;
|
|
8
|
+
exports.mutationKeys = exports.customMutationKeys = exports.orgPermissionDefaultPermissionMutationKeys = exports.orgPermissionDefaultGrantMutationKeys = exports.orgPermissionDefaultMutationKeys = exports.orgPermissionMutationKeys = exports.orgOwnerGrantMutationKeys = exports.orgMembershipSettingMutationKeys = exports.orgMembershipDefaultMutationKeys = exports.orgMembershipMutationKeys = exports.orgMemberProfileMutationKeys = exports.orgMemberMutationKeys = exports.orgInviteMutationKeys = exports.orgGrantMutationKeys = exports.orgGetSubordinatesRecordMutationKeys = exports.orgGetManagersRecordMutationKeys = exports.orgClaimedInviteMutationKeys = exports.orgChartEdgeGrantMutationKeys = exports.orgChartEdgeMutationKeys = exports.orgAdminGrantMutationKeys = exports.membershipTypeMutationKeys = exports.appPermissionDefaultPermissionMutationKeys = exports.appPermissionDefaultGrantMutationKeys = exports.appPermissionDefaultMutationKeys = exports.appPermissionMutationKeys = exports.appOwnerGrantMutationKeys = exports.appMembershipDefaultMutationKeys = exports.appMembershipMutationKeys = exports.appInviteMutationKeys = exports.appGrantMutationKeys = exports.appClaimedInviteMutationKeys = exports.appAdminGrantMutationKeys = void 0;
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// Mutation keys for tracking in-flight mutations
|
|
11
11
|
//
|
|
@@ -102,12 +102,39 @@ exports.orgAdminGrantMutationKeys = {
|
|
|
102
102
|
/** Update orgAdminGrant mutation key */ update: (id) => ['mutation', 'orgadmingrant', 'update', id],
|
|
103
103
|
/** Delete orgAdminGrant mutation key */ delete: (id) => ['mutation', 'orgadmingrant', 'delete', id],
|
|
104
104
|
};
|
|
105
|
+
exports.orgChartEdgeMutationKeys = {
|
|
106
|
+
/** All orgChartEdge mutation keys */ all: ['mutation', 'orgchartedge'],
|
|
107
|
+
/** Create orgChartEdge mutation key */ create: () => ['mutation', 'orgchartedge', 'create'],
|
|
108
|
+
/** Update orgChartEdge mutation key */ update: (id) => ['mutation', 'orgchartedge', 'update', id],
|
|
109
|
+
/** Delete orgChartEdge mutation key */ delete: (id) => ['mutation', 'orgchartedge', 'delete', id],
|
|
110
|
+
};
|
|
111
|
+
exports.orgChartEdgeGrantMutationKeys = {
|
|
112
|
+
/** All orgChartEdgeGrant mutation keys */ all: ['mutation', 'orgchartedgegrant'],
|
|
113
|
+
/** Create orgChartEdgeGrant mutation key */ create: () => ['mutation', 'orgchartedgegrant', 'create'],
|
|
114
|
+
/** Update orgChartEdgeGrant mutation key */ update: (id) => ['mutation', 'orgchartedgegrant', 'update', id],
|
|
115
|
+
/** Delete orgChartEdgeGrant mutation key */ delete: (id) => ['mutation', 'orgchartedgegrant', 'delete', id],
|
|
116
|
+
};
|
|
105
117
|
exports.orgClaimedInviteMutationKeys = {
|
|
106
118
|
/** All orgClaimedInvite mutation keys */ all: ['mutation', 'orgclaimedinvite'],
|
|
107
119
|
/** Create orgClaimedInvite mutation key */ create: () => ['mutation', 'orgclaimedinvite', 'create'],
|
|
108
120
|
/** Update orgClaimedInvite mutation key */ update: (id) => ['mutation', 'orgclaimedinvite', 'update', id],
|
|
109
121
|
/** Delete orgClaimedInvite mutation key */ delete: (id) => ['mutation', 'orgclaimedinvite', 'delete', id],
|
|
110
122
|
};
|
|
123
|
+
exports.orgGetManagersRecordMutationKeys = {
|
|
124
|
+
/** All orgGetManagersRecord mutation keys */ all: ['mutation', 'orggetmanagersrecord'],
|
|
125
|
+
/** Create orgGetManagersRecord mutation key */ create: () => ['mutation', 'orggetmanagersrecord', 'create'],
|
|
126
|
+
/** Update orgGetManagersRecord mutation key */ update: (id) => ['mutation', 'orggetmanagersrecord', 'update', id],
|
|
127
|
+
/** Delete orgGetManagersRecord mutation key */ delete: (id) => ['mutation', 'orggetmanagersrecord', 'delete', id],
|
|
128
|
+
};
|
|
129
|
+
exports.orgGetSubordinatesRecordMutationKeys = {
|
|
130
|
+
/** All orgGetSubordinatesRecord mutation keys */ all: [
|
|
131
|
+
'mutation',
|
|
132
|
+
'orggetsubordinatesrecord',
|
|
133
|
+
],
|
|
134
|
+
/** Create orgGetSubordinatesRecord mutation key */ create: () => ['mutation', 'orggetsubordinatesrecord', 'create'],
|
|
135
|
+
/** Update orgGetSubordinatesRecord mutation key */ update: (id) => ['mutation', 'orggetsubordinatesrecord', 'update', id],
|
|
136
|
+
/** Delete orgGetSubordinatesRecord mutation key */ delete: (id) => ['mutation', 'orggetsubordinatesrecord', 'delete', id],
|
|
137
|
+
};
|
|
111
138
|
exports.orgGrantMutationKeys = {
|
|
112
139
|
/** All orgGrant mutation keys */ all: ['mutation', 'orggrant'],
|
|
113
140
|
/** Create orgGrant mutation key */ create: () => ['mutation', 'orggrant', 'create'],
|
|
@@ -236,7 +263,11 @@ exports.mutationKeys = {
|
|
|
236
263
|
appPermissionDefaultPermission: exports.appPermissionDefaultPermissionMutationKeys,
|
|
237
264
|
membershipType: exports.membershipTypeMutationKeys,
|
|
238
265
|
orgAdminGrant: exports.orgAdminGrantMutationKeys,
|
|
266
|
+
orgChartEdge: exports.orgChartEdgeMutationKeys,
|
|
267
|
+
orgChartEdgeGrant: exports.orgChartEdgeGrantMutationKeys,
|
|
239
268
|
orgClaimedInvite: exports.orgClaimedInviteMutationKeys,
|
|
269
|
+
orgGetManagersRecord: exports.orgGetManagersRecordMutationKeys,
|
|
270
|
+
orgGetSubordinatesRecord: exports.orgGetSubordinatesRecordMutationKeys,
|
|
240
271
|
orgGrant: exports.orgGrantMutationKeys,
|
|
241
272
|
orgInvite: exports.orgInviteMutationKeys,
|
|
242
273
|
orgMember: exports.orgMemberMutationKeys,
|
|
@@ -42,9 +42,17 @@ export * from './useDeleteMembershipTypeMutation';
|
|
|
42
42
|
export * from './useCreateOrgAdminGrantMutation';
|
|
43
43
|
export * from './useUpdateOrgAdminGrantMutation';
|
|
44
44
|
export * from './useDeleteOrgAdminGrantMutation';
|
|
45
|
+
export * from './useCreateOrgChartEdgeMutation';
|
|
46
|
+
export * from './useUpdateOrgChartEdgeMutation';
|
|
47
|
+
export * from './useDeleteOrgChartEdgeMutation';
|
|
48
|
+
export * from './useCreateOrgChartEdgeGrantMutation';
|
|
49
|
+
export * from './useUpdateOrgChartEdgeGrantMutation';
|
|
50
|
+
export * from './useDeleteOrgChartEdgeGrantMutation';
|
|
45
51
|
export * from './useCreateOrgClaimedInviteMutation';
|
|
46
52
|
export * from './useUpdateOrgClaimedInviteMutation';
|
|
47
53
|
export * from './useDeleteOrgClaimedInviteMutation';
|
|
54
|
+
export * from './useCreateOrgGetManagersRecordMutation';
|
|
55
|
+
export * from './useCreateOrgGetSubordinatesRecordMutation';
|
|
48
56
|
export * from './useCreateOrgGrantMutation';
|
|
49
57
|
export * from './useUpdateOrgGrantMutation';
|
|
50
58
|
export * from './useDeleteOrgGrantMutation';
|
|
@@ -58,9 +58,17 @@ __exportStar(require("./useDeleteMembershipTypeMutation"), exports);
|
|
|
58
58
|
__exportStar(require("./useCreateOrgAdminGrantMutation"), exports);
|
|
59
59
|
__exportStar(require("./useUpdateOrgAdminGrantMutation"), exports);
|
|
60
60
|
__exportStar(require("./useDeleteOrgAdminGrantMutation"), exports);
|
|
61
|
+
__exportStar(require("./useCreateOrgChartEdgeMutation"), exports);
|
|
62
|
+
__exportStar(require("./useUpdateOrgChartEdgeMutation"), exports);
|
|
63
|
+
__exportStar(require("./useDeleteOrgChartEdgeMutation"), exports);
|
|
64
|
+
__exportStar(require("./useCreateOrgChartEdgeGrantMutation"), exports);
|
|
65
|
+
__exportStar(require("./useUpdateOrgChartEdgeGrantMutation"), exports);
|
|
66
|
+
__exportStar(require("./useDeleteOrgChartEdgeGrantMutation"), exports);
|
|
61
67
|
__exportStar(require("./useCreateOrgClaimedInviteMutation"), exports);
|
|
62
68
|
__exportStar(require("./useUpdateOrgClaimedInviteMutation"), exports);
|
|
63
69
|
__exportStar(require("./useDeleteOrgClaimedInviteMutation"), exports);
|
|
70
|
+
__exportStar(require("./useCreateOrgGetManagersRecordMutation"), exports);
|
|
71
|
+
__exportStar(require("./useCreateOrgGetSubordinatesRecordMutation"), exports);
|
|
64
72
|
__exportStar(require("./useCreateOrgGrantMutation"), exports);
|
|
65
73
|
__exportStar(require("./useUpdateOrgGrantMutation"), exports);
|
|
66
74
|
__exportStar(require("./useDeleteOrgGrantMutation"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgChartEdgeGrantSelect, OrgChartEdgeGrantWithRelations, CreateOrgChartEdgeGrantInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgChartEdgeGrantSelect, OrgChartEdgeGrantWithRelations, CreateOrgChartEdgeGrantInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgChartEdgeGrantMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgChartEdgeGrantMutation<S extends OrgChartEdgeGrantSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgChartEdgeGrantSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgChartEdgeGrantSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgChartEdgeGrant: {
|
|
28
|
+
orgChartEdgeGrant: InferSelectResult<OrgChartEdgeGrantWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgChartEdgeGrantInput['orgChartEdgeGrant']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgChartEdgeGrant: {
|
|
32
|
+
orgChartEdgeGrant: InferSelectResult<OrgChartEdgeGrantWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgChartEdgeGrantInput['orgChartEdgeGrant']>;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.useCreateOrgChartEdgeGrantMutation = useCreateOrgChartEdgeGrantMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
10
|
const client_1 = require("../client");
|
|
11
11
|
const selection_1 = require("../selection");
|
|
12
12
|
const query_keys_1 = require("../query-keys");
|
|
13
13
|
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
-
function
|
|
14
|
+
function useCreateOrgChartEdgeGrantMutation(params) {
|
|
15
15
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
16
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
17
|
void _selection;
|
|
18
18
|
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
19
|
return (0, react_query_1.useMutation)({
|
|
20
|
-
mutationKey: mutation_keys_1.
|
|
20
|
+
mutationKey: mutation_keys_1.orgChartEdgeGrantMutationKeys.create(),
|
|
21
21
|
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
-
.
|
|
22
|
+
.orgChartEdgeGrant.create({
|
|
23
23
|
data,
|
|
24
24
|
select: args.select,
|
|
25
25
|
})
|
|
26
26
|
.unwrap(),
|
|
27
27
|
onSuccess: () => {
|
|
28
28
|
queryClient.invalidateQueries({
|
|
29
|
-
queryKey: query_keys_1.
|
|
29
|
+
queryKey: query_keys_1.orgChartEdgeGrantKeys.lists(),
|
|
30
30
|
});
|
|
31
31
|
},
|
|
32
32
|
...mutationOptions,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organizational chart edges defining parent-child reporting relationships between members within an entity
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgChartEdgeSelect, OrgChartEdgeWithRelations, CreateOrgChartEdgeInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgChartEdgeSelect, OrgChartEdgeWithRelations, CreateOrgChartEdgeInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Organizational chart edges defining parent-child reporting relationships between members within an entity
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgChartEdgeMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgChartEdgeMutation<S extends OrgChartEdgeSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgChartEdgeSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgChartEdgeSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgChartEdge: {
|
|
28
|
+
orgChartEdge: InferSelectResult<OrgChartEdgeWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgChartEdgeInput['orgChartEdge']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgChartEdge: {
|
|
32
|
+
orgChartEdge: InferSelectResult<OrgChartEdgeWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgChartEdgeInput['orgChartEdge']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Organizational chart edges defining parent-child reporting relationships between members within an entity
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useCreateOrgChartEdgeMutation = useCreateOrgChartEdgeMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreateOrgChartEdgeMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgChartEdgeMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.orgChartEdge.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.orgChartEdgeKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for OrgGetManagersRecord
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgGetManagersRecordSelect, OrgGetManagersRecordWithRelations, CreateOrgGetManagersRecordInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgGetManagersRecordSelect, OrgGetManagersRecordWithRelations, CreateOrgGetManagersRecordInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a OrgGetManagersRecord
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgGetManagersRecordMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgGetManagersRecordMutation<S extends OrgGetManagersRecordSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgGetManagersRecordSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgGetManagersRecordSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgGetManagersRecord: {
|
|
28
|
+
orgGetManagersRecord: InferSelectResult<OrgGetManagersRecordWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgGetManagersRecordInput['orgGetManagersRecord']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgGetManagersRecord: {
|
|
32
|
+
orgGetManagersRecord: InferSelectResult<OrgGetManagersRecordWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgGetManagersRecordInput['orgGetManagersRecord']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Create mutation hook for OrgGetManagersRecord
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useCreateOrgGetManagersRecordMutation = useCreateOrgGetManagersRecordMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreateOrgGetManagersRecordMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgGetManagersRecordMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.orgGetManagersRecord.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.orgGetManagersRecordKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for OrgGetSubordinatesRecord
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgGetSubordinatesRecordSelect, OrgGetSubordinatesRecordWithRelations, CreateOrgGetSubordinatesRecordInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgGetSubordinatesRecordSelect, OrgGetSubordinatesRecordWithRelations, CreateOrgGetSubordinatesRecordInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a OrgGetSubordinatesRecord
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgGetSubordinatesRecordMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgGetSubordinatesRecordMutation<S extends OrgGetSubordinatesRecordSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgGetSubordinatesRecordSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgGetSubordinatesRecordSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgGetSubordinatesRecord: {
|
|
28
|
+
orgGetSubordinatesRecord: InferSelectResult<OrgGetSubordinatesRecordWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgGetSubordinatesRecordInput['orgGetSubordinatesRecord']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgGetSubordinatesRecord: {
|
|
32
|
+
orgGetSubordinatesRecord: InferSelectResult<OrgGetSubordinatesRecordWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgGetSubordinatesRecordInput['orgGetSubordinatesRecord']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Create mutation hook for OrgGetSubordinatesRecord
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useCreateOrgGetSubordinatesRecordMutation = useCreateOrgGetSubordinatesRecordMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreateOrgGetSubordinatesRecordMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgGetSubordinatesRecordMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.orgGetSubordinatesRecord.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.orgGetSubordinatesRecordKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|