@constructive-io/react 1.9.2 → 1.9.4

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 (220) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +24 -0
  4. package/admin/hooks/invalidation.js +64 -0
  5. package/admin/hooks/mutation-keys.d.ts +48 -0
  6. package/admin/hooks/mutation-keys.js +32 -1
  7. package/admin/hooks/mutations/index.d.ts +8 -0
  8. package/admin/hooks/mutations/index.js +8 -0
  9. package/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
  10. package/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js} +6 -6
  11. package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
  12. package/admin/hooks/mutations/useCreateOrgChartEdgeMutation.js +34 -0
  13. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
  14. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +34 -0
  15. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
  16. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +34 -0
  17. package/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
  18. package/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +7 -7
  19. package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
  20. package/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +39 -0
  21. package/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
  22. package/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +9 -9
  23. package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
  24. package/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +40 -0
  25. package/admin/hooks/queries/index.d.ts +7 -0
  26. package/admin/hooks/queries/index.js +7 -0
  27. package/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
  28. package/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +14 -14
  29. package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
  30. package/admin/hooks/queries/useOrgChartEdgeGrantsQuery.js +38 -0
  31. package/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
  32. package/admin/hooks/queries/useOrgChartEdgeQuery.js +53 -0
  33. package/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
  34. package/admin/hooks/queries/useOrgChartEdgesQuery.js +38 -0
  35. package/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
  36. package/admin/hooks/queries/useOrgGetManagersQuery.js +38 -0
  37. package/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
  38. package/admin/hooks/queries/useOrgGetSubordinatesQuery.js +38 -0
  39. package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
  40. package/admin/hooks/queries/useOrgIsManagerOfQuery.js +53 -0
  41. package/admin/hooks/query-keys.d.ts +58 -0
  42. package/admin/hooks/query-keys.js +34 -1
  43. package/admin/orm/index.d.ts +13 -0
  44. package/admin/orm/index.js +8 -0
  45. package/admin/orm/input-types.d.ts +399 -0
  46. package/admin/orm/models/index.d.ts +4 -0
  47. package/admin/orm/models/index.js +9 -1
  48. package/admin/orm/models/orgChartEdge.d.ts +54 -0
  49. package/admin/orm/models/orgChartEdge.js +104 -0
  50. package/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  51. package/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +27 -27
  52. package/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  53. package/admin/orm/models/orgGetManagersRecord.js +59 -0
  54. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  55. package/admin/orm/models/orgGetSubordinatesRecord.js +59 -0
  56. package/admin/orm/query/index.d.ts +11 -0
  57. package/admin/orm/query/index.js +24 -0
  58. package/admin/schema-types.d.ts +247 -1
  59. package/admin/types.d.ts +29 -0
  60. package/api/hooks/index.d.ts +1 -1
  61. package/api/hooks/index.js +1 -1
  62. package/api/hooks/invalidation.d.ts +6 -12
  63. package/api/hooks/invalidation.js +16 -32
  64. package/api/hooks/mutation-keys.d.ts +12 -24
  65. package/api/hooks/mutation-keys.js +9 -16
  66. package/api/hooks/mutations/index.d.ts +3 -6
  67. package/api/hooks/mutations/index.js +3 -6
  68. package/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
  69. package/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +6 -6
  70. package/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
  71. package/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +7 -7
  72. package/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
  73. package/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +9 -9
  74. package/api/hooks/queries/index.d.ts +2 -4
  75. package/api/hooks/queries/index.js +2 -4
  76. package/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
  77. package/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +14 -14
  78. package/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
  79. package/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +14 -14
  80. package/api/hooks/query-keys.d.ts +14 -28
  81. package/api/hooks/query-keys.js +10 -18
  82. package/api/orm/index.d.ts +2 -4
  83. package/api/orm/index.js +2 -4
  84. package/api/orm/input-types.d.ts +378 -468
  85. package/api/orm/input-types.js +2 -2
  86. package/api/orm/models/domainType.d.ts +54 -0
  87. package/api/orm/models/{apiModule.js → domainType.js} +27 -27
  88. package/api/orm/models/index.d.ts +1 -2
  89. package/api/orm/models/index.js +4 -6
  90. package/api/schema-types.d.ts +157 -226
  91. package/api/types.d.ts +16 -17
  92. package/compute/orm/input-types.d.ts +42 -3
  93. package/compute/schema-types.d.ts +25 -3
  94. package/compute/types.d.ts +5 -0
  95. package/esm/admin/hooks/index.d.ts +1 -1
  96. package/esm/admin/hooks/index.js +1 -1
  97. package/esm/admin/hooks/invalidation.d.ts +24 -0
  98. package/esm/admin/hooks/invalidation.js +65 -1
  99. package/esm/admin/hooks/mutation-keys.d.ts +48 -0
  100. package/esm/admin/hooks/mutation-keys.js +31 -0
  101. package/esm/admin/hooks/mutations/index.d.ts +8 -0
  102. package/esm/admin/hooks/mutations/index.js +8 -0
  103. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.d.ts +34 -0
  104. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeGrantMutation.js +31 -0
  105. package/esm/admin/hooks/mutations/useCreateOrgChartEdgeMutation.d.ts +34 -0
  106. package/esm/{api/hooks/mutations/useCreatePlatformApiModuleMutation.js → admin/hooks/mutations/useCreateOrgChartEdgeMutation.js} +7 -7
  107. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +34 -0
  108. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +31 -0
  109. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +34 -0
  110. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +31 -0
  111. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.d.ts +38 -0
  112. package/esm/{api/hooks/mutations/useDeletePlatformApiModuleMutation.js → admin/hooks/mutations/useDeleteOrgChartEdgeGrantMutation.js} +8 -8
  113. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.d.ts +38 -0
  114. package/esm/admin/hooks/mutations/useDeleteOrgChartEdgeMutation.js +36 -0
  115. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.d.ts +40 -0
  116. package/esm/{api/hooks/mutations/useUpdatePlatformApiModuleMutation.js → admin/hooks/mutations/useUpdateOrgChartEdgeGrantMutation.js} +10 -10
  117. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.d.ts +40 -0
  118. package/esm/admin/hooks/mutations/useUpdateOrgChartEdgeMutation.js +37 -0
  119. package/esm/admin/hooks/queries/index.d.ts +7 -0
  120. package/esm/admin/hooks/queries/index.js +7 -0
  121. package/esm/admin/hooks/queries/useOrgChartEdgeGrantQuery.d.ts +65 -0
  122. package/esm/{api/hooks/queries/usePlatformApiModuleQuery.js → admin/hooks/queries/useOrgChartEdgeGrantQuery.js} +11 -11
  123. package/esm/admin/hooks/queries/useOrgChartEdgeGrantsQuery.d.ts +69 -0
  124. package/esm/{api/hooks/queries/usePlatformApiModulesQuery.js → admin/hooks/queries/useOrgChartEdgeGrantsQuery.js} +11 -11
  125. package/esm/admin/hooks/queries/useOrgChartEdgeQuery.d.ts +65 -0
  126. package/esm/admin/hooks/queries/useOrgChartEdgeQuery.js +47 -0
  127. package/esm/admin/hooks/queries/useOrgChartEdgesQuery.d.ts +69 -0
  128. package/esm/admin/hooks/queries/useOrgChartEdgesQuery.js +32 -0
  129. package/esm/admin/hooks/queries/useOrgGetManagersQuery.d.ts +69 -0
  130. package/esm/admin/hooks/queries/useOrgGetManagersQuery.js +32 -0
  131. package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.d.ts +69 -0
  132. package/esm/admin/hooks/queries/useOrgGetSubordinatesQuery.js +32 -0
  133. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +53 -0
  134. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +47 -0
  135. package/esm/admin/hooks/query-keys.d.ts +58 -0
  136. package/esm/admin/hooks/query-keys.js +33 -0
  137. package/esm/admin/orm/index.d.ts +13 -0
  138. package/esm/admin/orm/index.js +8 -0
  139. package/esm/admin/orm/input-types.d.ts +399 -0
  140. package/esm/admin/orm/models/index.d.ts +4 -0
  141. package/esm/admin/orm/models/index.js +4 -0
  142. package/esm/admin/orm/models/orgChartEdge.d.ts +54 -0
  143. package/esm/admin/orm/models/orgChartEdge.js +100 -0
  144. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  145. package/esm/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +25 -25
  146. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  147. package/esm/admin/orm/models/orgGetManagersRecord.js +55 -0
  148. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  149. package/esm/admin/orm/models/orgGetSubordinatesRecord.js +55 -0
  150. package/esm/admin/orm/query/index.d.ts +11 -0
  151. package/esm/admin/orm/query/index.js +24 -0
  152. package/esm/admin/schema-types.d.ts +247 -1
  153. package/esm/admin/types.d.ts +29 -0
  154. package/esm/api/hooks/index.d.ts +1 -1
  155. package/esm/api/hooks/index.js +1 -1
  156. package/esm/api/hooks/invalidation.d.ts +6 -12
  157. package/esm/api/hooks/invalidation.js +17 -33
  158. package/esm/api/hooks/mutation-keys.d.ts +12 -24
  159. package/esm/api/hooks/mutation-keys.js +7 -14
  160. package/esm/api/hooks/mutations/index.d.ts +3 -6
  161. package/esm/api/hooks/mutations/index.js +3 -6
  162. package/esm/api/hooks/mutations/useCreateDomainTypeMutation.d.ts +34 -0
  163. package/esm/api/hooks/mutations/{useCreateApiModuleMutation.js → useCreateDomainTypeMutation.js} +7 -7
  164. package/esm/api/hooks/mutations/useDeleteDomainTypeMutation.d.ts +38 -0
  165. package/esm/api/hooks/mutations/{useDeleteApiModuleMutation.js → useDeleteDomainTypeMutation.js} +8 -8
  166. package/esm/api/hooks/mutations/useUpdateDomainTypeMutation.d.ts +40 -0
  167. package/esm/api/hooks/mutations/{useUpdateApiModuleMutation.js → useUpdateDomainTypeMutation.js} +10 -10
  168. package/esm/api/hooks/queries/index.d.ts +2 -4
  169. package/esm/api/hooks/queries/index.js +2 -4
  170. package/esm/api/hooks/queries/useDomainTypeQuery.d.ts +65 -0
  171. package/esm/api/hooks/queries/{useApiModuleQuery.js → useDomainTypeQuery.js} +11 -11
  172. package/esm/api/hooks/queries/useDomainTypesQuery.d.ts +69 -0
  173. package/esm/api/hooks/queries/{useApiModulesQuery.js → useDomainTypesQuery.js} +11 -11
  174. package/esm/api/hooks/query-keys.d.ts +14 -28
  175. package/esm/api/hooks/query-keys.js +8 -16
  176. package/esm/api/orm/index.d.ts +2 -4
  177. package/esm/api/orm/index.js +2 -4
  178. package/esm/api/orm/input-types.d.ts +378 -468
  179. package/esm/api/orm/input-types.js +2 -2
  180. package/esm/api/orm/models/domainType.d.ts +54 -0
  181. package/esm/api/orm/models/{apiModule.js → domainType.js} +25 -25
  182. package/esm/api/orm/models/index.d.ts +1 -2
  183. package/esm/api/orm/models/index.js +1 -2
  184. package/esm/api/schema-types.d.ts +157 -226
  185. package/esm/api/types.d.ts +16 -17
  186. package/esm/compute/orm/input-types.d.ts +42 -3
  187. package/esm/compute/schema-types.d.ts +25 -3
  188. package/esm/compute/types.d.ts +5 -0
  189. package/esm/modules/orm/input-types.d.ts +9 -16
  190. package/esm/modules/schema-types.d.ts +6 -10
  191. package/esm/modules/types.d.ts +1 -2
  192. package/modules/orm/input-types.d.ts +9 -16
  193. package/modules/schema-types.d.ts +6 -10
  194. package/modules/types.d.ts +1 -2
  195. package/package.json +5 -5
  196. package/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
  197. package/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
  198. package/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
  199. package/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
  200. package/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
  201. package/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
  202. package/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
  203. package/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
  204. package/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
  205. package/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
  206. package/api/hooks/queries/usePlatformApiModulesQuery.js +0 -38
  207. package/api/orm/models/apiModule.d.ts +0 -54
  208. package/api/orm/models/platformApiModule.d.ts +0 -54
  209. package/esm/api/hooks/mutations/useCreateApiModuleMutation.d.ts +0 -34
  210. package/esm/api/hooks/mutations/useCreatePlatformApiModuleMutation.d.ts +0 -34
  211. package/esm/api/hooks/mutations/useDeleteApiModuleMutation.d.ts +0 -38
  212. package/esm/api/hooks/mutations/useDeletePlatformApiModuleMutation.d.ts +0 -38
  213. package/esm/api/hooks/mutations/useUpdateApiModuleMutation.d.ts +0 -40
  214. package/esm/api/hooks/mutations/useUpdatePlatformApiModuleMutation.d.ts +0 -40
  215. package/esm/api/hooks/queries/useApiModuleQuery.d.ts +0 -65
  216. package/esm/api/hooks/queries/useApiModulesQuery.d.ts +0 -69
  217. package/esm/api/hooks/queries/usePlatformApiModuleQuery.d.ts +0 -65
  218. package/esm/api/hooks/queries/usePlatformApiModulesQuery.d.ts +0 -69
  219. package/esm/api/orm/models/apiModule.d.ts +0 -54
  220. package/esm/api/orm/models/platformApiModule.d.ts +0 -54
@@ -252,20 +252,6 @@ export interface Api {
252
252
  roleName?: string | null;
253
253
  updatedAt?: string | null;
254
254
  }
255
- /** Server-side module configuration for an API surface; stores module name and JSON settings */
256
- export interface ApiModule {
257
- /** API surface this module configuration belongs to */
258
- apiId?: string | null;
259
- createdAt?: string | null;
260
- /** JSON configuration data for this module */
261
- data?: Record<string, unknown> | null;
262
- /** Database that owns this resource (database-scoped isolation) */
263
- databaseId?: string | null;
264
- id: string;
265
- /** Module name (e.g. auth, uploads, webhooks) */
266
- name?: string | null;
267
- updatedAt?: string | null;
268
- }
269
255
  /** Join table linking API surfaces to the metaschema schemas they expose */
270
256
  export interface ApiSchema {
271
257
  /** API surface that exposes this schema */
@@ -495,6 +481,21 @@ export interface DomainEvent {
495
481
  metadata?: Record<string, unknown> | null;
496
482
  updatedAt?: string | null;
497
483
  }
484
+ export interface DomainType {
485
+ baseType?: Record<string, unknown> | null;
486
+ category?: ObjectCategory | null;
487
+ checkExpr?: Record<string, unknown> | null;
488
+ databaseId?: string | null;
489
+ defaultExpr?: Record<string, unknown> | null;
490
+ description?: string | null;
491
+ id: string;
492
+ label?: string | null;
493
+ name?: string | null;
494
+ notNull?: boolean | null;
495
+ schemaId?: string | null;
496
+ smartTags?: Record<string, unknown> | null;
497
+ tags?: string[] | null;
498
+ }
498
499
  /** Ownership verification challenges issued for a domain */
499
500
  export interface DomainVerification {
500
501
  /** How many times this challenge has been probed */
@@ -779,18 +780,6 @@ export interface PlatformApi {
779
780
  roleName?: string | null;
780
781
  updatedAt?: string | null;
781
782
  }
782
- /** Server-side module configuration for an API surface; stores module name and JSON settings */
783
- export interface PlatformApiModule {
784
- /** API surface this module configuration belongs to */
785
- apiId?: string | null;
786
- createdAt?: string | null;
787
- /** JSON configuration data for this module */
788
- data?: Record<string, unknown> | null;
789
- id: string;
790
- /** Module name (e.g. auth, uploads, webhooks) */
791
- name?: string | null;
792
- updatedAt?: string | null;
793
- }
794
783
  /** Join table linking API surfaces to the metaschema schemas they expose */
795
784
  export interface PlatformApiSchema {
796
785
  /** API surface that exposes this schema */
@@ -1256,10 +1245,11 @@ export interface Table {
1256
1245
  partitioned?: boolean | null;
1257
1246
  peoplestamps?: boolean | null;
1258
1247
  pluralName?: string | null;
1248
+ principalstamps?: boolean | null;
1259
1249
  schemaId?: string | null;
1260
1250
  singularName?: string | null;
1261
1251
  smartTags?: Record<string, unknown> | null;
1262
- /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default password_or_mfa), a type string (password / mfa / password_or_mfa), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
1252
+ /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / fresh_auth; password_or_mfa is the legacy spelling), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
1263
1253
  stepUp?: Record<string, unknown> | null;
1264
1254
  tags?: string[] | null;
1265
1255
  timestamps?: boolean | null;
@@ -1414,13 +1404,9 @@ export interface PageInfo {
1414
1404
  }
1415
1405
  export interface ApiRelations {
1416
1406
  apiSetting?: ApiSetting | null;
1417
- apiModules?: ConnectionResult<ApiModule>;
1418
1407
  apiSchemas?: ConnectionResult<ApiSchema>;
1419
1408
  corsSettings?: ConnectionResult<CorsSetting>;
1420
1409
  }
1421
- export interface ApiModuleRelations {
1422
- api?: Api | null;
1423
- }
1424
1410
  export interface ApiSchemaRelations {
1425
1411
  api?: Api | null;
1426
1412
  schema?: Schema | null;
@@ -1446,6 +1432,7 @@ export interface DatabaseRelations {
1446
1432
  compositeTypes?: ConnectionResult<CompositeType>;
1447
1433
  databaseTransfers?: ConnectionResult<DatabaseTransfer>;
1448
1434
  defaultPrivileges?: ConnectionResult<DefaultPrivilege>;
1435
+ domainTypes?: ConnectionResult<DomainType>;
1449
1436
  embeddingChunks?: ConnectionResult<EmbeddingChunk>;
1450
1437
  enums?: ConnectionResult<Enum>;
1451
1438
  exclusionConstraints?: ConnectionResult<ExclusionConstraint>;
@@ -1490,6 +1477,10 @@ export interface DomainEventRelations {
1490
1477
  domainVerification?: DomainVerification | null;
1491
1478
  managedDomain?: ManagedDomain | null;
1492
1479
  }
1480
+ export interface DomainTypeRelations {
1481
+ database?: Database | null;
1482
+ schema?: Schema | null;
1483
+ }
1493
1484
  export interface DomainVerificationRelations {
1494
1485
  domain?: Domain | null;
1495
1486
  managedDomain?: ManagedDomain | null;
@@ -1551,12 +1542,8 @@ export interface PartitionRelations {
1551
1542
  export interface PlatformApiRelations {
1552
1543
  platformApiSettingByApiId?: PlatformApiSetting | null;
1553
1544
  platformCorsSettingByApiId?: PlatformCorsSetting | null;
1554
- platformApiModulesByApiId?: ConnectionResult<PlatformApiModule>;
1555
1545
  platformApiSchemasByApiId?: ConnectionResult<PlatformApiSchema>;
1556
1546
  }
1557
- export interface PlatformApiModuleRelations {
1558
- api?: PlatformApi | null;
1559
- }
1560
1547
  export interface PlatformApiSchemaRelations {
1561
1548
  api?: PlatformApi | null;
1562
1549
  schema?: Schema | null;
@@ -1633,6 +1620,7 @@ export interface SchemaRelations {
1633
1620
  apiSchemas?: ConnectionResult<ApiSchema>;
1634
1621
  compositeTypes?: ConnectionResult<CompositeType>;
1635
1622
  defaultPrivileges?: ConnectionResult<DefaultPrivilege>;
1623
+ domainTypes?: ConnectionResult<DomainType>;
1636
1624
  enums?: ConnectionResult<Enum>;
1637
1625
  functions?: ConnectionResult<Function>;
1638
1626
  platformApiSchemas?: ConnectionResult<PlatformApiSchema>;
@@ -1738,7 +1726,6 @@ export interface WebauthnSettingRelations {
1738
1726
  userField?: Field | null;
1739
1727
  }
1740
1728
  export type ApiWithRelations = Api & ApiRelations;
1741
- export type ApiModuleWithRelations = ApiModule & ApiModuleRelations;
1742
1729
  export type ApiSchemaWithRelations = ApiSchema & ApiSchemaRelations;
1743
1730
  export type ApiSettingWithRelations = ApiSetting & ApiSettingRelations;
1744
1731
  export type AstMigrationWithRelations = AstMigration & AstMigrationRelations;
@@ -1751,6 +1738,7 @@ export type DatabaseTransferWithRelations = DatabaseTransfer & DatabaseTransferR
1751
1738
  export type DefaultPrivilegeWithRelations = DefaultPrivilege & DefaultPrivilegeRelations;
1752
1739
  export type DomainWithRelations = Domain & DomainRelations;
1753
1740
  export type DomainEventWithRelations = DomainEvent & DomainEventRelations;
1741
+ export type DomainTypeWithRelations = DomainType & DomainTypeRelations;
1754
1742
  export type DomainVerificationWithRelations = DomainVerification & DomainVerificationRelations;
1755
1743
  export type EmbeddingChunkWithRelations = EmbeddingChunk & EmbeddingChunkRelations;
1756
1744
  export type EnumWithRelations = Enum & EnumRelations;
@@ -1766,7 +1754,6 @@ export type ManagedDomainWithRelations = ManagedDomain & ManagedDomainRelations;
1766
1754
  export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations;
1767
1755
  export type PartitionWithRelations = Partition & PartitionRelations;
1768
1756
  export type PlatformApiWithRelations = PlatformApi & PlatformApiRelations;
1769
- export type PlatformApiModuleWithRelations = PlatformApiModule & PlatformApiModuleRelations;
1770
1757
  export type PlatformApiSchemaWithRelations = PlatformApiSchema & PlatformApiSchemaRelations;
1771
1758
  export type PlatformApiSettingWithRelations = PlatformApiSetting & PlatformApiSettingRelations;
1772
1759
  export type PlatformCorsSettingWithRelations = PlatformCorsSetting & PlatformCorsSettingRelations;
@@ -1816,12 +1803,6 @@ export type ApiSelect = {
1816
1803
  apiSetting?: {
1817
1804
  select: ApiSettingSelect;
1818
1805
  };
1819
- apiModules?: {
1820
- select: ApiModuleSelect;
1821
- first?: number;
1822
- filter?: ApiModuleFilter;
1823
- orderBy?: ApiModuleOrderBy[];
1824
- };
1825
1806
  apiSchemas?: {
1826
1807
  select: ApiSchemaSelect;
1827
1808
  first?: number;
@@ -1835,18 +1816,6 @@ export type ApiSelect = {
1835
1816
  orderBy?: CorsSettingOrderBy[];
1836
1817
  };
1837
1818
  };
1838
- export type ApiModuleSelect = {
1839
- apiId?: boolean;
1840
- createdAt?: boolean;
1841
- data?: boolean;
1842
- databaseId?: boolean;
1843
- id?: boolean;
1844
- name?: boolean;
1845
- updatedAt?: boolean;
1846
- api?: {
1847
- select: ApiSelect;
1848
- };
1849
- };
1850
1819
  export type ApiSchemaSelect = {
1851
1820
  apiId?: boolean;
1852
1821
  createdAt?: boolean;
@@ -1984,6 +1953,12 @@ export type DatabaseSelect = {
1984
1953
  filter?: DefaultPrivilegeFilter;
1985
1954
  orderBy?: DefaultPrivilegeOrderBy[];
1986
1955
  };
1956
+ domainTypes?: {
1957
+ select: DomainTypeSelect;
1958
+ first?: number;
1959
+ filter?: DomainTypeFilter;
1960
+ orderBy?: DomainTypeOrderBy[];
1961
+ };
1987
1962
  embeddingChunks?: {
1988
1963
  select: EmbeddingChunkSelect;
1989
1964
  first?: number;
@@ -2241,6 +2216,27 @@ export type DomainEventSelect = {
2241
2216
  select: ManagedDomainSelect;
2242
2217
  };
2243
2218
  };
2219
+ export type DomainTypeSelect = {
2220
+ baseType?: boolean;
2221
+ category?: boolean;
2222
+ checkExpr?: boolean;
2223
+ databaseId?: boolean;
2224
+ defaultExpr?: boolean;
2225
+ description?: boolean;
2226
+ id?: boolean;
2227
+ label?: boolean;
2228
+ name?: boolean;
2229
+ notNull?: boolean;
2230
+ schemaId?: boolean;
2231
+ smartTags?: boolean;
2232
+ tags?: boolean;
2233
+ database?: {
2234
+ select: DatabaseSelect;
2235
+ };
2236
+ schema?: {
2237
+ select: SchemaSelect;
2238
+ };
2239
+ };
2244
2240
  export type DomainVerificationSelect = {
2245
2241
  attempts?: boolean;
2246
2242
  createdAt?: boolean;
@@ -2581,12 +2577,6 @@ export type PlatformApiSelect = {
2581
2577
  platformCorsSettingByApiId?: {
2582
2578
  select: PlatformCorsSettingSelect;
2583
2579
  };
2584
- platformApiModulesByApiId?: {
2585
- select: PlatformApiModuleSelect;
2586
- first?: number;
2587
- filter?: PlatformApiModuleFilter;
2588
- orderBy?: PlatformApiModuleOrderBy[];
2589
- };
2590
2580
  platformApiSchemasByApiId?: {
2591
2581
  select: PlatformApiSchemaSelect;
2592
2582
  first?: number;
@@ -2594,17 +2584,6 @@ export type PlatformApiSelect = {
2594
2584
  orderBy?: PlatformApiSchemaOrderBy[];
2595
2585
  };
2596
2586
  };
2597
- export type PlatformApiModuleSelect = {
2598
- apiId?: boolean;
2599
- createdAt?: boolean;
2600
- data?: boolean;
2601
- id?: boolean;
2602
- name?: boolean;
2603
- updatedAt?: boolean;
2604
- api?: {
2605
- select: PlatformApiSelect;
2606
- };
2607
- };
2608
2587
  export type PlatformApiSchemaSelect = {
2609
2588
  apiId?: boolean;
2610
2589
  createdAt?: boolean;
@@ -2986,6 +2965,12 @@ export type SchemaSelect = {
2986
2965
  filter?: DefaultPrivilegeFilter;
2987
2966
  orderBy?: DefaultPrivilegeOrderBy[];
2988
2967
  };
2968
+ domainTypes?: {
2969
+ select: DomainTypeSelect;
2970
+ first?: number;
2971
+ filter?: DomainTypeFilter;
2972
+ orderBy?: DomainTypeOrderBy[];
2973
+ };
2989
2974
  enums?: {
2990
2975
  select: EnumSelect;
2991
2976
  first?: number;
@@ -3162,6 +3147,7 @@ export type TableSelect = {
3162
3147
  partitioned?: boolean;
3163
3148
  peoplestamps?: boolean;
3164
3149
  pluralName?: boolean;
3150
+ principalstamps?: boolean;
3165
3151
  schemaId?: boolean;
3166
3152
  singularName?: boolean;
3167
3153
  smartTags?: boolean;
@@ -3499,10 +3485,6 @@ export interface ApiFilter {
3499
3485
  and?: ApiFilter[];
3500
3486
  /** Filter by the object’s `anonRole` field. */
3501
3487
  anonRole?: StringFilter;
3502
- /** Filter by the object’s `apiModules` relation. */
3503
- apiModules?: ApiToManyApiModuleFilter;
3504
- /** `apiModules` exist. */
3505
- apiModulesExist?: boolean;
3506
3488
  /** Filter by the object’s `apiSchemas` relation. */
3507
3489
  apiSchemas?: ApiToManyApiSchemaFilter;
3508
3490
  /** `apiSchemas` exist. */
@@ -3538,28 +3520,6 @@ export interface ApiFilter {
3538
3520
  /** Filter by the object’s `updatedAt` field. */
3539
3521
  updatedAt?: DatetimeFilter;
3540
3522
  }
3541
- export interface ApiModuleFilter {
3542
- /** Checks for all expressions in this list. */
3543
- and?: ApiModuleFilter[];
3544
- /** Filter by the object’s `api` relation. */
3545
- api?: ApiFilter;
3546
- /** Filter by the object’s `apiId` field. */
3547
- apiId?: UUIDFilter;
3548
- /** Filter by the object’s `createdAt` field. */
3549
- createdAt?: DatetimeFilter;
3550
- /** Filter by the object’s `databaseId` field. */
3551
- databaseId?: UUIDFilter;
3552
- /** Filter by the object’s `id` field. */
3553
- id?: UUIDFilter;
3554
- /** Filter by the object’s `name` field. */
3555
- name?: StringFilter;
3556
- /** Negates the expression. */
3557
- not?: ApiModuleFilter;
3558
- /** Checks for any expressions in this list. */
3559
- or?: ApiModuleFilter[];
3560
- /** Filter by the object’s `updatedAt` field. */
3561
- updatedAt?: DatetimeFilter;
3562
- }
3563
3523
  export interface ApiSchemaFilter {
3564
3524
  /** Checks for all expressions in this list. */
3565
3525
  and?: ApiSchemaFilter[];
@@ -3781,6 +3741,10 @@ export interface DatabaseFilter {
3781
3741
  defaultPrivileges?: DatabaseToManyDefaultPrivilegeFilter;
3782
3742
  /** `defaultPrivileges` exist. */
3783
3743
  defaultPrivilegesExist?: boolean;
3744
+ /** Filter by the object’s `domainTypes` relation. */
3745
+ domainTypes?: DatabaseToManyDomainTypeFilter;
3746
+ /** `domainTypes` exist. */
3747
+ domainTypesExist?: boolean;
3784
3748
  /** Filter by the object’s `embeddingChunks` relation. */
3785
3749
  embeddingChunks?: DatabaseToManyEmbeddingChunkFilter;
3786
3750
  /** `embeddingChunks` exist. */
@@ -4100,6 +4064,44 @@ export interface DomainEventFilter {
4100
4064
  /** Filter by the object’s `updatedAt` field. */
4101
4065
  updatedAt?: DatetimeFilter;
4102
4066
  }
4067
+ export interface DomainTypeFilter {
4068
+ /** Checks for all expressions in this list. */
4069
+ and?: DomainTypeFilter[];
4070
+ /** Filter by the object’s `baseType` field. */
4071
+ baseType?: JSONFilter;
4072
+ /** Filter by the object’s `category` field. */
4073
+ category?: ObjectCategoryFilter;
4074
+ /** Filter by the object’s `checkExpr` field. */
4075
+ checkExpr?: JSONFilter;
4076
+ /** Filter by the object’s `database` relation. */
4077
+ database?: DatabaseFilter;
4078
+ /** Filter by the object’s `databaseId` field. */
4079
+ databaseId?: UUIDFilter;
4080
+ /** Filter by the object’s `defaultExpr` field. */
4081
+ defaultExpr?: JSONFilter;
4082
+ /** Filter by the object’s `description` field. */
4083
+ description?: StringFilter;
4084
+ /** Filter by the object’s `id` field. */
4085
+ id?: UUIDFilter;
4086
+ /** Filter by the object’s `label` field. */
4087
+ label?: StringFilter;
4088
+ /** Filter by the object’s `name` field. */
4089
+ name?: StringFilter;
4090
+ /** Negates the expression. */
4091
+ not?: DomainTypeFilter;
4092
+ /** Filter by the object’s `notNull` field. */
4093
+ notNull?: BooleanFilter;
4094
+ /** Checks for any expressions in this list. */
4095
+ or?: DomainTypeFilter[];
4096
+ /** Filter by the object’s `schema` relation. */
4097
+ schema?: SchemaFilter;
4098
+ /** Filter by the object’s `schemaId` field. */
4099
+ schemaId?: UUIDFilter;
4100
+ /** Filter by the object’s `smartTags` field. */
4101
+ smartTags?: JSONFilter;
4102
+ /** Filter by the object’s `tags` field. */
4103
+ tags?: StringListFilter;
4104
+ }
4103
4105
  export interface DomainVerificationFilter {
4104
4106
  /** Checks for all expressions in this list. */
4105
4107
  and?: DomainVerificationFilter[];
@@ -4699,10 +4701,6 @@ export interface PlatformApiFilter {
4699
4701
  not?: PlatformApiFilter;
4700
4702
  /** Checks for any expressions in this list. */
4701
4703
  or?: PlatformApiFilter[];
4702
- /** Filter by the object’s `platformApiModulesByApiId` relation. */
4703
- platformApiModulesByApiId?: PlatformApiToManyPlatformApiModuleFilter;
4704
- /** `platformApiModulesByApiId` exist. */
4705
- platformApiModulesByApiIdExist?: boolean;
4706
4704
  /** Filter by the object’s `platformApiSchemasByApiId` relation. */
4707
4705
  platformApiSchemasByApiId?: PlatformApiToManyPlatformApiSchemaFilter;
4708
4706
  /** `platformApiSchemasByApiId` exist. */
@@ -4720,26 +4718,6 @@ export interface PlatformApiFilter {
4720
4718
  /** Filter by the object’s `updatedAt` field. */
4721
4719
  updatedAt?: DatetimeFilter;
4722
4720
  }
4723
- export interface PlatformApiModuleFilter {
4724
- /** Checks for all expressions in this list. */
4725
- and?: PlatformApiModuleFilter[];
4726
- /** Filter by the object’s `api` relation. */
4727
- api?: PlatformApiFilter;
4728
- /** Filter by the object’s `apiId` field. */
4729
- apiId?: UUIDFilter;
4730
- /** Filter by the object’s `createdAt` field. */
4731
- createdAt?: DatetimeFilter;
4732
- /** Filter by the object’s `id` field. */
4733
- id?: UUIDFilter;
4734
- /** Filter by the object’s `name` field. */
4735
- name?: StringFilter;
4736
- /** Negates the expression. */
4737
- not?: PlatformApiModuleFilter;
4738
- /** Checks for any expressions in this list. */
4739
- or?: PlatformApiModuleFilter[];
4740
- /** Filter by the object’s `updatedAt` field. */
4741
- updatedAt?: DatetimeFilter;
4742
- }
4743
4721
  export interface PlatformApiSchemaFilter {
4744
4722
  /** Checks for all expressions in this list. */
4745
4723
  and?: PlatformApiSchemaFilter[];
@@ -5387,6 +5365,10 @@ export interface SchemaFilter {
5387
5365
  defaultPrivilegesExist?: boolean;
5388
5366
  /** Filter by the object’s `description` field. */
5389
5367
  description?: StringFilter;
5368
+ /** Filter by the object’s `domainTypes` relation. */
5369
+ domainTypes?: SchemaToManyDomainTypeFilter;
5370
+ /** `domainTypes` exist. */
5371
+ domainTypesExist?: boolean;
5390
5372
  /** Filter by the object’s `enums` relation. */
5391
5373
  enums?: SchemaToManyEnumFilter;
5392
5374
  /** `enums` exist. */
@@ -5725,6 +5707,8 @@ export interface TableFilter {
5725
5707
  primaryKeyConstraints?: TableToManyPrimaryKeyConstraintFilter;
5726
5708
  /** `primaryKeyConstraints` exist. */
5727
5709
  primaryKeyConstraintsExist?: boolean;
5710
+ /** Filter by the object’s `principalstamps` field. */
5711
+ principalstamps?: BooleanFilter;
5728
5712
  /** Filter by the object’s `schema` relation. */
5729
5713
  schema?: SchemaFilter;
5730
5714
  /** Filter by the object’s `schemaId` field. */
@@ -6119,7 +6103,6 @@ export interface WebauthnSettingFilter {
6119
6103
  userFieldId?: UUIDFilter;
6120
6104
  }
6121
6105
  export type ApiOrderBy = 'ANON_ROLE_ASC' | 'ANON_ROLE_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DBNAME_ASC' | 'DBNAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLISHED_ASC' | 'IS_PUBLISHED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ROLE_NAME_ASC' | 'ROLE_NAME_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6122
- export type ApiModuleOrderBy = 'API_ID_ASC' | 'API_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6123
6106
  export type ApiSchemaOrderBy = 'API_ID_ASC' | 'API_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6124
6107
  export type ApiSettingOrderBy = 'API_ID_ASC' | 'API_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ENABLE_AGGREGATES_ASC' | 'ENABLE_AGGREGATES_DESC' | 'ENABLE_BULK_ASC' | 'ENABLE_BULK_DESC' | 'ENABLE_CONNECTION_FILTER_ASC' | 'ENABLE_CONNECTION_FILTER_DESC' | 'ENABLE_DIRECT_UPLOADS_ASC' | 'ENABLE_DIRECT_UPLOADS_DESC' | 'ENABLE_I18N_ASC' | 'ENABLE_I18N_DESC' | 'ENABLE_LLM_ASC' | 'ENABLE_LLM_DESC' | 'ENABLE_LTREE_ASC' | 'ENABLE_LTREE_DESC' | 'ENABLE_MANY_TO_MANY_ASC' | 'ENABLE_MANY_TO_MANY_DESC' | 'ENABLE_POSTGIS_ASC' | 'ENABLE_POSTGIS_DESC' | 'ENABLE_PRESIGNED_UPLOADS_ASC' | 'ENABLE_PRESIGNED_UPLOADS_DESC' | 'ENABLE_REALTIME_ASC' | 'ENABLE_REALTIME_DESC' | 'ENABLE_SEARCH_ASC' | 'ENABLE_SEARCH_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6125
6108
  export type AstMigrationOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOYS_ASC' | 'DEPLOYS_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REQUIRES_ASC' | 'REQUIRES_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
@@ -6132,6 +6115,7 @@ export type DatabaseTransferOrderBy = 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' |
6132
6115
  export type DefaultPrivilegeOrderBy = 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'NATURAL' | 'OBJECT_TYPE_ASC' | 'OBJECT_TYPE_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC';
6133
6116
  export type DomainOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HOSTNAME_ASC' | 'HOSTNAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLISHED_ASC' | 'IS_PUBLISHED_DESC' | 'IS_WILDCARD_ASC' | 'IS_WILDCARD_DESC' | 'MANAGED_ASC' | 'MANAGED_DESC' | 'NATURAL' | 'PARENT_HOSTNAME_ASC' | 'PARENT_HOSTNAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TLS_READY_AT_ASC' | 'TLS_READY_AT_DESC' | 'TLS_SECRET_NAME_ASC' | 'TLS_SECRET_NAME_DESC' | 'TLS_STATUS_ASC' | 'TLS_STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VERIFICATION_STATUS_ASC' | 'VERIFICATION_STATUS_DESC' | 'VERIFIED_AT_ASC' | 'VERIFIED_AT_DESC';
6134
6117
  export type DomainEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DOMAIN_ID_ASC' | 'DOMAIN_ID_DESC' | 'DOMAIN_VERIFICATION_ID_ASC' | 'DOMAIN_VERIFICATION_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MANAGED_DOMAIN_ID_ASC' | 'MANAGED_DOMAIN_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6118
+ export type DomainTypeOrderBy = 'BASE_TYPE_ASC' | 'BASE_TYPE_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CHECK_EXPR_ASC' | 'CHECK_EXPR_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_EXPR_ASC' | 'DEFAULT_EXPR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NOT_NULL_ASC' | 'NOT_NULL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
6135
6119
  export type DomainVerificationOrderBy = 'ATTEMPTS_ASC' | 'ATTEMPTS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DOMAIN_ID_ASC' | 'DOMAIN_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_CHECKED_AT_ASC' | 'LAST_CHECKED_AT_DESC' | 'MANAGED_DOMAIN_ID_ASC' | 'MANAGED_DOMAIN_ID_DESC' | 'METHOD_ASC' | 'METHOD_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RECORD_NAME_ASC' | 'RECORD_NAME_DESC' | 'RECORD_TYPE_ASC' | 'RECORD_TYPE_DESC' | 'RECORD_VALUE_ASC' | 'RECORD_VALUE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VERIFIED_AT_ASC' | 'VERIFIED_AT_DESC';
6136
6120
  export type EmbeddingChunkOrderBy = 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_PROVIDER_ASC' | 'EMBEDDING_PROVIDER_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'ID_ASC' | 'ID_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'NATURAL' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_INDEXES_ASC' | 'SEARCH_INDEXES_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6137
6121
  export type EnumOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'VALUES_ASC' | 'VALUES_DESC';
@@ -6147,7 +6131,6 @@ export type ManagedDomainOrderBy = 'ALLOW_PUBLIC_USAGE_ASC' | 'ALLOW_PUBLIC_USAG
6147
6131
  export type NodeTypeRegistryOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PARAMETER_SCHEMA_ASC' | 'PARAMETER_SCHEMA_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
6148
6132
  export type PartitionOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'IS_PARENTED_ASC' | 'IS_PARENTED_DESC' | 'NAMING_PATTERN_ASC' | 'NAMING_PATTERN_DESC' | 'NATURAL' | 'PARTITION_KEY_ID_ASC' | 'PARTITION_KEY_ID_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'RETENTION_KEEP_TABLE_ASC' | 'RETENTION_KEEP_TABLE_DESC' | 'STRATEGY_ASC' | 'STRATEGY_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6149
6133
  export type PlatformApiOrderBy = 'ANON_ROLE_ASC' | 'ANON_ROLE_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DBNAME_ASC' | 'DBNAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLISHED_ASC' | 'IS_PUBLISHED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ROLE_NAME_ASC' | 'ROLE_NAME_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6150
- export type PlatformApiModuleOrderBy = 'API_ID_ASC' | 'API_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6151
6134
  export type PlatformApiSchemaOrderBy = 'API_ID_ASC' | 'API_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6152
6135
  export type PlatformApiSettingOrderBy = 'API_ID_ASC' | 'API_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ENABLE_AGGREGATES_ASC' | 'ENABLE_AGGREGATES_DESC' | 'ENABLE_BULK_ASC' | 'ENABLE_BULK_DESC' | 'ENABLE_CONNECTION_FILTER_ASC' | 'ENABLE_CONNECTION_FILTER_DESC' | 'ENABLE_DIRECT_UPLOADS_ASC' | 'ENABLE_DIRECT_UPLOADS_DESC' | 'ENABLE_I18N_ASC' | 'ENABLE_I18N_DESC' | 'ENABLE_LLM_ASC' | 'ENABLE_LLM_DESC' | 'ENABLE_LTREE_ASC' | 'ENABLE_LTREE_DESC' | 'ENABLE_MANY_TO_MANY_ASC' | 'ENABLE_MANY_TO_MANY_DESC' | 'ENABLE_POSTGIS_ASC' | 'ENABLE_POSTGIS_DESC' | 'ENABLE_PRESIGNED_UPLOADS_ASC' | 'ENABLE_PRESIGNED_UPLOADS_DESC' | 'ENABLE_REALTIME_ASC' | 'ENABLE_REALTIME_DESC' | 'ENABLE_SEARCH_ASC' | 'ENABLE_SEARCH_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6153
6136
  export type PlatformCorsSettingOrderBy = 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -6173,7 +6156,7 @@ export type SiteModuleOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE
6173
6156
  export type SiteThemeOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'THEME_ASC' | 'THEME_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6174
6157
  export type SpatialRelationOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FIELD_ID_ASC' | 'FIELD_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OPERATOR_ASC' | 'OPERATOR_DESC' | 'PARAM_NAME_ASC' | 'PARAM_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REF_FIELD_ID_ASC' | 'REF_FIELD_ID_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6175
6158
  export type SqlActionOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
6176
- export type TableOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PARTITIONED_ASC' | 'PARTITIONED_DESC' | 'PARTITION_KEY_NAMES_ASC' | 'PARTITION_KEY_NAMES_DESC' | 'PARTITION_KEY_TYPES_ASC' | 'PARTITION_KEY_TYPES_DESC' | 'PARTITION_STRATEGY_ASC' | 'PARTITION_STRATEGY_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'STEP_UP_ASC' | 'STEP_UP_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC';
6159
+ export type TableOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PARTITIONED_ASC' | 'PARTITIONED_DESC' | 'PARTITION_KEY_NAMES_ASC' | 'PARTITION_KEY_NAMES_DESC' | 'PARTITION_KEY_TYPES_ASC' | 'PARTITION_KEY_TYPES_DESC' | 'PARTITION_STRATEGY_ASC' | 'PARTITION_STRATEGY_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPALSTAMPS_ASC' | 'PRINCIPALSTAMPS_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'STEP_UP_ASC' | 'STEP_UP_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC';
6177
6160
  export type TableGrantOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6178
6161
  export type TriggerOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'FUNCTION_NAME_ASC' | 'FUNCTION_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
6179
6162
  export type TriggerFunctionOrderBy = 'CODE_ASC' | 'CODE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -6213,30 +6196,6 @@ export interface DeleteApiInput {
6213
6196
  clientMutationId?: string;
6214
6197
  id: string;
6215
6198
  }
6216
- export interface CreateApiModuleInput {
6217
- clientMutationId?: string;
6218
- apiModule: {
6219
- apiId: string;
6220
- data: Record<string, unknown>;
6221
- databaseId: string;
6222
- name: string;
6223
- };
6224
- }
6225
- export interface ApiModulePatch {
6226
- apiId?: string | null;
6227
- data?: Record<string, unknown> | null;
6228
- databaseId?: string | null;
6229
- name?: string | null;
6230
- }
6231
- export interface UpdateApiModuleInput {
6232
- clientMutationId?: string;
6233
- id: string;
6234
- apiModulePatch: ApiModulePatch;
6235
- }
6236
- export interface DeleteApiModuleInput {
6237
- clientMutationId?: string;
6238
- id: string;
6239
- }
6240
6199
  export interface CreateApiSchemaInput {
6241
6200
  clientMutationId?: string;
6242
6201
  apiSchema: {
@@ -6651,6 +6610,46 @@ export interface DeleteDomainEventInput {
6651
6610
  clientMutationId?: string;
6652
6611
  id: string;
6653
6612
  }
6613
+ export interface CreateDomainTypeInput {
6614
+ clientMutationId?: string;
6615
+ domainType: {
6616
+ baseType: Record<string, unknown>;
6617
+ category?: ObjectCategory;
6618
+ checkExpr?: Record<string, unknown>;
6619
+ databaseId: string;
6620
+ defaultExpr?: Record<string, unknown>;
6621
+ description?: string;
6622
+ label?: string;
6623
+ name: string;
6624
+ notNull?: boolean;
6625
+ schemaId: string;
6626
+ smartTags?: Record<string, unknown>;
6627
+ tags?: string[];
6628
+ };
6629
+ }
6630
+ export interface DomainTypePatch {
6631
+ baseType?: Record<string, unknown> | null;
6632
+ category?: ObjectCategory | null;
6633
+ checkExpr?: Record<string, unknown> | null;
6634
+ databaseId?: string | null;
6635
+ defaultExpr?: Record<string, unknown> | null;
6636
+ description?: string | null;
6637
+ label?: string | null;
6638
+ name?: string | null;
6639
+ notNull?: boolean | null;
6640
+ schemaId?: string | null;
6641
+ smartTags?: Record<string, unknown> | null;
6642
+ tags?: string[] | null;
6643
+ }
6644
+ export interface UpdateDomainTypeInput {
6645
+ clientMutationId?: string;
6646
+ id: string;
6647
+ domainTypePatch: DomainTypePatch;
6648
+ }
6649
+ export interface DeleteDomainTypeInput {
6650
+ clientMutationId?: string;
6651
+ id: string;
6652
+ }
6654
6653
  export interface CreateDomainVerificationInput {
6655
6654
  clientMutationId?: string;
6656
6655
  domainVerification: {
@@ -7223,28 +7222,6 @@ export interface DeletePlatformApiInput {
7223
7222
  clientMutationId?: string;
7224
7223
  id: string;
7225
7224
  }
7226
- export interface CreatePlatformApiModuleInput {
7227
- clientMutationId?: string;
7228
- platformApiModule: {
7229
- apiId: string;
7230
- data: Record<string, unknown>;
7231
- name: string;
7232
- };
7233
- }
7234
- export interface PlatformApiModulePatch {
7235
- apiId?: string | null;
7236
- data?: Record<string, unknown> | null;
7237
- name?: string | null;
7238
- }
7239
- export interface UpdatePlatformApiModuleInput {
7240
- clientMutationId?: string;
7241
- id: string;
7242
- platformApiModulePatch: PlatformApiModulePatch;
7243
- }
7244
- export interface DeletePlatformApiModuleInput {
7245
- clientMutationId?: string;
7246
- id: string;
7247
- }
7248
7225
  export interface CreatePlatformApiSchemaInput {
7249
7226
  clientMutationId?: string;
7250
7227
  platformApiSchema: {
@@ -8026,6 +8003,7 @@ export interface CreateTableInput {
8026
8003
  partitioned?: boolean;
8027
8004
  peoplestamps?: boolean;
8028
8005
  pluralName?: string;
8006
+ principalstamps?: boolean;
8029
8007
  schemaId: string;
8030
8008
  singularName?: string;
8031
8009
  smartTags?: Record<string, unknown>;
@@ -8048,6 +8026,7 @@ export interface TablePatch {
8048
8026
  partitioned?: boolean | null;
8049
8027
  peoplestamps?: boolean | null;
8050
8028
  pluralName?: string | null;
8029
+ principalstamps?: boolean | null;
8051
8030
  schemaId?: string | null;
8052
8031
  singularName?: string | null;
8053
8032
  smartTags?: Record<string, unknown> | null;
@@ -8406,15 +8385,6 @@ export interface SetFieldOrderInput {
8406
8385
  clientMutationId?: string;
8407
8386
  fieldIds?: string[];
8408
8387
  }
8409
- /** A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ */
8410
- export interface ApiToManyApiModuleFilter {
8411
- /** Filters to entities where every related entity matches. */
8412
- every?: ApiModuleFilter;
8413
- /** Filters to entities where no related entity matches. */
8414
- none?: ApiModuleFilter;
8415
- /** Filters to entities where at least one related entity matches. */
8416
- some?: ApiModuleFilter;
8417
- }
8418
8388
  /** A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
8419
8389
  export interface ApiToManyApiSchemaFilter {
8420
8390
  /** Filters to entities where every related entity matches. */
@@ -8494,6 +8464,15 @@ export interface DatabaseToManyDefaultPrivilegeFilter {
8494
8464
  /** Filters to entities where at least one related entity matches. */
8495
8465
  some?: DefaultPrivilegeFilter;
8496
8466
  }
8467
+ /** A filter to be used against many `DomainType` object types. All fields are combined with a logical ‘and.’ */
8468
+ export interface DatabaseToManyDomainTypeFilter {
8469
+ /** Filters to entities where every related entity matches. */
8470
+ every?: DomainTypeFilter;
8471
+ /** Filters to entities where no related entity matches. */
8472
+ none?: DomainTypeFilter;
8473
+ /** Filters to entities where at least one related entity matches. */
8474
+ some?: DomainTypeFilter;
8475
+ }
8497
8476
  /** A filter to be used against many `EmbeddingChunk` object types. All fields are combined with a logical ‘and.’ */
8498
8477
  export interface DatabaseToManyEmbeddingChunkFilter {
8499
8478
  /** Filters to entities where every related entity matches. */
@@ -8764,15 +8743,6 @@ export interface ManagedDomainToManyDomainVerificationFilter {
8764
8743
  /** Filters to entities where at least one related entity matches. */
8765
8744
  some?: DomainVerificationFilter;
8766
8745
  }
8767
- /** A filter to be used against many `PlatformApiModule` object types. All fields are combined with a logical ‘and.’ */
8768
- export interface PlatformApiToManyPlatformApiModuleFilter {
8769
- /** Filters to entities where every related entity matches. */
8770
- every?: PlatformApiModuleFilter;
8771
- /** Filters to entities where no related entity matches. */
8772
- none?: PlatformApiModuleFilter;
8773
- /** Filters to entities where at least one related entity matches. */
8774
- some?: PlatformApiModuleFilter;
8775
- }
8776
8746
  /** A filter to be used against many `PlatformApiSchema` object types. All fields are combined with a logical ‘and.’ */
8777
8747
  export interface PlatformApiToManyPlatformApiSchemaFilter {
8778
8748
  /** Filters to entities where every related entity matches. */
@@ -8932,6 +8902,15 @@ export interface SchemaToManyDefaultPrivilegeFilter {
8932
8902
  /** Filters to entities where at least one related entity matches. */
8933
8903
  some?: DefaultPrivilegeFilter;
8934
8904
  }
8905
+ /** A filter to be used against many `DomainType` object types. All fields are combined with a logical ‘and.’ */
8906
+ export interface SchemaToManyDomainTypeFilter {
8907
+ /** Filters to entities where every related entity matches. */
8908
+ every?: DomainTypeFilter;
8909
+ /** Filters to entities where no related entity matches. */
8910
+ none?: DomainTypeFilter;
8911
+ /** Filters to entities where at least one related entity matches. */
8912
+ some?: DomainTypeFilter;
8913
+ }
8935
8914
  /** A filter to be used against many `Enum` object types. All fields are combined with a logical ‘and.’ */
8936
8915
  export interface SchemaToManyEnumFilter {
8937
8916
  /** Filters to entities where every related entity matches. */
@@ -9195,20 +9174,6 @@ export interface ApiInput {
9195
9174
  roleName?: string;
9196
9175
  updatedAt?: string;
9197
9176
  }
9198
- /** An input for mutations affecting `ApiModule` */
9199
- export interface ApiModuleInput {
9200
- /** API surface this module configuration belongs to */
9201
- apiId: string;
9202
- createdAt?: string;
9203
- /** JSON configuration data for this module */
9204
- data: Record<string, unknown>;
9205
- /** Database that owns this resource (database-scoped isolation) */
9206
- databaseId: string;
9207
- id?: string;
9208
- /** Module name (e.g. auth, uploads, webhooks) */
9209
- name: string;
9210
- updatedAt?: string;
9211
- }
9212
9177
  /** An input for mutations affecting `ApiSchema` */
9213
9178
  export interface ApiSchemaInput {
9214
9179
  /** API surface that exposes this schema */
@@ -9428,6 +9393,22 @@ export interface DomainEventInput {
9428
9393
  metadata?: Record<string, unknown>;
9429
9394
  updatedAt?: string;
9430
9395
  }
9396
+ /** An input for mutations affecting `DomainType` */
9397
+ export interface DomainTypeInput {
9398
+ baseType: Record<string, unknown>;
9399
+ category?: ObjectCategory;
9400
+ checkExpr?: Record<string, unknown>;
9401
+ databaseId: string;
9402
+ defaultExpr?: Record<string, unknown>;
9403
+ description?: string;
9404
+ id?: string;
9405
+ label?: string;
9406
+ name: string;
9407
+ notNull?: boolean;
9408
+ schemaId: string;
9409
+ smartTags?: Record<string, unknown>;
9410
+ tags?: string[];
9411
+ }
9431
9412
  /** An input for mutations affecting `DomainVerification` */
9432
9413
  export interface DomainVerificationInput {
9433
9414
  /** How many times this challenge has been probed */
@@ -9722,18 +9703,6 @@ export interface PlatformApiInput {
9722
9703
  roleName?: string;
9723
9704
  updatedAt?: string;
9724
9705
  }
9725
- /** An input for mutations affecting `PlatformApiModule` */
9726
- export interface PlatformApiModuleInput {
9727
- /** API surface this module configuration belongs to */
9728
- apiId: string;
9729
- createdAt?: string;
9730
- /** JSON configuration data for this module */
9731
- data: Record<string, unknown>;
9732
- id?: string;
9733
- /** Module name (e.g. auth, uploads, webhooks) */
9734
- name: string;
9735
- updatedAt?: string;
9736
- }
9737
9706
  /** An input for mutations affecting `PlatformApiSchema` */
9738
9707
  export interface PlatformApiSchemaInput {
9739
9708
  /** API surface that exposes this schema */
@@ -10190,10 +10159,11 @@ export interface TableInput {
10190
10159
  partitioned?: boolean;
10191
10160
  peoplestamps?: boolean;
10192
10161
  pluralName?: string;
10162
+ principalstamps?: boolean;
10193
10163
  schemaId: string;
10194
10164
  singularName?: string;
10195
10165
  smartTags?: Record<string, unknown>;
10196
- /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default password_or_mfa), a type string (password / mfa / password_or_mfa), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
10166
+ /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / fresh_auth; password_or_mfa is the legacy spelling), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
10197
10167
  stepUp?: Record<string, unknown>;
10198
10168
  tags?: string[];
10199
10169
  timestamps?: boolean;
@@ -10341,10 +10311,10 @@ export interface WebauthnSettingInput {
10341
10311
  /** Reference to the user field on webauthn_credentials (FK to metaschema_public.field) */
10342
10312
  userFieldId?: string;
10343
10313
  }
10344
- /** A filter to be used against `ApiModule` object types. All fields are combined with a logical ‘and.’ */
10345
- export interface ApiModuleFilter {
10314
+ /** A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
10315
+ export interface ApiSchemaFilter {
10346
10316
  /** Checks for all expressions in this list. */
10347
- and?: ApiModuleFilter[];
10317
+ and?: ApiSchemaFilter[];
10348
10318
  /** Filter by the object’s `api` relation. */
10349
10319
  api?: ApiFilter;
10350
10320
  /** Filter by the object’s `apiId` field. */
@@ -10355,37 +10325,14 @@ export interface ApiModuleFilter {
10355
10325
  databaseId?: UUIDFilter;
10356
10326
  /** Filter by the object’s `id` field. */
10357
10327
  id?: UUIDFilter;
10358
- /** Filter by the object’s `name` field. */
10359
- name?: StringFilter;
10360
10328
  /** Negates the expression. */
10361
- not?: ApiModuleFilter;
10329
+ not?: ApiSchemaFilter;
10362
10330
  /** Checks for any expressions in this list. */
10363
- or?: ApiModuleFilter[];
10364
- /** Filter by the object’s `updatedAt` field. */
10365
- updatedAt?: DatetimeFilter;
10366
- }
10367
- /** A filter to be used against `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
10368
- export interface ApiSchemaFilter {
10369
- /** Checks for all expressions in this list. */
10370
- and?: ApiSchemaFilter[];
10371
- /** Filter by the object’s `api` relation. */
10372
- api?: ApiFilter;
10373
- /** Filter by the object’s `apiId` field. */
10374
- apiId?: UUIDFilter;
10375
- /** Filter by the object’s `createdAt` field. */
10376
- createdAt?: DatetimeFilter;
10377
- /** Filter by the object’s `databaseId` field. */
10378
- databaseId?: UUIDFilter;
10379
- /** Filter by the object’s `id` field. */
10380
- id?: UUIDFilter;
10381
- /** Negates the expression. */
10382
- not?: ApiSchemaFilter;
10383
- /** Checks for any expressions in this list. */
10384
- or?: ApiSchemaFilter[];
10385
- /** Filter by the object’s `schema` relation. */
10386
- schema?: SchemaFilter;
10387
- /** Filter by the object’s `schemaId` field. */
10388
- schemaId?: UUIDFilter;
10331
+ or?: ApiSchemaFilter[];
10332
+ /** Filter by the object’s `schema` relation. */
10333
+ schema?: SchemaFilter;
10334
+ /** Filter by the object’s `schemaId` field. */
10335
+ schemaId?: UUIDFilter;
10389
10336
  /** Filter by the object’s `updatedAt` field. */
10390
10337
  updatedAt?: DatetimeFilter;
10391
10338
  }
@@ -10554,6 +10501,45 @@ export interface DefaultPrivilegeFilter {
10554
10501
  /** Filter by the object’s `schemaId` field. */
10555
10502
  schemaId?: UUIDFilter;
10556
10503
  }
10504
+ /** A filter to be used against `DomainType` object types. All fields are combined with a logical ‘and.’ */
10505
+ export interface DomainTypeFilter {
10506
+ /** Checks for all expressions in this list. */
10507
+ and?: DomainTypeFilter[];
10508
+ /** Filter by the object’s `baseType` field. */
10509
+ baseType?: JSONFilter;
10510
+ /** Filter by the object’s `category` field. */
10511
+ category?: ObjectCategoryFilter;
10512
+ /** Filter by the object’s `checkExpr` field. */
10513
+ checkExpr?: JSONFilter;
10514
+ /** Filter by the object’s `database` relation. */
10515
+ database?: DatabaseFilter;
10516
+ /** Filter by the object’s `databaseId` field. */
10517
+ databaseId?: UUIDFilter;
10518
+ /** Filter by the object’s `defaultExpr` field. */
10519
+ defaultExpr?: JSONFilter;
10520
+ /** Filter by the object’s `description` field. */
10521
+ description?: StringFilter;
10522
+ /** Filter by the object’s `id` field. */
10523
+ id?: UUIDFilter;
10524
+ /** Filter by the object’s `label` field. */
10525
+ label?: StringFilter;
10526
+ /** Filter by the object’s `name` field. */
10527
+ name?: StringFilter;
10528
+ /** Negates the expression. */
10529
+ not?: DomainTypeFilter;
10530
+ /** Filter by the object’s `notNull` field. */
10531
+ notNull?: BooleanFilter;
10532
+ /** Checks for any expressions in this list. */
10533
+ or?: DomainTypeFilter[];
10534
+ /** Filter by the object’s `schema` relation. */
10535
+ schema?: SchemaFilter;
10536
+ /** Filter by the object’s `schemaId` field. */
10537
+ schemaId?: UUIDFilter;
10538
+ /** Filter by the object’s `smartTags` field. */
10539
+ smartTags?: JSONFilter;
10540
+ /** Filter by the object’s `tags` field. */
10541
+ tags?: StringListFilter;
10542
+ }
10557
10543
  /** A filter to be used against `EmbeddingChunk` object types. All fields are combined with a logical ‘and.’ */
10558
10544
  export interface EmbeddingChunkFilter {
10559
10545
  /** Checks for all expressions in this list. */
@@ -11104,6 +11090,10 @@ export interface SchemaFilter {
11104
11090
  defaultPrivilegesExist?: boolean;
11105
11091
  /** Filter by the object’s `description` field. */
11106
11092
  description?: StringFilter;
11093
+ /** Filter by the object’s `domainTypes` relation. */
11094
+ domainTypes?: SchemaToManyDomainTypeFilter;
11095
+ /** `domainTypes` exist. */
11096
+ domainTypesExist?: boolean;
11107
11097
  /** Filter by the object’s `enums` relation. */
11108
11098
  enums?: SchemaToManyEnumFilter;
11109
11099
  /** `enums` exist. */
@@ -11311,6 +11301,8 @@ export interface TableFilter {
11311
11301
  primaryKeyConstraints?: TableToManyPrimaryKeyConstraintFilter;
11312
11302
  /** `primaryKeyConstraints` exist. */
11313
11303
  primaryKeyConstraintsExist?: boolean;
11304
+ /** Filter by the object’s `principalstamps` field. */
11305
+ principalstamps?: BooleanFilter;
11314
11306
  /** Filter by the object’s `schema` relation. */
11315
11307
  schema?: SchemaFilter;
11316
11308
  /** Filter by the object’s `schemaId` field. */
@@ -11763,27 +11755,6 @@ export interface RouteFilter {
11763
11755
  /** Filter by the object’s `updatedAt` field. */
11764
11756
  updatedAt?: DatetimeFilter;
11765
11757
  }
11766
- /** A filter to be used against `PlatformApiModule` object types. All fields are combined with a logical ‘and.’ */
11767
- export interface PlatformApiModuleFilter {
11768
- /** Checks for all expressions in this list. */
11769
- and?: PlatformApiModuleFilter[];
11770
- /** Filter by the object’s `api` relation. */
11771
- api?: PlatformApiFilter;
11772
- /** Filter by the object’s `apiId` field. */
11773
- apiId?: UUIDFilter;
11774
- /** Filter by the object’s `createdAt` field. */
11775
- createdAt?: DatetimeFilter;
11776
- /** Filter by the object’s `id` field. */
11777
- id?: UUIDFilter;
11778
- /** Filter by the object’s `name` field. */
11779
- name?: StringFilter;
11780
- /** Negates the expression. */
11781
- not?: PlatformApiModuleFilter;
11782
- /** Checks for any expressions in this list. */
11783
- or?: PlatformApiModuleFilter[];
11784
- /** Filter by the object’s `updatedAt` field. */
11785
- updatedAt?: DatetimeFilter;
11786
- }
11787
11758
  /** A filter to be used against `PlatformApiSchema` object types. All fields are combined with a logical ‘and.’ */
11788
11759
  export interface PlatformApiSchemaFilter {
11789
11760
  /** Checks for all expressions in this list. */
@@ -12041,10 +12012,6 @@ export interface ApiFilter {
12041
12012
  and?: ApiFilter[];
12042
12013
  /** Filter by the object’s `anonRole` field. */
12043
12014
  anonRole?: StringFilter;
12044
- /** Filter by the object’s `apiModules` relation. */
12045
- apiModules?: ApiToManyApiModuleFilter;
12046
- /** `apiModules` exist. */
12047
- apiModulesExist?: boolean;
12048
12015
  /** Filter by the object’s `apiSchemas` relation. */
12049
12016
  apiSchemas?: ApiToManyApiSchemaFilter;
12050
12017
  /** `apiSchemas` exist. */
@@ -12130,83 +12097,6 @@ export interface DatetimeFilter {
12130
12097
  /** Not included in the specified list. */
12131
12098
  notIn?: string[];
12132
12099
  }
12133
- /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
12134
- export interface StringFilter {
12135
- /** Not equal to the specified value, treating null like an ordinary value. */
12136
- distinctFrom?: string;
12137
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
12138
- distinctFromInsensitive?: string;
12139
- /** Ends with the specified string (case-sensitive). */
12140
- endsWith?: string;
12141
- /** Ends with the specified string (case-insensitive). */
12142
- endsWithInsensitive?: string;
12143
- /** Equal to the specified value. */
12144
- equalTo?: string;
12145
- /** Equal to the specified value (case-insensitive). */
12146
- equalToInsensitive?: string;
12147
- /** Greater than the specified value. */
12148
- greaterThan?: string;
12149
- /** Greater than the specified value (case-insensitive). */
12150
- greaterThanInsensitive?: string;
12151
- /** Greater than or equal to the specified value. */
12152
- greaterThanOrEqualTo?: string;
12153
- /** Greater than or equal to the specified value (case-insensitive). */
12154
- greaterThanOrEqualToInsensitive?: string;
12155
- /** Included in the specified list. */
12156
- in?: string[];
12157
- /** Included in the specified list (case-insensitive). */
12158
- inInsensitive?: string[];
12159
- /** Contains the specified string (case-sensitive). */
12160
- includes?: string;
12161
- /** Contains the specified string (case-insensitive). */
12162
- includesInsensitive?: string;
12163
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
12164
- isNull?: boolean;
12165
- /** Less than the specified value. */
12166
- lessThan?: string;
12167
- /** Less than the specified value (case-insensitive). */
12168
- lessThanInsensitive?: string;
12169
- /** Less than or equal to the specified value. */
12170
- lessThanOrEqualTo?: string;
12171
- /** Less than or equal to the specified value (case-insensitive). */
12172
- lessThanOrEqualToInsensitive?: string;
12173
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12174
- like?: string;
12175
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12176
- likeInsensitive?: string;
12177
- /** Equal to the specified value, treating null like an ordinary value. */
12178
- notDistinctFrom?: string;
12179
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
12180
- notDistinctFromInsensitive?: string;
12181
- /** Does not end with the specified string (case-sensitive). */
12182
- notEndsWith?: string;
12183
- /** Does not end with the specified string (case-insensitive). */
12184
- notEndsWithInsensitive?: string;
12185
- /** Not equal to the specified value. */
12186
- notEqualTo?: string;
12187
- /** Not equal to the specified value (case-insensitive). */
12188
- notEqualToInsensitive?: string;
12189
- /** Not included in the specified list. */
12190
- notIn?: string[];
12191
- /** Not included in the specified list (case-insensitive). */
12192
- notInInsensitive?: string[];
12193
- /** Does not contain the specified string (case-sensitive). */
12194
- notIncludes?: string;
12195
- /** Does not contain the specified string (case-insensitive). */
12196
- notIncludesInsensitive?: string;
12197
- /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12198
- notLike?: string;
12199
- /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12200
- notLikeInsensitive?: string;
12201
- /** Does not start with the specified string (case-sensitive). */
12202
- notStartsWith?: string;
12203
- /** Does not start with the specified string (case-insensitive). */
12204
- notStartsWithInsensitive?: string;
12205
- /** Starts with the specified string (case-sensitive). */
12206
- startsWith?: string;
12207
- /** Starts with the specified string (case-insensitive). */
12208
- startsWithInsensitive?: string;
12209
- }
12210
12100
  /** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
12211
12101
  export interface StringListFilter {
12212
12102
  /** Any array item is equal to the specified value. */
@@ -12268,6 +12158,10 @@ export interface DatabaseFilter {
12268
12158
  defaultPrivileges?: DatabaseToManyDefaultPrivilegeFilter;
12269
12159
  /** `defaultPrivileges` exist. */
12270
12160
  defaultPrivilegesExist?: boolean;
12161
+ /** Filter by the object’s `domainTypes` relation. */
12162
+ domainTypes?: DatabaseToManyDomainTypeFilter;
12163
+ /** `domainTypes` exist. */
12164
+ domainTypesExist?: boolean;
12271
12165
  /** Filter by the object’s `embeddingChunks` relation. */
12272
12166
  embeddingChunks?: DatabaseToManyEmbeddingChunkFilter;
12273
12167
  /** `embeddingChunks` exist. */
@@ -12480,6 +12374,83 @@ export interface BooleanFilter {
12480
12374
  /** Not included in the specified list. */
12481
12375
  notIn?: boolean[];
12482
12376
  }
12377
+ /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
12378
+ export interface StringFilter {
12379
+ /** Not equal to the specified value, treating null like an ordinary value. */
12380
+ distinctFrom?: string;
12381
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
12382
+ distinctFromInsensitive?: string;
12383
+ /** Ends with the specified string (case-sensitive). */
12384
+ endsWith?: string;
12385
+ /** Ends with the specified string (case-insensitive). */
12386
+ endsWithInsensitive?: string;
12387
+ /** Equal to the specified value. */
12388
+ equalTo?: string;
12389
+ /** Equal to the specified value (case-insensitive). */
12390
+ equalToInsensitive?: string;
12391
+ /** Greater than the specified value. */
12392
+ greaterThan?: string;
12393
+ /** Greater than the specified value (case-insensitive). */
12394
+ greaterThanInsensitive?: string;
12395
+ /** Greater than or equal to the specified value. */
12396
+ greaterThanOrEqualTo?: string;
12397
+ /** Greater than or equal to the specified value (case-insensitive). */
12398
+ greaterThanOrEqualToInsensitive?: string;
12399
+ /** Included in the specified list. */
12400
+ in?: string[];
12401
+ /** Included in the specified list (case-insensitive). */
12402
+ inInsensitive?: string[];
12403
+ /** Contains the specified string (case-sensitive). */
12404
+ includes?: string;
12405
+ /** Contains the specified string (case-insensitive). */
12406
+ includesInsensitive?: string;
12407
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
12408
+ isNull?: boolean;
12409
+ /** Less than the specified value. */
12410
+ lessThan?: string;
12411
+ /** Less than the specified value (case-insensitive). */
12412
+ lessThanInsensitive?: string;
12413
+ /** Less than or equal to the specified value. */
12414
+ lessThanOrEqualTo?: string;
12415
+ /** Less than or equal to the specified value (case-insensitive). */
12416
+ lessThanOrEqualToInsensitive?: string;
12417
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12418
+ like?: string;
12419
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12420
+ likeInsensitive?: string;
12421
+ /** Equal to the specified value, treating null like an ordinary value. */
12422
+ notDistinctFrom?: string;
12423
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
12424
+ notDistinctFromInsensitive?: string;
12425
+ /** Does not end with the specified string (case-sensitive). */
12426
+ notEndsWith?: string;
12427
+ /** Does not end with the specified string (case-insensitive). */
12428
+ notEndsWithInsensitive?: string;
12429
+ /** Not equal to the specified value. */
12430
+ notEqualTo?: string;
12431
+ /** Not equal to the specified value (case-insensitive). */
12432
+ notEqualToInsensitive?: string;
12433
+ /** Not included in the specified list. */
12434
+ notIn?: string[];
12435
+ /** Not included in the specified list (case-insensitive). */
12436
+ notInInsensitive?: string[];
12437
+ /** Does not contain the specified string (case-sensitive). */
12438
+ notIncludes?: string;
12439
+ /** Does not contain the specified string (case-insensitive). */
12440
+ notIncludesInsensitive?: string;
12441
+ /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12442
+ notLike?: string;
12443
+ /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
12444
+ notLikeInsensitive?: string;
12445
+ /** Does not start with the specified string (case-sensitive). */
12446
+ notStartsWith?: string;
12447
+ /** Does not start with the specified string (case-insensitive). */
12448
+ notStartsWithInsensitive?: string;
12449
+ /** Starts with the specified string (case-sensitive). */
12450
+ startsWith?: string;
12451
+ /** Starts with the specified string (case-insensitive). */
12452
+ startsWithInsensitive?: string;
12453
+ }
12483
12454
  /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
12484
12455
  export interface IntFilter {
12485
12456
  /** Not equal to the specified value, treating null like an ordinary value. */
@@ -12650,10 +12621,6 @@ export interface PlatformApiFilter {
12650
12621
  not?: PlatformApiFilter;
12651
12622
  /** Checks for any expressions in this list. */
12652
12623
  or?: PlatformApiFilter[];
12653
- /** Filter by the object’s `platformApiModulesByApiId` relation. */
12654
- platformApiModulesByApiId?: PlatformApiToManyPlatformApiModuleFilter;
12655
- /** `platformApiModulesByApiId` exist. */
12656
- platformApiModulesByApiIdExist?: boolean;
12657
12624
  /** Filter by the object’s `platformApiSchemasByApiId` relation. */
12658
12625
  platformApiSchemasByApiId?: PlatformApiToManyPlatformApiSchemaFilter;
12659
12626
  /** `platformApiSchemasByApiId` exist. */
@@ -13115,51 +13082,6 @@ export type DeleteApiPayloadSelect = {
13115
13082
  };
13116
13083
  clientMutationId?: boolean;
13117
13084
  };
13118
- export interface CreateApiModulePayload {
13119
- /** The `ApiModule` that was created by this mutation. */
13120
- apiModule?: ApiModule | null;
13121
- apiModuleEdge?: ApiModuleEdge | null;
13122
- clientMutationId?: string | null;
13123
- }
13124
- export type CreateApiModulePayloadSelect = {
13125
- apiModule?: {
13126
- select: ApiModuleSelect;
13127
- };
13128
- apiModuleEdge?: {
13129
- select: ApiModuleEdgeSelect;
13130
- };
13131
- clientMutationId?: boolean;
13132
- };
13133
- export interface UpdateApiModulePayload {
13134
- /** The `ApiModule` that was updated by this mutation. */
13135
- apiModule?: ApiModule | null;
13136
- apiModuleEdge?: ApiModuleEdge | null;
13137
- clientMutationId?: string | null;
13138
- }
13139
- export type UpdateApiModulePayloadSelect = {
13140
- apiModule?: {
13141
- select: ApiModuleSelect;
13142
- };
13143
- apiModuleEdge?: {
13144
- select: ApiModuleEdgeSelect;
13145
- };
13146
- clientMutationId?: boolean;
13147
- };
13148
- export interface DeleteApiModulePayload {
13149
- /** The `ApiModule` that was deleted by this mutation. */
13150
- apiModule?: ApiModule | null;
13151
- apiModuleEdge?: ApiModuleEdge | null;
13152
- clientMutationId?: string | null;
13153
- }
13154
- export type DeleteApiModulePayloadSelect = {
13155
- apiModule?: {
13156
- select: ApiModuleSelect;
13157
- };
13158
- apiModuleEdge?: {
13159
- select: ApiModuleEdgeSelect;
13160
- };
13161
- clientMutationId?: boolean;
13162
- };
13163
13085
  export interface CreateApiSchemaPayload {
13164
13086
  /** The `ApiSchema` that was created by this mutation. */
13165
13087
  apiSchema?: ApiSchema | null;
@@ -13655,6 +13577,51 @@ export type DeleteDomainEventPayloadSelect = {
13655
13577
  select: DomainEventEdgeSelect;
13656
13578
  };
13657
13579
  };
13580
+ export interface CreateDomainTypePayload {
13581
+ clientMutationId?: string | null;
13582
+ /** The `DomainType` that was created by this mutation. */
13583
+ domainType?: DomainType | null;
13584
+ domainTypeEdge?: DomainTypeEdge | null;
13585
+ }
13586
+ export type CreateDomainTypePayloadSelect = {
13587
+ clientMutationId?: boolean;
13588
+ domainType?: {
13589
+ select: DomainTypeSelect;
13590
+ };
13591
+ domainTypeEdge?: {
13592
+ select: DomainTypeEdgeSelect;
13593
+ };
13594
+ };
13595
+ export interface UpdateDomainTypePayload {
13596
+ clientMutationId?: string | null;
13597
+ /** The `DomainType` that was updated by this mutation. */
13598
+ domainType?: DomainType | null;
13599
+ domainTypeEdge?: DomainTypeEdge | null;
13600
+ }
13601
+ export type UpdateDomainTypePayloadSelect = {
13602
+ clientMutationId?: boolean;
13603
+ domainType?: {
13604
+ select: DomainTypeSelect;
13605
+ };
13606
+ domainTypeEdge?: {
13607
+ select: DomainTypeEdgeSelect;
13608
+ };
13609
+ };
13610
+ export interface DeleteDomainTypePayload {
13611
+ clientMutationId?: string | null;
13612
+ /** The `DomainType` that was deleted by this mutation. */
13613
+ domainType?: DomainType | null;
13614
+ domainTypeEdge?: DomainTypeEdge | null;
13615
+ }
13616
+ export type DeleteDomainTypePayloadSelect = {
13617
+ clientMutationId?: boolean;
13618
+ domainType?: {
13619
+ select: DomainTypeSelect;
13620
+ };
13621
+ domainTypeEdge?: {
13622
+ select: DomainTypeEdgeSelect;
13623
+ };
13624
+ };
13658
13625
  export interface CreateDomainVerificationPayload {
13659
13626
  clientMutationId?: string | null;
13660
13627
  /** The `DomainVerification` that was created by this mutation. */
@@ -14330,51 +14297,6 @@ export type DeletePlatformApiPayloadSelect = {
14330
14297
  select: PlatformApiEdgeSelect;
14331
14298
  };
14332
14299
  };
14333
- export interface CreatePlatformApiModulePayload {
14334
- clientMutationId?: string | null;
14335
- /** The `PlatformApiModule` that was created by this mutation. */
14336
- platformApiModule?: PlatformApiModule | null;
14337
- platformApiModuleEdge?: PlatformApiModuleEdge | null;
14338
- }
14339
- export type CreatePlatformApiModulePayloadSelect = {
14340
- clientMutationId?: boolean;
14341
- platformApiModule?: {
14342
- select: PlatformApiModuleSelect;
14343
- };
14344
- platformApiModuleEdge?: {
14345
- select: PlatformApiModuleEdgeSelect;
14346
- };
14347
- };
14348
- export interface UpdatePlatformApiModulePayload {
14349
- clientMutationId?: string | null;
14350
- /** The `PlatformApiModule` that was updated by this mutation. */
14351
- platformApiModule?: PlatformApiModule | null;
14352
- platformApiModuleEdge?: PlatformApiModuleEdge | null;
14353
- }
14354
- export type UpdatePlatformApiModulePayloadSelect = {
14355
- clientMutationId?: boolean;
14356
- platformApiModule?: {
14357
- select: PlatformApiModuleSelect;
14358
- };
14359
- platformApiModuleEdge?: {
14360
- select: PlatformApiModuleEdgeSelect;
14361
- };
14362
- };
14363
- export interface DeletePlatformApiModulePayload {
14364
- clientMutationId?: string | null;
14365
- /** The `PlatformApiModule` that was deleted by this mutation. */
14366
- platformApiModule?: PlatformApiModule | null;
14367
- platformApiModuleEdge?: PlatformApiModuleEdge | null;
14368
- }
14369
- export type DeletePlatformApiModulePayloadSelect = {
14370
- clientMutationId?: boolean;
14371
- platformApiModule?: {
14372
- select: PlatformApiModuleSelect;
14373
- };
14374
- platformApiModuleEdge?: {
14375
- select: PlatformApiModuleEdgeSelect;
14376
- };
14377
- };
14378
14300
  export interface CreatePlatformApiSchemaPayload {
14379
14301
  clientMutationId?: string | null;
14380
14302
  /** The `PlatformApiSchema` that was created by this mutation. */
@@ -15974,18 +15896,6 @@ export type ApiEdgeSelect = {
15974
15896
  select: ApiSelect;
15975
15897
  };
15976
15898
  };
15977
- /** A `ApiModule` edge in the connection. */
15978
- export interface ApiModuleEdge {
15979
- cursor?: string | null;
15980
- /** The `ApiModule` at the end of the edge. */
15981
- node?: ApiModule | null;
15982
- }
15983
- export type ApiModuleEdgeSelect = {
15984
- cursor?: boolean;
15985
- node?: {
15986
- select: ApiModuleSelect;
15987
- };
15988
- };
15989
15899
  /** A `ApiSchema` edge in the connection. */
15990
15900
  export interface ApiSchemaEdge {
15991
15901
  cursor?: string | null;
@@ -16118,6 +16028,18 @@ export type DomainEventEdgeSelect = {
16118
16028
  select: DomainEventSelect;
16119
16029
  };
16120
16030
  };
16031
+ /** A `DomainType` edge in the connection. */
16032
+ export interface DomainTypeEdge {
16033
+ cursor?: string | null;
16034
+ /** The `DomainType` at the end of the edge. */
16035
+ node?: DomainType | null;
16036
+ }
16037
+ export type DomainTypeEdgeSelect = {
16038
+ cursor?: boolean;
16039
+ node?: {
16040
+ select: DomainTypeSelect;
16041
+ };
16042
+ };
16121
16043
  /** A `DomainVerification` edge in the connection. */
16122
16044
  export interface DomainVerificationEdge {
16123
16045
  cursor?: string | null;
@@ -16298,18 +16220,6 @@ export type PlatformApiEdgeSelect = {
16298
16220
  select: PlatformApiSelect;
16299
16221
  };
16300
16222
  };
16301
- /** A `PlatformApiModule` edge in the connection. */
16302
- export interface PlatformApiModuleEdge {
16303
- cursor?: string | null;
16304
- /** The `PlatformApiModule` at the end of the edge. */
16305
- node?: PlatformApiModule | null;
16306
- }
16307
- export type PlatformApiModuleEdgeSelect = {
16308
- cursor?: boolean;
16309
- node?: {
16310
- select: PlatformApiModuleSelect;
16311
- };
16312
- };
16313
16223
  /** A `PlatformApiSchema` edge in the connection. */
16314
16224
  export interface PlatformApiSchemaEdge {
16315
16225
  cursor?: string | null;