@constructive-io/react 0.10.16 → 0.10.18
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/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +24 -12
- package/esm/public/hooks/invalidation.js +65 -33
- package/esm/public/hooks/mutation-keys.d.ts +64 -30
- package/esm/public/hooks/mutation-keys.js +55 -23
- package/esm/public/hooks/mutations/index.d.ts +16 -5
- package/esm/public/hooks/mutations/index.js +16 -5
- package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateStorageModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionIndexMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionRelationMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionTableMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +23 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.js +37 -0
- package/esm/public/hooks/queries/index.d.ts +8 -3
- package/esm/public/hooks/queries/index.js +8 -3
- package/esm/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useBlueprintConstructionQuery.js +47 -0
- package/esm/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useBlueprintConstructionsQuery.js +32 -0
- package/esm/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useBlueprintQuery.js +1 -1
- package/esm/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useBlueprintsQuery.js +1 -1
- package/esm/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
- package/esm/public/hooks/queries/useResolveBlueprintTableQuery.js +47 -0
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/esm/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useStorageModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useStorageModulesQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +58 -28
- package/esm/public/hooks/query-keys.js +33 -16
- package/esm/public/orm/index.d.ts +53 -19
- package/esm/public/orm/index.js +8 -4
- package/esm/public/orm/input-types.d.ts +886 -249
- package/esm/public/orm/input-types.js +5 -0
- package/esm/public/orm/models/blueprintConstruction.d.ts +56 -0
- package/esm/public/orm/models/blueprintConstruction.js +96 -0
- package/esm/public/orm/models/index.d.ts +4 -2
- package/esm/public/orm/models/index.js +4 -2
- package/esm/public/orm/models/storageModule.d.ts +56 -0
- package/esm/public/orm/models/storageModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +86 -26
- package/esm/public/orm/mutation/index.js +96 -36
- package/esm/public/orm/query/index.d.ts +16 -0
- package/esm/public/orm/query/index.js +28 -0
- package/esm/public/schema-types.d.ts +990 -645
- package/esm/public/types.d.ts +42 -18
- package/package.json +3 -3
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +24 -12
- package/public/hooks/invalidation.js +64 -32
- package/public/hooks/mutation-keys.d.ts +64 -30
- package/public/hooks/mutation-keys.js +58 -26
- package/public/hooks/mutations/index.d.ts +16 -5
- package/public/hooks/mutations/index.js +16 -5
- package/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +34 -0
- package/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateStorageModuleMutation.js +34 -0
- package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +39 -0
- package/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteStorageModuleMutation.js +39 -0
- package/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionFullTextSearchMutation.js +26 -0
- package/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionIndexMutation.js +26 -0
- package/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionRelationMutation.js +26 -0
- package/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionTableMutation.js +26 -0
- package/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +26 -0
- package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +40 -0
- package/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateStorageModuleMutation.js +40 -0
- package/public/hooks/queries/index.d.ts +8 -3
- package/public/hooks/queries/index.js +8 -3
- package/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
- package/public/hooks/queries/useBlueprintConstructionQuery.js +53 -0
- package/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
- package/public/hooks/queries/useBlueprintConstructionsQuery.js +38 -0
- package/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
- package/public/hooks/queries/useBlueprintQuery.js +1 -1
- package/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
- package/public/hooks/queries/useBlueprintsQuery.js +1 -1
- package/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
- package/public/hooks/queries/useResolveBlueprintTableQuery.js +53 -0
- package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useStorageModuleQuery.js +53 -0
- package/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useStorageModulesQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +58 -28
- package/public/hooks/query-keys.js +36 -19
- package/public/orm/index.d.ts +53 -19
- package/public/orm/index.js +8 -4
- package/public/orm/input-types.d.ts +886 -249
- package/public/orm/input-types.js +5 -0
- package/public/orm/models/blueprintConstruction.d.ts +56 -0
- package/public/orm/models/blueprintConstruction.js +100 -0
- package/public/orm/models/index.d.ts +4 -2
- package/public/orm/models/index.js +11 -7
- package/public/orm/models/storageModule.d.ts +56 -0
- package/public/orm/models/storageModule.js +100 -0
- package/public/orm/mutation/index.d.ts +86 -26
- package/public/orm/mutation/index.js +96 -36
- package/public/orm/query/index.d.ts +16 -0
- package/public/orm/query/index.js +28 -0
- package/public/schema-types.d.ts +990 -645
- package/public/types.d.ts +42 -18
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for StorageModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
+
import type { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { StorageModuleSelect, StorageModuleWithRelations, StorageModuleFilter, StorageModuleOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { StorageModuleSelect, StorageModuleWithRelations, StorageModuleFilter, StorageModuleOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const storageModulesQueryKey: (variables?: object) => readonly ["storagemodule", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Query hook for fetching StorageModule list
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useStorageModulesQuery({
|
|
19
|
+
* selection: {
|
|
20
|
+
* fields: { id: true, name: true },
|
|
21
|
+
* where: { name: { equalTo: "example" } },
|
|
22
|
+
* orderBy: ['CREATED_AT_DESC'],
|
|
23
|
+
* first: 10,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function useStorageModulesQuery<S extends StorageModuleSelect, TData = {
|
|
29
|
+
storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, StorageModuleFilter, StorageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Fetch StorageModule list without React hooks
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchStorageModulesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchStorageModulesQuery<S extends StorageModuleSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, StorageModuleFilter, StorageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Prefetch StorageModule list for SSR or cache warming
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchStorageModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchStorageModulesQuery<S extends StorageModuleSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, StorageModuleFilter, StorageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for StorageModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useQuery } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildListSelectionArgs } from '../selection';
|
|
9
|
+
import { storageModuleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const storageModulesQueryKey = storageModuleKeys.list;
|
|
12
|
+
export function useStorageModulesQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: storageModuleKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().storageModule.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchStorageModulesQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().storageModule.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchStorageModulesQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: storageModuleKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().storageModule.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
@@ -3,13 +3,6 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export declare const getAllRecordKeys: {
|
|
7
|
-
/** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
|
|
8
|
-
/** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
|
|
9
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
|
|
10
|
-
/** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
|
|
11
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
|
|
12
|
-
};
|
|
13
6
|
export declare const orgGetManagersRecordKeys: {
|
|
14
7
|
/** All orgGetManagersRecord queries */ readonly all: readonly ["orggetmanagersrecord"];
|
|
15
8
|
/** List query keys */ readonly lists: () => readonly ["orggetmanagersrecord", "list"];
|
|
@@ -24,6 +17,13 @@ export declare const orgGetSubordinatesRecordKeys: {
|
|
|
24
17
|
/** Detail query keys */ readonly details: () => readonly ["orggetsubordinatesrecord", "detail"];
|
|
25
18
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orggetsubordinatesrecord", "detail", string | number];
|
|
26
19
|
};
|
|
20
|
+
export declare const getAllRecordKeys: {
|
|
21
|
+
/** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
|
|
22
|
+
/** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
|
|
23
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
|
|
24
|
+
/** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
|
|
25
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
|
|
26
|
+
};
|
|
27
27
|
export declare const objectKeys: {
|
|
28
28
|
/** All object queries */ readonly all: readonly ["object"];
|
|
29
29
|
/** List query keys */ readonly lists: () => readonly ["object", "list"];
|
|
@@ -444,6 +444,20 @@ export declare const blueprintTemplateKeys: {
|
|
|
444
444
|
/** Detail query keys */ readonly details: () => readonly ["blueprinttemplate", "detail"];
|
|
445
445
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprinttemplate", "detail", string | number];
|
|
446
446
|
};
|
|
447
|
+
export declare const blueprintConstructionKeys: {
|
|
448
|
+
/** All blueprintConstruction queries */ readonly all: readonly ["blueprintconstruction"];
|
|
449
|
+
/** List query keys */ readonly lists: () => readonly ["blueprintconstruction", "list"];
|
|
450
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["blueprintconstruction", "list", object];
|
|
451
|
+
/** Detail query keys */ readonly details: () => readonly ["blueprintconstruction", "detail"];
|
|
452
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprintconstruction", "detail", string | number];
|
|
453
|
+
};
|
|
454
|
+
export declare const storageModuleKeys: {
|
|
455
|
+
/** All storageModule queries */ readonly all: readonly ["storagemodule"];
|
|
456
|
+
/** List query keys */ readonly lists: () => readonly ["storagemodule", "list"];
|
|
457
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["storagemodule", "list", object];
|
|
458
|
+
/** Detail query keys */ readonly details: () => readonly ["storagemodule", "detail"];
|
|
459
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["storagemodule", "detail", string | number];
|
|
460
|
+
};
|
|
447
461
|
export declare const databaseProvisionModuleKeys: {
|
|
448
462
|
/** All databaseProvisionModule queries */ readonly all: readonly ["databaseprovisionmodule"];
|
|
449
463
|
/** List query keys */ readonly lists: () => readonly ["databaseprovisionmodule", "list"];
|
|
@@ -654,13 +668,6 @@ export declare const roleTypeKeys: {
|
|
|
654
668
|
/** Detail query keys */ readonly details: () => readonly ["roletype", "detail"];
|
|
655
669
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["roletype", "detail", string | number];
|
|
656
670
|
};
|
|
657
|
-
export declare const migrateFileKeys: {
|
|
658
|
-
/** All migrateFile queries */ readonly all: readonly ["migratefile"];
|
|
659
|
-
/** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
|
|
660
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
|
|
661
|
-
/** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
|
|
662
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
|
|
663
|
-
};
|
|
664
671
|
export declare const appLimitDefaultKeys: {
|
|
665
672
|
/** All appLimitDefault queries */ readonly all: readonly ["applimitdefault"];
|
|
666
673
|
/** List query keys */ readonly lists: () => readonly ["applimitdefault", "list"];
|
|
@@ -675,6 +682,13 @@ export declare const orgLimitDefaultKeys: {
|
|
|
675
682
|
/** Detail query keys */ readonly details: () => readonly ["orglimitdefault", "detail"];
|
|
676
683
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orglimitdefault", "detail", string | number];
|
|
677
684
|
};
|
|
685
|
+
export declare const migrateFileKeys: {
|
|
686
|
+
/** All migrateFile queries */ readonly all: readonly ["migratefile"];
|
|
687
|
+
/** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
|
|
688
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
|
|
689
|
+
/** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
|
|
690
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
|
|
691
|
+
};
|
|
678
692
|
export declare const membershipTypeKeys: {
|
|
679
693
|
/** All membershipType queries */ readonly all: readonly ["membershiptype"];
|
|
680
694
|
/** List query keys */ readonly lists: () => readonly ["membershiptype", "list"];
|
|
@@ -763,6 +777,7 @@ export declare const customQueryKeys: {
|
|
|
763
777
|
/** Query key for orgIsManagerOf */ readonly orgIsManagerOf: (variables?: object) => readonly ["orgIsManagerOf", object];
|
|
764
778
|
/** Query key for appPermissionsGetMask */ readonly appPermissionsGetMask: (variables?: object) => readonly ["appPermissionsGetMask", object];
|
|
765
779
|
/** Query key for orgPermissionsGetMask */ readonly orgPermissionsGetMask: (variables?: object) => readonly ["orgPermissionsGetMask", object];
|
|
780
|
+
/** Query key for resolveBlueprintTable */ readonly resolveBlueprintTable: (variables?: object) => readonly ["resolveBlueprintTable", object];
|
|
766
781
|
/** Query key for appPermissionsGetMaskByNames */ readonly appPermissionsGetMaskByNames: (variables?: object) => readonly ["appPermissionsGetMaskByNames", object];
|
|
767
782
|
/** Query key for orgPermissionsGetMaskByNames */ readonly orgPermissionsGetMaskByNames: (variables?: object) => readonly ["orgPermissionsGetMaskByNames", object];
|
|
768
783
|
/** Query key for getAllObjectsFromRoot */ readonly getAllObjectsFromRoot: (variables?: object) => readonly ["getAllObjectsFromRoot", object];
|
|
@@ -796,13 +811,6 @@ export declare const customQueryKeys: {
|
|
|
796
811
|
* ```
|
|
797
812
|
*/
|
|
798
813
|
export declare const queryKeys: {
|
|
799
|
-
readonly getAllRecord: {
|
|
800
|
-
/** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
|
|
801
|
-
/** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
|
|
802
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
|
|
803
|
-
/** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
|
|
804
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
|
|
805
|
-
};
|
|
806
814
|
readonly orgGetManagersRecord: {
|
|
807
815
|
/** All orgGetManagersRecord queries */ readonly all: readonly ["orggetmanagersrecord"];
|
|
808
816
|
/** List query keys */ readonly lists: () => readonly ["orggetmanagersrecord", "list"];
|
|
@@ -817,6 +825,13 @@ export declare const queryKeys: {
|
|
|
817
825
|
/** Detail query keys */ readonly details: () => readonly ["orggetsubordinatesrecord", "detail"];
|
|
818
826
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orggetsubordinatesrecord", "detail", string | number];
|
|
819
827
|
};
|
|
828
|
+
readonly getAllRecord: {
|
|
829
|
+
/** All getAllRecord queries */ readonly all: readonly ["getallrecord"];
|
|
830
|
+
/** List query keys */ readonly lists: () => readonly ["getallrecord", "list"];
|
|
831
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["getallrecord", "list", object];
|
|
832
|
+
/** Detail query keys */ readonly details: () => readonly ["getallrecord", "detail"];
|
|
833
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getallrecord", "detail", string | number];
|
|
834
|
+
};
|
|
820
835
|
readonly object: {
|
|
821
836
|
/** All object queries */ readonly all: readonly ["object"];
|
|
822
837
|
/** List query keys */ readonly lists: () => readonly ["object", "list"];
|
|
@@ -1237,6 +1252,20 @@ export declare const queryKeys: {
|
|
|
1237
1252
|
/** Detail query keys */ readonly details: () => readonly ["blueprinttemplate", "detail"];
|
|
1238
1253
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprinttemplate", "detail", string | number];
|
|
1239
1254
|
};
|
|
1255
|
+
readonly blueprintConstruction: {
|
|
1256
|
+
/** All blueprintConstruction queries */ readonly all: readonly ["blueprintconstruction"];
|
|
1257
|
+
/** List query keys */ readonly lists: () => readonly ["blueprintconstruction", "list"];
|
|
1258
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["blueprintconstruction", "list", object];
|
|
1259
|
+
/** Detail query keys */ readonly details: () => readonly ["blueprintconstruction", "detail"];
|
|
1260
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["blueprintconstruction", "detail", string | number];
|
|
1261
|
+
};
|
|
1262
|
+
readonly storageModule: {
|
|
1263
|
+
/** All storageModule queries */ readonly all: readonly ["storagemodule"];
|
|
1264
|
+
/** List query keys */ readonly lists: () => readonly ["storagemodule", "list"];
|
|
1265
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["storagemodule", "list", object];
|
|
1266
|
+
/** Detail query keys */ readonly details: () => readonly ["storagemodule", "detail"];
|
|
1267
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["storagemodule", "detail", string | number];
|
|
1268
|
+
};
|
|
1240
1269
|
readonly databaseProvisionModule: {
|
|
1241
1270
|
/** All databaseProvisionModule queries */ readonly all: readonly ["databaseprovisionmodule"];
|
|
1242
1271
|
/** List query keys */ readonly lists: () => readonly ["databaseprovisionmodule", "list"];
|
|
@@ -1447,13 +1476,6 @@ export declare const queryKeys: {
|
|
|
1447
1476
|
/** Detail query keys */ readonly details: () => readonly ["roletype", "detail"];
|
|
1448
1477
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["roletype", "detail", string | number];
|
|
1449
1478
|
};
|
|
1450
|
-
readonly migrateFile: {
|
|
1451
|
-
/** All migrateFile queries */ readonly all: readonly ["migratefile"];
|
|
1452
|
-
/** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
|
|
1453
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
|
|
1454
|
-
/** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
|
|
1455
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
|
|
1456
|
-
};
|
|
1457
1479
|
readonly appLimitDefault: {
|
|
1458
1480
|
/** All appLimitDefault queries */ readonly all: readonly ["applimitdefault"];
|
|
1459
1481
|
/** List query keys */ readonly lists: () => readonly ["applimitdefault", "list"];
|
|
@@ -1468,6 +1490,13 @@ export declare const queryKeys: {
|
|
|
1468
1490
|
/** Detail query keys */ readonly details: () => readonly ["orglimitdefault", "detail"];
|
|
1469
1491
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["orglimitdefault", "detail", string | number];
|
|
1470
1492
|
};
|
|
1493
|
+
readonly migrateFile: {
|
|
1494
|
+
/** All migrateFile queries */ readonly all: readonly ["migratefile"];
|
|
1495
|
+
/** List query keys */ readonly lists: () => readonly ["migratefile", "list"];
|
|
1496
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["migratefile", "list", object];
|
|
1497
|
+
/** Detail query keys */ readonly details: () => readonly ["migratefile", "detail"];
|
|
1498
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["migratefile", "detail", string | number];
|
|
1499
|
+
};
|
|
1471
1500
|
readonly membershipType: {
|
|
1472
1501
|
/** All membershipType queries */ readonly all: readonly ["membershiptype"];
|
|
1473
1502
|
/** List query keys */ readonly lists: () => readonly ["membershiptype", "list"];
|
|
@@ -1556,6 +1585,7 @@ export declare const queryKeys: {
|
|
|
1556
1585
|
/** Query key for orgIsManagerOf */ readonly orgIsManagerOf: (variables?: object) => readonly ["orgIsManagerOf", object];
|
|
1557
1586
|
/** Query key for appPermissionsGetMask */ readonly appPermissionsGetMask: (variables?: object) => readonly ["appPermissionsGetMask", object];
|
|
1558
1587
|
/** Query key for orgPermissionsGetMask */ readonly orgPermissionsGetMask: (variables?: object) => readonly ["orgPermissionsGetMask", object];
|
|
1588
|
+
/** Query key for resolveBlueprintTable */ readonly resolveBlueprintTable: (variables?: object) => readonly ["resolveBlueprintTable", object];
|
|
1559
1589
|
/** Query key for appPermissionsGetMaskByNames */ readonly appPermissionsGetMaskByNames: (variables?: object) => readonly ["appPermissionsGetMaskByNames", object];
|
|
1560
1590
|
/** Query key for orgPermissionsGetMaskByNames */ readonly orgPermissionsGetMaskByNames: (variables?: object) => readonly ["orgPermissionsGetMaskByNames", object];
|
|
1561
1591
|
/** Query key for getAllObjectsFromRoot */ readonly getAllObjectsFromRoot: (variables?: object) => readonly ["getAllObjectsFromRoot", object];
|
|
@@ -16,13 +16,6 @@
|
|
|
16
16
|
// ============================================================================
|
|
17
17
|
// Entity Query Keys
|
|
18
18
|
// ============================================================================
|
|
19
|
-
export const getAllRecordKeys = {
|
|
20
|
-
/** All getAllRecord queries */ all: ['getallrecord'],
|
|
21
|
-
/** List query keys */ lists: () => [...getAllRecordKeys.all, 'list'],
|
|
22
|
-
/** List query key with variables */ list: (variables) => [...getAllRecordKeys.lists(), variables],
|
|
23
|
-
/** Detail query keys */ details: () => [...getAllRecordKeys.all, 'detail'],
|
|
24
|
-
/** Detail query key for specific item */ detail: (id) => [...getAllRecordKeys.details(), id],
|
|
25
|
-
};
|
|
26
19
|
export const orgGetManagersRecordKeys = {
|
|
27
20
|
/** All orgGetManagersRecord queries */ all: ['orggetmanagersrecord'],
|
|
28
21
|
/** List query keys */ lists: () => [...orgGetManagersRecordKeys.all, 'list'],
|
|
@@ -37,6 +30,13 @@ export const orgGetSubordinatesRecordKeys = {
|
|
|
37
30
|
/** Detail query keys */ details: () => [...orgGetSubordinatesRecordKeys.all, 'detail'],
|
|
38
31
|
/** Detail query key for specific item */ detail: (id) => [...orgGetSubordinatesRecordKeys.details(), id],
|
|
39
32
|
};
|
|
33
|
+
export const getAllRecordKeys = {
|
|
34
|
+
/** All getAllRecord queries */ all: ['getallrecord'],
|
|
35
|
+
/** List query keys */ lists: () => [...getAllRecordKeys.all, 'list'],
|
|
36
|
+
/** List query key with variables */ list: (variables) => [...getAllRecordKeys.lists(), variables],
|
|
37
|
+
/** Detail query keys */ details: () => [...getAllRecordKeys.all, 'detail'],
|
|
38
|
+
/** Detail query key for specific item */ detail: (id) => [...getAllRecordKeys.details(), id],
|
|
39
|
+
};
|
|
40
40
|
export const objectKeys = {
|
|
41
41
|
/** All object queries */ all: ['object'],
|
|
42
42
|
/** List query keys */ lists: () => [...objectKeys.all, 'list'],
|
|
@@ -457,6 +457,20 @@ export const blueprintTemplateKeys = {
|
|
|
457
457
|
/** Detail query keys */ details: () => [...blueprintTemplateKeys.all, 'detail'],
|
|
458
458
|
/** Detail query key for specific item */ detail: (id) => [...blueprintTemplateKeys.details(), id],
|
|
459
459
|
};
|
|
460
|
+
export const blueprintConstructionKeys = {
|
|
461
|
+
/** All blueprintConstruction queries */ all: ['blueprintconstruction'],
|
|
462
|
+
/** List query keys */ lists: () => [...blueprintConstructionKeys.all, 'list'],
|
|
463
|
+
/** List query key with variables */ list: (variables) => [...blueprintConstructionKeys.lists(), variables],
|
|
464
|
+
/** Detail query keys */ details: () => [...blueprintConstructionKeys.all, 'detail'],
|
|
465
|
+
/** Detail query key for specific item */ detail: (id) => [...blueprintConstructionKeys.details(), id],
|
|
466
|
+
};
|
|
467
|
+
export const storageModuleKeys = {
|
|
468
|
+
/** All storageModule queries */ all: ['storagemodule'],
|
|
469
|
+
/** List query keys */ lists: () => [...storageModuleKeys.all, 'list'],
|
|
470
|
+
/** List query key with variables */ list: (variables) => [...storageModuleKeys.lists(), variables],
|
|
471
|
+
/** Detail query keys */ details: () => [...storageModuleKeys.all, 'detail'],
|
|
472
|
+
/** Detail query key for specific item */ detail: (id) => [...storageModuleKeys.details(), id],
|
|
473
|
+
};
|
|
460
474
|
export const databaseProvisionModuleKeys = {
|
|
461
475
|
/** All databaseProvisionModule queries */ all: ['databaseprovisionmodule'],
|
|
462
476
|
/** List query keys */ lists: () => [...databaseProvisionModuleKeys.all, 'list'],
|
|
@@ -667,13 +681,6 @@ export const roleTypeKeys = {
|
|
|
667
681
|
/** Detail query keys */ details: () => [...roleTypeKeys.all, 'detail'],
|
|
668
682
|
/** Detail query key for specific item */ detail: (id) => [...roleTypeKeys.details(), id],
|
|
669
683
|
};
|
|
670
|
-
export const migrateFileKeys = {
|
|
671
|
-
/** All migrateFile queries */ all: ['migratefile'],
|
|
672
|
-
/** List query keys */ lists: () => [...migrateFileKeys.all, 'list'],
|
|
673
|
-
/** List query key with variables */ list: (variables) => [...migrateFileKeys.lists(), variables],
|
|
674
|
-
/** Detail query keys */ details: () => [...migrateFileKeys.all, 'detail'],
|
|
675
|
-
/** Detail query key for specific item */ detail: (id) => [...migrateFileKeys.details(), id],
|
|
676
|
-
};
|
|
677
684
|
export const appLimitDefaultKeys = {
|
|
678
685
|
/** All appLimitDefault queries */ all: ['applimitdefault'],
|
|
679
686
|
/** List query keys */ lists: () => [...appLimitDefaultKeys.all, 'list'],
|
|
@@ -688,6 +695,13 @@ export const orgLimitDefaultKeys = {
|
|
|
688
695
|
/** Detail query keys */ details: () => [...orgLimitDefaultKeys.all, 'detail'],
|
|
689
696
|
/** Detail query key for specific item */ detail: (id) => [...orgLimitDefaultKeys.details(), id],
|
|
690
697
|
};
|
|
698
|
+
export const migrateFileKeys = {
|
|
699
|
+
/** All migrateFile queries */ all: ['migratefile'],
|
|
700
|
+
/** List query keys */ lists: () => [...migrateFileKeys.all, 'list'],
|
|
701
|
+
/** List query key with variables */ list: (variables) => [...migrateFileKeys.lists(), variables],
|
|
702
|
+
/** Detail query keys */ details: () => [...migrateFileKeys.all, 'detail'],
|
|
703
|
+
/** Detail query key for specific item */ detail: (id) => [...migrateFileKeys.details(), id],
|
|
704
|
+
};
|
|
691
705
|
export const membershipTypeKeys = {
|
|
692
706
|
/** All membershipType queries */ all: ['membershiptype'],
|
|
693
707
|
/** List query keys */ lists: () => [...membershipTypeKeys.all, 'list'],
|
|
@@ -779,6 +793,7 @@ export const customQueryKeys = {
|
|
|
779
793
|
/** Query key for orgIsManagerOf */ orgIsManagerOf: (variables) => ['orgIsManagerOf', variables],
|
|
780
794
|
/** Query key for appPermissionsGetMask */ appPermissionsGetMask: (variables) => ['appPermissionsGetMask', variables],
|
|
781
795
|
/** Query key for orgPermissionsGetMask */ orgPermissionsGetMask: (variables) => ['orgPermissionsGetMask', variables],
|
|
796
|
+
/** Query key for resolveBlueprintTable */ resolveBlueprintTable: (variables) => ['resolveBlueprintTable', variables],
|
|
782
797
|
/** Query key for appPermissionsGetMaskByNames */ appPermissionsGetMaskByNames: (variables) => ['appPermissionsGetMaskByNames', variables],
|
|
783
798
|
/** Query key for orgPermissionsGetMaskByNames */ orgPermissionsGetMaskByNames: (variables) => ['orgPermissionsGetMaskByNames', variables],
|
|
784
799
|
/** Query key for getAllObjectsFromRoot */ getAllObjectsFromRoot: (variables) => ['getAllObjectsFromRoot', variables],
|
|
@@ -812,9 +827,9 @@ export const customQueryKeys = {
|
|
|
812
827
|
* ```
|
|
813
828
|
*/
|
|
814
829
|
export const queryKeys = {
|
|
815
|
-
getAllRecord: getAllRecordKeys,
|
|
816
830
|
orgGetManagersRecord: orgGetManagersRecordKeys,
|
|
817
831
|
orgGetSubordinatesRecord: orgGetSubordinatesRecordKeys,
|
|
832
|
+
getAllRecord: getAllRecordKeys,
|
|
818
833
|
object: objectKeys,
|
|
819
834
|
appPermission: appPermissionKeys,
|
|
820
835
|
orgPermission: orgPermissionKeys,
|
|
@@ -875,6 +890,8 @@ export const queryKeys = {
|
|
|
875
890
|
usersModule: usersModuleKeys,
|
|
876
891
|
blueprint: blueprintKeys,
|
|
877
892
|
blueprintTemplate: blueprintTemplateKeys,
|
|
893
|
+
blueprintConstruction: blueprintConstructionKeys,
|
|
894
|
+
storageModule: storageModuleKeys,
|
|
878
895
|
databaseProvisionModule: databaseProvisionModuleKeys,
|
|
879
896
|
appAdminGrant: appAdminGrantKeys,
|
|
880
897
|
appOwnerGrant: appOwnerGrantKeys,
|
|
@@ -905,9 +922,9 @@ export const queryKeys = {
|
|
|
905
922
|
store: storeKeys,
|
|
906
923
|
appPermissionDefault: appPermissionDefaultKeys,
|
|
907
924
|
roleType: roleTypeKeys,
|
|
908
|
-
migrateFile: migrateFileKeys,
|
|
909
925
|
appLimitDefault: appLimitDefaultKeys,
|
|
910
926
|
orgLimitDefault: orgLimitDefaultKeys,
|
|
927
|
+
migrateFile: migrateFileKeys,
|
|
911
928
|
membershipType: membershipTypeKeys,
|
|
912
929
|
commit: commitKeys,
|
|
913
930
|
appMembershipDefault: appMembershipDefaultKeys,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
-
import { GetAllRecordModel } from './models/getAllRecord';
|
|
3
2
|
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
|
|
4
3
|
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
|
|
4
|
+
import { GetAllRecordModel } from './models/getAllRecord';
|
|
5
5
|
import { ObjectModel } from './models/object';
|
|
6
6
|
import { AppPermissionModel } from './models/appPermission';
|
|
7
7
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
@@ -62,6 +62,8 @@ import { UserAuthModuleModel } from './models/userAuthModule';
|
|
|
62
62
|
import { UsersModuleModel } from './models/usersModule';
|
|
63
63
|
import { BlueprintModel } from './models/blueprint';
|
|
64
64
|
import { BlueprintTemplateModel } from './models/blueprintTemplate';
|
|
65
|
+
import { BlueprintConstructionModel } from './models/blueprintConstruction';
|
|
66
|
+
import { StorageModuleModel } from './models/storageModule';
|
|
65
67
|
import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
|
|
66
68
|
import { AppAdminGrantModel } from './models/appAdminGrant';
|
|
67
69
|
import { AppOwnerGrantModel } from './models/appOwnerGrant';
|
|
@@ -92,9 +94,9 @@ import { RefModel } from './models/ref';
|
|
|
92
94
|
import { StoreModel } from './models/store';
|
|
93
95
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
94
96
|
import { RoleTypeModel } from './models/roleType';
|
|
95
|
-
import { MigrateFileModel } from './models/migrateFile';
|
|
96
97
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
97
98
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
99
|
+
import { MigrateFileModel } from './models/migrateFile';
|
|
98
100
|
import { MembershipTypeModel } from './models/membershipType';
|
|
99
101
|
import { CommitModel } from './models/commit';
|
|
100
102
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
@@ -137,9 +139,9 @@ export { createMutationOperations } from './mutation';
|
|
|
137
139
|
* ```
|
|
138
140
|
*/
|
|
139
141
|
export declare function createClient(config: OrmClientConfig): {
|
|
140
|
-
getAllRecord: GetAllRecordModel;
|
|
141
142
|
orgGetManagersRecord: OrgGetManagersRecordModel;
|
|
142
143
|
orgGetSubordinatesRecord: OrgGetSubordinatesRecordModel;
|
|
144
|
+
getAllRecord: GetAllRecordModel;
|
|
143
145
|
object: ObjectModel;
|
|
144
146
|
appPermission: AppPermissionModel;
|
|
145
147
|
orgPermission: OrgPermissionModel;
|
|
@@ -200,6 +202,8 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
200
202
|
usersModule: UsersModuleModel;
|
|
201
203
|
blueprint: BlueprintModel;
|
|
202
204
|
blueprintTemplate: BlueprintTemplateModel;
|
|
205
|
+
blueprintConstruction: BlueprintConstructionModel;
|
|
206
|
+
storageModule: StorageModuleModel;
|
|
203
207
|
databaseProvisionModule: DatabaseProvisionModuleModel;
|
|
204
208
|
appAdminGrant: AppAdminGrantModel;
|
|
205
209
|
appOwnerGrant: AppOwnerGrantModel;
|
|
@@ -230,9 +234,9 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
230
234
|
store: StoreModel;
|
|
231
235
|
appPermissionDefault: AppPermissionDefaultModel;
|
|
232
236
|
roleType: RoleTypeModel;
|
|
233
|
-
migrateFile: MigrateFileModel;
|
|
234
237
|
appLimitDefault: AppLimitDefaultModel;
|
|
235
238
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
239
|
+
migrateFile: MigrateFileModel;
|
|
236
240
|
membershipType: MembershipTypeModel;
|
|
237
241
|
commit: CommitModel;
|
|
238
242
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
@@ -295,6 +299,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
295
299
|
}) => import("./query-builder").QueryBuilder<{
|
|
296
300
|
orgPermissionsGetMask: string | null;
|
|
297
301
|
}>;
|
|
302
|
+
resolveBlueprintTable: (args: import("./query").ResolveBlueprintTableVariables, options?: {
|
|
303
|
+
select?: Record<string, unknown>;
|
|
304
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
305
|
+
resolveBlueprintTable: string | null;
|
|
306
|
+
}>;
|
|
298
307
|
appPermissionsGetMaskByNames: (args: import("./query").AppPermissionsGetMaskByNamesVariables, options?: {
|
|
299
308
|
select?: Record<string, unknown>;
|
|
300
309
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -422,26 +431,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
422
431
|
} & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
423
432
|
removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
|
|
424
433
|
}>;
|
|
425
|
-
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
426
|
-
select: S;
|
|
427
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
428
|
-
setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
|
|
429
|
-
}>;
|
|
430
|
-
setPropsAndCommit: <S extends import("./input-types").SetPropsAndCommitPayloadSelect>(args: import("./mutation").SetPropsAndCommitVariables, options: {
|
|
431
|
-
select: S;
|
|
432
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetPropsAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
433
|
-
setPropsAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetPropsAndCommitPayload, S> | null;
|
|
434
|
-
}>;
|
|
435
434
|
copyTemplateToBlueprint: <S extends import("./input-types").CopyTemplateToBlueprintPayloadSelect>(args: import("./mutation").CopyTemplateToBlueprintVariables, options: {
|
|
436
435
|
select: S;
|
|
437
436
|
} & import("./select-types").StrictSelect<S, import("./input-types").CopyTemplateToBlueprintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
438
437
|
copyTemplateToBlueprint: import("./select-types").InferSelectResult<import("./input-types").CopyTemplateToBlueprintPayload, S> | null;
|
|
439
438
|
}>;
|
|
440
|
-
provisionDatabaseWithUser: <S extends import("./input-types").ProvisionDatabaseWithUserPayloadSelect>(args: import("./mutation").ProvisionDatabaseWithUserVariables, options: {
|
|
441
|
-
select: S;
|
|
442
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
443
|
-
provisionDatabaseWithUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionDatabaseWithUserPayload, S> | null;
|
|
444
|
-
}>;
|
|
445
439
|
bootstrapUser: <S extends import("./input-types").BootstrapUserPayloadSelect>(args: import("./mutation").BootstrapUserVariables, options: {
|
|
446
440
|
select: S;
|
|
447
441
|
} & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -452,6 +446,36 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
452
446
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
453
447
|
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
454
448
|
}>;
|
|
449
|
+
provisionUniqueConstraint: <S extends import("./input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("./mutation").ProvisionUniqueConstraintVariables, options: {
|
|
450
|
+
select: S;
|
|
451
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionUniqueConstraintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
452
|
+
provisionUniqueConstraint: import("./select-types").InferSelectResult<import("./input-types").ProvisionUniqueConstraintPayload, S> | null;
|
|
453
|
+
}>;
|
|
454
|
+
provisionFullTextSearch: <S extends import("./input-types").ProvisionFullTextSearchPayloadSelect>(args: import("./mutation").ProvisionFullTextSearchVariables, options: {
|
|
455
|
+
select: S;
|
|
456
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionFullTextSearchPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
457
|
+
provisionFullTextSearch: import("./select-types").InferSelectResult<import("./input-types").ProvisionFullTextSearchPayload, S> | null;
|
|
458
|
+
}>;
|
|
459
|
+
provisionIndex: <S extends import("./input-types").ProvisionIndexPayloadSelect>(args: import("./mutation").ProvisionIndexVariables, options: {
|
|
460
|
+
select: S;
|
|
461
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionIndexPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
462
|
+
provisionIndex: import("./select-types").InferSelectResult<import("./input-types").ProvisionIndexPayload, S> | null;
|
|
463
|
+
}>;
|
|
464
|
+
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
465
|
+
select: S;
|
|
466
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
467
|
+
setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
|
|
468
|
+
}>;
|
|
469
|
+
setPropsAndCommit: <S extends import("./input-types").SetPropsAndCommitPayloadSelect>(args: import("./mutation").SetPropsAndCommitVariables, options: {
|
|
470
|
+
select: S;
|
|
471
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetPropsAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
472
|
+
setPropsAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetPropsAndCommitPayload, S> | null;
|
|
473
|
+
}>;
|
|
474
|
+
provisionDatabaseWithUser: <S extends import("./input-types").ProvisionDatabaseWithUserPayloadSelect>(args: import("./mutation").ProvisionDatabaseWithUserVariables, options: {
|
|
475
|
+
select: S;
|
|
476
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
477
|
+
provisionDatabaseWithUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionDatabaseWithUserPayload, S> | null;
|
|
478
|
+
}>;
|
|
455
479
|
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
456
480
|
select: S;
|
|
457
481
|
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -467,6 +491,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
467
491
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
468
492
|
setAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetAndCommitPayload, S> | null;
|
|
469
493
|
}>;
|
|
494
|
+
provisionRelation: <S extends import("./input-types").ProvisionRelationPayloadSelect>(args: import("./mutation").ProvisionRelationVariables, options: {
|
|
495
|
+
select: S;
|
|
496
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionRelationPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
497
|
+
provisionRelation: import("./select-types").InferSelectResult<import("./input-types").ProvisionRelationPayload, S> | null;
|
|
498
|
+
}>;
|
|
470
499
|
applyRls: <S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options: {
|
|
471
500
|
select: S;
|
|
472
501
|
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -502,6 +531,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
502
531
|
} & import("./select-types").StrictSelect<S, import("./input-types").OneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
503
532
|
oneTimeToken: import("./select-types").InferSelectResult<import("./input-types").OneTimeTokenPayload, S> | null;
|
|
504
533
|
}>;
|
|
534
|
+
provisionTable: <S extends import("./input-types").ProvisionTablePayloadSelect>(args: import("./mutation").ProvisionTableVariables, options: {
|
|
535
|
+
select: S;
|
|
536
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionTablePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
537
|
+
provisionTable: import("./select-types").InferSelectResult<import("./input-types").ProvisionTablePayload, S> | null;
|
|
538
|
+
}>;
|
|
505
539
|
sendVerificationEmail: <S extends import("./input-types").SendVerificationEmailPayloadSelect>(args: import("./mutation").SendVerificationEmailVariables, options: {
|
|
506
540
|
select: S;
|
|
507
541
|
} & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/esm/public/orm/index.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from './client';
|
|
7
|
-
import { GetAllRecordModel } from './models/getAllRecord';
|
|
8
7
|
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
|
|
9
8
|
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
|
|
9
|
+
import { GetAllRecordModel } from './models/getAllRecord';
|
|
10
10
|
import { ObjectModel } from './models/object';
|
|
11
11
|
import { AppPermissionModel } from './models/appPermission';
|
|
12
12
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
@@ -67,6 +67,8 @@ import { UserAuthModuleModel } from './models/userAuthModule';
|
|
|
67
67
|
import { UsersModuleModel } from './models/usersModule';
|
|
68
68
|
import { BlueprintModel } from './models/blueprint';
|
|
69
69
|
import { BlueprintTemplateModel } from './models/blueprintTemplate';
|
|
70
|
+
import { BlueprintConstructionModel } from './models/blueprintConstruction';
|
|
71
|
+
import { StorageModuleModel } from './models/storageModule';
|
|
70
72
|
import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
|
|
71
73
|
import { AppAdminGrantModel } from './models/appAdminGrant';
|
|
72
74
|
import { AppOwnerGrantModel } from './models/appOwnerGrant';
|
|
@@ -97,9 +99,9 @@ import { RefModel } from './models/ref';
|
|
|
97
99
|
import { StoreModel } from './models/store';
|
|
98
100
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
99
101
|
import { RoleTypeModel } from './models/roleType';
|
|
100
|
-
import { MigrateFileModel } from './models/migrateFile';
|
|
101
102
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
102
103
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
104
|
+
import { MigrateFileModel } from './models/migrateFile';
|
|
103
105
|
import { MembershipTypeModel } from './models/membershipType';
|
|
104
106
|
import { CommitModel } from './models/commit';
|
|
105
107
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
@@ -145,9 +147,9 @@ export { createMutationOperations } from './mutation';
|
|
|
145
147
|
export function createClient(config) {
|
|
146
148
|
const client = new OrmClient(config);
|
|
147
149
|
return {
|
|
148
|
-
getAllRecord: new GetAllRecordModel(client),
|
|
149
150
|
orgGetManagersRecord: new OrgGetManagersRecordModel(client),
|
|
150
151
|
orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client),
|
|
152
|
+
getAllRecord: new GetAllRecordModel(client),
|
|
151
153
|
object: new ObjectModel(client),
|
|
152
154
|
appPermission: new AppPermissionModel(client),
|
|
153
155
|
orgPermission: new OrgPermissionModel(client),
|
|
@@ -208,6 +210,8 @@ export function createClient(config) {
|
|
|
208
210
|
usersModule: new UsersModuleModel(client),
|
|
209
211
|
blueprint: new BlueprintModel(client),
|
|
210
212
|
blueprintTemplate: new BlueprintTemplateModel(client),
|
|
213
|
+
blueprintConstruction: new BlueprintConstructionModel(client),
|
|
214
|
+
storageModule: new StorageModuleModel(client),
|
|
211
215
|
databaseProvisionModule: new DatabaseProvisionModuleModel(client),
|
|
212
216
|
appAdminGrant: new AppAdminGrantModel(client),
|
|
213
217
|
appOwnerGrant: new AppOwnerGrantModel(client),
|
|
@@ -238,9 +242,9 @@ export function createClient(config) {
|
|
|
238
242
|
store: new StoreModel(client),
|
|
239
243
|
appPermissionDefault: new AppPermissionDefaultModel(client),
|
|
240
244
|
roleType: new RoleTypeModel(client),
|
|
241
|
-
migrateFile: new MigrateFileModel(client),
|
|
242
245
|
appLimitDefault: new AppLimitDefaultModel(client),
|
|
243
246
|
orgLimitDefault: new OrgLimitDefaultModel(client),
|
|
247
|
+
migrateFile: new MigrateFileModel(client),
|
|
244
248
|
membershipType: new MembershipTypeModel(client),
|
|
245
249
|
commit: new CommitModel(client),
|
|
246
250
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|