@constructive-io/react 0.10.16 → 0.10.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/esm/public/hooks/index.d.ts +1 -1
  2. package/esm/public/hooks/index.js +1 -1
  3. package/esm/public/hooks/invalidation.d.ts +24 -12
  4. package/esm/public/hooks/invalidation.js +65 -33
  5. package/esm/public/hooks/mutation-keys.d.ts +64 -30
  6. package/esm/public/hooks/mutation-keys.js +55 -23
  7. package/esm/public/hooks/mutations/index.d.ts +16 -5
  8. package/esm/public/hooks/mutations/index.js +16 -5
  9. package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
  10. package/esm/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +31 -0
  11. package/esm/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
  12. package/esm/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
  13. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  14. package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  15. package/esm/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
  16. package/esm/public/hooks/mutations/useCreateStorageModuleMutation.js +31 -0
  17. package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
  18. package/esm/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +36 -0
  19. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
  20. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
  21. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  22. package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  23. package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
  24. package/esm/public/hooks/mutations/useDeleteStorageModuleMutation.js +36 -0
  25. package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
  26. package/esm/public/hooks/mutations/useProvisionFullTextSearchMutation.js +23 -0
  27. package/esm/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
  28. package/esm/public/hooks/mutations/useProvisionIndexMutation.js +23 -0
  29. package/esm/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
  30. package/esm/public/hooks/mutations/useProvisionRelationMutation.js +23 -0
  31. package/esm/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
  32. package/esm/public/hooks/mutations/useProvisionTableMutation.js +23 -0
  33. package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
  34. package/esm/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +23 -0
  35. package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
  36. package/esm/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +37 -0
  37. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
  38. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
  39. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  40. package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  41. package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
  42. package/esm/public/hooks/mutations/useUpdateStorageModuleMutation.js +37 -0
  43. package/esm/public/hooks/queries/index.d.ts +8 -3
  44. package/esm/public/hooks/queries/index.js +8 -3
  45. package/esm/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
  46. package/esm/public/hooks/queries/useBlueprintConstructionQuery.js +47 -0
  47. package/esm/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
  48. package/esm/public/hooks/queries/useBlueprintConstructionsQuery.js +32 -0
  49. package/esm/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
  50. package/esm/public/hooks/queries/useBlueprintQuery.js +1 -1
  51. package/esm/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
  52. package/esm/public/hooks/queries/useBlueprintsQuery.js +1 -1
  53. package/esm/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
  54. package/esm/public/hooks/queries/useResolveBlueprintTableQuery.js +47 -0
  55. package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  56. package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  57. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  58. package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  59. package/esm/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
  60. package/esm/public/hooks/queries/useStorageModuleQuery.js +47 -0
  61. package/esm/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
  62. package/esm/public/hooks/queries/useStorageModulesQuery.js +32 -0
  63. package/esm/public/hooks/query-keys.d.ts +58 -28
  64. package/esm/public/hooks/query-keys.js +33 -16
  65. package/esm/public/orm/index.d.ts +53 -19
  66. package/esm/public/orm/index.js +8 -4
  67. package/esm/public/orm/input-types.d.ts +886 -249
  68. package/esm/public/orm/input-types.js +5 -0
  69. package/esm/public/orm/models/blueprintConstruction.d.ts +56 -0
  70. package/esm/public/orm/models/blueprintConstruction.js +96 -0
  71. package/esm/public/orm/models/index.d.ts +4 -2
  72. package/esm/public/orm/models/index.js +4 -2
  73. package/esm/public/orm/models/storageModule.d.ts +56 -0
  74. package/esm/public/orm/models/storageModule.js +96 -0
  75. package/esm/public/orm/mutation/index.d.ts +86 -26
  76. package/esm/public/orm/mutation/index.js +96 -36
  77. package/esm/public/orm/query/index.d.ts +16 -0
  78. package/esm/public/orm/query/index.js +28 -0
  79. package/esm/public/schema-types.d.ts +990 -645
  80. package/esm/public/types.d.ts +42 -18
  81. package/package.json +3 -3
  82. package/public/hooks/index.d.ts +1 -1
  83. package/public/hooks/index.js +1 -1
  84. package/public/hooks/invalidation.d.ts +24 -12
  85. package/public/hooks/invalidation.js +64 -32
  86. package/public/hooks/mutation-keys.d.ts +64 -30
  87. package/public/hooks/mutation-keys.js +58 -26
  88. package/public/hooks/mutations/index.d.ts +16 -5
  89. package/public/hooks/mutations/index.js +16 -5
  90. package/public/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +34 -0
  91. package/public/hooks/mutations/useCreateBlueprintConstructionMutation.js +34 -0
  92. package/public/hooks/mutations/useCreateBlueprintMutation.d.ts +2 -2
  93. package/public/hooks/mutations/useCreateBlueprintMutation.js +1 -1
  94. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
  95. package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
  96. package/public/hooks/mutations/useCreateStorageModuleMutation.d.ts +34 -0
  97. package/public/hooks/mutations/useCreateStorageModuleMutation.js +34 -0
  98. package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +38 -0
  99. package/public/hooks/mutations/useDeleteBlueprintConstructionMutation.js +39 -0
  100. package/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +2 -2
  101. package/public/hooks/mutations/useDeleteBlueprintMutation.js +1 -1
  102. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
  103. package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
  104. package/public/hooks/mutations/useDeleteStorageModuleMutation.d.ts +38 -0
  105. package/public/hooks/mutations/useDeleteStorageModuleMutation.js +39 -0
  106. package/public/hooks/mutations/useProvisionFullTextSearchMutation.d.ts +20 -0
  107. package/public/hooks/mutations/useProvisionFullTextSearchMutation.js +26 -0
  108. package/public/hooks/mutations/useProvisionIndexMutation.d.ts +20 -0
  109. package/public/hooks/mutations/useProvisionIndexMutation.js +26 -0
  110. package/public/hooks/mutations/useProvisionRelationMutation.d.ts +20 -0
  111. package/public/hooks/mutations/useProvisionRelationMutation.js +26 -0
  112. package/public/hooks/mutations/useProvisionTableMutation.d.ts +20 -0
  113. package/public/hooks/mutations/useProvisionTableMutation.js +26 -0
  114. package/public/hooks/mutations/useProvisionUniqueConstraintMutation.d.ts +20 -0
  115. package/public/hooks/mutations/useProvisionUniqueConstraintMutation.js +26 -0
  116. package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +40 -0
  117. package/public/hooks/mutations/useUpdateBlueprintConstructionMutation.js +40 -0
  118. package/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +2 -2
  119. package/public/hooks/mutations/useUpdateBlueprintMutation.js +1 -1
  120. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
  121. package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
  122. package/public/hooks/mutations/useUpdateStorageModuleMutation.d.ts +40 -0
  123. package/public/hooks/mutations/useUpdateStorageModuleMutation.js +40 -0
  124. package/public/hooks/queries/index.d.ts +8 -3
  125. package/public/hooks/queries/index.js +8 -3
  126. package/public/hooks/queries/useBlueprintConstructionQuery.d.ts +65 -0
  127. package/public/hooks/queries/useBlueprintConstructionQuery.js +53 -0
  128. package/public/hooks/queries/useBlueprintConstructionsQuery.d.ts +69 -0
  129. package/public/hooks/queries/useBlueprintConstructionsQuery.js +38 -0
  130. package/public/hooks/queries/useBlueprintQuery.d.ts +4 -4
  131. package/public/hooks/queries/useBlueprintQuery.js +1 -1
  132. package/public/hooks/queries/useBlueprintsQuery.d.ts +4 -4
  133. package/public/hooks/queries/useBlueprintsQuery.js +1 -1
  134. package/public/hooks/queries/useResolveBlueprintTableQuery.d.ts +53 -0
  135. package/public/hooks/queries/useResolveBlueprintTableQuery.js +53 -0
  136. package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
  137. package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
  138. package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
  139. package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
  140. package/public/hooks/queries/useStorageModuleQuery.d.ts +65 -0
  141. package/public/hooks/queries/useStorageModuleQuery.js +53 -0
  142. package/public/hooks/queries/useStorageModulesQuery.d.ts +69 -0
  143. package/public/hooks/queries/useStorageModulesQuery.js +38 -0
  144. package/public/hooks/query-keys.d.ts +58 -28
  145. package/public/hooks/query-keys.js +36 -19
  146. package/public/orm/index.d.ts +53 -19
  147. package/public/orm/index.js +8 -4
  148. package/public/orm/input-types.d.ts +886 -249
  149. package/public/orm/input-types.js +5 -0
  150. package/public/orm/models/blueprintConstruction.d.ts +56 -0
  151. package/public/orm/models/blueprintConstruction.js +100 -0
  152. package/public/orm/models/index.d.ts +4 -2
  153. package/public/orm/models/index.js +11 -7
  154. package/public/orm/models/storageModule.d.ts +56 -0
  155. package/public/orm/models/storageModule.js +100 -0
  156. package/public/orm/mutation/index.d.ts +86 -26
  157. package/public/orm/mutation/index.js +96 -36
  158. package/public/orm/query/index.d.ts +16 -0
  159. package/public/orm/query/index.js +28 -0
  160. package/public/schema-types.d.ts +990 -645
  161. package/public/types.d.ts +42 -18
@@ -3,7 +3,7 @@
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, App, AppAchievement, AppAdminGrant, AppGrant, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, AstMigration, AuditLog, Blueprint, BlueprintTemplate, CheckConstraint, ClaimedInvite, Commit, ConnectedAccount, ConnectedAccountsModule, CryptoAddress, CryptoAddressesModule, CryptoAuthModule, Database, DatabaseProvisionModule, DatabaseTransfer, DefaultIdsModule, DefaultPrivilege, DenormalizedTableField, Domain, Email, EmailsModule, EmbeddingChunk, EncryptedSecretsModule, Enum, Field, ForeignKeyConstraint, FullTextSearch, GetAllRecord, HierarchyModule, Index, Invite, InvitesModule, LevelsModule, LimitsModule, MembershipType, MembershipTypesModule, MembershipsModule, MigrateFile, NodeTypeRegistry, Object, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitDefault, OrgMember, OrgMembership, OrgMembershipDefault, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, PermissionsModule, PhoneNumber, PhoneNumbersModule, Policy, PrimaryKeyConstraint, ProfilesModule, Ref, RelationProvision, RlsModule, RoleType, Schema, SchemaGrant, SecretsModule, SecureTableProvision, SessionsModule, Site, SiteMetadatum, SiteModule, SiteTheme, SqlAction, Store, Table, TableGrant, TableTemplateModule, Trigger, TriggerFunction, UniqueConstraint, User, UserAuthModule, UsersModule, View, ViewGrant, ViewRule, ViewTable, BitStringFilter, BooleanFilter, DatetimeFilter, FloatFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
6
+ import type { Api, ApiModule, ApiSchema, App, AppAchievement, AppAdminGrant, AppGrant, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, AstMigration, AuditLog, Blueprint, BlueprintConstruction, BlueprintTemplate, CheckConstraint, ClaimedInvite, Commit, ConnectedAccount, ConnectedAccountsModule, CryptoAddress, CryptoAddressesModule, CryptoAuthModule, Database, DatabaseProvisionModule, DatabaseTransfer, DefaultIdsModule, DefaultPrivilege, DenormalizedTableField, Domain, Email, EmailsModule, EmbeddingChunk, EncryptedSecretsModule, Enum, Field, ForeignKeyConstraint, FullTextSearch, GetAllRecord, HierarchyModule, Index, Invite, InvitesModule, LevelsModule, LimitsModule, MembershipType, MembershipTypesModule, MembershipsModule, MigrateFile, NodeTypeRegistry, Object, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitDefault, OrgMember, OrgMembership, OrgMembershipDefault, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, PermissionsModule, PhoneNumber, PhoneNumbersModule, Policy, PrimaryKeyConstraint, ProfilesModule, Ref, RelationProvision, RlsModule, RoleType, Schema, SchemaGrant, SecretsModule, SecureTableProvision, SessionsModule, Site, SiteMetadatum, SiteModule, SiteTheme, SqlAction, StorageModule, Store, Table, TableGrant, TableTemplateModule, Trigger, TriggerFunction, UniqueConstraint, User, UserAuthModule, UsersModule, View, ViewGrant, ViewRule, ViewTable, BigIntFilter, BitStringFilter, BooleanFilter, DatetimeFilter, FloatFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
7
  export type ConstructiveInternalTypeAttachment = unknown;
8
8
  export type ConstructiveInternalTypeEmail = unknown;
9
9
  export type ConstructiveInternalTypeHostname = unknown;
@@ -45,9 +45,9 @@ export type EmbeddingChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY
45
45
  /** Methods to use when ordering `TableTemplateModule`. */
46
46
  export type TableTemplateModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC';
47
47
  /** Methods to use when ordering `SecureTableProvision`. */
48
- export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'NODE_DATA_ASC' | 'NODE_DATA_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
48
+ export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
49
49
  /** Methods to use when ordering `RelationProvision`. */
50
- export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'NODE_DATA_ASC' | 'NODE_DATA_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
50
+ export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
51
51
  /** Methods to use when ordering `Table`. */
52
52
  export type TableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
53
53
  /** Methods to use when ordering `SchemaGrant`. */
@@ -121,7 +121,11 @@ export type UsersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DE
121
121
  /** Methods to use when ordering `BlueprintTemplate`. */
122
122
  export type BlueprintTemplateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'VERSION_ASC' | 'VERSION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC' | 'CATEGORIES_ASC' | 'CATEGORIES_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DEFINITION_SCHEMA_VERSION_ASC' | 'DEFINITION_SCHEMA_VERSION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'COMPLEXITY_ASC' | 'COMPLEXITY_DESC' | 'COPY_COUNT_ASC' | 'COPY_COUNT_DESC' | 'FORK_COUNT_ASC' | 'FORK_COUNT_DESC' | 'FORKED_FROM_ID_ASC' | 'FORKED_FROM_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
123
123
  /** Methods to use when ordering `Blueprint`. */
124
- export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'TEMPLATE_ID_ASC' | 'TEMPLATE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'REF_MAP_ASC' | 'REF_MAP_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
124
+ export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'TEMPLATE_ID_ASC' | 'TEMPLATE_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
125
+ /** Methods to use when ordering `BlueprintConstruction`. */
126
+ export type BlueprintConstructionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'BLUEPRINT_ID_ASC' | 'BLUEPRINT_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'TABLE_MAP_ASC' | 'TABLE_MAP_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
127
+ /** Methods to use when ordering `StorageModule`. */
128
+ export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'BUCKETS_TABLE_ID_ASC' | 'BUCKETS_TABLE_ID_DESC' | 'FILES_TABLE_ID_ASC' | 'FILES_TABLE_ID_DESC' | 'UPLOAD_REQUESTS_TABLE_ID_ASC' | 'UPLOAD_REQUESTS_TABLE_ID_DESC' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'UPLOAD_REQUESTS_TABLE_NAME_ASC' | 'UPLOAD_REQUESTS_TABLE_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'UPLOAD_URL_EXPIRY_SECONDS_ASC' | 'UPLOAD_URL_EXPIRY_SECONDS_DESC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_ASC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_DESC' | 'DEFAULT_MAX_FILE_SIZE_ASC' | 'DEFAULT_MAX_FILE_SIZE_DESC' | 'MAX_FILENAME_LENGTH_ASC' | 'MAX_FILENAME_LENGTH_DESC' | 'CACHE_TTL_SECONDS_ASC' | 'CACHE_TTL_SECONDS_DESC';
125
129
  /** Methods to use when ordering `DatabaseProvisionModule`. */
126
130
  export type DatabaseProvisionModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_NAME_ASC' | 'DATABASE_NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SUBDOMAIN_ASC' | 'SUBDOMAIN_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'MODULES_ASC' | 'MODULES_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'BOOTSTRAP_USER_ASC' | 'BOOTSTRAP_USER_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
127
131
  /** Methods to use when ordering `Database`. */
@@ -184,12 +188,12 @@ export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' |
184
188
  export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC';
185
189
  /** Methods to use when ordering `RoleType`. */
186
190
  export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
187
- /** Methods to use when ordering `MigrateFile`. */
188
- export type MigrateFileOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
189
191
  /** Methods to use when ordering `AppLimitDefault`. */
190
192
  export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
191
193
  /** Methods to use when ordering `OrgLimitDefault`. */
192
194
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
195
+ /** Methods to use when ordering `MigrateFile`. */
196
+ export type MigrateFileOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
193
197
  /** Methods to use when ordering `MembershipType`. */
194
198
  export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
195
199
  /** Methods to use when ordering `Object`. */
@@ -534,6 +538,14 @@ export interface DatabaseFilter {
534
538
  blueprints?: DatabaseToManyBlueprintFilter;
535
539
  /** `blueprints` exist. */
536
540
  blueprintsExist?: boolean;
541
+ /** Filter by the object’s `blueprintConstructions` relation. */
542
+ blueprintConstructions?: DatabaseToManyBlueprintConstructionFilter;
543
+ /** `blueprintConstructions` exist. */
544
+ blueprintConstructionsExist?: boolean;
545
+ /** Filter by the object’s `storageModules` relation. */
546
+ storageModules?: DatabaseToManyStorageModuleFilter;
547
+ /** `storageModules` exist. */
548
+ storageModulesExist?: boolean;
537
549
  /** Filter by the object’s `databaseProvisionModules` relation. */
538
550
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
539
551
  /** `databaseProvisionModules` exist. */
@@ -3109,12 +3121,10 @@ export interface SecureTableProvisionFilter {
3109
3121
  tableId?: UUIDFilter;
3110
3122
  /** Filter by the object’s `tableName` field. */
3111
3123
  tableName?: StringFilter;
3112
- /** Filter by the object’s `nodeType` field. */
3113
- nodeType?: StringFilter;
3124
+ /** Filter by the object’s `nodes` field. */
3125
+ nodes?: JSONFilter;
3114
3126
  /** Filter by the object’s `useRls` field. */
3115
3127
  useRls?: BooleanFilter;
3116
- /** Filter by the object’s `nodeData` field. */
3117
- nodeData?: JSONFilter;
3118
3128
  /** Filter by the object’s `fields` field. */
3119
3129
  fields?: JSONListFilter;
3120
3130
  /** Filter by the object’s `grantRoles` field. */
@@ -3232,10 +3242,8 @@ export interface RelationProvisionFilter {
3232
3242
  createIndex?: BooleanFilter;
3233
3243
  /** Filter by the object’s `exposeInApi` field. */
3234
3244
  exposeInApi?: BooleanFilter;
3235
- /** Filter by the object’s `nodeType` field. */
3236
- nodeType?: StringFilter;
3237
- /** Filter by the object’s `nodeData` field. */
3238
- nodeData?: JSONFilter;
3245
+ /** Filter by the object’s `nodes` field. */
3246
+ nodes?: JSONFilter;
3239
3247
  /** Filter by the object’s `grantRoles` field. */
3240
3248
  grantRoles?: StringListFilter;
3241
3249
  /** Filter by the object’s `grantPrivileges` field. */
@@ -5566,16 +5574,6 @@ export interface BlueprintFilter {
5566
5574
  definition?: JSONFilter;
5567
5575
  /** Filter by the object’s `templateId` field. */
5568
5576
  templateId?: UUIDFilter;
5569
- /** Filter by the object’s `status` field. */
5570
- status?: StringFilter;
5571
- /** Filter by the object’s `constructedAt` field. */
5572
- constructedAt?: DatetimeFilter;
5573
- /** Filter by the object’s `errorDetails` field. */
5574
- errorDetails?: StringFilter;
5575
- /** Filter by the object’s `refMap` field. */
5576
- refMap?: JSONFilter;
5577
- /** Filter by the object’s `constructedDefinition` field. */
5578
- constructedDefinition?: JSONFilter;
5579
5577
  /** Filter by the object’s `definitionHash` field. */
5580
5578
  definitionHash?: UUIDFilter;
5581
5579
  /** Filter by the object’s `tableHashes` field. */
@@ -5596,6 +5594,10 @@ export interface BlueprintFilter {
5596
5594
  template?: BlueprintTemplateFilter;
5597
5595
  /** A related `template` exists. */
5598
5596
  templateExists?: boolean;
5597
+ /** Filter by the object’s `blueprintConstructions` relation. */
5598
+ blueprintConstructions?: BlueprintToManyBlueprintConstructionFilter;
5599
+ /** `blueprintConstructions` exist. */
5600
+ blueprintConstructionsExist?: boolean;
5599
5601
  }
5600
5602
  /** A filter to be used against `BlueprintTemplate` object types. All fields are combined with a logical ‘and.’ */
5601
5603
  export interface BlueprintTemplateFilter {
@@ -5676,6 +5678,125 @@ export interface BlueprintTemplateToManyBlueprintFilter {
5676
5678
  /** Filters to entities where no related entity matches. */
5677
5679
  none?: BlueprintFilter;
5678
5680
  }
5681
+ /** A filter to be used against many `BlueprintConstruction` object types. All fields are combined with a logical ‘and.’ */
5682
+ export interface BlueprintToManyBlueprintConstructionFilter {
5683
+ /** Filters to entities where at least one related entity matches. */
5684
+ some?: BlueprintConstructionFilter;
5685
+ /** Filters to entities where every related entity matches. */
5686
+ every?: BlueprintConstructionFilter;
5687
+ /** Filters to entities where no related entity matches. */
5688
+ none?: BlueprintConstructionFilter;
5689
+ }
5690
+ /** A filter to be used against `BlueprintConstruction` object types. All fields are combined with a logical ‘and.’ */
5691
+ export interface BlueprintConstructionFilter {
5692
+ /** Filter by the object’s `id` field. */
5693
+ id?: UUIDFilter;
5694
+ /** Filter by the object’s `blueprintId` field. */
5695
+ blueprintId?: UUIDFilter;
5696
+ /** Filter by the object’s `databaseId` field. */
5697
+ databaseId?: UUIDFilter;
5698
+ /** Filter by the object’s `schemaId` field. */
5699
+ schemaId?: UUIDFilter;
5700
+ /** Filter by the object’s `status` field. */
5701
+ status?: StringFilter;
5702
+ /** Filter by the object’s `errorDetails` field. */
5703
+ errorDetails?: StringFilter;
5704
+ /** Filter by the object’s `tableMap` field. */
5705
+ tableMap?: JSONFilter;
5706
+ /** Filter by the object’s `constructedDefinition` field. */
5707
+ constructedDefinition?: JSONFilter;
5708
+ /** Filter by the object’s `constructedAt` field. */
5709
+ constructedAt?: DatetimeFilter;
5710
+ /** Filter by the object’s `createdAt` field. */
5711
+ createdAt?: DatetimeFilter;
5712
+ /** Filter by the object’s `updatedAt` field. */
5713
+ updatedAt?: DatetimeFilter;
5714
+ /** Checks for all expressions in this list. */
5715
+ and?: BlueprintConstructionFilter[];
5716
+ /** Checks for any expressions in this list. */
5717
+ or?: BlueprintConstructionFilter[];
5718
+ /** Negates the expression. */
5719
+ not?: BlueprintConstructionFilter;
5720
+ /** Filter by the object’s `blueprint` relation. */
5721
+ blueprint?: BlueprintFilter;
5722
+ /** Filter by the object’s `database` relation. */
5723
+ database?: DatabaseFilter;
5724
+ }
5725
+ /** A filter to be used against many `BlueprintConstruction` object types. All fields are combined with a logical ‘and.’ */
5726
+ export interface DatabaseToManyBlueprintConstructionFilter {
5727
+ /** Filters to entities where at least one related entity matches. */
5728
+ some?: BlueprintConstructionFilter;
5729
+ /** Filters to entities where every related entity matches. */
5730
+ every?: BlueprintConstructionFilter;
5731
+ /** Filters to entities where no related entity matches. */
5732
+ none?: BlueprintConstructionFilter;
5733
+ }
5734
+ /** A filter to be used against many `StorageModule` object types. All fields are combined with a logical ‘and.’ */
5735
+ export interface DatabaseToManyStorageModuleFilter {
5736
+ /** Filters to entities where at least one related entity matches. */
5737
+ some?: StorageModuleFilter;
5738
+ /** Filters to entities where every related entity matches. */
5739
+ every?: StorageModuleFilter;
5740
+ /** Filters to entities where no related entity matches. */
5741
+ none?: StorageModuleFilter;
5742
+ }
5743
+ /** A filter to be used against `StorageModule` object types. All fields are combined with a logical ‘and.’ */
5744
+ export interface StorageModuleFilter {
5745
+ /** Filter by the object’s `id` field. */
5746
+ id?: UUIDFilter;
5747
+ /** Filter by the object’s `databaseId` field. */
5748
+ databaseId?: UUIDFilter;
5749
+ /** Filter by the object’s `schemaId` field. */
5750
+ schemaId?: UUIDFilter;
5751
+ /** Filter by the object’s `privateSchemaId` field. */
5752
+ privateSchemaId?: UUIDFilter;
5753
+ /** Filter by the object’s `bucketsTableId` field. */
5754
+ bucketsTableId?: UUIDFilter;
5755
+ /** Filter by the object’s `filesTableId` field. */
5756
+ filesTableId?: UUIDFilter;
5757
+ /** Filter by the object’s `uploadRequestsTableId` field. */
5758
+ uploadRequestsTableId?: UUIDFilter;
5759
+ /** Filter by the object’s `bucketsTableName` field. */
5760
+ bucketsTableName?: StringFilter;
5761
+ /** Filter by the object’s `filesTableName` field. */
5762
+ filesTableName?: StringFilter;
5763
+ /** Filter by the object’s `uploadRequestsTableName` field. */
5764
+ uploadRequestsTableName?: StringFilter;
5765
+ /** Filter by the object’s `entityTableId` field. */
5766
+ entityTableId?: UUIDFilter;
5767
+ /** Filter by the object’s `uploadUrlExpirySeconds` field. */
5768
+ uploadUrlExpirySeconds?: IntFilter;
5769
+ /** Filter by the object’s `downloadUrlExpirySeconds` field. */
5770
+ downloadUrlExpirySeconds?: IntFilter;
5771
+ /** Filter by the object’s `defaultMaxFileSize` field. */
5772
+ defaultMaxFileSize?: BigIntFilter;
5773
+ /** Filter by the object’s `maxFilenameLength` field. */
5774
+ maxFilenameLength?: IntFilter;
5775
+ /** Filter by the object’s `cacheTtlSeconds` field. */
5776
+ cacheTtlSeconds?: IntFilter;
5777
+ /** Checks for all expressions in this list. */
5778
+ and?: StorageModuleFilter[];
5779
+ /** Checks for any expressions in this list. */
5780
+ or?: StorageModuleFilter[];
5781
+ /** Negates the expression. */
5782
+ not?: StorageModuleFilter;
5783
+ /** Filter by the object’s `bucketsTable` relation. */
5784
+ bucketsTable?: TableFilter;
5785
+ /** Filter by the object’s `database` relation. */
5786
+ database?: DatabaseFilter;
5787
+ /** Filter by the object’s `entityTable` relation. */
5788
+ entityTable?: TableFilter;
5789
+ /** A related `entityTable` exists. */
5790
+ entityTableExists?: boolean;
5791
+ /** Filter by the object’s `filesTable` relation. */
5792
+ filesTable?: TableFilter;
5793
+ /** Filter by the object’s `privateSchema` relation. */
5794
+ privateSchema?: SchemaFilter;
5795
+ /** Filter by the object’s `schema` relation. */
5796
+ schema?: SchemaFilter;
5797
+ /** Filter by the object’s `uploadRequestsTable` relation. */
5798
+ uploadRequestsTable?: TableFilter;
5799
+ }
5679
5800
  /** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
5680
5801
  export interface DatabaseToManyDatabaseProvisionModuleFilter {
5681
5802
  /** Filters to entities where at least one related entity matches. */
@@ -5777,6 +5898,36 @@ export interface AppPermissionDefaultFilter {
5777
5898
  /** Negates the expression. */
5778
5899
  not?: AppPermissionDefaultFilter;
5779
5900
  }
5901
+ /** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */
5902
+ export interface AppLimitDefaultFilter {
5903
+ /** Filter by the object’s `id` field. */
5904
+ id?: UUIDFilter;
5905
+ /** Filter by the object’s `name` field. */
5906
+ name?: StringFilter;
5907
+ /** Filter by the object’s `max` field. */
5908
+ max?: IntFilter;
5909
+ /** Checks for all expressions in this list. */
5910
+ and?: AppLimitDefaultFilter[];
5911
+ /** Checks for any expressions in this list. */
5912
+ or?: AppLimitDefaultFilter[];
5913
+ /** Negates the expression. */
5914
+ not?: AppLimitDefaultFilter;
5915
+ }
5916
+ /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */
5917
+ export interface OrgLimitDefaultFilter {
5918
+ /** Filter by the object’s `id` field. */
5919
+ id?: UUIDFilter;
5920
+ /** Filter by the object’s `name` field. */
5921
+ name?: StringFilter;
5922
+ /** Filter by the object’s `max` field. */
5923
+ max?: IntFilter;
5924
+ /** Checks for all expressions in this list. */
5925
+ and?: OrgLimitDefaultFilter[];
5926
+ /** Checks for any expressions in this list. */
5927
+ or?: OrgLimitDefaultFilter[];
5928
+ /** Negates the expression. */
5929
+ not?: OrgLimitDefaultFilter;
5930
+ }
5780
5931
  /** A filter to be used against `MigrateFile` object types. All fields are combined with a logical ‘and.’ */
5781
5932
  export interface MigrateFileFilter {
5782
5933
  /** Filter by the object’s `id` field. */
@@ -5827,36 +5978,6 @@ export interface ConstructiveInternalTypeUploadFilter {
5827
5978
  /** Contained by the specified JSON. */
5828
5979
  containedBy?: ConstructiveInternalTypeUpload;
5829
5980
  }
5830
- /** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */
5831
- export interface AppLimitDefaultFilter {
5832
- /** Filter by the object’s `id` field. */
5833
- id?: UUIDFilter;
5834
- /** Filter by the object’s `name` field. */
5835
- name?: StringFilter;
5836
- /** Filter by the object’s `max` field. */
5837
- max?: IntFilter;
5838
- /** Checks for all expressions in this list. */
5839
- and?: AppLimitDefaultFilter[];
5840
- /** Checks for any expressions in this list. */
5841
- or?: AppLimitDefaultFilter[];
5842
- /** Negates the expression. */
5843
- not?: AppLimitDefaultFilter;
5844
- }
5845
- /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */
5846
- export interface OrgLimitDefaultFilter {
5847
- /** Filter by the object’s `id` field. */
5848
- id?: UUIDFilter;
5849
- /** Filter by the object’s `name` field. */
5850
- name?: StringFilter;
5851
- /** Filter by the object’s `max` field. */
5852
- max?: IntFilter;
5853
- /** Checks for all expressions in this list. */
5854
- and?: OrgLimitDefaultFilter[];
5855
- /** Checks for any expressions in this list. */
5856
- or?: OrgLimitDefaultFilter[];
5857
- /** Negates the expression. */
5858
- not?: OrgLimitDefaultFilter;
5859
- }
5860
5981
  /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
5861
5982
  export interface MembershipTypeFilter {
5862
5983
  /** Filter by the object’s `id` field. */
@@ -6181,6 +6302,46 @@ export interface RemoveNodeAtPathInput {
6181
6302
  root?: string;
6182
6303
  path?: string[];
6183
6304
  }
6305
+ export interface CopyTemplateToBlueprintInput {
6306
+ clientMutationId?: string;
6307
+ templateId?: string;
6308
+ databaseId?: string;
6309
+ ownerId?: string;
6310
+ nameOverride?: string;
6311
+ displayNameOverride?: string;
6312
+ }
6313
+ export interface BootstrapUserInput {
6314
+ clientMutationId?: string;
6315
+ targetDatabaseId?: string;
6316
+ password?: string;
6317
+ isAdmin?: boolean;
6318
+ isOwner?: boolean;
6319
+ username?: string;
6320
+ displayName?: string;
6321
+ returnApiKey?: boolean;
6322
+ }
6323
+ export interface SetFieldOrderInput {
6324
+ clientMutationId?: string;
6325
+ fieldIds?: string[];
6326
+ }
6327
+ export interface ProvisionUniqueConstraintInput {
6328
+ clientMutationId?: string;
6329
+ databaseId?: string;
6330
+ tableId?: string;
6331
+ definition?: unknown;
6332
+ }
6333
+ export interface ProvisionFullTextSearchInput {
6334
+ clientMutationId?: string;
6335
+ databaseId?: string;
6336
+ tableId?: string;
6337
+ definition?: unknown;
6338
+ }
6339
+ export interface ProvisionIndexInput {
6340
+ clientMutationId?: string;
6341
+ databaseId?: string;
6342
+ tableId?: string;
6343
+ definition?: unknown;
6344
+ }
6184
6345
  export interface SetDataAtPathInput {
6185
6346
  clientMutationId?: string;
6186
6347
  dbId?: string;
@@ -6196,14 +6357,6 @@ export interface SetPropsAndCommitInput {
6196
6357
  path?: string[];
6197
6358
  data?: unknown;
6198
6359
  }
6199
- export interface CopyTemplateToBlueprintInput {
6200
- clientMutationId?: string;
6201
- templateId?: string;
6202
- databaseId?: string;
6203
- ownerId?: string;
6204
- nameOverride?: string;
6205
- displayNameOverride?: string;
6206
- }
6207
6360
  export interface ProvisionDatabaseWithUserInput {
6208
6361
  clientMutationId?: string;
6209
6362
  pDatabaseName?: string;
@@ -6212,20 +6365,6 @@ export interface ProvisionDatabaseWithUserInput {
6212
6365
  pModules?: string[];
6213
6366
  pOptions?: unknown;
6214
6367
  }
6215
- export interface BootstrapUserInput {
6216
- clientMutationId?: string;
6217
- targetDatabaseId?: string;
6218
- password?: string;
6219
- isAdmin?: boolean;
6220
- isOwner?: boolean;
6221
- username?: string;
6222
- displayName?: string;
6223
- returnApiKey?: boolean;
6224
- }
6225
- export interface SetFieldOrderInput {
6226
- clientMutationId?: string;
6227
- fieldIds?: string[];
6228
- }
6229
6368
  export interface InsertNodeAtPathInput {
6230
6369
  clientMutationId?: string;
6231
6370
  dbId?: string;
@@ -6254,6 +6393,29 @@ export interface SetAndCommitInput {
6254
6393
  kids?: string[];
6255
6394
  ktree?: string[];
6256
6395
  }
6396
+ export interface ProvisionRelationInput {
6397
+ clientMutationId?: string;
6398
+ databaseId?: string;
6399
+ relationType?: string;
6400
+ sourceTableId?: string;
6401
+ targetTableId?: string;
6402
+ fieldName?: string;
6403
+ deleteAction?: string;
6404
+ isRequired?: boolean;
6405
+ apiRequired?: boolean;
6406
+ createIndex?: boolean;
6407
+ junctionTableId?: string;
6408
+ junctionTableName?: string;
6409
+ junctionSchemaId?: string;
6410
+ sourceFieldName?: string;
6411
+ targetFieldName?: string;
6412
+ useCompositeKey?: boolean;
6413
+ exposeInApi?: boolean;
6414
+ nodes?: unknown;
6415
+ grants?: unknown;
6416
+ grantRoles?: string[];
6417
+ policies?: unknown;
6418
+ }
6257
6419
  export interface ApplyRlsInput {
6258
6420
  clientMutationId?: string;
6259
6421
  tableId?: string;
@@ -6306,6 +6468,22 @@ export interface OneTimeTokenInput {
6306
6468
  origin?: ConstructiveInternalTypeOrigin;
6307
6469
  rememberMe?: boolean;
6308
6470
  }
6471
+ export interface ProvisionTableInput {
6472
+ clientMutationId?: string;
6473
+ databaseId?: string;
6474
+ schemaId?: string;
6475
+ tableName?: string;
6476
+ tableId?: string;
6477
+ nodes?: unknown;
6478
+ fields?: unknown;
6479
+ policies?: unknown;
6480
+ grants?: unknown;
6481
+ grantRoles?: string[];
6482
+ useRls?: boolean;
6483
+ indexes?: unknown;
6484
+ fullTextSearches?: unknown;
6485
+ uniqueConstraints?: unknown;
6486
+ }
6309
6487
  export interface SendVerificationEmailInput {
6310
6488
  clientMutationId?: string;
6311
6489
  email?: ConstructiveInternalTypeEmail;
@@ -6360,22 +6538,6 @@ export interface ApiSchemaInput {
6360
6538
  /** API that exposes this schema */
6361
6539
  apiId: string;
6362
6540
  }
6363
- export interface CreateSiteThemeInput {
6364
- clientMutationId?: string;
6365
- /** The `SiteTheme` to be created by this mutation. */
6366
- siteTheme: SiteThemeInput;
6367
- }
6368
- /** An input for mutations affecting `SiteTheme` */
6369
- export interface SiteThemeInput {
6370
- /** Unique identifier for this theme record */
6371
- id?: string;
6372
- /** Reference to the metaschema database */
6373
- databaseId: string;
6374
- /** Site this theme belongs to */
6375
- siteId: string;
6376
- /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */
6377
- theme: unknown;
6378
- }
6379
6541
  export interface CreateOrgMemberInput {
6380
6542
  clientMutationId?: string;
6381
6543
  /** The `OrgMember` to be created by this mutation. */
@@ -6445,6 +6607,22 @@ export interface SecretsModuleInput {
6445
6607
  tableId?: string;
6446
6608
  tableName?: string;
6447
6609
  }
6610
+ export interface CreateSiteThemeInput {
6611
+ clientMutationId?: string;
6612
+ /** The `SiteTheme` to be created by this mutation. */
6613
+ siteTheme: SiteThemeInput;
6614
+ }
6615
+ /** An input for mutations affecting `SiteTheme` */
6616
+ export interface SiteThemeInput {
6617
+ /** Unique identifier for this theme record */
6618
+ id?: string;
6619
+ /** Reference to the metaschema database */
6620
+ databaseId: string;
6621
+ /** Site this theme belongs to */
6622
+ siteId: string;
6623
+ /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */
6624
+ theme: unknown;
6625
+ }
6448
6626
  export interface CreateStoreInput {
6449
6627
  clientMutationId?: string;
6450
6628
  /** The `Store` to be created by this mutation. */
@@ -6806,26 +6984,6 @@ export interface CryptoAddressesModuleInput {
6806
6984
  tableName: string;
6807
6985
  cryptoNetwork?: string;
6808
6986
  }
6809
- export interface CreateConnectedAccountInput {
6810
- clientMutationId?: string;
6811
- /** The `ConnectedAccount` to be created by this mutation. */
6812
- connectedAccount: ConnectedAccountInput;
6813
- }
6814
- /** An input for mutations affecting `ConnectedAccount` */
6815
- export interface ConnectedAccountInput {
6816
- id?: string;
6817
- ownerId?: string;
6818
- /** The service used, e.g. `twitter` or `github`. */
6819
- service: string;
6820
- /** A unique identifier for the user within the service */
6821
- identifier: string;
6822
- /** Additional profile details extracted from this login method */
6823
- details: unknown;
6824
- /** Whether this connected account has been verified */
6825
- isVerified?: boolean;
6826
- createdAt?: string;
6827
- updatedAt?: string;
6828
- }
6829
6987
  export interface CreatePhoneNumberInput {
6830
6988
  clientMutationId?: string;
6831
6989
  /** The `PhoneNumber` to be created by this mutation. */
@@ -6846,17 +7004,6 @@ export interface PhoneNumberInput {
6846
7004
  createdAt?: string;
6847
7005
  updatedAt?: string;
6848
7006
  }
6849
- export interface CreateMigrateFileInput {
6850
- clientMutationId?: string;
6851
- /** The `MigrateFile` to be created by this mutation. */
6852
- migrateFile: MigrateFileInput;
6853
- }
6854
- /** An input for mutations affecting `MigrateFile` */
6855
- export interface MigrateFileInput {
6856
- id?: string;
6857
- databaseId?: string;
6858
- upload?: ConstructiveInternalTypeUpload;
6859
- }
6860
7007
  export interface CreateAppLimitDefaultInput {
6861
7008
  clientMutationId?: string;
6862
7009
  /** The `AppLimitDefault` to be created by this mutation. */
@@ -6883,6 +7030,37 @@ export interface OrgLimitDefaultInput {
6883
7030
  /** Default maximum usage allowed for this limit */
6884
7031
  max?: number;
6885
7032
  }
7033
+ export interface CreateConnectedAccountInput {
7034
+ clientMutationId?: string;
7035
+ /** The `ConnectedAccount` to be created by this mutation. */
7036
+ connectedAccount: ConnectedAccountInput;
7037
+ }
7038
+ /** An input for mutations affecting `ConnectedAccount` */
7039
+ export interface ConnectedAccountInput {
7040
+ id?: string;
7041
+ ownerId?: string;
7042
+ /** The service used, e.g. `twitter` or `github`. */
7043
+ service: string;
7044
+ /** A unique identifier for the user within the service */
7045
+ identifier: string;
7046
+ /** Additional profile details extracted from this login method */
7047
+ details: unknown;
7048
+ /** Whether this connected account has been verified */
7049
+ isVerified?: boolean;
7050
+ createdAt?: string;
7051
+ updatedAt?: string;
7052
+ }
7053
+ export interface CreateMigrateFileInput {
7054
+ clientMutationId?: string;
7055
+ /** The `MigrateFile` to be created by this mutation. */
7056
+ migrateFile: MigrateFileInput;
7057
+ }
7058
+ /** An input for mutations affecting `MigrateFile` */
7059
+ export interface MigrateFileInput {
7060
+ id?: string;
7061
+ databaseId?: string;
7062
+ upload?: ConstructiveInternalTypeUpload;
7063
+ }
6886
7064
  export interface CreateTableGrantInput {
6887
7065
  clientMutationId?: string;
6888
7066
  /** The `TableGrant` to be created by this mutation. */
@@ -7151,6 +7329,36 @@ export interface SiteMetadatumInput {
7151
7329
  /** Open Graph image for social media previews */
7152
7330
  ogImage?: ConstructiveInternalTypeImage;
7153
7331
  }
7332
+ export interface CreateBlueprintConstructionInput {
7333
+ clientMutationId?: string;
7334
+ /** The `BlueprintConstruction` to be created by this mutation. */
7335
+ blueprintConstruction: BlueprintConstructionInput;
7336
+ }
7337
+ /** An input for mutations affecting `BlueprintConstruction` */
7338
+ export interface BlueprintConstructionInput {
7339
+ /** Unique identifier for this construction attempt. */
7340
+ id?: string;
7341
+ /** The blueprint that was constructed. */
7342
+ blueprintId: string;
7343
+ /** The database the blueprint was constructed into. */
7344
+ databaseId: string;
7345
+ /** The default schema used for tables that did not specify an explicit schema_name. NULL if not yet resolved. */
7346
+ schemaId?: string;
7347
+ /** Execution state of this construction attempt. pending: created but not yet started. constructing: currently executing. constructed: successfully completed. failed: execution failed (see error_details). */
7348
+ status?: string;
7349
+ /** Error message from a failed construction attempt. NULL unless status is failed. */
7350
+ errorDetails?: string;
7351
+ /** Mapping of table names to created table UUIDs, populated after successful construction. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. */
7352
+ tableMap?: unknown;
7353
+ /** Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the blueprint definition. */
7354
+ constructedDefinition?: unknown;
7355
+ /** Timestamp when construction successfully completed. NULL until constructed. */
7356
+ constructedAt?: string;
7357
+ /** Timestamp when this construction attempt was created. */
7358
+ createdAt?: string;
7359
+ /** Timestamp when this construction attempt was last modified. */
7360
+ updatedAt?: string;
7361
+ }
7154
7362
  export interface CreateRlsModuleInput {
7155
7363
  clientMutationId?: string;
7156
7364
  /** The `RlsModule` to be created by this mutation. */
@@ -7312,6 +7520,38 @@ export interface DomainInput {
7312
7520
  /** Root domain of the hostname */
7313
7521
  domain?: ConstructiveInternalTypeHostname;
7314
7522
  }
7523
+ export interface CreateBlueprintInput {
7524
+ clientMutationId?: string;
7525
+ /** The `Blueprint` to be created by this mutation. */
7526
+ blueprint: BlueprintInput;
7527
+ }
7528
+ /** An input for mutations affecting `Blueprint` */
7529
+ export interface BlueprintInput {
7530
+ /** Unique identifier for this blueprint. */
7531
+ id?: string;
7532
+ /** The user who owns this blueprint. */
7533
+ ownerId: string;
7534
+ /** The database this blueprint is scoped to. Tables created by construct_blueprint() are provisioned in this database. */
7535
+ databaseId: string;
7536
+ /** Machine-readable name for the blueprint. Must be unique per database. */
7537
+ name: string;
7538
+ /** Human-readable display name for the blueprint. */
7539
+ displayName: string;
7540
+ /** Optional description of the blueprint. */
7541
+ description?: string;
7542
+ /** The blueprint definition as a JSONB document. Contains tables[] (each with table_name, optional schema_name, nodes[] for data behaviors, fields[], grants[], and policies[] using $type), relations[] (using $type with source_table/target_table and optional source_schema/target_schema), indexes[] (using table_name + column), and full_text_searches[] (using table_name + field + sources[]). Everything is name-based — no UUIDs in the definition. */
7543
+ definition: unknown;
7544
+ /** If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. */
7545
+ templateId?: string;
7546
+ /** UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. */
7547
+ definitionHash?: string;
7548
+ /** JSONB map of table names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. */
7549
+ tableHashes?: unknown;
7550
+ /** Timestamp when this blueprint was created. */
7551
+ createdAt?: string;
7552
+ /** Timestamp when this blueprint was last modified. */
7553
+ updatedAt?: string;
7554
+ }
7315
7555
  export interface CreateOrgGrantInput {
7316
7556
  clientMutationId?: string;
7317
7557
  /** The `OrgGrant` to be created by this mutation. */
@@ -7616,48 +7856,6 @@ export interface ViewInput {
7616
7856
  scope?: number;
7617
7857
  tags?: string[];
7618
7858
  }
7619
- export interface CreateBlueprintInput {
7620
- clientMutationId?: string;
7621
- /** The `Blueprint` to be created by this mutation. */
7622
- blueprint: BlueprintInput;
7623
- }
7624
- /** An input for mutations affecting `Blueprint` */
7625
- export interface BlueprintInput {
7626
- /** Unique identifier for this blueprint. */
7627
- id?: string;
7628
- /** The user who owns this blueprint. */
7629
- ownerId: string;
7630
- /** The database this blueprint is scoped to. Tables created by construct_blueprint() are provisioned in this database. */
7631
- databaseId: string;
7632
- /** Machine-readable name for the blueprint. Must be unique per database. */
7633
- name: string;
7634
- /** Human-readable display name for the blueprint. */
7635
- displayName: string;
7636
- /** Optional description of the blueprint. */
7637
- description?: string;
7638
- /** The blueprint definition as a JSONB document. Same format as blueprint_template.definition: contains tables[] (with nodes[], fields[], grants[], policies[] using $type) and relations[] (using $type). This is a mutable copy that the owner can customize before executing. */
7639
- definition: unknown;
7640
- /** If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. */
7641
- templateId?: string;
7642
- /** Execution state of the blueprint. draft: not yet executed (definition can still be modified). constructed: successfully executed via construct_blueprint(). failed: execution failed (see error_details). Defaults to draft. */
7643
- status?: string;
7644
- /** Timestamp when construct_blueprint() successfully completed. NULL until constructed. */
7645
- constructedAt?: string;
7646
- /** Error message from the most recent failed construct_blueprint() attempt. NULL unless status is failed. */
7647
- errorDetails?: string;
7648
- /** Mapping of ref names to created table UUIDs, populated by construct_blueprint() after successful execution. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. */
7649
- refMap?: unknown;
7650
- /** Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the definition for re-execution. NULL until constructed. */
7651
- constructedDefinition?: unknown;
7652
- /** UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. */
7653
- definitionHash?: string;
7654
- /** JSONB map of table ref names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. */
7655
- tableHashes?: unknown;
7656
- /** Timestamp when this blueprint was created. */
7657
- createdAt?: string;
7658
- /** Timestamp when this blueprint was last modified. */
7659
- updatedAt?: string;
7660
- }
7661
7859
  export interface CreatePermissionsModuleInput {
7662
7860
  clientMutationId?: string;
7663
7861
  /** The `PermissionsModule` to be created by this mutation. */
@@ -8153,6 +8351,30 @@ export interface HierarchyModuleInput {
8153
8351
  isManagerOfFunction?: string;
8154
8352
  createdAt?: string;
8155
8353
  }
8354
+ export interface CreateStorageModuleInput {
8355
+ clientMutationId?: string;
8356
+ /** The `StorageModule` to be created by this mutation. */
8357
+ storageModule: StorageModuleInput;
8358
+ }
8359
+ /** An input for mutations affecting `StorageModule` */
8360
+ export interface StorageModuleInput {
8361
+ id?: string;
8362
+ databaseId: string;
8363
+ schemaId?: string;
8364
+ privateSchemaId?: string;
8365
+ bucketsTableId?: string;
8366
+ filesTableId?: string;
8367
+ uploadRequestsTableId?: string;
8368
+ bucketsTableName?: string;
8369
+ filesTableName?: string;
8370
+ uploadRequestsTableName?: string;
8371
+ entityTableId?: string;
8372
+ uploadUrlExpirySeconds?: number;
8373
+ downloadUrlExpirySeconds?: number;
8374
+ defaultMaxFileSize?: string;
8375
+ maxFilenameLength?: number;
8376
+ cacheTtlSeconds?: number;
8377
+ }
8156
8378
  export interface CreateInviteInput {
8157
8379
  clientMutationId?: string;
8158
8380
  /** The `Invite` to be created by this mutation. */
@@ -8182,32 +8404,6 @@ export interface InviteInput {
8182
8404
  createdAt?: string;
8183
8405
  updatedAt?: string;
8184
8406
  }
8185
- export interface CreateForeignKeyConstraintInput {
8186
- clientMutationId?: string;
8187
- /** The `ForeignKeyConstraint` to be created by this mutation. */
8188
- foreignKeyConstraint: ForeignKeyConstraintInput;
8189
- }
8190
- /** An input for mutations affecting `ForeignKeyConstraint` */
8191
- export interface ForeignKeyConstraintInput {
8192
- id?: string;
8193
- databaseId?: string;
8194
- tableId: string;
8195
- name?: string;
8196
- description?: string;
8197
- smartTags?: unknown;
8198
- type?: string;
8199
- fieldIds: string[];
8200
- refTableId: string;
8201
- refFieldIds: string[];
8202
- deleteAction?: string;
8203
- updateAction?: string;
8204
- category?: ObjectCategory;
8205
- module?: string;
8206
- scope?: number;
8207
- tags?: string[];
8208
- createdAt?: string;
8209
- updatedAt?: string;
8210
- }
8211
8407
  export interface CreateSecureTableProvisionInput {
8212
8408
  clientMutationId?: string;
8213
8409
  /** The `SecureTableProvision` to be created by this mutation. */
@@ -8225,12 +8421,10 @@ export interface SecureTableProvisionInput {
8225
8421
  tableId?: string;
8226
8422
  /** Name of the target table. Used to create or look up the table when table_id is not provided. If omitted, it is backfilled from the resolved table. */
8227
8423
  tableName?: string;
8228
- /** Which generator to invoke for field creation. One of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. NULL means no field creation the row only provisions grants and/or policies. */
8229
- nodeType?: string;
8424
+ /** Array of node objects to apply to the table. Each element is a jsonb object with a required "$type" key (one of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete, DataEmbedding, DataFullTextSearch, DataSlug, etc.) and an optional "data" key containing generator-specific configuration. Supports multiple nodes per row, matching the blueprint definition format. Example: [{"$type": "DataId"}, {"$type": "DataTimestamps"}, {"$type": "DataDirectOwner", "data": {"owner_field_name": "author_id"}}]. Defaults to '[]' (no node processing). */
8425
+ nodes?: unknown;
8230
8426
  /** If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. */
8231
8427
  useRls?: boolean;
8232
- /** Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table, create_index (boolean, default true) to create btree indexes on FK fields for join and cascade performance. Defaults to '{}'. */
8233
- nodeData?: unknown;
8234
8428
  /** PostgreSQL array of jsonb field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional), "index" (boolean, optional, defaults to false — creates a btree index on the field). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: ARRAY['{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"}'::jsonb, '{"name":"score","type":"integer","min":0,"max":100}'::jsonb]. Defaults to '{}' (no additional fields). */
8235
8429
  fields?: unknown[];
8236
8430
  /** Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. */
@@ -8249,9 +8443,35 @@ export interface SecureTableProvisionInput {
8249
8443
  policyName?: string;
8250
8444
  /** Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. */
8251
8445
  policyData?: unknown;
8252
- /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's generator. NULL when node_type is NULL or before the trigger runs. Callers should not set this directly. */
8446
+ /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's nodes. NULL when nodes is empty or before the trigger runs. Callers should not set this directly. */
8253
8447
  outFields?: string[];
8254
8448
  }
8449
+ export interface CreateForeignKeyConstraintInput {
8450
+ clientMutationId?: string;
8451
+ /** The `ForeignKeyConstraint` to be created by this mutation. */
8452
+ foreignKeyConstraint: ForeignKeyConstraintInput;
8453
+ }
8454
+ /** An input for mutations affecting `ForeignKeyConstraint` */
8455
+ export interface ForeignKeyConstraintInput {
8456
+ id?: string;
8457
+ databaseId?: string;
8458
+ tableId: string;
8459
+ name?: string;
8460
+ description?: string;
8461
+ smartTags?: unknown;
8462
+ type?: string;
8463
+ fieldIds: string[];
8464
+ refTableId: string;
8465
+ refFieldIds: string[];
8466
+ deleteAction?: string;
8467
+ updateAction?: string;
8468
+ category?: ObjectCategory;
8469
+ module?: string;
8470
+ scope?: number;
8471
+ tags?: string[];
8472
+ createdAt?: string;
8473
+ updatedAt?: string;
8474
+ }
8255
8475
  export interface CreateOrgInviteInput {
8256
8476
  clientMutationId?: string;
8257
8477
  /** The `OrgInvite` to be created by this mutation. */
@@ -8411,45 +8631,6 @@ export interface FieldInput {
8411
8631
  createdAt?: string;
8412
8632
  updatedAt?: string;
8413
8633
  }
8414
- export interface CreateMembershipsModuleInput {
8415
- clientMutationId?: string;
8416
- /** The `MembershipsModule` to be created by this mutation. */
8417
- membershipsModule: MembershipsModuleInput;
8418
- }
8419
- /** An input for mutations affecting `MembershipsModule` */
8420
- export interface MembershipsModuleInput {
8421
- id?: string;
8422
- databaseId: string;
8423
- schemaId?: string;
8424
- privateSchemaId?: string;
8425
- membershipsTableId?: string;
8426
- membershipsTableName?: string;
8427
- membersTableId?: string;
8428
- membersTableName?: string;
8429
- membershipDefaultsTableId?: string;
8430
- membershipDefaultsTableName?: string;
8431
- grantsTableId?: string;
8432
- grantsTableName?: string;
8433
- actorTableId?: string;
8434
- limitsTableId?: string;
8435
- defaultLimitsTableId?: string;
8436
- permissionsTableId?: string;
8437
- defaultPermissionsTableId?: string;
8438
- sprtTableId?: string;
8439
- adminGrantsTableId?: string;
8440
- adminGrantsTableName?: string;
8441
- ownerGrantsTableId?: string;
8442
- ownerGrantsTableName?: string;
8443
- membershipType: number;
8444
- entityTableId?: string;
8445
- entityTableOwnerId?: string;
8446
- prefix?: string;
8447
- actorMaskCheck?: string;
8448
- actorPermCheck?: string;
8449
- entityIdsByMask?: string;
8450
- entityIdsByPerm?: string;
8451
- entityIdsFunction?: string;
8452
- }
8453
8634
  export interface CreateRelationProvisionInput {
8454
8635
  clientMutationId?: string;
8455
8636
  /** The `RelationProvision` to be created by this mutation. */
@@ -8555,22 +8736,12 @@ export interface RelationProvisionInput {
8555
8736
  */
8556
8737
  exposeInApi?: boolean;
8557
8738
  /**
8558
- * For RelationManyToMany: which generator to invoke for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value.
8559
- * Examples: DataId (creates UUID primary key), DataDirectOwner (creates owner_id field), DataEntityMembership (creates entity_id field), DataOwnershipInEntity (creates both owner_id and entity_id), DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete.
8560
- * NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true).
8561
- * Ignored for RelationBelongsTo/RelationHasOne.
8562
- */
8563
- nodeType?: string;
8564
- /**
8565
- * For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value.
8566
- * Only used when node_type is set. Structure varies by node_type. Examples:
8567
- * - DataId: {"field_name": "id"} (default field name is 'id')
8568
- * - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true}
8569
- * - DataDirectOwner: {"owner_field_name": "owner_id"}
8570
- * Defaults to '{}' (empty object).
8571
- * Ignored for RelationBelongsTo/RelationHasOne.
8739
+ * For RelationManyToMany: array of node objects to apply to the junction table. Each element is a jsonb object with a required "$type" key and an optional "data" key. Forwarded to provision_table as-is. The trigger does not interpret or validate this value.
8740
+ * Examples: [{"$type": "DataId"}, {"$type": "DataTimestamps"}, {"$type": "DataDirectOwner", "data": {"owner_field_name": "author_id"}}].
8741
+ * Defaults to '[]' (no node processing beyond the FK fields and composite key if use_composite_key is true).
8742
+ * Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany.
8572
8743
  */
8573
- nodeData?: unknown;
8744
+ nodes?: unknown;
8574
8745
  /** For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. */
8575
8746
  grantRoles?: string[];
8576
8747
  /** For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: PostgreSQL array of jsonb [privilege, columns] tuples. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns. Defaults to '{}' (no grants — callers must explicitly specify privileges). Ignored for RelationBelongsTo/RelationHasOne. */
@@ -8608,6 +8779,45 @@ export interface RelationProvisionInput {
8608
8779
  /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */
8609
8780
  outTargetFieldId?: string;
8610
8781
  }
8782
+ export interface CreateMembershipsModuleInput {
8783
+ clientMutationId?: string;
8784
+ /** The `MembershipsModule` to be created by this mutation. */
8785
+ membershipsModule: MembershipsModuleInput;
8786
+ }
8787
+ /** An input for mutations affecting `MembershipsModule` */
8788
+ export interface MembershipsModuleInput {
8789
+ id?: string;
8790
+ databaseId: string;
8791
+ schemaId?: string;
8792
+ privateSchemaId?: string;
8793
+ membershipsTableId?: string;
8794
+ membershipsTableName?: string;
8795
+ membersTableId?: string;
8796
+ membersTableName?: string;
8797
+ membershipDefaultsTableId?: string;
8798
+ membershipDefaultsTableName?: string;
8799
+ grantsTableId?: string;
8800
+ grantsTableName?: string;
8801
+ actorTableId?: string;
8802
+ limitsTableId?: string;
8803
+ defaultLimitsTableId?: string;
8804
+ permissionsTableId?: string;
8805
+ defaultPermissionsTableId?: string;
8806
+ sprtTableId?: string;
8807
+ adminGrantsTableId?: string;
8808
+ adminGrantsTableName?: string;
8809
+ ownerGrantsTableId?: string;
8810
+ ownerGrantsTableName?: string;
8811
+ membershipType: number;
8812
+ entityTableId?: string;
8813
+ entityTableOwnerId?: string;
8814
+ prefix?: string;
8815
+ actorMaskCheck?: string;
8816
+ actorPermCheck?: string;
8817
+ entityIdsByMask?: string;
8818
+ entityIdsByPerm?: string;
8819
+ entityIdsFunction?: string;
8820
+ }
8611
8821
  export interface UpdateDefaultIdsModuleInput {
8612
8822
  clientMutationId?: string;
8613
8823
  id: string;
@@ -8650,24 +8860,6 @@ export interface ApiSchemaPatch {
8650
8860
  /** API that exposes this schema */
8651
8861
  apiId?: string;
8652
8862
  }
8653
- export interface UpdateSiteThemeInput {
8654
- clientMutationId?: string;
8655
- /** Unique identifier for this theme record */
8656
- id: string;
8657
- /** An object where the defined keys will be set on the `SiteTheme` being updated. */
8658
- siteThemePatch: SiteThemePatch;
8659
- }
8660
- /** Represents an update to a `SiteTheme`. Fields that are set will be updated. */
8661
- export interface SiteThemePatch {
8662
- /** Unique identifier for this theme record */
8663
- id?: string;
8664
- /** Reference to the metaschema database */
8665
- databaseId?: string;
8666
- /** Site this theme belongs to */
8667
- siteId?: string;
8668
- /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */
8669
- theme?: unknown;
8670
- }
8671
8863
  export interface UpdateOrgMemberInput {
8672
8864
  clientMutationId?: string;
8673
8865
  id: string;
@@ -8744,6 +8936,24 @@ export interface SecretsModulePatch {
8744
8936
  tableId?: string;
8745
8937
  tableName?: string;
8746
8938
  }
8939
+ export interface UpdateSiteThemeInput {
8940
+ clientMutationId?: string;
8941
+ /** Unique identifier for this theme record */
8942
+ id: string;
8943
+ /** An object where the defined keys will be set on the `SiteTheme` being updated. */
8944
+ siteThemePatch: SiteThemePatch;
8945
+ }
8946
+ /** Represents an update to a `SiteTheme`. Fields that are set will be updated. */
8947
+ export interface SiteThemePatch {
8948
+ /** Unique identifier for this theme record */
8949
+ id?: string;
8950
+ /** Reference to the metaschema database */
8951
+ databaseId?: string;
8952
+ /** Site this theme belongs to */
8953
+ siteId?: string;
8954
+ /** JSONB object containing theme tokens (colors, typography, spacing, etc.) */
8955
+ theme?: unknown;
8956
+ }
8747
8957
  export interface UpdateStoreInput {
8748
8958
  clientMutationId?: string;
8749
8959
  /** The primary unique identifier for the store. */
@@ -9132,27 +9342,6 @@ export interface CryptoAddressesModulePatch {
9132
9342
  tableName?: string;
9133
9343
  cryptoNetwork?: string;
9134
9344
  }
9135
- export interface UpdateConnectedAccountInput {
9136
- clientMutationId?: string;
9137
- id: string;
9138
- /** An object where the defined keys will be set on the `ConnectedAccount` being updated. */
9139
- connectedAccountPatch: ConnectedAccountPatch;
9140
- }
9141
- /** Represents an update to a `ConnectedAccount`. Fields that are set will be updated. */
9142
- export interface ConnectedAccountPatch {
9143
- id?: string;
9144
- ownerId?: string;
9145
- /** The service used, e.g. `twitter` or `github`. */
9146
- service?: string;
9147
- /** A unique identifier for the user within the service */
9148
- identifier?: string;
9149
- /** Additional profile details extracted from this login method */
9150
- details?: unknown;
9151
- /** Whether this connected account has been verified */
9152
- isVerified?: boolean;
9153
- createdAt?: string;
9154
- updatedAt?: string;
9155
- }
9156
9345
  export interface UpdatePhoneNumberInput {
9157
9346
  clientMutationId?: string;
9158
9347
  id: string;
@@ -9202,6 +9391,27 @@ export interface OrgLimitDefaultPatch {
9202
9391
  /** Default maximum usage allowed for this limit */
9203
9392
  max?: number;
9204
9393
  }
9394
+ export interface UpdateConnectedAccountInput {
9395
+ clientMutationId?: string;
9396
+ id: string;
9397
+ /** An object where the defined keys will be set on the `ConnectedAccount` being updated. */
9398
+ connectedAccountPatch: ConnectedAccountPatch;
9399
+ }
9400
+ /** Represents an update to a `ConnectedAccount`. Fields that are set will be updated. */
9401
+ export interface ConnectedAccountPatch {
9402
+ id?: string;
9403
+ ownerId?: string;
9404
+ /** The service used, e.g. `twitter` or `github`. */
9405
+ service?: string;
9406
+ /** A unique identifier for the user within the service */
9407
+ identifier?: string;
9408
+ /** Additional profile details extracted from this login method */
9409
+ details?: unknown;
9410
+ /** Whether this connected account has been verified */
9411
+ isVerified?: boolean;
9412
+ createdAt?: string;
9413
+ updatedAt?: string;
9414
+ }
9205
9415
  export interface UpdateTableGrantInput {
9206
9416
  clientMutationId?: string;
9207
9417
  id: string;
@@ -9493,6 +9703,38 @@ export interface SiteMetadatumPatch {
9493
9703
  /** Upload for Open Graph image for social media previews */
9494
9704
  ogImageUpload?: File;
9495
9705
  }
9706
+ export interface UpdateBlueprintConstructionInput {
9707
+ clientMutationId?: string;
9708
+ /** Unique identifier for this construction attempt. */
9709
+ id: string;
9710
+ /** An object where the defined keys will be set on the `BlueprintConstruction` being updated. */
9711
+ blueprintConstructionPatch: BlueprintConstructionPatch;
9712
+ }
9713
+ /** Represents an update to a `BlueprintConstruction`. Fields that are set will be updated. */
9714
+ export interface BlueprintConstructionPatch {
9715
+ /** Unique identifier for this construction attempt. */
9716
+ id?: string;
9717
+ /** The blueprint that was constructed. */
9718
+ blueprintId?: string;
9719
+ /** The database the blueprint was constructed into. */
9720
+ databaseId?: string;
9721
+ /** The default schema used for tables that did not specify an explicit schema_name. NULL if not yet resolved. */
9722
+ schemaId?: string;
9723
+ /** Execution state of this construction attempt. pending: created but not yet started. constructing: currently executing. constructed: successfully completed. failed: execution failed (see error_details). */
9724
+ status?: string;
9725
+ /** Error message from a failed construction attempt. NULL unless status is failed. */
9726
+ errorDetails?: string;
9727
+ /** Mapping of table names to created table UUIDs, populated after successful construction. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. */
9728
+ tableMap?: unknown;
9729
+ /** Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the blueprint definition. */
9730
+ constructedDefinition?: unknown;
9731
+ /** Timestamp when construction successfully completed. NULL until constructed. */
9732
+ constructedAt?: string;
9733
+ /** Timestamp when this construction attempt was created. */
9734
+ createdAt?: string;
9735
+ /** Timestamp when this construction attempt was last modified. */
9736
+ updatedAt?: string;
9737
+ }
9496
9738
  export interface UpdateRlsModuleInput {
9497
9739
  clientMutationId?: string;
9498
9740
  id: string;
@@ -9664,6 +9906,40 @@ export interface DomainPatch {
9664
9906
  /** Root domain of the hostname */
9665
9907
  domain?: ConstructiveInternalTypeHostname;
9666
9908
  }
9909
+ export interface UpdateBlueprintInput {
9910
+ clientMutationId?: string;
9911
+ /** Unique identifier for this blueprint. */
9912
+ id: string;
9913
+ /** An object where the defined keys will be set on the `Blueprint` being updated. */
9914
+ blueprintPatch: BlueprintPatch;
9915
+ }
9916
+ /** Represents an update to a `Blueprint`. Fields that are set will be updated. */
9917
+ export interface BlueprintPatch {
9918
+ /** Unique identifier for this blueprint. */
9919
+ id?: string;
9920
+ /** The user who owns this blueprint. */
9921
+ ownerId?: string;
9922
+ /** The database this blueprint is scoped to. Tables created by construct_blueprint() are provisioned in this database. */
9923
+ databaseId?: string;
9924
+ /** Machine-readable name for the blueprint. Must be unique per database. */
9925
+ name?: string;
9926
+ /** Human-readable display name for the blueprint. */
9927
+ displayName?: string;
9928
+ /** Optional description of the blueprint. */
9929
+ description?: string;
9930
+ /** The blueprint definition as a JSONB document. Contains tables[] (each with table_name, optional schema_name, nodes[] for data behaviors, fields[], grants[], and policies[] using $type), relations[] (using $type with source_table/target_table and optional source_schema/target_schema), indexes[] (using table_name + column), and full_text_searches[] (using table_name + field + sources[]). Everything is name-based — no UUIDs in the definition. */
9931
+ definition?: unknown;
9932
+ /** If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. */
9933
+ templateId?: string;
9934
+ /** UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. */
9935
+ definitionHash?: string;
9936
+ /** JSONB map of table names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. */
9937
+ tableHashes?: unknown;
9938
+ /** Timestamp when this blueprint was created. */
9939
+ createdAt?: string;
9940
+ /** Timestamp when this blueprint was last modified. */
9941
+ updatedAt?: string;
9942
+ }
9667
9943
  export interface UpdateOrgGrantInput {
9668
9944
  clientMutationId?: string;
9669
9945
  id: string;
@@ -9962,50 +10238,6 @@ export interface ViewPatch {
9962
10238
  scope?: number;
9963
10239
  tags?: string[];
9964
10240
  }
9965
- export interface UpdateBlueprintInput {
9966
- clientMutationId?: string;
9967
- /** Unique identifier for this blueprint. */
9968
- id: string;
9969
- /** An object where the defined keys will be set on the `Blueprint` being updated. */
9970
- blueprintPatch: BlueprintPatch;
9971
- }
9972
- /** Represents an update to a `Blueprint`. Fields that are set will be updated. */
9973
- export interface BlueprintPatch {
9974
- /** Unique identifier for this blueprint. */
9975
- id?: string;
9976
- /** The user who owns this blueprint. */
9977
- ownerId?: string;
9978
- /** The database this blueprint is scoped to. Tables created by construct_blueprint() are provisioned in this database. */
9979
- databaseId?: string;
9980
- /** Machine-readable name for the blueprint. Must be unique per database. */
9981
- name?: string;
9982
- /** Human-readable display name for the blueprint. */
9983
- displayName?: string;
9984
- /** Optional description of the blueprint. */
9985
- description?: string;
9986
- /** The blueprint definition as a JSONB document. Same format as blueprint_template.definition: contains tables[] (with nodes[], fields[], grants[], policies[] using $type) and relations[] (using $type). This is a mutable copy that the owner can customize before executing. */
9987
- definition?: unknown;
9988
- /** If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. */
9989
- templateId?: string;
9990
- /** Execution state of the blueprint. draft: not yet executed (definition can still be modified). constructed: successfully executed via construct_blueprint(). failed: execution failed (see error_details). Defaults to draft. */
9991
- status?: string;
9992
- /** Timestamp when construct_blueprint() successfully completed. NULL until constructed. */
9993
- constructedAt?: string;
9994
- /** Error message from the most recent failed construct_blueprint() attempt. NULL unless status is failed. */
9995
- errorDetails?: string;
9996
- /** Mapping of ref names to created table UUIDs, populated by construct_blueprint() after successful execution. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. */
9997
- refMap?: unknown;
9998
- /** Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the definition for re-execution. NULL until constructed. */
9999
- constructedDefinition?: unknown;
10000
- /** UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. */
10001
- definitionHash?: string;
10002
- /** JSONB map of table ref names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. */
10003
- tableHashes?: unknown;
10004
- /** Timestamp when this blueprint was created. */
10005
- createdAt?: string;
10006
- /** Timestamp when this blueprint was last modified. */
10007
- updatedAt?: string;
10008
- }
10009
10241
  export interface UpdatePermissionsModuleInput {
10010
10242
  clientMutationId?: string;
10011
10243
  id: string;
@@ -10513,6 +10745,31 @@ export interface HierarchyModulePatch {
10513
10745
  isManagerOfFunction?: string;
10514
10746
  createdAt?: string;
10515
10747
  }
10748
+ export interface UpdateStorageModuleInput {
10749
+ clientMutationId?: string;
10750
+ id: string;
10751
+ /** An object where the defined keys will be set on the `StorageModule` being updated. */
10752
+ storageModulePatch: StorageModulePatch;
10753
+ }
10754
+ /** Represents an update to a `StorageModule`. Fields that are set will be updated. */
10755
+ export interface StorageModulePatch {
10756
+ id?: string;
10757
+ databaseId?: string;
10758
+ schemaId?: string;
10759
+ privateSchemaId?: string;
10760
+ bucketsTableId?: string;
10761
+ filesTableId?: string;
10762
+ uploadRequestsTableId?: string;
10763
+ bucketsTableName?: string;
10764
+ filesTableName?: string;
10765
+ uploadRequestsTableName?: string;
10766
+ entityTableId?: string;
10767
+ uploadUrlExpirySeconds?: number;
10768
+ downloadUrlExpirySeconds?: number;
10769
+ defaultMaxFileSize?: string;
10770
+ maxFilenameLength?: number;
10771
+ cacheTtlSeconds?: number;
10772
+ }
10516
10773
  export interface UpdateInviteInput {
10517
10774
  clientMutationId?: string;
10518
10775
  id: string;
@@ -10543,33 +10800,6 @@ export interface InvitePatch {
10543
10800
  createdAt?: string;
10544
10801
  updatedAt?: string;
10545
10802
  }
10546
- export interface UpdateForeignKeyConstraintInput {
10547
- clientMutationId?: string;
10548
- id: string;
10549
- /** An object where the defined keys will be set on the `ForeignKeyConstraint` being updated. */
10550
- foreignKeyConstraintPatch: ForeignKeyConstraintPatch;
10551
- }
10552
- /** Represents an update to a `ForeignKeyConstraint`. Fields that are set will be updated. */
10553
- export interface ForeignKeyConstraintPatch {
10554
- id?: string;
10555
- databaseId?: string;
10556
- tableId?: string;
10557
- name?: string;
10558
- description?: string;
10559
- smartTags?: unknown;
10560
- type?: string;
10561
- fieldIds?: string[];
10562
- refTableId?: string;
10563
- refFieldIds?: string[];
10564
- deleteAction?: string;
10565
- updateAction?: string;
10566
- category?: ObjectCategory;
10567
- module?: string;
10568
- scope?: number;
10569
- tags?: string[];
10570
- createdAt?: string;
10571
- updatedAt?: string;
10572
- }
10573
10803
  export interface UpdateSecureTableProvisionInput {
10574
10804
  clientMutationId?: string;
10575
10805
  /** Unique identifier for this provision row. */
@@ -10589,12 +10819,10 @@ export interface SecureTableProvisionPatch {
10589
10819
  tableId?: string;
10590
10820
  /** Name of the target table. Used to create or look up the table when table_id is not provided. If omitted, it is backfilled from the resolved table. */
10591
10821
  tableName?: string;
10592
- /** Which generator to invoke for field creation. One of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. NULL means no field creation the row only provisions grants and/or policies. */
10593
- nodeType?: string;
10822
+ /** Array of node objects to apply to the table. Each element is a jsonb object with a required "$type" key (one of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete, DataEmbedding, DataFullTextSearch, DataSlug, etc.) and an optional "data" key containing generator-specific configuration. Supports multiple nodes per row, matching the blueprint definition format. Example: [{"$type": "DataId"}, {"$type": "DataTimestamps"}, {"$type": "DataDirectOwner", "data": {"owner_field_name": "author_id"}}]. Defaults to '[]' (no node processing). */
10823
+ nodes?: unknown;
10594
10824
  /** If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. */
10595
10825
  useRls?: boolean;
10596
- /** Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table, create_index (boolean, default true) to create btree indexes on FK fields for join and cascade performance. Defaults to '{}'. */
10597
- nodeData?: unknown;
10598
10826
  /** PostgreSQL array of jsonb field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional), "index" (boolean, optional, defaults to false — creates a btree index on the field). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: ARRAY['{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"}'::jsonb, '{"name":"score","type":"integer","min":0,"max":100}'::jsonb]. Defaults to '{}' (no additional fields). */
10599
10827
  fields?: unknown[];
10600
10828
  /** Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. */
@@ -10613,9 +10841,36 @@ export interface SecureTableProvisionPatch {
10613
10841
  policyName?: string;
10614
10842
  /** Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. */
10615
10843
  policyData?: unknown;
10616
- /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's generator. NULL when node_type is NULL or before the trigger runs. Callers should not set this directly. */
10844
+ /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's nodes. NULL when nodes is empty or before the trigger runs. Callers should not set this directly. */
10617
10845
  outFields?: string[];
10618
10846
  }
10847
+ export interface UpdateForeignKeyConstraintInput {
10848
+ clientMutationId?: string;
10849
+ id: string;
10850
+ /** An object where the defined keys will be set on the `ForeignKeyConstraint` being updated. */
10851
+ foreignKeyConstraintPatch: ForeignKeyConstraintPatch;
10852
+ }
10853
+ /** Represents an update to a `ForeignKeyConstraint`. Fields that are set will be updated. */
10854
+ export interface ForeignKeyConstraintPatch {
10855
+ id?: string;
10856
+ databaseId?: string;
10857
+ tableId?: string;
10858
+ name?: string;
10859
+ description?: string;
10860
+ smartTags?: unknown;
10861
+ type?: string;
10862
+ fieldIds?: string[];
10863
+ refTableId?: string;
10864
+ refFieldIds?: string[];
10865
+ deleteAction?: string;
10866
+ updateAction?: string;
10867
+ category?: ObjectCategory;
10868
+ module?: string;
10869
+ scope?: number;
10870
+ tags?: string[];
10871
+ createdAt?: string;
10872
+ updatedAt?: string;
10873
+ }
10619
10874
  export interface UpdateOrgInviteInput {
10620
10875
  clientMutationId?: string;
10621
10876
  id: string;
@@ -10780,46 +11035,6 @@ export interface FieldPatch {
10780
11035
  createdAt?: string;
10781
11036
  updatedAt?: string;
10782
11037
  }
10783
- export interface UpdateMembershipsModuleInput {
10784
- clientMutationId?: string;
10785
- id: string;
10786
- /** An object where the defined keys will be set on the `MembershipsModule` being updated. */
10787
- membershipsModulePatch: MembershipsModulePatch;
10788
- }
10789
- /** Represents an update to a `MembershipsModule`. Fields that are set will be updated. */
10790
- export interface MembershipsModulePatch {
10791
- id?: string;
10792
- databaseId?: string;
10793
- schemaId?: string;
10794
- privateSchemaId?: string;
10795
- membershipsTableId?: string;
10796
- membershipsTableName?: string;
10797
- membersTableId?: string;
10798
- membersTableName?: string;
10799
- membershipDefaultsTableId?: string;
10800
- membershipDefaultsTableName?: string;
10801
- grantsTableId?: string;
10802
- grantsTableName?: string;
10803
- actorTableId?: string;
10804
- limitsTableId?: string;
10805
- defaultLimitsTableId?: string;
10806
- permissionsTableId?: string;
10807
- defaultPermissionsTableId?: string;
10808
- sprtTableId?: string;
10809
- adminGrantsTableId?: string;
10810
- adminGrantsTableName?: string;
10811
- ownerGrantsTableId?: string;
10812
- ownerGrantsTableName?: string;
10813
- membershipType?: number;
10814
- entityTableId?: string;
10815
- entityTableOwnerId?: string;
10816
- prefix?: string;
10817
- actorMaskCheck?: string;
10818
- actorPermCheck?: string;
10819
- entityIdsByMask?: string;
10820
- entityIdsByPerm?: string;
10821
- entityIdsFunction?: string;
10822
- }
10823
11038
  export interface UpdateRelationProvisionInput {
10824
11039
  clientMutationId?: string;
10825
11040
  /** Unique identifier for this relation provision row. */
@@ -10927,22 +11142,12 @@ export interface RelationProvisionPatch {
10927
11142
  */
10928
11143
  exposeInApi?: boolean;
10929
11144
  /**
10930
- * For RelationManyToMany: which generator to invoke for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value.
10931
- * Examples: DataId (creates UUID primary key), DataDirectOwner (creates owner_id field), DataEntityMembership (creates entity_id field), DataOwnershipInEntity (creates both owner_id and entity_id), DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete.
10932
- * NULL means no field creation beyond the FK fields (and composite key if use_composite_key is true).
10933
- * Ignored for RelationBelongsTo/RelationHasOne.
10934
- */
10935
- nodeType?: string;
10936
- /**
10937
- * For RelationManyToMany: configuration passed to the generator function for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value.
10938
- * Only used when node_type is set. Structure varies by node_type. Examples:
10939
- * - DataId: {"field_name": "id"} (default field name is 'id')
10940
- * - DataEntityMembership: {"entity_field_name": "entity_id", "include_id": false, "include_user_fk": true}
10941
- * - DataDirectOwner: {"owner_field_name": "owner_id"}
10942
- * Defaults to '{}' (empty object).
10943
- * Ignored for RelationBelongsTo/RelationHasOne.
11145
+ * For RelationManyToMany: array of node objects to apply to the junction table. Each element is a jsonb object with a required "$type" key and an optional "data" key. Forwarded to provision_table as-is. The trigger does not interpret or validate this value.
11146
+ * Examples: [{"$type": "DataId"}, {"$type": "DataTimestamps"}, {"$type": "DataDirectOwner", "data": {"owner_field_name": "author_id"}}].
11147
+ * Defaults to '[]' (no node processing beyond the FK fields and composite key if use_composite_key is true).
11148
+ * Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany.
10944
11149
  */
10945
- nodeData?: unknown;
11150
+ nodes?: unknown;
10946
11151
  /** For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. */
10947
11152
  grantRoles?: string[];
10948
11153
  /** For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: PostgreSQL array of jsonb [privilege, columns] tuples. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns. Defaults to '{}' (no grants — callers must explicitly specify privileges). Ignored for RelationBelongsTo/RelationHasOne. */
@@ -10980,6 +11185,46 @@ export interface RelationProvisionPatch {
10980
11185
  /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */
10981
11186
  outTargetFieldId?: string;
10982
11187
  }
11188
+ export interface UpdateMembershipsModuleInput {
11189
+ clientMutationId?: string;
11190
+ id: string;
11191
+ /** An object where the defined keys will be set on the `MembershipsModule` being updated. */
11192
+ membershipsModulePatch: MembershipsModulePatch;
11193
+ }
11194
+ /** Represents an update to a `MembershipsModule`. Fields that are set will be updated. */
11195
+ export interface MembershipsModulePatch {
11196
+ id?: string;
11197
+ databaseId?: string;
11198
+ schemaId?: string;
11199
+ privateSchemaId?: string;
11200
+ membershipsTableId?: string;
11201
+ membershipsTableName?: string;
11202
+ membersTableId?: string;
11203
+ membersTableName?: string;
11204
+ membershipDefaultsTableId?: string;
11205
+ membershipDefaultsTableName?: string;
11206
+ grantsTableId?: string;
11207
+ grantsTableName?: string;
11208
+ actorTableId?: string;
11209
+ limitsTableId?: string;
11210
+ defaultLimitsTableId?: string;
11211
+ permissionsTableId?: string;
11212
+ defaultPermissionsTableId?: string;
11213
+ sprtTableId?: string;
11214
+ adminGrantsTableId?: string;
11215
+ adminGrantsTableName?: string;
11216
+ ownerGrantsTableId?: string;
11217
+ ownerGrantsTableName?: string;
11218
+ membershipType?: number;
11219
+ entityTableId?: string;
11220
+ entityTableOwnerId?: string;
11221
+ prefix?: string;
11222
+ actorMaskCheck?: string;
11223
+ actorPermCheck?: string;
11224
+ entityIdsByMask?: string;
11225
+ entityIdsByPerm?: string;
11226
+ entityIdsFunction?: string;
11227
+ }
10983
11228
  export interface DeleteDefaultIdsModuleInput {
10984
11229
  clientMutationId?: string;
10985
11230
  id: string;
@@ -10993,11 +11238,6 @@ export interface DeleteApiSchemaInput {
10993
11238
  /** Unique identifier for this API-schema mapping */
10994
11239
  id: string;
10995
11240
  }
10996
- export interface DeleteSiteThemeInput {
10997
- clientMutationId?: string;
10998
- /** Unique identifier for this theme record */
10999
- id: string;
11000
- }
11001
11241
  export interface DeleteOrgMemberInput {
11002
11242
  clientMutationId?: string;
11003
11243
  id: string;
@@ -11020,6 +11260,11 @@ export interface DeleteSecretsModuleInput {
11020
11260
  clientMutationId?: string;
11021
11261
  id: string;
11022
11262
  }
11263
+ export interface DeleteSiteThemeInput {
11264
+ clientMutationId?: string;
11265
+ /** Unique identifier for this theme record */
11266
+ id: string;
11267
+ }
11023
11268
  export interface DeleteStoreInput {
11024
11269
  clientMutationId?: string;
11025
11270
  /** The primary unique identifier for the store. */
@@ -11116,10 +11361,6 @@ export interface DeleteCryptoAddressesModuleInput {
11116
11361
  clientMutationId?: string;
11117
11362
  id: string;
11118
11363
  }
11119
- export interface DeleteConnectedAccountInput {
11120
- clientMutationId?: string;
11121
- id: string;
11122
- }
11123
11364
  export interface DeletePhoneNumberInput {
11124
11365
  clientMutationId?: string;
11125
11366
  id: string;
@@ -11132,6 +11373,10 @@ export interface DeleteOrgLimitDefaultInput {
11132
11373
  clientMutationId?: string;
11133
11374
  id: string;
11134
11375
  }
11376
+ export interface DeleteConnectedAccountInput {
11377
+ clientMutationId?: string;
11378
+ id: string;
11379
+ }
11135
11380
  export interface DeleteTableGrantInput {
11136
11381
  clientMutationId?: string;
11137
11382
  id: string;
@@ -11198,6 +11443,11 @@ export interface DeleteSiteMetadatumInput {
11198
11443
  /** Unique identifier for this metadata record */
11199
11444
  id: string;
11200
11445
  }
11446
+ export interface DeleteBlueprintConstructionInput {
11447
+ clientMutationId?: string;
11448
+ /** Unique identifier for this construction attempt. */
11449
+ id: string;
11450
+ }
11201
11451
  export interface DeleteRlsModuleInput {
11202
11452
  clientMutationId?: string;
11203
11453
  id: string;
@@ -11232,6 +11482,11 @@ export interface DeleteDomainInput {
11232
11482
  /** Unique identifier for this domain record */
11233
11483
  id: string;
11234
11484
  }
11485
+ export interface DeleteBlueprintInput {
11486
+ clientMutationId?: string;
11487
+ /** Unique identifier for this blueprint. */
11488
+ id: string;
11489
+ }
11235
11490
  export interface DeleteOrgGrantInput {
11236
11491
  clientMutationId?: string;
11237
11492
  id: string;
@@ -11284,11 +11539,6 @@ export interface DeleteViewInput {
11284
11539
  clientMutationId?: string;
11285
11540
  id: string;
11286
11541
  }
11287
- export interface DeleteBlueprintInput {
11288
- clientMutationId?: string;
11289
- /** Unique identifier for this blueprint. */
11290
- id: string;
11291
- }
11292
11542
  export interface DeletePermissionsModuleInput {
11293
11543
  clientMutationId?: string;
11294
11544
  id: string;
@@ -11364,11 +11614,11 @@ export interface DeleteHierarchyModuleInput {
11364
11614
  clientMutationId?: string;
11365
11615
  id: string;
11366
11616
  }
11367
- export interface DeleteInviteInput {
11617
+ export interface DeleteStorageModuleInput {
11368
11618
  clientMutationId?: string;
11369
11619
  id: string;
11370
11620
  }
11371
- export interface DeleteForeignKeyConstraintInput {
11621
+ export interface DeleteInviteInput {
11372
11622
  clientMutationId?: string;
11373
11623
  id: string;
11374
11624
  }
@@ -11377,6 +11627,10 @@ export interface DeleteSecureTableProvisionInput {
11377
11627
  /** Unique identifier for this provision row. */
11378
11628
  id: string;
11379
11629
  }
11630
+ export interface DeleteForeignKeyConstraintInput {
11631
+ clientMutationId?: string;
11632
+ id: string;
11633
+ }
11380
11634
  export interface DeleteOrgInviteInput {
11381
11635
  clientMutationId?: string;
11382
11636
  id: string;
@@ -11397,21 +11651,14 @@ export interface DeleteFieldInput {
11397
11651
  clientMutationId?: string;
11398
11652
  id: string;
11399
11653
  }
11400
- export interface DeleteMembershipsModuleInput {
11401
- clientMutationId?: string;
11402
- id: string;
11403
- }
11404
11654
  export interface DeleteRelationProvisionInput {
11405
11655
  clientMutationId?: string;
11406
11656
  /** Unique identifier for this relation provision row. */
11407
11657
  id: string;
11408
11658
  }
11409
- /** A connection to a list of `GetAllRecord` values. */
11410
- export interface GetAllConnection {
11411
- nodes: GetAllRecord[];
11412
- edges: GetAllEdge[];
11413
- pageInfo: PageInfo;
11414
- totalCount: number;
11659
+ export interface DeleteMembershipsModuleInput {
11660
+ clientMutationId?: string;
11661
+ id: string;
11415
11662
  }
11416
11663
  /** A connection to a list of `OrgGetManagersRecord` values. */
11417
11664
  export interface OrgGetManagersConnection {
@@ -11427,6 +11674,13 @@ export interface OrgGetSubordinatesConnection {
11427
11674
  pageInfo: PageInfo;
11428
11675
  totalCount: number;
11429
11676
  }
11677
+ /** A connection to a list of `GetAllRecord` values. */
11678
+ export interface GetAllConnection {
11679
+ nodes: GetAllRecord[];
11680
+ edges: GetAllEdge[];
11681
+ pageInfo: PageInfo;
11682
+ totalCount: number;
11683
+ }
11430
11684
  /** A connection to a list of `Object` values. */
11431
11685
  export interface ObjectConnection {
11432
11686
  nodes: Object[];
@@ -11476,13 +11730,6 @@ export interface ApiSchemaConnection {
11476
11730
  pageInfo: PageInfo;
11477
11731
  totalCount: number;
11478
11732
  }
11479
- /** A connection to a list of `SiteTheme` values. */
11480
- export interface SiteThemeConnection {
11481
- nodes: SiteTheme[];
11482
- edges: SiteThemeEdge[];
11483
- pageInfo: PageInfo;
11484
- totalCount: number;
11485
- }
11486
11733
  /** A connection to a list of `OrgMember` values. */
11487
11734
  export interface OrgMemberConnection {
11488
11735
  nodes: OrgMember[];
@@ -11518,6 +11765,13 @@ export interface SecretsModuleConnection {
11518
11765
  pageInfo: PageInfo;
11519
11766
  totalCount: number;
11520
11767
  }
11768
+ /** A connection to a list of `SiteTheme` values. */
11769
+ export interface SiteThemeConnection {
11770
+ nodes: SiteTheme[];
11771
+ edges: SiteThemeEdge[];
11772
+ pageInfo: PageInfo;
11773
+ totalCount: number;
11774
+ }
11521
11775
  /** A connection to a list of `Store` values. */
11522
11776
  export interface StoreConnection {
11523
11777
  nodes: Store[];
@@ -11679,13 +11933,6 @@ export interface CryptoAddressesModuleConnection {
11679
11933
  pageInfo: PageInfo;
11680
11934
  totalCount: number;
11681
11935
  }
11682
- /** A connection to a list of `ConnectedAccount` values. */
11683
- export interface ConnectedAccountConnection {
11684
- nodes: ConnectedAccount[];
11685
- edges: ConnectedAccountEdge[];
11686
- pageInfo: PageInfo;
11687
- totalCount: number;
11688
- }
11689
11936
  /** A connection to a list of `PhoneNumber` values. */
11690
11937
  export interface PhoneNumberConnection {
11691
11938
  nodes: PhoneNumber[];
@@ -11693,13 +11940,6 @@ export interface PhoneNumberConnection {
11693
11940
  pageInfo: PageInfo;
11694
11941
  totalCount: number;
11695
11942
  }
11696
- /** A connection to a list of `MigrateFile` values. */
11697
- export interface MigrateFileConnection {
11698
- nodes: MigrateFile[];
11699
- edges: MigrateFileEdge[];
11700
- pageInfo: PageInfo;
11701
- totalCount: number;
11702
- }
11703
11943
  /** A connection to a list of `AppLimitDefault` values. */
11704
11944
  export interface AppLimitDefaultConnection {
11705
11945
  nodes: AppLimitDefault[];
@@ -11714,6 +11954,20 @@ export interface OrgLimitDefaultConnection {
11714
11954
  pageInfo: PageInfo;
11715
11955
  totalCount: number;
11716
11956
  }
11957
+ /** A connection to a list of `ConnectedAccount` values. */
11958
+ export interface ConnectedAccountConnection {
11959
+ nodes: ConnectedAccount[];
11960
+ edges: ConnectedAccountEdge[];
11961
+ pageInfo: PageInfo;
11962
+ totalCount: number;
11963
+ }
11964
+ /** A connection to a list of `MigrateFile` values. */
11965
+ export interface MigrateFileConnection {
11966
+ nodes: MigrateFile[];
11967
+ edges: MigrateFileEdge[];
11968
+ pageInfo: PageInfo;
11969
+ totalCount: number;
11970
+ }
11717
11971
  /** A connection to a list of `TableGrant` values. */
11718
11972
  export interface TableGrantConnection {
11719
11973
  nodes: TableGrant[];
@@ -11798,6 +12052,13 @@ export interface SiteMetadatumConnection {
11798
12052
  pageInfo: PageInfo;
11799
12053
  totalCount: number;
11800
12054
  }
12055
+ /** A connection to a list of `BlueprintConstruction` values. */
12056
+ export interface BlueprintConstructionConnection {
12057
+ nodes: BlueprintConstruction[];
12058
+ edges: BlueprintConstructionEdge[];
12059
+ pageInfo: PageInfo;
12060
+ totalCount: number;
12061
+ }
11801
12062
  /** A connection to a list of `RlsModule` values. */
11802
12063
  export interface RlsModuleConnection {
11803
12064
  nodes: RlsModule[];
@@ -11854,6 +12115,13 @@ export interface DomainConnection {
11854
12115
  pageInfo: PageInfo;
11855
12116
  totalCount: number;
11856
12117
  }
12118
+ /** A connection to a list of `Blueprint` values. */
12119
+ export interface BlueprintConnection {
12120
+ nodes: Blueprint[];
12121
+ edges: BlueprintEdge[];
12122
+ pageInfo: PageInfo;
12123
+ totalCount: number;
12124
+ }
11857
12125
  /** A connection to a list of `OrgGrant` values. */
11858
12126
  export interface OrgGrantConnection {
11859
12127
  nodes: OrgGrant[];
@@ -11945,13 +12213,6 @@ export interface ViewConnection {
11945
12213
  pageInfo: PageInfo;
11946
12214
  totalCount: number;
11947
12215
  }
11948
- /** A connection to a list of `Blueprint` values. */
11949
- export interface BlueprintConnection {
11950
- nodes: Blueprint[];
11951
- edges: BlueprintEdge[];
11952
- pageInfo: PageInfo;
11953
- totalCount: number;
11954
- }
11955
12216
  /** A connection to a list of `PermissionsModule` values. */
11956
12217
  export interface PermissionsModuleConnection {
11957
12218
  nodes: PermissionsModule[];
@@ -12085,6 +12346,13 @@ export interface HierarchyModuleConnection {
12085
12346
  pageInfo: PageInfo;
12086
12347
  totalCount: number;
12087
12348
  }
12349
+ /** A connection to a list of `StorageModule` values. */
12350
+ export interface StorageModuleConnection {
12351
+ nodes: StorageModule[];
12352
+ edges: StorageModuleEdge[];
12353
+ pageInfo: PageInfo;
12354
+ totalCount: number;
12355
+ }
12088
12356
  /** A connection to a list of `Invite` values. */
12089
12357
  export interface InviteConnection {
12090
12358
  nodes: Invite[];
@@ -12092,13 +12360,6 @@ export interface InviteConnection {
12092
12360
  pageInfo: PageInfo;
12093
12361
  totalCount: number;
12094
12362
  }
12095
- /** A connection to a list of `ForeignKeyConstraint` values. */
12096
- export interface ForeignKeyConstraintConnection {
12097
- nodes: ForeignKeyConstraint[];
12098
- edges: ForeignKeyConstraintEdge[];
12099
- pageInfo: PageInfo;
12100
- totalCount: number;
12101
- }
12102
12363
  /** A connection to a list of `SecureTableProvision` values. */
12103
12364
  export interface SecureTableProvisionConnection {
12104
12365
  nodes: SecureTableProvision[];
@@ -12106,6 +12367,13 @@ export interface SecureTableProvisionConnection {
12106
12367
  pageInfo: PageInfo;
12107
12368
  totalCount: number;
12108
12369
  }
12370
+ /** A connection to a list of `ForeignKeyConstraint` values. */
12371
+ export interface ForeignKeyConstraintConnection {
12372
+ nodes: ForeignKeyConstraint[];
12373
+ edges: ForeignKeyConstraintEdge[];
12374
+ pageInfo: PageInfo;
12375
+ totalCount: number;
12376
+ }
12109
12377
  /** A connection to a list of `OrgInvite` values. */
12110
12378
  export interface OrgInviteConnection {
12111
12379
  nodes: OrgInvite[];
@@ -12141,13 +12409,6 @@ export interface FieldConnection {
12141
12409
  pageInfo: PageInfo;
12142
12410
  totalCount: number;
12143
12411
  }
12144
- /** A connection to a list of `MembershipsModule` values. */
12145
- export interface MembershipsModuleConnection {
12146
- nodes: MembershipsModule[];
12147
- edges: MembershipsModuleEdge[];
12148
- pageInfo: PageInfo;
12149
- totalCount: number;
12150
- }
12151
12412
  /** A connection to a list of `RelationProvision` values. */
12152
12413
  export interface RelationProvisionConnection {
12153
12414
  nodes: RelationProvision[];
@@ -12155,6 +12416,13 @@ export interface RelationProvisionConnection {
12155
12416
  pageInfo: PageInfo;
12156
12417
  totalCount: number;
12157
12418
  }
12419
+ /** A connection to a list of `MembershipsModule` values. */
12420
+ export interface MembershipsModuleConnection {
12421
+ nodes: MembershipsModule[];
12422
+ edges: MembershipsModuleEdge[];
12423
+ pageInfo: PageInfo;
12424
+ totalCount: number;
12425
+ }
12158
12426
  /** Root meta schema type */
12159
12427
  export interface MetaSchema {
12160
12428
  tables: MetaTable[];
@@ -12209,7 +12477,7 @@ export interface InitEmptyRepoPayload {
12209
12477
  }
12210
12478
  export interface ConstructBlueprintPayload {
12211
12479
  clientMutationId?: string | null;
12212
- result?: unknown | null;
12480
+ result?: string | null;
12213
12481
  }
12214
12482
  export interface ResetPasswordPayload {
12215
12483
  clientMutationId?: string | null;
@@ -12219,28 +12487,39 @@ export interface RemoveNodeAtPathPayload {
12219
12487
  clientMutationId?: string | null;
12220
12488
  result?: string | null;
12221
12489
  }
12222
- export interface SetDataAtPathPayload {
12490
+ export interface CopyTemplateToBlueprintPayload {
12223
12491
  clientMutationId?: string | null;
12224
12492
  result?: string | null;
12225
12493
  }
12226
- export interface SetPropsAndCommitPayload {
12494
+ export interface BootstrapUserPayload {
12495
+ clientMutationId?: string | null;
12496
+ result?: BootstrapUserRecord[] | null;
12497
+ }
12498
+ export interface SetFieldOrderPayload {
12499
+ clientMutationId?: string | null;
12500
+ }
12501
+ export interface ProvisionUniqueConstraintPayload {
12502
+ clientMutationId?: string | null;
12503
+ }
12504
+ export interface ProvisionFullTextSearchPayload {
12227
12505
  clientMutationId?: string | null;
12228
12506
  result?: string | null;
12229
12507
  }
12230
- export interface CopyTemplateToBlueprintPayload {
12508
+ export interface ProvisionIndexPayload {
12231
12509
  clientMutationId?: string | null;
12232
12510
  result?: string | null;
12233
12511
  }
12234
- export interface ProvisionDatabaseWithUserPayload {
12512
+ export interface SetDataAtPathPayload {
12235
12513
  clientMutationId?: string | null;
12236
- result?: ProvisionDatabaseWithUserRecord[] | null;
12514
+ result?: string | null;
12237
12515
  }
12238
- export interface BootstrapUserPayload {
12516
+ export interface SetPropsAndCommitPayload {
12239
12517
  clientMutationId?: string | null;
12240
- result?: BootstrapUserRecord[] | null;
12518
+ result?: string | null;
12241
12519
  }
12242
- export interface SetFieldOrderPayload {
12520
+ export interface ProvisionDatabaseWithUserPayload {
12243
12521
  clientMutationId?: string | null;
12522
+ result?: ProvisionDatabaseWithUserRecord[] | null;
12244
12523
  }
12245
12524
  export interface InsertNodeAtPathPayload {
12246
12525
  clientMutationId?: string | null;
@@ -12254,6 +12533,10 @@ export interface SetAndCommitPayload {
12254
12533
  clientMutationId?: string | null;
12255
12534
  result?: string | null;
12256
12535
  }
12536
+ export interface ProvisionRelationPayload {
12537
+ clientMutationId?: string | null;
12538
+ result?: ProvisionRelationRecord[] | null;
12539
+ }
12257
12540
  export interface ApplyRlsPayload {
12258
12541
  clientMutationId?: string | null;
12259
12542
  }
@@ -12281,6 +12564,10 @@ export interface OneTimeTokenPayload {
12281
12564
  clientMutationId?: string | null;
12282
12565
  result?: string | null;
12283
12566
  }
12567
+ export interface ProvisionTablePayload {
12568
+ clientMutationId?: string | null;
12569
+ result?: ProvisionTableRecord[] | null;
12570
+ }
12284
12571
  export interface SendVerificationEmailPayload {
12285
12572
  clientMutationId?: string | null;
12286
12573
  result?: boolean | null;
@@ -12314,12 +12601,6 @@ export interface CreateApiSchemaPayload {
12314
12601
  apiSchema?: ApiSchema | null;
12315
12602
  apiSchemaEdge?: ApiSchemaEdge | null;
12316
12603
  }
12317
- export interface CreateSiteThemePayload {
12318
- clientMutationId?: string | null;
12319
- /** The `SiteTheme` that was created by this mutation. */
12320
- siteTheme?: SiteTheme | null;
12321
- siteThemeEdge?: SiteThemeEdge | null;
12322
- }
12323
12604
  export interface CreateOrgMemberPayload {
12324
12605
  clientMutationId?: string | null;
12325
12606
  /** The `OrgMember` that was created by this mutation. */
@@ -12350,6 +12631,12 @@ export interface CreateSecretsModulePayload {
12350
12631
  secretsModule?: SecretsModule | null;
12351
12632
  secretsModuleEdge?: SecretsModuleEdge | null;
12352
12633
  }
12634
+ export interface CreateSiteThemePayload {
12635
+ clientMutationId?: string | null;
12636
+ /** The `SiteTheme` that was created by this mutation. */
12637
+ siteTheme?: SiteTheme | null;
12638
+ siteThemeEdge?: SiteThemeEdge | null;
12639
+ }
12353
12640
  export interface CreateStorePayload {
12354
12641
  clientMutationId?: string | null;
12355
12642
  /** The `Store` that was created by this mutation. */
@@ -12488,23 +12775,12 @@ export interface CreateCryptoAddressesModulePayload {
12488
12775
  cryptoAddressesModule?: CryptoAddressesModule | null;
12489
12776
  cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null;
12490
12777
  }
12491
- export interface CreateConnectedAccountPayload {
12492
- clientMutationId?: string | null;
12493
- /** The `ConnectedAccount` that was created by this mutation. */
12494
- connectedAccount?: ConnectedAccount | null;
12495
- connectedAccountEdge?: ConnectedAccountEdge | null;
12496
- }
12497
12778
  export interface CreatePhoneNumberPayload {
12498
12779
  clientMutationId?: string | null;
12499
12780
  /** The `PhoneNumber` that was created by this mutation. */
12500
12781
  phoneNumber?: PhoneNumber | null;
12501
12782
  phoneNumberEdge?: PhoneNumberEdge | null;
12502
12783
  }
12503
- export interface CreateMigrateFilePayload {
12504
- clientMutationId?: string | null;
12505
- /** The `MigrateFile` that was created by this mutation. */
12506
- migrateFile?: MigrateFile | null;
12507
- }
12508
12784
  export interface CreateAppLimitDefaultPayload {
12509
12785
  clientMutationId?: string | null;
12510
12786
  /** The `AppLimitDefault` that was created by this mutation. */
@@ -12517,6 +12793,17 @@ export interface CreateOrgLimitDefaultPayload {
12517
12793
  orgLimitDefault?: OrgLimitDefault | null;
12518
12794
  orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
12519
12795
  }
12796
+ export interface CreateConnectedAccountPayload {
12797
+ clientMutationId?: string | null;
12798
+ /** The `ConnectedAccount` that was created by this mutation. */
12799
+ connectedAccount?: ConnectedAccount | null;
12800
+ connectedAccountEdge?: ConnectedAccountEdge | null;
12801
+ }
12802
+ export interface CreateMigrateFilePayload {
12803
+ clientMutationId?: string | null;
12804
+ /** The `MigrateFile` that was created by this mutation. */
12805
+ migrateFile?: MigrateFile | null;
12806
+ }
12520
12807
  export interface CreateTableGrantPayload {
12521
12808
  clientMutationId?: string | null;
12522
12809
  /** The `TableGrant` that was created by this mutation. */
@@ -12607,6 +12894,12 @@ export interface CreateSiteMetadatumPayload {
12607
12894
  siteMetadatum?: SiteMetadatum | null;
12608
12895
  siteMetadatumEdge?: SiteMetadatumEdge | null;
12609
12896
  }
12897
+ export interface CreateBlueprintConstructionPayload {
12898
+ clientMutationId?: string | null;
12899
+ /** The `BlueprintConstruction` that was created by this mutation. */
12900
+ blueprintConstruction?: BlueprintConstruction | null;
12901
+ blueprintConstructionEdge?: BlueprintConstructionEdge | null;
12902
+ }
12610
12903
  export interface CreateRlsModulePayload {
12611
12904
  clientMutationId?: string | null;
12612
12905
  /** The `RlsModule` that was created by this mutation. */
@@ -12655,6 +12948,12 @@ export interface CreateDomainPayload {
12655
12948
  domain?: Domain | null;
12656
12949
  domainEdge?: DomainEdge | null;
12657
12950
  }
12951
+ export interface CreateBlueprintPayload {
12952
+ clientMutationId?: string | null;
12953
+ /** The `Blueprint` that was created by this mutation. */
12954
+ blueprint?: Blueprint | null;
12955
+ blueprintEdge?: BlueprintEdge | null;
12956
+ }
12658
12957
  export interface CreateOrgGrantPayload {
12659
12958
  clientMutationId?: string | null;
12660
12959
  /** The `OrgGrant` that was created by this mutation. */
@@ -12738,12 +13037,6 @@ export interface CreateViewPayload {
12738
13037
  view?: View | null;
12739
13038
  viewEdge?: ViewEdge | null;
12740
13039
  }
12741
- export interface CreateBlueprintPayload {
12742
- clientMutationId?: string | null;
12743
- /** The `Blueprint` that was created by this mutation. */
12744
- blueprint?: Blueprint | null;
12745
- blueprintEdge?: BlueprintEdge | null;
12746
- }
12747
13040
  export interface CreatePermissionsModulePayload {
12748
13041
  clientMutationId?: string | null;
12749
13042
  /** The `PermissionsModule` that was created by this mutation. */
@@ -12857,17 +13150,17 @@ export interface CreateHierarchyModulePayload {
12857
13150
  hierarchyModule?: HierarchyModule | null;
12858
13151
  hierarchyModuleEdge?: HierarchyModuleEdge | null;
12859
13152
  }
12860
- export interface CreateInvitePayload {
13153
+ export interface CreateStorageModulePayload {
12861
13154
  clientMutationId?: string | null;
12862
- /** The `Invite` that was created by this mutation. */
12863
- invite?: Invite | null;
12864
- inviteEdge?: InviteEdge | null;
13155
+ /** The `StorageModule` that was created by this mutation. */
13156
+ storageModule?: StorageModule | null;
13157
+ storageModuleEdge?: StorageModuleEdge | null;
12865
13158
  }
12866
- export interface CreateForeignKeyConstraintPayload {
12867
- clientMutationId?: string | null;
12868
- /** The `ForeignKeyConstraint` that was created by this mutation. */
12869
- foreignKeyConstraint?: ForeignKeyConstraint | null;
12870
- foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
13159
+ export interface CreateInvitePayload {
13160
+ clientMutationId?: string | null;
13161
+ /** The `Invite` that was created by this mutation. */
13162
+ invite?: Invite | null;
13163
+ inviteEdge?: InviteEdge | null;
12871
13164
  }
12872
13165
  export interface CreateSecureTableProvisionPayload {
12873
13166
  clientMutationId?: string | null;
@@ -12875,6 +13168,12 @@ export interface CreateSecureTableProvisionPayload {
12875
13168
  secureTableProvision?: SecureTableProvision | null;
12876
13169
  secureTableProvisionEdge?: SecureTableProvisionEdge | null;
12877
13170
  }
13171
+ export interface CreateForeignKeyConstraintPayload {
13172
+ clientMutationId?: string | null;
13173
+ /** The `ForeignKeyConstraint` that was created by this mutation. */
13174
+ foreignKeyConstraint?: ForeignKeyConstraint | null;
13175
+ foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
13176
+ }
12878
13177
  export interface CreateOrgInvitePayload {
12879
13178
  clientMutationId?: string | null;
12880
13179
  /** The `OrgInvite` that was created by this mutation. */
@@ -12905,18 +13204,18 @@ export interface CreateFieldPayload {
12905
13204
  field?: Field | null;
12906
13205
  fieldEdge?: FieldEdge | null;
12907
13206
  }
12908
- export interface CreateMembershipsModulePayload {
12909
- clientMutationId?: string | null;
12910
- /** The `MembershipsModule` that was created by this mutation. */
12911
- membershipsModule?: MembershipsModule | null;
12912
- membershipsModuleEdge?: MembershipsModuleEdge | null;
12913
- }
12914
13207
  export interface CreateRelationProvisionPayload {
12915
13208
  clientMutationId?: string | null;
12916
13209
  /** The `RelationProvision` that was created by this mutation. */
12917
13210
  relationProvision?: RelationProvision | null;
12918
13211
  relationProvisionEdge?: RelationProvisionEdge | null;
12919
13212
  }
13213
+ export interface CreateMembershipsModulePayload {
13214
+ clientMutationId?: string | null;
13215
+ /** The `MembershipsModule` that was created by this mutation. */
13216
+ membershipsModule?: MembershipsModule | null;
13217
+ membershipsModuleEdge?: MembershipsModuleEdge | null;
13218
+ }
12920
13219
  export interface UpdateDefaultIdsModulePayload {
12921
13220
  clientMutationId?: string | null;
12922
13221
  /** The `DefaultIdsModule` that was updated by this mutation. */
@@ -12935,12 +13234,6 @@ export interface UpdateApiSchemaPayload {
12935
13234
  apiSchema?: ApiSchema | null;
12936
13235
  apiSchemaEdge?: ApiSchemaEdge | null;
12937
13236
  }
12938
- export interface UpdateSiteThemePayload {
12939
- clientMutationId?: string | null;
12940
- /** The `SiteTheme` that was updated by this mutation. */
12941
- siteTheme?: SiteTheme | null;
12942
- siteThemeEdge?: SiteThemeEdge | null;
12943
- }
12944
13237
  export interface UpdateOrgMemberPayload {
12945
13238
  clientMutationId?: string | null;
12946
13239
  /** The `OrgMember` that was updated by this mutation. */
@@ -12971,6 +13264,12 @@ export interface UpdateSecretsModulePayload {
12971
13264
  secretsModule?: SecretsModule | null;
12972
13265
  secretsModuleEdge?: SecretsModuleEdge | null;
12973
13266
  }
13267
+ export interface UpdateSiteThemePayload {
13268
+ clientMutationId?: string | null;
13269
+ /** The `SiteTheme` that was updated by this mutation. */
13270
+ siteTheme?: SiteTheme | null;
13271
+ siteThemeEdge?: SiteThemeEdge | null;
13272
+ }
12974
13273
  export interface UpdateStorePayload {
12975
13274
  clientMutationId?: string | null;
12976
13275
  /** The `Store` that was updated by this mutation. */
@@ -13109,12 +13408,6 @@ export interface UpdateCryptoAddressesModulePayload {
13109
13408
  cryptoAddressesModule?: CryptoAddressesModule | null;
13110
13409
  cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null;
13111
13410
  }
13112
- export interface UpdateConnectedAccountPayload {
13113
- clientMutationId?: string | null;
13114
- /** The `ConnectedAccount` that was updated by this mutation. */
13115
- connectedAccount?: ConnectedAccount | null;
13116
- connectedAccountEdge?: ConnectedAccountEdge | null;
13117
- }
13118
13411
  export interface UpdatePhoneNumberPayload {
13119
13412
  clientMutationId?: string | null;
13120
13413
  /** The `PhoneNumber` that was updated by this mutation. */
@@ -13133,6 +13426,12 @@ export interface UpdateOrgLimitDefaultPayload {
13133
13426
  orgLimitDefault?: OrgLimitDefault | null;
13134
13427
  orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
13135
13428
  }
13429
+ export interface UpdateConnectedAccountPayload {
13430
+ clientMutationId?: string | null;
13431
+ /** The `ConnectedAccount` that was updated by this mutation. */
13432
+ connectedAccount?: ConnectedAccount | null;
13433
+ connectedAccountEdge?: ConnectedAccountEdge | null;
13434
+ }
13136
13435
  export interface UpdateTableGrantPayload {
13137
13436
  clientMutationId?: string | null;
13138
13437
  /** The `TableGrant` that was updated by this mutation. */
@@ -13223,6 +13522,12 @@ export interface UpdateSiteMetadatumPayload {
13223
13522
  siteMetadatum?: SiteMetadatum | null;
13224
13523
  siteMetadatumEdge?: SiteMetadatumEdge | null;
13225
13524
  }
13525
+ export interface UpdateBlueprintConstructionPayload {
13526
+ clientMutationId?: string | null;
13527
+ /** The `BlueprintConstruction` that was updated by this mutation. */
13528
+ blueprintConstruction?: BlueprintConstruction | null;
13529
+ blueprintConstructionEdge?: BlueprintConstructionEdge | null;
13530
+ }
13226
13531
  export interface UpdateRlsModulePayload {
13227
13532
  clientMutationId?: string | null;
13228
13533
  /** The `RlsModule` that was updated by this mutation. */
@@ -13271,6 +13576,12 @@ export interface UpdateDomainPayload {
13271
13576
  domain?: Domain | null;
13272
13577
  domainEdge?: DomainEdge | null;
13273
13578
  }
13579
+ export interface UpdateBlueprintPayload {
13580
+ clientMutationId?: string | null;
13581
+ /** The `Blueprint` that was updated by this mutation. */
13582
+ blueprint?: Blueprint | null;
13583
+ blueprintEdge?: BlueprintEdge | null;
13584
+ }
13274
13585
  export interface UpdateOrgGrantPayload {
13275
13586
  clientMutationId?: string | null;
13276
13587
  /** The `OrgGrant` that was updated by this mutation. */
@@ -13349,12 +13660,6 @@ export interface UpdateViewPayload {
13349
13660
  view?: View | null;
13350
13661
  viewEdge?: ViewEdge | null;
13351
13662
  }
13352
- export interface UpdateBlueprintPayload {
13353
- clientMutationId?: string | null;
13354
- /** The `Blueprint` that was updated by this mutation. */
13355
- blueprint?: Blueprint | null;
13356
- blueprintEdge?: BlueprintEdge | null;
13357
- }
13358
13663
  export interface UpdatePermissionsModulePayload {
13359
13664
  clientMutationId?: string | null;
13360
13665
  /** The `PermissionsModule` that was updated by this mutation. */
@@ -13463,24 +13768,30 @@ export interface UpdateHierarchyModulePayload {
13463
13768
  hierarchyModule?: HierarchyModule | null;
13464
13769
  hierarchyModuleEdge?: HierarchyModuleEdge | null;
13465
13770
  }
13771
+ export interface UpdateStorageModulePayload {
13772
+ clientMutationId?: string | null;
13773
+ /** The `StorageModule` that was updated by this mutation. */
13774
+ storageModule?: StorageModule | null;
13775
+ storageModuleEdge?: StorageModuleEdge | null;
13776
+ }
13466
13777
  export interface UpdateInvitePayload {
13467
13778
  clientMutationId?: string | null;
13468
13779
  /** The `Invite` that was updated by this mutation. */
13469
13780
  invite?: Invite | null;
13470
13781
  inviteEdge?: InviteEdge | null;
13471
13782
  }
13472
- export interface UpdateForeignKeyConstraintPayload {
13473
- clientMutationId?: string | null;
13474
- /** The `ForeignKeyConstraint` that was updated by this mutation. */
13475
- foreignKeyConstraint?: ForeignKeyConstraint | null;
13476
- foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
13477
- }
13478
13783
  export interface UpdateSecureTableProvisionPayload {
13479
13784
  clientMutationId?: string | null;
13480
13785
  /** The `SecureTableProvision` that was updated by this mutation. */
13481
13786
  secureTableProvision?: SecureTableProvision | null;
13482
13787
  secureTableProvisionEdge?: SecureTableProvisionEdge | null;
13483
13788
  }
13789
+ export interface UpdateForeignKeyConstraintPayload {
13790
+ clientMutationId?: string | null;
13791
+ /** The `ForeignKeyConstraint` that was updated by this mutation. */
13792
+ foreignKeyConstraint?: ForeignKeyConstraint | null;
13793
+ foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
13794
+ }
13484
13795
  export interface UpdateOrgInvitePayload {
13485
13796
  clientMutationId?: string | null;
13486
13797
  /** The `OrgInvite` that was updated by this mutation. */
@@ -13511,18 +13822,18 @@ export interface UpdateFieldPayload {
13511
13822
  field?: Field | null;
13512
13823
  fieldEdge?: FieldEdge | null;
13513
13824
  }
13514
- export interface UpdateMembershipsModulePayload {
13515
- clientMutationId?: string | null;
13516
- /** The `MembershipsModule` that was updated by this mutation. */
13517
- membershipsModule?: MembershipsModule | null;
13518
- membershipsModuleEdge?: MembershipsModuleEdge | null;
13519
- }
13520
13825
  export interface UpdateRelationProvisionPayload {
13521
13826
  clientMutationId?: string | null;
13522
13827
  /** The `RelationProvision` that was updated by this mutation. */
13523
13828
  relationProvision?: RelationProvision | null;
13524
13829
  relationProvisionEdge?: RelationProvisionEdge | null;
13525
13830
  }
13831
+ export interface UpdateMembershipsModulePayload {
13832
+ clientMutationId?: string | null;
13833
+ /** The `MembershipsModule` that was updated by this mutation. */
13834
+ membershipsModule?: MembershipsModule | null;
13835
+ membershipsModuleEdge?: MembershipsModuleEdge | null;
13836
+ }
13526
13837
  export interface DeleteDefaultIdsModulePayload {
13527
13838
  clientMutationId?: string | null;
13528
13839
  /** The `DefaultIdsModule` that was deleted by this mutation. */
@@ -13541,12 +13852,6 @@ export interface DeleteApiSchemaPayload {
13541
13852
  apiSchema?: ApiSchema | null;
13542
13853
  apiSchemaEdge?: ApiSchemaEdge | null;
13543
13854
  }
13544
- export interface DeleteSiteThemePayload {
13545
- clientMutationId?: string | null;
13546
- /** The `SiteTheme` that was deleted by this mutation. */
13547
- siteTheme?: SiteTheme | null;
13548
- siteThemeEdge?: SiteThemeEdge | null;
13549
- }
13550
13855
  export interface DeleteOrgMemberPayload {
13551
13856
  clientMutationId?: string | null;
13552
13857
  /** The `OrgMember` that was deleted by this mutation. */
@@ -13577,6 +13882,12 @@ export interface DeleteSecretsModulePayload {
13577
13882
  secretsModule?: SecretsModule | null;
13578
13883
  secretsModuleEdge?: SecretsModuleEdge | null;
13579
13884
  }
13885
+ export interface DeleteSiteThemePayload {
13886
+ clientMutationId?: string | null;
13887
+ /** The `SiteTheme` that was deleted by this mutation. */
13888
+ siteTheme?: SiteTheme | null;
13889
+ siteThemeEdge?: SiteThemeEdge | null;
13890
+ }
13580
13891
  export interface DeleteStorePayload {
13581
13892
  clientMutationId?: string | null;
13582
13893
  /** The `Store` that was deleted by this mutation. */
@@ -13715,12 +14026,6 @@ export interface DeleteCryptoAddressesModulePayload {
13715
14026
  cryptoAddressesModule?: CryptoAddressesModule | null;
13716
14027
  cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null;
13717
14028
  }
13718
- export interface DeleteConnectedAccountPayload {
13719
- clientMutationId?: string | null;
13720
- /** The `ConnectedAccount` that was deleted by this mutation. */
13721
- connectedAccount?: ConnectedAccount | null;
13722
- connectedAccountEdge?: ConnectedAccountEdge | null;
13723
- }
13724
14029
  export interface DeletePhoneNumberPayload {
13725
14030
  clientMutationId?: string | null;
13726
14031
  /** The `PhoneNumber` that was deleted by this mutation. */
@@ -13739,6 +14044,12 @@ export interface DeleteOrgLimitDefaultPayload {
13739
14044
  orgLimitDefault?: OrgLimitDefault | null;
13740
14045
  orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
13741
14046
  }
14047
+ export interface DeleteConnectedAccountPayload {
14048
+ clientMutationId?: string | null;
14049
+ /** The `ConnectedAccount` that was deleted by this mutation. */
14050
+ connectedAccount?: ConnectedAccount | null;
14051
+ connectedAccountEdge?: ConnectedAccountEdge | null;
14052
+ }
13742
14053
  export interface DeleteTableGrantPayload {
13743
14054
  clientMutationId?: string | null;
13744
14055
  /** The `TableGrant` that was deleted by this mutation. */
@@ -13829,6 +14140,12 @@ export interface DeleteSiteMetadatumPayload {
13829
14140
  siteMetadatum?: SiteMetadatum | null;
13830
14141
  siteMetadatumEdge?: SiteMetadatumEdge | null;
13831
14142
  }
14143
+ export interface DeleteBlueprintConstructionPayload {
14144
+ clientMutationId?: string | null;
14145
+ /** The `BlueprintConstruction` that was deleted by this mutation. */
14146
+ blueprintConstruction?: BlueprintConstruction | null;
14147
+ blueprintConstructionEdge?: BlueprintConstructionEdge | null;
14148
+ }
13832
14149
  export interface DeleteRlsModulePayload {
13833
14150
  clientMutationId?: string | null;
13834
14151
  /** The `RlsModule` that was deleted by this mutation. */
@@ -13877,6 +14194,12 @@ export interface DeleteDomainPayload {
13877
14194
  domain?: Domain | null;
13878
14195
  domainEdge?: DomainEdge | null;
13879
14196
  }
14197
+ export interface DeleteBlueprintPayload {
14198
+ clientMutationId?: string | null;
14199
+ /** The `Blueprint` that was deleted by this mutation. */
14200
+ blueprint?: Blueprint | null;
14201
+ blueprintEdge?: BlueprintEdge | null;
14202
+ }
13880
14203
  export interface DeleteOrgGrantPayload {
13881
14204
  clientMutationId?: string | null;
13882
14205
  /** The `OrgGrant` that was deleted by this mutation. */
@@ -13955,12 +14278,6 @@ export interface DeleteViewPayload {
13955
14278
  view?: View | null;
13956
14279
  viewEdge?: ViewEdge | null;
13957
14280
  }
13958
- export interface DeleteBlueprintPayload {
13959
- clientMutationId?: string | null;
13960
- /** The `Blueprint` that was deleted by this mutation. */
13961
- blueprint?: Blueprint | null;
13962
- blueprintEdge?: BlueprintEdge | null;
13963
- }
13964
14281
  export interface DeletePermissionsModulePayload {
13965
14282
  clientMutationId?: string | null;
13966
14283
  /** The `PermissionsModule` that was deleted by this mutation. */
@@ -14069,24 +14386,30 @@ export interface DeleteHierarchyModulePayload {
14069
14386
  hierarchyModule?: HierarchyModule | null;
14070
14387
  hierarchyModuleEdge?: HierarchyModuleEdge | null;
14071
14388
  }
14389
+ export interface DeleteStorageModulePayload {
14390
+ clientMutationId?: string | null;
14391
+ /** The `StorageModule` that was deleted by this mutation. */
14392
+ storageModule?: StorageModule | null;
14393
+ storageModuleEdge?: StorageModuleEdge | null;
14394
+ }
14072
14395
  export interface DeleteInvitePayload {
14073
14396
  clientMutationId?: string | null;
14074
14397
  /** The `Invite` that was deleted by this mutation. */
14075
14398
  invite?: Invite | null;
14076
14399
  inviteEdge?: InviteEdge | null;
14077
14400
  }
14078
- export interface DeleteForeignKeyConstraintPayload {
14079
- clientMutationId?: string | null;
14080
- /** The `ForeignKeyConstraint` that was deleted by this mutation. */
14081
- foreignKeyConstraint?: ForeignKeyConstraint | null;
14082
- foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
14083
- }
14084
14401
  export interface DeleteSecureTableProvisionPayload {
14085
14402
  clientMutationId?: string | null;
14086
14403
  /** The `SecureTableProvision` that was deleted by this mutation. */
14087
14404
  secureTableProvision?: SecureTableProvision | null;
14088
14405
  secureTableProvisionEdge?: SecureTableProvisionEdge | null;
14089
14406
  }
14407
+ export interface DeleteForeignKeyConstraintPayload {
14408
+ clientMutationId?: string | null;
14409
+ /** The `ForeignKeyConstraint` that was deleted by this mutation. */
14410
+ foreignKeyConstraint?: ForeignKeyConstraint | null;
14411
+ foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
14412
+ }
14090
14413
  export interface DeleteOrgInvitePayload {
14091
14414
  clientMutationId?: string | null;
14092
14415
  /** The `OrgInvite` that was deleted by this mutation. */
@@ -14117,23 +14440,23 @@ export interface DeleteFieldPayload {
14117
14440
  field?: Field | null;
14118
14441
  fieldEdge?: FieldEdge | null;
14119
14442
  }
14120
- export interface DeleteMembershipsModulePayload {
14121
- clientMutationId?: string | null;
14122
- /** The `MembershipsModule` that was deleted by this mutation. */
14123
- membershipsModule?: MembershipsModule | null;
14124
- membershipsModuleEdge?: MembershipsModuleEdge | null;
14125
- }
14126
14443
  export interface DeleteRelationProvisionPayload {
14127
14444
  clientMutationId?: string | null;
14128
14445
  /** The `RelationProvision` that was deleted by this mutation. */
14129
14446
  relationProvision?: RelationProvision | null;
14130
14447
  relationProvisionEdge?: RelationProvisionEdge | null;
14131
14448
  }
14132
- /** A `GetAllRecord` edge in the connection. */
14133
- export interface GetAllEdge {
14449
+ export interface DeleteMembershipsModulePayload {
14450
+ clientMutationId?: string | null;
14451
+ /** The `MembershipsModule` that was deleted by this mutation. */
14452
+ membershipsModule?: MembershipsModule | null;
14453
+ membershipsModuleEdge?: MembershipsModuleEdge | null;
14454
+ }
14455
+ /** A `OrgGetManagersRecord` edge in the connection. */
14456
+ export interface OrgGetManagersEdge {
14134
14457
  cursor?: string | null;
14135
- /** The `GetAllRecord` at the end of the edge. */
14136
- node?: GetAllRecord | null;
14458
+ /** The `OrgGetManagersRecord` at the end of the edge. */
14459
+ node?: OrgGetManagersRecord | null;
14137
14460
  }
14138
14461
  /** Information about pagination in a connection. */
14139
14462
  export interface PageInfo {
@@ -14146,18 +14469,18 @@ export interface PageInfo {
14146
14469
  /** When paginating forwards, the cursor to continue. */
14147
14470
  endCursor?: string | null;
14148
14471
  }
14149
- /** A `OrgGetManagersRecord` edge in the connection. */
14150
- export interface OrgGetManagersEdge {
14151
- cursor?: string | null;
14152
- /** The `OrgGetManagersRecord` at the end of the edge. */
14153
- node?: OrgGetManagersRecord | null;
14154
- }
14155
14472
  /** A `OrgGetSubordinatesRecord` edge in the connection. */
14156
14473
  export interface OrgGetSubordinatesEdge {
14157
14474
  cursor?: string | null;
14158
14475
  /** The `OrgGetSubordinatesRecord` at the end of the edge. */
14159
14476
  node?: OrgGetSubordinatesRecord | null;
14160
14477
  }
14478
+ /** A `GetAllRecord` edge in the connection. */
14479
+ export interface GetAllEdge {
14480
+ cursor?: string | null;
14481
+ /** The `GetAllRecord` at the end of the edge. */
14482
+ node?: GetAllRecord | null;
14483
+ }
14161
14484
  /** A `Object` edge in the connection. */
14162
14485
  export interface ObjectEdge {
14163
14486
  cursor?: string | null;
@@ -14200,12 +14523,6 @@ export interface ApiSchemaEdge {
14200
14523
  /** The `ApiSchema` at the end of the edge. */
14201
14524
  node?: ApiSchema | null;
14202
14525
  }
14203
- /** A `SiteTheme` edge in the connection. */
14204
- export interface SiteThemeEdge {
14205
- cursor?: string | null;
14206
- /** The `SiteTheme` at the end of the edge. */
14207
- node?: SiteTheme | null;
14208
- }
14209
14526
  /** A `OrgMember` edge in the connection. */
14210
14527
  export interface OrgMemberEdge {
14211
14528
  cursor?: string | null;
@@ -14236,6 +14553,12 @@ export interface SecretsModuleEdge {
14236
14553
  /** The `SecretsModule` at the end of the edge. */
14237
14554
  node?: SecretsModule | null;
14238
14555
  }
14556
+ /** A `SiteTheme` edge in the connection. */
14557
+ export interface SiteThemeEdge {
14558
+ cursor?: string | null;
14559
+ /** The `SiteTheme` at the end of the edge. */
14560
+ node?: SiteTheme | null;
14561
+ }
14239
14562
  /** A `Store` edge in the connection. */
14240
14563
  export interface StoreEdge {
14241
14564
  cursor?: string | null;
@@ -14374,24 +14697,12 @@ export interface CryptoAddressesModuleEdge {
14374
14697
  /** The `CryptoAddressesModule` at the end of the edge. */
14375
14698
  node?: CryptoAddressesModule | null;
14376
14699
  }
14377
- /** A `ConnectedAccount` edge in the connection. */
14378
- export interface ConnectedAccountEdge {
14379
- cursor?: string | null;
14380
- /** The `ConnectedAccount` at the end of the edge. */
14381
- node?: ConnectedAccount | null;
14382
- }
14383
14700
  /** A `PhoneNumber` edge in the connection. */
14384
14701
  export interface PhoneNumberEdge {
14385
14702
  cursor?: string | null;
14386
14703
  /** The `PhoneNumber` at the end of the edge. */
14387
14704
  node?: PhoneNumber | null;
14388
14705
  }
14389
- /** A `MigrateFile` edge in the connection. */
14390
- export interface MigrateFileEdge {
14391
- cursor?: string | null;
14392
- /** The `MigrateFile` at the end of the edge. */
14393
- node?: MigrateFile | null;
14394
- }
14395
14706
  /** A `AppLimitDefault` edge in the connection. */
14396
14707
  export interface AppLimitDefaultEdge {
14397
14708
  cursor?: string | null;
@@ -14404,6 +14715,18 @@ export interface OrgLimitDefaultEdge {
14404
14715
  /** The `OrgLimitDefault` at the end of the edge. */
14405
14716
  node?: OrgLimitDefault | null;
14406
14717
  }
14718
+ /** A `ConnectedAccount` edge in the connection. */
14719
+ export interface ConnectedAccountEdge {
14720
+ cursor?: string | null;
14721
+ /** The `ConnectedAccount` at the end of the edge. */
14722
+ node?: ConnectedAccount | null;
14723
+ }
14724
+ /** A `MigrateFile` edge in the connection. */
14725
+ export interface MigrateFileEdge {
14726
+ cursor?: string | null;
14727
+ /** The `MigrateFile` at the end of the edge. */
14728
+ node?: MigrateFile | null;
14729
+ }
14407
14730
  /** A `TableGrant` edge in the connection. */
14408
14731
  export interface TableGrantEdge {
14409
14732
  cursor?: string | null;
@@ -14476,6 +14799,12 @@ export interface SiteMetadatumEdge {
14476
14799
  /** The `SiteMetadatum` at the end of the edge. */
14477
14800
  node?: SiteMetadatum | null;
14478
14801
  }
14802
+ /** A `BlueprintConstruction` edge in the connection. */
14803
+ export interface BlueprintConstructionEdge {
14804
+ cursor?: string | null;
14805
+ /** The `BlueprintConstruction` at the end of the edge. */
14806
+ node?: BlueprintConstruction | null;
14807
+ }
14479
14808
  /** A `RlsModule` edge in the connection. */
14480
14809
  export interface RlsModuleEdge {
14481
14810
  cursor?: string | null;
@@ -14524,6 +14853,12 @@ export interface DomainEdge {
14524
14853
  /** The `Domain` at the end of the edge. */
14525
14854
  node?: Domain | null;
14526
14855
  }
14856
+ /** A `Blueprint` edge in the connection. */
14857
+ export interface BlueprintEdge {
14858
+ cursor?: string | null;
14859
+ /** The `Blueprint` at the end of the edge. */
14860
+ node?: Blueprint | null;
14861
+ }
14527
14862
  /** A `OrgGrant` edge in the connection. */
14528
14863
  export interface OrgGrantEdge {
14529
14864
  cursor?: string | null;
@@ -14602,12 +14937,6 @@ export interface ViewEdge {
14602
14937
  /** The `View` at the end of the edge. */
14603
14938
  node?: View | null;
14604
14939
  }
14605
- /** A `Blueprint` edge in the connection. */
14606
- export interface BlueprintEdge {
14607
- cursor?: string | null;
14608
- /** The `Blueprint` at the end of the edge. */
14609
- node?: Blueprint | null;
14610
- }
14611
14940
  /** A `PermissionsModule` edge in the connection. */
14612
14941
  export interface PermissionsModuleEdge {
14613
14942
  cursor?: string | null;
@@ -14722,24 +15051,30 @@ export interface HierarchyModuleEdge {
14722
15051
  /** The `HierarchyModule` at the end of the edge. */
14723
15052
  node?: HierarchyModule | null;
14724
15053
  }
15054
+ /** A `StorageModule` edge in the connection. */
15055
+ export interface StorageModuleEdge {
15056
+ cursor?: string | null;
15057
+ /** The `StorageModule` at the end of the edge. */
15058
+ node?: StorageModule | null;
15059
+ }
14725
15060
  /** A `Invite` edge in the connection. */
14726
15061
  export interface InviteEdge {
14727
15062
  cursor?: string | null;
14728
15063
  /** The `Invite` at the end of the edge. */
14729
15064
  node?: Invite | null;
14730
15065
  }
14731
- /** A `ForeignKeyConstraint` edge in the connection. */
14732
- export interface ForeignKeyConstraintEdge {
14733
- cursor?: string | null;
14734
- /** The `ForeignKeyConstraint` at the end of the edge. */
14735
- node?: ForeignKeyConstraint | null;
14736
- }
14737
15066
  /** A `SecureTableProvision` edge in the connection. */
14738
15067
  export interface SecureTableProvisionEdge {
14739
15068
  cursor?: string | null;
14740
15069
  /** The `SecureTableProvision` at the end of the edge. */
14741
15070
  node?: SecureTableProvision | null;
14742
15071
  }
15072
+ /** A `ForeignKeyConstraint` edge in the connection. */
15073
+ export interface ForeignKeyConstraintEdge {
15074
+ cursor?: string | null;
15075
+ /** The `ForeignKeyConstraint` at the end of the edge. */
15076
+ node?: ForeignKeyConstraint | null;
15077
+ }
14743
15078
  /** A `OrgInvite` edge in the connection. */
14744
15079
  export interface OrgInviteEdge {
14745
15080
  cursor?: string | null;
@@ -14770,18 +15105,18 @@ export interface FieldEdge {
14770
15105
  /** The `Field` at the end of the edge. */
14771
15106
  node?: Field | null;
14772
15107
  }
14773
- /** A `MembershipsModule` edge in the connection. */
14774
- export interface MembershipsModuleEdge {
14775
- cursor?: string | null;
14776
- /** The `MembershipsModule` at the end of the edge. */
14777
- node?: MembershipsModule | null;
14778
- }
14779
15108
  /** A `RelationProvision` edge in the connection. */
14780
15109
  export interface RelationProvisionEdge {
14781
15110
  cursor?: string | null;
14782
15111
  /** The `RelationProvision` at the end of the edge. */
14783
15112
  node?: RelationProvision | null;
14784
15113
  }
15114
+ /** A `MembershipsModule` edge in the connection. */
15115
+ export interface MembershipsModuleEdge {
15116
+ cursor?: string | null;
15117
+ /** The `MembershipsModule` at the end of the edge. */
15118
+ node?: MembershipsModule | null;
15119
+ }
14785
15120
  /** Information about a database table */
14786
15121
  export interface MetaTable {
14787
15122
  name: string;
@@ -14796,10 +15131,6 @@ export interface MetaTable {
14796
15131
  inflection: MetaInflection;
14797
15132
  query: MetaQuery;
14798
15133
  }
14799
- export interface ProvisionDatabaseWithUserRecord {
14800
- outDatabaseId?: string | null;
14801
- outApiKey?: string | null;
14802
- }
14803
15134
  export interface BootstrapUserRecord {
14804
15135
  outUserId?: string | null;
14805
15136
  outEmail?: string | null;
@@ -14810,6 +15141,16 @@ export interface BootstrapUserRecord {
14810
15141
  outIsSudo?: boolean | null;
14811
15142
  outApiKey?: string | null;
14812
15143
  }
15144
+ export interface ProvisionDatabaseWithUserRecord {
15145
+ outDatabaseId?: string | null;
15146
+ outApiKey?: string | null;
15147
+ }
15148
+ export interface ProvisionRelationRecord {
15149
+ outFieldId?: string | null;
15150
+ outJunctionTableId?: string | null;
15151
+ outSourceFieldId?: string | null;
15152
+ outTargetFieldId?: string | null;
15153
+ }
14813
15154
  export interface SignInOneTimeTokenRecord {
14814
15155
  id?: string | null;
14815
15156
  userId?: string | null;
@@ -14839,6 +15180,10 @@ export interface SignUpRecord {
14839
15180
  isVerified?: boolean | null;
14840
15181
  totpEnabled?: boolean | null;
14841
15182
  }
15183
+ export interface ProvisionTableRecord {
15184
+ outTableId?: string | null;
15185
+ outFields?: string[] | null;
15186
+ }
14842
15187
  /** Tracks user authentication sessions with expiration, fingerprinting, and step-up verification state */
14843
15188
  export interface Session {
14844
15189
  id: string;