@constructive-io/react 1.19.9 → 1.19.11
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/auth/hooks/mutation-keys.d.ts +4 -0
- package/auth/hooks/mutation-keys.js +6 -0
- package/auth/hooks/mutations/index.d.ts +2 -0
- package/auth/hooks/mutations/index.js +2 -0
- package/auth/hooks/mutations/useSendStepUpCodeMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendStepUpCodeMutation.js +26 -0
- package/auth/hooks/mutations/useVerifyStepUpCodeMutation.d.ts +20 -0
- package/auth/hooks/mutations/useVerifyStepUpCodeMutation.js +26 -0
- package/auth/orm/index.d.ts +10 -0
- package/auth/orm/input-types.d.ts +26 -0
- package/auth/orm/mutation/index.d.ts +17 -1
- package/auth/orm/mutation/index.js +24 -0
- package/auth/schema-types.d.ts +17 -0
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -0
- package/compute/hooks/invalidation.js +32 -0
- package/compute/hooks/mutation-keys.d.ts +28 -0
- package/compute/hooks/mutation-keys.js +29 -3
- package/compute/hooks/mutations/index.d.ts +8 -0
- package/compute/hooks/mutations/index.js +8 -0
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.js +34 -0
- package/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.js +39 -0
- package/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.js +39 -0
- package/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.js +26 -0
- package/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.js +40 -0
- package/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +4 -0
- package/compute/hooks/queries/index.js +4 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.js +53 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.js +38 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.js +53 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +28 -0
- package/compute/hooks/query-keys.js +23 -3
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +298 -4
- package/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.d.ts +54 -0
- package/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.js +104 -0
- package/compute/orm/models/functionGraphExecutionCancelRequest.d.ts +54 -0
- package/compute/orm/models/functionGraphExecutionCancelRequest.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/compute/schema-types.d.ts +209 -5
- package/compute/types.d.ts +12 -0
- package/esm/auth/hooks/mutation-keys.d.ts +4 -0
- package/esm/auth/hooks/mutation-keys.js +6 -0
- package/esm/auth/hooks/mutations/index.d.ts +2 -0
- package/esm/auth/hooks/mutations/index.js +2 -0
- package/esm/auth/hooks/mutations/useSendStepUpCodeMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendStepUpCodeMutation.js +23 -0
- package/esm/auth/hooks/mutations/useVerifyStepUpCodeMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useVerifyStepUpCodeMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +10 -0
- package/esm/auth/orm/input-types.d.ts +26 -0
- package/esm/auth/orm/mutation/index.d.ts +17 -1
- package/esm/auth/orm/mutation/index.js +24 -0
- package/esm/auth/schema-types.d.ts +17 -0
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -0
- package/esm/compute/hooks/invalidation.js +33 -1
- package/esm/compute/hooks/mutation-keys.d.ts +28 -0
- package/esm/compute/hooks/mutation-keys.js +26 -0
- package/esm/compute/hooks/mutations/index.d.ts +8 -0
- package/esm/compute/hooks/mutations/index.js +8 -0
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.js +36 -0
- package/esm/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.js +23 -0
- package/esm/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -0
- package/esm/compute/hooks/queries/index.js +4 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.js +47 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.js +32 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.js +47 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -0
- package/esm/compute/hooks/query-keys.js +20 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +298 -4
- package/esm/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.d.ts +54 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.js +100 -0
- package/esm/compute/orm/models/functionGraphExecutionCancelRequest.d.ts +54 -0
- package/esm/compute/orm/models/functionGraphExecutionCancelRequest.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/compute/schema-types.d.ts +209 -5
- package/esm/compute/types.d.ts +12 -0
- package/package.json +2 -2
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const databaseFunctionGraphExecutionCancelRequestQueryKey: (id: string | number) => readonly ["databasefunctiongraphexecutioncancelrequest", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useDatabaseFunctionGraphExecutionCancelRequestQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useDatabaseFunctionGraphExecutionCancelRequestQuery<S extends DatabaseFunctionGraphExecutionCancelRequestSelect, TData = {
|
|
24
|
+
databaseFunctionGraphExecutionCancelRequest: InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
databaseFunctionGraphExecutionCancelRequest: InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchDatabaseFunctionGraphExecutionCancelRequestQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchDatabaseFunctionGraphExecutionCancelRequestQuery<S extends DatabaseFunctionGraphExecutionCancelRequestSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
databaseFunctionGraphExecutionCancelRequest: InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchDatabaseFunctionGraphExecutionCancelRequestQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchDatabaseFunctionGraphExecutionCancelRequestQuery<S extends DatabaseFunctionGraphExecutionCancelRequestSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { databaseFunctionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const databaseFunctionGraphExecutionCancelRequestQueryKey = databaseFunctionGraphExecutionCancelRequestKeys.detail;
|
|
12
|
+
export function useDatabaseFunctionGraphExecutionCancelRequestQuery(params) {
|
|
13
|
+
const args = buildSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: databaseFunctionGraphExecutionCancelRequestKeys.detail(params.id),
|
|
18
|
+
queryFn: () => getClient()
|
|
19
|
+
.databaseFunctionGraphExecutionCancelRequest.findOne({
|
|
20
|
+
id: params.id,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export async function fetchDatabaseFunctionGraphExecutionCancelRequestQuery(params) {
|
|
28
|
+
const args = buildSelectionArgs(params.selection);
|
|
29
|
+
return getClient()
|
|
30
|
+
.databaseFunctionGraphExecutionCancelRequest.findOne({
|
|
31
|
+
id: params.id,
|
|
32
|
+
select: args.select,
|
|
33
|
+
})
|
|
34
|
+
.unwrap();
|
|
35
|
+
}
|
|
36
|
+
export async function prefetchDatabaseFunctionGraphExecutionCancelRequestQuery(queryClient, params) {
|
|
37
|
+
const args = buildSelectionArgs(params.selection);
|
|
38
|
+
await queryClient.prefetchQuery({
|
|
39
|
+
queryKey: databaseFunctionGraphExecutionCancelRequestKeys.detail(params.id),
|
|
40
|
+
queryFn: () => getClient()
|
|
41
|
+
.databaseFunctionGraphExecutionCancelRequest.findOne({
|
|
42
|
+
id: params.id,
|
|
43
|
+
select: args.select,
|
|
44
|
+
})
|
|
45
|
+
.unwrap(),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations, DatabaseFunctionGraphExecutionCancelRequestFilter, DatabaseFunctionGraphExecutionCancelRequestOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations, DatabaseFunctionGraphExecutionCancelRequestFilter, DatabaseFunctionGraphExecutionCancelRequestOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const databaseFunctionGraphExecutionCancelRequestsQueryKey: (variables?: object) => readonly ["databasefunctiongraphexecutioncancelrequest", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useDatabaseFunctionGraphExecutionCancelRequestsQuery({
|
|
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 useDatabaseFunctionGraphExecutionCancelRequestsQuery<S extends DatabaseFunctionGraphExecutionCancelRequestSelect, TData = {
|
|
29
|
+
databaseFunctionGraphExecutionCancelRequests: ConnectionResult<InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, DatabaseFunctionGraphExecutionCancelRequestFilter, DatabaseFunctionGraphExecutionCancelRequestOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
databaseFunctionGraphExecutionCancelRequests: ConnectionResult<InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchDatabaseFunctionGraphExecutionCancelRequestsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchDatabaseFunctionGraphExecutionCancelRequestsQuery<S extends DatabaseFunctionGraphExecutionCancelRequestSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, DatabaseFunctionGraphExecutionCancelRequestFilter, DatabaseFunctionGraphExecutionCancelRequestOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
databaseFunctionGraphExecutionCancelRequests: ConnectionResult<InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchDatabaseFunctionGraphExecutionCancelRequestsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchDatabaseFunctionGraphExecutionCancelRequestsQuery<S extends DatabaseFunctionGraphExecutionCancelRequestSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, DatabaseFunctionGraphExecutionCancelRequestFilter, DatabaseFunctionGraphExecutionCancelRequestOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { databaseFunctionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const databaseFunctionGraphExecutionCancelRequestsQueryKey = databaseFunctionGraphExecutionCancelRequestKeys.list;
|
|
12
|
+
export function useDatabaseFunctionGraphExecutionCancelRequestsQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: databaseFunctionGraphExecutionCancelRequestKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().databaseFunctionGraphExecutionCancelRequest.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchDatabaseFunctionGraphExecutionCancelRequestsQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().databaseFunctionGraphExecutionCancelRequest.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchDatabaseFunctionGraphExecutionCancelRequestsQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: databaseFunctionGraphExecutionCancelRequestKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().databaseFunctionGraphExecutionCancelRequest.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const functionGraphExecutionCancelRequestQueryKey: (id: string | number) => readonly ["functiongraphexecutioncancelrequest", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useFunctionGraphExecutionCancelRequestQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useFunctionGraphExecutionCancelRequestQuery<S extends FunctionGraphExecutionCancelRequestSelect, TData = {
|
|
24
|
+
functionGraphExecutionCancelRequest: InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
functionGraphExecutionCancelRequest: InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchFunctionGraphExecutionCancelRequestQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchFunctionGraphExecutionCancelRequestQuery<S extends FunctionGraphExecutionCancelRequestSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
functionGraphExecutionCancelRequest: InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchFunctionGraphExecutionCancelRequestQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchFunctionGraphExecutionCancelRequestQuery<S extends FunctionGraphExecutionCancelRequestSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { functionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const functionGraphExecutionCancelRequestQueryKey = functionGraphExecutionCancelRequestKeys.detail;
|
|
12
|
+
export function useFunctionGraphExecutionCancelRequestQuery(params) {
|
|
13
|
+
const args = buildSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: functionGraphExecutionCancelRequestKeys.detail(params.id),
|
|
18
|
+
queryFn: () => getClient()
|
|
19
|
+
.functionGraphExecutionCancelRequest.findOne({
|
|
20
|
+
id: params.id,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export async function fetchFunctionGraphExecutionCancelRequestQuery(params) {
|
|
28
|
+
const args = buildSelectionArgs(params.selection);
|
|
29
|
+
return getClient()
|
|
30
|
+
.functionGraphExecutionCancelRequest.findOne({
|
|
31
|
+
id: params.id,
|
|
32
|
+
select: args.select,
|
|
33
|
+
})
|
|
34
|
+
.unwrap();
|
|
35
|
+
}
|
|
36
|
+
export async function prefetchFunctionGraphExecutionCancelRequestQuery(queryClient, params) {
|
|
37
|
+
const args = buildSelectionArgs(params.selection);
|
|
38
|
+
await queryClient.prefetchQuery({
|
|
39
|
+
queryKey: functionGraphExecutionCancelRequestKeys.detail(params.id),
|
|
40
|
+
queryFn: () => getClient()
|
|
41
|
+
.functionGraphExecutionCancelRequest.findOne({
|
|
42
|
+
id: params.id,
|
|
43
|
+
select: args.select,
|
|
44
|
+
})
|
|
45
|
+
.unwrap(),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations, FunctionGraphExecutionCancelRequestFilter, FunctionGraphExecutionCancelRequestOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations, FunctionGraphExecutionCancelRequestFilter, FunctionGraphExecutionCancelRequestOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const functionGraphExecutionCancelRequestsQueryKey: (variables?: object) => readonly ["functiongraphexecutioncancelrequest", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useFunctionGraphExecutionCancelRequestsQuery({
|
|
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 useFunctionGraphExecutionCancelRequestsQuery<S extends FunctionGraphExecutionCancelRequestSelect, TData = {
|
|
29
|
+
functionGraphExecutionCancelRequests: ConnectionResult<InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, FunctionGraphExecutionCancelRequestFilter, FunctionGraphExecutionCancelRequestOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
functionGraphExecutionCancelRequests: ConnectionResult<InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchFunctionGraphExecutionCancelRequestsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchFunctionGraphExecutionCancelRequestsQuery<S extends FunctionGraphExecutionCancelRequestSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, FunctionGraphExecutionCancelRequestFilter, FunctionGraphExecutionCancelRequestOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
functionGraphExecutionCancelRequests: ConnectionResult<InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchFunctionGraphExecutionCancelRequestsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchFunctionGraphExecutionCancelRequestsQuery<S extends FunctionGraphExecutionCancelRequestSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, FunctionGraphExecutionCancelRequestFilter, FunctionGraphExecutionCancelRequestOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
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 { functionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const functionGraphExecutionCancelRequestsQueryKey = functionGraphExecutionCancelRequestKeys.list;
|
|
12
|
+
export function useFunctionGraphExecutionCancelRequestsQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: functionGraphExecutionCancelRequestKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().functionGraphExecutionCancelRequest.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchFunctionGraphExecutionCancelRequestsQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().functionGraphExecutionCancelRequest.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchFunctionGraphExecutionCancelRequestsQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: functionGraphExecutionCancelRequestKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().functionGraphExecutionCancelRequest.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
@@ -38,6 +38,13 @@ export declare const databaseFunctionGraphKeys: {
|
|
|
38
38
|
/** Detail query keys */ readonly details: () => readonly ["databasefunctiongraph", "detail"];
|
|
39
39
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["databasefunctiongraph", "detail", string | number];
|
|
40
40
|
};
|
|
41
|
+
export declare const databaseFunctionGraphExecutionCancelRequestKeys: {
|
|
42
|
+
/** All databaseFunctionGraphExecutionCancelRequest queries */ readonly all: readonly ["databasefunctiongraphexecutioncancelrequest"];
|
|
43
|
+
/** List query keys */ readonly lists: () => readonly ["databasefunctiongraphexecutioncancelrequest", "list"];
|
|
44
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["databasefunctiongraphexecutioncancelrequest", "list", object];
|
|
45
|
+
/** Detail query keys */ readonly details: () => readonly ["databasefunctiongraphexecutioncancelrequest", "detail"];
|
|
46
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["databasefunctiongraphexecutioncancelrequest", "detail", string | number];
|
|
47
|
+
};
|
|
41
48
|
export declare const databaseFunctionGraphExecutionKeys: {
|
|
42
49
|
/** All databaseFunctionGraphExecution queries */ readonly all: readonly ["databasefunctiongraphexecution"];
|
|
43
50
|
/** List query keys */ readonly lists: () => readonly ["databasefunctiongraphexecution", "list"];
|
|
@@ -157,6 +164,13 @@ export declare const functionGraphKeys: {
|
|
|
157
164
|
/** Detail query keys */ readonly details: () => readonly ["functiongraph", "detail"];
|
|
158
165
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functiongraph", "detail", string | number];
|
|
159
166
|
};
|
|
167
|
+
export declare const functionGraphExecutionCancelRequestKeys: {
|
|
168
|
+
/** All functionGraphExecutionCancelRequest queries */ readonly all: readonly ["functiongraphexecutioncancelrequest"];
|
|
169
|
+
/** List query keys */ readonly lists: () => readonly ["functiongraphexecutioncancelrequest", "list"];
|
|
170
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["functiongraphexecutioncancelrequest", "list", object];
|
|
171
|
+
/** Detail query keys */ readonly details: () => readonly ["functiongraphexecutioncancelrequest", "detail"];
|
|
172
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functiongraphexecutioncancelrequest", "detail", string | number];
|
|
173
|
+
};
|
|
160
174
|
export declare const functionGraphExecutionKeys: {
|
|
161
175
|
/** All functionGraphExecution queries */ readonly all: readonly ["functiongraphexecution"];
|
|
162
176
|
/** List query keys */ readonly lists: () => readonly ["functiongraphexecution", "list"];
|
|
@@ -912,6 +926,13 @@ export declare const queryKeys: {
|
|
|
912
926
|
/** Detail query keys */ readonly details: () => readonly ["databasefunctiongraph", "detail"];
|
|
913
927
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["databasefunctiongraph", "detail", string | number];
|
|
914
928
|
};
|
|
929
|
+
readonly databaseFunctionGraphExecutionCancelRequest: {
|
|
930
|
+
/** All databaseFunctionGraphExecutionCancelRequest queries */ readonly all: readonly ["databasefunctiongraphexecutioncancelrequest"];
|
|
931
|
+
/** List query keys */ readonly lists: () => readonly ["databasefunctiongraphexecutioncancelrequest", "list"];
|
|
932
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["databasefunctiongraphexecutioncancelrequest", "list", object];
|
|
933
|
+
/** Detail query keys */ readonly details: () => readonly ["databasefunctiongraphexecutioncancelrequest", "detail"];
|
|
934
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["databasefunctiongraphexecutioncancelrequest", "detail", string | number];
|
|
935
|
+
};
|
|
915
936
|
readonly databaseFunctionGraphExecution: {
|
|
916
937
|
/** All databaseFunctionGraphExecution queries */ readonly all: readonly ["databasefunctiongraphexecution"];
|
|
917
938
|
/** List query keys */ readonly lists: () => readonly ["databasefunctiongraphexecution", "list"];
|
|
@@ -1031,6 +1052,13 @@ export declare const queryKeys: {
|
|
|
1031
1052
|
/** Detail query keys */ readonly details: () => readonly ["functiongraph", "detail"];
|
|
1032
1053
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functiongraph", "detail", string | number];
|
|
1033
1054
|
};
|
|
1055
|
+
readonly functionGraphExecutionCancelRequest: {
|
|
1056
|
+
/** All functionGraphExecutionCancelRequest queries */ readonly all: readonly ["functiongraphexecutioncancelrequest"];
|
|
1057
|
+
/** List query keys */ readonly lists: () => readonly ["functiongraphexecutioncancelrequest", "list"];
|
|
1058
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["functiongraphexecutioncancelrequest", "list", object];
|
|
1059
|
+
/** Detail query keys */ readonly details: () => readonly ["functiongraphexecutioncancelrequest", "detail"];
|
|
1060
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functiongraphexecutioncancelrequest", "detail", string | number];
|
|
1061
|
+
};
|
|
1034
1062
|
readonly functionGraphExecution: {
|
|
1035
1063
|
/** All functionGraphExecution queries */ readonly all: readonly ["functiongraphexecution"];
|
|
1036
1064
|
/** List query keys */ readonly lists: () => readonly ["functiongraphexecution", "list"];
|
|
@@ -51,6 +51,15 @@ export const databaseFunctionGraphKeys = {
|
|
|
51
51
|
/** Detail query keys */ details: () => [...databaseFunctionGraphKeys.all, 'detail'],
|
|
52
52
|
/** Detail query key for specific item */ detail: (id) => [...databaseFunctionGraphKeys.details(), id],
|
|
53
53
|
};
|
|
54
|
+
export const databaseFunctionGraphExecutionCancelRequestKeys = {
|
|
55
|
+
/** All databaseFunctionGraphExecutionCancelRequest queries */ all: [
|
|
56
|
+
'databasefunctiongraphexecutioncancelrequest',
|
|
57
|
+
],
|
|
58
|
+
/** List query keys */ lists: () => [...databaseFunctionGraphExecutionCancelRequestKeys.all, 'list'],
|
|
59
|
+
/** List query key with variables */ list: (variables) => [...databaseFunctionGraphExecutionCancelRequestKeys.lists(), variables],
|
|
60
|
+
/** Detail query keys */ details: () => [...databaseFunctionGraphExecutionCancelRequestKeys.all, 'detail'],
|
|
61
|
+
/** Detail query key for specific item */ detail: (id) => [...databaseFunctionGraphExecutionCancelRequestKeys.details(), id],
|
|
62
|
+
};
|
|
54
63
|
export const databaseFunctionGraphExecutionKeys = {
|
|
55
64
|
/** All databaseFunctionGraphExecution queries */ all: [
|
|
56
65
|
'databasefunctiongraphexecution',
|
|
@@ -178,6 +187,15 @@ export const functionGraphKeys = {
|
|
|
178
187
|
/** Detail query keys */ details: () => [...functionGraphKeys.all, 'detail'],
|
|
179
188
|
/** Detail query key for specific item */ detail: (id) => [...functionGraphKeys.details(), id],
|
|
180
189
|
};
|
|
190
|
+
export const functionGraphExecutionCancelRequestKeys = {
|
|
191
|
+
/** All functionGraphExecutionCancelRequest queries */ all: [
|
|
192
|
+
'functiongraphexecutioncancelrequest',
|
|
193
|
+
],
|
|
194
|
+
/** List query keys */ lists: () => [...functionGraphExecutionCancelRequestKeys.all, 'list'],
|
|
195
|
+
/** List query key with variables */ list: (variables) => [...functionGraphExecutionCancelRequestKeys.lists(), variables],
|
|
196
|
+
/** Detail query keys */ details: () => [...functionGraphExecutionCancelRequestKeys.all, 'detail'],
|
|
197
|
+
/** Detail query key for specific item */ detail: (id) => [...functionGraphExecutionCancelRequestKeys.details(), id],
|
|
198
|
+
};
|
|
181
199
|
export const functionGraphExecutionKeys = {
|
|
182
200
|
/** All functionGraphExecution queries */ all: ['functiongraphexecution'],
|
|
183
201
|
/** List query keys */ lists: () => [...functionGraphExecutionKeys.all, 'list'],
|
|
@@ -926,6 +944,7 @@ export const queryKeys = {
|
|
|
926
944
|
builderBinding: builderBindingKeys,
|
|
927
945
|
contentPreset: contentPresetKeys,
|
|
928
946
|
databaseFunctionGraph: databaseFunctionGraphKeys,
|
|
947
|
+
databaseFunctionGraphExecutionCancelRequest: databaseFunctionGraphExecutionCancelRequestKeys,
|
|
929
948
|
databaseFunctionGraphExecution: databaseFunctionGraphExecutionKeys,
|
|
930
949
|
databaseFunctionGraphExecutionNodeState: databaseFunctionGraphExecutionNodeStateKeys,
|
|
931
950
|
databaseFunctionGraphExecutionOutput: databaseFunctionGraphExecutionOutputKeys,
|
|
@@ -943,6 +962,7 @@ export const queryKeys = {
|
|
|
943
962
|
functionExecutionLog: functionExecutionLogKeys,
|
|
944
963
|
functionGraphCommit: functionGraphCommitKeys,
|
|
945
964
|
functionGraph: functionGraphKeys,
|
|
965
|
+
functionGraphExecutionCancelRequest: functionGraphExecutionCancelRequestKeys,
|
|
946
966
|
functionGraphExecution: functionGraphExecutionKeys,
|
|
947
967
|
functionGraphExecutionNodeState: functionGraphExecutionNodeStateKeys,
|
|
948
968
|
functionGraphExecutionOutput: functionGraphExecutionOutputKeys,
|
|
@@ -4,6 +4,7 @@ import { BuildStepModel } from './models/buildStep';
|
|
|
4
4
|
import { BuilderBindingModel } from './models/builderBinding';
|
|
5
5
|
import { ContentPresetModel } from './models/contentPreset';
|
|
6
6
|
import { DatabaseFunctionGraphModel } from './models/databaseFunctionGraph';
|
|
7
|
+
import { DatabaseFunctionGraphExecutionCancelRequestModel } from './models/databaseFunctionGraphExecutionCancelRequest';
|
|
7
8
|
import { DatabaseFunctionGraphExecutionModel } from './models/databaseFunctionGraphExecution';
|
|
8
9
|
import { DatabaseFunctionGraphExecutionNodeStateModel } from './models/databaseFunctionGraphExecutionNodeState';
|
|
9
10
|
import { DatabaseFunctionGraphExecutionOutputModel } from './models/databaseFunctionGraphExecutionOutput';
|
|
@@ -21,6 +22,7 @@ import { FunctionDeploymentEventModel } from './models/functionDeploymentEvent';
|
|
|
21
22
|
import { FunctionExecutionLogModel } from './models/functionExecutionLog';
|
|
22
23
|
import { FunctionGraphCommitModel } from './models/functionGraphCommit';
|
|
23
24
|
import { FunctionGraphModel } from './models/functionGraph';
|
|
25
|
+
import { FunctionGraphExecutionCancelRequestModel } from './models/functionGraphExecutionCancelRequest';
|
|
24
26
|
import { FunctionGraphExecutionModel } from './models/functionGraphExecution';
|
|
25
27
|
import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
|
|
26
28
|
import { FunctionGraphExecutionOutputModel } from './models/functionGraphExecutionOutput';
|
|
@@ -156,6 +158,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
156
158
|
builderBinding: BuilderBindingModel;
|
|
157
159
|
contentPreset: ContentPresetModel;
|
|
158
160
|
databaseFunctionGraph: DatabaseFunctionGraphModel;
|
|
161
|
+
databaseFunctionGraphExecutionCancelRequest: DatabaseFunctionGraphExecutionCancelRequestModel;
|
|
159
162
|
databaseFunctionGraphExecution: DatabaseFunctionGraphExecutionModel;
|
|
160
163
|
databaseFunctionGraphExecutionNodeState: DatabaseFunctionGraphExecutionNodeStateModel;
|
|
161
164
|
databaseFunctionGraphExecutionOutput: DatabaseFunctionGraphExecutionOutputModel;
|
|
@@ -173,6 +176,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
173
176
|
functionExecutionLog: FunctionExecutionLogModel;
|
|
174
177
|
functionGraphCommit: FunctionGraphCommitModel;
|
|
175
178
|
functionGraph: FunctionGraphModel;
|
|
179
|
+
functionGraphExecutionCancelRequest: FunctionGraphExecutionCancelRequestModel;
|
|
176
180
|
functionGraphExecution: FunctionGraphExecutionModel;
|
|
177
181
|
functionGraphExecutionNodeState: FunctionGraphExecutionNodeStateModel;
|
|
178
182
|
functionGraphExecutionOutput: FunctionGraphExecutionOutputModel;
|
|
@@ -410,6 +414,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
410
414
|
} & import("./select-types").StrictSelect<S, import("./input-types").FunctionExecutionLogsAppendPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
411
415
|
functionExecutionLogsAppend: import("./select-types").InferSelectResult<import("./input-types").FunctionExecutionLogsAppendPayload, S> | null;
|
|
412
416
|
}>;
|
|
417
|
+
functionInvocationsCreatePage: <S extends import("./input-types").FunctionInvocationsCreatePagePayloadSelect>(args: import("./mutation").FunctionInvocationsCreatePageVariables, options: {
|
|
418
|
+
select: S;
|
|
419
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").FunctionInvocationsCreatePagePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
420
|
+
functionInvocationsCreatePage: import("./select-types").InferSelectResult<import("./input-types").FunctionInvocationsCreatePagePayload, S> | null;
|
|
421
|
+
}>;
|
|
413
422
|
functionInvocationsCreateSync: <S extends import("./input-types").FunctionInvocationsCreateSyncPayloadSelect>(args: import("./mutation").FunctionInvocationsCreateSyncVariables, options: {
|
|
414
423
|
select: S;
|
|
415
424
|
} & import("./select-types").StrictSelect<S, import("./input-types").FunctionInvocationsCreateSyncPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -475,6 +484,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
475
484
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformFunctionExecutionLogsAppendPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
476
485
|
platformFunctionExecutionLogsAppend: import("./select-types").InferSelectResult<import("./input-types").PlatformFunctionExecutionLogsAppendPayload, S> | null;
|
|
477
486
|
}>;
|
|
487
|
+
platformFunctionInvocationsCreatePage: <S extends import("./input-types").PlatformFunctionInvocationsCreatePagePayloadSelect>(args: import("./mutation").PlatformFunctionInvocationsCreatePageVariables, options: {
|
|
488
|
+
select: S;
|
|
489
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformFunctionInvocationsCreatePagePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
490
|
+
platformFunctionInvocationsCreatePage: import("./select-types").InferSelectResult<import("./input-types").PlatformFunctionInvocationsCreatePagePayload, S> | null;
|
|
491
|
+
}>;
|
|
478
492
|
platformFunctionInvocationsCreateSync: <S extends import("./input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>(args: import("./mutation").PlatformFunctionInvocationsCreateSyncVariables, options: {
|
|
479
493
|
select: S;
|
|
480
494
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/esm/compute/orm/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import { BuildStepModel } from './models/buildStep';
|
|
|
9
9
|
import { BuilderBindingModel } from './models/builderBinding';
|
|
10
10
|
import { ContentPresetModel } from './models/contentPreset';
|
|
11
11
|
import { DatabaseFunctionGraphModel } from './models/databaseFunctionGraph';
|
|
12
|
+
import { DatabaseFunctionGraphExecutionCancelRequestModel } from './models/databaseFunctionGraphExecutionCancelRequest';
|
|
12
13
|
import { DatabaseFunctionGraphExecutionModel } from './models/databaseFunctionGraphExecution';
|
|
13
14
|
import { DatabaseFunctionGraphExecutionNodeStateModel } from './models/databaseFunctionGraphExecutionNodeState';
|
|
14
15
|
import { DatabaseFunctionGraphExecutionOutputModel } from './models/databaseFunctionGraphExecutionOutput';
|
|
@@ -26,6 +27,7 @@ import { FunctionDeploymentEventModel } from './models/functionDeploymentEvent';
|
|
|
26
27
|
import { FunctionExecutionLogModel } from './models/functionExecutionLog';
|
|
27
28
|
import { FunctionGraphCommitModel } from './models/functionGraphCommit';
|
|
28
29
|
import { FunctionGraphModel } from './models/functionGraph';
|
|
30
|
+
import { FunctionGraphExecutionCancelRequestModel } from './models/functionGraphExecutionCancelRequest';
|
|
29
31
|
import { FunctionGraphExecutionModel } from './models/functionGraphExecution';
|
|
30
32
|
import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
|
|
31
33
|
import { FunctionGraphExecutionOutputModel } from './models/functionGraphExecutionOutput';
|
|
@@ -164,6 +166,7 @@ export function createClient(config) {
|
|
|
164
166
|
builderBinding: new BuilderBindingModel(client),
|
|
165
167
|
contentPreset: new ContentPresetModel(client),
|
|
166
168
|
databaseFunctionGraph: new DatabaseFunctionGraphModel(client),
|
|
169
|
+
databaseFunctionGraphExecutionCancelRequest: new DatabaseFunctionGraphExecutionCancelRequestModel(client),
|
|
167
170
|
databaseFunctionGraphExecution: new DatabaseFunctionGraphExecutionModel(client),
|
|
168
171
|
databaseFunctionGraphExecutionNodeState: new DatabaseFunctionGraphExecutionNodeStateModel(client),
|
|
169
172
|
databaseFunctionGraphExecutionOutput: new DatabaseFunctionGraphExecutionOutputModel(client),
|
|
@@ -181,6 +184,7 @@ export function createClient(config) {
|
|
|
181
184
|
functionExecutionLog: new FunctionExecutionLogModel(client),
|
|
182
185
|
functionGraphCommit: new FunctionGraphCommitModel(client),
|
|
183
186
|
functionGraph: new FunctionGraphModel(client),
|
|
187
|
+
functionGraphExecutionCancelRequest: new FunctionGraphExecutionCancelRequestModel(client),
|
|
184
188
|
functionGraphExecution: new FunctionGraphExecutionModel(client),
|
|
185
189
|
functionGraphExecutionNodeState: new FunctionGraphExecutionNodeStateModel(client),
|
|
186
190
|
functionGraphExecutionOutput: new FunctionGraphExecutionOutputModel(client),
|