@constructive-io/react 0.10.16 → 0.10.18
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/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +24 -12
- package/esm/public/hooks/invalidation.js +65 -33
- package/esm/public/hooks/mutation-keys.d.ts +64 -30
- package/esm/public/hooks/mutation-keys.js +55 -23
- package/esm/public/hooks/mutations/index.d.ts +16 -5
- package/esm/public/hooks/mutations/index.js +16 -5
- package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateStorageModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionIndexMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionRelationMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionTableMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +23 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.js +37 -0
- package/esm/public/hooks/queries/index.d.ts +8 -3
- package/esm/public/hooks/queries/index.js +8 -3
- package/esm/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useBlueprintConstructionQuery.js +47 -0
- package/esm/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useBlueprintConstructionsQuery.js +32 -0
- package/esm/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useBlueprintQuery.js +1 -1
- package/esm/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useBlueprintsQuery.js +1 -1
- package/esm/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
- package/esm/public/hooks/queries/useResolveBlueprintTableQuery.js +47 -0
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/esm/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useStorageModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useStorageModulesQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +58 -28
- package/esm/public/hooks/query-keys.js +33 -16
- package/esm/public/orm/index.d.ts +53 -19
- package/esm/public/orm/index.js +8 -4
- package/esm/public/orm/input-types.d.ts +886 -249
- package/esm/public/orm/input-types.js +5 -0
- package/esm/public/orm/models/blueprintConstruction.d.ts +56 -0
- package/esm/public/orm/models/blueprintConstruction.js +96 -0
- package/esm/public/orm/models/index.d.ts +4 -2
- package/esm/public/orm/models/index.js +4 -2
- package/esm/public/orm/models/storageModule.d.ts +56 -0
- package/esm/public/orm/models/storageModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +86 -26
- package/esm/public/orm/mutation/index.js +96 -36
- package/esm/public/orm/query/index.d.ts +16 -0
- package/esm/public/orm/query/index.js +28 -0
- package/esm/public/schema-types.d.ts +990 -645
- package/esm/public/types.d.ts +42 -18
- 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 +24 -12
- package/public/hooks/invalidation.js +64 -32
- package/public/hooks/mutation-keys.d.ts +64 -30
- package/public/hooks/mutation-keys.js +58 -26
- package/public/hooks/mutations/index.d.ts +16 -5
- package/public/hooks/mutations/index.js +16 -5
- package/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +34 -0
- package/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateStorageModuleMutation.js +34 -0
- package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +39 -0
- package/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteStorageModuleMutation.js +39 -0
- package/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionFullTextSearchMutation.js +26 -0
- package/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionIndexMutation.js +26 -0
- package/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionRelationMutation.js +26 -0
- package/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionTableMutation.js +26 -0
- package/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +26 -0
- package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +40 -0
- package/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateStorageModuleMutation.js +40 -0
- package/public/hooks/queries/index.d.ts +8 -3
- package/public/hooks/queries/index.js +8 -3
- package/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
- package/public/hooks/queries/useBlueprintConstructionQuery.js +53 -0
- package/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
- package/public/hooks/queries/useBlueprintConstructionsQuery.js +38 -0
- package/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
- package/public/hooks/queries/useBlueprintQuery.js +1 -1
- package/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
- package/public/hooks/queries/useBlueprintsQuery.js +1 -1
- package/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
- package/public/hooks/queries/useResolveBlueprintTableQuery.js +53 -0
- package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useStorageModuleQuery.js +53 -0
- package/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useStorageModulesQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +58 -28
- package/public/hooks/query-keys.js +36 -19
- package/public/orm/index.d.ts +53 -19
- package/public/orm/index.js +8 -4
- package/public/orm/input-types.d.ts +886 -249
- package/public/orm/input-types.js +5 -0
- package/public/orm/models/blueprintConstruction.d.ts +56 -0
- package/public/orm/models/blueprintConstruction.js +100 -0
- package/public/orm/models/index.d.ts +4 -2
- package/public/orm/models/index.js +11 -7
- package/public/orm/models/storageModule.d.ts +56 -0
- package/public/orm/models/storageModule.js +100 -0
- package/public/orm/mutation/index.d.ts +86 -26
- package/public/orm/mutation/index.js +96 -36
- package/public/orm/query/index.d.ts +16 -0
- package/public/orm/query/index.js +28 -0
- package/public/schema-types.d.ts +990 -645
- package/public/types.d.ts +42 -18
package/public/types.d.ts
CHANGED
|
@@ -11,10 +11,6 @@ export type ConstructiveInternalTypeImage = unknown;
|
|
|
11
11
|
export type ConstructiveInternalTypeOrigin = unknown;
|
|
12
12
|
export type ConstructiveInternalTypeUpload = unknown;
|
|
13
13
|
export type ConstructiveInternalTypeUrl = unknown;
|
|
14
|
-
export interface GetAllRecord {
|
|
15
|
-
path: string[] | null;
|
|
16
|
-
data: unknown | null;
|
|
17
|
-
}
|
|
18
14
|
export interface OrgGetManagersRecord {
|
|
19
15
|
userId: string | null;
|
|
20
16
|
depth: number | null;
|
|
@@ -23,6 +19,10 @@ export interface OrgGetSubordinatesRecord {
|
|
|
23
19
|
userId: string | null;
|
|
24
20
|
depth: number | null;
|
|
25
21
|
}
|
|
22
|
+
export interface GetAllRecord {
|
|
23
|
+
path: string[] | null;
|
|
24
|
+
data: unknown | null;
|
|
25
|
+
}
|
|
26
26
|
export interface Object {
|
|
27
27
|
hashUuid: string | null;
|
|
28
28
|
id: string | null;
|
|
@@ -352,9 +352,8 @@ export interface SecureTableProvision {
|
|
|
352
352
|
schemaId: string | null;
|
|
353
353
|
tableId: string | null;
|
|
354
354
|
tableName: string | null;
|
|
355
|
-
|
|
355
|
+
nodes: unknown | null;
|
|
356
356
|
useRls: boolean | null;
|
|
357
|
-
nodeData: unknown | null;
|
|
358
357
|
fields: unknown[] | null;
|
|
359
358
|
grantRoles: string[] | null;
|
|
360
359
|
grantPrivileges: unknown[] | null;
|
|
@@ -384,8 +383,7 @@ export interface RelationProvision {
|
|
|
384
383
|
useCompositeKey: boolean | null;
|
|
385
384
|
createIndex: boolean | null;
|
|
386
385
|
exposeInApi: boolean | null;
|
|
387
|
-
|
|
388
|
-
nodeData: unknown | null;
|
|
386
|
+
nodes: unknown | null;
|
|
389
387
|
grantRoles: string[] | null;
|
|
390
388
|
grantPrivileges: unknown[] | null;
|
|
391
389
|
policyType: string | null;
|
|
@@ -814,11 +812,6 @@ export interface Blueprint {
|
|
|
814
812
|
description: string | null;
|
|
815
813
|
definition: unknown | null;
|
|
816
814
|
templateId: string | null;
|
|
817
|
-
status: string | null;
|
|
818
|
-
constructedAt: string | null;
|
|
819
|
-
errorDetails: string | null;
|
|
820
|
-
refMap: unknown | null;
|
|
821
|
-
constructedDefinition: unknown | null;
|
|
822
815
|
definitionHash: string | null;
|
|
823
816
|
tableHashes: unknown | null;
|
|
824
817
|
createdAt: string | null;
|
|
@@ -846,6 +839,37 @@ export interface BlueprintTemplate {
|
|
|
846
839
|
createdAt: string | null;
|
|
847
840
|
updatedAt: string | null;
|
|
848
841
|
}
|
|
842
|
+
export interface BlueprintConstruction {
|
|
843
|
+
id: string | null;
|
|
844
|
+
blueprintId: string | null;
|
|
845
|
+
databaseId: string | null;
|
|
846
|
+
schemaId: string | null;
|
|
847
|
+
status: string | null;
|
|
848
|
+
errorDetails: string | null;
|
|
849
|
+
tableMap: unknown | null;
|
|
850
|
+
constructedDefinition: unknown | null;
|
|
851
|
+
constructedAt: string | null;
|
|
852
|
+
createdAt: string | null;
|
|
853
|
+
updatedAt: string | null;
|
|
854
|
+
}
|
|
855
|
+
export interface StorageModule {
|
|
856
|
+
id: string | null;
|
|
857
|
+
databaseId: string | null;
|
|
858
|
+
schemaId: string | null;
|
|
859
|
+
privateSchemaId: string | null;
|
|
860
|
+
bucketsTableId: string | null;
|
|
861
|
+
filesTableId: string | null;
|
|
862
|
+
uploadRequestsTableId: string | null;
|
|
863
|
+
bucketsTableName: string | null;
|
|
864
|
+
filesTableName: string | null;
|
|
865
|
+
uploadRequestsTableName: string | null;
|
|
866
|
+
entityTableId: string | null;
|
|
867
|
+
uploadUrlExpirySeconds: number | null;
|
|
868
|
+
downloadUrlExpirySeconds: number | null;
|
|
869
|
+
defaultMaxFileSize: string | null;
|
|
870
|
+
maxFilenameLength: number | null;
|
|
871
|
+
cacheTtlSeconds: number | null;
|
|
872
|
+
}
|
|
849
873
|
export interface DatabaseProvisionModule {
|
|
850
874
|
id: string | null;
|
|
851
875
|
databaseName: string | null;
|
|
@@ -1122,11 +1146,6 @@ export interface RoleType {
|
|
|
1122
1146
|
id: number | null;
|
|
1123
1147
|
name: string | null;
|
|
1124
1148
|
}
|
|
1125
|
-
export interface MigrateFile {
|
|
1126
|
-
id: string | null;
|
|
1127
|
-
databaseId: string | null;
|
|
1128
|
-
upload: ConstructiveInternalTypeUpload | null;
|
|
1129
|
-
}
|
|
1130
1149
|
export interface AppLimitDefault {
|
|
1131
1150
|
id: string | null;
|
|
1132
1151
|
name: string | null;
|
|
@@ -1137,6 +1156,11 @@ export interface OrgLimitDefault {
|
|
|
1137
1156
|
name: string | null;
|
|
1138
1157
|
max: number | null;
|
|
1139
1158
|
}
|
|
1159
|
+
export interface MigrateFile {
|
|
1160
|
+
id: string | null;
|
|
1161
|
+
databaseId: string | null;
|
|
1162
|
+
upload: ConstructiveInternalTypeUpload | null;
|
|
1163
|
+
}
|
|
1140
1164
|
export interface MembershipType {
|
|
1141
1165
|
id: number | null;
|
|
1142
1166
|
name: string | null;
|