@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,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete mutation hook for StorageModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { StorageModuleSelect, StorageModuleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { StorageModuleSelect, StorageModuleWithRelations } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for deleting a StorageModule with typed selection
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteStorageModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteStorageModuleMutation<S extends StorageModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & StorageModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteStorageModule: {
|
|
28
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteStorageModule: {
|
|
34
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete mutation hook for StorageModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { storageModuleKeys } from '../query-keys';
|
|
10
|
+
import { storageModuleMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useDeleteStorageModuleMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: storageModuleMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id }) => getClient()
|
|
19
|
+
.storageModule.delete({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
select: args.select,
|
|
24
|
+
})
|
|
25
|
+
.unwrap(),
|
|
26
|
+
onSuccess: (_, variables) => {
|
|
27
|
+
queryClient.removeQueries({
|
|
28
|
+
queryKey: storageModuleKeys.detail(variables.id),
|
|
29
|
+
});
|
|
30
|
+
queryClient.invalidateQueries({
|
|
31
|
+
queryKey: storageModuleKeys.lists(),
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
...mutationOptions,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionFullTextSearch
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { ProvisionFullTextSearchVariables } from '../../orm/mutation';
|
|
8
|
+
import type { ProvisionFullTextSearchPayloadSelect, ProvisionFullTextSearchPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { ProvisionFullTextSearchVariables } from '../../orm/mutation';
|
|
11
|
+
export type { ProvisionFullTextSearchPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useProvisionFullTextSearchMutation<S extends ProvisionFullTextSearchPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & ProvisionFullTextSearchPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, ProvisionFullTextSearchPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
provisionFullTextSearch: InferSelectResult<ProvisionFullTextSearchPayload, S> | null;
|
|
18
|
+
}, Error, ProvisionFullTextSearchVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
provisionFullTextSearch: InferSelectResult<ProvisionFullTextSearchPayload, S> | null;
|
|
20
|
+
}, Error, ProvisionFullTextSearchVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionFullTextSearch
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useProvisionFullTextSearchMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.provisionFullTextSearch(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.provisionFullTextSearch(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionIndex
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { ProvisionIndexVariables } from '../../orm/mutation';
|
|
8
|
+
import type { ProvisionIndexPayloadSelect, ProvisionIndexPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { ProvisionIndexVariables } from '../../orm/mutation';
|
|
11
|
+
export type { ProvisionIndexPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useProvisionIndexMutation<S extends ProvisionIndexPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & ProvisionIndexPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, ProvisionIndexPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
provisionIndex: InferSelectResult<ProvisionIndexPayload, S> | null;
|
|
18
|
+
}, Error, ProvisionIndexVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
provisionIndex: InferSelectResult<ProvisionIndexPayload, S> | null;
|
|
20
|
+
}, Error, ProvisionIndexVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionIndex
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useProvisionIndexMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.provisionIndex(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.provisionIndex(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionRelation
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { ProvisionRelationVariables } from '../../orm/mutation';
|
|
8
|
+
import type { ProvisionRelationPayloadSelect, ProvisionRelationPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { ProvisionRelationVariables } from '../../orm/mutation';
|
|
11
|
+
export type { ProvisionRelationPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useProvisionRelationMutation<S extends ProvisionRelationPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & ProvisionRelationPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, ProvisionRelationPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
provisionRelation: InferSelectResult<ProvisionRelationPayload, S> | null;
|
|
18
|
+
}, Error, ProvisionRelationVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
provisionRelation: InferSelectResult<ProvisionRelationPayload, S> | null;
|
|
20
|
+
}, Error, ProvisionRelationVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionRelation
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useProvisionRelationMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.provisionRelation(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.provisionRelation(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionTable
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { ProvisionTableVariables } from '../../orm/mutation';
|
|
8
|
+
import type { ProvisionTablePayloadSelect, ProvisionTablePayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { ProvisionTableVariables } from '../../orm/mutation';
|
|
11
|
+
export type { ProvisionTablePayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useProvisionTableMutation<S extends ProvisionTablePayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & ProvisionTablePayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, ProvisionTablePayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
provisionTable: InferSelectResult<ProvisionTablePayload, S> | null;
|
|
18
|
+
}, Error, ProvisionTableVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
provisionTable: InferSelectResult<ProvisionTablePayload, S> | null;
|
|
20
|
+
}, Error, ProvisionTableVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionTable
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useProvisionTableMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.provisionTable(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.provisionTable(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionUniqueConstraint
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { ProvisionUniqueConstraintVariables } from '../../orm/mutation';
|
|
8
|
+
import type { ProvisionUniqueConstraintPayloadSelect, ProvisionUniqueConstraintPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { ProvisionUniqueConstraintVariables } from '../../orm/mutation';
|
|
11
|
+
export type { ProvisionUniqueConstraintPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useProvisionUniqueConstraintMutation<S extends ProvisionUniqueConstraintPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & ProvisionUniqueConstraintPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, ProvisionUniqueConstraintPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
provisionUniqueConstraint: InferSelectResult<ProvisionUniqueConstraintPayload, S> | null;
|
|
18
|
+
}, Error, ProvisionUniqueConstraintVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
provisionUniqueConstraint: InferSelectResult<ProvisionUniqueConstraintPayload, S> | null;
|
|
20
|
+
}, Error, ProvisionUniqueConstraintVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for provisionUniqueConstraint
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useProvisionUniqueConstraintMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.provisionUniqueConstraint(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.provisionUniqueConstraint(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts.
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { BlueprintConstructionSelect, BlueprintConstructionWithRelations, BlueprintConstructionPatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { BlueprintConstructionSelect, BlueprintConstructionWithRelations, BlueprintConstructionPatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateBlueprintConstructionMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', blueprintConstructionPatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateBlueprintConstructionMutation<S extends BlueprintConstructionSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & BlueprintConstructionSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, BlueprintConstructionSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateBlueprintConstruction: {
|
|
28
|
+
blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
blueprintConstructionPatch: BlueprintConstructionPatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateBlueprintConstruction: {
|
|
35
|
+
blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
blueprintConstructionPatch: BlueprintConstructionPatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts.
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { blueprintConstructionKeys } from '../query-keys';
|
|
10
|
+
import { blueprintConstructionMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useUpdateBlueprintConstructionMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: blueprintConstructionMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id, blueprintConstructionPatch, }) => getClient()
|
|
19
|
+
.blueprintConstruction.update({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
data: blueprintConstructionPatch,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: (_, variables) => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: blueprintConstructionKeys.detail(variables.id),
|
|
30
|
+
});
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: blueprintConstructionKeys.lists(),
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
...mutationOptions,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* An owned,
|
|
2
|
+
* An owned, editable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ import type { BlueprintSelect, BlueprintWithRelations, BlueprintPatch } from '..
|
|
|
8
8
|
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
9
|
export type { BlueprintSelect, BlueprintWithRelations, BlueprintPatch, } from '../../orm/input-types';
|
|
10
10
|
/**
|
|
11
|
-
* An owned,
|
|
11
|
+
* An owned, editable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* An owned,
|
|
2
|
+
* An owned, editable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via
|
|
2
|
+
* Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ import type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, Sec
|
|
|
8
8
|
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
9
|
export type { SecureTableProvisionSelect, SecureTableProvisionWithRelations, SecureTableProvisionPatch, } from '../../orm/input-types';
|
|
10
10
|
/**
|
|
11
|
-
* Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via
|
|
11
|
+
* Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via
|
|
2
|
+
* Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Update mutation hook for StorageModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { StorageModuleSelect, StorageModuleWithRelations, StorageModulePatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { StorageModuleSelect, StorageModuleWithRelations, StorageModulePatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for updating a StorageModule
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateStorageModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', storageModulePatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateStorageModuleMutation<S extends StorageModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & StorageModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateStorageModule: {
|
|
28
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
storageModulePatch: StorageModulePatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateStorageModule: {
|
|
35
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
storageModulePatch: StorageModulePatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Update mutation hook for StorageModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { storageModuleKeys } from '../query-keys';
|
|
10
|
+
import { storageModuleMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useUpdateStorageModuleMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: storageModuleMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id, storageModulePatch, }) => getClient()
|
|
19
|
+
.storageModule.update({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
data: storageModulePatch,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: (_, variables) => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: storageModuleKeys.detail(variables.id),
|
|
30
|
+
});
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: storageModuleKeys.lists(),
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
...mutationOptions,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export * from './useGetAllQuery';
|
|
7
6
|
export * from './useOrgGetManagersQuery';
|
|
8
7
|
export * from './useOrgGetSubordinatesQuery';
|
|
8
|
+
export * from './useGetAllQuery';
|
|
9
9
|
export * from './useObjectsQuery';
|
|
10
10
|
export * from './useObjectQuery';
|
|
11
11
|
export * from './useAppPermissionsQuery';
|
|
@@ -126,6 +126,10 @@ export * from './useBlueprintsQuery';
|
|
|
126
126
|
export * from './useBlueprintQuery';
|
|
127
127
|
export * from './useBlueprintTemplatesQuery';
|
|
128
128
|
export * from './useBlueprintTemplateQuery';
|
|
129
|
+
export * from './useBlueprintConstructionsQuery';
|
|
130
|
+
export * from './useBlueprintConstructionQuery';
|
|
131
|
+
export * from './useStorageModulesQuery';
|
|
132
|
+
export * from './useStorageModuleQuery';
|
|
129
133
|
export * from './useDatabaseProvisionModulesQuery';
|
|
130
134
|
export * from './useDatabaseProvisionModuleQuery';
|
|
131
135
|
export * from './useAppAdminGrantsQuery';
|
|
@@ -186,12 +190,12 @@ export * from './useAppPermissionDefaultsQuery';
|
|
|
186
190
|
export * from './useAppPermissionDefaultQuery';
|
|
187
191
|
export * from './useRoleTypesQuery';
|
|
188
192
|
export * from './useRoleTypeQuery';
|
|
189
|
-
export * from './useMigrateFilesQuery';
|
|
190
|
-
export * from './useMigrateFileQuery';
|
|
191
193
|
export * from './useAppLimitDefaultsQuery';
|
|
192
194
|
export * from './useAppLimitDefaultQuery';
|
|
193
195
|
export * from './useOrgLimitDefaultsQuery';
|
|
194
196
|
export * from './useOrgLimitDefaultQuery';
|
|
197
|
+
export * from './useMigrateFilesQuery';
|
|
198
|
+
export * from './useMigrateFileQuery';
|
|
195
199
|
export * from './useMembershipTypesQuery';
|
|
196
200
|
export * from './useMembershipTypeQuery';
|
|
197
201
|
export * from './useCommitsQuery';
|
|
@@ -224,6 +228,7 @@ export * from './useRevParseQuery';
|
|
|
224
228
|
export * from './useOrgIsManagerOfQuery';
|
|
225
229
|
export * from './useAppPermissionsGetMaskQuery';
|
|
226
230
|
export * from './useOrgPermissionsGetMaskQuery';
|
|
231
|
+
export * from './useResolveBlueprintTableQuery';
|
|
227
232
|
export * from './useAppPermissionsGetMaskByNamesQuery';
|
|
228
233
|
export * from './useOrgPermissionsGetMaskByNamesQuery';
|
|
229
234
|
export * from './useGetAllObjectsFromRootQuery';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export * from './useGetAllQuery';
|
|
7
6
|
export * from './useOrgGetManagersQuery';
|
|
8
7
|
export * from './useOrgGetSubordinatesQuery';
|
|
8
|
+
export * from './useGetAllQuery';
|
|
9
9
|
export * from './useObjectsQuery';
|
|
10
10
|
export * from './useObjectQuery';
|
|
11
11
|
export * from './useAppPermissionsQuery';
|
|
@@ -126,6 +126,10 @@ export * from './useBlueprintsQuery';
|
|
|
126
126
|
export * from './useBlueprintQuery';
|
|
127
127
|
export * from './useBlueprintTemplatesQuery';
|
|
128
128
|
export * from './useBlueprintTemplateQuery';
|
|
129
|
+
export * from './useBlueprintConstructionsQuery';
|
|
130
|
+
export * from './useBlueprintConstructionQuery';
|
|
131
|
+
export * from './useStorageModulesQuery';
|
|
132
|
+
export * from './useStorageModuleQuery';
|
|
129
133
|
export * from './useDatabaseProvisionModulesQuery';
|
|
130
134
|
export * from './useDatabaseProvisionModuleQuery';
|
|
131
135
|
export * from './useAppAdminGrantsQuery';
|
|
@@ -186,12 +190,12 @@ export * from './useAppPermissionDefaultsQuery';
|
|
|
186
190
|
export * from './useAppPermissionDefaultQuery';
|
|
187
191
|
export * from './useRoleTypesQuery';
|
|
188
192
|
export * from './useRoleTypeQuery';
|
|
189
|
-
export * from './useMigrateFilesQuery';
|
|
190
|
-
export * from './useMigrateFileQuery';
|
|
191
193
|
export * from './useAppLimitDefaultsQuery';
|
|
192
194
|
export * from './useAppLimitDefaultQuery';
|
|
193
195
|
export * from './useOrgLimitDefaultsQuery';
|
|
194
196
|
export * from './useOrgLimitDefaultQuery';
|
|
197
|
+
export * from './useMigrateFilesQuery';
|
|
198
|
+
export * from './useMigrateFileQuery';
|
|
195
199
|
export * from './useMembershipTypesQuery';
|
|
196
200
|
export * from './useMembershipTypeQuery';
|
|
197
201
|
export * from './useCommitsQuery';
|
|
@@ -224,6 +228,7 @@ export * from './useRevParseQuery';
|
|
|
224
228
|
export * from './useOrgIsManagerOfQuery';
|
|
225
229
|
export * from './useAppPermissionsGetMaskQuery';
|
|
226
230
|
export * from './useOrgPermissionsGetMaskQuery';
|
|
231
|
+
export * from './useResolveBlueprintTableQuery';
|
|
227
232
|
export * from './useAppPermissionsGetMaskByNamesQuery';
|
|
228
233
|
export * from './useOrgPermissionsGetMaskByNamesQuery';
|
|
229
234
|
export * from './useGetAllObjectsFromRootQuery';
|