@constructive-io/react 1.19.7 → 1.19.8
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 +2 -2
- 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
|
@@ -183,6 +183,12 @@ export declare const functionInvocationMutationKeys: {
|
|
|
183
183
|
/** Update functionInvocation mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functioninvocation", "update", string | number];
|
|
184
184
|
/** Delete functionInvocation mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functioninvocation", "delete", string | number];
|
|
185
185
|
};
|
|
186
|
+
export declare const functionScheduleMutationKeys: {
|
|
187
|
+
/** All functionSchedule mutation keys */ readonly all: readonly ["mutation", "functionschedule"];
|
|
188
|
+
/** Create functionSchedule mutation key */ readonly create: () => readonly ["mutation", "functionschedule", "create"];
|
|
189
|
+
/** Update functionSchedule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functionschedule", "update", string | number];
|
|
190
|
+
/** Delete functionSchedule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functionschedule", "delete", string | number];
|
|
191
|
+
};
|
|
186
192
|
export declare const getAllTreeNodesRecordMutationKeys: {
|
|
187
193
|
/** All getAllTreeNodesRecord mutation keys */ readonly all: readonly ["mutation", "getalltreenodesrecord"];
|
|
188
194
|
/** Create getAllTreeNodesRecord mutation key */ readonly create: () => readonly ["mutation", "getalltreenodesrecord", "create"];
|
|
@@ -315,6 +321,12 @@ export declare const platformFunctionInvocationMutationKeys: {
|
|
|
315
321
|
/** Update platformFunctionInvocation mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformfunctioninvocation", "update", string | number];
|
|
316
322
|
/** Delete platformFunctionInvocation mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformfunctioninvocation", "delete", string | number];
|
|
317
323
|
};
|
|
324
|
+
export declare const platformFunctionScheduleMutationKeys: {
|
|
325
|
+
/** All platformFunctionSchedule mutation keys */ readonly all: readonly ["mutation", "platformfunctionschedule"];
|
|
326
|
+
/** Create platformFunctionSchedule mutation key */ readonly create: () => readonly ["mutation", "platformfunctionschedule", "create"];
|
|
327
|
+
/** Update platformFunctionSchedule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformfunctionschedule", "update", string | number];
|
|
328
|
+
/** Delete platformFunctionSchedule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformfunctionschedule", "delete", string | number];
|
|
329
|
+
};
|
|
318
330
|
export declare const platformImageMutationKeys: {
|
|
319
331
|
/** All platformImage mutation keys */ readonly all: readonly ["mutation", "platformimage"];
|
|
320
332
|
/** Create platformImage mutation key */ readonly create: () => readonly ["mutation", "platformimage", "create"];
|
|
@@ -742,6 +754,7 @@ export declare const customMutationKeys: {
|
|
|
742
754
|
/** Mutation key for databaseSaveGraph */ readonly databaseSaveGraph: (identifier?: string) => readonly ["mutation", "databaseSaveGraph", string] | readonly ["mutation", "databaseSaveGraph"];
|
|
743
755
|
/** Mutation key for databaseStartExecution */ readonly databaseStartExecution: (identifier?: string) => readonly ["mutation", "databaseStartExecution", string] | readonly ["mutation", "databaseStartExecution"];
|
|
744
756
|
/** Mutation key for databaseValidateFunctionGraph */ readonly databaseValidateFunctionGraph: (identifier?: string) => readonly ["mutation", "databaseValidateFunctionGraph", string] | readonly ["mutation", "databaseValidateFunctionGraph"];
|
|
757
|
+
/** Mutation key for functionExecutionLogsAppend */ readonly functionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "functionExecutionLogsAppend", string] | readonly ["mutation", "functionExecutionLogsAppend"];
|
|
745
758
|
/** Mutation key for functionInvocationsCreateSync */ readonly functionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "functionInvocationsCreateSync", string] | readonly ["mutation", "functionInvocationsCreateSync"];
|
|
746
759
|
/** Mutation key for importDefinitions */ readonly importDefinitions: (identifier?: string) => readonly ["mutation", "importDefinitions", string] | readonly ["mutation", "importDefinitions"];
|
|
747
760
|
/** Mutation key for importGraphJson */ readonly importGraphJson: (identifier?: string) => readonly ["mutation", "importGraphJson", string] | readonly ["mutation", "importGraphJson"];
|
|
@@ -754,6 +767,7 @@ export declare const customMutationKeys: {
|
|
|
754
767
|
/** Mutation key for initEmptyRepo */ readonly initEmptyRepo: (identifier?: string) => readonly ["mutation", "initEmptyRepo", string] | readonly ["mutation", "initEmptyRepo"];
|
|
755
768
|
/** Mutation key for insertNodeAtPath */ readonly insertNodeAtPath: (identifier?: string) => readonly ["mutation", "insertNodeAtPath", string] | readonly ["mutation", "insertNodeAtPath"];
|
|
756
769
|
/** Mutation key for insertNodesAtPaths */ readonly insertNodesAtPaths: (identifier?: string) => readonly ["mutation", "insertNodesAtPaths", string] | readonly ["mutation", "insertNodesAtPaths"];
|
|
770
|
+
/** Mutation key for platformFunctionExecutionLogsAppend */ readonly platformFunctionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "platformFunctionExecutionLogsAppend", string] | readonly ["mutation", "platformFunctionExecutionLogsAppend"];
|
|
757
771
|
/** Mutation key for platformFunctionInvocationsCreateSync */ readonly platformFunctionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "platformFunctionInvocationsCreateSync", string] | readonly ["mutation", "platformFunctionInvocationsCreateSync"];
|
|
758
772
|
/** Mutation key for platformInfraInitEmptyRepo */ readonly platformInfraInitEmptyRepo: (identifier?: string) => readonly ["mutation", "platformInfraInitEmptyRepo", string] | readonly ["mutation", "platformInfraInitEmptyRepo"];
|
|
759
773
|
/** Mutation key for platformInfraInsertNodeAtPath */ readonly platformInfraInsertNodeAtPath: (identifier?: string) => readonly ["mutation", "platformInfraInsertNodeAtPath", string] | readonly ["mutation", "platformInfraInsertNodeAtPath"];
|
|
@@ -980,6 +994,12 @@ export declare const mutationKeys: {
|
|
|
980
994
|
/** Update functionInvocation mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functioninvocation", "update", string | number];
|
|
981
995
|
/** Delete functionInvocation mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functioninvocation", "delete", string | number];
|
|
982
996
|
};
|
|
997
|
+
readonly functionSchedule: {
|
|
998
|
+
/** All functionSchedule mutation keys */ readonly all: readonly ["mutation", "functionschedule"];
|
|
999
|
+
/** Create functionSchedule mutation key */ readonly create: () => readonly ["mutation", "functionschedule", "create"];
|
|
1000
|
+
/** Update functionSchedule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functionschedule", "update", string | number];
|
|
1001
|
+
/** Delete functionSchedule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functionschedule", "delete", string | number];
|
|
1002
|
+
};
|
|
983
1003
|
readonly getAllTreeNodesRecord: {
|
|
984
1004
|
/** All getAllTreeNodesRecord mutation keys */ readonly all: readonly ["mutation", "getalltreenodesrecord"];
|
|
985
1005
|
/** Create getAllTreeNodesRecord mutation key */ readonly create: () => readonly ["mutation", "getalltreenodesrecord", "create"];
|
|
@@ -1112,6 +1132,12 @@ export declare const mutationKeys: {
|
|
|
1112
1132
|
/** Update platformFunctionInvocation mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformfunctioninvocation", "update", string | number];
|
|
1113
1133
|
/** Delete platformFunctionInvocation mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformfunctioninvocation", "delete", string | number];
|
|
1114
1134
|
};
|
|
1135
|
+
readonly platformFunctionSchedule: {
|
|
1136
|
+
/** All platformFunctionSchedule mutation keys */ readonly all: readonly ["mutation", "platformfunctionschedule"];
|
|
1137
|
+
/** Create platformFunctionSchedule mutation key */ readonly create: () => readonly ["mutation", "platformfunctionschedule", "create"];
|
|
1138
|
+
/** Update platformFunctionSchedule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformfunctionschedule", "update", string | number];
|
|
1139
|
+
/** Delete platformFunctionSchedule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformfunctionschedule", "delete", string | number];
|
|
1140
|
+
};
|
|
1115
1141
|
readonly platformImage: {
|
|
1116
1142
|
/** All platformImage mutation keys */ readonly all: readonly ["mutation", "platformimage"];
|
|
1117
1143
|
/** Create platformImage mutation key */ readonly create: () => readonly ["mutation", "platformimage", "create"];
|
|
@@ -1539,6 +1565,7 @@ export declare const mutationKeys: {
|
|
|
1539
1565
|
/** Mutation key for databaseSaveGraph */ readonly databaseSaveGraph: (identifier?: string) => readonly ["mutation", "databaseSaveGraph", string] | readonly ["mutation", "databaseSaveGraph"];
|
|
1540
1566
|
/** Mutation key for databaseStartExecution */ readonly databaseStartExecution: (identifier?: string) => readonly ["mutation", "databaseStartExecution", string] | readonly ["mutation", "databaseStartExecution"];
|
|
1541
1567
|
/** Mutation key for databaseValidateFunctionGraph */ readonly databaseValidateFunctionGraph: (identifier?: string) => readonly ["mutation", "databaseValidateFunctionGraph", string] | readonly ["mutation", "databaseValidateFunctionGraph"];
|
|
1568
|
+
/** Mutation key for functionExecutionLogsAppend */ readonly functionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "functionExecutionLogsAppend", string] | readonly ["mutation", "functionExecutionLogsAppend"];
|
|
1542
1569
|
/** Mutation key for functionInvocationsCreateSync */ readonly functionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "functionInvocationsCreateSync", string] | readonly ["mutation", "functionInvocationsCreateSync"];
|
|
1543
1570
|
/** Mutation key for importDefinitions */ readonly importDefinitions: (identifier?: string) => readonly ["mutation", "importDefinitions", string] | readonly ["mutation", "importDefinitions"];
|
|
1544
1571
|
/** Mutation key for importGraphJson */ readonly importGraphJson: (identifier?: string) => readonly ["mutation", "importGraphJson", string] | readonly ["mutation", "importGraphJson"];
|
|
@@ -1551,6 +1578,7 @@ export declare const mutationKeys: {
|
|
|
1551
1578
|
/** Mutation key for initEmptyRepo */ readonly initEmptyRepo: (identifier?: string) => readonly ["mutation", "initEmptyRepo", string] | readonly ["mutation", "initEmptyRepo"];
|
|
1552
1579
|
/** Mutation key for insertNodeAtPath */ readonly insertNodeAtPath: (identifier?: string) => readonly ["mutation", "insertNodeAtPath", string] | readonly ["mutation", "insertNodeAtPath"];
|
|
1553
1580
|
/** Mutation key for insertNodesAtPaths */ readonly insertNodesAtPaths: (identifier?: string) => readonly ["mutation", "insertNodesAtPaths", string] | readonly ["mutation", "insertNodesAtPaths"];
|
|
1581
|
+
/** Mutation key for platformFunctionExecutionLogsAppend */ readonly platformFunctionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "platformFunctionExecutionLogsAppend", string] | readonly ["mutation", "platformFunctionExecutionLogsAppend"];
|
|
1554
1582
|
/** Mutation key for platformFunctionInvocationsCreateSync */ readonly platformFunctionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "platformFunctionInvocationsCreateSync", string] | readonly ["mutation", "platformFunctionInvocationsCreateSync"];
|
|
1555
1583
|
/** Mutation key for platformInfraInitEmptyRepo */ readonly platformInfraInitEmptyRepo: (identifier?: string) => readonly ["mutation", "platformInfraInitEmptyRepo", string] | readonly ["mutation", "platformInfraInitEmptyRepo"];
|
|
1556
1584
|
/** Mutation key for platformInfraInsertNodeAtPath */ readonly platformInfraInsertNodeAtPath: (identifier?: string) => readonly ["mutation", "platformInfraInsertNodeAtPath", string] | readonly ["mutation", "platformInfraInsertNodeAtPath"];
|
|
@@ -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.mutationKeys = exports.customMutationKeys = exports.webhookEventMutationKeys = exports.webhookEndpointMutationKeys = exports.resourcesResolvedRequirementMutationKeys = exports.resourcesRequirementsStateMutationKeys = exports.resourcesHealthMutationKeys = exports.resourceUtilizationMutationKeys = exports.resourceUsageSummaryMutationKeys = exports.resourceUsageLogMutationKeys = exports.resourceStatusCheckMutationKeys = exports.resourceObservedStorageMutationKeys = exports.resourceInstallationMutationKeys = exports.resourceEventMutationKeys = exports.resourceDefinitionMutationKeys = exports.resourceDeclaredCapacityMutationKeys = exports.resourceMutationKeys = exports.repositoryWorkflowMutationKeys = exports.repositoryRequiredCheckMutationKeys = exports.repositoryEventMutationKeys = exports.repositoryMutationKeys = void 0;
|
|
8
|
+
exports.platformFunctionDeploymentEventMutationKeys = exports.platformFunctionDeploymentMutationKeys = exports.platformFunctionDefinitionMutationKeys = exports.platformFunctionCapabilityBindingMutationKeys = exports.platformFunctionApiBindingMutationKeys = exports.platformBuilderBindingMutationKeys = exports.platformBuildStepMutationKeys = exports.platformBuildMutationKeys = exports.namespaceEventMutationKeys = exports.namespaceMutationKeys = exports.integrationProviderMutationKeys = exports.infraStoreMutationKeys = exports.infraRefMutationKeys = exports.infraObjectMutationKeys = exports.infraGetAllTreeNodesRecordMutationKeys = exports.infraCommitMutationKeys = exports.imageGrantMutationKeys = exports.imageMutationKeys = exports.getAllTreeNodesRecordMutationKeys = exports.functionScheduleMutationKeys = exports.functionInvocationMutationKeys = exports.functionInvocationAttemptMutationKeys = exports.functionGraphStoreMutationKeys = exports.functionGraphRefMutationKeys = exports.functionGraphObjectMutationKeys = exports.functionGraphExecutionOutputMutationKeys = exports.functionGraphExecutionNodeStateMutationKeys = exports.functionGraphExecutionMutationKeys = exports.functionGraphMutationKeys = exports.functionGraphCommitMutationKeys = exports.functionExecutionLogMutationKeys = exports.functionDeploymentEventMutationKeys = exports.functionDeploymentMutationKeys = exports.functionDefinitionMutationKeys = exports.functionCapabilityBindingMutationKeys = exports.functionApiBindingMutationKeys = exports.dbPresetMutationKeys = exports.databaseGraphStoreMutationKeys = exports.databaseGraphRefMutationKeys = exports.databaseGraphObjectMutationKeys = exports.databaseGraphGetAllTreeNodesRecordMutationKeys = exports.databaseGraphCommitMutationKeys = exports.databaseFunctionGraphExecutionOutputMutationKeys = exports.databaseFunctionGraphExecutionNodeStateMutationKeys = exports.databaseFunctionGraphExecutionMutationKeys = exports.databaseFunctionGraphMutationKeys = exports.contentPresetMutationKeys = exports.builderBindingMutationKeys = exports.buildStepMutationKeys = exports.buildMutationKeys = void 0;
|
|
9
|
+
exports.registryBindingMutationKeys = exports.proposalsChunkMutationKeys = exports.proposalReviewMutationKeys = exports.proposalReactionMutationKeys = exports.proposalFileViewMutationKeys = exports.proposalMutationKeys = exports.proposalCommentMutationKeys = exports.platformWebhookEventMutationKeys = exports.platformWebhookEndpointMutationKeys = exports.platformResourcesResolvedRequirementMutationKeys = exports.platformResourcesRequirementsStateMutationKeys = exports.platformResourcesHealthMutationKeys = exports.platformResourceUtilizationMutationKeys = exports.platformResourceUsageSummaryMutationKeys = exports.platformResourceUsageLogMutationKeys = exports.platformResourceStatusCheckMutationKeys = exports.platformResourceObservedStorageMutationKeys = exports.platformResourceInstallationMutationKeys = exports.platformResourceEventMutationKeys = exports.platformResourceDefinitionMutationKeys = exports.platformResourceDeclaredCapacityMutationKeys = exports.platformResourceMutationKeys = exports.platformRepositoryWorkflowMutationKeys = exports.platformRepositoryRequiredCheckMutationKeys = exports.platformRepositoryEventMutationKeys = exports.platformRepositoryMutationKeys = exports.platformRegistryGrantMutationKeys = exports.platformRegistryMutationKeys = exports.platformRegistryBindingMutationKeys = exports.platformProposalsChunkMutationKeys = exports.platformProposalReviewMutationKeys = exports.platformProposalReactionMutationKeys = exports.platformProposalFileViewMutationKeys = exports.platformProposalMutationKeys = exports.platformProposalCommentMutationKeys = exports.platformNamespaceEventMutationKeys = exports.platformNamespaceMutationKeys = exports.platformK8sSpecRuleMutationKeys = exports.platformK8sResourceKindMutationKeys = exports.platformInfraStoreMutationKeys = exports.platformInfraRefMutationKeys = exports.platformInfraObjectMutationKeys = exports.platformInfraGetAllTreeNodesRecordMutationKeys = exports.platformInfraCommitMutationKeys = exports.platformImageGrantMutationKeys = exports.platformImageMutationKeys = exports.platformFunctionScheduleMutationKeys = exports.platformFunctionInvocationMutationKeys = exports.platformFunctionInvocationAttemptMutationKeys = exports.platformFunctionExecutionLogMutationKeys = void 0;
|
|
10
|
+
exports.mutationKeys = exports.customMutationKeys = exports.webhookEventMutationKeys = exports.webhookEndpointMutationKeys = exports.resourcesResolvedRequirementMutationKeys = exports.resourcesRequirementsStateMutationKeys = exports.resourcesHealthMutationKeys = exports.resourceUtilizationMutationKeys = exports.resourceUsageSummaryMutationKeys = exports.resourceUsageLogMutationKeys = exports.resourceStatusCheckMutationKeys = exports.resourceObservedStorageMutationKeys = exports.resourceInstallationMutationKeys = exports.resourceEventMutationKeys = exports.resourceDefinitionMutationKeys = exports.resourceDeclaredCapacityMutationKeys = exports.resourceMutationKeys = exports.repositoryWorkflowMutationKeys = exports.repositoryRequiredCheckMutationKeys = exports.repositoryEventMutationKeys = exports.repositoryMutationKeys = exports.registryGrantMutationKeys = exports.registryMutationKeys = void 0;
|
|
11
11
|
// ============================================================================
|
|
12
12
|
// Mutation keys for tracking in-flight mutations
|
|
13
13
|
//
|
|
@@ -233,6 +233,12 @@ exports.functionInvocationMutationKeys = {
|
|
|
233
233
|
/** Update functionInvocation mutation key */ update: (id) => ['mutation', 'functioninvocation', 'update', id],
|
|
234
234
|
/** Delete functionInvocation mutation key */ delete: (id) => ['mutation', 'functioninvocation', 'delete', id],
|
|
235
235
|
};
|
|
236
|
+
exports.functionScheduleMutationKeys = {
|
|
237
|
+
/** All functionSchedule mutation keys */ all: ['mutation', 'functionschedule'],
|
|
238
|
+
/** Create functionSchedule mutation key */ create: () => ['mutation', 'functionschedule', 'create'],
|
|
239
|
+
/** Update functionSchedule mutation key */ update: (id) => ['mutation', 'functionschedule', 'update', id],
|
|
240
|
+
/** Delete functionSchedule mutation key */ delete: (id) => ['mutation', 'functionschedule', 'delete', id],
|
|
241
|
+
};
|
|
236
242
|
exports.getAllTreeNodesRecordMutationKeys = {
|
|
237
243
|
/** All getAllTreeNodesRecord mutation keys */ all: [
|
|
238
244
|
'mutation',
|
|
@@ -398,6 +404,15 @@ exports.platformFunctionInvocationMutationKeys = {
|
|
|
398
404
|
/** Update platformFunctionInvocation mutation key */ update: (id) => ['mutation', 'platformfunctioninvocation', 'update', id],
|
|
399
405
|
/** Delete platformFunctionInvocation mutation key */ delete: (id) => ['mutation', 'platformfunctioninvocation', 'delete', id],
|
|
400
406
|
};
|
|
407
|
+
exports.platformFunctionScheduleMutationKeys = {
|
|
408
|
+
/** All platformFunctionSchedule mutation keys */ all: [
|
|
409
|
+
'mutation',
|
|
410
|
+
'platformfunctionschedule',
|
|
411
|
+
],
|
|
412
|
+
/** Create platformFunctionSchedule mutation key */ create: () => ['mutation', 'platformfunctionschedule', 'create'],
|
|
413
|
+
/** Update platformFunctionSchedule mutation key */ update: (id) => ['mutation', 'platformfunctionschedule', 'update', id],
|
|
414
|
+
/** Delete platformFunctionSchedule mutation key */ delete: (id) => ['mutation', 'platformfunctionschedule', 'delete', id],
|
|
415
|
+
};
|
|
401
416
|
exports.platformImageMutationKeys = {
|
|
402
417
|
/** All platformImage mutation keys */ all: ['mutation', 'platformimage'],
|
|
403
418
|
/** Create platformImage mutation key */ create: () => ['mutation', 'platformimage', 'create'],
|
|
@@ -969,6 +984,9 @@ exports.customMutationKeys = {
|
|
|
969
984
|
/** Mutation key for databaseValidateFunctionGraph */ databaseValidateFunctionGraph: (identifier) => identifier
|
|
970
985
|
? ['mutation', 'databaseValidateFunctionGraph', identifier]
|
|
971
986
|
: ['mutation', 'databaseValidateFunctionGraph'],
|
|
987
|
+
/** Mutation key for functionExecutionLogsAppend */ functionExecutionLogsAppend: (identifier) => identifier
|
|
988
|
+
? ['mutation', 'functionExecutionLogsAppend', identifier]
|
|
989
|
+
: ['mutation', 'functionExecutionLogsAppend'],
|
|
972
990
|
/** Mutation key for functionInvocationsCreateSync */ functionInvocationsCreateSync: (identifier) => identifier
|
|
973
991
|
? ['mutation', 'functionInvocationsCreateSync', identifier]
|
|
974
992
|
: ['mutation', 'functionInvocationsCreateSync'],
|
|
@@ -1005,6 +1023,9 @@ exports.customMutationKeys = {
|
|
|
1005
1023
|
/** Mutation key for insertNodesAtPaths */ insertNodesAtPaths: (identifier) => identifier
|
|
1006
1024
|
? ['mutation', 'insertNodesAtPaths', identifier]
|
|
1007
1025
|
: ['mutation', 'insertNodesAtPaths'],
|
|
1026
|
+
/** Mutation key for platformFunctionExecutionLogsAppend */ platformFunctionExecutionLogsAppend: (identifier) => identifier
|
|
1027
|
+
? ['mutation', 'platformFunctionExecutionLogsAppend', identifier]
|
|
1028
|
+
: ['mutation', 'platformFunctionExecutionLogsAppend'],
|
|
1008
1029
|
/** Mutation key for platformFunctionInvocationsCreateSync */ platformFunctionInvocationsCreateSync: (identifier) => identifier
|
|
1009
1030
|
? ['mutation', 'platformFunctionInvocationsCreateSync', identifier]
|
|
1010
1031
|
: ['mutation', 'platformFunctionInvocationsCreateSync'],
|
|
@@ -1125,6 +1146,7 @@ exports.mutationKeys = {
|
|
|
1125
1146
|
functionGraphStore: exports.functionGraphStoreMutationKeys,
|
|
1126
1147
|
functionInvocationAttempt: exports.functionInvocationAttemptMutationKeys,
|
|
1127
1148
|
functionInvocation: exports.functionInvocationMutationKeys,
|
|
1149
|
+
functionSchedule: exports.functionScheduleMutationKeys,
|
|
1128
1150
|
getAllTreeNodesRecord: exports.getAllTreeNodesRecordMutationKeys,
|
|
1129
1151
|
image: exports.imageMutationKeys,
|
|
1130
1152
|
imageGrant: exports.imageGrantMutationKeys,
|
|
@@ -1147,6 +1169,7 @@ exports.mutationKeys = {
|
|
|
1147
1169
|
platformFunctionExecutionLog: exports.platformFunctionExecutionLogMutationKeys,
|
|
1148
1170
|
platformFunctionInvocationAttempt: exports.platformFunctionInvocationAttemptMutationKeys,
|
|
1149
1171
|
platformFunctionInvocation: exports.platformFunctionInvocationMutationKeys,
|
|
1172
|
+
platformFunctionSchedule: exports.platformFunctionScheduleMutationKeys,
|
|
1150
1173
|
platformImage: exports.platformImageMutationKeys,
|
|
1151
1174
|
platformImageGrant: exports.platformImageGrantMutationKeys,
|
|
1152
1175
|
platformInfraCommit: exports.platformInfraCommitMutationKeys,
|
|
@@ -91,6 +91,9 @@ export * from './useDeleteFunctionInvocationAttemptMutation';
|
|
|
91
91
|
export * from './useCreateFunctionInvocationMutation';
|
|
92
92
|
export * from './useUpdateFunctionInvocationMutation';
|
|
93
93
|
export * from './useDeleteFunctionInvocationMutation';
|
|
94
|
+
export * from './useCreateFunctionScheduleMutation';
|
|
95
|
+
export * from './useUpdateFunctionScheduleMutation';
|
|
96
|
+
export * from './useDeleteFunctionScheduleMutation';
|
|
94
97
|
export * from './useCreateGetAllTreeNodesRecordMutation';
|
|
95
98
|
export * from './useCreateImageMutation';
|
|
96
99
|
export * from './useUpdateImageMutation';
|
|
@@ -153,6 +156,9 @@ export * from './useDeletePlatformFunctionInvocationAttemptMutation';
|
|
|
153
156
|
export * from './useCreatePlatformFunctionInvocationMutation';
|
|
154
157
|
export * from './useUpdatePlatformFunctionInvocationMutation';
|
|
155
158
|
export * from './useDeletePlatformFunctionInvocationMutation';
|
|
159
|
+
export * from './useCreatePlatformFunctionScheduleMutation';
|
|
160
|
+
export * from './useUpdatePlatformFunctionScheduleMutation';
|
|
161
|
+
export * from './useDeletePlatformFunctionScheduleMutation';
|
|
156
162
|
export * from './useCreatePlatformImageMutation';
|
|
157
163
|
export * from './useUpdatePlatformImageMutation';
|
|
158
164
|
export * from './useDeletePlatformImageMutation';
|
|
@@ -352,6 +358,7 @@ export * from './useDatabaseImportGraphJsonMutation';
|
|
|
352
358
|
export * from './useDatabaseSaveGraphMutation';
|
|
353
359
|
export * from './useDatabaseStartExecutionMutation';
|
|
354
360
|
export * from './useDatabaseValidateFunctionGraphMutation';
|
|
361
|
+
export * from './useFunctionExecutionLogsAppendMutation';
|
|
355
362
|
export * from './useFunctionInvocationsCreateSyncMutation';
|
|
356
363
|
export * from './useImportDefinitionsMutation';
|
|
357
364
|
export * from './useImportGraphJsonMutation';
|
|
@@ -364,6 +371,7 @@ export * from './useInfraSetManyAndCommitMutation';
|
|
|
364
371
|
export * from './useInitEmptyRepoMutation';
|
|
365
372
|
export * from './useInsertNodeAtPathMutation';
|
|
366
373
|
export * from './useInsertNodesAtPathsMutation';
|
|
374
|
+
export * from './usePlatformFunctionExecutionLogsAppendMutation';
|
|
367
375
|
export * from './usePlatformFunctionInvocationsCreateSyncMutation';
|
|
368
376
|
export * from './usePlatformInfraInitEmptyRepoMutation';
|
|
369
377
|
export * from './usePlatformInfraInsertNodeAtPathMutation';
|
|
@@ -107,6 +107,9 @@ __exportStar(require("./useDeleteFunctionInvocationAttemptMutation"), exports);
|
|
|
107
107
|
__exportStar(require("./useCreateFunctionInvocationMutation"), exports);
|
|
108
108
|
__exportStar(require("./useUpdateFunctionInvocationMutation"), exports);
|
|
109
109
|
__exportStar(require("./useDeleteFunctionInvocationMutation"), exports);
|
|
110
|
+
__exportStar(require("./useCreateFunctionScheduleMutation"), exports);
|
|
111
|
+
__exportStar(require("./useUpdateFunctionScheduleMutation"), exports);
|
|
112
|
+
__exportStar(require("./useDeleteFunctionScheduleMutation"), exports);
|
|
110
113
|
__exportStar(require("./useCreateGetAllTreeNodesRecordMutation"), exports);
|
|
111
114
|
__exportStar(require("./useCreateImageMutation"), exports);
|
|
112
115
|
__exportStar(require("./useUpdateImageMutation"), exports);
|
|
@@ -169,6 +172,9 @@ __exportStar(require("./useDeletePlatformFunctionInvocationAttemptMutation"), ex
|
|
|
169
172
|
__exportStar(require("./useCreatePlatformFunctionInvocationMutation"), exports);
|
|
170
173
|
__exportStar(require("./useUpdatePlatformFunctionInvocationMutation"), exports);
|
|
171
174
|
__exportStar(require("./useDeletePlatformFunctionInvocationMutation"), exports);
|
|
175
|
+
__exportStar(require("./useCreatePlatformFunctionScheduleMutation"), exports);
|
|
176
|
+
__exportStar(require("./useUpdatePlatformFunctionScheduleMutation"), exports);
|
|
177
|
+
__exportStar(require("./useDeletePlatformFunctionScheduleMutation"), exports);
|
|
172
178
|
__exportStar(require("./useCreatePlatformImageMutation"), exports);
|
|
173
179
|
__exportStar(require("./useUpdatePlatformImageMutation"), exports);
|
|
174
180
|
__exportStar(require("./useDeletePlatformImageMutation"), exports);
|
|
@@ -368,6 +374,7 @@ __exportStar(require("./useDatabaseImportGraphJsonMutation"), exports);
|
|
|
368
374
|
__exportStar(require("./useDatabaseSaveGraphMutation"), exports);
|
|
369
375
|
__exportStar(require("./useDatabaseStartExecutionMutation"), exports);
|
|
370
376
|
__exportStar(require("./useDatabaseValidateFunctionGraphMutation"), exports);
|
|
377
|
+
__exportStar(require("./useFunctionExecutionLogsAppendMutation"), exports);
|
|
371
378
|
__exportStar(require("./useFunctionInvocationsCreateSyncMutation"), exports);
|
|
372
379
|
__exportStar(require("./useImportDefinitionsMutation"), exports);
|
|
373
380
|
__exportStar(require("./useImportGraphJsonMutation"), exports);
|
|
@@ -380,6 +387,7 @@ __exportStar(require("./useInfraSetManyAndCommitMutation"), exports);
|
|
|
380
387
|
__exportStar(require("./useInitEmptyRepoMutation"), exports);
|
|
381
388
|
__exportStar(require("./useInsertNodeAtPathMutation"), exports);
|
|
382
389
|
__exportStar(require("./useInsertNodesAtPathsMutation"), exports);
|
|
390
|
+
__exportStar(require("./usePlatformFunctionExecutionLogsAppendMutation"), exports);
|
|
383
391
|
__exportStar(require("./usePlatformFunctionInvocationsCreateSyncMutation"), exports);
|
|
384
392
|
__exportStar(require("./usePlatformInfraInitEmptyRepoMutation"), exports);
|
|
385
393
|
__exportStar(require("./usePlatformInfraInsertNodeAtPathMutation"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { FunctionScheduleSelect, FunctionScheduleWithRelations, CreateFunctionScheduleInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionScheduleSelect, FunctionScheduleWithRelations, CreateFunctionScheduleInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateFunctionScheduleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateFunctionScheduleMutation<S extends FunctionScheduleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & FunctionScheduleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, FunctionScheduleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createFunctionSchedule: {
|
|
28
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateFunctionScheduleInput['functionSchedule']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createFunctionSchedule: {
|
|
32
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateFunctionScheduleInput['functionSchedule']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
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.useCreateFunctionScheduleMutation = useCreateFunctionScheduleMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreateFunctionScheduleMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.functionScheduleMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.functionSchedule.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.functionScheduleKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { PlatformFunctionScheduleSelect, PlatformFunctionScheduleWithRelations, CreatePlatformFunctionScheduleInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformFunctionScheduleSelect, PlatformFunctionScheduleWithRelations, CreatePlatformFunctionScheduleInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreatePlatformFunctionScheduleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreatePlatformFunctionScheduleMutation<S extends PlatformFunctionScheduleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & PlatformFunctionScheduleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createPlatformFunctionSchedule: {
|
|
28
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreatePlatformFunctionScheduleInput['platformFunctionSchedule']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createPlatformFunctionSchedule: {
|
|
32
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreatePlatformFunctionScheduleInput['platformFunctionSchedule']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
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.useCreatePlatformFunctionScheduleMutation = useCreatePlatformFunctionScheduleMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreatePlatformFunctionScheduleMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.platformFunctionScheduleMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.platformFunctionSchedule.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { FunctionScheduleSelect, FunctionScheduleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionScheduleSelect, FunctionScheduleWithRelations } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteFunctionScheduleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteFunctionScheduleMutation<S extends FunctionScheduleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & FunctionScheduleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, FunctionScheduleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteFunctionSchedule: {
|
|
28
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteFunctionSchedule: {
|
|
34
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.useDeleteFunctionScheduleMutation = useDeleteFunctionScheduleMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useDeleteFunctionScheduleMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.functionScheduleMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id }) => (0, client_1.getClient)()
|
|
22
|
+
.functionSchedule.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.functionScheduleKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.functionScheduleKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } 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
|
+
/**
|
|
11
|
+
* Function schedules — user-facing cron schedules synced into the worker scheduler (app_jobs.scheduled_jobs)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeletePlatformFunctionScheduleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeletePlatformFunctionScheduleMutation<S extends PlatformFunctionScheduleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & PlatformFunctionScheduleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, PlatformFunctionScheduleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deletePlatformFunctionSchedule: {
|
|
28
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deletePlatformFunctionSchedule: {
|
|
34
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.useDeletePlatformFunctionScheduleMutation = useDeletePlatformFunctionScheduleMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useDeletePlatformFunctionScheduleMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.platformFunctionScheduleMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id }) => (0, client_1.getClient)()
|
|
22
|
+
.platformFunctionSchedule.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for functionExecutionLogsAppend
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { FunctionExecutionLogsAppendVariables } from '../../orm/mutation';
|
|
8
|
+
import type { FunctionExecutionLogsAppendPayloadSelect, FunctionExecutionLogsAppendPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { FunctionExecutionLogsAppendVariables } from '../../orm/mutation';
|
|
11
|
+
export type { FunctionExecutionLogsAppendPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useFunctionExecutionLogsAppendMutation<S extends FunctionExecutionLogsAppendPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & FunctionExecutionLogsAppendPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, FunctionExecutionLogsAppendPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
functionExecutionLogsAppend: InferSelectResult<FunctionExecutionLogsAppendPayload, S> | null;
|
|
18
|
+
}, Error, FunctionExecutionLogsAppendVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
functionExecutionLogsAppend: InferSelectResult<FunctionExecutionLogsAppendPayload, S> | null;
|
|
20
|
+
}, Error, FunctionExecutionLogsAppendVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for functionExecutionLogsAppend
|
|
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.useFunctionExecutionLogsAppendMutation = useFunctionExecutionLogsAppendMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
+
function useFunctionExecutionLogsAppendMutation(params) {
|
|
14
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
|
+
void _selection;
|
|
17
|
+
return (0, react_query_1.useMutation)({
|
|
18
|
+
mutationKey: mutation_keys_1.customMutationKeys.functionExecutionLogsAppend(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.functionExecutionLogsAppend(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for platformFunctionExecutionLogsAppend
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { PlatformFunctionExecutionLogsAppendVariables } from '../../orm/mutation';
|
|
8
|
+
import type { PlatformFunctionExecutionLogsAppendPayloadSelect, PlatformFunctionExecutionLogsAppendPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { PlatformFunctionExecutionLogsAppendVariables } from '../../orm/mutation';
|
|
11
|
+
export type { PlatformFunctionExecutionLogsAppendPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function usePlatformFunctionExecutionLogsAppendMutation<S extends PlatformFunctionExecutionLogsAppendPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & PlatformFunctionExecutionLogsAppendPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, PlatformFunctionExecutionLogsAppendPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
platformFunctionExecutionLogsAppend: InferSelectResult<PlatformFunctionExecutionLogsAppendPayload, S> | null;
|
|
18
|
+
}, Error, PlatformFunctionExecutionLogsAppendVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
platformFunctionExecutionLogsAppend: InferSelectResult<PlatformFunctionExecutionLogsAppendPayload, S> | null;
|
|
20
|
+
}, Error, PlatformFunctionExecutionLogsAppendVariables>;
|