@constructive-io/react 1.19.10 → 1.19.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -0
- package/compute/hooks/invalidation.js +32 -0
- package/compute/hooks/mutation-keys.d.ts +28 -0
- package/compute/hooks/mutation-keys.js +29 -3
- package/compute/hooks/mutations/index.d.ts +8 -0
- package/compute/hooks/mutations/index.js +8 -0
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.js +34 -0
- package/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.js +39 -0
- package/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.js +39 -0
- package/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.js +26 -0
- package/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.js +40 -0
- package/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +4 -0
- package/compute/hooks/queries/index.js +4 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.js +53 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.js +38 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.js +53 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +28 -0
- package/compute/hooks/query-keys.js +23 -3
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +298 -4
- package/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.d.ts +54 -0
- package/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.js +104 -0
- package/compute/orm/models/functionGraphExecutionCancelRequest.d.ts +54 -0
- package/compute/orm/models/functionGraphExecutionCancelRequest.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/compute/schema-types.d.ts +209 -5
- package/compute/types.d.ts +12 -0
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -0
- package/esm/compute/hooks/invalidation.js +33 -1
- package/esm/compute/hooks/mutation-keys.d.ts +28 -0
- package/esm/compute/hooks/mutation-keys.js +26 -0
- package/esm/compute/hooks/mutations/index.d.ts +8 -0
- package/esm/compute/hooks/mutations/index.js +8 -0
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateFunctionGraphExecutionCancelRequestMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionGraphExecutionCancelRequestMutation.js +36 -0
- package/esm/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useFunctionInvocationsCreatePageMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionInvocationsCreatePageMutation.js +23 -0
- package/esm/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionGraphExecutionCancelRequestMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -0
- package/esm/compute/hooks/queries/index.js +4 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestQuery.js +47 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useDatabaseFunctionGraphExecutionCancelRequestsQuery.js +32 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestQuery.js +47 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useFunctionGraphExecutionCancelRequestsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -0
- package/esm/compute/hooks/query-keys.js +20 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +298 -4
- package/esm/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.d.ts +54 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.js +100 -0
- package/esm/compute/orm/models/functionGraphExecutionCancelRequest.d.ts +54 -0
- package/esm/compute/orm/models/functionGraphExecutionCancelRequest.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/compute/schema-types.d.ts +209 -5
- package/esm/compute/types.d.ts +12 -0
- package/package.json +2 -2
|
@@ -33,6 +33,12 @@ export declare const databaseFunctionGraphMutationKeys: {
|
|
|
33
33
|
/** Update databaseFunctionGraph mutation key */ readonly update: (id: string | number) => readonly ["mutation", "databasefunctiongraph", "update", string | number];
|
|
34
34
|
/** Delete databaseFunctionGraph mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "databasefunctiongraph", "delete", string | number];
|
|
35
35
|
};
|
|
36
|
+
export declare const databaseFunctionGraphExecutionCancelRequestMutationKeys: {
|
|
37
|
+
/** All databaseFunctionGraphExecutionCancelRequest mutation keys */ readonly all: readonly ["mutation", "databasefunctiongraphexecutioncancelrequest"];
|
|
38
|
+
/** Create databaseFunctionGraphExecutionCancelRequest mutation key */ readonly create: () => readonly ["mutation", "databasefunctiongraphexecutioncancelrequest", "create"];
|
|
39
|
+
/** Update databaseFunctionGraphExecutionCancelRequest mutation key */ readonly update: (id: string | number) => readonly ["mutation", "databasefunctiongraphexecutioncancelrequest", "update", string | number];
|
|
40
|
+
/** Delete databaseFunctionGraphExecutionCancelRequest mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "databasefunctiongraphexecutioncancelrequest", "delete", string | number];
|
|
41
|
+
};
|
|
36
42
|
export declare const databaseFunctionGraphExecutionMutationKeys: {
|
|
37
43
|
/** All databaseFunctionGraphExecution mutation keys */ readonly all: readonly ["mutation", "databasefunctiongraphexecution"];
|
|
38
44
|
/** Create databaseFunctionGraphExecution mutation key */ readonly create: () => readonly ["mutation", "databasefunctiongraphexecution", "create"];
|
|
@@ -135,6 +141,12 @@ export declare const functionGraphMutationKeys: {
|
|
|
135
141
|
/** Update functionGraph mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functiongraph", "update", string | number];
|
|
136
142
|
/** Delete functionGraph mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functiongraph", "delete", string | number];
|
|
137
143
|
};
|
|
144
|
+
export declare const functionGraphExecutionCancelRequestMutationKeys: {
|
|
145
|
+
/** All functionGraphExecutionCancelRequest mutation keys */ readonly all: readonly ["mutation", "functiongraphexecutioncancelrequest"];
|
|
146
|
+
/** Create functionGraphExecutionCancelRequest mutation key */ readonly create: () => readonly ["mutation", "functiongraphexecutioncancelrequest", "create"];
|
|
147
|
+
/** Update functionGraphExecutionCancelRequest mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functiongraphexecutioncancelrequest", "update", string | number];
|
|
148
|
+
/** Delete functionGraphExecutionCancelRequest mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functiongraphexecutioncancelrequest", "delete", string | number];
|
|
149
|
+
};
|
|
138
150
|
export declare const functionGraphExecutionMutationKeys: {
|
|
139
151
|
/** All functionGraphExecution mutation keys */ readonly all: readonly ["mutation", "functiongraphexecution"];
|
|
140
152
|
/** Create functionGraphExecution mutation key */ readonly create: () => readonly ["mutation", "functiongraphexecution", "create"];
|
|
@@ -755,6 +767,7 @@ export declare const customMutationKeys: {
|
|
|
755
767
|
/** Mutation key for databaseStartExecution */ readonly databaseStartExecution: (identifier?: string) => readonly ["mutation", "databaseStartExecution", string] | readonly ["mutation", "databaseStartExecution"];
|
|
756
768
|
/** Mutation key for databaseValidateFunctionGraph */ readonly databaseValidateFunctionGraph: (identifier?: string) => readonly ["mutation", "databaseValidateFunctionGraph", string] | readonly ["mutation", "databaseValidateFunctionGraph"];
|
|
757
769
|
/** Mutation key for functionExecutionLogsAppend */ readonly functionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "functionExecutionLogsAppend", string] | readonly ["mutation", "functionExecutionLogsAppend"];
|
|
770
|
+
/** Mutation key for functionInvocationsCreatePage */ readonly functionInvocationsCreatePage: (identifier?: string) => readonly ["mutation", "functionInvocationsCreatePage", string] | readonly ["mutation", "functionInvocationsCreatePage"];
|
|
758
771
|
/** Mutation key for functionInvocationsCreateSync */ readonly functionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "functionInvocationsCreateSync", string] | readonly ["mutation", "functionInvocationsCreateSync"];
|
|
759
772
|
/** Mutation key for importDefinitions */ readonly importDefinitions: (identifier?: string) => readonly ["mutation", "importDefinitions", string] | readonly ["mutation", "importDefinitions"];
|
|
760
773
|
/** Mutation key for importGraphJson */ readonly importGraphJson: (identifier?: string) => readonly ["mutation", "importGraphJson", string] | readonly ["mutation", "importGraphJson"];
|
|
@@ -768,6 +781,7 @@ export declare const customMutationKeys: {
|
|
|
768
781
|
/** Mutation key for insertNodeAtPath */ readonly insertNodeAtPath: (identifier?: string) => readonly ["mutation", "insertNodeAtPath", string] | readonly ["mutation", "insertNodeAtPath"];
|
|
769
782
|
/** Mutation key for insertNodesAtPaths */ readonly insertNodesAtPaths: (identifier?: string) => readonly ["mutation", "insertNodesAtPaths", string] | readonly ["mutation", "insertNodesAtPaths"];
|
|
770
783
|
/** Mutation key for platformFunctionExecutionLogsAppend */ readonly platformFunctionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "platformFunctionExecutionLogsAppend", string] | readonly ["mutation", "platformFunctionExecutionLogsAppend"];
|
|
784
|
+
/** Mutation key for platformFunctionInvocationsCreatePage */ readonly platformFunctionInvocationsCreatePage: (identifier?: string) => readonly ["mutation", "platformFunctionInvocationsCreatePage", string] | readonly ["mutation", "platformFunctionInvocationsCreatePage"];
|
|
771
785
|
/** Mutation key for platformFunctionInvocationsCreateSync */ readonly platformFunctionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "platformFunctionInvocationsCreateSync", string] | readonly ["mutation", "platformFunctionInvocationsCreateSync"];
|
|
772
786
|
/** Mutation key for platformInfraInitEmptyRepo */ readonly platformInfraInitEmptyRepo: (identifier?: string) => readonly ["mutation", "platformInfraInitEmptyRepo", string] | readonly ["mutation", "platformInfraInitEmptyRepo"];
|
|
773
787
|
/** Mutation key for platformInfraInsertNodeAtPath */ readonly platformInfraInsertNodeAtPath: (identifier?: string) => readonly ["mutation", "platformInfraInsertNodeAtPath", string] | readonly ["mutation", "platformInfraInsertNodeAtPath"];
|
|
@@ -844,6 +858,12 @@ export declare const mutationKeys: {
|
|
|
844
858
|
/** Update databaseFunctionGraph mutation key */ readonly update: (id: string | number) => readonly ["mutation", "databasefunctiongraph", "update", string | number];
|
|
845
859
|
/** Delete databaseFunctionGraph mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "databasefunctiongraph", "delete", string | number];
|
|
846
860
|
};
|
|
861
|
+
readonly databaseFunctionGraphExecutionCancelRequest: {
|
|
862
|
+
/** All databaseFunctionGraphExecutionCancelRequest mutation keys */ readonly all: readonly ["mutation", "databasefunctiongraphexecutioncancelrequest"];
|
|
863
|
+
/** Create databaseFunctionGraphExecutionCancelRequest mutation key */ readonly create: () => readonly ["mutation", "databasefunctiongraphexecutioncancelrequest", "create"];
|
|
864
|
+
/** Update databaseFunctionGraphExecutionCancelRequest mutation key */ readonly update: (id: string | number) => readonly ["mutation", "databasefunctiongraphexecutioncancelrequest", "update", string | number];
|
|
865
|
+
/** Delete databaseFunctionGraphExecutionCancelRequest mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "databasefunctiongraphexecutioncancelrequest", "delete", string | number];
|
|
866
|
+
};
|
|
847
867
|
readonly databaseFunctionGraphExecution: {
|
|
848
868
|
/** All databaseFunctionGraphExecution mutation keys */ readonly all: readonly ["mutation", "databasefunctiongraphexecution"];
|
|
849
869
|
/** Create databaseFunctionGraphExecution mutation key */ readonly create: () => readonly ["mutation", "databasefunctiongraphexecution", "create"];
|
|
@@ -946,6 +966,12 @@ export declare const mutationKeys: {
|
|
|
946
966
|
/** Update functionGraph mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functiongraph", "update", string | number];
|
|
947
967
|
/** Delete functionGraph mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functiongraph", "delete", string | number];
|
|
948
968
|
};
|
|
969
|
+
readonly functionGraphExecutionCancelRequest: {
|
|
970
|
+
/** All functionGraphExecutionCancelRequest mutation keys */ readonly all: readonly ["mutation", "functiongraphexecutioncancelrequest"];
|
|
971
|
+
/** Create functionGraphExecutionCancelRequest mutation key */ readonly create: () => readonly ["mutation", "functiongraphexecutioncancelrequest", "create"];
|
|
972
|
+
/** Update functionGraphExecutionCancelRequest mutation key */ readonly update: (id: string | number) => readonly ["mutation", "functiongraphexecutioncancelrequest", "update", string | number];
|
|
973
|
+
/** Delete functionGraphExecutionCancelRequest mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "functiongraphexecutioncancelrequest", "delete", string | number];
|
|
974
|
+
};
|
|
949
975
|
readonly functionGraphExecution: {
|
|
950
976
|
/** All functionGraphExecution mutation keys */ readonly all: readonly ["mutation", "functiongraphexecution"];
|
|
951
977
|
/** Create functionGraphExecution mutation key */ readonly create: () => readonly ["mutation", "functiongraphexecution", "create"];
|
|
@@ -1566,6 +1592,7 @@ export declare const mutationKeys: {
|
|
|
1566
1592
|
/** Mutation key for databaseStartExecution */ readonly databaseStartExecution: (identifier?: string) => readonly ["mutation", "databaseStartExecution", string] | readonly ["mutation", "databaseStartExecution"];
|
|
1567
1593
|
/** Mutation key for databaseValidateFunctionGraph */ readonly databaseValidateFunctionGraph: (identifier?: string) => readonly ["mutation", "databaseValidateFunctionGraph", string] | readonly ["mutation", "databaseValidateFunctionGraph"];
|
|
1568
1594
|
/** Mutation key for functionExecutionLogsAppend */ readonly functionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "functionExecutionLogsAppend", string] | readonly ["mutation", "functionExecutionLogsAppend"];
|
|
1595
|
+
/** Mutation key for functionInvocationsCreatePage */ readonly functionInvocationsCreatePage: (identifier?: string) => readonly ["mutation", "functionInvocationsCreatePage", string] | readonly ["mutation", "functionInvocationsCreatePage"];
|
|
1569
1596
|
/** Mutation key for functionInvocationsCreateSync */ readonly functionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "functionInvocationsCreateSync", string] | readonly ["mutation", "functionInvocationsCreateSync"];
|
|
1570
1597
|
/** Mutation key for importDefinitions */ readonly importDefinitions: (identifier?: string) => readonly ["mutation", "importDefinitions", string] | readonly ["mutation", "importDefinitions"];
|
|
1571
1598
|
/** Mutation key for importGraphJson */ readonly importGraphJson: (identifier?: string) => readonly ["mutation", "importGraphJson", string] | readonly ["mutation", "importGraphJson"];
|
|
@@ -1579,6 +1606,7 @@ export declare const mutationKeys: {
|
|
|
1579
1606
|
/** Mutation key for insertNodeAtPath */ readonly insertNodeAtPath: (identifier?: string) => readonly ["mutation", "insertNodeAtPath", string] | readonly ["mutation", "insertNodeAtPath"];
|
|
1580
1607
|
/** Mutation key for insertNodesAtPaths */ readonly insertNodesAtPaths: (identifier?: string) => readonly ["mutation", "insertNodesAtPaths", string] | readonly ["mutation", "insertNodesAtPaths"];
|
|
1581
1608
|
/** Mutation key for platformFunctionExecutionLogsAppend */ readonly platformFunctionExecutionLogsAppend: (identifier?: string) => readonly ["mutation", "platformFunctionExecutionLogsAppend", string] | readonly ["mutation", "platformFunctionExecutionLogsAppend"];
|
|
1609
|
+
/** Mutation key for platformFunctionInvocationsCreatePage */ readonly platformFunctionInvocationsCreatePage: (identifier?: string) => readonly ["mutation", "platformFunctionInvocationsCreatePage", string] | readonly ["mutation", "platformFunctionInvocationsCreatePage"];
|
|
1582
1610
|
/** Mutation key for platformFunctionInvocationsCreateSync */ readonly platformFunctionInvocationsCreateSync: (identifier?: string) => readonly ["mutation", "platformFunctionInvocationsCreateSync", string] | readonly ["mutation", "platformFunctionInvocationsCreateSync"];
|
|
1583
1611
|
/** Mutation key for platformInfraInitEmptyRepo */ readonly platformInfraInitEmptyRepo: (identifier?: string) => readonly ["mutation", "platformInfraInitEmptyRepo", string] | readonly ["mutation", "platformInfraInitEmptyRepo"];
|
|
1584
1612
|
/** Mutation key for platformInfraInsertNodeAtPath */ readonly platformInfraInsertNodeAtPath: (identifier?: string) => readonly ["mutation", "platformInfraInsertNodeAtPath", string] | readonly ["mutation", "platformInfraInsertNodeAtPath"];
|
|
@@ -48,6 +48,15 @@ export const databaseFunctionGraphMutationKeys = {
|
|
|
48
48
|
/** Update databaseFunctionGraph mutation key */ update: (id) => ['mutation', 'databasefunctiongraph', 'update', id],
|
|
49
49
|
/** Delete databaseFunctionGraph mutation key */ delete: (id) => ['mutation', 'databasefunctiongraph', 'delete', id],
|
|
50
50
|
};
|
|
51
|
+
export const databaseFunctionGraphExecutionCancelRequestMutationKeys = {
|
|
52
|
+
/** All databaseFunctionGraphExecutionCancelRequest mutation keys */ all: [
|
|
53
|
+
'mutation',
|
|
54
|
+
'databasefunctiongraphexecutioncancelrequest',
|
|
55
|
+
],
|
|
56
|
+
/** Create databaseFunctionGraphExecutionCancelRequest mutation key */ create: () => ['mutation', 'databasefunctiongraphexecutioncancelrequest', 'create'],
|
|
57
|
+
/** Update databaseFunctionGraphExecutionCancelRequest mutation key */ update: (id) => ['mutation', 'databasefunctiongraphexecutioncancelrequest', 'update', id],
|
|
58
|
+
/** Delete databaseFunctionGraphExecutionCancelRequest mutation key */ delete: (id) => ['mutation', 'databasefunctiongraphexecutioncancelrequest', 'delete', id],
|
|
59
|
+
};
|
|
51
60
|
export const databaseFunctionGraphExecutionMutationKeys = {
|
|
52
61
|
/** All databaseFunctionGraphExecution mutation keys */ all: [
|
|
53
62
|
'mutation',
|
|
@@ -168,6 +177,15 @@ export const functionGraphMutationKeys = {
|
|
|
168
177
|
/** Update functionGraph mutation key */ update: (id) => ['mutation', 'functiongraph', 'update', id],
|
|
169
178
|
/** Delete functionGraph mutation key */ delete: (id) => ['mutation', 'functiongraph', 'delete', id],
|
|
170
179
|
};
|
|
180
|
+
export const functionGraphExecutionCancelRequestMutationKeys = {
|
|
181
|
+
/** All functionGraphExecutionCancelRequest mutation keys */ all: [
|
|
182
|
+
'mutation',
|
|
183
|
+
'functiongraphexecutioncancelrequest',
|
|
184
|
+
],
|
|
185
|
+
/** Create functionGraphExecutionCancelRequest mutation key */ create: () => ['mutation', 'functiongraphexecutioncancelrequest', 'create'],
|
|
186
|
+
/** Update functionGraphExecutionCancelRequest mutation key */ update: (id) => ['mutation', 'functiongraphexecutioncancelrequest', 'update', id],
|
|
187
|
+
/** Delete functionGraphExecutionCancelRequest mutation key */ delete: (id) => ['mutation', 'functiongraphexecutioncancelrequest', 'delete', id],
|
|
188
|
+
};
|
|
171
189
|
export const functionGraphExecutionMutationKeys = {
|
|
172
190
|
/** All functionGraphExecution mutation keys */ all: [
|
|
173
191
|
'mutation',
|
|
@@ -982,6 +1000,9 @@ export const customMutationKeys = {
|
|
|
982
1000
|
/** Mutation key for functionExecutionLogsAppend */ functionExecutionLogsAppend: (identifier) => identifier
|
|
983
1001
|
? ['mutation', 'functionExecutionLogsAppend', identifier]
|
|
984
1002
|
: ['mutation', 'functionExecutionLogsAppend'],
|
|
1003
|
+
/** Mutation key for functionInvocationsCreatePage */ functionInvocationsCreatePage: (identifier) => identifier
|
|
1004
|
+
? ['mutation', 'functionInvocationsCreatePage', identifier]
|
|
1005
|
+
: ['mutation', 'functionInvocationsCreatePage'],
|
|
985
1006
|
/** Mutation key for functionInvocationsCreateSync */ functionInvocationsCreateSync: (identifier) => identifier
|
|
986
1007
|
? ['mutation', 'functionInvocationsCreateSync', identifier]
|
|
987
1008
|
: ['mutation', 'functionInvocationsCreateSync'],
|
|
@@ -1021,6 +1042,9 @@ export const customMutationKeys = {
|
|
|
1021
1042
|
/** Mutation key for platformFunctionExecutionLogsAppend */ platformFunctionExecutionLogsAppend: (identifier) => identifier
|
|
1022
1043
|
? ['mutation', 'platformFunctionExecutionLogsAppend', identifier]
|
|
1023
1044
|
: ['mutation', 'platformFunctionExecutionLogsAppend'],
|
|
1045
|
+
/** Mutation key for platformFunctionInvocationsCreatePage */ platformFunctionInvocationsCreatePage: (identifier) => identifier
|
|
1046
|
+
? ['mutation', 'platformFunctionInvocationsCreatePage', identifier]
|
|
1047
|
+
: ['mutation', 'platformFunctionInvocationsCreatePage'],
|
|
1024
1048
|
/** Mutation key for platformFunctionInvocationsCreateSync */ platformFunctionInvocationsCreateSync: (identifier) => identifier
|
|
1025
1049
|
? ['mutation', 'platformFunctionInvocationsCreateSync', identifier]
|
|
1026
1050
|
: ['mutation', 'platformFunctionInvocationsCreateSync'],
|
|
@@ -1116,6 +1140,7 @@ export const mutationKeys = {
|
|
|
1116
1140
|
builderBinding: builderBindingMutationKeys,
|
|
1117
1141
|
contentPreset: contentPresetMutationKeys,
|
|
1118
1142
|
databaseFunctionGraph: databaseFunctionGraphMutationKeys,
|
|
1143
|
+
databaseFunctionGraphExecutionCancelRequest: databaseFunctionGraphExecutionCancelRequestMutationKeys,
|
|
1119
1144
|
databaseFunctionGraphExecution: databaseFunctionGraphExecutionMutationKeys,
|
|
1120
1145
|
databaseFunctionGraphExecutionNodeState: databaseFunctionGraphExecutionNodeStateMutationKeys,
|
|
1121
1146
|
databaseFunctionGraphExecutionOutput: databaseFunctionGraphExecutionOutputMutationKeys,
|
|
@@ -1133,6 +1158,7 @@ export const mutationKeys = {
|
|
|
1133
1158
|
functionExecutionLog: functionExecutionLogMutationKeys,
|
|
1134
1159
|
functionGraphCommit: functionGraphCommitMutationKeys,
|
|
1135
1160
|
functionGraph: functionGraphMutationKeys,
|
|
1161
|
+
functionGraphExecutionCancelRequest: functionGraphExecutionCancelRequestMutationKeys,
|
|
1136
1162
|
functionGraphExecution: functionGraphExecutionMutationKeys,
|
|
1137
1163
|
functionGraphExecutionNodeState: functionGraphExecutionNodeStateMutationKeys,
|
|
1138
1164
|
functionGraphExecutionOutput: functionGraphExecutionOutputMutationKeys,
|
|
@@ -18,6 +18,9 @@ export * from './useDeleteContentPresetMutation';
|
|
|
18
18
|
export * from './useCreateDatabaseFunctionGraphMutation';
|
|
19
19
|
export * from './useUpdateDatabaseFunctionGraphMutation';
|
|
20
20
|
export * from './useDeleteDatabaseFunctionGraphMutation';
|
|
21
|
+
export * from './useCreateDatabaseFunctionGraphExecutionCancelRequestMutation';
|
|
22
|
+
export * from './useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation';
|
|
23
|
+
export * from './useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation';
|
|
21
24
|
export * from './useCreateDatabaseFunctionGraphExecutionMutation';
|
|
22
25
|
export * from './useUpdateDatabaseFunctionGraphExecutionMutation';
|
|
23
26
|
export * from './useDeleteDatabaseFunctionGraphExecutionMutation';
|
|
@@ -67,6 +70,9 @@ export * from './useDeleteFunctionGraphCommitMutation';
|
|
|
67
70
|
export * from './useCreateFunctionGraphMutation';
|
|
68
71
|
export * from './useUpdateFunctionGraphMutation';
|
|
69
72
|
export * from './useDeleteFunctionGraphMutation';
|
|
73
|
+
export * from './useCreateFunctionGraphExecutionCancelRequestMutation';
|
|
74
|
+
export * from './useUpdateFunctionGraphExecutionCancelRequestMutation';
|
|
75
|
+
export * from './useDeleteFunctionGraphExecutionCancelRequestMutation';
|
|
70
76
|
export * from './useCreateFunctionGraphExecutionMutation';
|
|
71
77
|
export * from './useUpdateFunctionGraphExecutionMutation';
|
|
72
78
|
export * from './useDeleteFunctionGraphExecutionMutation';
|
|
@@ -359,6 +365,7 @@ export * from './useDatabaseSaveGraphMutation';
|
|
|
359
365
|
export * from './useDatabaseStartExecutionMutation';
|
|
360
366
|
export * from './useDatabaseValidateFunctionGraphMutation';
|
|
361
367
|
export * from './useFunctionExecutionLogsAppendMutation';
|
|
368
|
+
export * from './useFunctionInvocationsCreatePageMutation';
|
|
362
369
|
export * from './useFunctionInvocationsCreateSyncMutation';
|
|
363
370
|
export * from './useImportDefinitionsMutation';
|
|
364
371
|
export * from './useImportGraphJsonMutation';
|
|
@@ -372,6 +379,7 @@ export * from './useInitEmptyRepoMutation';
|
|
|
372
379
|
export * from './useInsertNodeAtPathMutation';
|
|
373
380
|
export * from './useInsertNodesAtPathsMutation';
|
|
374
381
|
export * from './usePlatformFunctionExecutionLogsAppendMutation';
|
|
382
|
+
export * from './usePlatformFunctionInvocationsCreatePageMutation';
|
|
375
383
|
export * from './usePlatformFunctionInvocationsCreateSyncMutation';
|
|
376
384
|
export * from './usePlatformInfraInitEmptyRepoMutation';
|
|
377
385
|
export * from './usePlatformInfraInsertNodeAtPathMutation';
|
|
@@ -18,6 +18,9 @@ export * from './useDeleteContentPresetMutation';
|
|
|
18
18
|
export * from './useCreateDatabaseFunctionGraphMutation';
|
|
19
19
|
export * from './useUpdateDatabaseFunctionGraphMutation';
|
|
20
20
|
export * from './useDeleteDatabaseFunctionGraphMutation';
|
|
21
|
+
export * from './useCreateDatabaseFunctionGraphExecutionCancelRequestMutation';
|
|
22
|
+
export * from './useUpdateDatabaseFunctionGraphExecutionCancelRequestMutation';
|
|
23
|
+
export * from './useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation';
|
|
21
24
|
export * from './useCreateDatabaseFunctionGraphExecutionMutation';
|
|
22
25
|
export * from './useUpdateDatabaseFunctionGraphExecutionMutation';
|
|
23
26
|
export * from './useDeleteDatabaseFunctionGraphExecutionMutation';
|
|
@@ -67,6 +70,9 @@ export * from './useDeleteFunctionGraphCommitMutation';
|
|
|
67
70
|
export * from './useCreateFunctionGraphMutation';
|
|
68
71
|
export * from './useUpdateFunctionGraphMutation';
|
|
69
72
|
export * from './useDeleteFunctionGraphMutation';
|
|
73
|
+
export * from './useCreateFunctionGraphExecutionCancelRequestMutation';
|
|
74
|
+
export * from './useUpdateFunctionGraphExecutionCancelRequestMutation';
|
|
75
|
+
export * from './useDeleteFunctionGraphExecutionCancelRequestMutation';
|
|
70
76
|
export * from './useCreateFunctionGraphExecutionMutation';
|
|
71
77
|
export * from './useUpdateFunctionGraphExecutionMutation';
|
|
72
78
|
export * from './useDeleteFunctionGraphExecutionMutation';
|
|
@@ -359,6 +365,7 @@ export * from './useDatabaseSaveGraphMutation';
|
|
|
359
365
|
export * from './useDatabaseStartExecutionMutation';
|
|
360
366
|
export * from './useDatabaseValidateFunctionGraphMutation';
|
|
361
367
|
export * from './useFunctionExecutionLogsAppendMutation';
|
|
368
|
+
export * from './useFunctionInvocationsCreatePageMutation';
|
|
362
369
|
export * from './useFunctionInvocationsCreateSyncMutation';
|
|
363
370
|
export * from './useImportDefinitionsMutation';
|
|
364
371
|
export * from './useImportGraphJsonMutation';
|
|
@@ -372,6 +379,7 @@ export * from './useInitEmptyRepoMutation';
|
|
|
372
379
|
export * from './useInsertNodeAtPathMutation';
|
|
373
380
|
export * from './useInsertNodesAtPathsMutation';
|
|
374
381
|
export * from './usePlatformFunctionExecutionLogsAppendMutation';
|
|
382
|
+
export * from './usePlatformFunctionInvocationsCreatePageMutation';
|
|
375
383
|
export * from './usePlatformFunctionInvocationsCreateSyncMutation';
|
|
376
384
|
export * from './usePlatformInfraInitEmptyRepoMutation';
|
|
377
385
|
export * from './usePlatformInfraInsertNodeAtPathMutation';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations, CreateDatabaseFunctionGraphExecutionCancelRequestInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations, CreateDatabaseFunctionGraphExecutionCancelRequestInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateDatabaseFunctionGraphExecutionCancelRequestMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateDatabaseFunctionGraphExecutionCancelRequestMutation<S extends DatabaseFunctionGraphExecutionCancelRequestSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & DatabaseFunctionGraphExecutionCancelRequestSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createDatabaseFunctionGraphExecutionCancelRequest: {
|
|
28
|
+
databaseFunctionGraphExecutionCancelRequest: InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateDatabaseFunctionGraphExecutionCancelRequestInput['databaseFunctionGraphExecutionCancelRequest']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createDatabaseFunctionGraphExecutionCancelRequest: {
|
|
32
|
+
databaseFunctionGraphExecutionCancelRequest: InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateDatabaseFunctionGraphExecutionCancelRequestInput['databaseFunctionGraphExecutionCancelRequest']>;
|
package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphExecutionCancelRequestMutation.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { databaseFunctionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
import { databaseFunctionGraphExecutionCancelRequestMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateDatabaseFunctionGraphExecutionCancelRequestMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: databaseFunctionGraphExecutionCancelRequestMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.databaseFunctionGraphExecutionCancelRequest.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: databaseFunctionGraphExecutionCancelRequestKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations, CreateFunctionGraphExecutionCancelRequestInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations, CreateFunctionGraphExecutionCancelRequestInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateFunctionGraphExecutionCancelRequestMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateFunctionGraphExecutionCancelRequestMutation<S extends FunctionGraphExecutionCancelRequestSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & FunctionGraphExecutionCancelRequestSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createFunctionGraphExecutionCancelRequest: {
|
|
28
|
+
functionGraphExecutionCancelRequest: InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateFunctionGraphExecutionCancelRequestInput['functionGraphExecutionCancelRequest']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createFunctionGraphExecutionCancelRequest: {
|
|
32
|
+
functionGraphExecutionCancelRequest: InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateFunctionGraphExecutionCancelRequestInput['functionGraphExecutionCancelRequest']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { functionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
import { functionGraphExecutionCancelRequestMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateFunctionGraphExecutionCancelRequestMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: functionGraphExecutionCancelRequestMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.functionGraphExecutionCancelRequest.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: functionGraphExecutionCancelRequestKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { DatabaseFunctionGraphExecutionCancelRequestSelect, DatabaseFunctionGraphExecutionCancelRequestWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation<S extends DatabaseFunctionGraphExecutionCancelRequestSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & DatabaseFunctionGraphExecutionCancelRequestSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, DatabaseFunctionGraphExecutionCancelRequestSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteDatabaseFunctionGraphExecutionCancelRequest: {
|
|
28
|
+
databaseFunctionGraphExecutionCancelRequest: InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteDatabaseFunctionGraphExecutionCancelRequest: {
|
|
34
|
+
databaseFunctionGraphExecutionCancelRequest: InferSelectResult<DatabaseFunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
package/esm/compute/hooks/mutations/useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { databaseFunctionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
import { databaseFunctionGraphExecutionCancelRequestMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useDeleteDatabaseFunctionGraphExecutionCancelRequestMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: databaseFunctionGraphExecutionCancelRequestMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id }) => getClient()
|
|
19
|
+
.databaseFunctionGraphExecutionCancelRequest.delete({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
select: args.select,
|
|
24
|
+
})
|
|
25
|
+
.unwrap(),
|
|
26
|
+
onSuccess: (_, variables) => {
|
|
27
|
+
queryClient.removeQueries({
|
|
28
|
+
queryKey: databaseFunctionGraphExecutionCancelRequestKeys.detail(variables.id),
|
|
29
|
+
});
|
|
30
|
+
queryClient.invalidateQueries({
|
|
31
|
+
queryKey: databaseFunctionGraphExecutionCancelRequestKeys.lists(),
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
...mutationOptions,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { FunctionGraphExecutionCancelRequestSelect, FunctionGraphExecutionCancelRequestWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteFunctionGraphExecutionCancelRequestMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteFunctionGraphExecutionCancelRequestMutation<S extends FunctionGraphExecutionCancelRequestSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & FunctionGraphExecutionCancelRequestSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionCancelRequestSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteFunctionGraphExecutionCancelRequest: {
|
|
28
|
+
functionGraphExecutionCancelRequest: InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteFunctionGraphExecutionCancelRequest: {
|
|
34
|
+
functionGraphExecutionCancelRequest: InferSelectResult<FunctionGraphExecutionCancelRequestWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests to stop a graph execution; each insert settles it cancelled and tears down the Jobs its nodes dispatched
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { functionGraphExecutionCancelRequestKeys } from '../query-keys';
|
|
10
|
+
import { functionGraphExecutionCancelRequestMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useDeleteFunctionGraphExecutionCancelRequestMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: functionGraphExecutionCancelRequestMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id }) => getClient()
|
|
19
|
+
.functionGraphExecutionCancelRequest.delete({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
select: args.select,
|
|
24
|
+
})
|
|
25
|
+
.unwrap(),
|
|
26
|
+
onSuccess: (_, variables) => {
|
|
27
|
+
queryClient.removeQueries({
|
|
28
|
+
queryKey: functionGraphExecutionCancelRequestKeys.detail(variables.id),
|
|
29
|
+
});
|
|
30
|
+
queryClient.invalidateQueries({
|
|
31
|
+
queryKey: functionGraphExecutionCancelRequestKeys.lists(),
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
...mutationOptions,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for functionInvocationsCreatePage
|
|
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 { FunctionInvocationsCreatePageVariables } from '../../orm/mutation';
|
|
8
|
+
import type { FunctionInvocationsCreatePagePayloadSelect, FunctionInvocationsCreatePagePayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { FunctionInvocationsCreatePageVariables } from '../../orm/mutation';
|
|
11
|
+
export type { FunctionInvocationsCreatePagePayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useFunctionInvocationsCreatePageMutation<S extends FunctionInvocationsCreatePagePayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & FunctionInvocationsCreatePagePayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, FunctionInvocationsCreatePagePayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
functionInvocationsCreatePage: InferSelectResult<FunctionInvocationsCreatePagePayload, S> | null;
|
|
18
|
+
}, Error, FunctionInvocationsCreatePageVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
functionInvocationsCreatePage: InferSelectResult<FunctionInvocationsCreatePagePayload, S> | null;
|
|
20
|
+
}, Error, FunctionInvocationsCreatePageVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for functionInvocationsCreatePage
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useFunctionInvocationsCreatePageMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.functionInvocationsCreatePage(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.functionInvocationsCreatePage(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for platformFunctionInvocationsCreatePage
|
|
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 { PlatformFunctionInvocationsCreatePageVariables } from '../../orm/mutation';
|
|
8
|
+
import type { PlatformFunctionInvocationsCreatePagePayloadSelect, PlatformFunctionInvocationsCreatePagePayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { PlatformFunctionInvocationsCreatePageVariables } from '../../orm/mutation';
|
|
11
|
+
export type { PlatformFunctionInvocationsCreatePagePayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function usePlatformFunctionInvocationsCreatePageMutation<S extends PlatformFunctionInvocationsCreatePagePayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & PlatformFunctionInvocationsCreatePagePayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, PlatformFunctionInvocationsCreatePagePayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
platformFunctionInvocationsCreatePage: InferSelectResult<PlatformFunctionInvocationsCreatePagePayload, S> | null;
|
|
18
|
+
}, Error, PlatformFunctionInvocationsCreatePageVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
platformFunctionInvocationsCreatePage: InferSelectResult<PlatformFunctionInvocationsCreatePagePayload, S> | null;
|
|
20
|
+
}, Error, PlatformFunctionInvocationsCreatePageVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for platformFunctionInvocationsCreatePage
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function usePlatformFunctionInvocationsCreatePageMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.platformFunctionInvocationsCreatePage(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.platformFunctionInvocationsCreatePage(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|