@constructive-io/react 1.20.5 → 1.20.6
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/orm/input-types.d.ts +4 -4
- package/admin/orm/mutation/index.d.ts +5 -4
- package/admin/schema-types.d.ts +3 -3
- package/agent/orm/input-types.d.ts +4 -4
- package/agent/orm/mutation/index.d.ts +5 -4
- package/agent/schema-types.d.ts +3 -3
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +0 -12
- package/api/hooks/invalidation.js +0 -32
- package/api/hooks/mutation-keys.d.ts +4 -24
- package/api/hooks/mutation-keys.js +8 -16
- package/api/hooks/mutations/index.d.ts +2 -6
- package/api/hooks/mutations/index.js +2 -6
- package/api/hooks/mutations/useCreateFunctionFromSourceMutation.d.ts +20 -0
- package/api/hooks/mutations/{useCreateHostnameBindingMutation.js → useCreateFunctionFromSourceMutation.js} +6 -14
- package/api/hooks/mutations/useUpdateFunctionFromSourceMutation.d.ts +20 -0
- package/api/hooks/mutations/useUpdateFunctionFromSourceMutation.js +26 -0
- package/api/hooks/queries/index.d.ts +1 -4
- package/api/hooks/queries/index.js +1 -4
- package/api/hooks/queries/useEmailSharedAccountQuery.d.ts +45 -0
- package/api/hooks/queries/useEmailSharedAccountQuery.js +49 -0
- package/api/hooks/query-keys.d.ts +2 -28
- package/api/hooks/query-keys.js +3 -18
- package/api/orm/index.d.ts +15 -4
- package/api/orm/index.js +0 -4
- package/api/orm/input-types.d.ts +96 -439
- package/api/orm/models/index.d.ts +0 -2
- package/api/orm/models/index.js +2 -6
- package/api/orm/mutation/index.d.ts +30 -5
- package/api/orm/mutation/index.js +24 -0
- package/api/orm/query/index.d.ts +5 -0
- package/api/orm/query/index.js +7 -0
- package/api/schema-types.d.ts +39 -273
- package/api/types.d.ts +3 -28
- package/auth/orm/input-types.d.ts +5 -29
- package/auth/orm/mutation/index.d.ts +5 -4
- package/auth/schema-types.d.ts +4 -16
- package/compute/orm/input-types.d.ts +50 -6
- package/compute/orm/mutation/index.d.ts +5 -4
- package/compute/schema-types.d.ts +29 -5
- package/compute/types.d.ts +4 -0
- package/config/orm/input-types.d.ts +4 -4
- package/config/orm/mutation/index.d.ts +5 -4
- package/config/schema-types.d.ts +3 -3
- package/esm/admin/orm/input-types.d.ts +4 -4
- package/esm/admin/orm/mutation/index.d.ts +5 -4
- package/esm/admin/schema-types.d.ts +3 -3
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/agent/schema-types.d.ts +3 -3
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +0 -12
- package/esm/api/hooks/invalidation.js +1 -33
- package/esm/api/hooks/mutation-keys.d.ts +4 -24
- package/esm/api/hooks/mutation-keys.js +6 -14
- package/esm/api/hooks/mutations/index.d.ts +2 -6
- package/esm/api/hooks/mutations/index.js +2 -6
- package/esm/api/hooks/mutations/useCreateFunctionFromSourceMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/useCreateFunctionFromSourceMutation.js +23 -0
- package/esm/api/hooks/mutations/useUpdateFunctionFromSourceMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/useUpdateFunctionFromSourceMutation.js +23 -0
- package/esm/api/hooks/queries/index.d.ts +1 -4
- package/esm/api/hooks/queries/index.js +1 -4
- package/esm/api/hooks/queries/useEmailSharedAccountQuery.d.ts +45 -0
- package/esm/api/hooks/queries/useEmailSharedAccountQuery.js +43 -0
- package/esm/api/hooks/query-keys.d.ts +2 -28
- package/esm/api/hooks/query-keys.js +1 -16
- package/esm/api/orm/index.d.ts +15 -4
- package/esm/api/orm/index.js +0 -4
- package/esm/api/orm/input-types.d.ts +96 -439
- package/esm/api/orm/models/index.d.ts +0 -2
- package/esm/api/orm/models/index.js +0 -2
- package/esm/api/orm/mutation/index.d.ts +30 -5
- package/esm/api/orm/mutation/index.js +24 -0
- package/esm/api/orm/query/index.d.ts +5 -0
- package/esm/api/orm/query/index.js +7 -0
- package/esm/api/schema-types.d.ts +39 -273
- package/esm/api/types.d.ts +3 -28
- package/esm/auth/orm/input-types.d.ts +5 -29
- package/esm/auth/orm/mutation/index.d.ts +5 -4
- package/esm/auth/schema-types.d.ts +4 -16
- package/esm/compute/orm/input-types.d.ts +50 -6
- package/esm/compute/orm/mutation/index.d.ts +5 -4
- package/esm/compute/schema-types.d.ts +29 -5
- package/esm/compute/types.d.ts +4 -0
- package/esm/config/orm/input-types.d.ts +4 -4
- package/esm/config/orm/mutation/index.d.ts +5 -4
- package/esm/config/schema-types.d.ts +3 -3
- package/esm/infra/orm/input-types.d.ts +4 -4
- package/esm/infra/orm/mutation/index.d.ts +5 -4
- package/esm/infra/schema-types.d.ts +3 -3
- package/esm/modules/orm/input-types.d.ts +72 -21
- package/esm/modules/orm/mutation/index.d.ts +6 -5
- package/esm/modules/schema-types.d.ts +41 -15
- package/esm/modules/types.d.ts +8 -1
- package/esm/objects/orm/input-types.d.ts +4 -4
- package/esm/objects/orm/mutation/index.d.ts +5 -4
- package/esm/objects/schema-types.d.ts +3 -3
- package/esm/remote/orm/input-types.d.ts +4 -4
- package/esm/remote/orm/mutation/index.d.ts +5 -4
- package/esm/remote/schema-types.d.ts +3 -3
- package/esm/storage/orm/input-types.d.ts +34 -6
- package/esm/storage/orm/mutation/index.d.ts +7 -6
- package/esm/storage/schema-types.d.ts +17 -5
- package/esm/storage/types.d.ts +4 -0
- package/esm/usage/orm/input-types.d.ts +4 -4
- package/esm/usage/orm/mutation/index.d.ts +5 -4
- package/esm/usage/schema-types.d.ts +3 -3
- package/infra/orm/input-types.d.ts +4 -4
- package/infra/orm/mutation/index.d.ts +5 -4
- package/infra/schema-types.d.ts +3 -3
- package/modules/orm/input-types.d.ts +72 -21
- package/modules/orm/mutation/index.d.ts +6 -5
- package/modules/schema-types.d.ts +41 -15
- package/modules/types.d.ts +8 -1
- package/objects/orm/input-types.d.ts +4 -4
- package/objects/orm/mutation/index.d.ts +5 -4
- package/objects/schema-types.d.ts +3 -3
- package/package.json +2 -2
- package/remote/orm/input-types.d.ts +4 -4
- package/remote/orm/mutation/index.d.ts +5 -4
- package/remote/schema-types.d.ts +3 -3
- package/storage/orm/input-types.d.ts +34 -6
- package/storage/orm/mutation/index.d.ts +7 -6
- package/storage/schema-types.d.ts +17 -5
- package/storage/types.d.ts +4 -0
- package/usage/orm/input-types.d.ts +4 -4
- package/usage/orm/mutation/index.d.ts +5 -4
- package/usage/schema-types.d.ts +3 -3
- package/api/hooks/mutations/useCreateHostnameBindingMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateRouteBindingMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateRouteBindingMutation.js +0 -34
- package/api/hooks/mutations/useDeleteHostnameBindingMutation.d.ts +0 -38
- package/api/hooks/mutations/useDeleteHostnameBindingMutation.js +0 -39
- package/api/hooks/mutations/useDeleteRouteBindingMutation.d.ts +0 -38
- package/api/hooks/mutations/useDeleteRouteBindingMutation.js +0 -39
- package/api/hooks/mutations/useUpdateHostnameBindingMutation.d.ts +0 -40
- package/api/hooks/mutations/useUpdateHostnameBindingMutation.js +0 -40
- package/api/hooks/mutations/useUpdateRouteBindingMutation.d.ts +0 -40
- package/api/hooks/mutations/useUpdateRouteBindingMutation.js +0 -40
- package/api/hooks/queries/useHostnameBindingQuery.d.ts +0 -65
- package/api/hooks/queries/useHostnameBindingQuery.js +0 -53
- package/api/hooks/queries/useHostnameBindingsQuery.d.ts +0 -69
- package/api/hooks/queries/useHostnameBindingsQuery.js +0 -38
- package/api/hooks/queries/useRouteBindingQuery.d.ts +0 -65
- package/api/hooks/queries/useRouteBindingQuery.js +0 -53
- package/api/hooks/queries/useRouteBindingsQuery.d.ts +0 -69
- package/api/hooks/queries/useRouteBindingsQuery.js +0 -38
- package/api/orm/models/hostnameBinding.d.ts +0 -54
- package/api/orm/models/hostnameBinding.js +0 -104
- package/api/orm/models/routeBinding.d.ts +0 -54
- package/api/orm/models/routeBinding.js +0 -104
- package/esm/api/hooks/mutations/useCreateHostnameBindingMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateHostnameBindingMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateRouteBindingMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateRouteBindingMutation.js +0 -31
- package/esm/api/hooks/mutations/useDeleteHostnameBindingMutation.d.ts +0 -38
- package/esm/api/hooks/mutations/useDeleteHostnameBindingMutation.js +0 -36
- package/esm/api/hooks/mutations/useDeleteRouteBindingMutation.d.ts +0 -38
- package/esm/api/hooks/mutations/useDeleteRouteBindingMutation.js +0 -36
- package/esm/api/hooks/mutations/useUpdateHostnameBindingMutation.d.ts +0 -40
- package/esm/api/hooks/mutations/useUpdateHostnameBindingMutation.js +0 -37
- package/esm/api/hooks/mutations/useUpdateRouteBindingMutation.d.ts +0 -40
- package/esm/api/hooks/mutations/useUpdateRouteBindingMutation.js +0 -37
- package/esm/api/hooks/queries/useHostnameBindingQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useHostnameBindingQuery.js +0 -47
- package/esm/api/hooks/queries/useHostnameBindingsQuery.d.ts +0 -69
- package/esm/api/hooks/queries/useHostnameBindingsQuery.js +0 -32
- package/esm/api/hooks/queries/useRouteBindingQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useRouteBindingQuery.js +0 -47
- package/esm/api/hooks/queries/useRouteBindingsQuery.d.ts +0 -69
- package/esm/api/hooks/queries/useRouteBindingsQuery.js +0 -32
- package/esm/api/orm/models/hostnameBinding.d.ts +0 -54
- package/esm/api/orm/models/hostnameBinding.js +0 -100
- package/esm/api/orm/models/routeBinding.d.ts +0 -54
- package/esm/api/orm/models/routeBinding.js +0 -100
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for updateFunctionFromSource
|
|
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 useUpdateFunctionFromSourceMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.updateFunctionFromSource(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.updateFunctionFromSource(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -60,8 +60,6 @@ export * from './useFullTextSearchQuery';
|
|
|
60
60
|
export * from './useFunctionsQuery';
|
|
61
61
|
export * from './useFunctionQuery';
|
|
62
62
|
export * from './useGetSitePreviewsQuery';
|
|
63
|
-
export * from './useHostnameBindingsQuery';
|
|
64
|
-
export * from './useHostnameBindingQuery';
|
|
65
63
|
export * from './useIdentityProviderRegistriesQuery';
|
|
66
64
|
export * from './useIdentityProviderRegistryQuery';
|
|
67
65
|
export * from './useIndicesQuery';
|
|
@@ -129,8 +127,6 @@ export * from './useRedirectsQuery';
|
|
|
129
127
|
export * from './useRedirectQuery';
|
|
130
128
|
export * from './useRlsSettingsQuery';
|
|
131
129
|
export * from './useRlsSettingQuery';
|
|
132
|
-
export * from './useRouteBindingsQuery';
|
|
133
|
-
export * from './useRouteBindingQuery';
|
|
134
130
|
export * from './useRoutesQuery';
|
|
135
131
|
export * from './useRouteQuery';
|
|
136
132
|
export * from './useSchemasQuery';
|
|
@@ -187,6 +183,7 @@ export * from './useWebauthnSettingsQuery';
|
|
|
187
183
|
export * from './useWebauthnSettingQuery';
|
|
188
184
|
export * from './useApiSchemaNamesQuery';
|
|
189
185
|
export * from './useApplyRegistryDefaultsQuery';
|
|
186
|
+
export * from './useEmailSharedAccountQuery';
|
|
190
187
|
export * from './useGetSitePreviewCommitQuery';
|
|
191
188
|
export * from './useGetSiteReleaseManifestQuery';
|
|
192
189
|
export * from './usePagePublishedQuery';
|
|
@@ -60,8 +60,6 @@ export * from './useFullTextSearchQuery';
|
|
|
60
60
|
export * from './useFunctionsQuery';
|
|
61
61
|
export * from './useFunctionQuery';
|
|
62
62
|
export * from './useGetSitePreviewsQuery';
|
|
63
|
-
export * from './useHostnameBindingsQuery';
|
|
64
|
-
export * from './useHostnameBindingQuery';
|
|
65
63
|
export * from './useIdentityProviderRegistriesQuery';
|
|
66
64
|
export * from './useIdentityProviderRegistryQuery';
|
|
67
65
|
export * from './useIndicesQuery';
|
|
@@ -129,8 +127,6 @@ export * from './useRedirectsQuery';
|
|
|
129
127
|
export * from './useRedirectQuery';
|
|
130
128
|
export * from './useRlsSettingsQuery';
|
|
131
129
|
export * from './useRlsSettingQuery';
|
|
132
|
-
export * from './useRouteBindingsQuery';
|
|
133
|
-
export * from './useRouteBindingQuery';
|
|
134
130
|
export * from './useRoutesQuery';
|
|
135
131
|
export * from './useRouteQuery';
|
|
136
132
|
export * from './useSchemasQuery';
|
|
@@ -187,6 +183,7 @@ export * from './useWebauthnSettingsQuery';
|
|
|
187
183
|
export * from './useWebauthnSettingQuery';
|
|
188
184
|
export * from './useApiSchemaNamesQuery';
|
|
189
185
|
export * from './useApplyRegistryDefaultsQuery';
|
|
186
|
+
export * from './useEmailSharedAccountQuery';
|
|
190
187
|
export * from './useGetSitePreviewCommitQuery';
|
|
191
188
|
export * from './useGetSiteReleaseManifestQuery';
|
|
192
189
|
export * from './usePagePublishedQuery';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query hook for emailSharedAccount
|
|
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
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
8
|
+
export declare const emailSharedAccountQueryKey: () => readonly ["emailSharedAccount"];
|
|
9
|
+
/**
|
|
10
|
+
* Query hook for emailSharedAccount
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* const { data, isLoading } = useEmailSharedAccountQuery();
|
|
15
|
+
*
|
|
16
|
+
* if (data?.emailSharedAccount) {
|
|
17
|
+
* console.log(data.emailSharedAccount);
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function useEmailSharedAccountQuery<TData = {
|
|
22
|
+
emailSharedAccount: unknown | null;
|
|
23
|
+
}>(params?: Omit<UseQueryOptions<{
|
|
24
|
+
emailSharedAccount: unknown | null;
|
|
25
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
26
|
+
/**
|
|
27
|
+
* Fetch emailSharedAccount without React hooks
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const data = await fetchEmailSharedAccountQuery();
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function fetchEmailSharedAccountQuery(): Promise<{
|
|
35
|
+
emailSharedAccount: unknown | null;
|
|
36
|
+
}>;
|
|
37
|
+
/**
|
|
38
|
+
* Prefetch emailSharedAccount for SSR or cache warming
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* await prefetchEmailSharedAccountQuery(queryClient);
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare function prefetchEmailSharedAccountQuery(queryClient: QueryClient): Promise<void>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query hook for emailSharedAccount
|
|
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 { customQueryKeys } from '../query-keys';
|
|
9
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
10
|
+
export const emailSharedAccountQueryKey = customQueryKeys.emailSharedAccount;
|
|
11
|
+
export function useEmailSharedAccountQuery(params) {
|
|
12
|
+
const queryOptions = params ?? {};
|
|
13
|
+
return useQuery({
|
|
14
|
+
queryKey: emailSharedAccountQueryKey(),
|
|
15
|
+
queryFn: () => getClient().query.emailSharedAccount().unwrap(),
|
|
16
|
+
...queryOptions,
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Fetch emailSharedAccount without React hooks
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const data = await fetchEmailSharedAccountQuery();
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export async function fetchEmailSharedAccountQuery() {
|
|
28
|
+
return getClient().query.emailSharedAccount().unwrap();
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Prefetch emailSharedAccount for SSR or cache warming
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* await prefetchEmailSharedAccountQuery(queryClient);
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export async function prefetchEmailSharedAccountQuery(queryClient) {
|
|
39
|
+
await queryClient.prefetchQuery({
|
|
40
|
+
queryKey: emailSharedAccountQueryKey(),
|
|
41
|
+
queryFn: () => getClient().query.emailSharedAccount().unwrap(),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
@@ -206,13 +206,6 @@ export declare const getSitePreviewsRecordKeys: {
|
|
|
206
206
|
/** Detail query keys */ readonly details: () => readonly ["getsitepreviewsrecord", "detail"];
|
|
207
207
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getsitepreviewsrecord", "detail", string | number];
|
|
208
208
|
};
|
|
209
|
-
export declare const hostnameBindingKeys: {
|
|
210
|
-
/** All hostnameBinding queries */ readonly all: readonly ["hostnamebinding"];
|
|
211
|
-
/** List query keys */ readonly lists: () => readonly ["hostnamebinding", "list"];
|
|
212
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["hostnamebinding", "list", object];
|
|
213
|
-
/** Detail query keys */ readonly details: () => readonly ["hostnamebinding", "detail"];
|
|
214
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["hostnamebinding", "detail", string | number];
|
|
215
|
-
};
|
|
216
209
|
export declare const identityProviderRegistryKeys: {
|
|
217
210
|
/** All identityProviderRegistry queries */ readonly all: readonly ["identityproviderregistry"];
|
|
218
211
|
/** List query keys */ readonly lists: () => readonly ["identityproviderregistry", "list"];
|
|
@@ -451,13 +444,6 @@ export declare const rlsSettingKeys: {
|
|
|
451
444
|
/** Detail query keys */ readonly details: () => readonly ["rlssetting", "detail"];
|
|
452
445
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["rlssetting", "detail", string | number];
|
|
453
446
|
};
|
|
454
|
-
export declare const routeBindingKeys: {
|
|
455
|
-
/** All routeBinding queries */ readonly all: readonly ["routebinding"];
|
|
456
|
-
/** List query keys */ readonly lists: () => readonly ["routebinding", "list"];
|
|
457
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["routebinding", "list", object];
|
|
458
|
-
/** Detail query keys */ readonly details: () => readonly ["routebinding", "detail"];
|
|
459
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["routebinding", "detail", string | number];
|
|
460
|
-
};
|
|
461
447
|
export declare const routeKeys: {
|
|
462
448
|
/** All route queries */ readonly all: readonly ["route"];
|
|
463
449
|
/** List query keys */ readonly lists: () => readonly ["route", "list"];
|
|
@@ -650,6 +636,7 @@ export declare const webauthnSettingKeys: {
|
|
|
650
636
|
export declare const customQueryKeys: {
|
|
651
637
|
/** Query key for apiSchemaNames */ readonly apiSchemaNames: (variables?: object) => readonly ["apiSchemaNames", object];
|
|
652
638
|
/** Query key for applyRegistryDefaults */ readonly applyRegistryDefaults: (variables?: object) => readonly ["applyRegistryDefaults", object];
|
|
639
|
+
/** Query key for emailSharedAccount */ readonly emailSharedAccount: () => readonly ["emailSharedAccount"];
|
|
653
640
|
/** Query key for getSitePreviewCommit */ readonly getSitePreviewCommit: (variables?: object) => readonly ["getSitePreviewCommit", object];
|
|
654
641
|
/** Query key for getSiteReleaseManifest */ readonly getSiteReleaseManifest: (variables?: object) => readonly ["getSiteReleaseManifest", object];
|
|
655
642
|
/** Query key for pagePublished */ readonly pagePublished: (variables?: object) => readonly ["pagePublished", object];
|
|
@@ -892,13 +879,6 @@ export declare const queryKeys: {
|
|
|
892
879
|
/** Detail query keys */ readonly details: () => readonly ["getsitepreviewsrecord", "detail"];
|
|
893
880
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["getsitepreviewsrecord", "detail", string | number];
|
|
894
881
|
};
|
|
895
|
-
readonly hostnameBinding: {
|
|
896
|
-
/** All hostnameBinding queries */ readonly all: readonly ["hostnamebinding"];
|
|
897
|
-
/** List query keys */ readonly lists: () => readonly ["hostnamebinding", "list"];
|
|
898
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["hostnamebinding", "list", object];
|
|
899
|
-
/** Detail query keys */ readonly details: () => readonly ["hostnamebinding", "detail"];
|
|
900
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["hostnamebinding", "detail", string | number];
|
|
901
|
-
};
|
|
902
882
|
readonly identityProviderRegistry: {
|
|
903
883
|
/** All identityProviderRegistry queries */ readonly all: readonly ["identityproviderregistry"];
|
|
904
884
|
/** List query keys */ readonly lists: () => readonly ["identityproviderregistry", "list"];
|
|
@@ -1137,13 +1117,6 @@ export declare const queryKeys: {
|
|
|
1137
1117
|
/** Detail query keys */ readonly details: () => readonly ["rlssetting", "detail"];
|
|
1138
1118
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["rlssetting", "detail", string | number];
|
|
1139
1119
|
};
|
|
1140
|
-
readonly routeBinding: {
|
|
1141
|
-
/** All routeBinding queries */ readonly all: readonly ["routebinding"];
|
|
1142
|
-
/** List query keys */ readonly lists: () => readonly ["routebinding", "list"];
|
|
1143
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["routebinding", "list", object];
|
|
1144
|
-
/** Detail query keys */ readonly details: () => readonly ["routebinding", "detail"];
|
|
1145
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["routebinding", "detail", string | number];
|
|
1146
|
-
};
|
|
1147
1120
|
readonly route: {
|
|
1148
1121
|
/** All route queries */ readonly all: readonly ["route"];
|
|
1149
1122
|
/** List query keys */ readonly lists: () => readonly ["route", "list"];
|
|
@@ -1336,6 +1309,7 @@ export declare const queryKeys: {
|
|
|
1336
1309
|
readonly custom: {
|
|
1337
1310
|
/** Query key for apiSchemaNames */ readonly apiSchemaNames: (variables?: object) => readonly ["apiSchemaNames", object];
|
|
1338
1311
|
/** Query key for applyRegistryDefaults */ readonly applyRegistryDefaults: (variables?: object) => readonly ["applyRegistryDefaults", object];
|
|
1312
|
+
/** Query key for emailSharedAccount */ readonly emailSharedAccount: () => readonly ["emailSharedAccount"];
|
|
1339
1313
|
/** Query key for getSitePreviewCommit */ readonly getSitePreviewCommit: (variables?: object) => readonly ["getSitePreviewCommit", object];
|
|
1340
1314
|
/** Query key for getSiteReleaseManifest */ readonly getSiteReleaseManifest: (variables?: object) => readonly ["getSiteReleaseManifest", object];
|
|
1341
1315
|
/** Query key for pagePublished */ readonly pagePublished: (variables?: object) => readonly ["pagePublished", object];
|
|
@@ -219,13 +219,6 @@ export const getSitePreviewsRecordKeys = {
|
|
|
219
219
|
/** Detail query keys */ details: () => [...getSitePreviewsRecordKeys.all, 'detail'],
|
|
220
220
|
/** Detail query key for specific item */ detail: (id) => [...getSitePreviewsRecordKeys.details(), id],
|
|
221
221
|
};
|
|
222
|
-
export const hostnameBindingKeys = {
|
|
223
|
-
/** All hostnameBinding queries */ all: ['hostnamebinding'],
|
|
224
|
-
/** List query keys */ lists: () => [...hostnameBindingKeys.all, 'list'],
|
|
225
|
-
/** List query key with variables */ list: (variables) => [...hostnameBindingKeys.lists(), variables],
|
|
226
|
-
/** Detail query keys */ details: () => [...hostnameBindingKeys.all, 'detail'],
|
|
227
|
-
/** Detail query key for specific item */ detail: (id) => [...hostnameBindingKeys.details(), id],
|
|
228
|
-
};
|
|
229
222
|
export const identityProviderRegistryKeys = {
|
|
230
223
|
/** All identityProviderRegistry queries */ all: ['identityproviderregistry'],
|
|
231
224
|
/** List query keys */ lists: () => [...identityProviderRegistryKeys.all, 'list'],
|
|
@@ -464,13 +457,6 @@ export const rlsSettingKeys = {
|
|
|
464
457
|
/** Detail query keys */ details: () => [...rlsSettingKeys.all, 'detail'],
|
|
465
458
|
/** Detail query key for specific item */ detail: (id) => [...rlsSettingKeys.details(), id],
|
|
466
459
|
};
|
|
467
|
-
export const routeBindingKeys = {
|
|
468
|
-
/** All routeBinding queries */ all: ['routebinding'],
|
|
469
|
-
/** List query keys */ lists: () => [...routeBindingKeys.all, 'list'],
|
|
470
|
-
/** List query key with variables */ list: (variables) => [...routeBindingKeys.lists(), variables],
|
|
471
|
-
/** Detail query keys */ details: () => [...routeBindingKeys.all, 'detail'],
|
|
472
|
-
/** Detail query key for specific item */ detail: (id) => [...routeBindingKeys.details(), id],
|
|
473
|
-
};
|
|
474
460
|
export const routeKeys = {
|
|
475
461
|
/** All route queries */ all: ['route'],
|
|
476
462
|
/** List query keys */ lists: () => [...routeKeys.all, 'list'],
|
|
@@ -666,6 +652,7 @@ export const webauthnSettingKeys = {
|
|
|
666
652
|
export const customQueryKeys = {
|
|
667
653
|
/** Query key for apiSchemaNames */ apiSchemaNames: (variables) => ['apiSchemaNames', variables],
|
|
668
654
|
/** Query key for applyRegistryDefaults */ applyRegistryDefaults: (variables) => ['applyRegistryDefaults', variables],
|
|
655
|
+
/** Query key for emailSharedAccount */ emailSharedAccount: () => ['emailSharedAccount'],
|
|
669
656
|
/** Query key for getSitePreviewCommit */ getSitePreviewCommit: (variables) => ['getSitePreviewCommit', variables],
|
|
670
657
|
/** Query key for getSiteReleaseManifest */ getSiteReleaseManifest: (variables) => ['getSiteReleaseManifest', variables],
|
|
671
658
|
/** Query key for pagePublished */ pagePublished: (variables) => ['pagePublished', variables],
|
|
@@ -734,7 +721,6 @@ export const queryKeys = {
|
|
|
734
721
|
fullTextSearch: fullTextSearchKeys,
|
|
735
722
|
function: functionKeys,
|
|
736
723
|
getSitePreviewsRecord: getSitePreviewsRecordKeys,
|
|
737
|
-
hostnameBinding: hostnameBindingKeys,
|
|
738
724
|
identityProviderRegistry: identityProviderRegistryKeys,
|
|
739
725
|
index: indexKeys,
|
|
740
726
|
listSuspendedDatabasesRecord: listSuspendedDatabasesRecordKeys,
|
|
@@ -769,7 +755,6 @@ export const queryKeys = {
|
|
|
769
755
|
pubkeySetting: pubkeySettingKeys,
|
|
770
756
|
redirect: redirectKeys,
|
|
771
757
|
rlsSetting: rlsSettingKeys,
|
|
772
|
-
routeBinding: routeBindingKeys,
|
|
773
758
|
route: routeKeys,
|
|
774
759
|
schema: schemaKeys,
|
|
775
760
|
schemaGrant: schemaGrantKeys,
|
package/esm/api/orm/index.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
|
28
28
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
29
29
|
import { FunctionModel } from './models/function';
|
|
30
30
|
import { GetSitePreviewsRecordModel } from './models/getSitePreviewsRecord';
|
|
31
|
-
import { HostnameBindingModel } from './models/hostnameBinding';
|
|
32
31
|
import { IdentityProviderRegistryModel } from './models/identityProviderRegistry';
|
|
33
32
|
import { IndexModel } from './models/index';
|
|
34
33
|
import { ListSuspendedDatabasesRecordModel } from './models/listSuspendedDatabasesRecord';
|
|
@@ -63,7 +62,6 @@ import { PrimaryKeyConstraintModel } from './models/primaryKeyConstraint';
|
|
|
63
62
|
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
64
63
|
import { RedirectModel } from './models/redirect';
|
|
65
64
|
import { RlsSettingModel } from './models/rlsSetting';
|
|
66
|
-
import { RouteBindingModel } from './models/routeBinding';
|
|
67
65
|
import { RouteModel } from './models/route';
|
|
68
66
|
import { SchemaModel } from './models/schema';
|
|
69
67
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
@@ -151,7 +149,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
151
149
|
fullTextSearch: FullTextSearchModel;
|
|
152
150
|
function: FunctionModel;
|
|
153
151
|
getSitePreviewsRecord: GetSitePreviewsRecordModel;
|
|
154
|
-
hostnameBinding: HostnameBindingModel;
|
|
155
152
|
identityProviderRegistry: IdentityProviderRegistryModel;
|
|
156
153
|
index: IndexModel;
|
|
157
154
|
listSuspendedDatabasesRecord: ListSuspendedDatabasesRecordModel;
|
|
@@ -186,7 +183,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
186
183
|
pubkeySetting: PubkeySettingModel;
|
|
187
184
|
redirect: RedirectModel;
|
|
188
185
|
rlsSetting: RlsSettingModel;
|
|
189
|
-
routeBinding: RouteBindingModel;
|
|
190
186
|
route: RouteModel;
|
|
191
187
|
schema: SchemaModel;
|
|
192
188
|
schemaGrant: SchemaGrantModel;
|
|
@@ -225,6 +221,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
225
221
|
}) => import("./query-builder").QueryBuilder<{
|
|
226
222
|
applyRegistryDefaults: unknown | null;
|
|
227
223
|
}>;
|
|
224
|
+
emailSharedAccount: (options?: {
|
|
225
|
+
select?: Record<string, unknown>;
|
|
226
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
227
|
+
emailSharedAccount: unknown | null;
|
|
228
|
+
}>;
|
|
228
229
|
getSitePreviewCommit: (args: import("./query").GetSitePreviewCommitVariables, options?: {
|
|
229
230
|
select?: Record<string, unknown>;
|
|
230
231
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -317,6 +318,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
317
318
|
} & import("./select-types").StrictSelect<S, import("./input-types").CancelDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
318
319
|
cancelDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").CancelDatabaseTransferPayload, S> | null;
|
|
319
320
|
}>;
|
|
321
|
+
createFunctionFromSource: <S extends import("./input-types").CreateFunctionPayloadSelect>(args: import("./mutation").CreateFunctionFromSourceVariables, options: {
|
|
322
|
+
select: S;
|
|
323
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CreateFunctionPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
324
|
+
createFunctionFromSource: import("./select-types").InferSelectResult<import("./input-types").CreateFunctionPayload, S> | null;
|
|
325
|
+
}>;
|
|
320
326
|
deleteSitePreview: <S extends import("./input-types").DeleteSitePreviewPayloadSelect>(args: import("./mutation").DeleteSitePreviewVariables, options: {
|
|
321
327
|
select: S;
|
|
322
328
|
} & import("./select-types").StrictSelect<S, import("./input-types").DeleteSitePreviewPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -447,5 +453,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
447
453
|
} & import("./select-types").StrictSelect<S, import("./input-types").UnsuspendDatabasePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
448
454
|
unsuspendDatabase: import("./select-types").InferSelectResult<import("./input-types").UnsuspendDatabasePayload, S> | null;
|
|
449
455
|
}>;
|
|
456
|
+
updateFunctionFromSource: <S extends import("./input-types").UpdateFunctionPayloadSelect>(args: import("./mutation").UpdateFunctionFromSourceVariables, options: {
|
|
457
|
+
select: S;
|
|
458
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").UpdateFunctionPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
459
|
+
updateFunctionFromSource: import("./select-types").InferSelectResult<import("./input-types").UpdateFunctionPayload, S> | null;
|
|
460
|
+
}>;
|
|
450
461
|
};
|
|
451
462
|
};
|
package/esm/api/orm/index.js
CHANGED
|
@@ -33,7 +33,6 @@ import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
|
33
33
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
34
34
|
import { FunctionModel } from './models/function';
|
|
35
35
|
import { GetSitePreviewsRecordModel } from './models/getSitePreviewsRecord';
|
|
36
|
-
import { HostnameBindingModel } from './models/hostnameBinding';
|
|
37
36
|
import { IdentityProviderRegistryModel } from './models/identityProviderRegistry';
|
|
38
37
|
import { IndexModel } from './models/index';
|
|
39
38
|
import { ListSuspendedDatabasesRecordModel } from './models/listSuspendedDatabasesRecord';
|
|
@@ -68,7 +67,6 @@ import { PrimaryKeyConstraintModel } from './models/primaryKeyConstraint';
|
|
|
68
67
|
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
69
68
|
import { RedirectModel } from './models/redirect';
|
|
70
69
|
import { RlsSettingModel } from './models/rlsSetting';
|
|
71
|
-
import { RouteBindingModel } from './models/routeBinding';
|
|
72
70
|
import { RouteModel } from './models/route';
|
|
73
71
|
import { SchemaModel } from './models/schema';
|
|
74
72
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
@@ -159,7 +157,6 @@ export function createClient(config) {
|
|
|
159
157
|
fullTextSearch: new FullTextSearchModel(client),
|
|
160
158
|
function: new FunctionModel(client),
|
|
161
159
|
getSitePreviewsRecord: new GetSitePreviewsRecordModel(client),
|
|
162
|
-
hostnameBinding: new HostnameBindingModel(client),
|
|
163
160
|
identityProviderRegistry: new IdentityProviderRegistryModel(client),
|
|
164
161
|
index: new IndexModel(client),
|
|
165
162
|
listSuspendedDatabasesRecord: new ListSuspendedDatabasesRecordModel(client),
|
|
@@ -194,7 +191,6 @@ export function createClient(config) {
|
|
|
194
191
|
pubkeySetting: new PubkeySettingModel(client),
|
|
195
192
|
redirect: new RedirectModel(client),
|
|
196
193
|
rlsSetting: new RlsSettingModel(client),
|
|
197
|
-
routeBinding: new RouteBindingModel(client),
|
|
198
194
|
route: new RouteModel(client),
|
|
199
195
|
schema: new SchemaModel(client),
|
|
200
196
|
schemaGrant: new SchemaGrantModel(client),
|