@constructive-io/react 0.8.0 → 0.8.2
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
package/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @constructive-io/
|
|
2
|
+
* @constructive-io/sdk
|
|
3
|
+
*
|
|
4
|
+
* Auto-generated GraphQL types and ORM client.
|
|
5
|
+
* Run `pnpm run generate` to populate this package from the schema files.
|
|
6
|
+
*
|
|
3
7
|
* @generated by @constructive-io/graphql-codegen
|
|
4
8
|
*/
|
|
5
9
|
export * as admin from './admin';
|
package/index.js
CHANGED
|
@@ -35,7 +35,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.public_ = exports.objects = exports.auth = exports.admin = void 0;
|
|
37
37
|
/**
|
|
38
|
-
* @constructive-io/
|
|
38
|
+
* @constructive-io/sdk
|
|
39
|
+
*
|
|
40
|
+
* Auto-generated GraphQL types and ORM client.
|
|
41
|
+
* Run `pnpm run generate` to populate this package from the schema files.
|
|
42
|
+
*
|
|
39
43
|
* @generated by @constructive-io/graphql-codegen
|
|
40
44
|
*/
|
|
41
45
|
exports.admin = __importStar(require("./admin"));
|
|
@@ -230,15 +230,15 @@ export interface UUIDListFilter {
|
|
|
230
230
|
anyGreaterThanOrEqualTo?: string;
|
|
231
231
|
}
|
|
232
232
|
export interface GetAllRecord {
|
|
233
|
-
path?: string | null;
|
|
233
|
+
path?: string[] | null;
|
|
234
234
|
data?: Record<string, unknown> | null;
|
|
235
235
|
}
|
|
236
236
|
export interface Object {
|
|
237
237
|
hashUuid?: string | null;
|
|
238
238
|
id: string;
|
|
239
239
|
databaseId?: string | null;
|
|
240
|
-
kids?: string | null;
|
|
241
|
-
ktree?: string | null;
|
|
240
|
+
kids?: string[] | null;
|
|
241
|
+
ktree?: string[] | null;
|
|
242
242
|
data?: Record<string, unknown> | null;
|
|
243
243
|
frzn?: boolean | null;
|
|
244
244
|
createdAt?: string | null;
|
|
@@ -252,10 +252,6 @@ export interface Ref {
|
|
|
252
252
|
databaseId?: string | null;
|
|
253
253
|
storeId?: string | null;
|
|
254
254
|
commitId?: string | null;
|
|
255
|
-
/** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */
|
|
256
|
-
nameTrgmSimilarity?: number | null;
|
|
257
|
-
/** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
|
|
258
|
-
searchScore?: number | null;
|
|
259
255
|
}
|
|
260
256
|
/** A store represents an isolated object repository within a database. */
|
|
261
257
|
export interface Store {
|
|
@@ -268,10 +264,6 @@ export interface Store {
|
|
|
268
264
|
/** The current head tree_id for this store. */
|
|
269
265
|
hash?: string | null;
|
|
270
266
|
createdAt?: string | null;
|
|
271
|
-
/** TRGM similarity when searching `name`. Returns null when no trgm search filter is active. */
|
|
272
|
-
nameTrgmSimilarity?: number | null;
|
|
273
|
-
/** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
|
|
274
|
-
searchScore?: number | null;
|
|
275
267
|
}
|
|
276
268
|
/** A commit records changes to the repository. */
|
|
277
269
|
export interface Commit {
|
|
@@ -283,7 +275,7 @@ export interface Commit {
|
|
|
283
275
|
databaseId?: string | null;
|
|
284
276
|
storeId?: string | null;
|
|
285
277
|
/** Parent commits */
|
|
286
|
-
parentIds?: string | null;
|
|
278
|
+
parentIds?: string[] | null;
|
|
287
279
|
/** The author of the commit */
|
|
288
280
|
authorId?: string | null;
|
|
289
281
|
/** The committer of the commit */
|
|
@@ -291,10 +283,6 @@ export interface Commit {
|
|
|
291
283
|
/** The root of the tree */
|
|
292
284
|
treeId?: string | null;
|
|
293
285
|
date?: string | null;
|
|
294
|
-
/** TRGM similarity when searching `message`. Returns null when no trgm search filter is active. */
|
|
295
|
-
messageTrgmSimilarity?: number | null;
|
|
296
|
-
/** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
|
|
297
|
-
searchScore?: number | null;
|
|
298
286
|
}
|
|
299
287
|
export interface ConnectionResult<T> {
|
|
300
288
|
nodes: T[];
|
|
@@ -342,8 +330,6 @@ export type RefSelect = {
|
|
|
342
330
|
databaseId?: boolean;
|
|
343
331
|
storeId?: boolean;
|
|
344
332
|
commitId?: boolean;
|
|
345
|
-
nameTrgmSimilarity?: boolean;
|
|
346
|
-
searchScore?: boolean;
|
|
347
333
|
};
|
|
348
334
|
export type StoreSelect = {
|
|
349
335
|
id?: boolean;
|
|
@@ -351,8 +337,6 @@ export type StoreSelect = {
|
|
|
351
337
|
databaseId?: boolean;
|
|
352
338
|
hash?: boolean;
|
|
353
339
|
createdAt?: boolean;
|
|
354
|
-
nameTrgmSimilarity?: boolean;
|
|
355
|
-
searchScore?: boolean;
|
|
356
340
|
};
|
|
357
341
|
export type CommitSelect = {
|
|
358
342
|
id?: boolean;
|
|
@@ -364,11 +348,9 @@ export type CommitSelect = {
|
|
|
364
348
|
committerId?: boolean;
|
|
365
349
|
treeId?: boolean;
|
|
366
350
|
date?: boolean;
|
|
367
|
-
messageTrgmSimilarity?: boolean;
|
|
368
|
-
searchScore?: boolean;
|
|
369
351
|
};
|
|
370
352
|
export interface GetAllRecordFilter {
|
|
371
|
-
path?:
|
|
353
|
+
path?: StringListFilter;
|
|
372
354
|
data?: JSONFilter;
|
|
373
355
|
and?: GetAllRecordFilter[];
|
|
374
356
|
or?: GetAllRecordFilter[];
|
|
@@ -378,8 +360,8 @@ export interface ObjectFilter {
|
|
|
378
360
|
hashUuid?: UUIDFilter;
|
|
379
361
|
id?: UUIDFilter;
|
|
380
362
|
databaseId?: UUIDFilter;
|
|
381
|
-
kids?:
|
|
382
|
-
ktree?:
|
|
363
|
+
kids?: UUIDListFilter;
|
|
364
|
+
ktree?: StringListFilter;
|
|
383
365
|
data?: JSONFilter;
|
|
384
366
|
frzn?: BooleanFilter;
|
|
385
367
|
createdAt?: DatetimeFilter;
|
|
@@ -393,8 +375,6 @@ export interface RefFilter {
|
|
|
393
375
|
databaseId?: UUIDFilter;
|
|
394
376
|
storeId?: UUIDFilter;
|
|
395
377
|
commitId?: UUIDFilter;
|
|
396
|
-
nameTrgmSimilarity?: FloatFilter;
|
|
397
|
-
searchScore?: FloatFilter;
|
|
398
378
|
and?: RefFilter[];
|
|
399
379
|
or?: RefFilter[];
|
|
400
380
|
not?: RefFilter;
|
|
@@ -405,8 +385,6 @@ export interface StoreFilter {
|
|
|
405
385
|
databaseId?: UUIDFilter;
|
|
406
386
|
hash?: UUIDFilter;
|
|
407
387
|
createdAt?: DatetimeFilter;
|
|
408
|
-
nameTrgmSimilarity?: FloatFilter;
|
|
409
|
-
searchScore?: FloatFilter;
|
|
410
388
|
and?: StoreFilter[];
|
|
411
389
|
or?: StoreFilter[];
|
|
412
390
|
not?: StoreFilter;
|
|
@@ -416,31 +394,29 @@ export interface CommitFilter {
|
|
|
416
394
|
message?: StringFilter;
|
|
417
395
|
databaseId?: UUIDFilter;
|
|
418
396
|
storeId?: UUIDFilter;
|
|
419
|
-
parentIds?:
|
|
397
|
+
parentIds?: UUIDListFilter;
|
|
420
398
|
authorId?: UUIDFilter;
|
|
421
399
|
committerId?: UUIDFilter;
|
|
422
400
|
treeId?: UUIDFilter;
|
|
423
401
|
date?: DatetimeFilter;
|
|
424
|
-
messageTrgmSimilarity?: FloatFilter;
|
|
425
|
-
searchScore?: FloatFilter;
|
|
426
402
|
and?: CommitFilter[];
|
|
427
403
|
or?: CommitFilter[];
|
|
428
404
|
not?: CommitFilter;
|
|
429
405
|
}
|
|
430
406
|
export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
|
|
431
|
-
export type ObjectOrderBy = '
|
|
432
|
-
export type RefOrderBy = '
|
|
433
|
-
export type StoreOrderBy = '
|
|
434
|
-
export type CommitOrderBy = '
|
|
407
|
+
export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FRZN_ASC' | 'FRZN_DESC';
|
|
408
|
+
export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC';
|
|
409
|
+
export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
|
|
410
|
+
export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
|
|
435
411
|
export interface CreateGetAllRecordInput {
|
|
436
412
|
clientMutationId?: string;
|
|
437
413
|
getAllRecord: {
|
|
438
|
-
path?: string;
|
|
414
|
+
path?: string[];
|
|
439
415
|
data?: Record<string, unknown>;
|
|
440
416
|
};
|
|
441
417
|
}
|
|
442
418
|
export interface GetAllRecordPatch {
|
|
443
|
-
path?: string | null;
|
|
419
|
+
path?: string[] | null;
|
|
444
420
|
data?: Record<string, unknown> | null;
|
|
445
421
|
}
|
|
446
422
|
export interface UpdateGetAllRecordInput {
|
|
@@ -463,10 +439,9 @@ export interface CreateObjectInput {
|
|
|
463
439
|
};
|
|
464
440
|
}
|
|
465
441
|
export interface ObjectPatch {
|
|
466
|
-
hashUuid?: string | null;
|
|
467
442
|
databaseId?: string | null;
|
|
468
|
-
kids?: string | null;
|
|
469
|
-
ktree?: string | null;
|
|
443
|
+
kids?: string[] | null;
|
|
444
|
+
ktree?: string[] | null;
|
|
470
445
|
data?: Record<string, unknown> | null;
|
|
471
446
|
frzn?: boolean | null;
|
|
472
447
|
}
|
|
@@ -493,8 +468,6 @@ export interface RefPatch {
|
|
|
493
468
|
databaseId?: string | null;
|
|
494
469
|
storeId?: string | null;
|
|
495
470
|
commitId?: string | null;
|
|
496
|
-
nameTrgmSimilarity?: number | null;
|
|
497
|
-
searchScore?: number | null;
|
|
498
471
|
}
|
|
499
472
|
export interface UpdateRefInput {
|
|
500
473
|
clientMutationId?: string;
|
|
@@ -517,8 +490,6 @@ export interface StorePatch {
|
|
|
517
490
|
name?: string | null;
|
|
518
491
|
databaseId?: string | null;
|
|
519
492
|
hash?: string | null;
|
|
520
|
-
nameTrgmSimilarity?: number | null;
|
|
521
|
-
searchScore?: number | null;
|
|
522
493
|
}
|
|
523
494
|
export interface UpdateStoreInput {
|
|
524
495
|
clientMutationId?: string;
|
|
@@ -546,13 +517,11 @@ export interface CommitPatch {
|
|
|
546
517
|
message?: string | null;
|
|
547
518
|
databaseId?: string | null;
|
|
548
519
|
storeId?: string | null;
|
|
549
|
-
parentIds?: string | null;
|
|
520
|
+
parentIds?: string[] | null;
|
|
550
521
|
authorId?: string | null;
|
|
551
522
|
committerId?: string | null;
|
|
552
523
|
treeId?: string | null;
|
|
553
524
|
date?: string | null;
|
|
554
|
-
messageTrgmSimilarity?: number | null;
|
|
555
|
-
searchScore?: number | null;
|
|
556
525
|
}
|
|
557
526
|
export interface UpdateCommitInput {
|
|
558
527
|
clientMutationId?: string;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { Commit, GetAllRecord, Object, Ref, Store, BooleanFilter, DatetimeFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
|
|
7
7
|
/** Methods to use when ordering `Ref`. */
|
|
8
|
-
export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC'
|
|
8
|
+
export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC';
|
|
9
9
|
/** Methods to use when ordering `Store`. */
|
|
10
|
-
export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC'
|
|
10
|
+
export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
|
|
11
11
|
/** Methods to use when ordering `Commit`. */
|
|
12
|
-
export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC'
|
|
12
|
+
export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
|
|
13
13
|
/** Methods to use when ordering `Object`. */
|
|
14
14
|
export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FRZN_ASC' | 'FRZN_DESC';
|
|
15
15
|
/** A filter to be used against `Ref` object types. All fields are combined with a logical ‘and.’ */
|
|
@@ -30,22 +30,6 @@ export interface RefFilter {
|
|
|
30
30
|
or?: RefFilter[];
|
|
31
31
|
/** Negates the expression. */
|
|
32
32
|
not?: RefFilter;
|
|
33
|
-
/** TRGM search on the `name` column. */
|
|
34
|
-
trgmName?: TrgmSearchInput;
|
|
35
|
-
/**
|
|
36
|
-
* Composite full-text search. Provide a search string and it will be dispatched
|
|
37
|
-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
38
|
-
* simultaneously. Rows matching ANY algorithm are returned. All matching score
|
|
39
|
-
* fields are populated.
|
|
40
|
-
*/
|
|
41
|
-
fullTextSearch?: string;
|
|
42
|
-
}
|
|
43
|
-
/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
|
|
44
|
-
export interface TrgmSearchInput {
|
|
45
|
-
/** The text to fuzzy-match against. Typos and misspellings are tolerated. */
|
|
46
|
-
value: string;
|
|
47
|
-
/** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
|
|
48
|
-
threshold?: number;
|
|
49
33
|
}
|
|
50
34
|
/** A filter to be used against `Store` object types. All fields are combined with a logical ‘and.’ */
|
|
51
35
|
export interface StoreFilter {
|
|
@@ -65,15 +49,6 @@ export interface StoreFilter {
|
|
|
65
49
|
or?: StoreFilter[];
|
|
66
50
|
/** Negates the expression. */
|
|
67
51
|
not?: StoreFilter;
|
|
68
|
-
/** TRGM search on the `name` column. */
|
|
69
|
-
trgmName?: TrgmSearchInput;
|
|
70
|
-
/**
|
|
71
|
-
* Composite full-text search. Provide a search string and it will be dispatched
|
|
72
|
-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
73
|
-
* simultaneously. Rows matching ANY algorithm are returned. All matching score
|
|
74
|
-
* fields are populated.
|
|
75
|
-
*/
|
|
76
|
-
fullTextSearch?: string;
|
|
77
52
|
}
|
|
78
53
|
/** A filter to be used against `Commit` object types. All fields are combined with a logical ‘and.’ */
|
|
79
54
|
export interface CommitFilter {
|
|
@@ -101,15 +76,6 @@ export interface CommitFilter {
|
|
|
101
76
|
or?: CommitFilter[];
|
|
102
77
|
/** Negates the expression. */
|
|
103
78
|
not?: CommitFilter;
|
|
104
|
-
/** TRGM search on the `message` column. */
|
|
105
|
-
trgmMessage?: TrgmSearchInput;
|
|
106
|
-
/**
|
|
107
|
-
* Composite full-text search. Provide a search string and it will be dispatched
|
|
108
|
-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
109
|
-
* simultaneously. Rows matching ANY algorithm are returned. All matching score
|
|
110
|
-
* fields are populated.
|
|
111
|
-
*/
|
|
112
|
-
fullTextSearch?: string;
|
|
113
79
|
}
|
|
114
80
|
/** A filter to be used against `Object` object types. All fields are combined with a logical ‘and.’ */
|
|
115
81
|
export interface ObjectFilter {
|
package/objects/types.d.ts
CHANGED
|
@@ -23,8 +23,6 @@ export interface Ref {
|
|
|
23
23
|
databaseId: string | null;
|
|
24
24
|
storeId: string | null;
|
|
25
25
|
commitId: string | null;
|
|
26
|
-
nameTrgmSimilarity: number | null;
|
|
27
|
-
searchScore: number | null;
|
|
28
26
|
}
|
|
29
27
|
export interface Store {
|
|
30
28
|
id: string | null;
|
|
@@ -32,8 +30,6 @@ export interface Store {
|
|
|
32
30
|
databaseId: string | null;
|
|
33
31
|
hash: string | null;
|
|
34
32
|
createdAt: string | null;
|
|
35
|
-
nameTrgmSimilarity: number | null;
|
|
36
|
-
searchScore: number | null;
|
|
37
33
|
}
|
|
38
34
|
export interface Commit {
|
|
39
35
|
id: string | null;
|
|
@@ -45,8 +41,6 @@ export interface Commit {
|
|
|
45
41
|
committerId: string | null;
|
|
46
42
|
treeId: string | null;
|
|
47
43
|
date: string | null;
|
|
48
|
-
messageTrgmSimilarity: number | null;
|
|
49
|
-
searchScore: number | null;
|
|
50
44
|
}
|
|
51
45
|
export interface StringFilter {
|
|
52
46
|
isNull?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/react",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive React - Auto-generated React Query hooks and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"react": "^18.0.0 || ^19.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@constructive-io/graphql-codegen": "^4.
|
|
54
|
+
"@constructive-io/graphql-codegen": "^4.21.0",
|
|
55
55
|
"@types/node": "^22.19.11",
|
|
56
56
|
"@types/react": "^19.2.14",
|
|
57
57
|
"makage": "^0.1.12",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"tsx": "^4.19.0",
|
|
60
60
|
"typescript": "^5.9.3"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "7b5d57e1d1aa274a2914cec3240a902d2b1020c6"
|
|
63
63
|
}
|
package/public/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord,
|
|
5
|
+
* Tables: GetAllRecord, OrgGetManagersRecord, OrgGetSubordinatesRecord, Object, AppPermission, OrgPermission, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, TableTemplateModule, SecureTableProvision, RelationProvision, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, FieldModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, ConnectedAccount, Invite, ClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, Ref, Store, AppPermissionDefault, RoleType, AppLimitDefault, OrgLimitDefault, NodeTypeRegistry, MembershipType, Commit, AppMembershipDefault, RlsModule, OrgMembershipDefault, SqlMigration, User, AstMigration, AppMembership, HierarchyModule
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
package/public/hooks/index.js
CHANGED
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
* GraphQL SDK
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
*
|
|
21
|
-
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord,
|
|
21
|
+
* Tables: GetAllRecord, OrgGetManagersRecord, OrgGetSubordinatesRecord, Object, AppPermission, OrgPermission, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, TableTemplateModule, SecureTableProvision, RelationProvision, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, FieldModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, ConnectedAccount, Invite, ClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, Ref, Store, AppPermissionDefault, RoleType, AppLimitDefault, OrgLimitDefault, NodeTypeRegistry, MembershipType, Commit, AppMembershipDefault, RlsModule, OrgMembershipDefault, SqlMigration, User, AstMigration, AppMembership, HierarchyModule
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|