@constructive-io/react 0.7.2 → 0.8.1
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/README.md +0 -8
- package/admin/orm/input-types.d.ts +33 -127
- package/admin/schema-types.d.ts +20 -110
- package/admin/types.d.ts +0 -19
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +16 -16
- package/auth/hooks/invalidation.js +33 -33
- package/auth/hooks/mutation-keys.d.ts +32 -32
- package/auth/hooks/mutation-keys.js +20 -20
- package/auth/hooks/mutations/index.d.ts +9 -9
- package/auth/hooks/mutations/index.js +9 -9
- package/auth/hooks/queries/index.d.ts +6 -6
- package/auth/hooks/queries/index.js +6 -6
- package/auth/hooks/query-keys.d.ts +38 -38
- package/auth/hooks/query-keys.js +23 -23
- package/auth/orm/index.d.ts +6 -6
- package/auth/orm/index.js +6 -6
- package/auth/orm/input-types.d.ts +279 -327
- package/auth/orm/input-types.js +9 -1
- package/auth/orm/models/index.d.ts +3 -3
- package/auth/orm/models/index.js +7 -7
- package/auth/schema-types.d.ts +276 -188
- package/auth/types.d.ts +14 -24
- package/esm/admin/orm/input-types.d.ts +33 -127
- package/esm/admin/schema-types.d.ts +20 -110
- package/esm/admin/types.d.ts +0 -19
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +16 -16
- package/esm/auth/hooks/invalidation.js +34 -34
- package/esm/auth/hooks/mutation-keys.d.ts +32 -32
- package/esm/auth/hooks/mutation-keys.js +19 -19
- package/esm/auth/hooks/mutations/index.d.ts +9 -9
- package/esm/auth/hooks/mutations/index.js +9 -9
- package/esm/auth/hooks/queries/index.d.ts +6 -6
- package/esm/auth/hooks/queries/index.js +6 -6
- package/esm/auth/hooks/query-keys.d.ts +38 -38
- package/esm/auth/hooks/query-keys.js +22 -22
- package/esm/auth/orm/index.d.ts +6 -6
- package/esm/auth/orm/index.js +6 -6
- package/esm/auth/orm/input-types.d.ts +279 -327
- package/esm/auth/orm/input-types.js +9 -1
- package/esm/auth/orm/models/index.d.ts +3 -3
- package/esm/auth/orm/models/index.js +3 -3
- package/esm/auth/schema-types.d.ts +276 -188
- package/esm/auth/types.d.ts +14 -24
- package/esm/index.d.ts +5 -1
- package/esm/index.js +5 -1
- package/esm/objects/orm/input-types.d.ts +17 -48
- package/esm/objects/schema-types.d.ts +3 -37
- package/esm/objects/types.d.ts +0 -6
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +77 -53
- package/esm/public/hooks/invalidation.js +202 -138
- package/esm/public/hooks/mutation-keys.d.ts +180 -122
- package/esm/public/hooks/mutation-keys.js +129 -86
- package/esm/public/hooks/mutations/index.d.ts +50 -33
- package/esm/public/hooks/mutations/index.js +50 -33
- package/esm/public/hooks/mutations/useAcceptDatabaseTransferMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useAcceptDatabaseTransferMutation.js +23 -0
- package/esm/public/hooks/mutations/useCancelDatabaseTransferMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useCancelDatabaseTransferMutation.js +23 -0
- package/esm/public/hooks/mutations/useConstructBlueprintMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useConstructBlueprintMutation.js +23 -0
- package/esm/public/hooks/mutations/useCopyTemplateToBlueprintMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useCopyTemplateToBlueprintMutation.js +23 -0
- package/esm/public/hooks/mutations/useCreateBlueprintMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateBlueprintMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateBlueprintTemplateMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateBlueprintTemplateMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateDatabaseTransferMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateDatabaseTransferMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateEmbeddingChunkMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateEmbeddingChunkMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateEnumMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateUuidModuleMutation.js → useCreateEnumMutation.js} +7 -7
- package/esm/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintTemplateMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintTemplateMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteDatabaseTransferMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteDatabaseTransferMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteEmbeddingChunkMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteEmbeddingChunkMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteEnumMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteUuidModuleMutation.js → useDeleteEnumMutation.js} +8 -8
- package/esm/public/hooks/mutations/useRejectDatabaseTransferMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useRejectDatabaseTransferMutation.js +23 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintTemplateMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintTemplateMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateDatabaseTransferMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateDatabaseTransferMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateEmbeddingChunkMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateEmbeddingChunkMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateEnumMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateUuidModuleMutation.js → useUpdateEnumMutation.js} +10 -10
- package/esm/public/hooks/queries/index.d.ts +25 -17
- package/esm/public/hooks/queries/index.js +25 -17
- package/esm/public/hooks/queries/useBlueprintQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useBlueprintQuery.js +47 -0
- package/esm/public/hooks/queries/useBlueprintTemplateQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useBlueprintTemplateQuery.js +47 -0
- package/esm/public/hooks/queries/useBlueprintTemplatesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useBlueprintTemplatesQuery.js +32 -0
- package/esm/public/hooks/queries/useBlueprintsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useBlueprintsQuery.js +32 -0
- package/esm/public/hooks/queries/useDatabaseTransferQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useDatabaseTransferQuery.js +47 -0
- package/esm/public/hooks/queries/useDatabaseTransfersQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useDatabaseTransfersQuery.js +32 -0
- package/esm/public/hooks/queries/useEmbeddingChunkQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useEmbeddingChunkQuery.js +47 -0
- package/esm/public/hooks/queries/useEmbeddingChunksQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useEmbeddingChunksQuery.js +32 -0
- package/esm/public/hooks/queries/useEnumQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useUuidModuleQuery.js → useEnumQuery.js} +11 -11
- package/esm/public/hooks/queries/useEnumsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useUuidModulesQuery.js → useEnumsQuery.js} +11 -11
- package/esm/public/hooks/query-keys.d.ts +180 -124
- package/esm/public/hooks/query-keys.js +103 -71
- package/esm/public/orm/index.d.ts +81 -48
- package/esm/public/orm/index.js +26 -18
- package/esm/public/orm/input-types.d.ts +2447 -2980
- package/esm/public/orm/input-types.js +26 -1
- package/esm/public/orm/models/blueprint.d.ts +56 -0
- package/esm/public/orm/models/blueprint.js +94 -0
- package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/esm/public/orm/models/blueprintTemplate.js +94 -0
- package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
- package/esm/public/orm/models/databaseTransfer.js +94 -0
- package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
- package/esm/public/orm/models/embeddingChunk.js +94 -0
- package/esm/public/orm/models/enum.d.ts +56 -0
- package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
- package/esm/public/orm/models/index.d.ts +13 -9
- package/esm/public/orm/models/index.js +13 -9
- package/esm/public/orm/mutation/index.d.ts +98 -50
- package/esm/public/orm/mutation/index.js +126 -66
- package/esm/public/schema-types.d.ts +2328 -2206
- package/esm/public/types.d.ts +161 -379
- package/index.d.ts +5 -1
- package/index.js +5 -1
- package/objects/orm/input-types.d.ts +17 -48
- package/objects/schema-types.d.ts +3 -37
- package/objects/types.d.ts +0 -6
- package/package.json +3 -3
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +77 -53
- package/public/hooks/invalidation.js +201 -137
- package/public/hooks/mutation-keys.d.ts +180 -122
- package/public/hooks/mutation-keys.js +132 -89
- package/public/hooks/mutations/index.d.ts +50 -33
- package/public/hooks/mutations/index.js +50 -33
- package/public/hooks/mutations/useAcceptDatabaseTransferMutation.d.ts +20 -0
- package/public/hooks/mutations/useAcceptDatabaseTransferMutation.js +26 -0
- package/public/hooks/mutations/useCancelDatabaseTransferMutation.d.ts +20 -0
- package/public/hooks/mutations/useCancelDatabaseTransferMutation.js +26 -0
- package/public/hooks/mutations/useConstructBlueprintMutation.d.ts +20 -0
- package/public/hooks/mutations/useConstructBlueprintMutation.js +26 -0
- package/public/hooks/mutations/useCopyTemplateToBlueprintMutation.d.ts +20 -0
- package/public/hooks/mutations/useCopyTemplateToBlueprintMutation.js +26 -0
- package/public/hooks/mutations/useCreateBlueprintMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateBlueprintMutation.js +34 -0
- package/public/hooks/mutations/useCreateBlueprintTemplateMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateBlueprintTemplateMutation.js +34 -0
- package/public/hooks/mutations/useCreateDatabaseTransferMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateDatabaseTransferMutation.js +34 -0
- package/public/hooks/mutations/useCreateEmbeddingChunkMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateEmbeddingChunkMutation.js +34 -0
- package/public/hooks/mutations/useCreateEnumMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateUuidModuleMutation.js → useCreateEnumMutation.js} +6 -6
- package/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteBlueprintMutation.js +39 -0
- package/public/hooks/mutations/useDeleteBlueprintTemplateMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteBlueprintTemplateMutation.js +39 -0
- package/public/hooks/mutations/useDeleteDatabaseTransferMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteDatabaseTransferMutation.js +39 -0
- package/public/hooks/mutations/useDeleteEmbeddingChunkMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteEmbeddingChunkMutation.js +39 -0
- package/public/hooks/mutations/useDeleteEnumMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteUuidModuleMutation.js → useDeleteEnumMutation.js} +7 -7
- package/public/hooks/mutations/useRejectDatabaseTransferMutation.d.ts +20 -0
- package/public/hooks/mutations/useRejectDatabaseTransferMutation.js +26 -0
- package/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateBlueprintMutation.js +40 -0
- package/public/hooks/mutations/useUpdateBlueprintTemplateMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateBlueprintTemplateMutation.js +40 -0
- package/public/hooks/mutations/useUpdateDatabaseTransferMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateDatabaseTransferMutation.js +40 -0
- package/public/hooks/mutations/useUpdateEmbeddingChunkMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateEmbeddingChunkMutation.js +40 -0
- package/public/hooks/mutations/useUpdateEnumMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateUuidModuleMutation.js → useUpdateEnumMutation.js} +9 -9
- package/public/hooks/queries/index.d.ts +25 -17
- package/public/hooks/queries/index.js +25 -17
- package/public/hooks/queries/useBlueprintQuery.d.ts +65 -0
- package/public/hooks/queries/useBlueprintQuery.js +53 -0
- package/public/hooks/queries/useBlueprintTemplateQuery.d.ts +65 -0
- package/public/hooks/queries/useBlueprintTemplateQuery.js +53 -0
- package/public/hooks/queries/useBlueprintTemplatesQuery.d.ts +69 -0
- package/public/hooks/queries/useBlueprintTemplatesQuery.js +38 -0
- package/public/hooks/queries/useBlueprintsQuery.d.ts +69 -0
- package/public/hooks/queries/useBlueprintsQuery.js +38 -0
- package/public/hooks/queries/useDatabaseTransferQuery.d.ts +65 -0
- package/public/hooks/queries/useDatabaseTransferQuery.js +53 -0
- package/public/hooks/queries/useDatabaseTransfersQuery.d.ts +69 -0
- package/public/hooks/queries/useDatabaseTransfersQuery.js +38 -0
- package/public/hooks/queries/useEmbeddingChunkQuery.d.ts +65 -0
- package/public/hooks/queries/useEmbeddingChunkQuery.js +53 -0
- package/public/hooks/queries/useEmbeddingChunksQuery.d.ts +69 -0
- package/public/hooks/queries/useEmbeddingChunksQuery.js +38 -0
- package/public/hooks/queries/useEnumQuery.d.ts +65 -0
- package/public/hooks/queries/{useUuidModuleQuery.js → useEnumQuery.js} +14 -14
- package/public/hooks/queries/useEnumsQuery.d.ts +69 -0
- package/public/hooks/queries/{useUuidModulesQuery.js → useEnumsQuery.js} +14 -14
- package/public/hooks/query-keys.d.ts +180 -124
- package/public/hooks/query-keys.js +106 -74
- package/public/orm/index.d.ts +81 -48
- package/public/orm/index.js +26 -18
- package/public/orm/input-types.d.ts +2447 -2980
- package/public/orm/input-types.js +26 -1
- package/public/orm/models/blueprint.d.ts +56 -0
- package/public/orm/models/blueprint.js +98 -0
- package/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/public/orm/models/blueprintTemplate.js +98 -0
- package/public/orm/models/databaseTransfer.d.ts +56 -0
- package/public/orm/models/databaseTransfer.js +98 -0
- package/public/orm/models/embeddingChunk.d.ts +56 -0
- package/public/orm/models/embeddingChunk.js +98 -0
- package/public/orm/models/enum.d.ts +56 -0
- package/public/orm/models/{uuidModule.js → enum.js} +25 -25
- package/public/orm/models/index.d.ts +13 -9
- package/public/orm/models/index.js +29 -21
- package/public/orm/mutation/index.d.ts +98 -50
- package/public/orm/mutation/index.js +126 -66
- package/public/schema-types.d.ts +2328 -2206
- package/public/types.d.ts +161 -379
- package/esm/public/hooks/mutations/useCreateUuidModuleMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useDeleteUuidModuleMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useUpdateUuidModuleMutation.d.ts +0 -40
- package/esm/public/hooks/queries/useUuidModuleQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useUuidModulesQuery.d.ts +0 -69
- package/esm/public/orm/models/uuidModule.d.ts +0 -56
- package/public/hooks/mutations/useCreateUuidModuleMutation.d.ts +0 -34
- package/public/hooks/mutations/useDeleteUuidModuleMutation.d.ts +0 -38
- package/public/hooks/mutations/useUpdateUuidModuleMutation.d.ts +0 -40
- package/public/hooks/queries/useUuidModuleQuery.d.ts +0 -65
- package/public/hooks/queries/useUuidModulesQuery.d.ts +0 -69
- package/public/orm/models/uuidModule.d.ts +0 -56
|
@@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
* DO NOT EDIT - changes will be overwritten
|
|
21
21
|
*/
|
|
22
|
+
__exportStar(require("./useCreateGetAllRecordMutation"), exports);
|
|
22
23
|
__exportStar(require("./useCreateOrgGetManagersRecordMutation"), exports);
|
|
23
24
|
__exportStar(require("./useCreateOrgGetSubordinatesRecordMutation"), exports);
|
|
24
|
-
__exportStar(require("./useCreateGetAllRecordMutation"), exports);
|
|
25
25
|
__exportStar(require("./useCreateObjectMutation"), exports);
|
|
26
26
|
__exportStar(require("./useUpdateObjectMutation"), exports);
|
|
27
27
|
__exportStar(require("./useDeleteObjectMutation"), exports);
|
|
@@ -85,6 +85,9 @@ __exportStar(require("./useDeleteViewGrantMutation"), exports);
|
|
|
85
85
|
__exportStar(require("./useCreateViewRuleMutation"), exports);
|
|
86
86
|
__exportStar(require("./useUpdateViewRuleMutation"), exports);
|
|
87
87
|
__exportStar(require("./useDeleteViewRuleMutation"), exports);
|
|
88
|
+
__exportStar(require("./useCreateEmbeddingChunkMutation"), exports);
|
|
89
|
+
__exportStar(require("./useUpdateEmbeddingChunkMutation"), exports);
|
|
90
|
+
__exportStar(require("./useDeleteEmbeddingChunkMutation"), exports);
|
|
88
91
|
__exportStar(require("./useCreateTableTemplateModuleMutation"), exports);
|
|
89
92
|
__exportStar(require("./useUpdateTableTemplateModuleMutation"), exports);
|
|
90
93
|
__exportStar(require("./useDeleteTableTemplateModuleMutation"), exports);
|
|
@@ -100,6 +103,9 @@ __exportStar(require("./useDeleteSchemaGrantMutation"), exports);
|
|
|
100
103
|
__exportStar(require("./useCreateDefaultPrivilegeMutation"), exports);
|
|
101
104
|
__exportStar(require("./useUpdateDefaultPrivilegeMutation"), exports);
|
|
102
105
|
__exportStar(require("./useDeleteDefaultPrivilegeMutation"), exports);
|
|
106
|
+
__exportStar(require("./useCreateEnumMutation"), exports);
|
|
107
|
+
__exportStar(require("./useUpdateEnumMutation"), exports);
|
|
108
|
+
__exportStar(require("./useDeleteEnumMutation"), exports);
|
|
103
109
|
__exportStar(require("./useCreateApiSchemaMutation"), exports);
|
|
104
110
|
__exportStar(require("./useUpdateApiSchemaMutation"), exports);
|
|
105
111
|
__exportStar(require("./useDeleteApiSchemaMutation"), exports);
|
|
@@ -121,6 +127,9 @@ __exportStar(require("./useDeleteSiteThemeMutation"), exports);
|
|
|
121
127
|
__exportStar(require("./useCreateTriggerFunctionMutation"), exports);
|
|
122
128
|
__exportStar(require("./useUpdateTriggerFunctionMutation"), exports);
|
|
123
129
|
__exportStar(require("./useDeleteTriggerFunctionMutation"), exports);
|
|
130
|
+
__exportStar(require("./useCreateDatabaseTransferMutation"), exports);
|
|
131
|
+
__exportStar(require("./useUpdateDatabaseTransferMutation"), exports);
|
|
132
|
+
__exportStar(require("./useDeleteDatabaseTransferMutation"), exports);
|
|
124
133
|
__exportStar(require("./useCreateApiMutation"), exports);
|
|
125
134
|
__exportStar(require("./useUpdateApiMutation"), exports);
|
|
126
135
|
__exportStar(require("./useDeleteApiMutation"), exports);
|
|
@@ -190,9 +199,12 @@ __exportStar(require("./useDeleteUserAuthModuleMutation"), exports);
|
|
|
190
199
|
__exportStar(require("./useCreateUsersModuleMutation"), exports);
|
|
191
200
|
__exportStar(require("./useUpdateUsersModuleMutation"), exports);
|
|
192
201
|
__exportStar(require("./useDeleteUsersModuleMutation"), exports);
|
|
193
|
-
__exportStar(require("./
|
|
194
|
-
__exportStar(require("./
|
|
195
|
-
__exportStar(require("./
|
|
202
|
+
__exportStar(require("./useCreateBlueprintMutation"), exports);
|
|
203
|
+
__exportStar(require("./useUpdateBlueprintMutation"), exports);
|
|
204
|
+
__exportStar(require("./useDeleteBlueprintMutation"), exports);
|
|
205
|
+
__exportStar(require("./useCreateBlueprintTemplateMutation"), exports);
|
|
206
|
+
__exportStar(require("./useUpdateBlueprintTemplateMutation"), exports);
|
|
207
|
+
__exportStar(require("./useDeleteBlueprintTemplateMutation"), exports);
|
|
196
208
|
__exportStar(require("./useCreateDatabaseProvisionModuleMutation"), exports);
|
|
197
209
|
__exportStar(require("./useUpdateDatabaseProvisionModuleMutation"), exports);
|
|
198
210
|
__exportStar(require("./useDeleteDatabaseProvisionModuleMutation"), exports);
|
|
@@ -226,6 +238,9 @@ __exportStar(require("./useDeleteOrgChartEdgeMutation"), exports);
|
|
|
226
238
|
__exportStar(require("./useCreateOrgChartEdgeGrantMutation"), exports);
|
|
227
239
|
__exportStar(require("./useUpdateOrgChartEdgeGrantMutation"), exports);
|
|
228
240
|
__exportStar(require("./useDeleteOrgChartEdgeGrantMutation"), exports);
|
|
241
|
+
__exportStar(require("./useCreateOrgPermissionDefaultMutation"), exports);
|
|
242
|
+
__exportStar(require("./useUpdateOrgPermissionDefaultMutation"), exports);
|
|
243
|
+
__exportStar(require("./useDeleteOrgPermissionDefaultMutation"), exports);
|
|
229
244
|
__exportStar(require("./useCreateAppLimitMutation"), exports);
|
|
230
245
|
__exportStar(require("./useUpdateAppLimitMutation"), exports);
|
|
231
246
|
__exportStar(require("./useDeleteAppLimitMutation"), exports);
|
|
@@ -238,6 +253,21 @@ __exportStar(require("./useDeleteAppStepMutation"), exports);
|
|
|
238
253
|
__exportStar(require("./useCreateAppAchievementMutation"), exports);
|
|
239
254
|
__exportStar(require("./useUpdateAppAchievementMutation"), exports);
|
|
240
255
|
__exportStar(require("./useDeleteAppAchievementMutation"), exports);
|
|
256
|
+
__exportStar(require("./useCreateAppLevelMutation"), exports);
|
|
257
|
+
__exportStar(require("./useUpdateAppLevelMutation"), exports);
|
|
258
|
+
__exportStar(require("./useDeleteAppLevelMutation"), exports);
|
|
259
|
+
__exportStar(require("./useCreateEmailMutation"), exports);
|
|
260
|
+
__exportStar(require("./useUpdateEmailMutation"), exports);
|
|
261
|
+
__exportStar(require("./useDeleteEmailMutation"), exports);
|
|
262
|
+
__exportStar(require("./useCreatePhoneNumberMutation"), exports);
|
|
263
|
+
__exportStar(require("./useUpdatePhoneNumberMutation"), exports);
|
|
264
|
+
__exportStar(require("./useDeletePhoneNumberMutation"), exports);
|
|
265
|
+
__exportStar(require("./useCreateCryptoAddressMutation"), exports);
|
|
266
|
+
__exportStar(require("./useUpdateCryptoAddressMutation"), exports);
|
|
267
|
+
__exportStar(require("./useDeleteCryptoAddressMutation"), exports);
|
|
268
|
+
__exportStar(require("./useCreateConnectedAccountMutation"), exports);
|
|
269
|
+
__exportStar(require("./useUpdateConnectedAccountMutation"), exports);
|
|
270
|
+
__exportStar(require("./useDeleteConnectedAccountMutation"), exports);
|
|
241
271
|
__exportStar(require("./useCreateInviteMutation"), exports);
|
|
242
272
|
__exportStar(require("./useUpdateInviteMutation"), exports);
|
|
243
273
|
__exportStar(require("./useDeleteInviteMutation"), exports);
|
|
@@ -250,6 +280,9 @@ __exportStar(require("./useDeleteOrgInviteMutation"), exports);
|
|
|
250
280
|
__exportStar(require("./useCreateOrgClaimedInviteMutation"), exports);
|
|
251
281
|
__exportStar(require("./useUpdateOrgClaimedInviteMutation"), exports);
|
|
252
282
|
__exportStar(require("./useDeleteOrgClaimedInviteMutation"), exports);
|
|
283
|
+
__exportStar(require("./useCreateAuditLogMutation"), exports);
|
|
284
|
+
__exportStar(require("./useUpdateAuditLogMutation"), exports);
|
|
285
|
+
__exportStar(require("./useDeleteAuditLogMutation"), exports);
|
|
253
286
|
__exportStar(require("./useCreateRefMutation"), exports);
|
|
254
287
|
__exportStar(require("./useUpdateRefMutation"), exports);
|
|
255
288
|
__exportStar(require("./useDeleteRefMutation"), exports);
|
|
@@ -259,27 +292,15 @@ __exportStar(require("./useDeleteStoreMutation"), exports);
|
|
|
259
292
|
__exportStar(require("./useCreateAppPermissionDefaultMutation"), exports);
|
|
260
293
|
__exportStar(require("./useUpdateAppPermissionDefaultMutation"), exports);
|
|
261
294
|
__exportStar(require("./useDeleteAppPermissionDefaultMutation"), exports);
|
|
262
|
-
__exportStar(require("./useCreateCryptoAddressMutation"), exports);
|
|
263
|
-
__exportStar(require("./useUpdateCryptoAddressMutation"), exports);
|
|
264
|
-
__exportStar(require("./useDeleteCryptoAddressMutation"), exports);
|
|
265
295
|
__exportStar(require("./useCreateRoleTypeMutation"), exports);
|
|
266
296
|
__exportStar(require("./useUpdateRoleTypeMutation"), exports);
|
|
267
297
|
__exportStar(require("./useDeleteRoleTypeMutation"), exports);
|
|
268
|
-
__exportStar(require("./useCreateOrgPermissionDefaultMutation"), exports);
|
|
269
|
-
__exportStar(require("./useUpdateOrgPermissionDefaultMutation"), exports);
|
|
270
|
-
__exportStar(require("./useDeleteOrgPermissionDefaultMutation"), exports);
|
|
271
|
-
__exportStar(require("./useCreatePhoneNumberMutation"), exports);
|
|
272
|
-
__exportStar(require("./useUpdatePhoneNumberMutation"), exports);
|
|
273
|
-
__exportStar(require("./useDeletePhoneNumberMutation"), exports);
|
|
274
298
|
__exportStar(require("./useCreateAppLimitDefaultMutation"), exports);
|
|
275
299
|
__exportStar(require("./useUpdateAppLimitDefaultMutation"), exports);
|
|
276
300
|
__exportStar(require("./useDeleteAppLimitDefaultMutation"), exports);
|
|
277
301
|
__exportStar(require("./useCreateOrgLimitDefaultMutation"), exports);
|
|
278
302
|
__exportStar(require("./useUpdateOrgLimitDefaultMutation"), exports);
|
|
279
303
|
__exportStar(require("./useDeleteOrgLimitDefaultMutation"), exports);
|
|
280
|
-
__exportStar(require("./useCreateConnectedAccountMutation"), exports);
|
|
281
|
-
__exportStar(require("./useUpdateConnectedAccountMutation"), exports);
|
|
282
|
-
__exportStar(require("./useDeleteConnectedAccountMutation"), exports);
|
|
283
304
|
__exportStar(require("./useCreateNodeTypeRegistryMutation"), exports);
|
|
284
305
|
__exportStar(require("./useUpdateNodeTypeRegistryMutation"), exports);
|
|
285
306
|
__exportStar(require("./useDeleteNodeTypeRegistryMutation"), exports);
|
|
@@ -298,16 +319,7 @@ __exportStar(require("./useDeleteRlsModuleMutation"), exports);
|
|
|
298
319
|
__exportStar(require("./useCreateOrgMembershipDefaultMutation"), exports);
|
|
299
320
|
__exportStar(require("./useUpdateOrgMembershipDefaultMutation"), exports);
|
|
300
321
|
__exportStar(require("./useDeleteOrgMembershipDefaultMutation"), exports);
|
|
301
|
-
__exportStar(require("./useCreateAuditLogMutation"), exports);
|
|
302
|
-
__exportStar(require("./useUpdateAuditLogMutation"), exports);
|
|
303
|
-
__exportStar(require("./useDeleteAuditLogMutation"), exports);
|
|
304
|
-
__exportStar(require("./useCreateAppLevelMutation"), exports);
|
|
305
|
-
__exportStar(require("./useUpdateAppLevelMutation"), exports);
|
|
306
|
-
__exportStar(require("./useDeleteAppLevelMutation"), exports);
|
|
307
322
|
__exportStar(require("./useCreateSqlMigrationMutation"), exports);
|
|
308
|
-
__exportStar(require("./useCreateEmailMutation"), exports);
|
|
309
|
-
__exportStar(require("./useUpdateEmailMutation"), exports);
|
|
310
|
-
__exportStar(require("./useDeleteEmailMutation"), exports);
|
|
311
323
|
__exportStar(require("./useCreateUserMutation"), exports);
|
|
312
324
|
__exportStar(require("./useUpdateUserMutation"), exports);
|
|
313
325
|
__exportStar(require("./useDeleteUserMutation"), exports);
|
|
@@ -318,23 +330,28 @@ __exportStar(require("./useDeleteAppMembershipMutation"), exports);
|
|
|
318
330
|
__exportStar(require("./useCreateHierarchyModuleMutation"), exports);
|
|
319
331
|
__exportStar(require("./useUpdateHierarchyModuleMutation"), exports);
|
|
320
332
|
__exportStar(require("./useDeleteHierarchyModuleMutation"), exports);
|
|
321
|
-
__exportStar(require("./useSignOutMutation"), exports);
|
|
322
333
|
__exportStar(require("./useSendAccountDeletionEmailMutation"), exports);
|
|
323
|
-
__exportStar(require("./
|
|
334
|
+
__exportStar(require("./useSignOutMutation"), exports);
|
|
335
|
+
__exportStar(require("./useAcceptDatabaseTransferMutation"), exports);
|
|
336
|
+
__exportStar(require("./useCancelDatabaseTransferMutation"), exports);
|
|
337
|
+
__exportStar(require("./useRejectDatabaseTransferMutation"), exports);
|
|
324
338
|
__exportStar(require("./useSubmitInviteCodeMutation"), exports);
|
|
325
339
|
__exportStar(require("./useSubmitOrgInviteCodeMutation"), exports);
|
|
326
|
-
__exportStar(require("./
|
|
327
|
-
__exportStar(require("./useInitEmptyRepoMutation"), exports);
|
|
340
|
+
__exportStar(require("./useCheckPasswordMutation"), exports);
|
|
328
341
|
__exportStar(require("./useConfirmDeleteAccountMutation"), exports);
|
|
329
342
|
__exportStar(require("./useSetPasswordMutation"), exports);
|
|
330
343
|
__exportStar(require("./useVerifyEmailMutation"), exports);
|
|
331
|
-
__exportStar(require("./
|
|
344
|
+
__exportStar(require("./useFreezeObjectsMutation"), exports);
|
|
345
|
+
__exportStar(require("./useInitEmptyRepoMutation"), exports);
|
|
346
|
+
__exportStar(require("./useConstructBlueprintMutation"), exports);
|
|
332
347
|
__exportStar(require("./useResetPasswordMutation"), exports);
|
|
333
|
-
__exportStar(require("./
|
|
334
|
-
__exportStar(require("./useSetFieldOrderMutation"), exports);
|
|
348
|
+
__exportStar(require("./useRemoveNodeAtPathMutation"), exports);
|
|
335
349
|
__exportStar(require("./useSetDataAtPathMutation"), exports);
|
|
336
350
|
__exportStar(require("./useSetPropsAndCommitMutation"), exports);
|
|
351
|
+
__exportStar(require("./useCopyTemplateToBlueprintMutation"), exports);
|
|
337
352
|
__exportStar(require("./useProvisionDatabaseWithUserMutation"), exports);
|
|
353
|
+
__exportStar(require("./useBootstrapUserMutation"), exports);
|
|
354
|
+
__exportStar(require("./useSetFieldOrderMutation"), exports);
|
|
338
355
|
__exportStar(require("./useInsertNodeAtPathMutation"), exports);
|
|
339
356
|
__exportStar(require("./useUpdateNodeAtPathMutation"), exports);
|
|
340
357
|
__exportStar(require("./useSetAndCommitMutation"), exports);
|
|
@@ -345,7 +362,7 @@ __exportStar(require("./useExtendTokenExpiresMutation"), exports);
|
|
|
345
362
|
__exportStar(require("./useSignInMutation"), exports);
|
|
346
363
|
__exportStar(require("./useSignUpMutation"), exports);
|
|
347
364
|
__exportStar(require("./useOneTimeTokenMutation"), exports);
|
|
348
|
-
__exportStar(require("./useForgotPasswordMutation"), exports);
|
|
349
365
|
__exportStar(require("./useSendVerificationEmailMutation"), exports);
|
|
366
|
+
__exportStar(require("./useForgotPasswordMutation"), exports);
|
|
350
367
|
__exportStar(require("./useVerifyPasswordMutation"), exports);
|
|
351
368
|
__exportStar(require("./useVerifyTotpMutation"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for acceptDatabaseTransfer
|
|
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 { AcceptDatabaseTransferVariables } from '../../orm/mutation';
|
|
8
|
+
import type { AcceptDatabaseTransferPayloadSelect, AcceptDatabaseTransferPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { AcceptDatabaseTransferVariables } from '../../orm/mutation';
|
|
11
|
+
export type { AcceptDatabaseTransferPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useAcceptDatabaseTransferMutation<S extends AcceptDatabaseTransferPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & AcceptDatabaseTransferPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, AcceptDatabaseTransferPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
acceptDatabaseTransfer: InferSelectResult<AcceptDatabaseTransferPayload, S> | null;
|
|
18
|
+
}, Error, AcceptDatabaseTransferVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
acceptDatabaseTransfer: InferSelectResult<AcceptDatabaseTransferPayload, S> | null;
|
|
20
|
+
}, Error, AcceptDatabaseTransferVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for acceptDatabaseTransfer
|
|
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.useAcceptDatabaseTransferMutation = useAcceptDatabaseTransferMutation;
|
|
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 useAcceptDatabaseTransferMutation(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.acceptDatabaseTransfer(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.acceptDatabaseTransfer(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for cancelDatabaseTransfer
|
|
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 { CancelDatabaseTransferVariables } from '../../orm/mutation';
|
|
8
|
+
import type { CancelDatabaseTransferPayloadSelect, CancelDatabaseTransferPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { CancelDatabaseTransferVariables } from '../../orm/mutation';
|
|
11
|
+
export type { CancelDatabaseTransferPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useCancelDatabaseTransferMutation<S extends CancelDatabaseTransferPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & CancelDatabaseTransferPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, CancelDatabaseTransferPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
cancelDatabaseTransfer: InferSelectResult<CancelDatabaseTransferPayload, S> | null;
|
|
18
|
+
}, Error, CancelDatabaseTransferVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
cancelDatabaseTransfer: InferSelectResult<CancelDatabaseTransferPayload, S> | null;
|
|
20
|
+
}, Error, CancelDatabaseTransferVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for cancelDatabaseTransfer
|
|
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.useCancelDatabaseTransferMutation = useCancelDatabaseTransferMutation;
|
|
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 useCancelDatabaseTransferMutation(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.cancelDatabaseTransfer(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.cancelDatabaseTransfer(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for constructBlueprint
|
|
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 { ConstructBlueprintVariables } from '../../orm/mutation';
|
|
8
|
+
import type { ConstructBlueprintPayloadSelect, ConstructBlueprintPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { ConstructBlueprintVariables } from '../../orm/mutation';
|
|
11
|
+
export type { ConstructBlueprintPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useConstructBlueprintMutation<S extends ConstructBlueprintPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & ConstructBlueprintPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, ConstructBlueprintPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
constructBlueprint: InferSelectResult<ConstructBlueprintPayload, S> | null;
|
|
18
|
+
}, Error, ConstructBlueprintVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
constructBlueprint: InferSelectResult<ConstructBlueprintPayload, S> | null;
|
|
20
|
+
}, Error, ConstructBlueprintVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for constructBlueprint
|
|
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.useConstructBlueprintMutation = useConstructBlueprintMutation;
|
|
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 useConstructBlueprintMutation(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.constructBlueprint(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.constructBlueprint(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for copyTemplateToBlueprint
|
|
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 { CopyTemplateToBlueprintVariables } from '../../orm/mutation';
|
|
8
|
+
import type { CopyTemplateToBlueprintPayloadSelect, CopyTemplateToBlueprintPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { CopyTemplateToBlueprintVariables } from '../../orm/mutation';
|
|
11
|
+
export type { CopyTemplateToBlueprintPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useCopyTemplateToBlueprintMutation<S extends CopyTemplateToBlueprintPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & CopyTemplateToBlueprintPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, CopyTemplateToBlueprintPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
copyTemplateToBlueprint: InferSelectResult<CopyTemplateToBlueprintPayload, S> | null;
|
|
18
|
+
}, Error, CopyTemplateToBlueprintVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
copyTemplateToBlueprint: InferSelectResult<CopyTemplateToBlueprintPayload, S> | null;
|
|
20
|
+
}, Error, CopyTemplateToBlueprintVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for copyTemplateToBlueprint
|
|
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.useCopyTemplateToBlueprintMutation = useCopyTemplateToBlueprintMutation;
|
|
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 useCopyTemplateToBlueprintMutation(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.copyTemplateToBlueprint(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.copyTemplateToBlueprint(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An owned, executable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition before executing it with construct_blueprint(). Each blueprint tracks its execution status (draft/constructed/failed) and stores the ref_map of created table IDs after construction.
|
|
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 { BlueprintSelect, BlueprintWithRelations, CreateBlueprintInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { BlueprintSelect, BlueprintWithRelations, CreateBlueprintInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* An owned, executable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition before executing it with construct_blueprint(). Each blueprint tracks its execution status (draft/constructed/failed) and stores the ref_map of created table IDs after construction.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateBlueprintMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateBlueprintMutation<S extends BlueprintSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & BlueprintSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, BlueprintSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createBlueprint: {
|
|
28
|
+
blueprint: InferSelectResult<BlueprintWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateBlueprintInput['blueprint']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createBlueprint: {
|
|
32
|
+
blueprint: InferSelectResult<BlueprintWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateBlueprintInput['blueprint']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* An owned, executable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition before executing it with construct_blueprint(). Each blueprint tracks its execution status (draft/constructed/failed) and stores the ref_map of created table IDs after construction.
|
|
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.useCreateBlueprintMutation = useCreateBlueprintMutation;
|
|
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 useCreateBlueprintMutation(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.blueprintMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.blueprint.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.blueprintKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
|
|
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 { BlueprintTemplateSelect, BlueprintTemplateWithRelations, CreateBlueprintTemplateInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { BlueprintTemplateSelect, BlueprintTemplateWithRelations, CreateBlueprintTemplateInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateBlueprintTemplateMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateBlueprintTemplateMutation<S extends BlueprintTemplateSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & BlueprintTemplateSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, BlueprintTemplateSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createBlueprintTemplate: {
|
|
28
|
+
blueprintTemplate: InferSelectResult<BlueprintTemplateWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateBlueprintTemplateInput['blueprintTemplate']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createBlueprintTemplate: {
|
|
32
|
+
blueprintTemplate: InferSelectResult<BlueprintTemplateWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateBlueprintTemplateInput['blueprintTemplate']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
|
|
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.useCreateBlueprintTemplateMutation = useCreateBlueprintTemplateMutation;
|
|
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 useCreateBlueprintTemplateMutation(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.blueprintTemplateMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.blueprintTemplate.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.blueprintTemplateKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for DatabaseTransfer
|
|
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 { DatabaseTransferSelect, DatabaseTransferWithRelations, CreateDatabaseTransferInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { DatabaseTransferSelect, DatabaseTransferWithRelations, CreateDatabaseTransferInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a DatabaseTransfer
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateDatabaseTransferMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateDatabaseTransferMutation<S extends DatabaseTransferSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & DatabaseTransferSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, DatabaseTransferSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createDatabaseTransfer: {
|
|
28
|
+
databaseTransfer: InferSelectResult<DatabaseTransferWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateDatabaseTransferInput['databaseTransfer']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createDatabaseTransfer: {
|
|
32
|
+
databaseTransfer: InferSelectResult<DatabaseTransferWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateDatabaseTransferInput['databaseTransfer']>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Create mutation hook for DatabaseTransfer
|
|
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.useCreateDatabaseTransferMutation = useCreateDatabaseTransferMutation;
|
|
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 useCreateDatabaseTransferMutation(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.databaseTransferMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.databaseTransfer.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.databaseTransferKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create mutation hook for EmbeddingChunk
|
|
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 { EmbeddingChunkSelect, EmbeddingChunkWithRelations, CreateEmbeddingChunkInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { EmbeddingChunkSelect, EmbeddingChunkWithRelations, CreateEmbeddingChunkInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for creating a EmbeddingChunk
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateEmbeddingChunkMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateEmbeddingChunkMutation<S extends EmbeddingChunkSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & EmbeddingChunkSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, EmbeddingChunkSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createEmbeddingChunk: {
|
|
28
|
+
embeddingChunk: InferSelectResult<EmbeddingChunkWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateEmbeddingChunkInput['embeddingChunk']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createEmbeddingChunk: {
|
|
32
|
+
embeddingChunk: InferSelectResult<EmbeddingChunkWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateEmbeddingChunkInput['embeddingChunk']>;
|