@constructive-io/react 0.23.8 → 0.23.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +30 -6
- package/admin/hooks/invalidation.js +80 -16
- package/admin/hooks/mutation-keys.d.ts +60 -12
- package/admin/hooks/mutation-keys.js +48 -8
- package/admin/hooks/mutations/index.d.ts +15 -3
- package/admin/hooks/mutations/index.js +15 -3
- package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +34 -0
- package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +39 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +39 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +39 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +40 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +10 -2
- package/admin/hooks/queries/index.js +10 -2
- package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
- package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +53 -0
- package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
- package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +38 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +53 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +38 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +53 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +38 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +53 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +70 -14
- package/admin/hooks/query-keys.js +45 -9
- package/admin/orm/index.d.ts +10 -2
- package/admin/orm/index.js +10 -2
- package/admin/orm/input-types.d.ts +1611 -230
- package/admin/orm/input-types.js +9 -1
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
- package/admin/orm/models/index.d.ts +5 -1
- package/admin/orm/models/index.js +11 -3
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
- package/admin/schema-types.d.ts +702 -271
- package/admin/types.d.ts +49 -15
- package/agent/orm/input-types.d.ts +289 -47
- package/agent/orm/input-types.js +1 -0
- package/agent/schema-types.d.ts +37 -14
- package/agent/types.d.ts +3 -2
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +8 -1
- package/api/hooks/mutations/index.d.ts +3 -0
- package/api/hooks/mutations/index.js +3 -0
- package/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateCompositeTypeMutation.js +34 -0
- package/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteCompositeTypeMutation.js +39 -0
- package/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateCompositeTypeMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +2 -0
- package/api/hooks/queries/index.js +2 -0
- package/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
- package/api/hooks/queries/useCompositeTypeQuery.js +53 -0
- package/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
- package/api/hooks/queries/useCompositeTypesQuery.js +38 -0
- package/api/hooks/query-keys.d.ts +14 -0
- package/api/hooks/query-keys.js +9 -1
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +1064 -125
- package/api/orm/input-types.js +3 -0
- package/api/orm/models/compositeType.d.ts +54 -0
- package/api/orm/models/compositeType.js +104 -0
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +3 -1
- package/api/schema-types.d.ts +664 -560
- package/api/types.d.ts +15 -14
- package/auth/hooks/mutation-keys.d.ts +6 -0
- package/auth/hooks/mutation-keys.js +9 -0
- package/auth/hooks/mutations/index.d.ts +3 -0
- package/auth/hooks/mutations/index.js +3 -0
- package/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
- package/auth/hooks/mutations/useLinkIdentityMutation.js +26 -0
- package/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSignInSmsOtpMutation.js +26 -0
- package/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSignUpSmsMutation.js +26 -0
- package/auth/orm/index.d.ts +15 -0
- package/auth/orm/input-types.d.ts +197 -1
- package/auth/orm/mutation/index.d.ts +25 -1
- package/auth/orm/mutation/index.js +36 -0
- package/auth/schema-types.d.ts +78 -34
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +30 -6
- package/esm/admin/hooks/invalidation.js +81 -17
- package/esm/admin/hooks/mutation-keys.d.ts +60 -12
- package/esm/admin/hooks/mutation-keys.js +47 -7
- package/esm/admin/hooks/mutations/index.d.ts +15 -3
- package/esm/admin/hooks/mutations/index.js +15 -3
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +36 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +36 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +36 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +37 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +37 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +37 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +10 -2
- package/esm/admin/hooks/queries/index.js +10 -2
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +47 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +32 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +47 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +70 -14
- package/esm/admin/hooks/query-keys.js +44 -8
- package/esm/admin/orm/index.d.ts +10 -2
- package/esm/admin/orm/index.js +10 -2
- package/esm/admin/orm/input-types.d.ts +1611 -230
- package/esm/admin/orm/input-types.js +9 -1
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
- package/esm/admin/orm/models/index.d.ts +5 -1
- package/esm/admin/orm/models/index.js +5 -1
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
- package/esm/admin/schema-types.d.ts +702 -271
- package/esm/admin/types.d.ts +49 -15
- package/esm/agent/orm/input-types.d.ts +289 -47
- package/esm/agent/orm/input-types.js +1 -0
- package/esm/agent/schema-types.d.ts +37 -14
- package/esm/agent/types.d.ts +3 -2
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +7 -0
- package/esm/api/hooks/mutations/index.d.ts +3 -0
- package/esm/api/hooks/mutations/index.js +3 -0
- package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.js +31 -0
- package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.js +36 -0
- package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.js +37 -0
- package/esm/api/hooks/queries/index.d.ts +2 -0
- package/esm/api/hooks/queries/index.js +2 -0
- package/esm/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useCompositeTypeQuery.js +47 -0
- package/esm/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useCompositeTypesQuery.js +32 -0
- package/esm/api/hooks/query-keys.d.ts +14 -0
- package/esm/api/hooks/query-keys.js +8 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +1064 -125
- package/esm/api/orm/input-types.js +3 -0
- package/esm/api/orm/models/compositeType.d.ts +54 -0
- package/esm/api/orm/models/compositeType.js +100 -0
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/schema-types.d.ts +664 -560
- package/esm/api/types.d.ts +15 -14
- package/esm/auth/hooks/mutation-keys.d.ts +6 -0
- package/esm/auth/hooks/mutation-keys.js +9 -0
- package/esm/auth/hooks/mutations/index.d.ts +3 -0
- package/esm/auth/hooks/mutations/index.js +3 -0
- package/esm/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useLinkIdentityMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSignUpSmsMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +15 -0
- package/esm/auth/orm/input-types.d.ts +197 -1
- package/esm/auth/orm/mutation/index.d.ts +25 -1
- package/esm/auth/orm/mutation/index.js +36 -0
- package/esm/auth/schema-types.d.ts +78 -34
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +79 -73
- package/esm/modules/hooks/invalidation.js +183 -167
- package/esm/modules/hooks/mutation-keys.d.ts +158 -146
- package/esm/modules/hooks/mutation-keys.js +104 -94
- package/esm/modules/hooks/mutations/index.d.ts +42 -39
- package/esm/modules/hooks/mutations/index.js +42 -39
- package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
- package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +31 -0
- package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
- package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +36 -0
- package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
- package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +37 -0
- package/esm/modules/hooks/queries/index.d.ts +28 -26
- package/esm/modules/hooks/queries/index.js +28 -26
- package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
- package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.js +47 -0
- package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
- package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.js +32 -0
- package/esm/modules/hooks/query-keys.d.ts +186 -172
- package/esm/modules/hooks/query-keys.js +107 -99
- package/esm/modules/orm/index.d.ts +28 -26
- package/esm/modules/orm/index.js +28 -26
- package/esm/modules/orm/input-types.d.ts +4485 -2514
- package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/esm/modules/orm/models/functionInvocationModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +14 -13
- package/esm/modules/orm/models/index.js +14 -13
- package/esm/modules/schema-types.d.ts +2258 -1951
- package/esm/modules/types.d.ts +296 -233
- package/esm/objects/orm/input-types.d.ts +62 -0
- package/esm/usage/orm/input-types.d.ts +314 -19
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +79 -73
- package/modules/hooks/invalidation.js +182 -166
- package/modules/hooks/mutation-keys.d.ts +158 -146
- package/modules/hooks/mutation-keys.js +106 -96
- package/modules/hooks/mutations/index.d.ts +42 -39
- package/modules/hooks/mutations/index.js +42 -39
- package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
- package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +34 -0
- package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
- package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +39 -0
- package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
- package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +40 -0
- package/modules/hooks/queries/index.d.ts +28 -26
- package/modules/hooks/queries/index.js +28 -26
- package/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
- package/modules/hooks/queries/useFunctionInvocationModuleQuery.js +53 -0
- package/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
- package/modules/hooks/queries/useFunctionInvocationModulesQuery.js +38 -0
- package/modules/hooks/query-keys.d.ts +186 -172
- package/modules/hooks/query-keys.js +109 -101
- package/modules/orm/index.d.ts +28 -26
- package/modules/orm/index.js +28 -26
- package/modules/orm/input-types.d.ts +4485 -2514
- package/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/modules/orm/models/functionInvocationModule.js +104 -0
- package/modules/orm/models/index.d.ts +14 -13
- package/modules/orm/models/index.js +30 -28
- package/modules/schema-types.d.ts +2258 -1951
- package/modules/types.d.ts +296 -233
- package/objects/orm/input-types.d.ts +62 -0
- package/package.json +4 -4
- package/usage/orm/input-types.d.ts +314 -19
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for FunctionInvocationModule
|
|
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 { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, CreateFunctionInvocationModuleInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, CreateFunctionInvocationModuleInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a FunctionInvocationModule
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateFunctionInvocationModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateFunctionInvocationModuleMutation<S extends FunctionInvocationModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & FunctionInvocationModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createFunctionInvocationModule: {
|
|
28
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateFunctionInvocationModuleInput['functionInvocationModule']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createFunctionInvocationModule: {
|
|
32
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateFunctionInvocationModuleInput['functionInvocationModule']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for FunctionInvocationModule
|
|
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 { functionInvocationModuleKeys } from '../query-keys';
|
|
10
|
+
import { functionInvocationModuleMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateFunctionInvocationModuleMutation(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: functionInvocationModuleMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.functionInvocationModule.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: functionInvocationModuleKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete mutation hook for FunctionInvocationModule
|
|
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 { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for deleting a FunctionInvocationModule with typed selection
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteFunctionInvocationModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteFunctionInvocationModuleMutation<S extends FunctionInvocationModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & FunctionInvocationModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteFunctionInvocationModule: {
|
|
28
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteFunctionInvocationModule: {
|
|
34
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete mutation hook for FunctionInvocationModule
|
|
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 { functionInvocationModuleKeys } from '../query-keys';
|
|
10
|
+
import { functionInvocationModuleMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useDeleteFunctionInvocationModuleMutation(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: functionInvocationModuleMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id }) => getClient()
|
|
19
|
+
.functionInvocationModule.delete({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
select: args.select,
|
|
24
|
+
})
|
|
25
|
+
.unwrap(),
|
|
26
|
+
onSuccess: (_, variables) => {
|
|
27
|
+
queryClient.removeQueries({
|
|
28
|
+
queryKey: functionInvocationModuleKeys.detail(variables.id),
|
|
29
|
+
});
|
|
30
|
+
queryClient.invalidateQueries({
|
|
31
|
+
queryKey: functionInvocationModuleKeys.lists(),
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
...mutationOptions,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Update mutation hook for FunctionInvocationModule
|
|
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 { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, FunctionInvocationModulePatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, FunctionInvocationModulePatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for updating a FunctionInvocationModule
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateFunctionInvocationModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', functionInvocationModulePatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateFunctionInvocationModuleMutation<S extends FunctionInvocationModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & FunctionInvocationModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateFunctionInvocationModule: {
|
|
28
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
functionInvocationModulePatch: FunctionInvocationModulePatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateFunctionInvocationModule: {
|
|
35
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
functionInvocationModulePatch: FunctionInvocationModulePatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Update mutation hook for FunctionInvocationModule
|
|
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 { functionInvocationModuleKeys } from '../query-keys';
|
|
10
|
+
import { functionInvocationModuleMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useUpdateFunctionInvocationModuleMutation(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: functionInvocationModuleMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id, functionInvocationModulePatch, }) => getClient()
|
|
19
|
+
.functionInvocationModule.update({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
data: functionInvocationModulePatch,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: (_, variables) => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: functionInvocationModuleKeys.detail(variables.id),
|
|
30
|
+
});
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: functionInvocationModuleKeys.lists(),
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
...mutationOptions,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -37,10 +37,10 @@ export * from './useWebauthnCredentialsModulesQuery';
|
|
|
37
37
|
export * from './useWebauthnCredentialsModuleQuery';
|
|
38
38
|
export * from './useCryptoAddressesModulesQuery';
|
|
39
39
|
export * from './useCryptoAddressesModuleQuery';
|
|
40
|
-
export * from './useIdentityProvidersModulesQuery';
|
|
41
|
-
export * from './useIdentityProvidersModuleQuery';
|
|
42
40
|
export * from './useDenormalizedTableFieldsQuery';
|
|
43
41
|
export * from './useDenormalizedTableFieldQuery';
|
|
42
|
+
export * from './useIdentityProvidersModulesQuery';
|
|
43
|
+
export * from './useIdentityProvidersModuleQuery';
|
|
44
44
|
export * from './useRlsModulesQuery';
|
|
45
45
|
export * from './useRlsModuleQuery';
|
|
46
46
|
export * from './useBlueprintsQuery';
|
|
@@ -51,28 +51,32 @@ export * from './useBlueprintConstructionsQuery';
|
|
|
51
51
|
export * from './useBlueprintConstructionQuery';
|
|
52
52
|
export * from './useCryptoAuthModulesQuery';
|
|
53
53
|
export * from './useCryptoAuthModuleQuery';
|
|
54
|
-
export * from './useRateLimitMetersModulesQuery';
|
|
55
|
-
export * from './useRateLimitMetersModuleQuery';
|
|
56
54
|
export * from './useSessionsModulesQuery';
|
|
57
55
|
export * from './useSessionsModuleQuery';
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './
|
|
56
|
+
export * from './useSecureTableProvisionsQuery';
|
|
57
|
+
export * from './useSecureTableProvisionQuery';
|
|
60
58
|
export * from './useMerkleStoreModulesQuery';
|
|
61
59
|
export * from './useMerkleStoreModuleQuery';
|
|
62
60
|
export * from './useGraphModulesQuery';
|
|
63
61
|
export * from './useGraphModuleQuery';
|
|
64
|
-
export * from './useSecureTableProvisionsQuery';
|
|
65
|
-
export * from './useSecureTableProvisionQuery';
|
|
66
|
-
export * from './useInvitesModulesQuery';
|
|
67
|
-
export * from './useInvitesModuleQuery';
|
|
68
62
|
export * from './useDatabaseProvisionModulesQuery';
|
|
69
63
|
export * from './useDatabaseProvisionModuleQuery';
|
|
70
|
-
export * from './
|
|
71
|
-
export * from './
|
|
64
|
+
export * from './useConfigSecretsModulesQuery';
|
|
65
|
+
export * from './useConfigSecretsModuleQuery';
|
|
66
|
+
export * from './useRateLimitMetersModulesQuery';
|
|
67
|
+
export * from './useRateLimitMetersModuleQuery';
|
|
72
68
|
export * from './useRealtimeModulesQuery';
|
|
73
69
|
export * from './useRealtimeModuleQuery';
|
|
74
70
|
export * from './useWebauthnAuthModulesQuery';
|
|
75
71
|
export * from './useWebauthnAuthModuleQuery';
|
|
72
|
+
export * from './useFunctionInvocationModulesQuery';
|
|
73
|
+
export * from './useFunctionInvocationModuleQuery';
|
|
74
|
+
export * from './useFunctionModulesQuery';
|
|
75
|
+
export * from './useFunctionModuleQuery';
|
|
76
|
+
export * from './useInvitesModulesQuery';
|
|
77
|
+
export * from './useInvitesModuleQuery';
|
|
78
|
+
export * from './useNamespaceModulesQuery';
|
|
79
|
+
export * from './useNamespaceModuleQuery';
|
|
76
80
|
export * from './useComputeLogModulesQuery';
|
|
77
81
|
export * from './useComputeLogModuleQuery';
|
|
78
82
|
export * from './useInferenceLogModulesQuery';
|
|
@@ -81,26 +85,24 @@ export * from './useStorageLogModulesQuery';
|
|
|
81
85
|
export * from './useStorageLogModuleQuery';
|
|
82
86
|
export * from './useTransferLogModulesQuery';
|
|
83
87
|
export * from './useTransferLogModuleQuery';
|
|
84
|
-
export * from './useDbUsageModulesQuery';
|
|
85
|
-
export * from './useDbUsageModuleQuery';
|
|
86
|
-
export * from './useNotificationsModulesQuery';
|
|
87
|
-
export * from './useNotificationsModuleQuery';
|
|
88
88
|
export * from './usePlansModulesQuery';
|
|
89
89
|
export * from './usePlansModuleQuery';
|
|
90
|
-
export * from './useHierarchyModulesQuery';
|
|
91
|
-
export * from './useHierarchyModuleQuery';
|
|
92
|
-
export * from './useBillingModulesQuery';
|
|
93
|
-
export * from './useBillingModuleQuery';
|
|
94
90
|
export * from './useBillingProviderModulesQuery';
|
|
95
91
|
export * from './useBillingProviderModuleQuery';
|
|
96
|
-
export * from './
|
|
97
|
-
export * from './
|
|
92
|
+
export * from './useDbUsageModulesQuery';
|
|
93
|
+
export * from './useDbUsageModuleQuery';
|
|
94
|
+
export * from './useHierarchyModulesQuery';
|
|
95
|
+
export * from './useHierarchyModuleQuery';
|
|
98
96
|
export * from './usePermissionsModulesQuery';
|
|
99
97
|
export * from './usePermissionsModuleQuery';
|
|
98
|
+
export * from './useNotificationsModulesQuery';
|
|
99
|
+
export * from './useNotificationsModuleQuery';
|
|
100
|
+
export * from './useProfilesModulesQuery';
|
|
101
|
+
export * from './useProfilesModuleQuery';
|
|
102
|
+
export * from './useBillingModulesQuery';
|
|
103
|
+
export * from './useBillingModuleQuery';
|
|
100
104
|
export * from './useRelationProvisionsQuery';
|
|
101
105
|
export * from './useRelationProvisionQuery';
|
|
102
|
-
export * from './useFunctionModulesQuery';
|
|
103
|
-
export * from './useFunctionModuleQuery';
|
|
104
106
|
export * from './useUserAuthModulesQuery';
|
|
105
107
|
export * from './useUserAuthModuleQuery';
|
|
106
108
|
export * from './useAgentModulesQuery';
|
|
@@ -109,11 +111,11 @@ export * from './useLimitsModulesQuery';
|
|
|
109
111
|
export * from './useLimitsModuleQuery';
|
|
110
112
|
export * from './useMembershipsModulesQuery';
|
|
111
113
|
export * from './useMembershipsModuleQuery';
|
|
114
|
+
export * from './useEntityTypeProvisionsQuery';
|
|
115
|
+
export * from './useEntityTypeProvisionQuery';
|
|
112
116
|
export * from './useStorageModulesQuery';
|
|
113
117
|
export * from './useStorageModuleQuery';
|
|
114
118
|
export * from './useEventsModulesQuery';
|
|
115
119
|
export * from './useEventsModuleQuery';
|
|
116
|
-
export * from './useEntityTypeProvisionsQuery';
|
|
117
|
-
export * from './useEntityTypeProvisionQuery';
|
|
118
120
|
export * from './useResolveBlueprintFieldQuery';
|
|
119
121
|
export * from './useResolveBlueprintTableQuery';
|
|
@@ -37,10 +37,10 @@ export * from './useWebauthnCredentialsModulesQuery';
|
|
|
37
37
|
export * from './useWebauthnCredentialsModuleQuery';
|
|
38
38
|
export * from './useCryptoAddressesModulesQuery';
|
|
39
39
|
export * from './useCryptoAddressesModuleQuery';
|
|
40
|
-
export * from './useIdentityProvidersModulesQuery';
|
|
41
|
-
export * from './useIdentityProvidersModuleQuery';
|
|
42
40
|
export * from './useDenormalizedTableFieldsQuery';
|
|
43
41
|
export * from './useDenormalizedTableFieldQuery';
|
|
42
|
+
export * from './useIdentityProvidersModulesQuery';
|
|
43
|
+
export * from './useIdentityProvidersModuleQuery';
|
|
44
44
|
export * from './useRlsModulesQuery';
|
|
45
45
|
export * from './useRlsModuleQuery';
|
|
46
46
|
export * from './useBlueprintsQuery';
|
|
@@ -51,28 +51,32 @@ export * from './useBlueprintConstructionsQuery';
|
|
|
51
51
|
export * from './useBlueprintConstructionQuery';
|
|
52
52
|
export * from './useCryptoAuthModulesQuery';
|
|
53
53
|
export * from './useCryptoAuthModuleQuery';
|
|
54
|
-
export * from './useRateLimitMetersModulesQuery';
|
|
55
|
-
export * from './useRateLimitMetersModuleQuery';
|
|
56
54
|
export * from './useSessionsModulesQuery';
|
|
57
55
|
export * from './useSessionsModuleQuery';
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './
|
|
56
|
+
export * from './useSecureTableProvisionsQuery';
|
|
57
|
+
export * from './useSecureTableProvisionQuery';
|
|
60
58
|
export * from './useMerkleStoreModulesQuery';
|
|
61
59
|
export * from './useMerkleStoreModuleQuery';
|
|
62
60
|
export * from './useGraphModulesQuery';
|
|
63
61
|
export * from './useGraphModuleQuery';
|
|
64
|
-
export * from './useSecureTableProvisionsQuery';
|
|
65
|
-
export * from './useSecureTableProvisionQuery';
|
|
66
|
-
export * from './useInvitesModulesQuery';
|
|
67
|
-
export * from './useInvitesModuleQuery';
|
|
68
62
|
export * from './useDatabaseProvisionModulesQuery';
|
|
69
63
|
export * from './useDatabaseProvisionModuleQuery';
|
|
70
|
-
export * from './
|
|
71
|
-
export * from './
|
|
64
|
+
export * from './useConfigSecretsModulesQuery';
|
|
65
|
+
export * from './useConfigSecretsModuleQuery';
|
|
66
|
+
export * from './useRateLimitMetersModulesQuery';
|
|
67
|
+
export * from './useRateLimitMetersModuleQuery';
|
|
72
68
|
export * from './useRealtimeModulesQuery';
|
|
73
69
|
export * from './useRealtimeModuleQuery';
|
|
74
70
|
export * from './useWebauthnAuthModulesQuery';
|
|
75
71
|
export * from './useWebauthnAuthModuleQuery';
|
|
72
|
+
export * from './useFunctionInvocationModulesQuery';
|
|
73
|
+
export * from './useFunctionInvocationModuleQuery';
|
|
74
|
+
export * from './useFunctionModulesQuery';
|
|
75
|
+
export * from './useFunctionModuleQuery';
|
|
76
|
+
export * from './useInvitesModulesQuery';
|
|
77
|
+
export * from './useInvitesModuleQuery';
|
|
78
|
+
export * from './useNamespaceModulesQuery';
|
|
79
|
+
export * from './useNamespaceModuleQuery';
|
|
76
80
|
export * from './useComputeLogModulesQuery';
|
|
77
81
|
export * from './useComputeLogModuleQuery';
|
|
78
82
|
export * from './useInferenceLogModulesQuery';
|
|
@@ -81,26 +85,24 @@ export * from './useStorageLogModulesQuery';
|
|
|
81
85
|
export * from './useStorageLogModuleQuery';
|
|
82
86
|
export * from './useTransferLogModulesQuery';
|
|
83
87
|
export * from './useTransferLogModuleQuery';
|
|
84
|
-
export * from './useDbUsageModulesQuery';
|
|
85
|
-
export * from './useDbUsageModuleQuery';
|
|
86
|
-
export * from './useNotificationsModulesQuery';
|
|
87
|
-
export * from './useNotificationsModuleQuery';
|
|
88
88
|
export * from './usePlansModulesQuery';
|
|
89
89
|
export * from './usePlansModuleQuery';
|
|
90
|
-
export * from './useHierarchyModulesQuery';
|
|
91
|
-
export * from './useHierarchyModuleQuery';
|
|
92
|
-
export * from './useBillingModulesQuery';
|
|
93
|
-
export * from './useBillingModuleQuery';
|
|
94
90
|
export * from './useBillingProviderModulesQuery';
|
|
95
91
|
export * from './useBillingProviderModuleQuery';
|
|
96
|
-
export * from './
|
|
97
|
-
export * from './
|
|
92
|
+
export * from './useDbUsageModulesQuery';
|
|
93
|
+
export * from './useDbUsageModuleQuery';
|
|
94
|
+
export * from './useHierarchyModulesQuery';
|
|
95
|
+
export * from './useHierarchyModuleQuery';
|
|
98
96
|
export * from './usePermissionsModulesQuery';
|
|
99
97
|
export * from './usePermissionsModuleQuery';
|
|
98
|
+
export * from './useNotificationsModulesQuery';
|
|
99
|
+
export * from './useNotificationsModuleQuery';
|
|
100
|
+
export * from './useProfilesModulesQuery';
|
|
101
|
+
export * from './useProfilesModuleQuery';
|
|
102
|
+
export * from './useBillingModulesQuery';
|
|
103
|
+
export * from './useBillingModuleQuery';
|
|
100
104
|
export * from './useRelationProvisionsQuery';
|
|
101
105
|
export * from './useRelationProvisionQuery';
|
|
102
|
-
export * from './useFunctionModulesQuery';
|
|
103
|
-
export * from './useFunctionModuleQuery';
|
|
104
106
|
export * from './useUserAuthModulesQuery';
|
|
105
107
|
export * from './useUserAuthModuleQuery';
|
|
106
108
|
export * from './useAgentModulesQuery';
|
|
@@ -109,11 +111,11 @@ export * from './useLimitsModulesQuery';
|
|
|
109
111
|
export * from './useLimitsModuleQuery';
|
|
110
112
|
export * from './useMembershipsModulesQuery';
|
|
111
113
|
export * from './useMembershipsModuleQuery';
|
|
114
|
+
export * from './useEntityTypeProvisionsQuery';
|
|
115
|
+
export * from './useEntityTypeProvisionQuery';
|
|
112
116
|
export * from './useStorageModulesQuery';
|
|
113
117
|
export * from './useStorageModuleQuery';
|
|
114
118
|
export * from './useEventsModulesQuery';
|
|
115
119
|
export * from './useEventsModuleQuery';
|
|
116
|
-
export * from './useEntityTypeProvisionsQuery';
|
|
117
|
-
export * from './useEntityTypeProvisionQuery';
|
|
118
120
|
export * from './useResolveBlueprintFieldQuery';
|
|
119
121
|
export * from './useResolveBlueprintTableQuery';
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single item query hook for FunctionInvocationModule
|
|
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 { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const functionInvocationModuleQueryKey: (id: string | number) => readonly ["functioninvocationmodule", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Query hook for fetching a single FunctionInvocationModule
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useFunctionInvocationModuleQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useFunctionInvocationModuleQuery<S extends FunctionInvocationModuleSelect, TData = {
|
|
24
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Fetch a single FunctionInvocationModule without React hooks
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchFunctionInvocationModuleQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchFunctionInvocationModuleQuery<S extends FunctionInvocationModuleSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
functionInvocationModule: InferSelectResult<FunctionInvocationModuleWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Prefetch a single FunctionInvocationModule for SSR or cache warming
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchFunctionInvocationModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchFunctionInvocationModuleQuery<S extends FunctionInvocationModuleSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single item query hook for FunctionInvocationModule
|
|
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 { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { functionInvocationModuleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const functionInvocationModuleQueryKey = functionInvocationModuleKeys.detail;
|
|
12
|
+
export function useFunctionInvocationModuleQuery(params) {
|
|
13
|
+
const args = buildSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: functionInvocationModuleKeys.detail(params.id),
|
|
18
|
+
queryFn: () => getClient()
|
|
19
|
+
.functionInvocationModule.findOne({
|
|
20
|
+
id: params.id,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export async function fetchFunctionInvocationModuleQuery(params) {
|
|
28
|
+
const args = buildSelectionArgs(params.selection);
|
|
29
|
+
return getClient()
|
|
30
|
+
.functionInvocationModule.findOne({
|
|
31
|
+
id: params.id,
|
|
32
|
+
select: args.select,
|
|
33
|
+
})
|
|
34
|
+
.unwrap();
|
|
35
|
+
}
|
|
36
|
+
export async function prefetchFunctionInvocationModuleQuery(queryClient, params) {
|
|
37
|
+
const args = buildSelectionArgs(params.selection);
|
|
38
|
+
await queryClient.prefetchQuery({
|
|
39
|
+
queryKey: functionInvocationModuleKeys.detail(params.id),
|
|
40
|
+
queryFn: () => getClient()
|
|
41
|
+
.functionInvocationModule.findOne({
|
|
42
|
+
id: params.id,
|
|
43
|
+
select: args.select,
|
|
44
|
+
})
|
|
45
|
+
.unwrap(),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for FunctionInvocationModule
|
|
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 { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { FunctionInvocationModuleSelect, FunctionInvocationModuleWithRelations, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const functionInvocationModulesQueryKey: (variables?: object) => readonly ["functioninvocationmodule", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Query hook for fetching FunctionInvocationModule list
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useFunctionInvocationModulesQuery({
|
|
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 useFunctionInvocationModulesQuery<S extends FunctionInvocationModuleSelect, TData = {
|
|
29
|
+
functionInvocationModules: ConnectionResult<InferSelectResult<FunctionInvocationModuleWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
functionInvocationModules: ConnectionResult<InferSelectResult<FunctionInvocationModuleWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Fetch FunctionInvocationModule list without React hooks
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchFunctionInvocationModulesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchFunctionInvocationModulesQuery<S extends FunctionInvocationModuleSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
functionInvocationModules: ConnectionResult<InferSelectResult<FunctionInvocationModuleWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Prefetch FunctionInvocationModule list for SSR or cache warming
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchFunctionInvocationModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchFunctionInvocationModulesQuery<S extends FunctionInvocationModuleSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, FunctionInvocationModuleFilter, FunctionInvocationModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionInvocationModuleSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for FunctionInvocationModule
|
|
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 { functionInvocationModuleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const functionInvocationModulesQueryKey = functionInvocationModuleKeys.list;
|
|
12
|
+
export function useFunctionInvocationModulesQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: functionInvocationModuleKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().functionInvocationModule.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchFunctionInvocationModulesQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().functionInvocationModule.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchFunctionInvocationModulesQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: functionInvocationModuleKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().functionInvocationModule.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|