@constructive-sdk/cli 0.12.16 → 0.12.17

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.
Files changed (73) hide show
  1. package/esm/public/cli/commands/blueprint-construction.d.ts +8 -0
  2. package/esm/public/cli/commands/blueprint-construction.js +392 -0
  3. package/esm/public/cli/commands/blueprint.js +0 -110
  4. package/esm/public/cli/commands/construct-blueprint.js +1 -1
  5. package/esm/public/cli/commands/provision-full-text-search.d.ts +8 -0
  6. package/esm/public/cli/commands/provision-full-text-search.js +34 -0
  7. package/esm/public/cli/commands/provision-index.d.ts +8 -0
  8. package/esm/public/cli/commands/provision-index.js +34 -0
  9. package/esm/public/cli/commands/provision-relation.d.ts +8 -0
  10. package/esm/public/cli/commands/provision-relation.js +34 -0
  11. package/esm/public/cli/commands/provision-table.d.ts +8 -0
  12. package/esm/public/cli/commands/provision-table.js +34 -0
  13. package/esm/public/cli/commands/provision-unique-constraint.d.ts +8 -0
  14. package/esm/public/cli/commands/provision-unique-constraint.js +34 -0
  15. package/esm/public/cli/commands/relation-provision.js +12 -34
  16. package/esm/public/cli/commands/resolve-blueprint-table.d.ts +8 -0
  17. package/esm/public/cli/commands/resolve-blueprint-table.js +48 -0
  18. package/esm/public/cli/commands/secure-table-provision.js +14 -36
  19. package/esm/public/cli/commands/storage-module.d.ts +8 -0
  20. package/esm/public/cli/commands/storage-module.js +536 -0
  21. package/esm/public/cli/commands.js +27 -11
  22. package/esm/public/cli/executor.d.ts +49 -17
  23. package/esm/public/orm/index.d.ts +53 -19
  24. package/esm/public/orm/index.js +8 -4
  25. package/esm/public/orm/input-types.d.ts +886 -249
  26. package/esm/public/orm/input-types.js +5 -0
  27. package/esm/public/orm/models/blueprintConstruction.d.ts +56 -0
  28. package/esm/public/orm/models/blueprintConstruction.js +96 -0
  29. package/esm/public/orm/models/index.d.ts +4 -2
  30. package/esm/public/orm/models/index.js +4 -2
  31. package/esm/public/orm/models/storageModule.d.ts +56 -0
  32. package/esm/public/orm/models/storageModule.js +96 -0
  33. package/esm/public/orm/mutation/index.d.ts +86 -26
  34. package/esm/public/orm/mutation/index.js +96 -36
  35. package/esm/public/orm/query/index.d.ts +16 -0
  36. package/esm/public/orm/query/index.js +28 -0
  37. package/package.json +2 -2
  38. package/public/cli/commands/blueprint-construction.d.ts +8 -0
  39. package/public/cli/commands/blueprint-construction.js +394 -0
  40. package/public/cli/commands/blueprint.js +0 -110
  41. package/public/cli/commands/construct-blueprint.js +1 -1
  42. package/public/cli/commands/provision-full-text-search.d.ts +8 -0
  43. package/public/cli/commands/provision-full-text-search.js +36 -0
  44. package/public/cli/commands/provision-index.d.ts +8 -0
  45. package/public/cli/commands/provision-index.js +36 -0
  46. package/public/cli/commands/provision-relation.d.ts +8 -0
  47. package/public/cli/commands/provision-relation.js +36 -0
  48. package/public/cli/commands/provision-table.d.ts +8 -0
  49. package/public/cli/commands/provision-table.js +36 -0
  50. package/public/cli/commands/provision-unique-constraint.d.ts +8 -0
  51. package/public/cli/commands/provision-unique-constraint.js +36 -0
  52. package/public/cli/commands/relation-provision.js +12 -34
  53. package/public/cli/commands/resolve-blueprint-table.d.ts +8 -0
  54. package/public/cli/commands/resolve-blueprint-table.js +50 -0
  55. package/public/cli/commands/secure-table-provision.js +14 -36
  56. package/public/cli/commands/storage-module.d.ts +8 -0
  57. package/public/cli/commands/storage-module.js +538 -0
  58. package/public/cli/commands.js +27 -11
  59. package/public/cli/executor.d.ts +49 -17
  60. package/public/orm/index.d.ts +53 -19
  61. package/public/orm/index.js +8 -4
  62. package/public/orm/input-types.d.ts +886 -249
  63. package/public/orm/input-types.js +5 -0
  64. package/public/orm/models/blueprintConstruction.d.ts +56 -0
  65. package/public/orm/models/blueprintConstruction.js +100 -0
  66. package/public/orm/models/index.d.ts +4 -2
  67. package/public/orm/models/index.js +11 -7
  68. package/public/orm/models/storageModule.d.ts +56 -0
  69. package/public/orm/models/storageModule.js +100 -0
  70. package/public/orm/mutation/index.d.ts +86 -26
  71. package/public/orm/mutation/index.js +96 -36
  72. package/public/orm/query/index.d.ts +16 -0
  73. package/public/orm/query/index.js +28 -0
@@ -237,10 +237,6 @@ export type ConstructiveInternalTypeImage = unknown;
237
237
  export type ConstructiveInternalTypeOrigin = unknown;
238
238
  export type ConstructiveInternalTypeUpload = unknown;
239
239
  export type ConstructiveInternalTypeUrl = unknown;
240
- export interface GetAllRecord {
241
- path?: string[] | null;
242
- data?: Record<string, unknown> | null;
243
- }
244
240
  export interface OrgGetManagersRecord {
245
241
  userId?: string | null;
246
242
  depth?: number | null;
@@ -249,6 +245,10 @@ export interface OrgGetSubordinatesRecord {
249
245
  userId?: string | null;
250
246
  depth?: number | null;
251
247
  }
248
+ export interface GetAllRecord {
249
+ path?: string[] | null;
250
+ data?: Record<string, unknown> | null;
251
+ }
252
252
  export interface Object {
253
253
  hashUuid?: string | null;
254
254
  id: string;
@@ -592,7 +592,7 @@ export interface TableTemplateModule {
592
592
  nodeType?: string | null;
593
593
  data?: Record<string, unknown> | null;
594
594
  }
595
- /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via node_type, (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */
595
+ /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */
596
596
  export interface SecureTableProvision {
597
597
  /** Unique identifier for this provision row. */
598
598
  id: string;
@@ -604,12 +604,10 @@ export interface SecureTableProvision {
604
604
  tableId?: string | null;
605
605
  /** Name of the target table. Used to create or look up the table when table_id is not provided. If omitted, it is backfilled from the resolved table. */
606
606
  tableName?: string | null;
607
- /** Which generator to invoke for field creation. One of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. NULL means no field creation the row only provisions grants and/or policies. */
608
- nodeType?: string | null;
607
+ /** Array of node objects to apply to the table. Each element is a jsonb object with a required "$type" key (one of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete, DataEmbedding, DataFullTextSearch, DataSlug, etc.) and an optional "data" key containing generator-specific configuration. Supports multiple nodes per row, matching the blueprint definition format. Example: [{"$type": "DataId"}, {"$type": "DataTimestamps"}, {"$type": "DataDirectOwner", "data": {"owner_field_name": "author_id"}}]. Defaults to '[]' (no node processing). */
608
+ nodes?: Record<string, unknown> | null;
609
609
  /** If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. */
610
610
  useRls?: boolean | null;
611
- /** Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table, create_index (boolean, default true) to create btree indexes on FK fields for join and cascade performance. Defaults to '{}'. */
612
- nodeData?: Record<string, unknown> | null;
613
611
  /** PostgreSQL array of jsonb field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional), "index" (boolean, optional, defaults to false — creates a btree index on the field). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: ARRAY['{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"}'::jsonb, '{"name":"score","type":"integer","min":0,"max":100}'::jsonb]. Defaults to '{}' (no additional fields). */
614
612
  fields?: Record<string, unknown>[] | null;
615
613
  /** Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. */
@@ -628,7 +626,7 @@ export interface SecureTableProvision {
628
626
  policyName?: string | null;
629
627
  /** Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. */
630
628
  policyData?: Record<string, unknown> | null;
631
- /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's generator. NULL when node_type is NULL or before the trigger runs. Callers should not set this directly. */
629
+ /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's nodes. NULL when nodes is empty or before the trigger runs. Callers should not set this directly. */
632
630
  outFields?: string[] | null;
633
631
  }
634
632
  /**
@@ -740,22 +738,12 @@ export interface RelationProvision {
740
738
  */
741
739
  exposeInApi?: boolean | null;
742
740
  /**
743
- * For RelationManyToMany: which generator to invoke for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value.
744
- * Examples: DataId (creates UUID primary key), DataDirectOwner (creates owner_id field), DataEntityMembership (creates entity_id field), DataOwnershipInEntity (creates both owner_id and entity_id), DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete.
745
- * NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true).
746
- * Ignored for RelationBelongsTo/RelationHasOne.
747
- */
748
- nodeType?: string | null;
749
- /**
750
- * For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value.
751
- * Only used when node_type is set. Structure varies by node_type. Examples:
752
- * - DataId: {"field_name": "id"} (default field name is 'id')
753
- * - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true}
754
- * - DataDirectOwner: {"owner_field_name": "owner_id"}
755
- * Defaults to '{}' (empty object).
756
- * Ignored for RelationBelongsTo/RelationHasOne.
741
+ * For RelationManyToMany: array of node objects to apply to the junction table. Each element is a jsonb object with a required "$type" key and an optional "data" key. Forwarded to provision_table as-is. The trigger does not interpret or validate this value.
742
+ * Examples: [{"$type": "DataId"}, {"$type": "DataTimestamps"}, {"$type": "DataDirectOwner", "data": {"owner_field_name": "author_id"}}].
743
+ * Defaults to '[]' (no node processing beyond the FK fields and composite key if use_composite_key is true).
744
+ * Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany.
757
745
  */
758
- nodeData?: Record<string, unknown> | null;
746
+ nodes?: Record<string, unknown> | null;
759
747
  /** For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. */
760
748
  grantRoles?: string[] | null;
761
749
  /** For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: PostgreSQL array of jsonb [privilege, columns] tuples. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns. Defaults to '{}' (no grants — callers must explicitly specify privileges). Ignored for RelationBelongsTo/RelationHasOne. */
@@ -1263,7 +1251,7 @@ export interface UsersModule {
1263
1251
  typeTableId?: string | null;
1264
1252
  typeTableName?: string | null;
1265
1253
  }
1266
- /** 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. */
1254
+ /** An owned, editable 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 at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build. */
1267
1255
  export interface Blueprint {
1268
1256
  /** Unique identifier for this blueprint. */
1269
1257
  id: string;
@@ -1277,23 +1265,13 @@ export interface Blueprint {
1277
1265
  displayName?: string | null;
1278
1266
  /** Optional description of the blueprint. */
1279
1267
  description?: string | null;
1280
- /** The blueprint definition as a JSONB document. Same format as blueprint_template.definition: contains tables[] (with nodes[], fields[], grants[], policies[] using $type) and relations[] (using $type). This is a mutable copy that the owner can customize before executing. */
1268
+ /** The blueprint definition as a JSONB document. Contains tables[] (each with table_name, optional schema_name, nodes[] for data behaviors, fields[], grants[], and policies[] using $type), relations[] (using $type with source_table/target_table and optional source_schema/target_schema), indexes[] (using table_name + column), and full_text_searches[] (using table_name + field + sources[]). Everything is name-based — no UUIDs in the definition. */
1281
1269
  definition?: Record<string, unknown> | null;
1282
1270
  /** If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. */
1283
1271
  templateId?: string | null;
1284
- /** Execution state of the blueprint. draft: not yet executed (definition can still be modified). constructed: successfully executed via construct_blueprint(). failed: execution failed (see error_details). Defaults to draft. */
1285
- status?: string | null;
1286
- /** Timestamp when construct_blueprint() successfully completed. NULL until constructed. */
1287
- constructedAt?: string | null;
1288
- /** Error message from the most recent failed construct_blueprint() attempt. NULL unless status is failed. */
1289
- errorDetails?: string | null;
1290
- /** Mapping of ref names to created table UUIDs, populated by construct_blueprint() after successful execution. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. */
1291
- refMap?: Record<string, unknown> | null;
1292
- /** Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the definition for re-execution. NULL until constructed. */
1293
- constructedDefinition?: Record<string, unknown> | null;
1294
1272
  /** UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. */
1295
1273
  definitionHash?: string | null;
1296
- /** JSONB map of table ref names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. */
1274
+ /** JSONB map of table names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. */
1297
1275
  tableHashes?: Record<string, unknown> | null;
1298
1276
  /** Timestamp when this blueprint was created. */
1299
1277
  createdAt?: string | null;
@@ -1343,6 +1321,49 @@ export interface BlueprintTemplate {
1343
1321
  /** Timestamp when this template was last modified. */
1344
1322
  updatedAt?: string | null;
1345
1323
  }
1324
+ /** Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts. */
1325
+ export interface BlueprintConstruction {
1326
+ /** Unique identifier for this construction attempt. */
1327
+ id: string;
1328
+ /** The blueprint that was constructed. */
1329
+ blueprintId?: string | null;
1330
+ /** The database the blueprint was constructed into. */
1331
+ databaseId?: string | null;
1332
+ /** The default schema used for tables that did not specify an explicit schema_name. NULL if not yet resolved. */
1333
+ schemaId?: string | null;
1334
+ /** Execution state of this construction attempt. pending: created but not yet started. constructing: currently executing. constructed: successfully completed. failed: execution failed (see error_details). */
1335
+ status?: string | null;
1336
+ /** Error message from a failed construction attempt. NULL unless status is failed. */
1337
+ errorDetails?: string | null;
1338
+ /** Mapping of table names to created table UUIDs, populated after successful construction. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. */
1339
+ tableMap?: Record<string, unknown> | null;
1340
+ /** Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the blueprint definition. */
1341
+ constructedDefinition?: Record<string, unknown> | null;
1342
+ /** Timestamp when construction successfully completed. NULL until constructed. */
1343
+ constructedAt?: string | null;
1344
+ /** Timestamp when this construction attempt was created. */
1345
+ createdAt?: string | null;
1346
+ /** Timestamp when this construction attempt was last modified. */
1347
+ updatedAt?: string | null;
1348
+ }
1349
+ export interface StorageModule {
1350
+ id: string;
1351
+ databaseId?: string | null;
1352
+ schemaId?: string | null;
1353
+ privateSchemaId?: string | null;
1354
+ bucketsTableId?: string | null;
1355
+ filesTableId?: string | null;
1356
+ uploadRequestsTableId?: string | null;
1357
+ bucketsTableName?: string | null;
1358
+ filesTableName?: string | null;
1359
+ uploadRequestsTableName?: string | null;
1360
+ entityTableId?: string | null;
1361
+ uploadUrlExpirySeconds?: number | null;
1362
+ downloadUrlExpirySeconds?: number | null;
1363
+ defaultMaxFileSize?: string | null;
1364
+ maxFilenameLength?: number | null;
1365
+ cacheTtlSeconds?: number | null;
1366
+ }
1346
1367
  /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */
1347
1368
  export interface DatabaseProvisionModule {
1348
1369
  id: string;
@@ -1771,11 +1792,6 @@ export interface RoleType {
1771
1792
  id: number;
1772
1793
  name?: string | null;
1773
1794
  }
1774
- export interface MigrateFile {
1775
- id: string;
1776
- databaseId?: string | null;
1777
- upload?: ConstructiveInternalTypeUpload | null;
1778
- }
1779
1795
  /** Default maximum values for each named limit, applied when no per-actor override exists */
1780
1796
  export interface AppLimitDefault {
1781
1797
  id: string;
@@ -1792,6 +1808,11 @@ export interface OrgLimitDefault {
1792
1808
  /** Default maximum usage allowed for this limit */
1793
1809
  max?: number | null;
1794
1810
  }
1811
+ export interface MigrateFile {
1812
+ id: string;
1813
+ databaseId?: string | null;
1814
+ upload?: ConstructiveInternalTypeUpload | null;
1815
+ }
1795
1816
  /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
1796
1817
  export interface MembershipType {
1797
1818
  /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
@@ -1994,12 +2015,12 @@ export interface PageInfo {
1994
2015
  startCursor?: string | null;
1995
2016
  endCursor?: string | null;
1996
2017
  }
1997
- export interface GetAllRecordRelations {
1998
- }
1999
2018
  export interface OrgGetManagersRecordRelations {
2000
2019
  }
2001
2020
  export interface OrgGetSubordinatesRecordRelations {
2002
2021
  }
2022
+ export interface GetAllRecordRelations {
2023
+ }
2003
2024
  export interface ObjectRelations {
2004
2025
  }
2005
2026
  export interface AppPermissionRelations {
@@ -2065,6 +2086,8 @@ export interface DatabaseRelations {
2065
2086
  secureTableProvisions?: ConnectionResult<SecureTableProvision>;
2066
2087
  relationProvisions?: ConnectionResult<RelationProvision>;
2067
2088
  blueprints?: ConnectionResult<Blueprint>;
2089
+ blueprintConstructions?: ConnectionResult<BlueprintConstruction>;
2090
+ storageModules?: ConnectionResult<StorageModule>;
2068
2091
  databaseProvisionModules?: ConnectionResult<DatabaseProvisionModule>;
2069
2092
  }
2070
2093
  export interface SchemaRelations {
@@ -2406,12 +2429,26 @@ export interface UsersModuleRelations {
2406
2429
  export interface BlueprintRelations {
2407
2430
  database?: Database | null;
2408
2431
  template?: BlueprintTemplate | null;
2432
+ blueprintConstructions?: ConnectionResult<BlueprintConstruction>;
2409
2433
  }
2410
2434
  export interface BlueprintTemplateRelations {
2411
2435
  forkedFrom?: BlueprintTemplate | null;
2412
2436
  blueprintTemplatesByForkedFromId?: ConnectionResult<BlueprintTemplate>;
2413
2437
  blueprintsByTemplateId?: ConnectionResult<Blueprint>;
2414
2438
  }
2439
+ export interface BlueprintConstructionRelations {
2440
+ blueprint?: Blueprint | null;
2441
+ database?: Database | null;
2442
+ }
2443
+ export interface StorageModuleRelations {
2444
+ bucketsTable?: Table | null;
2445
+ database?: Database | null;
2446
+ entityTable?: Table | null;
2447
+ filesTable?: Table | null;
2448
+ privateSchema?: Schema | null;
2449
+ schema?: Schema | null;
2450
+ uploadRequestsTable?: Table | null;
2451
+ }
2415
2452
  export interface DatabaseProvisionModuleRelations {
2416
2453
  database?: Database | null;
2417
2454
  }
@@ -2520,12 +2557,12 @@ export interface AppPermissionDefaultRelations {
2520
2557
  }
2521
2558
  export interface RoleTypeRelations {
2522
2559
  }
2523
- export interface MigrateFileRelations {
2524
- }
2525
2560
  export interface AppLimitDefaultRelations {
2526
2561
  }
2527
2562
  export interface OrgLimitDefaultRelations {
2528
2563
  }
2564
+ export interface MigrateFileRelations {
2565
+ }
2529
2566
  export interface MembershipTypeRelations {
2530
2567
  }
2531
2568
  export interface CommitRelations {
@@ -2615,9 +2652,9 @@ export interface HierarchyModuleRelations {
2615
2652
  schema?: Schema | null;
2616
2653
  usersTable?: Table | null;
2617
2654
  }
2618
- export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations;
2619
2655
  export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & OrgGetManagersRecordRelations;
2620
2656
  export type OrgGetSubordinatesRecordWithRelations = OrgGetSubordinatesRecord & OrgGetSubordinatesRecordRelations;
2657
+ export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations;
2621
2658
  export type ObjectWithRelations = Object & ObjectRelations;
2622
2659
  export type AppPermissionWithRelations = AppPermission & AppPermissionRelations;
2623
2660
  export type OrgPermissionWithRelations = OrgPermission & OrgPermissionRelations;
@@ -2678,6 +2715,8 @@ export type UserAuthModuleWithRelations = UserAuthModule & UserAuthModuleRelatio
2678
2715
  export type UsersModuleWithRelations = UsersModule & UsersModuleRelations;
2679
2716
  export type BlueprintWithRelations = Blueprint & BlueprintRelations;
2680
2717
  export type BlueprintTemplateWithRelations = BlueprintTemplate & BlueprintTemplateRelations;
2718
+ export type BlueprintConstructionWithRelations = BlueprintConstruction & BlueprintConstructionRelations;
2719
+ export type StorageModuleWithRelations = StorageModule & StorageModuleRelations;
2681
2720
  export type DatabaseProvisionModuleWithRelations = DatabaseProvisionModule & DatabaseProvisionModuleRelations;
2682
2721
  export type AppAdminGrantWithRelations = AppAdminGrant & AppAdminGrantRelations;
2683
2722
  export type AppOwnerGrantWithRelations = AppOwnerGrant & AppOwnerGrantRelations;
@@ -2708,9 +2747,9 @@ export type RefWithRelations = Ref & RefRelations;
2708
2747
  export type StoreWithRelations = Store & StoreRelations;
2709
2748
  export type AppPermissionDefaultWithRelations = AppPermissionDefault & AppPermissionDefaultRelations;
2710
2749
  export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
2711
- export type MigrateFileWithRelations = MigrateFile & MigrateFileRelations;
2712
2750
  export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations;
2713
2751
  export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
2752
+ export type MigrateFileWithRelations = MigrateFile & MigrateFileRelations;
2714
2753
  export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
2715
2754
  export type CommitWithRelations = Commit & CommitRelations;
2716
2755
  export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations;
@@ -2722,10 +2761,6 @@ export type UserWithRelations = User & UserRelations;
2722
2761
  export type AstMigrationWithRelations = AstMigration & AstMigrationRelations;
2723
2762
  export type AppMembershipWithRelations = AppMembership & AppMembershipRelations;
2724
2763
  export type HierarchyModuleWithRelations = HierarchyModule & HierarchyModuleRelations;
2725
- export type GetAllRecordSelect = {
2726
- path?: boolean;
2727
- data?: boolean;
2728
- };
2729
2764
  export type OrgGetManagersRecordSelect = {
2730
2765
  userId?: boolean;
2731
2766
  depth?: boolean;
@@ -2734,6 +2769,10 @@ export type OrgGetSubordinatesRecordSelect = {
2734
2769
  userId?: boolean;
2735
2770
  depth?: boolean;
2736
2771
  };
2772
+ export type GetAllRecordSelect = {
2773
+ path?: boolean;
2774
+ data?: boolean;
2775
+ };
2737
2776
  export type ObjectSelect = {
2738
2777
  hashUuid?: boolean;
2739
2778
  id?: boolean;
@@ -3104,6 +3143,18 @@ export type DatabaseSelect = {
3104
3143
  filter?: BlueprintFilter;
3105
3144
  orderBy?: BlueprintOrderBy[];
3106
3145
  };
3146
+ blueprintConstructions?: {
3147
+ select: BlueprintConstructionSelect;
3148
+ first?: number;
3149
+ filter?: BlueprintConstructionFilter;
3150
+ orderBy?: BlueprintConstructionOrderBy[];
3151
+ };
3152
+ storageModules?: {
3153
+ select: StorageModuleSelect;
3154
+ first?: number;
3155
+ filter?: StorageModuleFilter;
3156
+ orderBy?: StorageModuleOrderBy[];
3157
+ };
3107
3158
  databaseProvisionModules?: {
3108
3159
  select: DatabaseProvisionModuleSelect;
3109
3160
  first?: number;
@@ -3708,9 +3759,8 @@ export type SecureTableProvisionSelect = {
3708
3759
  schemaId?: boolean;
3709
3760
  tableId?: boolean;
3710
3761
  tableName?: boolean;
3711
- nodeType?: boolean;
3762
+ nodes?: boolean;
3712
3763
  useRls?: boolean;
3713
- nodeData?: boolean;
3714
3764
  fields?: boolean;
3715
3765
  grantRoles?: boolean;
3716
3766
  grantPrivileges?: boolean;
@@ -3749,8 +3799,7 @@ export type RelationProvisionSelect = {
3749
3799
  useCompositeKey?: boolean;
3750
3800
  createIndex?: boolean;
3751
3801
  exposeInApi?: boolean;
3752
- nodeType?: boolean;
3753
- nodeData?: boolean;
3802
+ nodes?: boolean;
3754
3803
  grantRoles?: boolean;
3755
3804
  grantPrivileges?: boolean;
3756
3805
  policyType?: boolean;
@@ -4659,11 +4708,6 @@ export type BlueprintSelect = {
4659
4708
  description?: boolean;
4660
4709
  definition?: boolean;
4661
4710
  templateId?: boolean;
4662
- status?: boolean;
4663
- constructedAt?: boolean;
4664
- errorDetails?: boolean;
4665
- refMap?: boolean;
4666
- constructedDefinition?: boolean;
4667
4711
  definitionHash?: boolean;
4668
4712
  tableHashes?: boolean;
4669
4713
  createdAt?: boolean;
@@ -4674,6 +4718,12 @@ export type BlueprintSelect = {
4674
4718
  template?: {
4675
4719
  select: BlueprintTemplateSelect;
4676
4720
  };
4721
+ blueprintConstructions?: {
4722
+ select: BlueprintConstructionSelect;
4723
+ first?: number;
4724
+ filter?: BlueprintConstructionFilter;
4725
+ orderBy?: BlueprintConstructionOrderBy[];
4726
+ };
4677
4727
  };
4678
4728
  export type BlueprintTemplateSelect = {
4679
4729
  id?: boolean;
@@ -4712,6 +4762,64 @@ export type BlueprintTemplateSelect = {
4712
4762
  orderBy?: BlueprintOrderBy[];
4713
4763
  };
4714
4764
  };
4765
+ export type BlueprintConstructionSelect = {
4766
+ id?: boolean;
4767
+ blueprintId?: boolean;
4768
+ databaseId?: boolean;
4769
+ schemaId?: boolean;
4770
+ status?: boolean;
4771
+ errorDetails?: boolean;
4772
+ tableMap?: boolean;
4773
+ constructedDefinition?: boolean;
4774
+ constructedAt?: boolean;
4775
+ createdAt?: boolean;
4776
+ updatedAt?: boolean;
4777
+ blueprint?: {
4778
+ select: BlueprintSelect;
4779
+ };
4780
+ database?: {
4781
+ select: DatabaseSelect;
4782
+ };
4783
+ };
4784
+ export type StorageModuleSelect = {
4785
+ id?: boolean;
4786
+ databaseId?: boolean;
4787
+ schemaId?: boolean;
4788
+ privateSchemaId?: boolean;
4789
+ bucketsTableId?: boolean;
4790
+ filesTableId?: boolean;
4791
+ uploadRequestsTableId?: boolean;
4792
+ bucketsTableName?: boolean;
4793
+ filesTableName?: boolean;
4794
+ uploadRequestsTableName?: boolean;
4795
+ entityTableId?: boolean;
4796
+ uploadUrlExpirySeconds?: boolean;
4797
+ downloadUrlExpirySeconds?: boolean;
4798
+ defaultMaxFileSize?: boolean;
4799
+ maxFilenameLength?: boolean;
4800
+ cacheTtlSeconds?: boolean;
4801
+ bucketsTable?: {
4802
+ select: TableSelect;
4803
+ };
4804
+ database?: {
4805
+ select: DatabaseSelect;
4806
+ };
4807
+ entityTable?: {
4808
+ select: TableSelect;
4809
+ };
4810
+ filesTable?: {
4811
+ select: TableSelect;
4812
+ };
4813
+ privateSchema?: {
4814
+ select: SchemaSelect;
4815
+ };
4816
+ schema?: {
4817
+ select: SchemaSelect;
4818
+ };
4819
+ uploadRequestsTable?: {
4820
+ select: TableSelect;
4821
+ };
4822
+ };
4715
4823
  export type DatabaseProvisionModuleSelect = {
4716
4824
  id?: boolean;
4717
4825
  databaseName?: boolean;
@@ -5132,11 +5240,6 @@ export type RoleTypeSelect = {
5132
5240
  id?: boolean;
5133
5241
  name?: boolean;
5134
5242
  };
5135
- export type MigrateFileSelect = {
5136
- id?: boolean;
5137
- databaseId?: boolean;
5138
- upload?: boolean;
5139
- };
5140
5243
  export type AppLimitDefaultSelect = {
5141
5244
  id?: boolean;
5142
5245
  name?: boolean;
@@ -5147,6 +5250,11 @@ export type OrgLimitDefaultSelect = {
5147
5250
  name?: boolean;
5148
5251
  max?: boolean;
5149
5252
  };
5253
+ export type MigrateFileSelect = {
5254
+ id?: boolean;
5255
+ databaseId?: boolean;
5256
+ upload?: boolean;
5257
+ };
5150
5258
  export type MembershipTypeSelect = {
5151
5259
  id?: boolean;
5152
5260
  name?: boolean;
@@ -5638,13 +5746,6 @@ export type HierarchyModuleSelect = {
5638
5746
  select: TableSelect;
5639
5747
  };
5640
5748
  };
5641
- export interface GetAllRecordFilter {
5642
- path?: StringListFilter;
5643
- data?: JSONFilter;
5644
- and?: GetAllRecordFilter[];
5645
- or?: GetAllRecordFilter[];
5646
- not?: GetAllRecordFilter;
5647
- }
5648
5749
  export interface OrgGetManagersRecordFilter {
5649
5750
  userId?: UUIDFilter;
5650
5751
  depth?: IntFilter;
@@ -5659,6 +5760,13 @@ export interface OrgGetSubordinatesRecordFilter {
5659
5760
  or?: OrgGetSubordinatesRecordFilter[];
5660
5761
  not?: OrgGetSubordinatesRecordFilter;
5661
5762
  }
5763
+ export interface GetAllRecordFilter {
5764
+ path?: StringListFilter;
5765
+ data?: JSONFilter;
5766
+ and?: GetAllRecordFilter[];
5767
+ or?: GetAllRecordFilter[];
5768
+ not?: GetAllRecordFilter;
5769
+ }
5662
5770
  export interface ObjectFilter {
5663
5771
  /** Filter by the object’s `id` field. */
5664
5772
  id?: UUIDFilter;
@@ -5988,6 +6096,14 @@ export interface DatabaseFilter {
5988
6096
  blueprints?: DatabaseToManyBlueprintFilter;
5989
6097
  /** `blueprints` exist. */
5990
6098
  blueprintsExist?: boolean;
6099
+ /** Filter by the object’s `blueprintConstructions` relation. */
6100
+ blueprintConstructions?: DatabaseToManyBlueprintConstructionFilter;
6101
+ /** `blueprintConstructions` exist. */
6102
+ blueprintConstructionsExist?: boolean;
6103
+ /** Filter by the object’s `storageModules` relation. */
6104
+ storageModules?: DatabaseToManyStorageModuleFilter;
6105
+ /** `storageModules` exist. */
6106
+ storageModulesExist?: boolean;
5991
6107
  /** Filter by the object’s `databaseProvisionModules` relation. */
5992
6108
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
5993
6109
  /** `databaseProvisionModules` exist. */
@@ -6852,12 +6968,10 @@ export interface SecureTableProvisionFilter {
6852
6968
  tableId?: UUIDFilter;
6853
6969
  /** Filter by the object’s `tableName` field. */
6854
6970
  tableName?: StringFilter;
6855
- /** Filter by the object’s `nodeType` field. */
6856
- nodeType?: StringFilter;
6971
+ /** Filter by the object’s `nodes` field. */
6972
+ nodes?: JSONFilter;
6857
6973
  /** Filter by the object’s `useRls` field. */
6858
6974
  useRls?: BooleanFilter;
6859
- /** Filter by the object’s `nodeData` field. */
6860
- nodeData?: JSONFilter;
6861
6975
  /** Filter by the object’s `fields` field. */
6862
6976
  fields?: JSONListFilter;
6863
6977
  /** Filter by the object’s `grantRoles` field. */
@@ -6926,10 +7040,8 @@ export interface RelationProvisionFilter {
6926
7040
  createIndex?: BooleanFilter;
6927
7041
  /** Filter by the object’s `exposeInApi` field. */
6928
7042
  exposeInApi?: BooleanFilter;
6929
- /** Filter by the object’s `nodeType` field. */
6930
- nodeType?: StringFilter;
6931
- /** Filter by the object’s `nodeData` field. */
6932
- nodeData?: JSONFilter;
7043
+ /** Filter by the object’s `nodes` field. */
7044
+ nodes?: JSONFilter;
6933
7045
  /** Filter by the object’s `grantRoles` field. */
6934
7046
  grantRoles?: StringListFilter;
6935
7047
  /** Filter by the object’s `grantPrivileges` field. */
@@ -8258,16 +8370,6 @@ export interface BlueprintFilter {
8258
8370
  definition?: JSONFilter;
8259
8371
  /** Filter by the object’s `templateId` field. */
8260
8372
  templateId?: UUIDFilter;
8261
- /** Filter by the object’s `status` field. */
8262
- status?: StringFilter;
8263
- /** Filter by the object’s `constructedAt` field. */
8264
- constructedAt?: DatetimeFilter;
8265
- /** Filter by the object’s `errorDetails` field. */
8266
- errorDetails?: StringFilter;
8267
- /** Filter by the object’s `refMap` field. */
8268
- refMap?: JSONFilter;
8269
- /** Filter by the object’s `constructedDefinition` field. */
8270
- constructedDefinition?: JSONFilter;
8271
8373
  /** Filter by the object’s `definitionHash` field. */
8272
8374
  definitionHash?: UUIDFilter;
8273
8375
  /** Filter by the object’s `tableHashes` field. */
@@ -8288,6 +8390,10 @@ export interface BlueprintFilter {
8288
8390
  template?: BlueprintTemplateFilter;
8289
8391
  /** A related `template` exists. */
8290
8392
  templateExists?: boolean;
8393
+ /** Filter by the object’s `blueprintConstructions` relation. */
8394
+ blueprintConstructions?: BlueprintToManyBlueprintConstructionFilter;
8395
+ /** `blueprintConstructions` exist. */
8396
+ blueprintConstructionsExist?: boolean;
8291
8397
  }
8292
8398
  export interface BlueprintTemplateFilter {
8293
8399
  /** Filter by the object’s `id` field. */
@@ -8349,6 +8455,96 @@ export interface BlueprintTemplateFilter {
8349
8455
  /** `blueprintsByTemplateId` exist. */
8350
8456
  blueprintsByTemplateIdExist?: boolean;
8351
8457
  }
8458
+ export interface BlueprintConstructionFilter {
8459
+ /** Filter by the object’s `id` field. */
8460
+ id?: UUIDFilter;
8461
+ /** Filter by the object’s `blueprintId` field. */
8462
+ blueprintId?: UUIDFilter;
8463
+ /** Filter by the object’s `databaseId` field. */
8464
+ databaseId?: UUIDFilter;
8465
+ /** Filter by the object’s `schemaId` field. */
8466
+ schemaId?: UUIDFilter;
8467
+ /** Filter by the object’s `status` field. */
8468
+ status?: StringFilter;
8469
+ /** Filter by the object’s `errorDetails` field. */
8470
+ errorDetails?: StringFilter;
8471
+ /** Filter by the object’s `tableMap` field. */
8472
+ tableMap?: JSONFilter;
8473
+ /** Filter by the object’s `constructedDefinition` field. */
8474
+ constructedDefinition?: JSONFilter;
8475
+ /** Filter by the object’s `constructedAt` field. */
8476
+ constructedAt?: DatetimeFilter;
8477
+ /** Filter by the object’s `createdAt` field. */
8478
+ createdAt?: DatetimeFilter;
8479
+ /** Filter by the object’s `updatedAt` field. */
8480
+ updatedAt?: DatetimeFilter;
8481
+ /** Checks for all expressions in this list. */
8482
+ and?: BlueprintConstructionFilter[];
8483
+ /** Checks for any expressions in this list. */
8484
+ or?: BlueprintConstructionFilter[];
8485
+ /** Negates the expression. */
8486
+ not?: BlueprintConstructionFilter;
8487
+ /** Filter by the object’s `blueprint` relation. */
8488
+ blueprint?: BlueprintFilter;
8489
+ /** Filter by the object’s `database` relation. */
8490
+ database?: DatabaseFilter;
8491
+ }
8492
+ export interface StorageModuleFilter {
8493
+ /** Filter by the object’s `id` field. */
8494
+ id?: UUIDFilter;
8495
+ /** Filter by the object’s `databaseId` field. */
8496
+ databaseId?: UUIDFilter;
8497
+ /** Filter by the object’s `schemaId` field. */
8498
+ schemaId?: UUIDFilter;
8499
+ /** Filter by the object’s `privateSchemaId` field. */
8500
+ privateSchemaId?: UUIDFilter;
8501
+ /** Filter by the object’s `bucketsTableId` field. */
8502
+ bucketsTableId?: UUIDFilter;
8503
+ /** Filter by the object’s `filesTableId` field. */
8504
+ filesTableId?: UUIDFilter;
8505
+ /** Filter by the object’s `uploadRequestsTableId` field. */
8506
+ uploadRequestsTableId?: UUIDFilter;
8507
+ /** Filter by the object’s `bucketsTableName` field. */
8508
+ bucketsTableName?: StringFilter;
8509
+ /** Filter by the object’s `filesTableName` field. */
8510
+ filesTableName?: StringFilter;
8511
+ /** Filter by the object’s `uploadRequestsTableName` field. */
8512
+ uploadRequestsTableName?: StringFilter;
8513
+ /** Filter by the object’s `entityTableId` field. */
8514
+ entityTableId?: UUIDFilter;
8515
+ /** Filter by the object’s `uploadUrlExpirySeconds` field. */
8516
+ uploadUrlExpirySeconds?: IntFilter;
8517
+ /** Filter by the object’s `downloadUrlExpirySeconds` field. */
8518
+ downloadUrlExpirySeconds?: IntFilter;
8519
+ /** Filter by the object’s `defaultMaxFileSize` field. */
8520
+ defaultMaxFileSize?: BigIntFilter;
8521
+ /** Filter by the object’s `maxFilenameLength` field. */
8522
+ maxFilenameLength?: IntFilter;
8523
+ /** Filter by the object’s `cacheTtlSeconds` field. */
8524
+ cacheTtlSeconds?: IntFilter;
8525
+ /** Checks for all expressions in this list. */
8526
+ and?: StorageModuleFilter[];
8527
+ /** Checks for any expressions in this list. */
8528
+ or?: StorageModuleFilter[];
8529
+ /** Negates the expression. */
8530
+ not?: StorageModuleFilter;
8531
+ /** Filter by the object’s `bucketsTable` relation. */
8532
+ bucketsTable?: TableFilter;
8533
+ /** Filter by the object’s `database` relation. */
8534
+ database?: DatabaseFilter;
8535
+ /** Filter by the object’s `entityTable` relation. */
8536
+ entityTable?: TableFilter;
8537
+ /** A related `entityTable` exists. */
8538
+ entityTableExists?: boolean;
8539
+ /** Filter by the object’s `filesTable` relation. */
8540
+ filesTable?: TableFilter;
8541
+ /** Filter by the object’s `privateSchema` relation. */
8542
+ privateSchema?: SchemaFilter;
8543
+ /** Filter by the object’s `schema` relation. */
8544
+ schema?: SchemaFilter;
8545
+ /** Filter by the object’s `uploadRequestsTable` relation. */
8546
+ uploadRequestsTable?: TableFilter;
8547
+ }
8352
8548
  export interface DatabaseProvisionModuleFilter {
8353
8549
  /** Filter by the object’s `id` field. */
8354
8550
  id?: UUIDFilter;
@@ -9143,20 +9339,6 @@ export interface RoleTypeFilter {
9143
9339
  /** Negates the expression. */
9144
9340
  not?: RoleTypeFilter;
9145
9341
  }
9146
- export interface MigrateFileFilter {
9147
- /** Filter by the object’s `id` field. */
9148
- id?: UUIDFilter;
9149
- /** Filter by the object’s `databaseId` field. */
9150
- databaseId?: UUIDFilter;
9151
- /** Filter by the object’s `upload` field. */
9152
- upload?: ConstructiveInternalTypeUploadFilter;
9153
- /** Checks for all expressions in this list. */
9154
- and?: MigrateFileFilter[];
9155
- /** Checks for any expressions in this list. */
9156
- or?: MigrateFileFilter[];
9157
- /** Negates the expression. */
9158
- not?: MigrateFileFilter;
9159
- }
9160
9342
  export interface AppLimitDefaultFilter {
9161
9343
  /** Filter by the object’s `id` field. */
9162
9344
  id?: UUIDFilter;
@@ -9185,6 +9367,20 @@ export interface OrgLimitDefaultFilter {
9185
9367
  /** Negates the expression. */
9186
9368
  not?: OrgLimitDefaultFilter;
9187
9369
  }
9370
+ export interface MigrateFileFilter {
9371
+ /** Filter by the object’s `id` field. */
9372
+ id?: UUIDFilter;
9373
+ /** Filter by the object’s `databaseId` field. */
9374
+ databaseId?: UUIDFilter;
9375
+ /** Filter by the object’s `upload` field. */
9376
+ upload?: ConstructiveInternalTypeUploadFilter;
9377
+ /** Checks for all expressions in this list. */
9378
+ and?: MigrateFileFilter[];
9379
+ /** Checks for any expressions in this list. */
9380
+ or?: MigrateFileFilter[];
9381
+ /** Negates the expression. */
9382
+ not?: MigrateFileFilter;
9383
+ }
9188
9384
  export interface MembershipTypeFilter {
9189
9385
  /** Filter by the object’s `id` field. */
9190
9386
  id?: IntFilter;
@@ -9758,9 +9954,9 @@ export interface HierarchyModuleFilter {
9758
9954
  /** Filter by the object’s `usersTable` relation. */
9759
9955
  usersTable?: TableFilter;
9760
9956
  }
9761
- export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
9762
9957
  export type OrgGetManagersRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
9763
9958
  export type OrgGetSubordinatesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
9959
+ export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
9764
9960
  export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'FRZN_ASC' | 'FRZN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
9765
9961
  export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
9766
9962
  export type OrgPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
@@ -9784,8 +9980,8 @@ export type ViewGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
9784
9980
  export type ViewRuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' | 'ACTION_DESC';
9785
9981
  export type EmbeddingChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
9786
9982
  export type TableTemplateModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC';
9787
- export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'NODE_DATA_ASC' | 'NODE_DATA_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
9788
- export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'NODE_DATA_ASC' | 'NODE_DATA_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
9983
+ export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
9984
+ export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
9789
9985
  export type SchemaGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
9790
9986
  export type DefaultPrivilegeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'OBJECT_TYPE_ASC' | 'OBJECT_TYPE_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
9791
9987
  export type EnumOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'VALUES_ASC' | 'VALUES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
@@ -9819,8 +10015,10 @@ export type SecretsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
9819
10015
  export type SessionsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SESSIONS_DEFAULT_EXPIRATION_ASC' | 'SESSIONS_DEFAULT_EXPIRATION_DESC' | 'SESSIONS_TABLE_ASC' | 'SESSIONS_TABLE_DESC' | 'SESSION_CREDENTIALS_TABLE_ASC' | 'SESSION_CREDENTIALS_TABLE_DESC' | 'AUTH_SETTINGS_TABLE_ASC' | 'AUTH_SETTINGS_TABLE_DESC';
9820
10016
  export type UserAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'EMAILS_TABLE_ID_ASC' | 'EMAILS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SECRETS_TABLE_ID_ASC' | 'SECRETS_TABLE_ID_DESC' | 'ENCRYPTED_TABLE_ID_ASC' | 'ENCRYPTED_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUDITS_TABLE_ID_ASC' | 'AUDITS_TABLE_ID_DESC' | 'AUDITS_TABLE_NAME_ASC' | 'AUDITS_TABLE_NAME_DESC' | 'SIGN_IN_FUNCTION_ASC' | 'SIGN_IN_FUNCTION_DESC' | 'SIGN_UP_FUNCTION_ASC' | 'SIGN_UP_FUNCTION_DESC' | 'SIGN_OUT_FUNCTION_ASC' | 'SIGN_OUT_FUNCTION_DESC' | 'SET_PASSWORD_FUNCTION_ASC' | 'SET_PASSWORD_FUNCTION_DESC' | 'RESET_PASSWORD_FUNCTION_ASC' | 'RESET_PASSWORD_FUNCTION_DESC' | 'FORGOT_PASSWORD_FUNCTION_ASC' | 'FORGOT_PASSWORD_FUNCTION_DESC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_ASC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_DESC' | 'VERIFY_EMAIL_FUNCTION_ASC' | 'VERIFY_EMAIL_FUNCTION_DESC' | 'VERIFY_PASSWORD_FUNCTION_ASC' | 'VERIFY_PASSWORD_FUNCTION_DESC' | 'CHECK_PASSWORD_FUNCTION_ASC' | 'CHECK_PASSWORD_FUNCTION_DESC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_ASC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_DESC' | 'DELETE_ACCOUNT_FUNCTION_ASC' | 'DELETE_ACCOUNT_FUNCTION_DESC' | 'SIGN_IN_ONE_TIME_TOKEN_FUNCTION_ASC' | 'SIGN_IN_ONE_TIME_TOKEN_FUNCTION_DESC' | 'ONE_TIME_TOKEN_FUNCTION_ASC' | 'ONE_TIME_TOKEN_FUNCTION_DESC' | 'EXTEND_TOKEN_EXPIRES_ASC' | 'EXTEND_TOKEN_EXPIRES_DESC';
9821
10017
  export type UsersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'TYPE_TABLE_ID_ASC' | 'TYPE_TABLE_ID_DESC' | 'TYPE_TABLE_NAME_ASC' | 'TYPE_TABLE_NAME_DESC';
9822
- export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'TEMPLATE_ID_ASC' | 'TEMPLATE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'REF_MAP_ASC' | 'REF_MAP_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10018
+ export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'TEMPLATE_ID_ASC' | 'TEMPLATE_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
9823
10019
  export type BlueprintTemplateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'VERSION_ASC' | 'VERSION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC' | 'CATEGORIES_ASC' | 'CATEGORIES_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DEFINITION_SCHEMA_VERSION_ASC' | 'DEFINITION_SCHEMA_VERSION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'COMPLEXITY_ASC' | 'COMPLEXITY_DESC' | 'COPY_COUNT_ASC' | 'COPY_COUNT_DESC' | 'FORK_COUNT_ASC' | 'FORK_COUNT_DESC' | 'FORKED_FROM_ID_ASC' | 'FORKED_FROM_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10020
+ export type BlueprintConstructionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'BLUEPRINT_ID_ASC' | 'BLUEPRINT_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'TABLE_MAP_ASC' | 'TABLE_MAP_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10021
+ export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'BUCKETS_TABLE_ID_ASC' | 'BUCKETS_TABLE_ID_DESC' | 'FILES_TABLE_ID_ASC' | 'FILES_TABLE_ID_DESC' | 'UPLOAD_REQUESTS_TABLE_ID_ASC' | 'UPLOAD_REQUESTS_TABLE_ID_DESC' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'UPLOAD_REQUESTS_TABLE_NAME_ASC' | 'UPLOAD_REQUESTS_TABLE_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'UPLOAD_URL_EXPIRY_SECONDS_ASC' | 'UPLOAD_URL_EXPIRY_SECONDS_DESC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_ASC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_DESC' | 'DEFAULT_MAX_FILE_SIZE_ASC' | 'DEFAULT_MAX_FILE_SIZE_DESC' | 'MAX_FILENAME_LENGTH_ASC' | 'MAX_FILENAME_LENGTH_DESC' | 'CACHE_TTL_SECONDS_ASC' | 'CACHE_TTL_SECONDS_DESC';
9824
10022
  export type DatabaseProvisionModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_NAME_ASC' | 'DATABASE_NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SUBDOMAIN_ASC' | 'SUBDOMAIN_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'MODULES_ASC' | 'MODULES_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'BOOTSTRAP_USER_ASC' | 'BOOTSTRAP_USER_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
9825
10023
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
9826
10024
  export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -9851,9 +10049,9 @@ export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'I
9851
10049
  export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
9852
10050
  export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC';
9853
10051
  export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
9854
- export type MigrateFileOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
9855
10052
  export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
9856
10053
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
10054
+ export type MigrateFileOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
9857
10055
  export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
9858
10056
  export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
9859
10057
  export type AppMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC';
@@ -9865,26 +10063,6 @@ export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | '
9865
10063
  export type AstMigrationOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'REQUIRES_ASC' | 'REQUIRES_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'DEPLOYS_ASC' | 'DEPLOYS_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
9866
10064
  export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
9867
10065
  export type HierarchyModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'CHART_EDGES_TABLE_ID_ASC' | 'CHART_EDGES_TABLE_ID_DESC' | 'CHART_EDGES_TABLE_NAME_ASC' | 'CHART_EDGES_TABLE_NAME_DESC' | 'HIERARCHY_SPRT_TABLE_ID_ASC' | 'HIERARCHY_SPRT_TABLE_ID_DESC' | 'HIERARCHY_SPRT_TABLE_NAME_ASC' | 'HIERARCHY_SPRT_TABLE_NAME_DESC' | 'CHART_EDGE_GRANTS_TABLE_ID_ASC' | 'CHART_EDGE_GRANTS_TABLE_ID_DESC' | 'CHART_EDGE_GRANTS_TABLE_NAME_ASC' | 'CHART_EDGE_GRANTS_TABLE_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'SPRT_TABLE_NAME_ASC' | 'SPRT_TABLE_NAME_DESC' | 'REBUILD_HIERARCHY_FUNCTION_ASC' | 'REBUILD_HIERARCHY_FUNCTION_DESC' | 'GET_SUBORDINATES_FUNCTION_ASC' | 'GET_SUBORDINATES_FUNCTION_DESC' | 'GET_MANAGERS_FUNCTION_ASC' | 'GET_MANAGERS_FUNCTION_DESC' | 'IS_MANAGER_OF_FUNCTION_ASC' | 'IS_MANAGER_OF_FUNCTION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
9868
- export interface CreateGetAllRecordInput {
9869
- clientMutationId?: string;
9870
- getAllRecord: {
9871
- path?: string[];
9872
- data?: Record<string, unknown>;
9873
- };
9874
- }
9875
- export interface GetAllRecordPatch {
9876
- path?: string[] | null;
9877
- data?: Record<string, unknown> | null;
9878
- }
9879
- export interface UpdateGetAllRecordInput {
9880
- clientMutationId?: string;
9881
- id: string;
9882
- getAllRecordPatch: GetAllRecordPatch;
9883
- }
9884
- export interface DeleteGetAllRecordInput {
9885
- clientMutationId?: string;
9886
- id: string;
9887
- }
9888
10066
  export interface CreateOrgGetManagersRecordInput {
9889
10067
  clientMutationId?: string;
9890
10068
  orgGetManagersRecord: {
@@ -9925,6 +10103,26 @@ export interface DeleteOrgGetSubordinatesRecordInput {
9925
10103
  clientMutationId?: string;
9926
10104
  id: string;
9927
10105
  }
10106
+ export interface CreateGetAllRecordInput {
10107
+ clientMutationId?: string;
10108
+ getAllRecord: {
10109
+ path?: string[];
10110
+ data?: Record<string, unknown>;
10111
+ };
10112
+ }
10113
+ export interface GetAllRecordPatch {
10114
+ path?: string[] | null;
10115
+ data?: Record<string, unknown> | null;
10116
+ }
10117
+ export interface UpdateGetAllRecordInput {
10118
+ clientMutationId?: string;
10119
+ id: string;
10120
+ getAllRecordPatch: GetAllRecordPatch;
10121
+ }
10122
+ export interface DeleteGetAllRecordInput {
10123
+ clientMutationId?: string;
10124
+ id: string;
10125
+ }
9928
10126
  export interface CreateObjectInput {
9929
10127
  clientMutationId?: string;
9930
10128
  object: {
@@ -10744,9 +10942,8 @@ export interface CreateSecureTableProvisionInput {
10744
10942
  schemaId?: string;
10745
10943
  tableId?: string;
10746
10944
  tableName?: string;
10747
- nodeType?: string;
10945
+ nodes?: Record<string, unknown>;
10748
10946
  useRls?: boolean;
10749
- nodeData?: Record<string, unknown>;
10750
10947
  fields?: Record<string, unknown>[];
10751
10948
  grantRoles?: string[];
10752
10949
  grantPrivileges?: Record<string, unknown>[];
@@ -10764,9 +10961,8 @@ export interface SecureTableProvisionPatch {
10764
10961
  schemaId?: string | null;
10765
10962
  tableId?: string | null;
10766
10963
  tableName?: string | null;
10767
- nodeType?: string | null;
10964
+ nodes?: Record<string, unknown> | null;
10768
10965
  useRls?: boolean | null;
10769
- nodeData?: Record<string, unknown> | null;
10770
10966
  fields?: Record<string, unknown>[] | null;
10771
10967
  grantRoles?: string[] | null;
10772
10968
  grantPrivileges?: Record<string, unknown>[] | null;
@@ -10806,8 +11002,7 @@ export interface CreateRelationProvisionInput {
10806
11002
  useCompositeKey?: boolean;
10807
11003
  createIndex?: boolean;
10808
11004
  exposeInApi?: boolean;
10809
- nodeType?: string;
10810
- nodeData?: Record<string, unknown>;
11005
+ nodes?: Record<string, unknown>;
10811
11006
  grantRoles?: string[];
10812
11007
  grantPrivileges?: Record<string, unknown>[];
10813
11008
  policyType?: string;
@@ -10839,8 +11034,7 @@ export interface RelationProvisionPatch {
10839
11034
  useCompositeKey?: boolean | null;
10840
11035
  createIndex?: boolean | null;
10841
11036
  exposeInApi?: boolean | null;
10842
- nodeType?: string | null;
10843
- nodeData?: Record<string, unknown> | null;
11037
+ nodes?: Record<string, unknown> | null;
10844
11038
  grantRoles?: string[] | null;
10845
11039
  grantPrivileges?: Record<string, unknown>[] | null;
10846
11040
  policyType?: string | null;
@@ -12009,11 +12203,6 @@ export interface CreateBlueprintInput {
12009
12203
  description?: string;
12010
12204
  definition: Record<string, unknown>;
12011
12205
  templateId?: string;
12012
- status?: string;
12013
- constructedAt?: string;
12014
- errorDetails?: string;
12015
- refMap?: Record<string, unknown>;
12016
- constructedDefinition?: Record<string, unknown>;
12017
12206
  definitionHash?: string;
12018
12207
  tableHashes?: Record<string, unknown>;
12019
12208
  };
@@ -12026,11 +12215,6 @@ export interface BlueprintPatch {
12026
12215
  description?: string | null;
12027
12216
  definition?: Record<string, unknown> | null;
12028
12217
  templateId?: string | null;
12029
- status?: string | null;
12030
- constructedAt?: string | null;
12031
- errorDetails?: string | null;
12032
- refMap?: Record<string, unknown> | null;
12033
- constructedDefinition?: Record<string, unknown> | null;
12034
12218
  definitionHash?: string | null;
12035
12219
  tableHashes?: Record<string, unknown> | null;
12036
12220
  }
@@ -12093,6 +12277,84 @@ export interface DeleteBlueprintTemplateInput {
12093
12277
  clientMutationId?: string;
12094
12278
  id: string;
12095
12279
  }
12280
+ export interface CreateBlueprintConstructionInput {
12281
+ clientMutationId?: string;
12282
+ blueprintConstruction: {
12283
+ blueprintId: string;
12284
+ databaseId: string;
12285
+ schemaId?: string;
12286
+ status?: string;
12287
+ errorDetails?: string;
12288
+ tableMap?: Record<string, unknown>;
12289
+ constructedDefinition?: Record<string, unknown>;
12290
+ constructedAt?: string;
12291
+ };
12292
+ }
12293
+ export interface BlueprintConstructionPatch {
12294
+ blueprintId?: string | null;
12295
+ databaseId?: string | null;
12296
+ schemaId?: string | null;
12297
+ status?: string | null;
12298
+ errorDetails?: string | null;
12299
+ tableMap?: Record<string, unknown> | null;
12300
+ constructedDefinition?: Record<string, unknown> | null;
12301
+ constructedAt?: string | null;
12302
+ }
12303
+ export interface UpdateBlueprintConstructionInput {
12304
+ clientMutationId?: string;
12305
+ id: string;
12306
+ blueprintConstructionPatch: BlueprintConstructionPatch;
12307
+ }
12308
+ export interface DeleteBlueprintConstructionInput {
12309
+ clientMutationId?: string;
12310
+ id: string;
12311
+ }
12312
+ export interface CreateStorageModuleInput {
12313
+ clientMutationId?: string;
12314
+ storageModule: {
12315
+ databaseId: string;
12316
+ schemaId?: string;
12317
+ privateSchemaId?: string;
12318
+ bucketsTableId?: string;
12319
+ filesTableId?: string;
12320
+ uploadRequestsTableId?: string;
12321
+ bucketsTableName?: string;
12322
+ filesTableName?: string;
12323
+ uploadRequestsTableName?: string;
12324
+ entityTableId?: string;
12325
+ uploadUrlExpirySeconds?: number;
12326
+ downloadUrlExpirySeconds?: number;
12327
+ defaultMaxFileSize?: string;
12328
+ maxFilenameLength?: number;
12329
+ cacheTtlSeconds?: number;
12330
+ };
12331
+ }
12332
+ export interface StorageModulePatch {
12333
+ databaseId?: string | null;
12334
+ schemaId?: string | null;
12335
+ privateSchemaId?: string | null;
12336
+ bucketsTableId?: string | null;
12337
+ filesTableId?: string | null;
12338
+ uploadRequestsTableId?: string | null;
12339
+ bucketsTableName?: string | null;
12340
+ filesTableName?: string | null;
12341
+ uploadRequestsTableName?: string | null;
12342
+ entityTableId?: string | null;
12343
+ uploadUrlExpirySeconds?: number | null;
12344
+ downloadUrlExpirySeconds?: number | null;
12345
+ defaultMaxFileSize?: string | null;
12346
+ maxFilenameLength?: number | null;
12347
+ cacheTtlSeconds?: number | null;
12348
+ }
12349
+ export interface UpdateStorageModuleInput {
12350
+ clientMutationId?: string;
12351
+ id: string;
12352
+ storageModulePatch: StorageModulePatch;
12353
+ }
12354
+ export interface DeleteStorageModuleInput {
12355
+ clientMutationId?: string;
12356
+ id: string;
12357
+ }
12096
12358
  export interface CreateDatabaseProvisionModuleInput {
12097
12359
  clientMutationId?: string;
12098
12360
  databaseProvisionModule: {
@@ -12860,26 +13122,6 @@ export interface DeleteRoleTypeInput {
12860
13122
  clientMutationId?: string;
12861
13123
  id: number;
12862
13124
  }
12863
- export interface CreateMigrateFileInput {
12864
- clientMutationId?: string;
12865
- migrateFile: {
12866
- databaseId?: string;
12867
- upload?: ConstructiveInternalTypeUpload;
12868
- };
12869
- }
12870
- export interface MigrateFilePatch {
12871
- databaseId?: string | null;
12872
- upload?: ConstructiveInternalTypeUpload | null;
12873
- }
12874
- export interface UpdateMigrateFileInput {
12875
- clientMutationId?: string;
12876
- id: string;
12877
- migrateFilePatch: MigrateFilePatch;
12878
- }
12879
- export interface DeleteMigrateFileInput {
12880
- clientMutationId?: string;
12881
- id: string;
12882
- }
12883
13125
  export interface CreateAppLimitDefaultInput {
12884
13126
  clientMutationId?: string;
12885
13127
  appLimitDefault: {
@@ -12920,6 +13162,26 @@ export interface DeleteOrgLimitDefaultInput {
12920
13162
  clientMutationId?: string;
12921
13163
  id: string;
12922
13164
  }
13165
+ export interface CreateMigrateFileInput {
13166
+ clientMutationId?: string;
13167
+ migrateFile: {
13168
+ databaseId?: string;
13169
+ upload?: ConstructiveInternalTypeUpload;
13170
+ };
13171
+ }
13172
+ export interface MigrateFilePatch {
13173
+ databaseId?: string | null;
13174
+ upload?: ConstructiveInternalTypeUpload | null;
13175
+ }
13176
+ export interface UpdateMigrateFileInput {
13177
+ clientMutationId?: string;
13178
+ id: string;
13179
+ migrateFilePatch: MigrateFilePatch;
13180
+ }
13181
+ export interface DeleteMigrateFileInput {
13182
+ clientMutationId?: string;
13183
+ id: string;
13184
+ }
12923
13185
  export interface CreateMembershipTypeInput {
12924
13186
  clientMutationId?: string;
12925
13187
  membershipType: {
@@ -13364,6 +13626,46 @@ export interface RemoveNodeAtPathInput {
13364
13626
  root?: string;
13365
13627
  path?: string[];
13366
13628
  }
13629
+ export interface CopyTemplateToBlueprintInput {
13630
+ clientMutationId?: string;
13631
+ templateId?: string;
13632
+ databaseId?: string;
13633
+ ownerId?: string;
13634
+ nameOverride?: string;
13635
+ displayNameOverride?: string;
13636
+ }
13637
+ export interface BootstrapUserInput {
13638
+ clientMutationId?: string;
13639
+ targetDatabaseId?: string;
13640
+ password?: string;
13641
+ isAdmin?: boolean;
13642
+ isOwner?: boolean;
13643
+ username?: string;
13644
+ displayName?: string;
13645
+ returnApiKey?: boolean;
13646
+ }
13647
+ export interface SetFieldOrderInput {
13648
+ clientMutationId?: string;
13649
+ fieldIds?: string[];
13650
+ }
13651
+ export interface ProvisionUniqueConstraintInput {
13652
+ clientMutationId?: string;
13653
+ databaseId?: string;
13654
+ tableId?: string;
13655
+ definition?: Record<string, unknown>;
13656
+ }
13657
+ export interface ProvisionFullTextSearchInput {
13658
+ clientMutationId?: string;
13659
+ databaseId?: string;
13660
+ tableId?: string;
13661
+ definition?: Record<string, unknown>;
13662
+ }
13663
+ export interface ProvisionIndexInput {
13664
+ clientMutationId?: string;
13665
+ databaseId?: string;
13666
+ tableId?: string;
13667
+ definition?: Record<string, unknown>;
13668
+ }
13367
13669
  export interface SetDataAtPathInput {
13368
13670
  clientMutationId?: string;
13369
13671
  dbId?: string;
@@ -13379,14 +13681,6 @@ export interface SetPropsAndCommitInput {
13379
13681
  path?: string[];
13380
13682
  data?: Record<string, unknown>;
13381
13683
  }
13382
- export interface CopyTemplateToBlueprintInput {
13383
- clientMutationId?: string;
13384
- templateId?: string;
13385
- databaseId?: string;
13386
- ownerId?: string;
13387
- nameOverride?: string;
13388
- displayNameOverride?: string;
13389
- }
13390
13684
  export interface ProvisionDatabaseWithUserInput {
13391
13685
  clientMutationId?: string;
13392
13686
  pDatabaseName?: string;
@@ -13395,20 +13689,6 @@ export interface ProvisionDatabaseWithUserInput {
13395
13689
  pModules?: string[];
13396
13690
  pOptions?: Record<string, unknown>;
13397
13691
  }
13398
- export interface BootstrapUserInput {
13399
- clientMutationId?: string;
13400
- targetDatabaseId?: string;
13401
- password?: string;
13402
- isAdmin?: boolean;
13403
- isOwner?: boolean;
13404
- username?: string;
13405
- displayName?: string;
13406
- returnApiKey?: boolean;
13407
- }
13408
- export interface SetFieldOrderInput {
13409
- clientMutationId?: string;
13410
- fieldIds?: string[];
13411
- }
13412
13692
  export interface InsertNodeAtPathInput {
13413
13693
  clientMutationId?: string;
13414
13694
  dbId?: string;
@@ -13437,6 +13717,29 @@ export interface SetAndCommitInput {
13437
13717
  kids?: string[];
13438
13718
  ktree?: string[];
13439
13719
  }
13720
+ export interface ProvisionRelationInput {
13721
+ clientMutationId?: string;
13722
+ databaseId?: string;
13723
+ relationType?: string;
13724
+ sourceTableId?: string;
13725
+ targetTableId?: string;
13726
+ fieldName?: string;
13727
+ deleteAction?: string;
13728
+ isRequired?: boolean;
13729
+ apiRequired?: boolean;
13730
+ createIndex?: boolean;
13731
+ junctionTableId?: string;
13732
+ junctionTableName?: string;
13733
+ junctionSchemaId?: string;
13734
+ sourceFieldName?: string;
13735
+ targetFieldName?: string;
13736
+ useCompositeKey?: boolean;
13737
+ exposeInApi?: boolean;
13738
+ nodes?: Record<string, unknown>;
13739
+ grants?: Record<string, unknown>;
13740
+ grantRoles?: string[];
13741
+ policies?: Record<string, unknown>;
13742
+ }
13440
13743
  export interface ApplyRlsInput {
13441
13744
  clientMutationId?: string;
13442
13745
  tableId?: string;
@@ -13489,6 +13792,22 @@ export interface OneTimeTokenInput {
13489
13792
  origin?: ConstructiveInternalTypeOrigin;
13490
13793
  rememberMe?: boolean;
13491
13794
  }
13795
+ export interface ProvisionTableInput {
13796
+ clientMutationId?: string;
13797
+ databaseId?: string;
13798
+ schemaId?: string;
13799
+ tableName?: string;
13800
+ tableId?: string;
13801
+ nodes?: Record<string, unknown>;
13802
+ fields?: Record<string, unknown>;
13803
+ policies?: Record<string, unknown>;
13804
+ grants?: Record<string, unknown>;
13805
+ grantRoles?: string[];
13806
+ useRls?: boolean;
13807
+ indexes?: Record<string, unknown>;
13808
+ fullTextSearches?: Record<string, unknown>;
13809
+ uniqueConstraints?: Record<string, unknown>;
13810
+ }
13492
13811
  export interface SendVerificationEmailInput {
13493
13812
  clientMutationId?: string;
13494
13813
  email?: ConstructiveInternalTypeEmail;
@@ -13982,6 +14301,24 @@ export interface DatabaseToManyBlueprintFilter {
13982
14301
  /** Filters to entities where no related entity matches. */
13983
14302
  none?: BlueprintFilter;
13984
14303
  }
14304
+ /** A filter to be used against many `BlueprintConstruction` object types. All fields are combined with a logical ‘and.’ */
14305
+ export interface DatabaseToManyBlueprintConstructionFilter {
14306
+ /** Filters to entities where at least one related entity matches. */
14307
+ some?: BlueprintConstructionFilter;
14308
+ /** Filters to entities where every related entity matches. */
14309
+ every?: BlueprintConstructionFilter;
14310
+ /** Filters to entities where no related entity matches. */
14311
+ none?: BlueprintConstructionFilter;
14312
+ }
14313
+ /** A filter to be used against many `StorageModule` object types. All fields are combined with a logical ‘and.’ */
14314
+ export interface DatabaseToManyStorageModuleFilter {
14315
+ /** Filters to entities where at least one related entity matches. */
14316
+ some?: StorageModuleFilter;
14317
+ /** Filters to entities where every related entity matches. */
14318
+ every?: StorageModuleFilter;
14319
+ /** Filters to entities where no related entity matches. */
14320
+ none?: StorageModuleFilter;
14321
+ }
13985
14322
  /** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
13986
14323
  export interface DatabaseToManyDatabaseProvisionModuleFilter {
13987
14324
  /** Filters to entities where at least one related entity matches. */
@@ -14643,6 +14980,15 @@ export interface IntervalFilter {
14643
14980
  /** Greater than or equal to the specified value. */
14644
14981
  greaterThanOrEqualTo?: IntervalInput;
14645
14982
  }
14983
+ /** A filter to be used against many `BlueprintConstruction` object types. All fields are combined with a logical ‘and.’ */
14984
+ export interface BlueprintToManyBlueprintConstructionFilter {
14985
+ /** Filters to entities where at least one related entity matches. */
14986
+ some?: BlueprintConstructionFilter;
14987
+ /** Filters to entities where every related entity matches. */
14988
+ every?: BlueprintConstructionFilter;
14989
+ /** Filters to entities where no related entity matches. */
14990
+ none?: BlueprintConstructionFilter;
14991
+ }
14646
14992
  /** A filter to be used against many `BlueprintTemplate` object types. All fields are combined with a logical ‘and.’ */
14647
14993
  export interface BlueprintTemplateToManyBlueprintTemplateFilter {
14648
14994
  /** Filters to entities where at least one related entity matches. */
@@ -17355,12 +17701,10 @@ export interface SecureTableProvisionFilter {
17355
17701
  tableId?: UUIDFilter;
17356
17702
  /** Filter by the object’s `tableName` field. */
17357
17703
  tableName?: StringFilter;
17358
- /** Filter by the object’s `nodeType` field. */
17359
- nodeType?: StringFilter;
17704
+ /** Filter by the object’s `nodes` field. */
17705
+ nodes?: JSONFilter;
17360
17706
  /** Filter by the object’s `useRls` field. */
17361
17707
  useRls?: BooleanFilter;
17362
- /** Filter by the object’s `nodeData` field. */
17363
- nodeData?: JSONFilter;
17364
17708
  /** Filter by the object’s `fields` field. */
17365
17709
  fields?: JSONListFilter;
17366
17710
  /** Filter by the object’s `grantRoles` field. */
@@ -17430,10 +17774,8 @@ export interface RelationProvisionFilter {
17430
17774
  createIndex?: BooleanFilter;
17431
17775
  /** Filter by the object’s `exposeInApi` field. */
17432
17776
  exposeInApi?: BooleanFilter;
17433
- /** Filter by the object’s `nodeType` field. */
17434
- nodeType?: StringFilter;
17435
- /** Filter by the object’s `nodeData` field. */
17436
- nodeData?: JSONFilter;
17777
+ /** Filter by the object’s `nodes` field. */
17778
+ nodes?: JSONFilter;
17437
17779
  /** Filter by the object’s `grantRoles` field. */
17438
17780
  grantRoles?: StringListFilter;
17439
17781
  /** Filter by the object’s `grantPrivileges` field. */
@@ -17489,16 +17831,6 @@ export interface BlueprintFilter {
17489
17831
  definition?: JSONFilter;
17490
17832
  /** Filter by the object’s `templateId` field. */
17491
17833
  templateId?: UUIDFilter;
17492
- /** Filter by the object’s `status` field. */
17493
- status?: StringFilter;
17494
- /** Filter by the object’s `constructedAt` field. */
17495
- constructedAt?: DatetimeFilter;
17496
- /** Filter by the object’s `errorDetails` field. */
17497
- errorDetails?: StringFilter;
17498
- /** Filter by the object’s `refMap` field. */
17499
- refMap?: JSONFilter;
17500
- /** Filter by the object’s `constructedDefinition` field. */
17501
- constructedDefinition?: JSONFilter;
17502
17834
  /** Filter by the object’s `definitionHash` field. */
17503
17835
  definitionHash?: UUIDFilter;
17504
17836
  /** Filter by the object’s `tableHashes` field. */
@@ -17519,6 +17851,102 @@ export interface BlueprintFilter {
17519
17851
  template?: BlueprintTemplateFilter;
17520
17852
  /** A related `template` exists. */
17521
17853
  templateExists?: boolean;
17854
+ /** Filter by the object’s `blueprintConstructions` relation. */
17855
+ blueprintConstructions?: BlueprintToManyBlueprintConstructionFilter;
17856
+ /** `blueprintConstructions` exist. */
17857
+ blueprintConstructionsExist?: boolean;
17858
+ }
17859
+ /** A filter to be used against `BlueprintConstruction` object types. All fields are combined with a logical ‘and.’ */
17860
+ export interface BlueprintConstructionFilter {
17861
+ /** Filter by the object’s `id` field. */
17862
+ id?: UUIDFilter;
17863
+ /** Filter by the object’s `blueprintId` field. */
17864
+ blueprintId?: UUIDFilter;
17865
+ /** Filter by the object’s `databaseId` field. */
17866
+ databaseId?: UUIDFilter;
17867
+ /** Filter by the object’s `schemaId` field. */
17868
+ schemaId?: UUIDFilter;
17869
+ /** Filter by the object’s `status` field. */
17870
+ status?: StringFilter;
17871
+ /** Filter by the object’s `errorDetails` field. */
17872
+ errorDetails?: StringFilter;
17873
+ /** Filter by the object’s `tableMap` field. */
17874
+ tableMap?: JSONFilter;
17875
+ /** Filter by the object’s `constructedDefinition` field. */
17876
+ constructedDefinition?: JSONFilter;
17877
+ /** Filter by the object’s `constructedAt` field. */
17878
+ constructedAt?: DatetimeFilter;
17879
+ /** Filter by the object’s `createdAt` field. */
17880
+ createdAt?: DatetimeFilter;
17881
+ /** Filter by the object’s `updatedAt` field. */
17882
+ updatedAt?: DatetimeFilter;
17883
+ /** Checks for all expressions in this list. */
17884
+ and?: BlueprintConstructionFilter[];
17885
+ /** Checks for any expressions in this list. */
17886
+ or?: BlueprintConstructionFilter[];
17887
+ /** Negates the expression. */
17888
+ not?: BlueprintConstructionFilter;
17889
+ /** Filter by the object’s `blueprint` relation. */
17890
+ blueprint?: BlueprintFilter;
17891
+ /** Filter by the object’s `database` relation. */
17892
+ database?: DatabaseFilter;
17893
+ }
17894
+ /** A filter to be used against `StorageModule` object types. All fields are combined with a logical ‘and.’ */
17895
+ export interface StorageModuleFilter {
17896
+ /** Filter by the object’s `id` field. */
17897
+ id?: UUIDFilter;
17898
+ /** Filter by the object’s `databaseId` field. */
17899
+ databaseId?: UUIDFilter;
17900
+ /** Filter by the object’s `schemaId` field. */
17901
+ schemaId?: UUIDFilter;
17902
+ /** Filter by the object’s `privateSchemaId` field. */
17903
+ privateSchemaId?: UUIDFilter;
17904
+ /** Filter by the object’s `bucketsTableId` field. */
17905
+ bucketsTableId?: UUIDFilter;
17906
+ /** Filter by the object’s `filesTableId` field. */
17907
+ filesTableId?: UUIDFilter;
17908
+ /** Filter by the object’s `uploadRequestsTableId` field. */
17909
+ uploadRequestsTableId?: UUIDFilter;
17910
+ /** Filter by the object’s `bucketsTableName` field. */
17911
+ bucketsTableName?: StringFilter;
17912
+ /** Filter by the object’s `filesTableName` field. */
17913
+ filesTableName?: StringFilter;
17914
+ /** Filter by the object’s `uploadRequestsTableName` field. */
17915
+ uploadRequestsTableName?: StringFilter;
17916
+ /** Filter by the object’s `entityTableId` field. */
17917
+ entityTableId?: UUIDFilter;
17918
+ /** Filter by the object’s `uploadUrlExpirySeconds` field. */
17919
+ uploadUrlExpirySeconds?: IntFilter;
17920
+ /** Filter by the object’s `downloadUrlExpirySeconds` field. */
17921
+ downloadUrlExpirySeconds?: IntFilter;
17922
+ /** Filter by the object’s `defaultMaxFileSize` field. */
17923
+ defaultMaxFileSize?: BigIntFilter;
17924
+ /** Filter by the object’s `maxFilenameLength` field. */
17925
+ maxFilenameLength?: IntFilter;
17926
+ /** Filter by the object’s `cacheTtlSeconds` field. */
17927
+ cacheTtlSeconds?: IntFilter;
17928
+ /** Checks for all expressions in this list. */
17929
+ and?: StorageModuleFilter[];
17930
+ /** Checks for any expressions in this list. */
17931
+ or?: StorageModuleFilter[];
17932
+ /** Negates the expression. */
17933
+ not?: StorageModuleFilter;
17934
+ /** Filter by the object’s `bucketsTable` relation. */
17935
+ bucketsTable?: TableFilter;
17936
+ /** Filter by the object’s `database` relation. */
17937
+ database?: DatabaseFilter;
17938
+ /** Filter by the object’s `entityTable` relation. */
17939
+ entityTable?: TableFilter;
17940
+ /** A related `entityTable` exists. */
17941
+ entityTableExists?: boolean;
17942
+ /** Filter by the object’s `filesTable` relation. */
17943
+ filesTable?: TableFilter;
17944
+ /** Filter by the object’s `privateSchema` relation. */
17945
+ privateSchema?: SchemaFilter;
17946
+ /** Filter by the object’s `schema` relation. */
17947
+ schema?: SchemaFilter;
17948
+ /** Filter by the object’s `uploadRequestsTable` relation. */
17949
+ uploadRequestsTable?: TableFilter;
17522
17950
  }
17523
17951
  /** A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
17524
17952
  export interface DatabaseProvisionModuleFilter {
@@ -17891,6 +18319,14 @@ export interface DatabaseFilter {
17891
18319
  blueprints?: DatabaseToManyBlueprintFilter;
17892
18320
  /** `blueprints` exist. */
17893
18321
  blueprintsExist?: boolean;
18322
+ /** Filter by the object’s `blueprintConstructions` relation. */
18323
+ blueprintConstructions?: DatabaseToManyBlueprintConstructionFilter;
18324
+ /** `blueprintConstructions` exist. */
18325
+ blueprintConstructionsExist?: boolean;
18326
+ /** Filter by the object’s `storageModules` relation. */
18327
+ storageModules?: DatabaseToManyStorageModuleFilter;
18328
+ /** `storageModules` exist. */
18329
+ storageModulesExist?: boolean;
17894
18330
  /** Filter by the object’s `databaseProvisionModules` relation. */
17895
18331
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
17896
18332
  /** `databaseProvisionModules` exist. */
@@ -18930,6 +19366,31 @@ export interface FloatFilter {
18930
19366
  /** Greater than or equal to the specified value. */
18931
19367
  greaterThanOrEqualTo?: number;
18932
19368
  }
19369
+ /** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
19370
+ export interface BigIntFilter {
19371
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
19372
+ isNull?: boolean;
19373
+ /** Equal to the specified value. */
19374
+ equalTo?: string;
19375
+ /** Not equal to the specified value. */
19376
+ notEqualTo?: string;
19377
+ /** Not equal to the specified value, treating null like an ordinary value. */
19378
+ distinctFrom?: string;
19379
+ /** Equal to the specified value, treating null like an ordinary value. */
19380
+ notDistinctFrom?: string;
19381
+ /** Included in the specified list. */
19382
+ in?: string[];
19383
+ /** Not included in the specified list. */
19384
+ notIn?: string[];
19385
+ /** Less than the specified value. */
19386
+ lessThan?: string;
19387
+ /** Less than or equal to the specified value. */
19388
+ lessThanOrEqualTo?: string;
19389
+ /** Greater than the specified value. */
19390
+ greaterThan?: string;
19391
+ /** Greater than or equal to the specified value. */
19392
+ greaterThanOrEqualTo?: string;
19393
+ }
18933
19394
  /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
18934
19395
  export interface UserFilter {
18935
19396
  /** Filter by the object’s `id` field. */
@@ -19614,7 +20075,7 @@ export type InitEmptyRepoPayloadSelect = {
19614
20075
  };
19615
20076
  export interface ConstructBlueprintPayload {
19616
20077
  clientMutationId?: string | null;
19617
- result?: Record<string, unknown> | null;
20078
+ result?: string | null;
19618
20079
  }
19619
20080
  export type ConstructBlueprintPayloadSelect = {
19620
20081
  clientMutationId?: boolean;
@@ -19636,55 +20097,77 @@ export type RemoveNodeAtPathPayloadSelect = {
19636
20097
  clientMutationId?: boolean;
19637
20098
  result?: boolean;
19638
20099
  };
19639
- export interface SetDataAtPathPayload {
20100
+ export interface CopyTemplateToBlueprintPayload {
19640
20101
  clientMutationId?: string | null;
19641
20102
  result?: string | null;
19642
20103
  }
19643
- export type SetDataAtPathPayloadSelect = {
20104
+ export type CopyTemplateToBlueprintPayloadSelect = {
19644
20105
  clientMutationId?: boolean;
19645
20106
  result?: boolean;
19646
20107
  };
19647
- export interface SetPropsAndCommitPayload {
20108
+ export interface BootstrapUserPayload {
20109
+ clientMutationId?: string | null;
20110
+ result?: BootstrapUserRecord[] | null;
20111
+ }
20112
+ export type BootstrapUserPayloadSelect = {
20113
+ clientMutationId?: boolean;
20114
+ result?: {
20115
+ select: BootstrapUserRecordSelect;
20116
+ };
20117
+ };
20118
+ export interface SetFieldOrderPayload {
20119
+ clientMutationId?: string | null;
20120
+ }
20121
+ export type SetFieldOrderPayloadSelect = {
20122
+ clientMutationId?: boolean;
20123
+ };
20124
+ export interface ProvisionUniqueConstraintPayload {
20125
+ clientMutationId?: string | null;
20126
+ }
20127
+ export type ProvisionUniqueConstraintPayloadSelect = {
20128
+ clientMutationId?: boolean;
20129
+ };
20130
+ export interface ProvisionFullTextSearchPayload {
19648
20131
  clientMutationId?: string | null;
19649
20132
  result?: string | null;
19650
20133
  }
19651
- export type SetPropsAndCommitPayloadSelect = {
20134
+ export type ProvisionFullTextSearchPayloadSelect = {
19652
20135
  clientMutationId?: boolean;
19653
20136
  result?: boolean;
19654
20137
  };
19655
- export interface CopyTemplateToBlueprintPayload {
20138
+ export interface ProvisionIndexPayload {
19656
20139
  clientMutationId?: string | null;
19657
20140
  result?: string | null;
19658
20141
  }
19659
- export type CopyTemplateToBlueprintPayloadSelect = {
20142
+ export type ProvisionIndexPayloadSelect = {
19660
20143
  clientMutationId?: boolean;
19661
20144
  result?: boolean;
19662
20145
  };
19663
- export interface ProvisionDatabaseWithUserPayload {
20146
+ export interface SetDataAtPathPayload {
19664
20147
  clientMutationId?: string | null;
19665
- result?: ProvisionDatabaseWithUserRecord[] | null;
20148
+ result?: string | null;
19666
20149
  }
19667
- export type ProvisionDatabaseWithUserPayloadSelect = {
20150
+ export type SetDataAtPathPayloadSelect = {
19668
20151
  clientMutationId?: boolean;
19669
- result?: {
19670
- select: ProvisionDatabaseWithUserRecordSelect;
19671
- };
20152
+ result?: boolean;
19672
20153
  };
19673
- export interface BootstrapUserPayload {
20154
+ export interface SetPropsAndCommitPayload {
19674
20155
  clientMutationId?: string | null;
19675
- result?: BootstrapUserRecord[] | null;
20156
+ result?: string | null;
19676
20157
  }
19677
- export type BootstrapUserPayloadSelect = {
20158
+ export type SetPropsAndCommitPayloadSelect = {
19678
20159
  clientMutationId?: boolean;
19679
- result?: {
19680
- select: BootstrapUserRecordSelect;
19681
- };
20160
+ result?: boolean;
19682
20161
  };
19683
- export interface SetFieldOrderPayload {
20162
+ export interface ProvisionDatabaseWithUserPayload {
19684
20163
  clientMutationId?: string | null;
20164
+ result?: ProvisionDatabaseWithUserRecord[] | null;
19685
20165
  }
19686
- export type SetFieldOrderPayloadSelect = {
20166
+ export type ProvisionDatabaseWithUserPayloadSelect = {
19687
20167
  clientMutationId?: boolean;
20168
+ result?: {
20169
+ select: ProvisionDatabaseWithUserRecordSelect;
20170
+ };
19688
20171
  };
19689
20172
  export interface InsertNodeAtPathPayload {
19690
20173
  clientMutationId?: string | null;
@@ -19710,6 +20193,16 @@ export type SetAndCommitPayloadSelect = {
19710
20193
  clientMutationId?: boolean;
19711
20194
  result?: boolean;
19712
20195
  };
20196
+ export interface ProvisionRelationPayload {
20197
+ clientMutationId?: string | null;
20198
+ result?: ProvisionRelationRecord[] | null;
20199
+ }
20200
+ export type ProvisionRelationPayloadSelect = {
20201
+ clientMutationId?: boolean;
20202
+ result?: {
20203
+ select: ProvisionRelationRecordSelect;
20204
+ };
20205
+ };
19713
20206
  export interface ApplyRlsPayload {
19714
20207
  clientMutationId?: string | null;
19715
20208
  }
@@ -19772,6 +20265,16 @@ export type OneTimeTokenPayloadSelect = {
19772
20265
  clientMutationId?: boolean;
19773
20266
  result?: boolean;
19774
20267
  };
20268
+ export interface ProvisionTablePayload {
20269
+ clientMutationId?: string | null;
20270
+ result?: ProvisionTableRecord[] | null;
20271
+ }
20272
+ export type ProvisionTablePayloadSelect = {
20273
+ clientMutationId?: boolean;
20274
+ result?: {
20275
+ select: ProvisionTableRecordSelect;
20276
+ };
20277
+ };
19775
20278
  export interface SendVerificationEmailPayload {
19776
20279
  clientMutationId?: string | null;
19777
20280
  result?: boolean | null;
@@ -22506,6 +23009,96 @@ export type DeleteBlueprintTemplatePayloadSelect = {
22506
23009
  select: BlueprintTemplateEdgeSelect;
22507
23010
  };
22508
23011
  };
23012
+ export interface CreateBlueprintConstructionPayload {
23013
+ clientMutationId?: string | null;
23014
+ /** The `BlueprintConstruction` that was created by this mutation. */
23015
+ blueprintConstruction?: BlueprintConstruction | null;
23016
+ blueprintConstructionEdge?: BlueprintConstructionEdge | null;
23017
+ }
23018
+ export type CreateBlueprintConstructionPayloadSelect = {
23019
+ clientMutationId?: boolean;
23020
+ blueprintConstruction?: {
23021
+ select: BlueprintConstructionSelect;
23022
+ };
23023
+ blueprintConstructionEdge?: {
23024
+ select: BlueprintConstructionEdgeSelect;
23025
+ };
23026
+ };
23027
+ export interface UpdateBlueprintConstructionPayload {
23028
+ clientMutationId?: string | null;
23029
+ /** The `BlueprintConstruction` that was updated by this mutation. */
23030
+ blueprintConstruction?: BlueprintConstruction | null;
23031
+ blueprintConstructionEdge?: BlueprintConstructionEdge | null;
23032
+ }
23033
+ export type UpdateBlueprintConstructionPayloadSelect = {
23034
+ clientMutationId?: boolean;
23035
+ blueprintConstruction?: {
23036
+ select: BlueprintConstructionSelect;
23037
+ };
23038
+ blueprintConstructionEdge?: {
23039
+ select: BlueprintConstructionEdgeSelect;
23040
+ };
23041
+ };
23042
+ export interface DeleteBlueprintConstructionPayload {
23043
+ clientMutationId?: string | null;
23044
+ /** The `BlueprintConstruction` that was deleted by this mutation. */
23045
+ blueprintConstruction?: BlueprintConstruction | null;
23046
+ blueprintConstructionEdge?: BlueprintConstructionEdge | null;
23047
+ }
23048
+ export type DeleteBlueprintConstructionPayloadSelect = {
23049
+ clientMutationId?: boolean;
23050
+ blueprintConstruction?: {
23051
+ select: BlueprintConstructionSelect;
23052
+ };
23053
+ blueprintConstructionEdge?: {
23054
+ select: BlueprintConstructionEdgeSelect;
23055
+ };
23056
+ };
23057
+ export interface CreateStorageModulePayload {
23058
+ clientMutationId?: string | null;
23059
+ /** The `StorageModule` that was created by this mutation. */
23060
+ storageModule?: StorageModule | null;
23061
+ storageModuleEdge?: StorageModuleEdge | null;
23062
+ }
23063
+ export type CreateStorageModulePayloadSelect = {
23064
+ clientMutationId?: boolean;
23065
+ storageModule?: {
23066
+ select: StorageModuleSelect;
23067
+ };
23068
+ storageModuleEdge?: {
23069
+ select: StorageModuleEdgeSelect;
23070
+ };
23071
+ };
23072
+ export interface UpdateStorageModulePayload {
23073
+ clientMutationId?: string | null;
23074
+ /** The `StorageModule` that was updated by this mutation. */
23075
+ storageModule?: StorageModule | null;
23076
+ storageModuleEdge?: StorageModuleEdge | null;
23077
+ }
23078
+ export type UpdateStorageModulePayloadSelect = {
23079
+ clientMutationId?: boolean;
23080
+ storageModule?: {
23081
+ select: StorageModuleSelect;
23082
+ };
23083
+ storageModuleEdge?: {
23084
+ select: StorageModuleEdgeSelect;
23085
+ };
23086
+ };
23087
+ export interface DeleteStorageModulePayload {
23088
+ clientMutationId?: string | null;
23089
+ /** The `StorageModule` that was deleted by this mutation. */
23090
+ storageModule?: StorageModule | null;
23091
+ storageModuleEdge?: StorageModuleEdge | null;
23092
+ }
23093
+ export type DeleteStorageModulePayloadSelect = {
23094
+ clientMutationId?: boolean;
23095
+ storageModule?: {
23096
+ select: StorageModuleSelect;
23097
+ };
23098
+ storageModuleEdge?: {
23099
+ select: StorageModuleEdgeSelect;
23100
+ };
23101
+ };
22509
23102
  export interface CreateDatabaseProvisionModulePayload {
22510
23103
  clientMutationId?: string | null;
22511
23104
  /** The `DatabaseProvisionModule` that was created by this mutation. */
@@ -23856,17 +24449,6 @@ export type DeleteRoleTypePayloadSelect = {
23856
24449
  select: RoleTypeEdgeSelect;
23857
24450
  };
23858
24451
  };
23859
- export interface CreateMigrateFilePayload {
23860
- clientMutationId?: string | null;
23861
- /** The `MigrateFile` that was created by this mutation. */
23862
- migrateFile?: MigrateFile | null;
23863
- }
23864
- export type CreateMigrateFilePayloadSelect = {
23865
- clientMutationId?: boolean;
23866
- migrateFile?: {
23867
- select: MigrateFileSelect;
23868
- };
23869
- };
23870
24452
  export interface CreateAppLimitDefaultPayload {
23871
24453
  clientMutationId?: string | null;
23872
24454
  /** The `AppLimitDefault` that was created by this mutation. */
@@ -23957,6 +24539,17 @@ export type DeleteOrgLimitDefaultPayloadSelect = {
23957
24539
  select: OrgLimitDefaultEdgeSelect;
23958
24540
  };
23959
24541
  };
24542
+ export interface CreateMigrateFilePayload {
24543
+ clientMutationId?: string | null;
24544
+ /** The `MigrateFile` that was created by this mutation. */
24545
+ migrateFile?: MigrateFile | null;
24546
+ }
24547
+ export type CreateMigrateFilePayloadSelect = {
24548
+ clientMutationId?: boolean;
24549
+ migrateFile?: {
24550
+ select: MigrateFileSelect;
24551
+ };
24552
+ };
23960
24553
  export interface CreateMembershipTypePayload {
23961
24554
  clientMutationId?: string | null;
23962
24555
  /** The `MembershipType` that was created by this mutation. */
@@ -24449,14 +25042,6 @@ export type AppLevelRequirementEdgeSelect = {
24449
25042
  select: AppLevelRequirementSelect;
24450
25043
  };
24451
25044
  };
24452
- export interface ProvisionDatabaseWithUserRecord {
24453
- outDatabaseId?: string | null;
24454
- outApiKey?: string | null;
24455
- }
24456
- export type ProvisionDatabaseWithUserRecordSelect = {
24457
- outDatabaseId?: boolean;
24458
- outApiKey?: boolean;
24459
- };
24460
25045
  export interface BootstrapUserRecord {
24461
25046
  outUserId?: string | null;
24462
25047
  outEmail?: string | null;
@@ -24477,6 +25062,26 @@ export type BootstrapUserRecordSelect = {
24477
25062
  outIsSudo?: boolean;
24478
25063
  outApiKey?: boolean;
24479
25064
  };
25065
+ export interface ProvisionDatabaseWithUserRecord {
25066
+ outDatabaseId?: string | null;
25067
+ outApiKey?: string | null;
25068
+ }
25069
+ export type ProvisionDatabaseWithUserRecordSelect = {
25070
+ outDatabaseId?: boolean;
25071
+ outApiKey?: boolean;
25072
+ };
25073
+ export interface ProvisionRelationRecord {
25074
+ outFieldId?: string | null;
25075
+ outJunctionTableId?: string | null;
25076
+ outSourceFieldId?: string | null;
25077
+ outTargetFieldId?: string | null;
25078
+ }
25079
+ export type ProvisionRelationRecordSelect = {
25080
+ outFieldId?: boolean;
25081
+ outJunctionTableId?: boolean;
25082
+ outSourceFieldId?: boolean;
25083
+ outTargetFieldId?: boolean;
25084
+ };
24480
25085
  export interface SignInOneTimeTokenRecord {
24481
25086
  id?: string | null;
24482
25087
  userId?: string | null;
@@ -24535,6 +25140,14 @@ export type SignUpRecordSelect = {
24535
25140
  isVerified?: boolean;
24536
25141
  totpEnabled?: boolean;
24537
25142
  };
25143
+ export interface ProvisionTableRecord {
25144
+ outTableId?: string | null;
25145
+ outFields?: string[] | null;
25146
+ }
25147
+ export type ProvisionTableRecordSelect = {
25148
+ outTableId?: boolean;
25149
+ outFields?: boolean;
25150
+ };
24538
25151
  /** Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state */
24539
25152
  export interface Session {
24540
25153
  id: string;
@@ -25251,6 +25864,30 @@ export type BlueprintTemplateEdgeSelect = {
25251
25864
  select: BlueprintTemplateSelect;
25252
25865
  };
25253
25866
  };
25867
+ /** A `BlueprintConstruction` edge in the connection. */
25868
+ export interface BlueprintConstructionEdge {
25869
+ cursor?: string | null;
25870
+ /** The `BlueprintConstruction` at the end of the edge. */
25871
+ node?: BlueprintConstruction | null;
25872
+ }
25873
+ export type BlueprintConstructionEdgeSelect = {
25874
+ cursor?: boolean;
25875
+ node?: {
25876
+ select: BlueprintConstructionSelect;
25877
+ };
25878
+ };
25879
+ /** A `StorageModule` edge in the connection. */
25880
+ export interface StorageModuleEdge {
25881
+ cursor?: string | null;
25882
+ /** The `StorageModule` at the end of the edge. */
25883
+ node?: StorageModule | null;
25884
+ }
25885
+ export type StorageModuleEdgeSelect = {
25886
+ cursor?: boolean;
25887
+ node?: {
25888
+ select: StorageModuleSelect;
25889
+ };
25890
+ };
25254
25891
  /** A `DatabaseProvisionModule` edge in the connection. */
25255
25892
  export interface DatabaseProvisionModuleEdge {
25256
25893
  cursor?: string | null;