@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
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* List query hook for DomainType
|
|
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.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
8
|
+
exports.domainTypesQueryKey = void 0;
|
|
9
|
+
exports.useDomainTypesQuery = useDomainTypesQuery;
|
|
10
|
+
exports.fetchDomainTypesQuery = fetchDomainTypesQuery;
|
|
11
|
+
exports.prefetchDomainTypesQuery = prefetchDomainTypesQuery;
|
|
12
12
|
const react_query_1 = require("@tanstack/react-query");
|
|
13
13
|
const client_1 = require("../client");
|
|
14
14
|
const selection_1 = require("../selection");
|
|
15
15
|
const query_keys_1 = require("../query-keys");
|
|
16
16
|
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.
|
|
18
|
-
function
|
|
17
|
+
exports.domainTypesQueryKey = query_keys_1.domainTypeKeys.list;
|
|
18
|
+
function useDomainTypesQuery(params) {
|
|
19
19
|
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
20
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
21
|
void _selection;
|
|
22
22
|
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.
|
|
24
|
-
queryFn: () => (0, client_1.getClient)().
|
|
23
|
+
queryKey: query_keys_1.domainTypeKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().domainType.findMany(args).unwrap(),
|
|
25
25
|
...queryOptions,
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
async function
|
|
28
|
+
async function fetchDomainTypesQuery(params) {
|
|
29
29
|
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
-
return (0, client_1.getClient)().
|
|
30
|
+
return (0, client_1.getClient)().domainType.findMany(args).unwrap();
|
|
31
31
|
}
|
|
32
|
-
async function
|
|
32
|
+
async function prefetchDomainTypesQuery(queryClient, params) {
|
|
33
33
|
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
34
|
await queryClient.prefetchQuery({
|
|
35
|
-
queryKey: query_keys_1.
|
|
36
|
-
queryFn: () => (0, client_1.getClient)().
|
|
35
|
+
queryKey: query_keys_1.domainTypeKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().domainType.findMany(args).unwrap(),
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -10,13 +10,6 @@ export declare const apiKeys: {
|
|
|
10
10
|
/** Detail query keys */ readonly details: () => readonly ["api", "detail"];
|
|
11
11
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["api", "detail", string | number];
|
|
12
12
|
};
|
|
13
|
-
export declare const apiModuleKeys: {
|
|
14
|
-
/** All apiModule queries */ readonly all: readonly ["apimodule"];
|
|
15
|
-
/** List query keys */ readonly lists: () => readonly ["apimodule", "list"];
|
|
16
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["apimodule", "list", object];
|
|
17
|
-
/** Detail query keys */ readonly details: () => readonly ["apimodule", "detail"];
|
|
18
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["apimodule", "detail", string | number];
|
|
19
|
-
};
|
|
20
13
|
export declare const apiSchemaKeys: {
|
|
21
14
|
/** All apiSchema queries */ readonly all: readonly ["apischema"];
|
|
22
15
|
/** List query keys */ readonly lists: () => readonly ["apischema", "list"];
|
|
@@ -101,6 +94,13 @@ export declare const domainEventKeys: {
|
|
|
101
94
|
/** Detail query keys */ readonly details: () => readonly ["domainevent", "detail"];
|
|
102
95
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["domainevent", "detail", string | number];
|
|
103
96
|
};
|
|
97
|
+
export declare const domainTypeKeys: {
|
|
98
|
+
/** All domainType queries */ readonly all: readonly ["domaintype"];
|
|
99
|
+
/** List query keys */ readonly lists: () => readonly ["domaintype", "list"];
|
|
100
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["domaintype", "list", object];
|
|
101
|
+
/** Detail query keys */ readonly details: () => readonly ["domaintype", "detail"];
|
|
102
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["domaintype", "detail", string | number];
|
|
103
|
+
};
|
|
104
104
|
export declare const domainVerificationKeys: {
|
|
105
105
|
/** All domainVerification queries */ readonly all: readonly ["domainverification"];
|
|
106
106
|
/** List query keys */ readonly lists: () => readonly ["domainverification", "list"];
|
|
@@ -206,13 +206,6 @@ export declare const platformApiKeys: {
|
|
|
206
206
|
/** Detail query keys */ readonly details: () => readonly ["platformapi", "detail"];
|
|
207
207
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformapi", "detail", string | number];
|
|
208
208
|
};
|
|
209
|
-
export declare const platformApiModuleKeys: {
|
|
210
|
-
/** All platformApiModule queries */ readonly all: readonly ["platformapimodule"];
|
|
211
|
-
/** List query keys */ readonly lists: () => readonly ["platformapimodule", "list"];
|
|
212
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["platformapimodule", "list", object];
|
|
213
|
-
/** Detail query keys */ readonly details: () => readonly ["platformapimodule", "detail"];
|
|
214
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformapimodule", "detail", string | number];
|
|
215
|
-
};
|
|
216
209
|
export declare const platformApiSchemaKeys: {
|
|
217
210
|
/** All platformApiSchema queries */ readonly all: readonly ["platformapischema"];
|
|
218
211
|
/** List query keys */ readonly lists: () => readonly ["platformapischema", "list"];
|
|
@@ -494,13 +487,6 @@ export declare const queryKeys: {
|
|
|
494
487
|
/** Detail query keys */ readonly details: () => readonly ["api", "detail"];
|
|
495
488
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["api", "detail", string | number];
|
|
496
489
|
};
|
|
497
|
-
readonly apiModule: {
|
|
498
|
-
/** All apiModule queries */ readonly all: readonly ["apimodule"];
|
|
499
|
-
/** List query keys */ readonly lists: () => readonly ["apimodule", "list"];
|
|
500
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["apimodule", "list", object];
|
|
501
|
-
/** Detail query keys */ readonly details: () => readonly ["apimodule", "detail"];
|
|
502
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["apimodule", "detail", string | number];
|
|
503
|
-
};
|
|
504
490
|
readonly apiSchema: {
|
|
505
491
|
/** All apiSchema queries */ readonly all: readonly ["apischema"];
|
|
506
492
|
/** List query keys */ readonly lists: () => readonly ["apischema", "list"];
|
|
@@ -585,6 +571,13 @@ export declare const queryKeys: {
|
|
|
585
571
|
/** Detail query keys */ readonly details: () => readonly ["domainevent", "detail"];
|
|
586
572
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["domainevent", "detail", string | number];
|
|
587
573
|
};
|
|
574
|
+
readonly domainType: {
|
|
575
|
+
/** All domainType queries */ readonly all: readonly ["domaintype"];
|
|
576
|
+
/** List query keys */ readonly lists: () => readonly ["domaintype", "list"];
|
|
577
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["domaintype", "list", object];
|
|
578
|
+
/** Detail query keys */ readonly details: () => readonly ["domaintype", "detail"];
|
|
579
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["domaintype", "detail", string | number];
|
|
580
|
+
};
|
|
588
581
|
readonly domainVerification: {
|
|
589
582
|
/** All domainVerification queries */ readonly all: readonly ["domainverification"];
|
|
590
583
|
/** List query keys */ readonly lists: () => readonly ["domainverification", "list"];
|
|
@@ -690,13 +683,6 @@ export declare const queryKeys: {
|
|
|
690
683
|
/** Detail query keys */ readonly details: () => readonly ["platformapi", "detail"];
|
|
691
684
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformapi", "detail", string | number];
|
|
692
685
|
};
|
|
693
|
-
readonly platformApiModule: {
|
|
694
|
-
/** All platformApiModule queries */ readonly all: readonly ["platformapimodule"];
|
|
695
|
-
/** List query keys */ readonly lists: () => readonly ["platformapimodule", "list"];
|
|
696
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["platformapimodule", "list", object];
|
|
697
|
-
/** Detail query keys */ readonly details: () => readonly ["platformapimodule", "detail"];
|
|
698
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformapimodule", "detail", string | number];
|
|
699
|
-
};
|
|
700
686
|
readonly platformApiSchema: {
|
|
701
687
|
/** All platformApiSchema queries */ readonly all: readonly ["platformapischema"];
|
|
702
688
|
/** List query keys */ readonly lists: () => readonly ["platformapischema", "list"];
|
package/api/hooks/query-keys.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.siteKeys = exports.schemaGrantKeys = exports.schemaKeys = exports.routeKeys = exports.routeBindingKeys = exports.rlsSettingKeys = exports.pubkeySettingKeys = exports.primaryKeyConstraintKeys = exports.policyKeys = exports.platformSiteThemeKeys = exports.platformSiteModuleKeys = exports.platformSiteMetadatumKeys = exports.platformSiteKeys = exports.platformManagedDomainKeys = exports.platformDomainVerificationKeys = exports.platformDomainEventKeys = exports.platformDomainKeys = exports.platformCorsSettingKeys = exports.platformApiSettingKeys = exports.platformApiSchemaKeys = exports.
|
|
9
|
-
exports.queryKeys = exports.customQueryKeys = exports.webauthnSettingKeys = exports.viewTableKeys = exports.viewRuleKeys = exports.viewGrantKeys = exports.viewKeys = exports.uniqueConstraintKeys = exports.triggerFunctionKeys = exports.triggerKeys = exports.tableGrantKeys = exports.tableKeys = exports.sqlActionKeys = exports.spatialRelationKeys = exports.siteThemeKeys = exports.siteModuleKeys =
|
|
8
|
+
exports.siteMetadatumKeys = exports.siteKeys = exports.schemaGrantKeys = exports.schemaKeys = exports.routeKeys = exports.routeBindingKeys = exports.rlsSettingKeys = exports.pubkeySettingKeys = exports.primaryKeyConstraintKeys = exports.policyKeys = exports.platformSiteThemeKeys = exports.platformSiteModuleKeys = exports.platformSiteMetadatumKeys = exports.platformSiteKeys = exports.platformManagedDomainKeys = exports.platformDomainVerificationKeys = exports.platformDomainEventKeys = exports.platformDomainKeys = exports.platformCorsSettingKeys = exports.platformApiSettingKeys = exports.platformApiSchemaKeys = exports.platformApiKeys = exports.partitionKeys = exports.nodeTypeRegistryKeys = exports.managedDomainKeys = exports.indexKeys = exports.httpRouteKeys = exports.hostnameBindingKeys = exports.functionKeys = exports.fullTextSearchKeys = exports.foreignKeyConstraintKeys = exports.fieldKeys = exports.exclusionConstraintKeys = exports.enumKeys = exports.embeddingChunkKeys = exports.domainVerificationKeys = exports.domainTypeKeys = exports.domainEventKeys = exports.domainKeys = exports.defaultPrivilegeKeys = exports.databaseTransferKeys = exports.databaseSettingKeys = exports.databaseKeys = exports.corsSettingKeys = exports.compositeTypeKeys = exports.checkConstraintKeys = exports.astMigrationKeys = exports.apiSettingKeys = exports.apiSchemaKeys = exports.apiKeys = void 0;
|
|
9
|
+
exports.queryKeys = exports.customQueryKeys = exports.webauthnSettingKeys = exports.viewTableKeys = exports.viewRuleKeys = exports.viewGrantKeys = exports.viewKeys = exports.uniqueConstraintKeys = exports.triggerFunctionKeys = exports.triggerKeys = exports.tableGrantKeys = exports.tableKeys = exports.sqlActionKeys = exports.spatialRelationKeys = exports.siteThemeKeys = exports.siteModuleKeys = void 0;
|
|
10
10
|
// ============================================================================
|
|
11
11
|
// This file provides a centralized, type-safe query key factory following
|
|
12
12
|
// the lukemorales query-key-factory pattern for React Query.
|
|
@@ -27,13 +27,6 @@ exports.apiKeys = {
|
|
|
27
27
|
/** Detail query keys */ details: () => [...exports.apiKeys.all, 'detail'],
|
|
28
28
|
/** Detail query key for specific item */ detail: (id) => [...exports.apiKeys.details(), id],
|
|
29
29
|
};
|
|
30
|
-
exports.apiModuleKeys = {
|
|
31
|
-
/** All apiModule queries */ all: ['apimodule'],
|
|
32
|
-
/** List query keys */ lists: () => [...exports.apiModuleKeys.all, 'list'],
|
|
33
|
-
/** List query key with variables */ list: (variables) => [...exports.apiModuleKeys.lists(), variables],
|
|
34
|
-
/** Detail query keys */ details: () => [...exports.apiModuleKeys.all, 'detail'],
|
|
35
|
-
/** Detail query key for specific item */ detail: (id) => [...exports.apiModuleKeys.details(), id],
|
|
36
|
-
};
|
|
37
30
|
exports.apiSchemaKeys = {
|
|
38
31
|
/** All apiSchema queries */ all: ['apischema'],
|
|
39
32
|
/** List query keys */ lists: () => [...exports.apiSchemaKeys.all, 'list'],
|
|
@@ -118,6 +111,13 @@ exports.domainEventKeys = {
|
|
|
118
111
|
/** Detail query keys */ details: () => [...exports.domainEventKeys.all, 'detail'],
|
|
119
112
|
/** Detail query key for specific item */ detail: (id) => [...exports.domainEventKeys.details(), id],
|
|
120
113
|
};
|
|
114
|
+
exports.domainTypeKeys = {
|
|
115
|
+
/** All domainType queries */ all: ['domaintype'],
|
|
116
|
+
/** List query keys */ lists: () => [...exports.domainTypeKeys.all, 'list'],
|
|
117
|
+
/** List query key with variables */ list: (variables) => [...exports.domainTypeKeys.lists(), variables],
|
|
118
|
+
/** Detail query keys */ details: () => [...exports.domainTypeKeys.all, 'detail'],
|
|
119
|
+
/** Detail query key for specific item */ detail: (id) => [...exports.domainTypeKeys.details(), id],
|
|
120
|
+
};
|
|
121
121
|
exports.domainVerificationKeys = {
|
|
122
122
|
/** All domainVerification queries */ all: ['domainverification'],
|
|
123
123
|
/** List query keys */ lists: () => [...exports.domainVerificationKeys.all, 'list'],
|
|
@@ -223,13 +223,6 @@ exports.platformApiKeys = {
|
|
|
223
223
|
/** Detail query keys */ details: () => [...exports.platformApiKeys.all, 'detail'],
|
|
224
224
|
/** Detail query key for specific item */ detail: (id) => [...exports.platformApiKeys.details(), id],
|
|
225
225
|
};
|
|
226
|
-
exports.platformApiModuleKeys = {
|
|
227
|
-
/** All platformApiModule queries */ all: ['platformapimodule'],
|
|
228
|
-
/** List query keys */ lists: () => [...exports.platformApiModuleKeys.all, 'list'],
|
|
229
|
-
/** List query key with variables */ list: (variables) => [...exports.platformApiModuleKeys.lists(), variables],
|
|
230
|
-
/** Detail query keys */ details: () => [...exports.platformApiModuleKeys.all, 'detail'],
|
|
231
|
-
/** Detail query key for specific item */ detail: (id) => [...exports.platformApiModuleKeys.details(), id],
|
|
232
|
-
};
|
|
233
226
|
exports.platformApiSchemaKeys = {
|
|
234
227
|
/** All platformApiSchema queries */ all: ['platformapischema'],
|
|
235
228
|
/** List query keys */ lists: () => [...exports.platformApiSchemaKeys.all, 'list'],
|
|
@@ -508,7 +501,6 @@ exports.customQueryKeys = {
|
|
|
508
501
|
*/
|
|
509
502
|
exports.queryKeys = {
|
|
510
503
|
api: exports.apiKeys,
|
|
511
|
-
apiModule: exports.apiModuleKeys,
|
|
512
504
|
apiSchema: exports.apiSchemaKeys,
|
|
513
505
|
apiSetting: exports.apiSettingKeys,
|
|
514
506
|
astMigration: exports.astMigrationKeys,
|
|
@@ -521,6 +513,7 @@ exports.queryKeys = {
|
|
|
521
513
|
defaultPrivilege: exports.defaultPrivilegeKeys,
|
|
522
514
|
domain: exports.domainKeys,
|
|
523
515
|
domainEvent: exports.domainEventKeys,
|
|
516
|
+
domainType: exports.domainTypeKeys,
|
|
524
517
|
domainVerification: exports.domainVerificationKeys,
|
|
525
518
|
embeddingChunk: exports.embeddingChunkKeys,
|
|
526
519
|
enum: exports.enumKeys,
|
|
@@ -536,7 +529,6 @@ exports.queryKeys = {
|
|
|
536
529
|
nodeTypeRegistry: exports.nodeTypeRegistryKeys,
|
|
537
530
|
partition: exports.partitionKeys,
|
|
538
531
|
platformApi: exports.platformApiKeys,
|
|
539
|
-
platformApiModule: exports.platformApiModuleKeys,
|
|
540
532
|
platformApiSchema: exports.platformApiSchemaKeys,
|
|
541
533
|
platformApiSetting: exports.platformApiSettingKeys,
|
|
542
534
|
platformCorsSetting: exports.platformCorsSettingKeys,
|
package/api/orm/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
2
|
import { ApiModel } from './models/api';
|
|
3
|
-
import { ApiModuleModel } from './models/apiModule';
|
|
4
3
|
import { ApiSchemaModel } from './models/apiSchema';
|
|
5
4
|
import { ApiSettingModel } from './models/apiSetting';
|
|
6
5
|
import { AstMigrationModel } from './models/astMigration';
|
|
@@ -13,6 +12,7 @@ import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
|
13
12
|
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
14
13
|
import { DomainModel } from './models/domain';
|
|
15
14
|
import { DomainEventModel } from './models/domainEvent';
|
|
15
|
+
import { DomainTypeModel } from './models/domainType';
|
|
16
16
|
import { DomainVerificationModel } from './models/domainVerification';
|
|
17
17
|
import { EmbeddingChunkModel } from './models/embeddingChunk';
|
|
18
18
|
import { EnumModel } from './models/enum';
|
|
@@ -28,7 +28,6 @@ import { ManagedDomainModel } from './models/managedDomain';
|
|
|
28
28
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
29
29
|
import { PartitionModel } from './models/partition';
|
|
30
30
|
import { PlatformApiModel } from './models/platformApi';
|
|
31
|
-
import { PlatformApiModuleModel } from './models/platformApiModule';
|
|
32
31
|
import { PlatformApiSchemaModel } from './models/platformApiSchema';
|
|
33
32
|
import { PlatformApiSettingModel } from './models/platformApiSetting';
|
|
34
33
|
import { PlatformCorsSettingModel } from './models/platformCorsSetting';
|
|
@@ -96,7 +95,6 @@ export { createMutationOperations } from './mutation';
|
|
|
96
95
|
*/
|
|
97
96
|
export declare function createClient(config: OrmClientConfig): {
|
|
98
97
|
api: ApiModel;
|
|
99
|
-
apiModule: ApiModuleModel;
|
|
100
98
|
apiSchema: ApiSchemaModel;
|
|
101
99
|
apiSetting: ApiSettingModel;
|
|
102
100
|
astMigration: AstMigrationModel;
|
|
@@ -109,6 +107,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
109
107
|
defaultPrivilege: DefaultPrivilegeModel;
|
|
110
108
|
domain: DomainModel;
|
|
111
109
|
domainEvent: DomainEventModel;
|
|
110
|
+
domainType: DomainTypeModel;
|
|
112
111
|
domainVerification: DomainVerificationModel;
|
|
113
112
|
embeddingChunk: EmbeddingChunkModel;
|
|
114
113
|
enum: EnumModel;
|
|
@@ -124,7 +123,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
124
123
|
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
125
124
|
partition: PartitionModel;
|
|
126
125
|
platformApi: PlatformApiModel;
|
|
127
|
-
platformApiModule: PlatformApiModuleModel;
|
|
128
126
|
platformApiSchema: PlatformApiSchemaModel;
|
|
129
127
|
platformApiSetting: PlatformApiSettingModel;
|
|
130
128
|
platformCorsSetting: PlatformCorsSettingModel;
|
package/api/orm/index.js
CHANGED
|
@@ -23,7 +23,6 @@ exports.createClient = createClient;
|
|
|
23
23
|
*/
|
|
24
24
|
const client_1 = require("./client");
|
|
25
25
|
const api_1 = require("./models/api");
|
|
26
|
-
const apiModule_1 = require("./models/apiModule");
|
|
27
26
|
const apiSchema_1 = require("./models/apiSchema");
|
|
28
27
|
const apiSetting_1 = require("./models/apiSetting");
|
|
29
28
|
const astMigration_1 = require("./models/astMigration");
|
|
@@ -36,6 +35,7 @@ const databaseTransfer_1 = require("./models/databaseTransfer");
|
|
|
36
35
|
const defaultPrivilege_1 = require("./models/defaultPrivilege");
|
|
37
36
|
const domain_1 = require("./models/domain");
|
|
38
37
|
const domainEvent_1 = require("./models/domainEvent");
|
|
38
|
+
const domainType_1 = require("./models/domainType");
|
|
39
39
|
const domainVerification_1 = require("./models/domainVerification");
|
|
40
40
|
const embeddingChunk_1 = require("./models/embeddingChunk");
|
|
41
41
|
const enum_1 = require("./models/enum");
|
|
@@ -51,7 +51,6 @@ const managedDomain_1 = require("./models/managedDomain");
|
|
|
51
51
|
const nodeTypeRegistry_1 = require("./models/nodeTypeRegistry");
|
|
52
52
|
const partition_1 = require("./models/partition");
|
|
53
53
|
const platformApi_1 = require("./models/platformApi");
|
|
54
|
-
const platformApiModule_1 = require("./models/platformApiModule");
|
|
55
54
|
const platformApiSchema_1 = require("./models/platformApiSchema");
|
|
56
55
|
const platformApiSetting_1 = require("./models/platformApiSetting");
|
|
57
56
|
const platformCorsSetting_1 = require("./models/platformCorsSetting");
|
|
@@ -127,7 +126,6 @@ function createClient(config) {
|
|
|
127
126
|
const client = new client_1.OrmClient(config);
|
|
128
127
|
return {
|
|
129
128
|
api: new api_1.ApiModel(client),
|
|
130
|
-
apiModule: new apiModule_1.ApiModuleModel(client),
|
|
131
129
|
apiSchema: new apiSchema_1.ApiSchemaModel(client),
|
|
132
130
|
apiSetting: new apiSetting_1.ApiSettingModel(client),
|
|
133
131
|
astMigration: new astMigration_1.AstMigrationModel(client),
|
|
@@ -140,6 +138,7 @@ function createClient(config) {
|
|
|
140
138
|
defaultPrivilege: new defaultPrivilege_1.DefaultPrivilegeModel(client),
|
|
141
139
|
domain: new domain_1.DomainModel(client),
|
|
142
140
|
domainEvent: new domainEvent_1.DomainEventModel(client),
|
|
141
|
+
domainType: new domainType_1.DomainTypeModel(client),
|
|
143
142
|
domainVerification: new domainVerification_1.DomainVerificationModel(client),
|
|
144
143
|
embeddingChunk: new embeddingChunk_1.EmbeddingChunkModel(client),
|
|
145
144
|
enum: new enum_1.EnumModel(client),
|
|
@@ -155,7 +154,6 @@ function createClient(config) {
|
|
|
155
154
|
nodeTypeRegistry: new nodeTypeRegistry_1.NodeTypeRegistryModel(client),
|
|
156
155
|
partition: new partition_1.PartitionModel(client),
|
|
157
156
|
platformApi: new platformApi_1.PlatformApiModel(client),
|
|
158
|
-
platformApiModule: new platformApiModule_1.PlatformApiModuleModel(client),
|
|
159
157
|
platformApiSchema: new platformApiSchema_1.PlatformApiSchemaModel(client),
|
|
160
158
|
platformApiSetting: new platformApiSetting_1.PlatformApiSettingModel(client),
|
|
161
159
|
platformCorsSetting: new platformCorsSetting_1.PlatformCorsSettingModel(client),
|