@constructive-io/react 0.19.10 → 0.20.1

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 (45) hide show
  1. package/auth/orm/input-types.d.ts +1 -0
  2. package/auth/schema-types.d.ts +1 -0
  3. package/esm/auth/orm/input-types.d.ts +1 -0
  4. package/esm/auth/schema-types.d.ts +1 -0
  5. package/esm/public/hooks/index.d.ts +1 -1
  6. package/esm/public/hooks/index.js +1 -1
  7. package/esm/public/hooks/invalidation.d.ts +6 -6
  8. package/esm/public/hooks/invalidation.js +17 -17
  9. package/esm/public/hooks/mutation-keys.d.ts +12 -12
  10. package/esm/public/hooks/mutation-keys.js +7 -7
  11. package/esm/public/hooks/mutations/index.d.ts +3 -3
  12. package/esm/public/hooks/mutations/index.js +3 -3
  13. package/esm/public/hooks/queries/index.d.ts +2 -2
  14. package/esm/public/hooks/queries/index.js +2 -2
  15. package/esm/public/hooks/query-keys.d.ts +14 -14
  16. package/esm/public/hooks/query-keys.js +8 -8
  17. package/esm/public/orm/index.d.ts +2 -2
  18. package/esm/public/orm/index.js +2 -2
  19. package/esm/public/orm/input-types.d.ts +214 -197
  20. package/esm/public/orm/input-types.js +0 -1
  21. package/esm/public/orm/models/index.d.ts +1 -1
  22. package/esm/public/orm/models/index.js +1 -1
  23. package/esm/public/schema-types.d.ts +156 -146
  24. package/esm/public/types.d.ts +19 -13
  25. package/package.json +6 -6
  26. package/public/hooks/index.d.ts +1 -1
  27. package/public/hooks/index.js +1 -1
  28. package/public/hooks/invalidation.d.ts +6 -6
  29. package/public/hooks/invalidation.js +16 -16
  30. package/public/hooks/mutation-keys.d.ts +12 -12
  31. package/public/hooks/mutation-keys.js +8 -8
  32. package/public/hooks/mutations/index.d.ts +3 -3
  33. package/public/hooks/mutations/index.js +3 -3
  34. package/public/hooks/queries/index.d.ts +2 -2
  35. package/public/hooks/queries/index.js +2 -2
  36. package/public/hooks/query-keys.d.ts +14 -14
  37. package/public/hooks/query-keys.js +9 -9
  38. package/public/orm/index.d.ts +2 -2
  39. package/public/orm/index.js +2 -2
  40. package/public/orm/input-types.d.ts +214 -197
  41. package/public/orm/input-types.js +0 -1
  42. package/public/orm/models/index.d.ts +1 -1
  43. package/public/orm/models/index.js +3 -3
  44. package/public/schema-types.d.ts +156 -146
  45. package/public/types.d.ts +19 -13
@@ -117,7 +117,6 @@ exports.connectionFieldsMap = {
117
117
  Field: {
118
118
  spatialRelations: 'SpatialRelation',
119
119
  spatialRelationsByRefFieldId: 'SpatialRelation',
120
- partitionsByPartitionKeyId: 'Partition',
121
120
  },
122
121
  View: {
123
122
  viewTables: 'ViewTable',
@@ -16,7 +16,6 @@ export { TableModel } from './table';
16
16
  export { CheckConstraintModel } from './checkConstraint';
17
17
  export { FieldModel } from './field';
18
18
  export { SpatialRelationModel } from './spatialRelation';
19
- export { PartitionModel } from './partition';
20
19
  export { ForeignKeyConstraintModel } from './foreignKeyConstraint';
21
20
  export { FullTextSearchModel } from './fullTextSearch';
22
21
  export { IndexModel } from './indexModel';
@@ -48,6 +47,7 @@ export { SiteThemeModel } from './siteTheme';
48
47
  export { CorsSettingModel } from './corsSetting';
49
48
  export { TriggerFunctionModel } from './triggerFunction';
50
49
  export { DatabaseTransferModel } from './databaseTransfer';
50
+ export { PartitionModel } from './partition';
51
51
  export { ApiModel } from './api';
52
52
  export { SiteModel } from './site';
53
53
  export { AppModel } from './app';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConnectedAccountsModuleModel = exports.ApiSettingModel = exports.AppModel = exports.SiteModel = exports.ApiModel = exports.DatabaseTransferModel = exports.TriggerFunctionModel = exports.CorsSettingModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.DomainModel = exports.ApiModuleModel = exports.ApiSchemaModel = exports.FunctionModel = exports.EnumModel = exports.DefaultPrivilegeModel = exports.SchemaGrantModel = exports.RealtimeModuleModel = exports.IdentityProvidersModuleModel = exports.SessionSecretsModuleModel = exports.RelationProvisionModel = exports.SecureTableProvisionModel = exports.EmbeddingChunkModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewTableModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerModel = exports.TableGrantModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.IndexModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.PartitionModel = exports.SpatialRelationModel = exports.FieldModel = exports.CheckConstraintModel = exports.TableModel = exports.SchemaModel = exports.DatabaseModel = exports.AppLevelRequirementModel = exports.ObjectModel = exports.OrgPermissionModel = exports.AppPermissionModel = exports.GetAllRecordModel = exports.OrgGetSubordinatesRecordModel = exports.OrgGetManagersRecordModel = void 0;
3
+ exports.ConnectedAccountsModuleModel = exports.ApiSettingModel = exports.AppModel = exports.SiteModel = exports.ApiModel = exports.PartitionModel = exports.DatabaseTransferModel = exports.TriggerFunctionModel = exports.CorsSettingModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.DomainModel = exports.ApiModuleModel = exports.ApiSchemaModel = exports.FunctionModel = exports.EnumModel = exports.DefaultPrivilegeModel = exports.SchemaGrantModel = exports.RealtimeModuleModel = exports.IdentityProvidersModuleModel = exports.SessionSecretsModuleModel = exports.RelationProvisionModel = exports.SecureTableProvisionModel = exports.EmbeddingChunkModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewTableModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerModel = exports.TableGrantModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.IndexModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.SpatialRelationModel = exports.FieldModel = exports.CheckConstraintModel = exports.TableModel = exports.SchemaModel = exports.DatabaseModel = exports.AppLevelRequirementModel = exports.ObjectModel = exports.OrgPermissionModel = exports.AppPermissionModel = exports.GetAllRecordModel = exports.OrgGetSubordinatesRecordModel = exports.OrgGetManagersRecordModel = void 0;
4
4
  exports.EmailModel = exports.AppLevelModel = exports.AppAchievementModel = exports.AppStepModel = exports.OrgLimitAggregateModel = exports.OrgLimitCreditModel = exports.OrgLimitModel = exports.AppLimitCreditRedemptionModel = exports.AppLimitCreditCodeItemModel = exports.AppLimitCreditModel = exports.AppLimitModel = exports.OrgPermissionDefaultModel = exports.OrgChartEdgeGrantModel = exports.OrgChartEdgeModel = exports.OrgGrantModel = exports.OrgMemberProfileModel = exports.OrgOwnerGrantModel = exports.OrgAdminGrantModel = exports.OrgMemberModel = exports.OrgMembershipModel = exports.AppGrantModel = exports.AppOwnerGrantModel = exports.AppAdminGrantModel = exports.DatabaseProvisionModuleModel = exports.NotificationsModuleModel = exports.WebauthnAuthModuleModel = exports.WebauthnCredentialsModuleModel = exports.EntityTypeProvisionModel = exports.StorageModuleModel = exports.BlueprintConstructionModel = exports.BlueprintTemplateModel = exports.BlueprintModel = exports.UsersModuleModel = exports.UserAuthModuleModel = exports.SessionsModuleModel = exports.SecretsModuleModel = exports.ProfilesModuleModel = exports.PhoneNumbersModuleModel = exports.PermissionsModuleModel = exports.MembershipsModuleModel = exports.MembershipTypesModuleModel = exports.LimitsModuleModel = exports.LevelsModuleModel = exports.InvitesModuleModel = exports.EncryptedSecretsModuleModel = exports.EmailsModuleModel = exports.DenormalizedTableFieldModel = exports.DefaultIdsModuleModel = exports.CryptoAuthModuleModel = exports.CryptoAddressesModuleModel = void 0;
5
5
  exports.HierarchyModuleModel = exports.BillingProviderModuleModel = exports.AppMembershipModel = exports.WebauthnSettingModel = exports.OrgMembershipSettingModel = exports.UserModel = exports.AstMigrationModel = exports.BillingModuleModel = exports.DatabaseSettingModel = exports.SqlActionModel = exports.PlansModuleModel = exports.RlsModuleModel = exports.OrgLimitEventModel = exports.AppLimitEventModel = exports.RlsSettingModel = exports.OrgMembershipDefaultModel = exports.AppMembershipDefaultModel = exports.UsageSnapshotModel = exports.RateLimitsModuleModel = exports.PubkeySettingModel = exports.CommitModel = exports.UserConnectedAccountModel = exports.OrgLimitDefaultModel = exports.AppLimitDefaultModel = exports.NodeTypeRegistryModel = exports.DevicesModuleModel = exports.MigrateFileModel = exports.MembershipTypeModel = exports.OrgLimitCapModel = exports.AppLimitCapModel = exports.OrgLimitCapsDefaultModel = exports.AppLimitCapsDefaultModel = exports.AppLimitCreditCodeModel = exports.AppPermissionDefaultModel = exports.StoreModel = exports.RefModel = exports.IdentityProviderModel = exports.RoleTypeModel = exports.AgentTaskModel = exports.AgentMessageModel = exports.AgentThreadModel = exports.AuditLogModel = exports.OrgClaimedInviteModel = exports.OrgInviteModel = exports.AppClaimedInviteModel = exports.AppInviteModel = exports.WebauthnCredentialModel = exports.CryptoAddressModel = exports.PhoneNumberModel = void 0;
6
6
  /**
@@ -34,8 +34,6 @@ var field_1 = require("./field");
34
34
  Object.defineProperty(exports, "FieldModel", { enumerable: true, get: function () { return field_1.FieldModel; } });
35
35
  var spatialRelation_1 = require("./spatialRelation");
36
36
  Object.defineProperty(exports, "SpatialRelationModel", { enumerable: true, get: function () { return spatialRelation_1.SpatialRelationModel; } });
37
- var partition_1 = require("./partition");
38
- Object.defineProperty(exports, "PartitionModel", { enumerable: true, get: function () { return partition_1.PartitionModel; } });
39
37
  var foreignKeyConstraint_1 = require("./foreignKeyConstraint");
40
38
  Object.defineProperty(exports, "ForeignKeyConstraintModel", { enumerable: true, get: function () { return foreignKeyConstraint_1.ForeignKeyConstraintModel; } });
41
39
  var fullTextSearch_1 = require("./fullTextSearch");
@@ -98,6 +96,8 @@ var triggerFunction_1 = require("./triggerFunction");
98
96
  Object.defineProperty(exports, "TriggerFunctionModel", { enumerable: true, get: function () { return triggerFunction_1.TriggerFunctionModel; } });
99
97
  var databaseTransfer_1 = require("./databaseTransfer");
100
98
  Object.defineProperty(exports, "DatabaseTransferModel", { enumerable: true, get: function () { return databaseTransfer_1.DatabaseTransferModel; } });
99
+ var partition_1 = require("./partition");
100
+ Object.defineProperty(exports, "PartitionModel", { enumerable: true, get: function () { return partition_1.PartitionModel; } });
101
101
  var api_1 = require("./api");
102
102
  Object.defineProperty(exports, "ApiModel", { enumerable: true, get: function () { return api_1.ApiModel; } });
103
103
  var site_1 = require("./site");
@@ -17,8 +17,6 @@ export type ObjectCategory = 'CORE' | 'MODULE' | 'APP';
17
17
  export type CheckConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'EXPR_ASC' | 'EXPR_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
18
18
  /** Methods to use when ordering `SpatialRelation`. */
19
19
  export type SpatialRelationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'FIELD_ID_ASC' | 'FIELD_ID_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'REF_FIELD_ID_ASC' | 'REF_FIELD_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'OPERATOR_ASC' | 'OPERATOR_DESC' | 'PARAM_NAME_ASC' | 'PARAM_NAME_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
20
- /** Methods to use when ordering `Partition`. */
21
- export type PartitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'STRATEGY_ASC' | 'STRATEGY_DESC' | 'PARTITION_KEY_ID_ASC' | 'PARTITION_KEY_ID_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'LOOKAHEAD_ASC' | 'LOOKAHEAD_DESC' | 'NAMING_PATTERN_ASC' | 'NAMING_PATTERN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
22
20
  /** Methods to use when ordering `Field`. */
23
21
  export type FieldOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'DEFAULT_VALUE_ASC' | 'DEFAULT_VALUE_DESC' | 'DEFAULT_VALUE_AST_ASC' | 'DEFAULT_VALUE_AST_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_ORDER_ASC' | 'FIELD_ORDER_DESC' | 'REGEXP_ASC' | 'REGEXP_DESC' | 'CHK_ASC' | 'CHK_DESC' | 'CHK_EXPR_ASC' | 'CHK_EXPR_DESC' | 'MIN_ASC' | 'MIN_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
24
22
  /** Methods to use when ordering `ForeignKeyConstraint`. */
@@ -58,7 +56,7 @@ export type IdentityProvidersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PR
58
56
  /** Methods to use when ordering `RealtimeModule`. */
59
57
  export type RealtimeModuleOrderBy = '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' | 'SUBSCRIPTIONS_SCHEMA_ID_ASC' | 'SUBSCRIPTIONS_SCHEMA_ID_DESC' | 'CHANGE_LOG_TABLE_ID_ASC' | 'CHANGE_LOG_TABLE_ID_DESC' | 'LISTENER_NODE_TABLE_ID_ASC' | 'LISTENER_NODE_TABLE_ID_DESC' | 'SOURCE_REGISTRY_TABLE_ID_ASC' | 'SOURCE_REGISTRY_TABLE_ID_DESC' | 'RETENTION_HOURS_ASC' | 'RETENTION_HOURS_DESC' | 'LOOKAHEAD_HOURS_ASC' | 'LOOKAHEAD_HOURS_DESC' | 'PARTITION_INTERVAL_ASC' | 'PARTITION_INTERVAL_DESC' | 'NOTIFY_CHANNEL_ASC' | 'NOTIFY_CHANNEL_DESC';
60
58
  /** Methods to use when ordering `Table`. */
61
- 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';
59
+ 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' | 'PARTITIONED_ASC' | 'PARTITIONED_DESC' | 'PARTITION_STRATEGY_ASC' | 'PARTITION_STRATEGY_DESC' | 'PARTITION_KEY_NAMES_ASC' | 'PARTITION_KEY_NAMES_DESC' | 'PARTITION_KEY_TYPES_ASC' | 'PARTITION_KEY_TYPES_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
62
60
  /** Methods to use when ordering `SchemaGrant`. */
63
61
  export type SchemaGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
64
62
  /** Methods to use when ordering `DefaultPrivilege`. */
@@ -87,6 +85,8 @@ export type SchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' |
87
85
  export type TriggerFunctionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CODE_ASC' | 'CODE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
88
86
  /** Methods to use when ordering `DatabaseTransfer`. */
89
87
  export type DatabaseTransferOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TARGET_OWNER_ID_ASC' | 'TARGET_OWNER_ID_DESC' | 'SOURCE_APPROVED_ASC' | 'SOURCE_APPROVED_DESC' | 'TARGET_APPROVED_ASC' | 'TARGET_APPROVED_DESC' | 'SOURCE_APPROVED_AT_ASC' | 'SOURCE_APPROVED_AT_DESC' | 'TARGET_APPROVED_AT_ASC' | 'TARGET_APPROVED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'INITIATED_BY_ASC' | 'INITIATED_BY_DESC' | 'NOTES_ASC' | 'NOTES_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
88
+ /** Methods to use when ordering `Partition`. */
89
+ export type PartitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'STRATEGY_ASC' | 'STRATEGY_DESC' | 'PARTITION_KEY_IDS_ASC' | 'PARTITION_KEY_IDS_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'LOOKAHEAD_ASC' | 'LOOKAHEAD_DESC' | 'NAMING_PATTERN_ASC' | 'NAMING_PATTERN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
90
90
  /** Methods to use when ordering `Api`. */
91
91
  export type ApiOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DBNAME_ASC' | 'DBNAME_DESC' | 'ROLE_NAME_ASC' | 'ROLE_NAME_DESC' | 'ANON_ROLE_ASC' | 'ANON_ROLE_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC';
92
92
  /** Methods to use when ordering `Site`. */
@@ -140,7 +140,7 @@ export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
140
140
  /** Methods to use when ordering `BlueprintConstruction`. */
141
141
  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';
142
142
  /** Methods to use when ordering `StorageModule`. */
143
- 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' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'SKIP_DEFAULT_POLICY_TABLES_ASC' | 'SKIP_DEFAULT_POLICY_TABLES_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENDPOINT_ASC' | 'ENDPOINT_DESC' | 'PUBLIC_URL_PREFIX_ASC' | 'PUBLIC_URL_PREFIX_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'RESTRICT_READS_ASC' | 'RESTRICT_READS_DESC' | 'HAS_PATH_SHARES_ASC' | 'HAS_PATH_SHARES_DESC' | 'PATH_SHARES_TABLE_ID_ASC' | 'PATH_SHARES_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' | 'MAX_BULK_FILES_ASC' | 'MAX_BULK_FILES_DESC' | 'MAX_BULK_TOTAL_SIZE_ASC' | 'MAX_BULK_TOTAL_SIZE_DESC' | 'HAS_VERSIONING_ASC' | 'HAS_VERSIONING_DESC' | 'HAS_CONTENT_HASH_ASC' | 'HAS_CONTENT_HASH_DESC' | 'HAS_CUSTOM_KEYS_ASC' | 'HAS_CUSTOM_KEYS_DESC' | 'HAS_AUDIT_LOG_ASC' | 'HAS_AUDIT_LOG_DESC' | 'FILE_EVENTS_TABLE_ID_ASC' | 'FILE_EVENTS_TABLE_ID_DESC';
143
+ 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' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'SKIP_DEFAULT_POLICY_TABLES_ASC' | 'SKIP_DEFAULT_POLICY_TABLES_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENDPOINT_ASC' | 'ENDPOINT_DESC' | 'PUBLIC_URL_PREFIX_ASC' | 'PUBLIC_URL_PREFIX_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'RESTRICT_READS_ASC' | 'RESTRICT_READS_DESC' | 'HAS_PATH_SHARES_ASC' | 'HAS_PATH_SHARES_DESC' | 'PATH_SHARES_TABLE_ID_ASC' | 'PATH_SHARES_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' | 'MAX_BULK_FILES_ASC' | 'MAX_BULK_FILES_DESC' | 'MAX_BULK_TOTAL_SIZE_ASC' | 'MAX_BULK_TOTAL_SIZE_DESC' | 'HAS_VERSIONING_ASC' | 'HAS_VERSIONING_DESC' | 'HAS_CONTENT_HASH_ASC' | 'HAS_CONTENT_HASH_DESC' | 'HAS_CUSTOM_KEYS_ASC' | 'HAS_CUSTOM_KEYS_DESC' | 'HAS_AUDIT_LOG_ASC' | 'HAS_AUDIT_LOG_DESC' | 'HAS_CONFIRM_UPLOAD_ASC' | 'HAS_CONFIRM_UPLOAD_DESC' | 'CONFIRM_UPLOAD_DELAY_ASC' | 'CONFIRM_UPLOAD_DELAY_DESC' | 'FILE_EVENTS_TABLE_ID_ASC' | 'FILE_EVENTS_TABLE_ID_DESC';
144
144
  /** Methods to use when ordering `EntityTypeProvision`. */
145
145
  export type EntityTypeProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'HAS_STORAGE_ASC' | 'HAS_STORAGE_DESC' | 'HAS_INVITES_ASC' | 'HAS_INVITES_DESC' | 'STORAGE_CONFIG_ASC' | 'STORAGE_CONFIG_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC' | 'OUT_STORAGE_MODULE_ID_ASC' | 'OUT_STORAGE_MODULE_ID_DESC' | 'OUT_BUCKETS_TABLE_ID_ASC' | 'OUT_BUCKETS_TABLE_ID_DESC' | 'OUT_FILES_TABLE_ID_ASC' | 'OUT_FILES_TABLE_ID_DESC' | 'OUT_PATH_SHARES_TABLE_ID_ASC' | 'OUT_PATH_SHARES_TABLE_ID_DESC' | 'OUT_INVITES_MODULE_ID_ASC' | 'OUT_INVITES_MODULE_ID_DESC';
146
146
  /** Methods to use when ordering `WebauthnCredentialsModule`. */
@@ -3078,6 +3078,14 @@ export interface TableFilter {
3078
3078
  singularName?: StringFilter;
3079
3079
  /** Filter by the object’s `tags` field. */
3080
3080
  tags?: StringListFilter;
3081
+ /** Filter by the object’s `partitioned` field. */
3082
+ partitioned?: BooleanFilter;
3083
+ /** Filter by the object’s `partitionStrategy` field. */
3084
+ partitionStrategy?: StringFilter;
3085
+ /** Filter by the object’s `partitionKeyNames` field. */
3086
+ partitionKeyNames?: StringListFilter;
3087
+ /** Filter by the object’s `partitionKeyTypes` field. */
3088
+ partitionKeyTypes?: StringListFilter;
3081
3089
  /** Filter by the object’s `inheritsId` field. */
3082
3090
  inheritsId?: UUIDFilter;
3083
3091
  /** Filter by the object’s `createdAt` field. */
@@ -3289,10 +3297,6 @@ export interface FieldFilter {
3289
3297
  spatialRelationsByRefFieldId?: FieldToManySpatialRelationFilter;
3290
3298
  /** `spatialRelationsByRefFieldId` exist. */
3291
3299
  spatialRelationsByRefFieldIdExist?: boolean;
3292
- /** Filter by the object’s `partitionsByPartitionKeyId` relation. */
3293
- partitionsByPartitionKeyId?: FieldToManyPartitionFilter;
3294
- /** `partitionsByPartitionKeyId` exist. */
3295
- partitionsByPartitionKeyIdExist?: boolean;
3296
3300
  }
3297
3301
  /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
3298
3302
  export interface FieldToManySpatialRelationFilter {
@@ -3352,52 +3356,6 @@ export interface SpatialRelationFilter {
3352
3356
  /** Filter by the object’s `table` relation. */
3353
3357
  table?: TableFilter;
3354
3358
  }
3355
- /** A filter to be used against many `Partition` object types. All fields are combined with a logical ‘and.’ */
3356
- export interface FieldToManyPartitionFilter {
3357
- /** Filters to entities where at least one related entity matches. */
3358
- some?: PartitionFilter;
3359
- /** Filters to entities where every related entity matches. */
3360
- every?: PartitionFilter;
3361
- /** Filters to entities where no related entity matches. */
3362
- none?: PartitionFilter;
3363
- }
3364
- /** A filter to be used against `Partition` object types. All fields are combined with a logical ‘and.’ */
3365
- export interface PartitionFilter {
3366
- /** Filter by the object’s `id` field. */
3367
- id?: UUIDFilter;
3368
- /** Filter by the object’s `databaseId` field. */
3369
- databaseId?: UUIDFilter;
3370
- /** Filter by the object’s `tableId` field. */
3371
- tableId?: UUIDFilter;
3372
- /** Filter by the object’s `strategy` field. */
3373
- strategy?: StringFilter;
3374
- /** Filter by the object’s `partitionKeyId` field. */
3375
- partitionKeyId?: UUIDFilter;
3376
- /** Filter by the object’s `interval` field. */
3377
- interval?: StringFilter;
3378
- /** Filter by the object’s `retention` field. */
3379
- retention?: StringFilter;
3380
- /** Filter by the object’s `lookahead` field. */
3381
- lookahead?: IntFilter;
3382
- /** Filter by the object’s `namingPattern` field. */
3383
- namingPattern?: StringFilter;
3384
- /** Filter by the object’s `createdAt` field. */
3385
- createdAt?: DatetimeFilter;
3386
- /** Filter by the object’s `updatedAt` field. */
3387
- updatedAt?: DatetimeFilter;
3388
- /** Checks for all expressions in this list. */
3389
- and?: PartitionFilter[];
3390
- /** Checks for any expressions in this list. */
3391
- or?: PartitionFilter[];
3392
- /** Negates the expression. */
3393
- not?: PartitionFilter;
3394
- /** Filter by the object’s `database` relation. */
3395
- database?: DatabaseFilter;
3396
- /** Filter by the object’s `partitionKey` relation. */
3397
- partitionKey?: FieldFilter;
3398
- /** Filter by the object’s `table` relation. */
3399
- table?: TableFilter;
3400
- }
3401
3359
  /** A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ */
3402
3360
  export interface TableToManyForeignKeyConstraintFilter {
3403
3361
  /** Filters to entities where at least one related entity matches. */
@@ -4058,6 +4016,41 @@ export interface TableToManySpatialRelationFilter {
4058
4016
  /** Filters to entities where no related entity matches. */
4059
4017
  none?: SpatialRelationFilter;
4060
4018
  }
4019
+ /** A filter to be used against `Partition` object types. All fields are combined with a logical ‘and.’ */
4020
+ export interface PartitionFilter {
4021
+ /** Filter by the object’s `id` field. */
4022
+ id?: UUIDFilter;
4023
+ /** Filter by the object’s `databaseId` field. */
4024
+ databaseId?: UUIDFilter;
4025
+ /** Filter by the object’s `tableId` field. */
4026
+ tableId?: UUIDFilter;
4027
+ /** Filter by the object’s `strategy` field. */
4028
+ strategy?: StringFilter;
4029
+ /** Filter by the object’s `partitionKeyIds` field. */
4030
+ partitionKeyIds?: UUIDListFilter;
4031
+ /** Filter by the object’s `interval` field. */
4032
+ interval?: StringFilter;
4033
+ /** Filter by the object’s `retention` field. */
4034
+ retention?: StringFilter;
4035
+ /** Filter by the object’s `lookahead` field. */
4036
+ lookahead?: IntFilter;
4037
+ /** Filter by the object’s `namingPattern` field. */
4038
+ namingPattern?: StringFilter;
4039
+ /** Filter by the object’s `createdAt` field. */
4040
+ createdAt?: DatetimeFilter;
4041
+ /** Filter by the object’s `updatedAt` field. */
4042
+ updatedAt?: DatetimeFilter;
4043
+ /** Checks for all expressions in this list. */
4044
+ and?: PartitionFilter[];
4045
+ /** Checks for any expressions in this list. */
4046
+ or?: PartitionFilter[];
4047
+ /** Negates the expression. */
4048
+ not?: PartitionFilter;
4049
+ /** Filter by the object’s `database` relation. */
4050
+ database?: DatabaseFilter;
4051
+ /** Filter by the object’s `table` relation. */
4052
+ table?: TableFilter;
4053
+ }
4061
4054
  /** A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */
4062
4055
  export interface TableToManySecureTableProvisionFilter {
4063
4056
  /** Filters to entities where at least one related entity matches. */
@@ -7293,6 +7286,10 @@ export interface StorageModuleFilter {
7293
7286
  hasCustomKeys?: BooleanFilter;
7294
7287
  /** Filter by the object’s `hasAuditLog` field. */
7295
7288
  hasAuditLog?: BooleanFilter;
7289
+ /** Filter by the object’s `hasConfirmUpload` field. */
7290
+ hasConfirmUpload?: BooleanFilter;
7291
+ /** Filter by the object’s `confirmUploadDelay` field. */
7292
+ confirmUploadDelay?: IntervalFilter;
7296
7293
  /** Filter by the object’s `fileEventsTableId` field. */
7297
7294
  fileEventsTableId?: UUIDFilter;
7298
7295
  /** Checks for all expressions in this list. */
@@ -8722,6 +8719,7 @@ export interface SignUpInput {
8722
8719
  rememberMe?: boolean;
8723
8720
  credentialKind?: string;
8724
8721
  csrfToken?: string;
8722
+ deviceToken?: string;
8725
8723
  }
8726
8724
  export interface RequestCrossOriginTokenInput {
8727
8725
  clientMutationId?: string;
@@ -10206,7 +10204,7 @@ export interface PartitionInput {
10206
10204
  databaseId: string;
10207
10205
  tableId: string;
10208
10206
  strategy: string;
10209
- partitionKeyId: string;
10207
+ partitionKeyIds: string[];
10210
10208
  interval?: string;
10211
10209
  retention?: string;
10212
10210
  lookahead?: number;
@@ -11594,33 +11592,6 @@ export interface ForeignKeyConstraintInput {
11594
11592
  createdAt?: string;
11595
11593
  updatedAt?: string;
11596
11594
  }
11597
- export interface CreateTableInput {
11598
- clientMutationId?: string;
11599
- /** The `Table` to be created by this mutation. */
11600
- table: TableInput;
11601
- }
11602
- /** An input for mutations affecting `Table` */
11603
- export interface TableInput {
11604
- id?: string;
11605
- databaseId?: string;
11606
- schemaId: string;
11607
- name: string;
11608
- label?: string;
11609
- description?: string;
11610
- smartTags?: unknown;
11611
- category?: ObjectCategory;
11612
- module?: string;
11613
- scope?: number;
11614
- useRls?: boolean;
11615
- timestamps?: boolean;
11616
- peoplestamps?: boolean;
11617
- pluralName?: string;
11618
- singularName?: string;
11619
- tags?: string[];
11620
- inheritsId?: string;
11621
- createdAt?: string;
11622
- updatedAt?: string;
11623
- }
11624
11595
  export interface CreateRelationProvisionInput {
11625
11596
  clientMutationId?: string;
11626
11597
  /** The `RelationProvision` to be created by this mutation. */
@@ -12044,6 +12015,37 @@ export interface FieldInput {
12044
12015
  createdAt?: string;
12045
12016
  updatedAt?: string;
12046
12017
  }
12018
+ export interface CreateTableInput {
12019
+ clientMutationId?: string;
12020
+ /** The `Table` to be created by this mutation. */
12021
+ table: TableInput;
12022
+ }
12023
+ /** An input for mutations affecting `Table` */
12024
+ export interface TableInput {
12025
+ id?: string;
12026
+ databaseId?: string;
12027
+ schemaId: string;
12028
+ name: string;
12029
+ label?: string;
12030
+ description?: string;
12031
+ smartTags?: unknown;
12032
+ category?: ObjectCategory;
12033
+ module?: string;
12034
+ scope?: number;
12035
+ useRls?: boolean;
12036
+ timestamps?: boolean;
12037
+ peoplestamps?: boolean;
12038
+ pluralName?: string;
12039
+ singularName?: string;
12040
+ tags?: string[];
12041
+ partitioned?: boolean;
12042
+ partitionStrategy?: string;
12043
+ partitionKeyNames?: string[];
12044
+ partitionKeyTypes?: string[];
12045
+ inheritsId?: string;
12046
+ createdAt?: string;
12047
+ updatedAt?: string;
12048
+ }
12047
12049
  export interface CreateLimitsModuleInput {
12048
12050
  clientMutationId?: string;
12049
12051
  /** The `LimitsModule` to be created by this mutation. */
@@ -12117,6 +12119,8 @@ export interface StorageModuleInput {
12117
12119
  hasContentHash?: boolean;
12118
12120
  hasCustomKeys?: boolean;
12119
12121
  hasAuditLog?: boolean;
12122
+ hasConfirmUpload?: boolean;
12123
+ confirmUploadDelay?: IntervalInput;
12120
12124
  fileEventsTableId?: string;
12121
12125
  }
12122
12126
  export interface CreateMembershipsModuleInput {
@@ -13620,7 +13624,7 @@ export interface PartitionPatch {
13620
13624
  databaseId?: string;
13621
13625
  tableId?: string;
13622
13626
  strategy?: string;
13623
- partitionKeyId?: string;
13627
+ partitionKeyIds?: string[];
13624
13628
  interval?: string;
13625
13629
  retention?: string;
13626
13630
  lookahead?: number;
@@ -15041,34 +15045,6 @@ export interface ForeignKeyConstraintPatch {
15041
15045
  createdAt?: string;
15042
15046
  updatedAt?: string;
15043
15047
  }
15044
- export interface UpdateTableInput {
15045
- clientMutationId?: string;
15046
- id: string;
15047
- /** An object where the defined keys will be set on the `Table` being updated. */
15048
- tablePatch: TablePatch;
15049
- }
15050
- /** Represents an update to a `Table`. Fields that are set will be updated. */
15051
- export interface TablePatch {
15052
- id?: string;
15053
- databaseId?: string;
15054
- schemaId?: string;
15055
- name?: string;
15056
- label?: string;
15057
- description?: string;
15058
- smartTags?: unknown;
15059
- category?: ObjectCategory;
15060
- module?: string;
15061
- scope?: number;
15062
- useRls?: boolean;
15063
- timestamps?: boolean;
15064
- peoplestamps?: boolean;
15065
- pluralName?: string;
15066
- singularName?: string;
15067
- tags?: string[];
15068
- inheritsId?: string;
15069
- createdAt?: string;
15070
- updatedAt?: string;
15071
- }
15072
15048
  export interface UpdateRelationProvisionInput {
15073
15049
  clientMutationId?: string;
15074
15050
  /** Unique identifier for this relation provision row. */
@@ -15499,6 +15475,38 @@ export interface FieldPatch {
15499
15475
  createdAt?: string;
15500
15476
  updatedAt?: string;
15501
15477
  }
15478
+ export interface UpdateTableInput {
15479
+ clientMutationId?: string;
15480
+ id: string;
15481
+ /** An object where the defined keys will be set on the `Table` being updated. */
15482
+ tablePatch: TablePatch;
15483
+ }
15484
+ /** Represents an update to a `Table`. Fields that are set will be updated. */
15485
+ export interface TablePatch {
15486
+ id?: string;
15487
+ databaseId?: string;
15488
+ schemaId?: string;
15489
+ name?: string;
15490
+ label?: string;
15491
+ description?: string;
15492
+ smartTags?: unknown;
15493
+ category?: ObjectCategory;
15494
+ module?: string;
15495
+ scope?: number;
15496
+ useRls?: boolean;
15497
+ timestamps?: boolean;
15498
+ peoplestamps?: boolean;
15499
+ pluralName?: string;
15500
+ singularName?: string;
15501
+ tags?: string[];
15502
+ partitioned?: boolean;
15503
+ partitionStrategy?: string;
15504
+ partitionKeyNames?: string[];
15505
+ partitionKeyTypes?: string[];
15506
+ inheritsId?: string;
15507
+ createdAt?: string;
15508
+ updatedAt?: string;
15509
+ }
15502
15510
  export interface UpdateLimitsModuleInput {
15503
15511
  clientMutationId?: string;
15504
15512
  id: string;
@@ -15574,6 +15582,8 @@ export interface StorageModulePatch {
15574
15582
  hasContentHash?: boolean;
15575
15583
  hasCustomKeys?: boolean;
15576
15584
  hasAuditLog?: boolean;
15585
+ hasConfirmUpload?: boolean;
15586
+ confirmUploadDelay?: IntervalInput;
15577
15587
  fileEventsTableId?: string;
15578
15588
  }
15579
15589
  export interface UpdateMembershipsModuleInput {
@@ -16166,10 +16176,6 @@ export interface DeleteForeignKeyConstraintInput {
16166
16176
  clientMutationId?: string;
16167
16177
  id: string;
16168
16178
  }
16169
- export interface DeleteTableInput {
16170
- clientMutationId?: string;
16171
- id: string;
16172
- }
16173
16179
  export interface DeleteRelationProvisionInput {
16174
16180
  clientMutationId?: string;
16175
16181
  /** Unique identifier for this relation provision row. */
@@ -16192,6 +16198,10 @@ export interface DeleteFieldInput {
16192
16198
  clientMutationId?: string;
16193
16199
  id: string;
16194
16200
  }
16201
+ export interface DeleteTableInput {
16202
+ clientMutationId?: string;
16203
+ id: string;
16204
+ }
16195
16205
  export interface DeleteLimitsModuleInput {
16196
16206
  clientMutationId?: string;
16197
16207
  id: string;
@@ -17193,13 +17203,6 @@ export interface ForeignKeyConstraintConnection {
17193
17203
  pageInfo: PageInfo;
17194
17204
  totalCount: number;
17195
17205
  }
17196
- /** A connection to a list of `Table` values. */
17197
- export interface TableConnection {
17198
- nodes: Table[];
17199
- edges: TableEdge[];
17200
- pageInfo: PageInfo;
17201
- totalCount: number;
17202
- }
17203
17206
  /** A connection to a list of `RelationProvision` values. */
17204
17207
  export interface RelationProvisionConnection {
17205
17208
  nodes: RelationProvision[];
@@ -17235,6 +17238,13 @@ export interface FieldConnection {
17235
17238
  pageInfo: PageInfo;
17236
17239
  totalCount: number;
17237
17240
  }
17241
+ /** A connection to a list of `Table` values. */
17242
+ export interface TableConnection {
17243
+ nodes: Table[];
17244
+ edges: TableEdge[];
17245
+ pageInfo: PageInfo;
17246
+ totalCount: number;
17247
+ }
17238
17248
  /** A connection to a list of `LimitsModule` values. */
17239
17249
  export interface LimitsModuleConnection {
17240
17250
  nodes: LimitsModule[];
@@ -18258,12 +18268,6 @@ export interface CreateForeignKeyConstraintPayload {
18258
18268
  foreignKeyConstraint?: ForeignKeyConstraint | null;
18259
18269
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
18260
18270
  }
18261
- export interface CreateTablePayload {
18262
- clientMutationId?: string | null;
18263
- /** The `Table` that was created by this mutation. */
18264
- table?: Table | null;
18265
- tableEdge?: TableEdge | null;
18266
- }
18267
18271
  export interface CreateRelationProvisionPayload {
18268
18272
  clientMutationId?: string | null;
18269
18273
  /** The `RelationProvision` that was created by this mutation. */
@@ -18294,6 +18298,12 @@ export interface CreateFieldPayload {
18294
18298
  field?: Field | null;
18295
18299
  fieldEdge?: FieldEdge | null;
18296
18300
  }
18301
+ export interface CreateTablePayload {
18302
+ clientMutationId?: string | null;
18303
+ /** The `Table` that was created by this mutation. */
18304
+ table?: Table | null;
18305
+ tableEdge?: TableEdge | null;
18306
+ }
18297
18307
  export interface CreateLimitsModulePayload {
18298
18308
  clientMutationId?: string | null;
18299
18309
  /** The `LimitsModule` that was created by this mutation. */
@@ -19092,12 +19102,6 @@ export interface UpdateForeignKeyConstraintPayload {
19092
19102
  foreignKeyConstraint?: ForeignKeyConstraint | null;
19093
19103
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
19094
19104
  }
19095
- export interface UpdateTablePayload {
19096
- clientMutationId?: string | null;
19097
- /** The `Table` that was updated by this mutation. */
19098
- table?: Table | null;
19099
- tableEdge?: TableEdge | null;
19100
- }
19101
19105
  export interface UpdateRelationProvisionPayload {
19102
19106
  clientMutationId?: string | null;
19103
19107
  /** The `RelationProvision` that was updated by this mutation. */
@@ -19128,6 +19132,12 @@ export interface UpdateFieldPayload {
19128
19132
  field?: Field | null;
19129
19133
  fieldEdge?: FieldEdge | null;
19130
19134
  }
19135
+ export interface UpdateTablePayload {
19136
+ clientMutationId?: string | null;
19137
+ /** The `Table` that was updated by this mutation. */
19138
+ table?: Table | null;
19139
+ tableEdge?: TableEdge | null;
19140
+ }
19131
19141
  export interface UpdateLimitsModulePayload {
19132
19142
  clientMutationId?: string | null;
19133
19143
  /** The `LimitsModule` that was updated by this mutation. */
@@ -19926,12 +19936,6 @@ export interface DeleteForeignKeyConstraintPayload {
19926
19936
  foreignKeyConstraint?: ForeignKeyConstraint | null;
19927
19937
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
19928
19938
  }
19929
- export interface DeleteTablePayload {
19930
- clientMutationId?: string | null;
19931
- /** The `Table` that was deleted by this mutation. */
19932
- table?: Table | null;
19933
- tableEdge?: TableEdge | null;
19934
- }
19935
19939
  export interface DeleteRelationProvisionPayload {
19936
19940
  clientMutationId?: string | null;
19937
19941
  /** The `RelationProvision` that was deleted by this mutation. */
@@ -19962,6 +19966,12 @@ export interface DeleteFieldPayload {
19962
19966
  field?: Field | null;
19963
19967
  fieldEdge?: FieldEdge | null;
19964
19968
  }
19969
+ export interface DeleteTablePayload {
19970
+ clientMutationId?: string | null;
19971
+ /** The `Table` that was deleted by this mutation. */
19972
+ table?: Table | null;
19973
+ tableEdge?: TableEdge | null;
19974
+ }
19965
19975
  export interface DeleteLimitsModulePayload {
19966
19976
  clientMutationId?: string | null;
19967
19977
  /** The `LimitsModule` that was deleted by this mutation. */
@@ -20845,12 +20855,6 @@ export interface ForeignKeyConstraintEdge {
20845
20855
  /** The `ForeignKeyConstraint` at the end of the edge. */
20846
20856
  node?: ForeignKeyConstraint | null;
20847
20857
  }
20848
- /** A `Table` edge in the connection. */
20849
- export interface TableEdge {
20850
- cursor?: string | null;
20851
- /** The `Table` at the end of the edge. */
20852
- node?: Table | null;
20853
- }
20854
20858
  /** A `RelationProvision` edge in the connection. */
20855
20859
  export interface RelationProvisionEdge {
20856
20860
  cursor?: string | null;
@@ -20881,6 +20885,12 @@ export interface FieldEdge {
20881
20885
  /** The `Field` at the end of the edge. */
20882
20886
  node?: Field | null;
20883
20887
  }
20888
+ /** A `Table` edge in the connection. */
20889
+ export interface TableEdge {
20890
+ cursor?: string | null;
20891
+ /** The `Table` at the end of the edge. */
20892
+ node?: Table | null;
20893
+ }
20884
20894
  /** A `LimitsModule` edge in the connection. */
20885
20895
  export interface LimitsModuleEdge {
20886
20896
  cursor?: string | null;
package/public/types.d.ts CHANGED
@@ -101,6 +101,10 @@ export interface Table {
101
101
  pluralName: string | null;
102
102
  singularName: string | null;
103
103
  tags: string[] | null;
104
+ partitioned: boolean | null;
105
+ partitionStrategy: string | null;
106
+ partitionKeyNames: string[] | null;
107
+ partitionKeyTypes: string[] | null;
104
108
  inheritsId: string | null;
105
109
  createdAt: string | null;
106
110
  updatedAt: string | null;
@@ -164,19 +168,6 @@ export interface SpatialRelation {
164
168
  createdAt: string | null;
165
169
  updatedAt: string | null;
166
170
  }
167
- export interface Partition {
168
- id: string | null;
169
- databaseId: string | null;
170
- tableId: string | null;
171
- strategy: string | null;
172
- partitionKeyId: string | null;
173
- interval: string | null;
174
- retention: string | null;
175
- lookahead: number | null;
176
- namingPattern: string | null;
177
- createdAt: string | null;
178
- updatedAt: string | null;
179
- }
180
171
  export interface ForeignKeyConstraint {
181
172
  id: string | null;
182
173
  databaseId: string | null;
@@ -544,6 +535,19 @@ export interface DatabaseTransfer {
544
535
  updatedAt: string | null;
545
536
  completedAt: string | null;
546
537
  }
538
+ export interface Partition {
539
+ id: string | null;
540
+ databaseId: string | null;
541
+ tableId: string | null;
542
+ strategy: string | null;
543
+ partitionKeyIds: string[] | null;
544
+ interval: string | null;
545
+ retention: string | null;
546
+ lookahead: number | null;
547
+ namingPattern: string | null;
548
+ createdAt: string | null;
549
+ updatedAt: string | null;
550
+ }
547
551
  export interface Api {
548
552
  id: string | null;
549
553
  databaseId: string | null;
@@ -965,6 +969,8 @@ export interface StorageModule {
965
969
  hasContentHash: boolean | null;
966
970
  hasCustomKeys: boolean | null;
967
971
  hasAuditLog: boolean | null;
972
+ hasConfirmUpload: boolean | null;
973
+ confirmUploadDelay: string | null;
968
974
  fileEventsTableId: string | null;
969
975
  }
970
976
  export interface EntityTypeProvision {