@constructive-io/react 0.19.10 → 0.20.0

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 +197 -196
  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 +147 -145
  24. package/esm/public/types.d.ts +17 -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 +197 -196
  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 +147 -145
  45. package/public/types.d.ts +17 -13
@@ -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`. */
@@ -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. */
@@ -8722,6 +8715,7 @@ export interface SignUpInput {
8722
8715
  rememberMe?: boolean;
8723
8716
  credentialKind?: string;
8724
8717
  csrfToken?: string;
8718
+ deviceToken?: string;
8725
8719
  }
8726
8720
  export interface RequestCrossOriginTokenInput {
8727
8721
  clientMutationId?: string;
@@ -10206,7 +10200,7 @@ export interface PartitionInput {
10206
10200
  databaseId: string;
10207
10201
  tableId: string;
10208
10202
  strategy: string;
10209
- partitionKeyId: string;
10203
+ partitionKeyIds: string[];
10210
10204
  interval?: string;
10211
10205
  retention?: string;
10212
10206
  lookahead?: number;
@@ -11594,33 +11588,6 @@ export interface ForeignKeyConstraintInput {
11594
11588
  createdAt?: string;
11595
11589
  updatedAt?: string;
11596
11590
  }
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
11591
  export interface CreateRelationProvisionInput {
11625
11592
  clientMutationId?: string;
11626
11593
  /** The `RelationProvision` to be created by this mutation. */
@@ -12044,6 +12011,37 @@ export interface FieldInput {
12044
12011
  createdAt?: string;
12045
12012
  updatedAt?: string;
12046
12013
  }
12014
+ export interface CreateTableInput {
12015
+ clientMutationId?: string;
12016
+ /** The `Table` to be created by this mutation. */
12017
+ table: TableInput;
12018
+ }
12019
+ /** An input for mutations affecting `Table` */
12020
+ export interface TableInput {
12021
+ id?: string;
12022
+ databaseId?: string;
12023
+ schemaId: string;
12024
+ name: string;
12025
+ label?: string;
12026
+ description?: string;
12027
+ smartTags?: unknown;
12028
+ category?: ObjectCategory;
12029
+ module?: string;
12030
+ scope?: number;
12031
+ useRls?: boolean;
12032
+ timestamps?: boolean;
12033
+ peoplestamps?: boolean;
12034
+ pluralName?: string;
12035
+ singularName?: string;
12036
+ tags?: string[];
12037
+ partitioned?: boolean;
12038
+ partitionStrategy?: string;
12039
+ partitionKeyNames?: string[];
12040
+ partitionKeyTypes?: string[];
12041
+ inheritsId?: string;
12042
+ createdAt?: string;
12043
+ updatedAt?: string;
12044
+ }
12047
12045
  export interface CreateLimitsModuleInput {
12048
12046
  clientMutationId?: string;
12049
12047
  /** The `LimitsModule` to be created by this mutation. */
@@ -13620,7 +13618,7 @@ export interface PartitionPatch {
13620
13618
  databaseId?: string;
13621
13619
  tableId?: string;
13622
13620
  strategy?: string;
13623
- partitionKeyId?: string;
13621
+ partitionKeyIds?: string[];
13624
13622
  interval?: string;
13625
13623
  retention?: string;
13626
13624
  lookahead?: number;
@@ -15041,34 +15039,6 @@ export interface ForeignKeyConstraintPatch {
15041
15039
  createdAt?: string;
15042
15040
  updatedAt?: string;
15043
15041
  }
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
15042
  export interface UpdateRelationProvisionInput {
15073
15043
  clientMutationId?: string;
15074
15044
  /** Unique identifier for this relation provision row. */
@@ -15499,6 +15469,38 @@ export interface FieldPatch {
15499
15469
  createdAt?: string;
15500
15470
  updatedAt?: string;
15501
15471
  }
15472
+ export interface UpdateTableInput {
15473
+ clientMutationId?: string;
15474
+ id: string;
15475
+ /** An object where the defined keys will be set on the `Table` being updated. */
15476
+ tablePatch: TablePatch;
15477
+ }
15478
+ /** Represents an update to a `Table`. Fields that are set will be updated. */
15479
+ export interface TablePatch {
15480
+ id?: string;
15481
+ databaseId?: string;
15482
+ schemaId?: string;
15483
+ name?: string;
15484
+ label?: string;
15485
+ description?: string;
15486
+ smartTags?: unknown;
15487
+ category?: ObjectCategory;
15488
+ module?: string;
15489
+ scope?: number;
15490
+ useRls?: boolean;
15491
+ timestamps?: boolean;
15492
+ peoplestamps?: boolean;
15493
+ pluralName?: string;
15494
+ singularName?: string;
15495
+ tags?: string[];
15496
+ partitioned?: boolean;
15497
+ partitionStrategy?: string;
15498
+ partitionKeyNames?: string[];
15499
+ partitionKeyTypes?: string[];
15500
+ inheritsId?: string;
15501
+ createdAt?: string;
15502
+ updatedAt?: string;
15503
+ }
15502
15504
  export interface UpdateLimitsModuleInput {
15503
15505
  clientMutationId?: string;
15504
15506
  id: string;
@@ -16166,10 +16168,6 @@ export interface DeleteForeignKeyConstraintInput {
16166
16168
  clientMutationId?: string;
16167
16169
  id: string;
16168
16170
  }
16169
- export interface DeleteTableInput {
16170
- clientMutationId?: string;
16171
- id: string;
16172
- }
16173
16171
  export interface DeleteRelationProvisionInput {
16174
16172
  clientMutationId?: string;
16175
16173
  /** Unique identifier for this relation provision row. */
@@ -16192,6 +16190,10 @@ export interface DeleteFieldInput {
16192
16190
  clientMutationId?: string;
16193
16191
  id: string;
16194
16192
  }
16193
+ export interface DeleteTableInput {
16194
+ clientMutationId?: string;
16195
+ id: string;
16196
+ }
16195
16197
  export interface DeleteLimitsModuleInput {
16196
16198
  clientMutationId?: string;
16197
16199
  id: string;
@@ -17193,13 +17195,6 @@ export interface ForeignKeyConstraintConnection {
17193
17195
  pageInfo: PageInfo;
17194
17196
  totalCount: number;
17195
17197
  }
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
17198
  /** A connection to a list of `RelationProvision` values. */
17204
17199
  export interface RelationProvisionConnection {
17205
17200
  nodes: RelationProvision[];
@@ -17235,6 +17230,13 @@ export interface FieldConnection {
17235
17230
  pageInfo: PageInfo;
17236
17231
  totalCount: number;
17237
17232
  }
17233
+ /** A connection to a list of `Table` values. */
17234
+ export interface TableConnection {
17235
+ nodes: Table[];
17236
+ edges: TableEdge[];
17237
+ pageInfo: PageInfo;
17238
+ totalCount: number;
17239
+ }
17238
17240
  /** A connection to a list of `LimitsModule` values. */
17239
17241
  export interface LimitsModuleConnection {
17240
17242
  nodes: LimitsModule[];
@@ -18258,12 +18260,6 @@ export interface CreateForeignKeyConstraintPayload {
18258
18260
  foreignKeyConstraint?: ForeignKeyConstraint | null;
18259
18261
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
18260
18262
  }
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
18263
  export interface CreateRelationProvisionPayload {
18268
18264
  clientMutationId?: string | null;
18269
18265
  /** The `RelationProvision` that was created by this mutation. */
@@ -18294,6 +18290,12 @@ export interface CreateFieldPayload {
18294
18290
  field?: Field | null;
18295
18291
  fieldEdge?: FieldEdge | null;
18296
18292
  }
18293
+ export interface CreateTablePayload {
18294
+ clientMutationId?: string | null;
18295
+ /** The `Table` that was created by this mutation. */
18296
+ table?: Table | null;
18297
+ tableEdge?: TableEdge | null;
18298
+ }
18297
18299
  export interface CreateLimitsModulePayload {
18298
18300
  clientMutationId?: string | null;
18299
18301
  /** The `LimitsModule` that was created by this mutation. */
@@ -19092,12 +19094,6 @@ export interface UpdateForeignKeyConstraintPayload {
19092
19094
  foreignKeyConstraint?: ForeignKeyConstraint | null;
19093
19095
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
19094
19096
  }
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
19097
  export interface UpdateRelationProvisionPayload {
19102
19098
  clientMutationId?: string | null;
19103
19099
  /** The `RelationProvision` that was updated by this mutation. */
@@ -19128,6 +19124,12 @@ export interface UpdateFieldPayload {
19128
19124
  field?: Field | null;
19129
19125
  fieldEdge?: FieldEdge | null;
19130
19126
  }
19127
+ export interface UpdateTablePayload {
19128
+ clientMutationId?: string | null;
19129
+ /** The `Table` that was updated by this mutation. */
19130
+ table?: Table | null;
19131
+ tableEdge?: TableEdge | null;
19132
+ }
19131
19133
  export interface UpdateLimitsModulePayload {
19132
19134
  clientMutationId?: string | null;
19133
19135
  /** The `LimitsModule` that was updated by this mutation. */
@@ -19926,12 +19928,6 @@ export interface DeleteForeignKeyConstraintPayload {
19926
19928
  foreignKeyConstraint?: ForeignKeyConstraint | null;
19927
19929
  foreignKeyConstraintEdge?: ForeignKeyConstraintEdge | null;
19928
19930
  }
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
19931
  export interface DeleteRelationProvisionPayload {
19936
19932
  clientMutationId?: string | null;
19937
19933
  /** The `RelationProvision` that was deleted by this mutation. */
@@ -19962,6 +19958,12 @@ export interface DeleteFieldPayload {
19962
19958
  field?: Field | null;
19963
19959
  fieldEdge?: FieldEdge | null;
19964
19960
  }
19961
+ export interface DeleteTablePayload {
19962
+ clientMutationId?: string | null;
19963
+ /** The `Table` that was deleted by this mutation. */
19964
+ table?: Table | null;
19965
+ tableEdge?: TableEdge | null;
19966
+ }
19965
19967
  export interface DeleteLimitsModulePayload {
19966
19968
  clientMutationId?: string | null;
19967
19969
  /** The `LimitsModule` that was deleted by this mutation. */
@@ -20845,12 +20847,6 @@ export interface ForeignKeyConstraintEdge {
20845
20847
  /** The `ForeignKeyConstraint` at the end of the edge. */
20846
20848
  node?: ForeignKeyConstraint | null;
20847
20849
  }
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
20850
  /** A `RelationProvision` edge in the connection. */
20855
20851
  export interface RelationProvisionEdge {
20856
20852
  cursor?: string | null;
@@ -20881,6 +20877,12 @@ export interface FieldEdge {
20881
20877
  /** The `Field` at the end of the edge. */
20882
20878
  node?: Field | null;
20883
20879
  }
20880
+ /** A `Table` edge in the connection. */
20881
+ export interface TableEdge {
20882
+ cursor?: string | null;
20883
+ /** The `Table` at the end of the edge. */
20884
+ node?: Table | null;
20885
+ }
20884
20886
  /** A `LimitsModule` edge in the connection. */
20885
20887
  export interface LimitsModuleEdge {
20886
20888
  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;