@constructive-io/react 1.19.7 → 1.19.9
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/agent/orm/input-types.d.ts +4 -4
- package/agent/schema-types.d.ts +4 -4
- 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 +12 -2
- package/api/hooks/mutations/index.d.ts +1 -0
- package/api/hooks/mutations/index.js +1 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +34 -0
- package/api/hooks/queries/index.d.ts +2 -0
- package/api/hooks/queries/index.js +2 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.js +38 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +53 -0
- package/api/hooks/query-keys.d.ts +14 -0
- package/api/hooks/query-keys.js +10 -2
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +60 -30
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
- package/api/schema-types.d.ts +22 -21
- package/api/types.d.ts +7 -2
- package/auth/hooks/mutation-keys.d.ts +6 -2
- package/auth/hooks/mutation-keys.js +9 -3
- package/auth/hooks/mutations/index.d.ts +3 -1
- package/auth/hooks/mutations/index.js +3 -1
- package/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +5 -5
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +26 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.js +26 -0
- package/auth/orm/index.d.ts +15 -5
- package/auth/orm/input-types.d.ts +44 -14
- package/auth/orm/mutation/index.d.ts +25 -9
- package/auth/orm/mutation/index.js +36 -12
- package/auth/schema-types.d.ts +29 -10
- 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 +26 -3
- package/compute/hooks/mutations/index.d.ts +8 -0
- package/compute/hooks/mutations/index.js +8 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +4 -0
- package/compute/hooks/queries/index.js +4 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +28 -0
- package/compute/hooks/query-keys.js +19 -3
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +553 -4
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionSchedule.d.ts +54 -0
- package/compute/orm/models/functionSchedule.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/compute/orm/models/platformFunctionSchedule.js +104 -0
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/compute/schema-types.d.ts +319 -1
- package/compute/types.d.ts +29 -0
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/schema-types.d.ts +4 -4
- 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 +10 -0
- package/esm/api/hooks/mutations/index.d.ts +1 -0
- package/esm/api/hooks/mutations/index.js +1 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +31 -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/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.js +32 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +47 -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 +60 -30
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
- package/esm/api/schema-types.d.ts +22 -21
- package/esm/api/types.d.ts +7 -2
- package/esm/auth/hooks/mutation-keys.d.ts +6 -2
- package/esm/auth/hooks/mutation-keys.js +9 -3
- package/esm/auth/hooks/mutations/index.d.ts +3 -1
- package/esm/auth/hooks/mutations/index.js +3 -1
- package/esm/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +15 -5
- package/esm/auth/orm/input-types.d.ts +44 -14
- package/esm/auth/orm/mutation/index.d.ts +25 -9
- package/esm/auth/orm/mutation/index.js +36 -12
- package/esm/auth/schema-types.d.ts +29 -10
- 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 +23 -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/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.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/useFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -0
- package/esm/compute/hooks/query-keys.js +16 -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 +553 -4
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/functionSchedule.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/models/platformFunctionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionSchedule.js +100 -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 +319 -1
- package/esm/compute/types.d.ts +29 -0
- package/esm/modules/orm/input-types.d.ts +26 -48
- package/esm/modules/schema-types.d.ts +17 -33
- package/esm/modules/types.d.ts +3 -5
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/esm/remote/schema-types.d.ts +8 -1
- package/esm/remote/types.d.ts +1 -0
- package/modules/orm/input-types.d.ts +26 -48
- package/modules/schema-types.d.ts +17 -33
- package/modules/types.d.ts +3 -5
- package/package.json +5 -5
- package/remote/orm/input-types.d.ts +13 -1
- package/remote/schema-types.d.ts +8 -1
- package/remote/types.d.ts +1 -0
- package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
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 { FunctionScheduleSelect, FunctionScheduleWithRelations, FunctionScheduleFilter, FunctionScheduleOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { FunctionScheduleSelect, FunctionScheduleWithRelations, FunctionScheduleFilter, FunctionScheduleOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const functionSchedulesQueryKey: (variables?: object) => readonly ["functionschedule", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useFunctionSchedulesQuery({
|
|
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 useFunctionSchedulesQuery<S extends FunctionScheduleSelect, TData = {
|
|
29
|
+
functionSchedules: ConnectionResult<InferSelectResult<FunctionScheduleWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, FunctionScheduleFilter, FunctionScheduleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionScheduleSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
functionSchedules: ConnectionResult<InferSelectResult<FunctionScheduleWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchFunctionSchedulesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchFunctionSchedulesQuery<S extends FunctionScheduleSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, FunctionScheduleFilter, FunctionScheduleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionScheduleSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
functionSchedules: ConnectionResult<InferSelectResult<FunctionScheduleWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchFunctionSchedulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchFunctionSchedulesQuery<S extends FunctionScheduleSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, FunctionScheduleFilter, FunctionScheduleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionScheduleSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
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 { functionScheduleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const functionSchedulesQueryKey = functionScheduleKeys.list;
|
|
12
|
+
export function useFunctionSchedulesQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: functionScheduleKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().functionSchedule.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchFunctionSchedulesQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().functionSchedule.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchFunctionSchedulesQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: functionScheduleKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().functionSchedule.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
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 { PlatformFunctionScheduleSelect, PlatformFunctionScheduleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformFunctionScheduleSelect, PlatformFunctionScheduleWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const platformFunctionScheduleQueryKey: (id: string | number) => readonly ["platformfunctionschedule", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = usePlatformFunctionScheduleQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function usePlatformFunctionScheduleQuery<S extends PlatformFunctionScheduleSelect, TData = {
|
|
24
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchPlatformFunctionScheduleQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchPlatformFunctionScheduleQuery<S extends PlatformFunctionScheduleSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchPlatformFunctionScheduleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchPlatformFunctionScheduleQuery<S extends PlatformFunctionScheduleSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
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 { platformFunctionScheduleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const platformFunctionScheduleQueryKey = platformFunctionScheduleKeys.detail;
|
|
12
|
+
export function usePlatformFunctionScheduleQuery(params) {
|
|
13
|
+
const args = buildSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: platformFunctionScheduleKeys.detail(params.id),
|
|
18
|
+
queryFn: () => getClient()
|
|
19
|
+
.platformFunctionSchedule.findOne({
|
|
20
|
+
id: params.id,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export async function fetchPlatformFunctionScheduleQuery(params) {
|
|
28
|
+
const args = buildSelectionArgs(params.selection);
|
|
29
|
+
return getClient()
|
|
30
|
+
.platformFunctionSchedule.findOne({
|
|
31
|
+
id: params.id,
|
|
32
|
+
select: args.select,
|
|
33
|
+
})
|
|
34
|
+
.unwrap();
|
|
35
|
+
}
|
|
36
|
+
export async function prefetchPlatformFunctionScheduleQuery(queryClient, params) {
|
|
37
|
+
const args = buildSelectionArgs(params.selection);
|
|
38
|
+
await queryClient.prefetchQuery({
|
|
39
|
+
queryKey: platformFunctionScheduleKeys.detail(params.id),
|
|
40
|
+
queryFn: () => getClient()
|
|
41
|
+
.platformFunctionSchedule.findOne({
|
|
42
|
+
id: params.id,
|
|
43
|
+
select: args.select,
|
|
44
|
+
})
|
|
45
|
+
.unwrap(),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
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 { PlatformFunctionScheduleSelect, PlatformFunctionScheduleWithRelations, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { PlatformFunctionScheduleSelect, PlatformFunctionScheduleWithRelations, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const platformFunctionSchedulesQueryKey: (variables?: object) => readonly ["platformfunctionschedule", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = usePlatformFunctionSchedulesQuery({
|
|
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 usePlatformFunctionSchedulesQuery<S extends PlatformFunctionScheduleSelect, TData = {
|
|
29
|
+
platformFunctionSchedules: ConnectionResult<InferSelectResult<PlatformFunctionScheduleWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
platformFunctionSchedules: ConnectionResult<InferSelectResult<PlatformFunctionScheduleWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchPlatformFunctionSchedulesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchPlatformFunctionSchedulesQuery<S extends PlatformFunctionScheduleSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
platformFunctionSchedules: ConnectionResult<InferSelectResult<PlatformFunctionScheduleWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchPlatformFunctionSchedulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchPlatformFunctionSchedulesQuery<S extends PlatformFunctionScheduleSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
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 { platformFunctionScheduleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const platformFunctionSchedulesQueryKey = platformFunctionScheduleKeys.list;
|
|
12
|
+
export function usePlatformFunctionSchedulesQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: platformFunctionScheduleKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().platformFunctionSchedule.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchPlatformFunctionSchedulesQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().platformFunctionSchedule.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchPlatformFunctionSchedulesQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: platformFunctionScheduleKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().platformFunctionSchedule.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
@@ -213,6 +213,13 @@ export declare const functionInvocationKeys: {
|
|
|
213
213
|
/** Detail query keys */ readonly details: () => readonly ["functioninvocation", "detail"];
|
|
214
214
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functioninvocation", "detail", string | number];
|
|
215
215
|
};
|
|
216
|
+
export declare const functionScheduleKeys: {
|
|
217
|
+
/** All functionSchedule queries */ readonly all: readonly ["functionschedule"];
|
|
218
|
+
/** List query keys */ readonly lists: () => readonly ["functionschedule", "list"];
|
|
219
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["functionschedule", "list", object];
|
|
220
|
+
/** Detail query keys */ readonly details: () => readonly ["functionschedule", "detail"];
|
|
221
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functionschedule", "detail", string | number];
|
|
222
|
+
};
|
|
216
223
|
export declare const getAllTreeNodesRecordKeys: {
|
|
217
224
|
/** All getAllTreeNodesRecord queries */ readonly all: readonly ["getalltreenodesrecord"];
|
|
218
225
|
/** List query keys */ readonly lists: () => readonly ["getalltreenodesrecord", "list"];
|
|
@@ -367,6 +374,13 @@ export declare const platformFunctionInvocationKeys: {
|
|
|
367
374
|
/** Detail query keys */ readonly details: () => readonly ["platformfunctioninvocation", "detail"];
|
|
368
375
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformfunctioninvocation", "detail", string | number];
|
|
369
376
|
};
|
|
377
|
+
export declare const platformFunctionScheduleKeys: {
|
|
378
|
+
/** All platformFunctionSchedule queries */ readonly all: readonly ["platformfunctionschedule"];
|
|
379
|
+
/** List query keys */ readonly lists: () => readonly ["platformfunctionschedule", "list"];
|
|
380
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["platformfunctionschedule", "list", object];
|
|
381
|
+
/** Detail query keys */ readonly details: () => readonly ["platformfunctionschedule", "detail"];
|
|
382
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformfunctionschedule", "detail", string | number];
|
|
383
|
+
};
|
|
370
384
|
export declare const platformImageKeys: {
|
|
371
385
|
/** All platformImage queries */ readonly all: readonly ["platformimage"];
|
|
372
386
|
/** List query keys */ readonly lists: () => readonly ["platformimage", "list"];
|
|
@@ -1073,6 +1087,13 @@ export declare const queryKeys: {
|
|
|
1073
1087
|
/** Detail query keys */ readonly details: () => readonly ["functioninvocation", "detail"];
|
|
1074
1088
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functioninvocation", "detail", string | number];
|
|
1075
1089
|
};
|
|
1090
|
+
readonly functionSchedule: {
|
|
1091
|
+
/** All functionSchedule queries */ readonly all: readonly ["functionschedule"];
|
|
1092
|
+
/** List query keys */ readonly lists: () => readonly ["functionschedule", "list"];
|
|
1093
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["functionschedule", "list", object];
|
|
1094
|
+
/** Detail query keys */ readonly details: () => readonly ["functionschedule", "detail"];
|
|
1095
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["functionschedule", "detail", string | number];
|
|
1096
|
+
};
|
|
1076
1097
|
readonly getAllTreeNodesRecord: {
|
|
1077
1098
|
/** All getAllTreeNodesRecord queries */ readonly all: readonly ["getalltreenodesrecord"];
|
|
1078
1099
|
/** List query keys */ readonly lists: () => readonly ["getalltreenodesrecord", "list"];
|
|
@@ -1227,6 +1248,13 @@ export declare const queryKeys: {
|
|
|
1227
1248
|
/** Detail query keys */ readonly details: () => readonly ["platformfunctioninvocation", "detail"];
|
|
1228
1249
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformfunctioninvocation", "detail", string | number];
|
|
1229
1250
|
};
|
|
1251
|
+
readonly platformFunctionSchedule: {
|
|
1252
|
+
/** All platformFunctionSchedule queries */ readonly all: readonly ["platformfunctionschedule"];
|
|
1253
|
+
/** List query keys */ readonly lists: () => readonly ["platformfunctionschedule", "list"];
|
|
1254
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["platformfunctionschedule", "list", object];
|
|
1255
|
+
/** Detail query keys */ readonly details: () => readonly ["platformfunctionschedule", "detail"];
|
|
1256
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["platformfunctionschedule", "detail", string | number];
|
|
1257
|
+
};
|
|
1230
1258
|
readonly platformImage: {
|
|
1231
1259
|
/** All platformImage queries */ readonly all: readonly ["platformimage"];
|
|
1232
1260
|
/** List query keys */ readonly lists: () => readonly ["platformimage", "list"];
|
|
@@ -236,6 +236,13 @@ export const functionInvocationKeys = {
|
|
|
236
236
|
/** Detail query keys */ details: () => [...functionInvocationKeys.all, 'detail'],
|
|
237
237
|
/** Detail query key for specific item */ detail: (id) => [...functionInvocationKeys.details(), id],
|
|
238
238
|
};
|
|
239
|
+
export const functionScheduleKeys = {
|
|
240
|
+
/** All functionSchedule queries */ all: ['functionschedule'],
|
|
241
|
+
/** List query keys */ lists: () => [...functionScheduleKeys.all, 'list'],
|
|
242
|
+
/** List query key with variables */ list: (variables) => [...functionScheduleKeys.lists(), variables],
|
|
243
|
+
/** Detail query keys */ details: () => [...functionScheduleKeys.all, 'detail'],
|
|
244
|
+
/** Detail query key for specific item */ detail: (id) => [...functionScheduleKeys.details(), id],
|
|
245
|
+
};
|
|
239
246
|
export const getAllTreeNodesRecordKeys = {
|
|
240
247
|
/** All getAllTreeNodesRecord queries */ all: ['getalltreenodesrecord'],
|
|
241
248
|
/** List query keys */ lists: () => [...getAllTreeNodesRecordKeys.all, 'list'],
|
|
@@ -396,6 +403,13 @@ export const platformFunctionInvocationKeys = {
|
|
|
396
403
|
/** Detail query keys */ details: () => [...platformFunctionInvocationKeys.all, 'detail'],
|
|
397
404
|
/** Detail query key for specific item */ detail: (id) => [...platformFunctionInvocationKeys.details(), id],
|
|
398
405
|
};
|
|
406
|
+
export const platformFunctionScheduleKeys = {
|
|
407
|
+
/** All platformFunctionSchedule queries */ all: ['platformfunctionschedule'],
|
|
408
|
+
/** List query keys */ lists: () => [...platformFunctionScheduleKeys.all, 'list'],
|
|
409
|
+
/** List query key with variables */ list: (variables) => [...platformFunctionScheduleKeys.lists(), variables],
|
|
410
|
+
/** Detail query keys */ details: () => [...platformFunctionScheduleKeys.all, 'detail'],
|
|
411
|
+
/** Detail query key for specific item */ detail: (id) => [...platformFunctionScheduleKeys.details(), id],
|
|
412
|
+
};
|
|
399
413
|
export const platformImageKeys = {
|
|
400
414
|
/** All platformImage queries */ all: ['platformimage'],
|
|
401
415
|
/** List query keys */ lists: () => [...platformImageKeys.all, 'list'],
|
|
@@ -937,6 +951,7 @@ export const queryKeys = {
|
|
|
937
951
|
functionGraphStore: functionGraphStoreKeys,
|
|
938
952
|
functionInvocationAttempt: functionInvocationAttemptKeys,
|
|
939
953
|
functionInvocation: functionInvocationKeys,
|
|
954
|
+
functionSchedule: functionScheduleKeys,
|
|
940
955
|
getAllTreeNodesRecord: getAllTreeNodesRecordKeys,
|
|
941
956
|
image: imageKeys,
|
|
942
957
|
imageGrant: imageGrantKeys,
|
|
@@ -959,6 +974,7 @@ export const queryKeys = {
|
|
|
959
974
|
platformFunctionExecutionLog: platformFunctionExecutionLogKeys,
|
|
960
975
|
platformFunctionInvocationAttempt: platformFunctionInvocationAttemptKeys,
|
|
961
976
|
platformFunctionInvocation: platformFunctionInvocationKeys,
|
|
977
|
+
platformFunctionSchedule: platformFunctionScheduleKeys,
|
|
962
978
|
platformImage: platformImageKeys,
|
|
963
979
|
platformImageGrant: platformImageGrantKeys,
|
|
964
980
|
platformInfraCommit: platformInfraCommitKeys,
|
|
@@ -29,6 +29,7 @@ import { FunctionGraphRefModel } from './models/functionGraphRef';
|
|
|
29
29
|
import { FunctionGraphStoreModel } from './models/functionGraphStore';
|
|
30
30
|
import { FunctionInvocationAttemptModel } from './models/functionInvocationAttempt';
|
|
31
31
|
import { FunctionInvocationModel } from './models/functionInvocation';
|
|
32
|
+
import { FunctionScheduleModel } from './models/functionSchedule';
|
|
32
33
|
import { GetAllTreeNodesRecordModel } from './models/getAllTreeNodesRecord';
|
|
33
34
|
import { ImageModel } from './models/image';
|
|
34
35
|
import { ImageGrantModel } from './models/imageGrant';
|
|
@@ -51,6 +52,7 @@ import { PlatformFunctionDeploymentEventModel } from './models/platformFunctionD
|
|
|
51
52
|
import { PlatformFunctionExecutionLogModel } from './models/platformFunctionExecutionLog';
|
|
52
53
|
import { PlatformFunctionInvocationAttemptModel } from './models/platformFunctionInvocationAttempt';
|
|
53
54
|
import { PlatformFunctionInvocationModel } from './models/platformFunctionInvocation';
|
|
55
|
+
import { PlatformFunctionScheduleModel } from './models/platformFunctionSchedule';
|
|
54
56
|
import { PlatformImageModel } from './models/platformImage';
|
|
55
57
|
import { PlatformImageGrantModel } from './models/platformImageGrant';
|
|
56
58
|
import { PlatformInfraCommitModel } from './models/platformInfraCommit';
|
|
@@ -179,6 +181,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
179
181
|
functionGraphStore: FunctionGraphStoreModel;
|
|
180
182
|
functionInvocationAttempt: FunctionInvocationAttemptModel;
|
|
181
183
|
functionInvocation: FunctionInvocationModel;
|
|
184
|
+
functionSchedule: FunctionScheduleModel;
|
|
182
185
|
getAllTreeNodesRecord: GetAllTreeNodesRecordModel;
|
|
183
186
|
image: ImageModel;
|
|
184
187
|
imageGrant: ImageGrantModel;
|
|
@@ -201,6 +204,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
201
204
|
platformFunctionExecutionLog: PlatformFunctionExecutionLogModel;
|
|
202
205
|
platformFunctionInvocationAttempt: PlatformFunctionInvocationAttemptModel;
|
|
203
206
|
platformFunctionInvocation: PlatformFunctionInvocationModel;
|
|
207
|
+
platformFunctionSchedule: PlatformFunctionScheduleModel;
|
|
204
208
|
platformImage: PlatformImageModel;
|
|
205
209
|
platformImageGrant: PlatformImageGrantModel;
|
|
206
210
|
platformInfraCommit: PlatformInfraCommitModel;
|
|
@@ -401,6 +405,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
401
405
|
} & import("./select-types").StrictSelect<S, import("./input-types").DatabaseValidateFunctionGraphPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
402
406
|
databaseValidateFunctionGraph: import("./select-types").InferSelectResult<import("./input-types").DatabaseValidateFunctionGraphPayload, S> | null;
|
|
403
407
|
}>;
|
|
408
|
+
functionExecutionLogsAppend: <S extends import("./input-types").FunctionExecutionLogsAppendPayloadSelect>(args: import("./mutation").FunctionExecutionLogsAppendVariables, options: {
|
|
409
|
+
select: S;
|
|
410
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").FunctionExecutionLogsAppendPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
411
|
+
functionExecutionLogsAppend: import("./select-types").InferSelectResult<import("./input-types").FunctionExecutionLogsAppendPayload, S> | null;
|
|
412
|
+
}>;
|
|
404
413
|
functionInvocationsCreateSync: <S extends import("./input-types").FunctionInvocationsCreateSyncPayloadSelect>(args: import("./mutation").FunctionInvocationsCreateSyncVariables, options: {
|
|
405
414
|
select: S;
|
|
406
415
|
} & import("./select-types").StrictSelect<S, import("./input-types").FunctionInvocationsCreateSyncPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -461,6 +470,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
461
470
|
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodesAtPathsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
462
471
|
insertNodesAtPaths: import("./select-types").InferSelectResult<import("./input-types").InsertNodesAtPathsPayload, S> | null;
|
|
463
472
|
}>;
|
|
473
|
+
platformFunctionExecutionLogsAppend: <S extends import("./input-types").PlatformFunctionExecutionLogsAppendPayloadSelect>(args: import("./mutation").PlatformFunctionExecutionLogsAppendVariables, options: {
|
|
474
|
+
select: S;
|
|
475
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformFunctionExecutionLogsAppendPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
476
|
+
platformFunctionExecutionLogsAppend: import("./select-types").InferSelectResult<import("./input-types").PlatformFunctionExecutionLogsAppendPayload, S> | null;
|
|
477
|
+
}>;
|
|
464
478
|
platformFunctionInvocationsCreateSync: <S extends import("./input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>(args: import("./mutation").PlatformFunctionInvocationsCreateSyncVariables, options: {
|
|
465
479
|
select: S;
|
|
466
480
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/esm/compute/orm/index.js
CHANGED
|
@@ -34,6 +34,7 @@ import { FunctionGraphRefModel } from './models/functionGraphRef';
|
|
|
34
34
|
import { FunctionGraphStoreModel } from './models/functionGraphStore';
|
|
35
35
|
import { FunctionInvocationAttemptModel } from './models/functionInvocationAttempt';
|
|
36
36
|
import { FunctionInvocationModel } from './models/functionInvocation';
|
|
37
|
+
import { FunctionScheduleModel } from './models/functionSchedule';
|
|
37
38
|
import { GetAllTreeNodesRecordModel } from './models/getAllTreeNodesRecord';
|
|
38
39
|
import { ImageModel } from './models/image';
|
|
39
40
|
import { ImageGrantModel } from './models/imageGrant';
|
|
@@ -56,6 +57,7 @@ import { PlatformFunctionDeploymentEventModel } from './models/platformFunctionD
|
|
|
56
57
|
import { PlatformFunctionExecutionLogModel } from './models/platformFunctionExecutionLog';
|
|
57
58
|
import { PlatformFunctionInvocationAttemptModel } from './models/platformFunctionInvocationAttempt';
|
|
58
59
|
import { PlatformFunctionInvocationModel } from './models/platformFunctionInvocation';
|
|
60
|
+
import { PlatformFunctionScheduleModel } from './models/platformFunctionSchedule';
|
|
59
61
|
import { PlatformImageModel } from './models/platformImage';
|
|
60
62
|
import { PlatformImageGrantModel } from './models/platformImageGrant';
|
|
61
63
|
import { PlatformInfraCommitModel } from './models/platformInfraCommit';
|
|
@@ -187,6 +189,7 @@ export function createClient(config) {
|
|
|
187
189
|
functionGraphStore: new FunctionGraphStoreModel(client),
|
|
188
190
|
functionInvocationAttempt: new FunctionInvocationAttemptModel(client),
|
|
189
191
|
functionInvocation: new FunctionInvocationModel(client),
|
|
192
|
+
functionSchedule: new FunctionScheduleModel(client),
|
|
190
193
|
getAllTreeNodesRecord: new GetAllTreeNodesRecordModel(client),
|
|
191
194
|
image: new ImageModel(client),
|
|
192
195
|
imageGrant: new ImageGrantModel(client),
|
|
@@ -209,6 +212,7 @@ export function createClient(config) {
|
|
|
209
212
|
platformFunctionExecutionLog: new PlatformFunctionExecutionLogModel(client),
|
|
210
213
|
platformFunctionInvocationAttempt: new PlatformFunctionInvocationAttemptModel(client),
|
|
211
214
|
platformFunctionInvocation: new PlatformFunctionInvocationModel(client),
|
|
215
|
+
platformFunctionSchedule: new PlatformFunctionScheduleModel(client),
|
|
212
216
|
platformImage: new PlatformImageModel(client),
|
|
213
217
|
platformImageGrant: new PlatformImageGrantModel(client),
|
|
214
218
|
platformInfraCommit: new PlatformInfraCommitModel(client),
|