@constructive-io/react 1.9.2 → 1.9.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 (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
@@ -3,11 +3,9 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { Api, ApiModule, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, DomainEvent, DomainVerification, EmbeddingChunk, Enum, ExclusionConstraint, Field, ForeignKeyConstraint, FullTextSearch, Function, HostnameBinding, HttpRoute, Index, ManagedDomain, NodeTypeRegistry, Partition, PlatformApi, PlatformApiModule, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformManagedDomain, PlatformSite, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteTheme, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, Route, RouteBinding, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting, BigIntFilter, BooleanFilter, DatetimeFilter, FloatFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
6
+ import type { Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Domain, DomainEvent, DomainType, DomainVerification, EmbeddingChunk, Enum, ExclusionConstraint, Field, ForeignKeyConstraint, FullTextSearch, Function, HostnameBinding, HttpRoute, Index, ManagedDomain, NodeTypeRegistry, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformManagedDomain, PlatformSite, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteTheme, Policy, PrimaryKeyConstraint, PubkeySetting, RlsSetting, Route, RouteBinding, Schema, SchemaGrant, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting, BigIntFilter, BooleanFilter, DatetimeFilter, FloatFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
7
  export type ConstructiveInternalTypeImage = unknown;
8
8
  export type ApiExposureLevel = 'EXPOSABLE' | 'INTERNAL_ONLY' | 'NEVER_EXPOSE';
9
- /** Methods to use when ordering `ApiModule`. */
10
- 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';
11
9
  /** Methods to use when ordering `Api`. */
12
10
  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';
13
11
  /** Methods to use when ordering `ApiSchema`. */
@@ -34,6 +32,8 @@ export type DefaultPrivilegeOrderBy = 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | '
34
32
  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';
35
33
  /** Methods to use when ordering `Domain`. */
36
34
  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';
35
+ /** Methods to use when ordering `DomainType`. */
36
+ 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';
37
37
  /** Methods to use when ordering `DomainVerification`. */
38
38
  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';
39
39
  /** Methods to use when ordering `EmbeddingChunk`. */
@@ -63,8 +63,6 @@ export type NodeTypeRegistryOrderBy = 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'DESCRI
63
63
  export type ObjectCategory = 'APP' | 'AUTH' | 'CORE' | 'MEMBERSHIPS' | 'MODULE' | 'PERMISSIONS';
64
64
  /** Methods to use when ordering `Partition`. */
65
65
  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';
66
- /** Methods to use when ordering `PlatformApiModule`. */
67
- 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';
68
66
  /** Methods to use when ordering `PlatformApi`. */
69
67
  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';
70
68
  /** Methods to use when ordering `PlatformApiSchema`. */
@@ -120,7 +118,7 @@ export type SqlActionOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME
120
118
  /** Methods to use when ordering `TableGrant`. */
121
119
  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';
122
120
  /** Methods to use when ordering `Table`. */
123
- 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';
121
+ 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';
124
122
  /** Methods to use when ordering `TriggerFunction`. */
125
123
  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';
126
124
  /** Methods to use when ordering `Trigger`. */
@@ -172,10 +170,6 @@ export interface ApiFilter {
172
170
  and?: ApiFilter[];
173
171
  /** Filter by the object’s `anonRole` field. */
174
172
  anonRole?: StringFilter;
175
- /** Filter by the object’s `apiModules` relation. */
176
- apiModules?: ApiToManyApiModuleFilter;
177
- /** `apiModules` exist. */
178
- apiModulesExist?: boolean;
179
173
  /** Filter by the object’s `apiSchemas` relation. */
180
174
  apiSchemas?: ApiToManyApiSchemaFilter;
181
175
  /** `apiSchemas` exist. */
@@ -231,57 +225,6 @@ export interface ApiInput {
231
225
  roleName?: string;
232
226
  updatedAt?: string;
233
227
  }
234
- /** A filter to be used against `ApiModule` object types. All fields are combined with a logical ‘and.’ */
235
- export interface ApiModuleFilter {
236
- /** Checks for all expressions in this list. */
237
- and?: ApiModuleFilter[];
238
- /** Filter by the object’s `api` relation. */
239
- api?: ApiFilter;
240
- /** Filter by the object’s `apiId` field. */
241
- apiId?: UUIDFilter;
242
- /** Filter by the object’s `createdAt` field. */
243
- createdAt?: DatetimeFilter;
244
- /** Filter by the object’s `databaseId` field. */
245
- databaseId?: UUIDFilter;
246
- /** Filter by the object’s `id` field. */
247
- id?: UUIDFilter;
248
- /** Filter by the object’s `name` field. */
249
- name?: StringFilter;
250
- /** Negates the expression. */
251
- not?: ApiModuleFilter;
252
- /** Checks for any expressions in this list. */
253
- or?: ApiModuleFilter[];
254
- /** Filter by the object’s `updatedAt` field. */
255
- updatedAt?: DatetimeFilter;
256
- }
257
- /** An input for mutations affecting `ApiModule` */
258
- export interface ApiModuleInput {
259
- /** API surface this module configuration belongs to */
260
- apiId: string;
261
- createdAt?: string;
262
- /** JSON configuration data for this module */
263
- data: unknown;
264
- /** Database that owns this resource (database-scoped isolation) */
265
- databaseId: string;
266
- id?: string;
267
- /** Module name (e.g. auth, uploads, webhooks) */
268
- name: string;
269
- updatedAt?: string;
270
- }
271
- /** Represents an update to a `ApiModule`. Fields that are set will be updated. */
272
- export interface ApiModulePatch {
273
- /** API surface this module configuration belongs to */
274
- apiId?: string;
275
- createdAt?: string;
276
- /** JSON configuration data for this module */
277
- data?: unknown;
278
- /** Database that owns this resource (database-scoped isolation) */
279
- databaseId?: string;
280
- id?: string;
281
- /** Module name (e.g. auth, uploads, webhooks) */
282
- name?: string;
283
- updatedAt?: string;
284
- }
285
228
  /** Represents an update to a `Api`. Fields that are set will be updated. */
286
229
  export interface ApiPatch {
287
230
  /** Anonymous role the API executes as */
@@ -470,15 +413,6 @@ export interface ApiSettingPatch {
470
413
  options?: unknown;
471
414
  updatedAt?: string;
472
415
  }
473
- /** A filter to be used against many `ApiModule` object types. All fields are combined with a logical ‘and.’ */
474
- export interface ApiToManyApiModuleFilter {
475
- /** Filters to entities where every related entity matches. */
476
- every?: ApiModuleFilter;
477
- /** Filters to entities where no related entity matches. */
478
- none?: ApiModuleFilter;
479
- /** Filters to entities where at least one related entity matches. */
480
- some?: ApiModuleFilter;
481
- }
482
416
  /** A filter to be used against many `ApiSchema` object types. All fields are combined with a logical ‘and.’ */
483
417
  export interface ApiToManyApiSchemaFilter {
484
418
  /** Filters to entities where every related entity matches. */
@@ -769,11 +703,6 @@ export interface CreateApiInput {
769
703
  api: ApiInput;
770
704
  clientMutationId?: string;
771
705
  }
772
- export interface CreateApiModuleInput {
773
- /** The `ApiModule` to be created by this mutation. */
774
- apiModule: ApiModuleInput;
775
- clientMutationId?: string;
776
- }
777
706
  export interface CreateApiSchemaInput {
778
707
  /** The `ApiSchema` to be created by this mutation. */
779
708
  apiSchema: ApiSchemaInput;
@@ -829,6 +758,11 @@ export interface CreateDomainInput {
829
758
  /** The `Domain` to be created by this mutation. */
830
759
  domain: DomainInput;
831
760
  }
761
+ export interface CreateDomainTypeInput {
762
+ clientMutationId?: string;
763
+ /** The `DomainType` to be created by this mutation. */
764
+ domainType: DomainTypeInput;
765
+ }
832
766
  export interface CreateDomainVerificationInput {
833
767
  clientMutationId?: string;
834
768
  /** The `DomainVerification` to be created by this mutation. */
@@ -904,11 +838,6 @@ export interface CreatePlatformApiInput {
904
838
  /** The `PlatformApi` to be created by this mutation. */
905
839
  platformApi: PlatformApiInput;
906
840
  }
907
- export interface CreatePlatformApiModuleInput {
908
- clientMutationId?: string;
909
- /** The `PlatformApiModule` to be created by this mutation. */
910
- platformApiModule: PlatformApiModuleInput;
911
- }
912
841
  export interface CreatePlatformApiSchemaInput {
913
842
  clientMutationId?: string;
914
843
  /** The `PlatformApiSchema` to be created by this mutation. */
@@ -1101,6 +1030,10 @@ export interface DatabaseFilter {
1101
1030
  defaultPrivileges?: DatabaseToManyDefaultPrivilegeFilter;
1102
1031
  /** `defaultPrivileges` exist. */
1103
1032
  defaultPrivilegesExist?: boolean;
1033
+ /** Filter by the object’s `domainTypes` relation. */
1034
+ domainTypes?: DatabaseToManyDomainTypeFilter;
1035
+ /** `domainTypes` exist. */
1036
+ domainTypesExist?: boolean;
1104
1037
  /** Filter by the object’s `embeddingChunks` relation. */
1105
1038
  embeddingChunks?: DatabaseToManyEmbeddingChunkFilter;
1106
1039
  /** `embeddingChunks` exist. */
@@ -1397,6 +1330,15 @@ export interface DatabaseToManyDefaultPrivilegeFilter {
1397
1330
  /** Filters to entities where at least one related entity matches. */
1398
1331
  some?: DefaultPrivilegeFilter;
1399
1332
  }
1333
+ /** A filter to be used against many `DomainType` object types. All fields are combined with a logical ‘and.’ */
1334
+ export interface DatabaseToManyDomainTypeFilter {
1335
+ /** Filters to entities where every related entity matches. */
1336
+ every?: DomainTypeFilter;
1337
+ /** Filters to entities where no related entity matches. */
1338
+ none?: DomainTypeFilter;
1339
+ /** Filters to entities where at least one related entity matches. */
1340
+ some?: DomainTypeFilter;
1341
+ }
1400
1342
  /** A filter to be used against many `EmbeddingChunk` object types. All fields are combined with a logical ‘and.’ */
1401
1343
  export interface DatabaseToManyEmbeddingChunkFilter {
1402
1344
  /** Filters to entities where every related entity matches. */
@@ -1728,10 +1670,6 @@ export interface DeleteApiInput {
1728
1670
  clientMutationId?: string;
1729
1671
  id: string;
1730
1672
  }
1731
- export interface DeleteApiModuleInput {
1732
- clientMutationId?: string;
1733
- id: string;
1734
- }
1735
1673
  export interface DeleteApiSchemaInput {
1736
1674
  clientMutationId?: string;
1737
1675
  id: string;
@@ -1776,6 +1714,10 @@ export interface DeleteDomainInput {
1776
1714
  clientMutationId?: string;
1777
1715
  id: string;
1778
1716
  }
1717
+ export interface DeleteDomainTypeInput {
1718
+ clientMutationId?: string;
1719
+ id: string;
1720
+ }
1779
1721
  export interface DeleteDomainVerificationInput {
1780
1722
  clientMutationId?: string;
1781
1723
  id: string;
@@ -1836,10 +1778,6 @@ export interface DeletePlatformApiInput {
1836
1778
  clientMutationId?: string;
1837
1779
  id: string;
1838
1780
  }
1839
- export interface DeletePlatformApiModuleInput {
1840
- clientMutationId?: string;
1841
- id: string;
1842
- }
1843
1781
  export interface DeletePlatformApiSchemaInput {
1844
1782
  clientMutationId?: string;
1845
1783
  id: string;
@@ -2214,6 +2152,77 @@ export interface DomainToManyRouteFilter {
2214
2152
  /** Filters to entities where at least one related entity matches. */
2215
2153
  some?: RouteFilter;
2216
2154
  }
2155
+ /** A filter to be used against `DomainType` object types. All fields are combined with a logical ‘and.’ */
2156
+ export interface DomainTypeFilter {
2157
+ /** Checks for all expressions in this list. */
2158
+ and?: DomainTypeFilter[];
2159
+ /** Filter by the object’s `baseType` field. */
2160
+ baseType?: JSONFilter;
2161
+ /** Filter by the object’s `category` field. */
2162
+ category?: ObjectCategoryFilter;
2163
+ /** Filter by the object’s `checkExpr` field. */
2164
+ checkExpr?: JSONFilter;
2165
+ /** Filter by the object’s `database` relation. */
2166
+ database?: DatabaseFilter;
2167
+ /** Filter by the object’s `databaseId` field. */
2168
+ databaseId?: UUIDFilter;
2169
+ /** Filter by the object’s `defaultExpr` field. */
2170
+ defaultExpr?: JSONFilter;
2171
+ /** Filter by the object’s `description` field. */
2172
+ description?: StringFilter;
2173
+ /** Filter by the object’s `id` field. */
2174
+ id?: UUIDFilter;
2175
+ /** Filter by the object’s `label` field. */
2176
+ label?: StringFilter;
2177
+ /** Filter by the object’s `name` field. */
2178
+ name?: StringFilter;
2179
+ /** Negates the expression. */
2180
+ not?: DomainTypeFilter;
2181
+ /** Filter by the object’s `notNull` field. */
2182
+ notNull?: BooleanFilter;
2183
+ /** Checks for any expressions in this list. */
2184
+ or?: DomainTypeFilter[];
2185
+ /** Filter by the object’s `schema` relation. */
2186
+ schema?: SchemaFilter;
2187
+ /** Filter by the object’s `schemaId` field. */
2188
+ schemaId?: UUIDFilter;
2189
+ /** Filter by the object’s `smartTags` field. */
2190
+ smartTags?: JSONFilter;
2191
+ /** Filter by the object’s `tags` field. */
2192
+ tags?: StringListFilter;
2193
+ }
2194
+ /** An input for mutations affecting `DomainType` */
2195
+ export interface DomainTypeInput {
2196
+ baseType: unknown;
2197
+ category?: ObjectCategory;
2198
+ checkExpr?: unknown;
2199
+ databaseId: string;
2200
+ defaultExpr?: unknown;
2201
+ description?: string;
2202
+ id?: string;
2203
+ label?: string;
2204
+ name: string;
2205
+ notNull?: boolean;
2206
+ schemaId: string;
2207
+ smartTags?: unknown;
2208
+ tags?: string[];
2209
+ }
2210
+ /** Represents an update to a `DomainType`. Fields that are set will be updated. */
2211
+ export interface DomainTypePatch {
2212
+ baseType?: unknown;
2213
+ category?: ObjectCategory;
2214
+ checkExpr?: unknown;
2215
+ databaseId?: string;
2216
+ defaultExpr?: unknown;
2217
+ description?: string;
2218
+ id?: string;
2219
+ label?: string;
2220
+ name?: string;
2221
+ notNull?: boolean;
2222
+ schemaId?: string;
2223
+ smartTags?: unknown;
2224
+ tags?: string[];
2225
+ }
2217
2226
  /** A filter to be used against `DomainVerification` object types. All fields are combined with a logical ‘and.’ */
2218
2227
  export interface DomainVerificationFilter {
2219
2228
  /** Checks for all expressions in this list. */
@@ -3432,10 +3441,6 @@ export interface PlatformApiFilter {
3432
3441
  not?: PlatformApiFilter;
3433
3442
  /** Checks for any expressions in this list. */
3434
3443
  or?: PlatformApiFilter[];
3435
- /** Filter by the object’s `platformApiModulesByApiId` relation. */
3436
- platformApiModulesByApiId?: PlatformApiToManyPlatformApiModuleFilter;
3437
- /** `platformApiModulesByApiId` exist. */
3438
- platformApiModulesByApiIdExist?: boolean;
3439
3444
  /** Filter by the object’s `platformApiSchemasByApiId` relation. */
3440
3445
  platformApiSchemasByApiId?: PlatformApiToManyPlatformApiSchemaFilter;
3441
3446
  /** `platformApiSchemasByApiId` exist. */
@@ -3471,51 +3476,6 @@ export interface PlatformApiInput {
3471
3476
  roleName?: string;
3472
3477
  updatedAt?: string;
3473
3478
  }
3474
- /** A filter to be used against `PlatformApiModule` object types. All fields are combined with a logical ‘and.’ */
3475
- export interface PlatformApiModuleFilter {
3476
- /** Checks for all expressions in this list. */
3477
- and?: PlatformApiModuleFilter[];
3478
- /** Filter by the object’s `api` relation. */
3479
- api?: PlatformApiFilter;
3480
- /** Filter by the object’s `apiId` field. */
3481
- apiId?: UUIDFilter;
3482
- /** Filter by the object’s `createdAt` field. */
3483
- createdAt?: DatetimeFilter;
3484
- /** Filter by the object’s `id` field. */
3485
- id?: UUIDFilter;
3486
- /** Filter by the object’s `name` field. */
3487
- name?: StringFilter;
3488
- /** Negates the expression. */
3489
- not?: PlatformApiModuleFilter;
3490
- /** Checks for any expressions in this list. */
3491
- or?: PlatformApiModuleFilter[];
3492
- /** Filter by the object’s `updatedAt` field. */
3493
- updatedAt?: DatetimeFilter;
3494
- }
3495
- /** An input for mutations affecting `PlatformApiModule` */
3496
- export interface PlatformApiModuleInput {
3497
- /** API surface this module configuration belongs to */
3498
- apiId: string;
3499
- createdAt?: string;
3500
- /** JSON configuration data for this module */
3501
- data: unknown;
3502
- id?: string;
3503
- /** Module name (e.g. auth, uploads, webhooks) */
3504
- name: string;
3505
- updatedAt?: string;
3506
- }
3507
- /** Represents an update to a `PlatformApiModule`. Fields that are set will be updated. */
3508
- export interface PlatformApiModulePatch {
3509
- /** API surface this module configuration belongs to */
3510
- apiId?: string;
3511
- createdAt?: string;
3512
- /** JSON configuration data for this module */
3513
- data?: unknown;
3514
- id?: string;
3515
- /** Module name (e.g. auth, uploads, webhooks) */
3516
- name?: string;
3517
- updatedAt?: string;
3518
- }
3519
3479
  /** Represents an update to a `PlatformApi`. Fields that are set will be updated. */
3520
3480
  export interface PlatformApiPatch {
3521
3481
  /** Anonymous role the API executes as */
@@ -3690,15 +3650,6 @@ export interface PlatformApiSettingPatch {
3690
3650
  options?: unknown;
3691
3651
  updatedAt?: string;
3692
3652
  }
3693
- /** A filter to be used against many `PlatformApiModule` object types. All fields are combined with a logical ‘and.’ */
3694
- export interface PlatformApiToManyPlatformApiModuleFilter {
3695
- /** Filters to entities where every related entity matches. */
3696
- every?: PlatformApiModuleFilter;
3697
- /** Filters to entities where no related entity matches. */
3698
- none?: PlatformApiModuleFilter;
3699
- /** Filters to entities where at least one related entity matches. */
3700
- some?: PlatformApiModuleFilter;
3701
- }
3702
3653
  /** A filter to be used against many `PlatformApiSchema` object types. All fields are combined with a logical ‘and.’ */
3703
3654
  export interface PlatformApiToManyPlatformApiSchemaFilter {
3704
3655
  /** Filters to entities where every related entity matches. */
@@ -4982,6 +4933,10 @@ export interface SchemaFilter {
4982
4933
  defaultPrivilegesExist?: boolean;
4983
4934
  /** Filter by the object’s `description` field. */
4984
4935
  description?: StringFilter;
4936
+ /** Filter by the object’s `domainTypes` relation. */
4937
+ domainTypes?: SchemaToManyDomainTypeFilter;
4938
+ /** `domainTypes` exist. */
4939
+ domainTypesExist?: boolean;
4985
4940
  /** Filter by the object’s `enums` relation. */
4986
4941
  enums?: SchemaToManyEnumFilter;
4987
4942
  /** `enums` exist. */
@@ -5129,6 +5084,15 @@ export interface SchemaToManyDefaultPrivilegeFilter {
5129
5084
  /** Filters to entities where at least one related entity matches. */
5130
5085
  some?: DefaultPrivilegeFilter;
5131
5086
  }
5087
+ /** A filter to be used against many `DomainType` object types. All fields are combined with a logical ‘and.’ */
5088
+ export interface SchemaToManyDomainTypeFilter {
5089
+ /** Filters to entities where every related entity matches. */
5090
+ every?: DomainTypeFilter;
5091
+ /** Filters to entities where no related entity matches. */
5092
+ none?: DomainTypeFilter;
5093
+ /** Filters to entities where at least one related entity matches. */
5094
+ some?: DomainTypeFilter;
5095
+ }
5132
5096
  /** A filter to be used against many `Enum` object types. All fields are combined with a logical ‘and.’ */
5133
5097
  export interface SchemaToManyEnumFilter {
5134
5098
  /** Filters to entities where every related entity matches. */
@@ -5644,6 +5608,8 @@ export interface TableFilter {
5644
5608
  primaryKeyConstraints?: TableToManyPrimaryKeyConstraintFilter;
5645
5609
  /** `primaryKeyConstraints` exist. */
5646
5610
  primaryKeyConstraintsExist?: boolean;
5611
+ /** Filter by the object’s `principalstamps` field. */
5612
+ principalstamps?: BooleanFilter;
5647
5613
  /** Filter by the object’s `schema` relation. */
5648
5614
  schema?: SchemaFilter;
5649
5615
  /** Filter by the object’s `schemaId` field. */
@@ -5762,10 +5728,11 @@ export interface TableInput {
5762
5728
  partitioned?: boolean;
5763
5729
  peoplestamps?: boolean;
5764
5730
  pluralName?: string;
5731
+ principalstamps?: boolean;
5765
5732
  schemaId: string;
5766
5733
  singularName?: string;
5767
5734
  smartTags?: unknown;
5768
- /** 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. */
5735
+ /** 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. */
5769
5736
  stepUp?: unknown;
5770
5737
  tags?: string[];
5771
5738
  timestamps?: boolean;
@@ -5788,10 +5755,11 @@ export interface TablePatch {
5788
5755
  partitioned?: boolean;
5789
5756
  peoplestamps?: boolean;
5790
5757
  pluralName?: string;
5758
+ principalstamps?: boolean;
5791
5759
  schemaId?: string;
5792
5760
  singularName?: string;
5793
5761
  smartTags?: unknown;
5794
- /** 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. */
5762
+ /** 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. */
5795
5763
  stepUp?: unknown;
5796
5764
  tags?: string[];
5797
5765
  timestamps?: boolean;
@@ -6122,12 +6090,6 @@ export interface UpdateApiInput {
6122
6090
  clientMutationId?: string;
6123
6091
  id: string;
6124
6092
  }
6125
- export interface UpdateApiModuleInput {
6126
- /** An object where the defined keys will be set on the `ApiModule` being updated. */
6127
- apiModulePatch: ApiModulePatch;
6128
- clientMutationId?: string;
6129
- id: string;
6130
- }
6131
6093
  export interface UpdateApiSchemaInput {
6132
6094
  /** An object where the defined keys will be set on the `ApiSchema` being updated. */
6133
6095
  apiSchemaPatch: ApiSchemaPatch;
@@ -6194,6 +6156,12 @@ export interface UpdateDomainInput {
6194
6156
  domainPatch: DomainPatch;
6195
6157
  id: string;
6196
6158
  }
6159
+ export interface UpdateDomainTypeInput {
6160
+ clientMutationId?: string;
6161
+ /** An object where the defined keys will be set on the `DomainType` being updated. */
6162
+ domainTypePatch: DomainTypePatch;
6163
+ id: string;
6164
+ }
6197
6165
  export interface UpdateDomainVerificationInput {
6198
6166
  clientMutationId?: string;
6199
6167
  /** An object where the defined keys will be set on the `DomainVerification` being updated. */
@@ -6284,12 +6252,6 @@ export interface UpdatePlatformApiInput {
6284
6252
  /** An object where the defined keys will be set on the `PlatformApi` being updated. */
6285
6253
  platformApiPatch: PlatformApiPatch;
6286
6254
  }
6287
- export interface UpdatePlatformApiModuleInput {
6288
- clientMutationId?: string;
6289
- id: string;
6290
- /** An object where the defined keys will be set on the `PlatformApiModule` being updated. */
6291
- platformApiModulePatch: PlatformApiModulePatch;
6292
- }
6293
6255
  export interface UpdatePlatformApiSchemaInput {
6294
6256
  clientMutationId?: string;
6295
6257
  id: string;
@@ -6924,13 +6886,6 @@ export interface WebauthnSettingPatch {
6924
6886
  export interface MetaSchema {
6925
6887
  tables: MetaTable[];
6926
6888
  }
6927
- /** A connection to a list of `ApiModule` values. */
6928
- export interface ApiModuleConnection {
6929
- edges: ApiModuleEdge[];
6930
- nodes: ApiModule[];
6931
- pageInfo: PageInfo;
6932
- totalCount: number;
6933
- }
6934
6889
  /** A connection to a list of `ApiSchema` values. */
6935
6890
  export interface ApiSchemaConnection {
6936
6891
  edges: ApiSchemaEdge[];
@@ -7015,6 +6970,13 @@ export interface DomainEventConnection {
7015
6970
  pageInfo: PageInfo;
7016
6971
  totalCount: number;
7017
6972
  }
6973
+ /** A connection to a list of `DomainType` values. */
6974
+ export interface DomainTypeConnection {
6975
+ edges: DomainTypeEdge[];
6976
+ nodes: DomainType[];
6977
+ pageInfo: PageInfo;
6978
+ totalCount: number;
6979
+ }
7018
6980
  /** A connection to a list of `DomainVerification` values. */
7019
6981
  export interface DomainVerificationConnection {
7020
6982
  edges: DomainVerificationEdge[];
@@ -7120,13 +7082,6 @@ export interface PartitionConnection {
7120
7082
  pageInfo: PageInfo;
7121
7083
  totalCount: number;
7122
7084
  }
7123
- /** A connection to a list of `PlatformApiModule` values. */
7124
- export interface PlatformApiModuleConnection {
7125
- edges: PlatformApiModuleEdge[];
7126
- nodes: PlatformApiModule[];
7127
- pageInfo: PageInfo;
7128
- totalCount: number;
7129
- }
7130
7085
  /** A connection to a list of `PlatformApiSchema` values. */
7131
7086
  export interface PlatformApiSchemaConnection {
7132
7087
  edges: PlatformApiSchemaEdge[];
@@ -7423,12 +7378,6 @@ export interface CreateApiPayload {
7423
7378
  apiEdge?: ApiEdge | null;
7424
7379
  clientMutationId?: string | null;
7425
7380
  }
7426
- export interface CreateApiModulePayload {
7427
- /** The `ApiModule` that was created by this mutation. */
7428
- apiModule?: ApiModule | null;
7429
- apiModuleEdge?: ApiModuleEdge | null;
7430
- clientMutationId?: string | null;
7431
- }
7432
7381
  export interface CreateApiSchemaPayload {
7433
7382
  /** The `ApiSchema` that was created by this mutation. */
7434
7383
  apiSchema?: ApiSchema | null;
@@ -7495,6 +7444,12 @@ export interface CreateDomainEventPayload {
7495
7444
  domainEvent?: DomainEvent | null;
7496
7445
  domainEventEdge?: DomainEventEdge | null;
7497
7446
  }
7447
+ export interface CreateDomainTypePayload {
7448
+ clientMutationId?: string | null;
7449
+ /** The `DomainType` that was created by this mutation. */
7450
+ domainType?: DomainType | null;
7451
+ domainTypeEdge?: DomainTypeEdge | null;
7452
+ }
7498
7453
  export interface CreateDomainVerificationPayload {
7499
7454
  clientMutationId?: string | null;
7500
7455
  /** The `DomainVerification` that was created by this mutation. */
@@ -7585,12 +7540,6 @@ export interface CreatePlatformApiPayload {
7585
7540
  platformApi?: PlatformApi | null;
7586
7541
  platformApiEdge?: PlatformApiEdge | null;
7587
7542
  }
7588
- export interface CreatePlatformApiModulePayload {
7589
- clientMutationId?: string | null;
7590
- /** The `PlatformApiModule` that was created by this mutation. */
7591
- platformApiModule?: PlatformApiModule | null;
7592
- platformApiModuleEdge?: PlatformApiModuleEdge | null;
7593
- }
7594
7543
  export interface CreatePlatformApiSchemaPayload {
7595
7544
  clientMutationId?: string | null;
7596
7545
  /** The `PlatformApiSchema` that was created by this mutation. */
@@ -7801,12 +7750,6 @@ export interface DeleteApiPayload {
7801
7750
  apiEdge?: ApiEdge | null;
7802
7751
  clientMutationId?: string | null;
7803
7752
  }
7804
- export interface DeleteApiModulePayload {
7805
- /** The `ApiModule` that was deleted by this mutation. */
7806
- apiModule?: ApiModule | null;
7807
- apiModuleEdge?: ApiModuleEdge | null;
7808
- clientMutationId?: string | null;
7809
- }
7810
7753
  export interface DeleteApiSchemaPayload {
7811
7754
  /** The `ApiSchema` that was deleted by this mutation. */
7812
7755
  apiSchema?: ApiSchema | null;
@@ -7873,6 +7816,12 @@ export interface DeleteDomainEventPayload {
7873
7816
  domainEvent?: DomainEvent | null;
7874
7817
  domainEventEdge?: DomainEventEdge | null;
7875
7818
  }
7819
+ export interface DeleteDomainTypePayload {
7820
+ clientMutationId?: string | null;
7821
+ /** The `DomainType` that was deleted by this mutation. */
7822
+ domainType?: DomainType | null;
7823
+ domainTypeEdge?: DomainTypeEdge | null;
7824
+ }
7876
7825
  export interface DeleteDomainVerificationPayload {
7877
7826
  clientMutationId?: string | null;
7878
7827
  /** The `DomainVerification` that was deleted by this mutation. */
@@ -7963,12 +7912,6 @@ export interface DeletePlatformApiPayload {
7963
7912
  platformApi?: PlatformApi | null;
7964
7913
  platformApiEdge?: PlatformApiEdge | null;
7965
7914
  }
7966
- export interface DeletePlatformApiModulePayload {
7967
- clientMutationId?: string | null;
7968
- /** The `PlatformApiModule` that was deleted by this mutation. */
7969
- platformApiModule?: PlatformApiModule | null;
7970
- platformApiModuleEdge?: PlatformApiModuleEdge | null;
7971
- }
7972
7915
  export interface DeletePlatformApiSchemaPayload {
7973
7916
  clientMutationId?: string | null;
7974
7917
  /** The `PlatformApiSchema` that was deleted by this mutation. */
@@ -8204,12 +8147,6 @@ export interface UpdateApiPayload {
8204
8147
  apiEdge?: ApiEdge | null;
8205
8148
  clientMutationId?: string | null;
8206
8149
  }
8207
- export interface UpdateApiModulePayload {
8208
- /** The `ApiModule` that was updated by this mutation. */
8209
- apiModule?: ApiModule | null;
8210
- apiModuleEdge?: ApiModuleEdge | null;
8211
- clientMutationId?: string | null;
8212
- }
8213
8150
  export interface UpdateApiSchemaPayload {
8214
8151
  /** The `ApiSchema` that was updated by this mutation. */
8215
8152
  apiSchema?: ApiSchema | null;
@@ -8276,6 +8213,12 @@ export interface UpdateDomainEventPayload {
8276
8213
  domainEvent?: DomainEvent | null;
8277
8214
  domainEventEdge?: DomainEventEdge | null;
8278
8215
  }
8216
+ export interface UpdateDomainTypePayload {
8217
+ clientMutationId?: string | null;
8218
+ /** The `DomainType` that was updated by this mutation. */
8219
+ domainType?: DomainType | null;
8220
+ domainTypeEdge?: DomainTypeEdge | null;
8221
+ }
8279
8222
  export interface UpdateDomainVerificationPayload {
8280
8223
  clientMutationId?: string | null;
8281
8224
  /** The `DomainVerification` that was updated by this mutation. */
@@ -8366,12 +8309,6 @@ export interface UpdatePlatformApiPayload {
8366
8309
  platformApi?: PlatformApi | null;
8367
8310
  platformApiEdge?: PlatformApiEdge | null;
8368
8311
  }
8369
- export interface UpdatePlatformApiModulePayload {
8370
- clientMutationId?: string | null;
8371
- /** The `PlatformApiModule` that was updated by this mutation. */
8372
- platformApiModule?: PlatformApiModule | null;
8373
- platformApiModuleEdge?: PlatformApiModuleEdge | null;
8374
- }
8375
8312
  export interface UpdatePlatformApiSchemaPayload {
8376
8313
  clientMutationId?: string | null;
8377
8314
  /** The `PlatformApiSchema` that was updated by this mutation. */
@@ -8600,11 +8537,11 @@ export interface MetaTable {
8600
8537
  storage?: MetaStorage | null;
8601
8538
  uniqueConstraints: MetaUniqueConstraint[];
8602
8539
  }
8603
- /** A `ApiModule` edge in the connection. */
8604
- export interface ApiModuleEdge {
8540
+ /** A `ApiSchema` edge in the connection. */
8541
+ export interface ApiSchemaEdge {
8605
8542
  cursor?: string | null;
8606
- /** The `ApiModule` at the end of the edge. */
8607
- node?: ApiModule | null;
8543
+ /** The `ApiSchema` at the end of the edge. */
8544
+ node?: ApiSchema | null;
8608
8545
  }
8609
8546
  /** Information about pagination in a connection. */
8610
8547
  export interface PageInfo {
@@ -8617,12 +8554,6 @@ export interface PageInfo {
8617
8554
  /** When paginating backwards, the cursor to continue. */
8618
8555
  startCursor?: string | null;
8619
8556
  }
8620
- /** A `ApiSchema` edge in the connection. */
8621
- export interface ApiSchemaEdge {
8622
- cursor?: string | null;
8623
- /** The `ApiSchema` at the end of the edge. */
8624
- node?: ApiSchema | null;
8625
- }
8626
8557
  /** A `ApiSetting` edge in the connection. */
8627
8558
  export interface ApiSettingEdge {
8628
8559
  cursor?: string | null;
@@ -8689,6 +8620,12 @@ export interface DomainEventEdge {
8689
8620
  /** The `DomainEvent` at the end of the edge. */
8690
8621
  node?: DomainEvent | null;
8691
8622
  }
8623
+ /** A `DomainType` edge in the connection. */
8624
+ export interface DomainTypeEdge {
8625
+ cursor?: string | null;
8626
+ /** The `DomainType` at the end of the edge. */
8627
+ node?: DomainType | null;
8628
+ }
8692
8629
  /** A `DomainVerification` edge in the connection. */
8693
8630
  export interface DomainVerificationEdge {
8694
8631
  cursor?: string | null;
@@ -8779,12 +8716,6 @@ export interface PartitionEdge {
8779
8716
  /** The `Partition` at the end of the edge. */
8780
8717
  node?: Partition | null;
8781
8718
  }
8782
- /** A `PlatformApiModule` edge in the connection. */
8783
- export interface PlatformApiModuleEdge {
8784
- cursor?: string | null;
8785
- /** The `PlatformApiModule` at the end of the edge. */
8786
- node?: PlatformApiModule | null;
8787
- }
8788
8719
  /** A `PlatformApiSchema` edge in the connection. */
8789
8720
  export interface PlatformApiSchemaEdge {
8790
8721
  cursor?: string | null;