@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,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.platformFunctionSchedulesQueryKey = void 0;
|
|
9
|
+
exports.usePlatformFunctionSchedulesQuery = usePlatformFunctionSchedulesQuery;
|
|
10
|
+
exports.fetchPlatformFunctionSchedulesQuery = fetchPlatformFunctionSchedulesQuery;
|
|
11
|
+
exports.prefetchPlatformFunctionSchedulesQuery = prefetchPlatformFunctionSchedulesQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.platformFunctionSchedulesQueryKey = query_keys_1.platformFunctionScheduleKeys.list;
|
|
18
|
+
function usePlatformFunctionSchedulesQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().platformFunctionSchedule.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchPlatformFunctionSchedulesQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().platformFunctionSchedule.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchPlatformFunctionSchedulesQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().platformFunctionSchedule.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -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"];
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.queryKeys = exports.customQueryKeys = exports.webhookEventKeys = exports.webhookEndpointKeys = exports.resourcesResolvedRequirementKeys = exports.resourcesRequirementsStateKeys = exports.resourcesHealthKeys = exports.resourceUtilizationKeys = exports.resourceUsageSummaryKeys = exports.resourceUsageLogKeys = exports.resourceStatusCheckKeys = exports.resourceObservedStorageKeys = exports.resourceInstallationKeys = exports.resourceEventKeys = exports.resourceDefinitionKeys = exports.resourceDeclaredCapacityKeys = exports.resourceKeys = exports.repositoryWorkflowKeys = exports.repositoryRequiredCheckKeys = exports.repositoryEventKeys = exports.repositoryKeys = void 0;
|
|
8
|
+
exports.platformFunctionDeploymentEventKeys = exports.platformFunctionDeploymentKeys = exports.platformFunctionDefinitionKeys = exports.platformFunctionCapabilityBindingKeys = exports.platformFunctionApiBindingKeys = exports.platformBuilderBindingKeys = exports.platformBuildStepKeys = exports.platformBuildKeys = exports.namespaceEventKeys = exports.namespaceKeys = exports.integrationProviderKeys = exports.infraStoreKeys = exports.infraRefKeys = exports.infraObjectKeys = exports.infraGetAllTreeNodesRecordKeys = exports.infraCommitKeys = exports.imageGrantKeys = exports.imageKeys = exports.getAllTreeNodesRecordKeys = exports.functionScheduleKeys = exports.functionInvocationKeys = exports.functionInvocationAttemptKeys = exports.functionGraphStoreKeys = exports.functionGraphRefKeys = exports.functionGraphObjectKeys = exports.functionGraphExecutionOutputKeys = exports.functionGraphExecutionNodeStateKeys = exports.functionGraphExecutionKeys = exports.functionGraphKeys = exports.functionGraphCommitKeys = exports.functionExecutionLogKeys = exports.functionDeploymentEventKeys = exports.functionDeploymentKeys = exports.functionDefinitionKeys = exports.functionCapabilityBindingKeys = exports.functionApiBindingKeys = exports.dbPresetKeys = exports.databaseGraphStoreKeys = exports.databaseGraphRefKeys = exports.databaseGraphObjectKeys = exports.databaseGraphGetAllTreeNodesRecordKeys = exports.databaseGraphCommitKeys = exports.databaseFunctionGraphExecutionOutputKeys = exports.databaseFunctionGraphExecutionNodeStateKeys = exports.databaseFunctionGraphExecutionKeys = exports.databaseFunctionGraphKeys = exports.contentPresetKeys = exports.builderBindingKeys = exports.buildStepKeys = exports.buildKeys = void 0;
|
|
9
|
+
exports.registryBindingKeys = exports.proposalsChunkKeys = exports.proposalReviewKeys = exports.proposalReactionKeys = exports.proposalFileViewKeys = exports.proposalKeys = exports.proposalCommentKeys = exports.platformWebhookEventKeys = exports.platformWebhookEndpointKeys = exports.platformResourcesResolvedRequirementKeys = exports.platformResourcesRequirementsStateKeys = exports.platformResourcesHealthKeys = exports.platformResourceUtilizationKeys = exports.platformResourceUsageSummaryKeys = exports.platformResourceUsageLogKeys = exports.platformResourceStatusCheckKeys = exports.platformResourceObservedStorageKeys = exports.platformResourceInstallationKeys = exports.platformResourceEventKeys = exports.platformResourceDefinitionKeys = exports.platformResourceDeclaredCapacityKeys = exports.platformResourceKeys = exports.platformRepositoryWorkflowKeys = exports.platformRepositoryRequiredCheckKeys = exports.platformRepositoryEventKeys = exports.platformRepositoryKeys = exports.platformRegistryGrantKeys = exports.platformRegistryKeys = exports.platformRegistryBindingKeys = exports.platformProposalsChunkKeys = exports.platformProposalReviewKeys = exports.platformProposalReactionKeys = exports.platformProposalFileViewKeys = exports.platformProposalKeys = exports.platformProposalCommentKeys = exports.platformNamespaceEventKeys = exports.platformNamespaceKeys = exports.platformK8sSpecRuleKeys = exports.platformK8sResourceKindKeys = exports.platformInfraStoreKeys = exports.platformInfraRefKeys = exports.platformInfraObjectKeys = exports.platformInfraGetAllTreeNodesRecordKeys = exports.platformInfraCommitKeys = exports.platformImageGrantKeys = exports.platformImageKeys = exports.platformFunctionScheduleKeys = exports.platformFunctionInvocationKeys = exports.platformFunctionInvocationAttemptKeys = exports.platformFunctionExecutionLogKeys = void 0;
|
|
10
|
+
exports.queryKeys = exports.customQueryKeys = exports.webhookEventKeys = exports.webhookEndpointKeys = exports.resourcesResolvedRequirementKeys = exports.resourcesRequirementsStateKeys = exports.resourcesHealthKeys = exports.resourceUtilizationKeys = exports.resourceUsageSummaryKeys = exports.resourceUsageLogKeys = exports.resourceStatusCheckKeys = exports.resourceObservedStorageKeys = exports.resourceInstallationKeys = exports.resourceEventKeys = exports.resourceDefinitionKeys = exports.resourceDeclaredCapacityKeys = exports.resourceKeys = exports.repositoryWorkflowKeys = exports.repositoryRequiredCheckKeys = exports.repositoryEventKeys = exports.repositoryKeys = exports.registryGrantKeys = exports.registryKeys = void 0;
|
|
11
11
|
// ============================================================================
|
|
12
12
|
// This file provides a centralized, type-safe query key factory following
|
|
13
13
|
// the lukemorales query-key-factory pattern for React Query.
|
|
@@ -241,6 +241,13 @@ exports.functionInvocationKeys = {
|
|
|
241
241
|
/** Detail query keys */ details: () => [...exports.functionInvocationKeys.all, 'detail'],
|
|
242
242
|
/** Detail query key for specific item */ detail: (id) => [...exports.functionInvocationKeys.details(), id],
|
|
243
243
|
};
|
|
244
|
+
exports.functionScheduleKeys = {
|
|
245
|
+
/** All functionSchedule queries */ all: ['functionschedule'],
|
|
246
|
+
/** List query keys */ lists: () => [...exports.functionScheduleKeys.all, 'list'],
|
|
247
|
+
/** List query key with variables */ list: (variables) => [...exports.functionScheduleKeys.lists(), variables],
|
|
248
|
+
/** Detail query keys */ details: () => [...exports.functionScheduleKeys.all, 'detail'],
|
|
249
|
+
/** Detail query key for specific item */ detail: (id) => [...exports.functionScheduleKeys.details(), id],
|
|
250
|
+
};
|
|
244
251
|
exports.getAllTreeNodesRecordKeys = {
|
|
245
252
|
/** All getAllTreeNodesRecord queries */ all: ['getalltreenodesrecord'],
|
|
246
253
|
/** List query keys */ lists: () => [...exports.getAllTreeNodesRecordKeys.all, 'list'],
|
|
@@ -401,6 +408,13 @@ exports.platformFunctionInvocationKeys = {
|
|
|
401
408
|
/** Detail query keys */ details: () => [...exports.platformFunctionInvocationKeys.all, 'detail'],
|
|
402
409
|
/** Detail query key for specific item */ detail: (id) => [...exports.platformFunctionInvocationKeys.details(), id],
|
|
403
410
|
};
|
|
411
|
+
exports.platformFunctionScheduleKeys = {
|
|
412
|
+
/** All platformFunctionSchedule queries */ all: ['platformfunctionschedule'],
|
|
413
|
+
/** List query keys */ lists: () => [...exports.platformFunctionScheduleKeys.all, 'list'],
|
|
414
|
+
/** List query key with variables */ list: (variables) => [...exports.platformFunctionScheduleKeys.lists(), variables],
|
|
415
|
+
/** Detail query keys */ details: () => [...exports.platformFunctionScheduleKeys.all, 'detail'],
|
|
416
|
+
/** Detail query key for specific item */ detail: (id) => [...exports.platformFunctionScheduleKeys.details(), id],
|
|
417
|
+
};
|
|
404
418
|
exports.platformImageKeys = {
|
|
405
419
|
/** All platformImage queries */ all: ['platformimage'],
|
|
406
420
|
/** List query keys */ lists: () => [...exports.platformImageKeys.all, 'list'],
|
|
@@ -942,6 +956,7 @@ exports.queryKeys = {
|
|
|
942
956
|
functionGraphStore: exports.functionGraphStoreKeys,
|
|
943
957
|
functionInvocationAttempt: exports.functionInvocationAttemptKeys,
|
|
944
958
|
functionInvocation: exports.functionInvocationKeys,
|
|
959
|
+
functionSchedule: exports.functionScheduleKeys,
|
|
945
960
|
getAllTreeNodesRecord: exports.getAllTreeNodesRecordKeys,
|
|
946
961
|
image: exports.imageKeys,
|
|
947
962
|
imageGrant: exports.imageGrantKeys,
|
|
@@ -964,6 +979,7 @@ exports.queryKeys = {
|
|
|
964
979
|
platformFunctionExecutionLog: exports.platformFunctionExecutionLogKeys,
|
|
965
980
|
platformFunctionInvocationAttempt: exports.platformFunctionInvocationAttemptKeys,
|
|
966
981
|
platformFunctionInvocation: exports.platformFunctionInvocationKeys,
|
|
982
|
+
platformFunctionSchedule: exports.platformFunctionScheduleKeys,
|
|
967
983
|
platformImage: exports.platformImageKeys,
|
|
968
984
|
platformImageGrant: exports.platformImageGrantKeys,
|
|
969
985
|
platformInfraCommit: exports.platformInfraCommitKeys,
|
package/compute/orm/index.d.ts
CHANGED
|
@@ -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/compute/orm/index.js
CHANGED
|
@@ -52,6 +52,7 @@ const functionGraphRef_1 = require("./models/functionGraphRef");
|
|
|
52
52
|
const functionGraphStore_1 = require("./models/functionGraphStore");
|
|
53
53
|
const functionInvocationAttempt_1 = require("./models/functionInvocationAttempt");
|
|
54
54
|
const functionInvocation_1 = require("./models/functionInvocation");
|
|
55
|
+
const functionSchedule_1 = require("./models/functionSchedule");
|
|
55
56
|
const getAllTreeNodesRecord_1 = require("./models/getAllTreeNodesRecord");
|
|
56
57
|
const image_1 = require("./models/image");
|
|
57
58
|
const imageGrant_1 = require("./models/imageGrant");
|
|
@@ -74,6 +75,7 @@ const platformFunctionDeploymentEvent_1 = require("./models/platformFunctionDepl
|
|
|
74
75
|
const platformFunctionExecutionLog_1 = require("./models/platformFunctionExecutionLog");
|
|
75
76
|
const platformFunctionInvocationAttempt_1 = require("./models/platformFunctionInvocationAttempt");
|
|
76
77
|
const platformFunctionInvocation_1 = require("./models/platformFunctionInvocation");
|
|
78
|
+
const platformFunctionSchedule_1 = require("./models/platformFunctionSchedule");
|
|
77
79
|
const platformImage_1 = require("./models/platformImage");
|
|
78
80
|
const platformImageGrant_1 = require("./models/platformImageGrant");
|
|
79
81
|
const platformInfraCommit_1 = require("./models/platformInfraCommit");
|
|
@@ -210,6 +212,7 @@ function createClient(config) {
|
|
|
210
212
|
functionGraphStore: new functionGraphStore_1.FunctionGraphStoreModel(client),
|
|
211
213
|
functionInvocationAttempt: new functionInvocationAttempt_1.FunctionInvocationAttemptModel(client),
|
|
212
214
|
functionInvocation: new functionInvocation_1.FunctionInvocationModel(client),
|
|
215
|
+
functionSchedule: new functionSchedule_1.FunctionScheduleModel(client),
|
|
213
216
|
getAllTreeNodesRecord: new getAllTreeNodesRecord_1.GetAllTreeNodesRecordModel(client),
|
|
214
217
|
image: new image_1.ImageModel(client),
|
|
215
218
|
imageGrant: new imageGrant_1.ImageGrantModel(client),
|
|
@@ -232,6 +235,7 @@ function createClient(config) {
|
|
|
232
235
|
platformFunctionExecutionLog: new platformFunctionExecutionLog_1.PlatformFunctionExecutionLogModel(client),
|
|
233
236
|
platformFunctionInvocationAttempt: new platformFunctionInvocationAttempt_1.PlatformFunctionInvocationAttemptModel(client),
|
|
234
237
|
platformFunctionInvocation: new platformFunctionInvocation_1.PlatformFunctionInvocationModel(client),
|
|
238
|
+
platformFunctionSchedule: new platformFunctionSchedule_1.PlatformFunctionScheduleModel(client),
|
|
235
239
|
platformImage: new platformImage_1.PlatformImageModel(client),
|
|
236
240
|
platformImageGrant: new platformImageGrant_1.PlatformImageGrantModel(client),
|
|
237
241
|
platformInfraCommit: new platformInfraCommit_1.PlatformInfraCommitModel(client),
|