@constructive-io/sdk 0.14.9 → 0.14.11

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.
@@ -1572,13 +1572,18 @@ export interface NotificationsModule {
1572
1572
  schemaId?: string | null;
1573
1573
  privateSchemaId?: string | null;
1574
1574
  notificationsTableId?: string | null;
1575
- eventsTableId?: string | null;
1575
+ readStateTableId?: string | null;
1576
1576
  preferencesTableId?: string | null;
1577
1577
  channelsTableId?: string | null;
1578
1578
  deliveryLogTableId?: string | null;
1579
1579
  ownerTableId?: string | null;
1580
1580
  userSettingsTableId?: string | null;
1581
1581
  organizationSettingsTableId?: string | null;
1582
+ hasChannels?: boolean | null;
1583
+ hasPreferences?: boolean | null;
1584
+ hasSettingsExtension?: boolean | null;
1585
+ hasDigestMetadata?: boolean | null;
1586
+ hasSubscriptions?: boolean | null;
1582
1587
  }
1583
1588
  /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */
1584
1589
  export interface DatabaseProvisionModule {
@@ -2798,12 +2803,12 @@ export interface NotificationsModuleRelations {
2798
2803
  channelsTableByChannelsTableId?: Table | null;
2799
2804
  database?: Database | null;
2800
2805
  deliveryLogTableByDeliveryLogTableId?: Table | null;
2801
- eventsTableByEventsTableId?: Table | null;
2802
2806
  notificationsTableByNotificationsTableId?: Table | null;
2803
2807
  organizationSettingsTableByOrganizationSettingsTableId?: Table | null;
2804
2808
  ownerTable?: Table | null;
2805
2809
  preferencesTableByPreferencesTableId?: Table | null;
2806
2810
  privateSchema?: Schema | null;
2811
+ readStateTableByReadStateTableId?: Table | null;
2807
2812
  schema?: Schema | null;
2808
2813
  userSettingsTableByUserSettingsTableId?: Table | null;
2809
2814
  }
@@ -5439,13 +5444,18 @@ export type NotificationsModuleSelect = {
5439
5444
  schemaId?: boolean;
5440
5445
  privateSchemaId?: boolean;
5441
5446
  notificationsTableId?: boolean;
5442
- eventsTableId?: boolean;
5447
+ readStateTableId?: boolean;
5443
5448
  preferencesTableId?: boolean;
5444
5449
  channelsTableId?: boolean;
5445
5450
  deliveryLogTableId?: boolean;
5446
5451
  ownerTableId?: boolean;
5447
5452
  userSettingsTableId?: boolean;
5448
5453
  organizationSettingsTableId?: boolean;
5454
+ hasChannels?: boolean;
5455
+ hasPreferences?: boolean;
5456
+ hasSettingsExtension?: boolean;
5457
+ hasDigestMetadata?: boolean;
5458
+ hasSubscriptions?: boolean;
5449
5459
  channelsTableByChannelsTableId?: {
5450
5460
  select: TableSelect;
5451
5461
  };
@@ -5455,9 +5465,6 @@ export type NotificationsModuleSelect = {
5455
5465
  deliveryLogTableByDeliveryLogTableId?: {
5456
5466
  select: TableSelect;
5457
5467
  };
5458
- eventsTableByEventsTableId?: {
5459
- select: TableSelect;
5460
- };
5461
5468
  notificationsTableByNotificationsTableId?: {
5462
5469
  select: TableSelect;
5463
5470
  };
@@ -5473,6 +5480,9 @@ export type NotificationsModuleSelect = {
5473
5480
  privateSchema?: {
5474
5481
  select: SchemaSelect;
5475
5482
  };
5483
+ readStateTableByReadStateTableId?: {
5484
+ select: TableSelect;
5485
+ };
5476
5486
  schema?: {
5477
5487
  select: SchemaSelect;
5478
5488
  };
@@ -9600,8 +9610,8 @@ export interface NotificationsModuleFilter {
9600
9610
  privateSchemaId?: UUIDFilter;
9601
9611
  /** Filter by the object’s `notificationsTableId` field. */
9602
9612
  notificationsTableId?: UUIDFilter;
9603
- /** Filter by the object’s `eventsTableId` field. */
9604
- eventsTableId?: UUIDFilter;
9613
+ /** Filter by the object’s `readStateTableId` field. */
9614
+ readStateTableId?: UUIDFilter;
9605
9615
  /** Filter by the object’s `preferencesTableId` field. */
9606
9616
  preferencesTableId?: UUIDFilter;
9607
9617
  /** Filter by the object’s `channelsTableId` field. */
@@ -9614,6 +9624,16 @@ export interface NotificationsModuleFilter {
9614
9624
  userSettingsTableId?: UUIDFilter;
9615
9625
  /** Filter by the object’s `organizationSettingsTableId` field. */
9616
9626
  organizationSettingsTableId?: UUIDFilter;
9627
+ /** Filter by the object’s `hasChannels` field. */
9628
+ hasChannels?: BooleanFilter;
9629
+ /** Filter by the object’s `hasPreferences` field. */
9630
+ hasPreferences?: BooleanFilter;
9631
+ /** Filter by the object’s `hasSettingsExtension` field. */
9632
+ hasSettingsExtension?: BooleanFilter;
9633
+ /** Filter by the object’s `hasDigestMetadata` field. */
9634
+ hasDigestMetadata?: BooleanFilter;
9635
+ /** Filter by the object’s `hasSubscriptions` field. */
9636
+ hasSubscriptions?: BooleanFilter;
9617
9637
  /** Checks for all expressions in this list. */
9618
9638
  and?: NotificationsModuleFilter[];
9619
9639
  /** Checks for any expressions in this list. */
@@ -9622,12 +9642,14 @@ export interface NotificationsModuleFilter {
9622
9642
  not?: NotificationsModuleFilter;
9623
9643
  /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
9624
9644
  channelsTableByChannelsTableId?: TableFilter;
9645
+ /** A related `channelsTableByChannelsTableId` exists. */
9646
+ channelsTableByChannelsTableIdExists?: boolean;
9625
9647
  /** Filter by the object’s `database` relation. */
9626
9648
  database?: DatabaseFilter;
9627
9649
  /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
9628
9650
  deliveryLogTableByDeliveryLogTableId?: TableFilter;
9629
- /** Filter by the object’s `eventsTableByEventsTableId` relation. */
9630
- eventsTableByEventsTableId?: TableFilter;
9651
+ /** A related `deliveryLogTableByDeliveryLogTableId` exists. */
9652
+ deliveryLogTableByDeliveryLogTableIdExists?: boolean;
9631
9653
  /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
9632
9654
  notificationsTableByNotificationsTableId?: TableFilter;
9633
9655
  /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
@@ -9638,8 +9660,12 @@ export interface NotificationsModuleFilter {
9638
9660
  ownerTable?: TableFilter;
9639
9661
  /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
9640
9662
  preferencesTableByPreferencesTableId?: TableFilter;
9663
+ /** A related `preferencesTableByPreferencesTableId` exists. */
9664
+ preferencesTableByPreferencesTableIdExists?: boolean;
9641
9665
  /** Filter by the object’s `privateSchema` relation. */
9642
9666
  privateSchema?: SchemaFilter;
9667
+ /** Filter by the object’s `readStateTableByReadStateTableId` relation. */
9668
+ readStateTableByReadStateTableId?: TableFilter;
9643
9669
  /** Filter by the object’s `schema` relation. */
9644
9670
  schema?: SchemaFilter;
9645
9671
  /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
@@ -11314,7 +11340,7 @@ export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
11314
11340
  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' | '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';
11315
11341
  export type WebauthnCredentialsModuleOrderBy = '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';
11316
11342
  export type WebauthnAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'CREDENTIALS_TABLE_ID_ASC' | 'CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSION_SECRETS_TABLE_ID_ASC' | 'SESSION_SECRETS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'RP_ID_ASC' | 'RP_ID_DESC' | 'RP_NAME_ASC' | 'RP_NAME_DESC' | 'ORIGIN_ALLOWLIST_ASC' | 'ORIGIN_ALLOWLIST_DESC' | 'ATTESTATION_TYPE_ASC' | 'ATTESTATION_TYPE_DESC' | 'REQUIRE_USER_VERIFICATION_ASC' | 'REQUIRE_USER_VERIFICATION_DESC' | 'RESIDENT_KEY_ASC' | 'RESIDENT_KEY_DESC' | 'CHALLENGE_EXPIRY_ASC' | 'CHALLENGE_EXPIRY_DESC';
11317
- export type NotificationsModuleOrderBy = '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' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC';
11343
+ export type NotificationsModuleOrderBy = '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' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'READ_STATE_TABLE_ID_ASC' | 'READ_STATE_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC' | 'HAS_CHANNELS_ASC' | 'HAS_CHANNELS_DESC' | 'HAS_PREFERENCES_ASC' | 'HAS_PREFERENCES_DESC' | 'HAS_SETTINGS_EXTENSION_ASC' | 'HAS_SETTINGS_EXTENSION_DESC' | 'HAS_DIGEST_METADATA_ASC' | 'HAS_DIGEST_METADATA_DESC' | 'HAS_SUBSCRIPTIONS_ASC' | 'HAS_SUBSCRIPTIONS_DESC';
11318
11344
  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';
11319
11345
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11320
11346
  export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -13849,13 +13875,18 @@ export interface CreateNotificationsModuleInput {
13849
13875
  schemaId?: string;
13850
13876
  privateSchemaId?: string;
13851
13877
  notificationsTableId?: string;
13852
- eventsTableId?: string;
13878
+ readStateTableId?: string;
13853
13879
  preferencesTableId?: string;
13854
13880
  channelsTableId?: string;
13855
13881
  deliveryLogTableId?: string;
13856
13882
  ownerTableId?: string;
13857
13883
  userSettingsTableId?: string;
13858
13884
  organizationSettingsTableId?: string;
13885
+ hasChannels?: boolean;
13886
+ hasPreferences?: boolean;
13887
+ hasSettingsExtension?: boolean;
13888
+ hasDigestMetadata?: boolean;
13889
+ hasSubscriptions?: boolean;
13859
13890
  };
13860
13891
  }
13861
13892
  export interface NotificationsModulePatch {
@@ -13863,13 +13894,18 @@ export interface NotificationsModulePatch {
13863
13894
  schemaId?: string | null;
13864
13895
  privateSchemaId?: string | null;
13865
13896
  notificationsTableId?: string | null;
13866
- eventsTableId?: string | null;
13897
+ readStateTableId?: string | null;
13867
13898
  preferencesTableId?: string | null;
13868
13899
  channelsTableId?: string | null;
13869
13900
  deliveryLogTableId?: string | null;
13870
13901
  ownerTableId?: string | null;
13871
13902
  userSettingsTableId?: string | null;
13872
13903
  organizationSettingsTableId?: string | null;
13904
+ hasChannels?: boolean | null;
13905
+ hasPreferences?: boolean | null;
13906
+ hasSettingsExtension?: boolean | null;
13907
+ hasDigestMetadata?: boolean | null;
13908
+ hasSubscriptions?: boolean | null;
13873
13909
  }
13874
13910
  export interface UpdateNotificationsModuleInput {
13875
13911
  clientMutationId?: string;
@@ -20073,8 +20109,8 @@ export interface NotificationsModuleFilter {
20073
20109
  privateSchemaId?: UUIDFilter;
20074
20110
  /** Filter by the object’s `notificationsTableId` field. */
20075
20111
  notificationsTableId?: UUIDFilter;
20076
- /** Filter by the object’s `eventsTableId` field. */
20077
- eventsTableId?: UUIDFilter;
20112
+ /** Filter by the object’s `readStateTableId` field. */
20113
+ readStateTableId?: UUIDFilter;
20078
20114
  /** Filter by the object’s `preferencesTableId` field. */
20079
20115
  preferencesTableId?: UUIDFilter;
20080
20116
  /** Filter by the object’s `channelsTableId` field. */
@@ -20087,6 +20123,16 @@ export interface NotificationsModuleFilter {
20087
20123
  userSettingsTableId?: UUIDFilter;
20088
20124
  /** Filter by the object’s `organizationSettingsTableId` field. */
20089
20125
  organizationSettingsTableId?: UUIDFilter;
20126
+ /** Filter by the object’s `hasChannels` field. */
20127
+ hasChannels?: BooleanFilter;
20128
+ /** Filter by the object’s `hasPreferences` field. */
20129
+ hasPreferences?: BooleanFilter;
20130
+ /** Filter by the object’s `hasSettingsExtension` field. */
20131
+ hasSettingsExtension?: BooleanFilter;
20132
+ /** Filter by the object’s `hasDigestMetadata` field. */
20133
+ hasDigestMetadata?: BooleanFilter;
20134
+ /** Filter by the object’s `hasSubscriptions` field. */
20135
+ hasSubscriptions?: BooleanFilter;
20090
20136
  /** Checks for all expressions in this list. */
20091
20137
  and?: NotificationsModuleFilter[];
20092
20138
  /** Checks for any expressions in this list. */
@@ -20095,12 +20141,14 @@ export interface NotificationsModuleFilter {
20095
20141
  not?: NotificationsModuleFilter;
20096
20142
  /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
20097
20143
  channelsTableByChannelsTableId?: TableFilter;
20144
+ /** A related `channelsTableByChannelsTableId` exists. */
20145
+ channelsTableByChannelsTableIdExists?: boolean;
20098
20146
  /** Filter by the object’s `database` relation. */
20099
20147
  database?: DatabaseFilter;
20100
20148
  /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
20101
20149
  deliveryLogTableByDeliveryLogTableId?: TableFilter;
20102
- /** Filter by the object’s `eventsTableByEventsTableId` relation. */
20103
- eventsTableByEventsTableId?: TableFilter;
20150
+ /** A related `deliveryLogTableByDeliveryLogTableId` exists. */
20151
+ deliveryLogTableByDeliveryLogTableIdExists?: boolean;
20104
20152
  /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
20105
20153
  notificationsTableByNotificationsTableId?: TableFilter;
20106
20154
  /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
@@ -20111,8 +20159,12 @@ export interface NotificationsModuleFilter {
20111
20159
  ownerTable?: TableFilter;
20112
20160
  /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
20113
20161
  preferencesTableByPreferencesTableId?: TableFilter;
20162
+ /** A related `preferencesTableByPreferencesTableId` exists. */
20163
+ preferencesTableByPreferencesTableIdExists?: boolean;
20114
20164
  /** Filter by the object’s `privateSchema` relation. */
20115
20165
  privateSchema?: SchemaFilter;
20166
+ /** Filter by the object’s `readStateTableByReadStateTableId` relation. */
20167
+ readStateTableByReadStateTableId?: TableFilter;
20116
20168
  /** Filter by the object’s `schema` relation. */
20117
20169
  schema?: SchemaFilter;
20118
20170
  /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/sdk",
3
- "version": "0.14.9",
3
+ "version": "0.14.11",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive SDK - Auto-generated GraphQL types and ORM client",
6
6
  "main": "index.js",
@@ -47,11 +47,11 @@
47
47
  "graphql": "16.13.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@constructive-io/graphql-codegen": "^4.30.8",
50
+ "@constructive-io/graphql-codegen": "^4.31.0",
51
51
  "@types/node": "^22.19.11",
52
52
  "makage": "^0.3.0",
53
53
  "tsx": "^4.19.0",
54
54
  "typescript": "^5.9.3"
55
55
  },
56
- "gitHead": "ad2d49ede1f962293e13d68843831897f267915d"
56
+ "gitHead": "434a578648cb04d3ed25e79a75c654f71573292f"
57
57
  }
@@ -1572,13 +1572,18 @@ export interface NotificationsModule {
1572
1572
  schemaId?: string | null;
1573
1573
  privateSchemaId?: string | null;
1574
1574
  notificationsTableId?: string | null;
1575
- eventsTableId?: string | null;
1575
+ readStateTableId?: string | null;
1576
1576
  preferencesTableId?: string | null;
1577
1577
  channelsTableId?: string | null;
1578
1578
  deliveryLogTableId?: string | null;
1579
1579
  ownerTableId?: string | null;
1580
1580
  userSettingsTableId?: string | null;
1581
1581
  organizationSettingsTableId?: string | null;
1582
+ hasChannels?: boolean | null;
1583
+ hasPreferences?: boolean | null;
1584
+ hasSettingsExtension?: boolean | null;
1585
+ hasDigestMetadata?: boolean | null;
1586
+ hasSubscriptions?: boolean | null;
1582
1587
  }
1583
1588
  /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */
1584
1589
  export interface DatabaseProvisionModule {
@@ -2798,12 +2803,12 @@ export interface NotificationsModuleRelations {
2798
2803
  channelsTableByChannelsTableId?: Table | null;
2799
2804
  database?: Database | null;
2800
2805
  deliveryLogTableByDeliveryLogTableId?: Table | null;
2801
- eventsTableByEventsTableId?: Table | null;
2802
2806
  notificationsTableByNotificationsTableId?: Table | null;
2803
2807
  organizationSettingsTableByOrganizationSettingsTableId?: Table | null;
2804
2808
  ownerTable?: Table | null;
2805
2809
  preferencesTableByPreferencesTableId?: Table | null;
2806
2810
  privateSchema?: Schema | null;
2811
+ readStateTableByReadStateTableId?: Table | null;
2807
2812
  schema?: Schema | null;
2808
2813
  userSettingsTableByUserSettingsTableId?: Table | null;
2809
2814
  }
@@ -5439,13 +5444,18 @@ export type NotificationsModuleSelect = {
5439
5444
  schemaId?: boolean;
5440
5445
  privateSchemaId?: boolean;
5441
5446
  notificationsTableId?: boolean;
5442
- eventsTableId?: boolean;
5447
+ readStateTableId?: boolean;
5443
5448
  preferencesTableId?: boolean;
5444
5449
  channelsTableId?: boolean;
5445
5450
  deliveryLogTableId?: boolean;
5446
5451
  ownerTableId?: boolean;
5447
5452
  userSettingsTableId?: boolean;
5448
5453
  organizationSettingsTableId?: boolean;
5454
+ hasChannels?: boolean;
5455
+ hasPreferences?: boolean;
5456
+ hasSettingsExtension?: boolean;
5457
+ hasDigestMetadata?: boolean;
5458
+ hasSubscriptions?: boolean;
5449
5459
  channelsTableByChannelsTableId?: {
5450
5460
  select: TableSelect;
5451
5461
  };
@@ -5455,9 +5465,6 @@ export type NotificationsModuleSelect = {
5455
5465
  deliveryLogTableByDeliveryLogTableId?: {
5456
5466
  select: TableSelect;
5457
5467
  };
5458
- eventsTableByEventsTableId?: {
5459
- select: TableSelect;
5460
- };
5461
5468
  notificationsTableByNotificationsTableId?: {
5462
5469
  select: TableSelect;
5463
5470
  };
@@ -5473,6 +5480,9 @@ export type NotificationsModuleSelect = {
5473
5480
  privateSchema?: {
5474
5481
  select: SchemaSelect;
5475
5482
  };
5483
+ readStateTableByReadStateTableId?: {
5484
+ select: TableSelect;
5485
+ };
5476
5486
  schema?: {
5477
5487
  select: SchemaSelect;
5478
5488
  };
@@ -9600,8 +9610,8 @@ export interface NotificationsModuleFilter {
9600
9610
  privateSchemaId?: UUIDFilter;
9601
9611
  /** Filter by the object’s `notificationsTableId` field. */
9602
9612
  notificationsTableId?: UUIDFilter;
9603
- /** Filter by the object’s `eventsTableId` field. */
9604
- eventsTableId?: UUIDFilter;
9613
+ /** Filter by the object’s `readStateTableId` field. */
9614
+ readStateTableId?: UUIDFilter;
9605
9615
  /** Filter by the object’s `preferencesTableId` field. */
9606
9616
  preferencesTableId?: UUIDFilter;
9607
9617
  /** Filter by the object’s `channelsTableId` field. */
@@ -9614,6 +9624,16 @@ export interface NotificationsModuleFilter {
9614
9624
  userSettingsTableId?: UUIDFilter;
9615
9625
  /** Filter by the object’s `organizationSettingsTableId` field. */
9616
9626
  organizationSettingsTableId?: UUIDFilter;
9627
+ /** Filter by the object’s `hasChannels` field. */
9628
+ hasChannels?: BooleanFilter;
9629
+ /** Filter by the object’s `hasPreferences` field. */
9630
+ hasPreferences?: BooleanFilter;
9631
+ /** Filter by the object’s `hasSettingsExtension` field. */
9632
+ hasSettingsExtension?: BooleanFilter;
9633
+ /** Filter by the object’s `hasDigestMetadata` field. */
9634
+ hasDigestMetadata?: BooleanFilter;
9635
+ /** Filter by the object’s `hasSubscriptions` field. */
9636
+ hasSubscriptions?: BooleanFilter;
9617
9637
  /** Checks for all expressions in this list. */
9618
9638
  and?: NotificationsModuleFilter[];
9619
9639
  /** Checks for any expressions in this list. */
@@ -9622,12 +9642,14 @@ export interface NotificationsModuleFilter {
9622
9642
  not?: NotificationsModuleFilter;
9623
9643
  /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
9624
9644
  channelsTableByChannelsTableId?: TableFilter;
9645
+ /** A related `channelsTableByChannelsTableId` exists. */
9646
+ channelsTableByChannelsTableIdExists?: boolean;
9625
9647
  /** Filter by the object’s `database` relation. */
9626
9648
  database?: DatabaseFilter;
9627
9649
  /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
9628
9650
  deliveryLogTableByDeliveryLogTableId?: TableFilter;
9629
- /** Filter by the object’s `eventsTableByEventsTableId` relation. */
9630
- eventsTableByEventsTableId?: TableFilter;
9651
+ /** A related `deliveryLogTableByDeliveryLogTableId` exists. */
9652
+ deliveryLogTableByDeliveryLogTableIdExists?: boolean;
9631
9653
  /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
9632
9654
  notificationsTableByNotificationsTableId?: TableFilter;
9633
9655
  /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
@@ -9638,8 +9660,12 @@ export interface NotificationsModuleFilter {
9638
9660
  ownerTable?: TableFilter;
9639
9661
  /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
9640
9662
  preferencesTableByPreferencesTableId?: TableFilter;
9663
+ /** A related `preferencesTableByPreferencesTableId` exists. */
9664
+ preferencesTableByPreferencesTableIdExists?: boolean;
9641
9665
  /** Filter by the object’s `privateSchema` relation. */
9642
9666
  privateSchema?: SchemaFilter;
9667
+ /** Filter by the object’s `readStateTableByReadStateTableId` relation. */
9668
+ readStateTableByReadStateTableId?: TableFilter;
9643
9669
  /** Filter by the object’s `schema` relation. */
9644
9670
  schema?: SchemaFilter;
9645
9671
  /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
@@ -11314,7 +11340,7 @@ export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
11314
11340
  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' | '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';
11315
11341
  export type WebauthnCredentialsModuleOrderBy = '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';
11316
11342
  export type WebauthnAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'CREDENTIALS_TABLE_ID_ASC' | 'CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSION_SECRETS_TABLE_ID_ASC' | 'SESSION_SECRETS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'RP_ID_ASC' | 'RP_ID_DESC' | 'RP_NAME_ASC' | 'RP_NAME_DESC' | 'ORIGIN_ALLOWLIST_ASC' | 'ORIGIN_ALLOWLIST_DESC' | 'ATTESTATION_TYPE_ASC' | 'ATTESTATION_TYPE_DESC' | 'REQUIRE_USER_VERIFICATION_ASC' | 'REQUIRE_USER_VERIFICATION_DESC' | 'RESIDENT_KEY_ASC' | 'RESIDENT_KEY_DESC' | 'CHALLENGE_EXPIRY_ASC' | 'CHALLENGE_EXPIRY_DESC';
11317
- export type NotificationsModuleOrderBy = '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' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC';
11343
+ export type NotificationsModuleOrderBy = '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' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'READ_STATE_TABLE_ID_ASC' | 'READ_STATE_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC' | 'HAS_CHANNELS_ASC' | 'HAS_CHANNELS_DESC' | 'HAS_PREFERENCES_ASC' | 'HAS_PREFERENCES_DESC' | 'HAS_SETTINGS_EXTENSION_ASC' | 'HAS_SETTINGS_EXTENSION_DESC' | 'HAS_DIGEST_METADATA_ASC' | 'HAS_DIGEST_METADATA_DESC' | 'HAS_SUBSCRIPTIONS_ASC' | 'HAS_SUBSCRIPTIONS_DESC';
11318
11344
  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';
11319
11345
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11320
11346
  export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -13849,13 +13875,18 @@ export interface CreateNotificationsModuleInput {
13849
13875
  schemaId?: string;
13850
13876
  privateSchemaId?: string;
13851
13877
  notificationsTableId?: string;
13852
- eventsTableId?: string;
13878
+ readStateTableId?: string;
13853
13879
  preferencesTableId?: string;
13854
13880
  channelsTableId?: string;
13855
13881
  deliveryLogTableId?: string;
13856
13882
  ownerTableId?: string;
13857
13883
  userSettingsTableId?: string;
13858
13884
  organizationSettingsTableId?: string;
13885
+ hasChannels?: boolean;
13886
+ hasPreferences?: boolean;
13887
+ hasSettingsExtension?: boolean;
13888
+ hasDigestMetadata?: boolean;
13889
+ hasSubscriptions?: boolean;
13859
13890
  };
13860
13891
  }
13861
13892
  export interface NotificationsModulePatch {
@@ -13863,13 +13894,18 @@ export interface NotificationsModulePatch {
13863
13894
  schemaId?: string | null;
13864
13895
  privateSchemaId?: string | null;
13865
13896
  notificationsTableId?: string | null;
13866
- eventsTableId?: string | null;
13897
+ readStateTableId?: string | null;
13867
13898
  preferencesTableId?: string | null;
13868
13899
  channelsTableId?: string | null;
13869
13900
  deliveryLogTableId?: string | null;
13870
13901
  ownerTableId?: string | null;
13871
13902
  userSettingsTableId?: string | null;
13872
13903
  organizationSettingsTableId?: string | null;
13904
+ hasChannels?: boolean | null;
13905
+ hasPreferences?: boolean | null;
13906
+ hasSettingsExtension?: boolean | null;
13907
+ hasDigestMetadata?: boolean | null;
13908
+ hasSubscriptions?: boolean | null;
13873
13909
  }
13874
13910
  export interface UpdateNotificationsModuleInput {
13875
13911
  clientMutationId?: string;
@@ -20073,8 +20109,8 @@ export interface NotificationsModuleFilter {
20073
20109
  privateSchemaId?: UUIDFilter;
20074
20110
  /** Filter by the object’s `notificationsTableId` field. */
20075
20111
  notificationsTableId?: UUIDFilter;
20076
- /** Filter by the object’s `eventsTableId` field. */
20077
- eventsTableId?: UUIDFilter;
20112
+ /** Filter by the object’s `readStateTableId` field. */
20113
+ readStateTableId?: UUIDFilter;
20078
20114
  /** Filter by the object’s `preferencesTableId` field. */
20079
20115
  preferencesTableId?: UUIDFilter;
20080
20116
  /** Filter by the object’s `channelsTableId` field. */
@@ -20087,6 +20123,16 @@ export interface NotificationsModuleFilter {
20087
20123
  userSettingsTableId?: UUIDFilter;
20088
20124
  /** Filter by the object’s `organizationSettingsTableId` field. */
20089
20125
  organizationSettingsTableId?: UUIDFilter;
20126
+ /** Filter by the object’s `hasChannels` field. */
20127
+ hasChannels?: BooleanFilter;
20128
+ /** Filter by the object’s `hasPreferences` field. */
20129
+ hasPreferences?: BooleanFilter;
20130
+ /** Filter by the object’s `hasSettingsExtension` field. */
20131
+ hasSettingsExtension?: BooleanFilter;
20132
+ /** Filter by the object’s `hasDigestMetadata` field. */
20133
+ hasDigestMetadata?: BooleanFilter;
20134
+ /** Filter by the object’s `hasSubscriptions` field. */
20135
+ hasSubscriptions?: BooleanFilter;
20090
20136
  /** Checks for all expressions in this list. */
20091
20137
  and?: NotificationsModuleFilter[];
20092
20138
  /** Checks for any expressions in this list. */
@@ -20095,12 +20141,14 @@ export interface NotificationsModuleFilter {
20095
20141
  not?: NotificationsModuleFilter;
20096
20142
  /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
20097
20143
  channelsTableByChannelsTableId?: TableFilter;
20144
+ /** A related `channelsTableByChannelsTableId` exists. */
20145
+ channelsTableByChannelsTableIdExists?: boolean;
20098
20146
  /** Filter by the object’s `database` relation. */
20099
20147
  database?: DatabaseFilter;
20100
20148
  /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
20101
20149
  deliveryLogTableByDeliveryLogTableId?: TableFilter;
20102
- /** Filter by the object’s `eventsTableByEventsTableId` relation. */
20103
- eventsTableByEventsTableId?: TableFilter;
20150
+ /** A related `deliveryLogTableByDeliveryLogTableId` exists. */
20151
+ deliveryLogTableByDeliveryLogTableIdExists?: boolean;
20104
20152
  /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
20105
20153
  notificationsTableByNotificationsTableId?: TableFilter;
20106
20154
  /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
@@ -20111,8 +20159,12 @@ export interface NotificationsModuleFilter {
20111
20159
  ownerTable?: TableFilter;
20112
20160
  /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
20113
20161
  preferencesTableByPreferencesTableId?: TableFilter;
20162
+ /** A related `preferencesTableByPreferencesTableId` exists. */
20163
+ preferencesTableByPreferencesTableIdExists?: boolean;
20114
20164
  /** Filter by the object’s `privateSchema` relation. */
20115
20165
  privateSchema?: SchemaFilter;
20166
+ /** Filter by the object’s `readStateTableByReadStateTableId` relation. */
20167
+ readStateTableByReadStateTableId?: TableFilter;
20116
20168
  /** Filter by the object’s `schema` relation. */
20117
20169
  schema?: SchemaFilter;
20118
20170
  /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */