@constructive-io/react 0.19.2 → 0.19.3

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 (33) hide show
  1. package/admin/orm/client.js +1 -1
  2. package/auth/orm/client.js +1 -1
  3. package/esm/admin/orm/client.js +1 -1
  4. package/esm/auth/orm/client.js +1 -1
  5. package/esm/objects/orm/client.js +1 -1
  6. package/esm/public/hooks/mutation-keys.d.ts +2 -0
  7. package/esm/public/hooks/mutation-keys.js +3 -0
  8. package/esm/public/hooks/mutations/index.d.ts +1 -0
  9. package/esm/public/hooks/mutations/index.js +1 -0
  10. package/esm/public/hooks/mutations/useProvisionCheckConstraintMutation.d.ts +20 -0
  11. package/esm/public/hooks/mutations/useProvisionCheckConstraintMutation.js +23 -0
  12. package/esm/public/orm/client.js +1 -1
  13. package/esm/public/orm/index.d.ts +5 -0
  14. package/esm/public/orm/input-types.d.ts +32 -2
  15. package/esm/public/orm/mutation/index.d.ts +14 -2
  16. package/esm/public/orm/mutation/index.js +12 -0
  17. package/esm/public/schema-types.d.ts +186 -165
  18. package/esm/public/types.d.ts +2 -0
  19. package/objects/orm/client.js +1 -1
  20. package/package.json +3 -3
  21. package/public/hooks/mutation-keys.d.ts +2 -0
  22. package/public/hooks/mutation-keys.js +3 -0
  23. package/public/hooks/mutations/index.d.ts +1 -0
  24. package/public/hooks/mutations/index.js +1 -0
  25. package/public/hooks/mutations/useProvisionCheckConstraintMutation.d.ts +20 -0
  26. package/public/hooks/mutations/useProvisionCheckConstraintMutation.js +26 -0
  27. package/public/orm/client.js +1 -1
  28. package/public/orm/index.d.ts +5 -0
  29. package/public/orm/input-types.d.ts +32 -2
  30. package/public/orm/mutation/index.d.ts +14 -2
  31. package/public/orm/mutation/index.js +12 -0
  32. package/public/schema-types.d.ts +186 -165
  33. package/public/types.d.ts +2 -0
@@ -94,7 +94,7 @@ export type SiteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | '
94
94
  /** Methods to use when ordering `App`. */
95
95
  export type AppOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'APP_IMAGE_ASC' | 'APP_IMAGE_DESC' | 'APP_STORE_LINK_ASC' | 'APP_STORE_LINK_DESC' | 'APP_STORE_ID_ASC' | 'APP_STORE_ID_DESC' | 'APP_ID_PREFIX_ASC' | 'APP_ID_PREFIX_DESC' | 'PLAY_STORE_LINK_ASC' | 'PLAY_STORE_LINK_DESC';
96
96
  /** Methods to use when ordering `ApiSetting`. */
97
- export type ApiSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'ENABLE_AGGREGATES_ASC' | 'ENABLE_AGGREGATES_DESC' | 'ENABLE_POSTGIS_ASC' | 'ENABLE_POSTGIS_DESC' | 'ENABLE_SEARCH_ASC' | 'ENABLE_SEARCH_DESC' | 'ENABLE_DIRECT_UPLOADS_ASC' | 'ENABLE_DIRECT_UPLOADS_DESC' | 'ENABLE_PRESIGNED_UPLOADS_ASC' | 'ENABLE_PRESIGNED_UPLOADS_DESC' | 'ENABLE_MANY_TO_MANY_ASC' | 'ENABLE_MANY_TO_MANY_DESC' | 'ENABLE_CONNECTION_FILTER_ASC' | 'ENABLE_CONNECTION_FILTER_DESC' | 'ENABLE_LTREE_ASC' | 'ENABLE_LTREE_DESC' | 'ENABLE_LLM_ASC' | 'ENABLE_LLM_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC';
97
+ export type ApiSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'ENABLE_AGGREGATES_ASC' | 'ENABLE_AGGREGATES_DESC' | 'ENABLE_POSTGIS_ASC' | 'ENABLE_POSTGIS_DESC' | 'ENABLE_SEARCH_ASC' | 'ENABLE_SEARCH_DESC' | 'ENABLE_DIRECT_UPLOADS_ASC' | 'ENABLE_DIRECT_UPLOADS_DESC' | 'ENABLE_PRESIGNED_UPLOADS_ASC' | 'ENABLE_PRESIGNED_UPLOADS_DESC' | 'ENABLE_MANY_TO_MANY_ASC' | 'ENABLE_MANY_TO_MANY_DESC' | 'ENABLE_CONNECTION_FILTER_ASC' | 'ENABLE_CONNECTION_FILTER_DESC' | 'ENABLE_LTREE_ASC' | 'ENABLE_LTREE_DESC' | 'ENABLE_LLM_ASC' | 'ENABLE_LLM_DESC' | 'ENABLE_REALTIME_ASC' | 'ENABLE_REALTIME_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC';
98
98
  /** Methods to use when ordering `ConnectedAccountsModule`. */
99
99
  export type ConnectedAccountsModuleOrderBy = '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';
100
100
  /** Methods to use when ordering `CryptoAddressesModule`. */
@@ -284,7 +284,7 @@ export type OrgLimitEventOrderBy = 'NATURAL' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR
284
284
  /** Methods to use when ordering `RlsModule`. */
285
285
  export type RlsModuleOrderBy = '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' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'AUTHENTICATE_ASC' | 'AUTHENTICATE_DESC' | 'AUTHENTICATE_STRICT_ASC' | 'AUTHENTICATE_STRICT_DESC' | 'CURRENT_ROLE_ASC' | 'CURRENT_ROLE_DESC' | 'CURRENT_ROLE_ID_ASC' | 'CURRENT_ROLE_ID_DESC';
286
286
  /** Methods to use when ordering `DatabaseSetting`. */
287
- export type DatabaseSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ENABLE_AGGREGATES_ASC' | 'ENABLE_AGGREGATES_DESC' | 'ENABLE_POSTGIS_ASC' | 'ENABLE_POSTGIS_DESC' | 'ENABLE_SEARCH_ASC' | 'ENABLE_SEARCH_DESC' | 'ENABLE_DIRECT_UPLOADS_ASC' | 'ENABLE_DIRECT_UPLOADS_DESC' | 'ENABLE_PRESIGNED_UPLOADS_ASC' | 'ENABLE_PRESIGNED_UPLOADS_DESC' | 'ENABLE_MANY_TO_MANY_ASC' | 'ENABLE_MANY_TO_MANY_DESC' | 'ENABLE_CONNECTION_FILTER_ASC' | 'ENABLE_CONNECTION_FILTER_DESC' | 'ENABLE_LTREE_ASC' | 'ENABLE_LTREE_DESC' | 'ENABLE_LLM_ASC' | 'ENABLE_LLM_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC';
287
+ export type DatabaseSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ENABLE_AGGREGATES_ASC' | 'ENABLE_AGGREGATES_DESC' | 'ENABLE_POSTGIS_ASC' | 'ENABLE_POSTGIS_DESC' | 'ENABLE_SEARCH_ASC' | 'ENABLE_SEARCH_DESC' | 'ENABLE_DIRECT_UPLOADS_ASC' | 'ENABLE_DIRECT_UPLOADS_DESC' | 'ENABLE_PRESIGNED_UPLOADS_ASC' | 'ENABLE_PRESIGNED_UPLOADS_DESC' | 'ENABLE_MANY_TO_MANY_ASC' | 'ENABLE_MANY_TO_MANY_DESC' | 'ENABLE_CONNECTION_FILTER_ASC' | 'ENABLE_CONNECTION_FILTER_DESC' | 'ENABLE_LTREE_ASC' | 'ENABLE_LTREE_DESC' | 'ENABLE_LLM_ASC' | 'ENABLE_LLM_DESC' | 'ENABLE_REALTIME_ASC' | 'ENABLE_REALTIME_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC';
288
288
  /** Methods to use when ordering `PlansModule`. */
289
289
  export type PlansModuleOrderBy = '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' | 'PLANS_TABLE_ID_ASC' | 'PLANS_TABLE_ID_DESC' | 'PLANS_TABLE_NAME_ASC' | 'PLANS_TABLE_NAME_DESC' | 'PLAN_LIMITS_TABLE_ID_ASC' | 'PLAN_LIMITS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_NAME_ASC' | 'PLAN_LIMITS_TABLE_NAME_DESC' | 'PLAN_PRICING_TABLE_ID_ASC' | 'PLAN_PRICING_TABLE_ID_DESC' | 'PLAN_OVERRIDES_TABLE_ID_ASC' | 'PLAN_OVERRIDES_TABLE_ID_DESC' | 'APPLY_PLAN_FUNCTION_ASC' | 'APPLY_PLAN_FUNCTION_DESC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_ASC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
290
290
  /** Methods to use when ordering `SqlAction`. */
@@ -5096,6 +5096,8 @@ export interface ApiSettingFilter {
5096
5096
  enableLtree?: BooleanFilter;
5097
5097
  /** Filter by the object’s `enableLlm` field. */
5098
5098
  enableLlm?: BooleanFilter;
5099
+ /** Filter by the object’s `enableRealtime` field. */
5100
+ enableRealtime?: BooleanFilter;
5099
5101
  /** Filter by the object’s `options` field. */
5100
5102
  options?: JSONFilter;
5101
5103
  /** Checks for all expressions in this list. */
@@ -5542,6 +5544,8 @@ export interface DatabaseSettingFilter {
5542
5544
  enableLtree?: BooleanFilter;
5543
5545
  /** Filter by the object’s `enableLlm` field. */
5544
5546
  enableLlm?: BooleanFilter;
5547
+ /** Filter by the object’s `enableRealtime` field. */
5548
+ enableRealtime?: BooleanFilter;
5545
5549
  /** Filter by the object’s `options` field. */
5546
5550
  options?: JSONFilter;
5547
5551
  /** Checks for all expressions in this list. */
@@ -8564,6 +8568,12 @@ export interface SetFieldOrderInput {
8564
8568
  clientMutationId?: string;
8565
8569
  fieldIds?: string[];
8566
8570
  }
8571
+ export interface ProvisionCheckConstraintInput {
8572
+ clientMutationId?: string;
8573
+ databaseId?: string;
8574
+ tableId?: string;
8575
+ definition?: unknown;
8576
+ }
8567
8577
  export interface ProvisionUniqueConstraintInput {
8568
8578
  clientMutationId?: string;
8569
8579
  databaseId?: string;
@@ -10305,38 +10315,6 @@ export interface AppLevelInput {
10305
10315
  createdAt?: string;
10306
10316
  updatedAt?: string;
10307
10317
  }
10308
- export interface CreateDatabaseSettingInput {
10309
- clientMutationId?: string;
10310
- /** The `DatabaseSetting` to be created by this mutation. */
10311
- databaseSetting: DatabaseSettingInput;
10312
- }
10313
- /** An input for mutations affecting `DatabaseSetting` */
10314
- export interface DatabaseSettingInput {
10315
- /** Unique identifier for this settings record */
10316
- id?: string;
10317
- /** Reference to the metaschema database these settings apply to */
10318
- databaseId: string;
10319
- /** Enable aggregate queries (sum, avg, min, max, etc.) in the GraphQL API */
10320
- enableAggregates?: boolean;
10321
- /** Enable PostGIS spatial types and operators in the GraphQL API */
10322
- enablePostgis?: boolean;
10323
- /** Enable unified search (tsvector, BM25, pg_trgm, pgvector) in the GraphQL API */
10324
- enableSearch?: boolean;
10325
- /** Enable direct (multipart) file upload mutations in the GraphQL API */
10326
- enableDirectUploads?: boolean;
10327
- /** Enable presigned URL upload flow for S3/MinIO storage */
10328
- enablePresignedUploads?: boolean;
10329
- /** Enable many-to-many relationship queries in the GraphQL API */
10330
- enableManyToMany?: boolean;
10331
- /** Enable connection filter (where argument) in the GraphQL API */
10332
- enableConnectionFilter?: boolean;
10333
- /** Enable ltree hierarchical data type support in the GraphQL API */
10334
- enableLtree?: boolean;
10335
- /** Enable LLM/AI integration features in the GraphQL API */
10336
- enableLlm?: boolean;
10337
- /** Extensible JSON for additional settings that do not have dedicated columns */
10338
- options?: unknown;
10339
- }
10340
10318
  export interface CreateBlueprintInput {
10341
10319
  clientMutationId?: string;
10342
10320
  /** The `Blueprint` to be created by this mutation. */
@@ -10409,38 +10387,38 @@ export interface RealtimeModuleInput {
10409
10387
  partitionInterval?: string;
10410
10388
  notifyChannel?: string;
10411
10389
  }
10412
- export interface CreateApiSettingInput {
10390
+ export interface CreateDatabaseSettingInput {
10413
10391
  clientMutationId?: string;
10414
- /** The `ApiSetting` to be created by this mutation. */
10415
- apiSetting: ApiSettingInput;
10392
+ /** The `DatabaseSetting` to be created by this mutation. */
10393
+ databaseSetting: DatabaseSettingInput;
10416
10394
  }
10417
- /** An input for mutations affecting `ApiSetting` */
10418
- export interface ApiSettingInput {
10419
- /** Unique identifier for this API settings record */
10395
+ /** An input for mutations affecting `DatabaseSetting` */
10396
+ export interface DatabaseSettingInput {
10397
+ /** Unique identifier for this settings record */
10420
10398
  id?: string;
10421
- /** Reference to the metaschema database */
10399
+ /** Reference to the metaschema database these settings apply to */
10422
10400
  databaseId: string;
10423
- /** API these settings override for */
10424
- apiId: string;
10425
- /** Override: enable aggregate queries (NULL = inherit from database_settings) */
10401
+ /** Enable aggregate queries (sum, avg, min, max, etc.) in the GraphQL API */
10426
10402
  enableAggregates?: boolean;
10427
- /** Override: enable PostGIS spatial types (NULL = inherit from database_settings) */
10403
+ /** Enable PostGIS spatial types and operators in the GraphQL API */
10428
10404
  enablePostgis?: boolean;
10429
- /** Override: enable unified search (NULL = inherit from database_settings) */
10405
+ /** Enable unified search (tsvector, BM25, pg_trgm, pgvector) in the GraphQL API */
10430
10406
  enableSearch?: boolean;
10431
- /** Override: enable direct (multipart) file uploads (NULL = inherit from database_settings) */
10407
+ /** Enable direct (multipart) file upload mutations in the GraphQL API */
10432
10408
  enableDirectUploads?: boolean;
10433
- /** Override: enable presigned URL upload flow (NULL = inherit from database_settings) */
10409
+ /** Enable presigned URL upload flow for S3/MinIO storage */
10434
10410
  enablePresignedUploads?: boolean;
10435
- /** Override: enable many-to-many relationships (NULL = inherit from database_settings) */
10411
+ /** Enable many-to-many relationship queries in the GraphQL API */
10436
10412
  enableManyToMany?: boolean;
10437
- /** Override: enable connection filter (NULL = inherit from database_settings) */
10413
+ /** Enable connection filter (where argument) in the GraphQL API */
10438
10414
  enableConnectionFilter?: boolean;
10439
- /** Override: enable ltree hierarchical data type (NULL = inherit from database_settings) */
10415
+ /** Enable ltree hierarchical data type support in the GraphQL API */
10440
10416
  enableLtree?: boolean;
10441
- /** Override: enable LLM/AI integration features (NULL = inherit from database_settings) */
10417
+ /** Enable LLM/AI integration features in the GraphQL API */
10442
10418
  enableLlm?: boolean;
10443
- /** Extensible JSON for additional per-API settings that do not have dedicated columns */
10419
+ /** Enable realtime subscriptions (cursor-tracked change delivery) in the GraphQL API */
10420
+ enableRealtime?: boolean;
10421
+ /** Extensible JSON for additional settings that do not have dedicated columns */
10444
10422
  options?: unknown;
10445
10423
  }
10446
10424
  export interface CreatePlansModuleInput {
@@ -10563,6 +10541,42 @@ export interface DatabaseTransferInput {
10563
10541
  updatedAt?: string;
10564
10542
  completedAt?: string;
10565
10543
  }
10544
+ export interface CreateApiSettingInput {
10545
+ clientMutationId?: string;
10546
+ /** The `ApiSetting` to be created by this mutation. */
10547
+ apiSetting: ApiSettingInput;
10548
+ }
10549
+ /** An input for mutations affecting `ApiSetting` */
10550
+ export interface ApiSettingInput {
10551
+ /** Unique identifier for this API settings record */
10552
+ id?: string;
10553
+ /** Reference to the metaschema database */
10554
+ databaseId: string;
10555
+ /** API these settings override for */
10556
+ apiId: string;
10557
+ /** Override: enable aggregate queries (NULL = inherit from database_settings) */
10558
+ enableAggregates?: boolean;
10559
+ /** Override: enable PostGIS spatial types (NULL = inherit from database_settings) */
10560
+ enablePostgis?: boolean;
10561
+ /** Override: enable unified search (NULL = inherit from database_settings) */
10562
+ enableSearch?: boolean;
10563
+ /** Override: enable direct (multipart) file uploads (NULL = inherit from database_settings) */
10564
+ enableDirectUploads?: boolean;
10565
+ /** Override: enable presigned URL upload flow (NULL = inherit from database_settings) */
10566
+ enablePresignedUploads?: boolean;
10567
+ /** Override: enable many-to-many relationships (NULL = inherit from database_settings) */
10568
+ enableManyToMany?: boolean;
10569
+ /** Override: enable connection filter (NULL = inherit from database_settings) */
10570
+ enableConnectionFilter?: boolean;
10571
+ /** Override: enable ltree hierarchical data type (NULL = inherit from database_settings) */
10572
+ enableLtree?: boolean;
10573
+ /** Override: enable LLM/AI integration features (NULL = inherit from database_settings) */
10574
+ enableLlm?: boolean;
10575
+ /** Override: enable realtime subscriptions (NULL = inherit from database_settings) */
10576
+ enableRealtime?: boolean;
10577
+ /** Extensible JSON for additional per-API settings that do not have dedicated columns */
10578
+ options?: unknown;
10579
+ }
10566
10580
  export interface CreateBillingModuleInput {
10567
10581
  clientMutationId?: string;
10568
10582
  /** The `BillingModule` to be created by this mutation. */
@@ -13717,40 +13731,6 @@ export interface AppLevelPatch {
13717
13731
  /** Upload for Badge or icon image associated with this level */
13718
13732
  imageUpload?: File;
13719
13733
  }
13720
- export interface UpdateDatabaseSettingInput {
13721
- clientMutationId?: string;
13722
- /** Unique identifier for this settings record */
13723
- id: string;
13724
- /** An object where the defined keys will be set on the `DatabaseSetting` being updated. */
13725
- databaseSettingPatch: DatabaseSettingPatch;
13726
- }
13727
- /** Represents an update to a `DatabaseSetting`. Fields that are set will be updated. */
13728
- export interface DatabaseSettingPatch {
13729
- /** Unique identifier for this settings record */
13730
- id?: string;
13731
- /** Reference to the metaschema database these settings apply to */
13732
- databaseId?: string;
13733
- /** Enable aggregate queries (sum, avg, min, max, etc.) in the GraphQL API */
13734
- enableAggregates?: boolean;
13735
- /** Enable PostGIS spatial types and operators in the GraphQL API */
13736
- enablePostgis?: boolean;
13737
- /** Enable unified search (tsvector, BM25, pg_trgm, pgvector) in the GraphQL API */
13738
- enableSearch?: boolean;
13739
- /** Enable direct (multipart) file upload mutations in the GraphQL API */
13740
- enableDirectUploads?: boolean;
13741
- /** Enable presigned URL upload flow for S3/MinIO storage */
13742
- enablePresignedUploads?: boolean;
13743
- /** Enable many-to-many relationship queries in the GraphQL API */
13744
- enableManyToMany?: boolean;
13745
- /** Enable connection filter (where argument) in the GraphQL API */
13746
- enableConnectionFilter?: boolean;
13747
- /** Enable ltree hierarchical data type support in the GraphQL API */
13748
- enableLtree?: boolean;
13749
- /** Enable LLM/AI integration features in the GraphQL API */
13750
- enableLlm?: boolean;
13751
- /** Extensible JSON for additional settings that do not have dedicated columns */
13752
- options?: unknown;
13753
- }
13754
13734
  export interface UpdateBlueprintInput {
13755
13735
  clientMutationId?: string;
13756
13736
  /** Unique identifier for this blueprint. */
@@ -13827,40 +13807,40 @@ export interface RealtimeModulePatch {
13827
13807
  partitionInterval?: string;
13828
13808
  notifyChannel?: string;
13829
13809
  }
13830
- export interface UpdateApiSettingInput {
13810
+ export interface UpdateDatabaseSettingInput {
13831
13811
  clientMutationId?: string;
13832
- /** Unique identifier for this API settings record */
13812
+ /** Unique identifier for this settings record */
13833
13813
  id: string;
13834
- /** An object where the defined keys will be set on the `ApiSetting` being updated. */
13835
- apiSettingPatch: ApiSettingPatch;
13814
+ /** An object where the defined keys will be set on the `DatabaseSetting` being updated. */
13815
+ databaseSettingPatch: DatabaseSettingPatch;
13836
13816
  }
13837
- /** Represents an update to a `ApiSetting`. Fields that are set will be updated. */
13838
- export interface ApiSettingPatch {
13839
- /** Unique identifier for this API settings record */
13817
+ /** Represents an update to a `DatabaseSetting`. Fields that are set will be updated. */
13818
+ export interface DatabaseSettingPatch {
13819
+ /** Unique identifier for this settings record */
13840
13820
  id?: string;
13841
- /** Reference to the metaschema database */
13821
+ /** Reference to the metaschema database these settings apply to */
13842
13822
  databaseId?: string;
13843
- /** API these settings override for */
13844
- apiId?: string;
13845
- /** Override: enable aggregate queries (NULL = inherit from database_settings) */
13823
+ /** Enable aggregate queries (sum, avg, min, max, etc.) in the GraphQL API */
13846
13824
  enableAggregates?: boolean;
13847
- /** Override: enable PostGIS spatial types (NULL = inherit from database_settings) */
13825
+ /** Enable PostGIS spatial types and operators in the GraphQL API */
13848
13826
  enablePostgis?: boolean;
13849
- /** Override: enable unified search (NULL = inherit from database_settings) */
13827
+ /** Enable unified search (tsvector, BM25, pg_trgm, pgvector) in the GraphQL API */
13850
13828
  enableSearch?: boolean;
13851
- /** Override: enable direct (multipart) file uploads (NULL = inherit from database_settings) */
13829
+ /** Enable direct (multipart) file upload mutations in the GraphQL API */
13852
13830
  enableDirectUploads?: boolean;
13853
- /** Override: enable presigned URL upload flow (NULL = inherit from database_settings) */
13831
+ /** Enable presigned URL upload flow for S3/MinIO storage */
13854
13832
  enablePresignedUploads?: boolean;
13855
- /** Override: enable many-to-many relationships (NULL = inherit from database_settings) */
13833
+ /** Enable many-to-many relationship queries in the GraphQL API */
13856
13834
  enableManyToMany?: boolean;
13857
- /** Override: enable connection filter (NULL = inherit from database_settings) */
13835
+ /** Enable connection filter (where argument) in the GraphQL API */
13858
13836
  enableConnectionFilter?: boolean;
13859
- /** Override: enable ltree hierarchical data type (NULL = inherit from database_settings) */
13837
+ /** Enable ltree hierarchical data type support in the GraphQL API */
13860
13838
  enableLtree?: boolean;
13861
- /** Override: enable LLM/AI integration features (NULL = inherit from database_settings) */
13839
+ /** Enable LLM/AI integration features in the GraphQL API */
13862
13840
  enableLlm?: boolean;
13863
- /** Extensible JSON for additional per-API settings that do not have dedicated columns */
13841
+ /** Enable realtime subscriptions (cursor-tracked change delivery) in the GraphQL API */
13842
+ enableRealtime?: boolean;
13843
+ /** Extensible JSON for additional settings that do not have dedicated columns */
13864
13844
  options?: unknown;
13865
13845
  }
13866
13846
  export interface UpdatePlansModuleInput {
@@ -13968,6 +13948,44 @@ export interface DatabaseTransferPatch {
13968
13948
  updatedAt?: string;
13969
13949
  completedAt?: string;
13970
13950
  }
13951
+ export interface UpdateApiSettingInput {
13952
+ clientMutationId?: string;
13953
+ /** Unique identifier for this API settings record */
13954
+ id: string;
13955
+ /** An object where the defined keys will be set on the `ApiSetting` being updated. */
13956
+ apiSettingPatch: ApiSettingPatch;
13957
+ }
13958
+ /** Represents an update to a `ApiSetting`. Fields that are set will be updated. */
13959
+ export interface ApiSettingPatch {
13960
+ /** Unique identifier for this API settings record */
13961
+ id?: string;
13962
+ /** Reference to the metaschema database */
13963
+ databaseId?: string;
13964
+ /** API these settings override for */
13965
+ apiId?: string;
13966
+ /** Override: enable aggregate queries (NULL = inherit from database_settings) */
13967
+ enableAggregates?: boolean;
13968
+ /** Override: enable PostGIS spatial types (NULL = inherit from database_settings) */
13969
+ enablePostgis?: boolean;
13970
+ /** Override: enable unified search (NULL = inherit from database_settings) */
13971
+ enableSearch?: boolean;
13972
+ /** Override: enable direct (multipart) file uploads (NULL = inherit from database_settings) */
13973
+ enableDirectUploads?: boolean;
13974
+ /** Override: enable presigned URL upload flow (NULL = inherit from database_settings) */
13975
+ enablePresignedUploads?: boolean;
13976
+ /** Override: enable many-to-many relationships (NULL = inherit from database_settings) */
13977
+ enableManyToMany?: boolean;
13978
+ /** Override: enable connection filter (NULL = inherit from database_settings) */
13979
+ enableConnectionFilter?: boolean;
13980
+ /** Override: enable ltree hierarchical data type (NULL = inherit from database_settings) */
13981
+ enableLtree?: boolean;
13982
+ /** Override: enable LLM/AI integration features (NULL = inherit from database_settings) */
13983
+ enableLlm?: boolean;
13984
+ /** Override: enable realtime subscriptions (NULL = inherit from database_settings) */
13985
+ enableRealtime?: boolean;
13986
+ /** Extensible JSON for additional per-API settings that do not have dedicated columns */
13987
+ options?: unknown;
13988
+ }
13971
13989
  export interface UpdateBillingModuleInput {
13972
13990
  clientMutationId?: string;
13973
13991
  id: string;
@@ -15942,11 +15960,6 @@ export interface DeleteAppLevelInput {
15942
15960
  clientMutationId?: string;
15943
15961
  id: string;
15944
15962
  }
15945
- export interface DeleteDatabaseSettingInput {
15946
- clientMutationId?: string;
15947
- /** Unique identifier for this settings record */
15948
- id: string;
15949
- }
15950
15963
  export interface DeleteBlueprintInput {
15951
15964
  clientMutationId?: string;
15952
15965
  /** Unique identifier for this blueprint. */
@@ -15960,9 +15973,9 @@ export interface DeleteRealtimeModuleInput {
15960
15973
  clientMutationId?: string;
15961
15974
  id: string;
15962
15975
  }
15963
- export interface DeleteApiSettingInput {
15976
+ export interface DeleteDatabaseSettingInput {
15964
15977
  clientMutationId?: string;
15965
- /** Unique identifier for this API settings record */
15978
+ /** Unique identifier for this settings record */
15966
15979
  id: string;
15967
15980
  }
15968
15981
  export interface DeletePlansModuleInput {
@@ -15981,6 +15994,11 @@ export interface DeleteDatabaseTransferInput {
15981
15994
  clientMutationId?: string;
15982
15995
  id: string;
15983
15996
  }
15997
+ export interface DeleteApiSettingInput {
15998
+ clientMutationId?: string;
15999
+ /** Unique identifier for this API settings record */
16000
+ id: string;
16001
+ }
15984
16002
  export interface DeleteBillingModuleInput {
15985
16003
  clientMutationId?: string;
15986
16004
  id: string;
@@ -16828,13 +16846,6 @@ export interface AppLevelConnection {
16828
16846
  pageInfo: PageInfo;
16829
16847
  totalCount: number;
16830
16848
  }
16831
- /** A connection to a list of `DatabaseSetting` values. */
16832
- export interface DatabaseSettingConnection {
16833
- nodes: DatabaseSetting[];
16834
- edges: DatabaseSettingEdge[];
16835
- pageInfo: PageInfo;
16836
- totalCount: number;
16837
- }
16838
16849
  /** A connection to a list of `Blueprint` values. */
16839
16850
  export interface BlueprintConnection {
16840
16851
  nodes: Blueprint[];
@@ -16856,10 +16867,10 @@ export interface RealtimeModuleConnection {
16856
16867
  pageInfo: PageInfo;
16857
16868
  totalCount: number;
16858
16869
  }
16859
- /** A connection to a list of `ApiSetting` values. */
16860
- export interface ApiSettingConnection {
16861
- nodes: ApiSetting[];
16862
- edges: ApiSettingEdge[];
16870
+ /** A connection to a list of `DatabaseSetting` values. */
16871
+ export interface DatabaseSettingConnection {
16872
+ nodes: DatabaseSetting[];
16873
+ edges: DatabaseSettingEdge[];
16863
16874
  pageInfo: PageInfo;
16864
16875
  totalCount: number;
16865
16876
  }
@@ -16898,6 +16909,13 @@ export interface DatabaseTransferConnection {
16898
16909
  pageInfo: PageInfo;
16899
16910
  totalCount: number;
16900
16911
  }
16912
+ /** A connection to a list of `ApiSetting` values. */
16913
+ export interface ApiSettingConnection {
16914
+ nodes: ApiSetting[];
16915
+ edges: ApiSettingEdge[];
16916
+ pageInfo: PageInfo;
16917
+ totalCount: number;
16918
+ }
16901
16919
  /** A connection to a list of `BillingModule` values. */
16902
16920
  export interface BillingModuleConnection {
16903
16921
  nodes: BillingModule[];
@@ -17323,6 +17341,9 @@ export interface BootstrapUserPayload {
17323
17341
  export interface SetFieldOrderPayload {
17324
17342
  clientMutationId?: string | null;
17325
17343
  }
17344
+ export interface ProvisionCheckConstraintPayload {
17345
+ clientMutationId?: string | null;
17346
+ }
17326
17347
  export interface ProvisionUniqueConstraintPayload {
17327
17348
  clientMutationId?: string | null;
17328
17349
  }
@@ -17939,12 +17960,6 @@ export interface CreateAppLevelPayload {
17939
17960
  appLevel?: AppLevel | null;
17940
17961
  appLevelEdge?: AppLevelEdge | null;
17941
17962
  }
17942
- export interface CreateDatabaseSettingPayload {
17943
- clientMutationId?: string | null;
17944
- /** The `DatabaseSetting` that was created by this mutation. */
17945
- databaseSetting?: DatabaseSetting | null;
17946
- databaseSettingEdge?: DatabaseSettingEdge | null;
17947
- }
17948
17963
  export interface CreateBlueprintPayload {
17949
17964
  clientMutationId?: string | null;
17950
17965
  /** The `Blueprint` that was created by this mutation. */
@@ -17963,11 +17978,11 @@ export interface CreateRealtimeModulePayload {
17963
17978
  realtimeModule?: RealtimeModule | null;
17964
17979
  realtimeModuleEdge?: RealtimeModuleEdge | null;
17965
17980
  }
17966
- export interface CreateApiSettingPayload {
17981
+ export interface CreateDatabaseSettingPayload {
17967
17982
  clientMutationId?: string | null;
17968
- /** The `ApiSetting` that was created by this mutation. */
17969
- apiSetting?: ApiSetting | null;
17970
- apiSettingEdge?: ApiSettingEdge | null;
17983
+ /** The `DatabaseSetting` that was created by this mutation. */
17984
+ databaseSetting?: DatabaseSetting | null;
17985
+ databaseSettingEdge?: DatabaseSettingEdge | null;
17971
17986
  }
17972
17987
  export interface CreatePlansModulePayload {
17973
17988
  clientMutationId?: string | null;
@@ -17998,6 +18013,12 @@ export interface CreateDatabaseTransferPayload {
17998
18013
  databaseTransfer?: DatabaseTransfer | null;
17999
18014
  databaseTransferEdge?: DatabaseTransferEdge | null;
18000
18015
  }
18016
+ export interface CreateApiSettingPayload {
18017
+ clientMutationId?: string | null;
18018
+ /** The `ApiSetting` that was created by this mutation. */
18019
+ apiSetting?: ApiSetting | null;
18020
+ apiSettingEdge?: ApiSettingEdge | null;
18021
+ }
18001
18022
  export interface CreateBillingModulePayload {
18002
18023
  clientMutationId?: string | null;
18003
18024
  /** The `BillingModule` that was created by this mutation. */
@@ -18783,12 +18804,6 @@ export interface UpdateAppLevelPayload {
18783
18804
  appLevel?: AppLevel | null;
18784
18805
  appLevelEdge?: AppLevelEdge | null;
18785
18806
  }
18786
- export interface UpdateDatabaseSettingPayload {
18787
- clientMutationId?: string | null;
18788
- /** The `DatabaseSetting` that was updated by this mutation. */
18789
- databaseSetting?: DatabaseSetting | null;
18790
- databaseSettingEdge?: DatabaseSettingEdge | null;
18791
- }
18792
18807
  export interface UpdateBlueprintPayload {
18793
18808
  clientMutationId?: string | null;
18794
18809
  /** The `Blueprint` that was updated by this mutation. */
@@ -18807,11 +18822,11 @@ export interface UpdateRealtimeModulePayload {
18807
18822
  realtimeModule?: RealtimeModule | null;
18808
18823
  realtimeModuleEdge?: RealtimeModuleEdge | null;
18809
18824
  }
18810
- export interface UpdateApiSettingPayload {
18825
+ export interface UpdateDatabaseSettingPayload {
18811
18826
  clientMutationId?: string | null;
18812
- /** The `ApiSetting` that was updated by this mutation. */
18813
- apiSetting?: ApiSetting | null;
18814
- apiSettingEdge?: ApiSettingEdge | null;
18827
+ /** The `DatabaseSetting` that was updated by this mutation. */
18828
+ databaseSetting?: DatabaseSetting | null;
18829
+ databaseSettingEdge?: DatabaseSettingEdge | null;
18815
18830
  }
18816
18831
  export interface UpdatePlansModulePayload {
18817
18832
  clientMutationId?: string | null;
@@ -18837,6 +18852,12 @@ export interface UpdateDatabaseTransferPayload {
18837
18852
  databaseTransfer?: DatabaseTransfer | null;
18838
18853
  databaseTransferEdge?: DatabaseTransferEdge | null;
18839
18854
  }
18855
+ export interface UpdateApiSettingPayload {
18856
+ clientMutationId?: string | null;
18857
+ /** The `ApiSetting` that was updated by this mutation. */
18858
+ apiSetting?: ApiSetting | null;
18859
+ apiSettingEdge?: ApiSettingEdge | null;
18860
+ }
18840
18861
  export interface UpdateBillingModulePayload {
18841
18862
  clientMutationId?: string | null;
18842
18863
  /** The `BillingModule` that was updated by this mutation. */
@@ -19617,12 +19638,6 @@ export interface DeleteAppLevelPayload {
19617
19638
  appLevel?: AppLevel | null;
19618
19639
  appLevelEdge?: AppLevelEdge | null;
19619
19640
  }
19620
- export interface DeleteDatabaseSettingPayload {
19621
- clientMutationId?: string | null;
19622
- /** The `DatabaseSetting` that was deleted by this mutation. */
19623
- databaseSetting?: DatabaseSetting | null;
19624
- databaseSettingEdge?: DatabaseSettingEdge | null;
19625
- }
19626
19641
  export interface DeleteBlueprintPayload {
19627
19642
  clientMutationId?: string | null;
19628
19643
  /** The `Blueprint` that was deleted by this mutation. */
@@ -19641,11 +19656,11 @@ export interface DeleteRealtimeModulePayload {
19641
19656
  realtimeModule?: RealtimeModule | null;
19642
19657
  realtimeModuleEdge?: RealtimeModuleEdge | null;
19643
19658
  }
19644
- export interface DeleteApiSettingPayload {
19659
+ export interface DeleteDatabaseSettingPayload {
19645
19660
  clientMutationId?: string | null;
19646
- /** The `ApiSetting` that was deleted by this mutation. */
19647
- apiSetting?: ApiSetting | null;
19648
- apiSettingEdge?: ApiSettingEdge | null;
19661
+ /** The `DatabaseSetting` that was deleted by this mutation. */
19662
+ databaseSetting?: DatabaseSetting | null;
19663
+ databaseSettingEdge?: DatabaseSettingEdge | null;
19649
19664
  }
19650
19665
  export interface DeletePlansModulePayload {
19651
19666
  clientMutationId?: string | null;
@@ -19671,6 +19686,12 @@ export interface DeleteDatabaseTransferPayload {
19671
19686
  databaseTransfer?: DatabaseTransfer | null;
19672
19687
  databaseTransferEdge?: DatabaseTransferEdge | null;
19673
19688
  }
19689
+ export interface DeleteApiSettingPayload {
19690
+ clientMutationId?: string | null;
19691
+ /** The `ApiSetting` that was deleted by this mutation. */
19692
+ apiSetting?: ApiSetting | null;
19693
+ apiSettingEdge?: ApiSettingEdge | null;
19694
+ }
19674
19695
  export interface DeleteBillingModulePayload {
19675
19696
  clientMutationId?: string | null;
19676
19697
  /** The `BillingModule` that was deleted by this mutation. */
@@ -20524,12 +20545,6 @@ export interface AppLevelEdge {
20524
20545
  /** The `AppLevel` at the end of the edge. */
20525
20546
  node?: AppLevel | null;
20526
20547
  }
20527
- /** A `DatabaseSetting` edge in the connection. */
20528
- export interface DatabaseSettingEdge {
20529
- cursor?: string | null;
20530
- /** The `DatabaseSetting` at the end of the edge. */
20531
- node?: DatabaseSetting | null;
20532
- }
20533
20548
  /** A `Blueprint` edge in the connection. */
20534
20549
  export interface BlueprintEdge {
20535
20550
  cursor?: string | null;
@@ -20548,11 +20563,11 @@ export interface RealtimeModuleEdge {
20548
20563
  /** The `RealtimeModule` at the end of the edge. */
20549
20564
  node?: RealtimeModule | null;
20550
20565
  }
20551
- /** A `ApiSetting` edge in the connection. */
20552
- export interface ApiSettingEdge {
20566
+ /** A `DatabaseSetting` edge in the connection. */
20567
+ export interface DatabaseSettingEdge {
20553
20568
  cursor?: string | null;
20554
- /** The `ApiSetting` at the end of the edge. */
20555
- node?: ApiSetting | null;
20569
+ /** The `DatabaseSetting` at the end of the edge. */
20570
+ node?: DatabaseSetting | null;
20556
20571
  }
20557
20572
  /** A `PlansModule` edge in the connection. */
20558
20573
  export interface PlansModuleEdge {
@@ -20584,6 +20599,12 @@ export interface DatabaseTransferEdge {
20584
20599
  /** The `DatabaseTransfer` at the end of the edge. */
20585
20600
  node?: DatabaseTransfer | null;
20586
20601
  }
20602
+ /** A `ApiSetting` edge in the connection. */
20603
+ export interface ApiSettingEdge {
20604
+ cursor?: string | null;
20605
+ /** The `ApiSetting` at the end of the edge. */
20606
+ node?: ApiSetting | null;
20607
+ }
20587
20608
  /** A `BillingModule` edge in the connection. */
20588
20609
  export interface BillingModuleEdge {
20589
20610
  cursor?: string | null;
package/public/types.d.ts CHANGED
@@ -588,6 +588,7 @@ export interface ApiSetting {
588
588
  enableConnectionFilter: boolean | null;
589
589
  enableLtree: boolean | null;
590
590
  enableLlm: boolean | null;
591
+ enableRealtime: boolean | null;
591
592
  options: unknown | null;
592
593
  }
593
594
  export interface ConnectedAccountsModule {
@@ -1636,6 +1637,7 @@ export interface DatabaseSetting {
1636
1637
  enableConnectionFilter: boolean | null;
1637
1638
  enableLtree: boolean | null;
1638
1639
  enableLlm: boolean | null;
1640
+ enableRealtime: boolean | null;
1639
1641
  options: unknown | null;
1640
1642
  }
1641
1643
  export interface PlansModule {