@constructive-io/react 0.18.5 → 0.18.6

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 (65) hide show
  1. package/esm/public/hooks/index.d.ts +1 -1
  2. package/esm/public/hooks/index.js +1 -1
  3. package/esm/public/hooks/invalidation.d.ts +6 -0
  4. package/esm/public/hooks/invalidation.js +17 -1
  5. package/esm/public/hooks/mutation-keys.d.ts +12 -0
  6. package/esm/public/hooks/mutation-keys.js +7 -0
  7. package/esm/public/hooks/mutations/index.d.ts +3 -0
  8. package/esm/public/hooks/mutations/index.js +3 -0
  9. package/esm/public/hooks/mutations/useCreateRealtimeModuleMutation.d.ts +34 -0
  10. package/esm/public/hooks/mutations/useCreateRealtimeModuleMutation.js +31 -0
  11. package/esm/public/hooks/mutations/useDeleteRealtimeModuleMutation.d.ts +38 -0
  12. package/esm/public/hooks/mutations/useDeleteRealtimeModuleMutation.js +36 -0
  13. package/esm/public/hooks/mutations/useUpdateRealtimeModuleMutation.d.ts +40 -0
  14. package/esm/public/hooks/mutations/useUpdateRealtimeModuleMutation.js +37 -0
  15. package/esm/public/hooks/queries/index.d.ts +2 -0
  16. package/esm/public/hooks/queries/index.js +2 -0
  17. package/esm/public/hooks/queries/useRealtimeModuleQuery.d.ts +65 -0
  18. package/esm/public/hooks/queries/useRealtimeModuleQuery.js +47 -0
  19. package/esm/public/hooks/queries/useRealtimeModulesQuery.d.ts +69 -0
  20. package/esm/public/hooks/queries/useRealtimeModulesQuery.js +32 -0
  21. package/esm/public/hooks/query-keys.d.ts +14 -0
  22. package/esm/public/hooks/query-keys.js +8 -0
  23. package/esm/public/orm/index.d.ts +2 -0
  24. package/esm/public/orm/index.js +2 -0
  25. package/esm/public/orm/input-types.d.ts +380 -0
  26. package/esm/public/orm/input-types.js +7 -0
  27. package/esm/public/orm/models/index.d.ts +1 -0
  28. package/esm/public/orm/models/index.js +1 -0
  29. package/esm/public/orm/models/realtimeModule.d.ts +56 -0
  30. package/esm/public/orm/models/realtimeModule.js +96 -0
  31. package/esm/public/schema-types.d.ts +181 -1
  32. package/esm/public/types.d.ts +14 -0
  33. package/package.json +4 -4
  34. package/public/hooks/index.d.ts +1 -1
  35. package/public/hooks/index.js +1 -1
  36. package/public/hooks/invalidation.d.ts +6 -0
  37. package/public/hooks/invalidation.js +16 -0
  38. package/public/hooks/mutation-keys.d.ts +12 -0
  39. package/public/hooks/mutation-keys.js +10 -3
  40. package/public/hooks/mutations/index.d.ts +3 -0
  41. package/public/hooks/mutations/index.js +3 -0
  42. package/public/hooks/mutations/useCreateRealtimeModuleMutation.d.ts +34 -0
  43. package/public/hooks/mutations/useCreateRealtimeModuleMutation.js +34 -0
  44. package/public/hooks/mutations/useDeleteRealtimeModuleMutation.d.ts +38 -0
  45. package/public/hooks/mutations/useDeleteRealtimeModuleMutation.js +39 -0
  46. package/public/hooks/mutations/useUpdateRealtimeModuleMutation.d.ts +40 -0
  47. package/public/hooks/mutations/useUpdateRealtimeModuleMutation.js +40 -0
  48. package/public/hooks/queries/index.d.ts +2 -0
  49. package/public/hooks/queries/index.js +2 -0
  50. package/public/hooks/queries/useRealtimeModuleQuery.d.ts +65 -0
  51. package/public/hooks/queries/useRealtimeModuleQuery.js +53 -0
  52. package/public/hooks/queries/useRealtimeModulesQuery.d.ts +69 -0
  53. package/public/hooks/queries/useRealtimeModulesQuery.js +38 -0
  54. package/public/hooks/query-keys.d.ts +14 -0
  55. package/public/hooks/query-keys.js +11 -3
  56. package/public/orm/index.d.ts +2 -0
  57. package/public/orm/index.js +2 -0
  58. package/public/orm/input-types.d.ts +380 -0
  59. package/public/orm/input-types.js +7 -0
  60. package/public/orm/models/index.d.ts +1 -0
  61. package/public/orm/models/index.js +5 -3
  62. package/public/orm/models/realtimeModule.d.ts +56 -0
  63. package/public/orm/models/realtimeModule.js +100 -0
  64. package/public/schema-types.d.ts +181 -1
  65. package/public/types.d.ts +14 -0
@@ -0,0 +1,56 @@
1
+ /**
2
+ * RealtimeModule model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { RealtimeModuleWithRelations, RealtimeModuleSelect, RealtimeModuleFilter, RealtimeModuleOrderBy, CreateRealtimeModuleInput, RealtimeModulePatch } from '../input-types';
10
+ export declare class RealtimeModuleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends RealtimeModuleSelect>(args: FindManyArgs<S, RealtimeModuleFilter, RealtimeModuleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, RealtimeModuleSelect>): QueryBuilder<{
16
+ realtimeModules: ConnectionResult<InferSelectResult<RealtimeModuleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends RealtimeModuleSelect>(args: FindFirstArgs<S, RealtimeModuleFilter> & {
19
+ select: S;
20
+ } & StrictSelect<S, RealtimeModuleSelect>): QueryBuilder<{
21
+ realtimeModules: {
22
+ nodes: InferSelectResult<RealtimeModuleWithRelations, S>[];
23
+ };
24
+ }>;
25
+ findOne<S extends RealtimeModuleSelect>(args: {
26
+ id: string;
27
+ select: S;
28
+ } & StrictSelect<S, RealtimeModuleSelect>): QueryBuilder<{
29
+ realtimeModule: InferSelectResult<RealtimeModuleWithRelations, S> | null;
30
+ }>;
31
+ create<S extends RealtimeModuleSelect>(args: CreateArgs<S, CreateRealtimeModuleInput['realtimeModule']> & {
32
+ select: S;
33
+ } & StrictSelect<S, RealtimeModuleSelect>): QueryBuilder<{
34
+ createRealtimeModule: {
35
+ realtimeModule: InferSelectResult<RealtimeModuleWithRelations, S>;
36
+ };
37
+ }>;
38
+ update<S extends RealtimeModuleSelect>(args: UpdateArgs<S, {
39
+ id: string;
40
+ }, RealtimeModulePatch> & {
41
+ select: S;
42
+ } & StrictSelect<S, RealtimeModuleSelect>): QueryBuilder<{
43
+ updateRealtimeModule: {
44
+ realtimeModule: InferSelectResult<RealtimeModuleWithRelations, S>;
45
+ };
46
+ }>;
47
+ delete<S extends RealtimeModuleSelect>(args: DeleteArgs<{
48
+ id: string;
49
+ }, S> & {
50
+ select: S;
51
+ } & StrictSelect<S, RealtimeModuleSelect>): QueryBuilder<{
52
+ deleteRealtimeModule: {
53
+ realtimeModule: InferSelectResult<RealtimeModuleWithRelations, S>;
54
+ };
55
+ }>;
56
+ }
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RealtimeModuleModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class RealtimeModuleModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('RealtimeModule', 'realtimeModules', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'RealtimeModuleFilter', 'RealtimeModuleOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'RealtimeModule',
25
+ fieldName: 'realtimeModules',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('RealtimeModule', 'realtimeModules', args.select, {
32
+ where: args?.where,
33
+ }, 'RealtimeModuleFilter', input_types_1.connectionFieldsMap);
34
+ return new query_builder_1.QueryBuilder({
35
+ client: this.client,
36
+ operation: 'query',
37
+ operationName: 'RealtimeModule',
38
+ fieldName: 'realtimeModules',
39
+ document,
40
+ variables,
41
+ });
42
+ }
43
+ findOne(args) {
44
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('RealtimeModule', 'realtimeModules', args.select, {
45
+ where: {
46
+ id: {
47
+ equalTo: args.id,
48
+ },
49
+ },
50
+ first: 1,
51
+ }, 'RealtimeModuleFilter', 'RealtimeModuleOrderBy', input_types_1.connectionFieldsMap);
52
+ return new query_builder_1.QueryBuilder({
53
+ client: this.client,
54
+ operation: 'query',
55
+ operationName: 'RealtimeModule',
56
+ fieldName: 'realtimeModule',
57
+ document,
58
+ variables,
59
+ transform: (data) => ({
60
+ realtimeModule: data.realtimeModules?.nodes?.[0] ?? null,
61
+ }),
62
+ });
63
+ }
64
+ create(args) {
65
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('RealtimeModule', 'createRealtimeModule', 'realtimeModule', args.select, args.data, 'CreateRealtimeModuleInput', input_types_1.connectionFieldsMap);
66
+ return new query_builder_1.QueryBuilder({
67
+ client: this.client,
68
+ operation: 'mutation',
69
+ operationName: 'RealtimeModule',
70
+ fieldName: 'createRealtimeModule',
71
+ document,
72
+ variables,
73
+ });
74
+ }
75
+ update(args) {
76
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RealtimeModule', 'updateRealtimeModule', 'realtimeModule', args.select, args.where.id, args.data, 'UpdateRealtimeModuleInput', 'id', 'realtimeModulePatch', input_types_1.connectionFieldsMap);
77
+ return new query_builder_1.QueryBuilder({
78
+ client: this.client,
79
+ operation: 'mutation',
80
+ operationName: 'RealtimeModule',
81
+ fieldName: 'updateRealtimeModule',
82
+ document,
83
+ variables,
84
+ });
85
+ }
86
+ delete(args) {
87
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('RealtimeModule', 'deleteRealtimeModule', 'realtimeModule', {
88
+ id: args.where.id,
89
+ }, 'DeleteRealtimeModuleInput', args.select, input_types_1.connectionFieldsMap);
90
+ return new query_builder_1.QueryBuilder({
91
+ client: this.client,
92
+ operation: 'mutation',
93
+ operationName: 'RealtimeModule',
94
+ fieldName: 'deleteRealtimeModule',
95
+ document,
96
+ variables,
97
+ });
98
+ }
99
+ }
100
+ exports.RealtimeModuleModel = RealtimeModuleModel;
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { AgentMessage, AgentTask, AgentThread, Api, ApiModule, ApiSchema, ApiSetting, App, AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitCap, AppLimitCapsDefault, AppLimitCredit, AppLimitCreditCode, AppLimitCreditCodeItem, AppLimitCreditRedemption, AppLimitDefault, AppLimitEvent, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, AstMigration, AuditLog, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CheckConstraint, Commit, ConnectedAccountsModule, CorsSetting, CryptoAddress, CryptoAddressesModule, CryptoAuthModule, Database, DatabaseProvisionModule, DatabaseSetting, DatabaseTransfer, DefaultIdsModule, DefaultPrivilege, DenormalizedTableField, DevicesModule, Domain, Email, EmailsModule, EmbeddingChunk, EncryptedSecretsModule, EntityTypeProvision, Enum, Field, ForeignKeyConstraint, FullTextSearch, Function, GetAllRecord, HierarchyModule, IdentityProvider, IdentityProvidersModule, Index, InvitesModule, LevelsModule, LimitsModule, MembershipType, MembershipTypesModule, MembershipsModule, MigrateFile, NodeTypeRegistry, NotificationsModule, Object, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitAggregate, OrgLimitCap, OrgLimitCapsDefault, OrgLimitCredit, OrgLimitDefault, OrgLimitEvent, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, Partition, PermissionsModule, PhoneNumber, PhoneNumbersModule, PlansModule, Policy, PrimaryKeyConstraint, ProfilesModule, PubkeySetting, RateLimitsModule, Ref, RelationProvision, RlsModule, RlsSetting, RoleType, Schema, SchemaGrant, SecretsModule, SecureTableProvision, SessionSecretsModule, SessionsModule, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, StorageModule, Store, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, User, UserAuthModule, UserConnectedAccount, UsersModule, View, ViewGrant, ViewRule, ViewTable, WebauthnAuthModule, WebauthnCredential, WebauthnCredentialsModule, WebauthnSetting, BigIntFilter, BitStringFilter, BooleanFilter, DatetimeFilter, FloatFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
6
+ import type { AgentMessage, AgentTask, AgentThread, Api, ApiModule, ApiSchema, ApiSetting, App, AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitCap, AppLimitCapsDefault, AppLimitCredit, AppLimitCreditCode, AppLimitCreditCodeItem, AppLimitCreditRedemption, AppLimitDefault, AppLimitEvent, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, AstMigration, AuditLog, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CheckConstraint, Commit, ConnectedAccountsModule, CorsSetting, CryptoAddress, CryptoAddressesModule, CryptoAuthModule, Database, DatabaseProvisionModule, DatabaseSetting, DatabaseTransfer, DefaultIdsModule, DefaultPrivilege, DenormalizedTableField, DevicesModule, Domain, Email, EmailsModule, EmbeddingChunk, EncryptedSecretsModule, EntityTypeProvision, Enum, Field, ForeignKeyConstraint, FullTextSearch, Function, GetAllRecord, HierarchyModule, IdentityProvider, IdentityProvidersModule, Index, InvitesModule, LevelsModule, LimitsModule, MembershipType, MembershipTypesModule, MembershipsModule, MigrateFile, NodeTypeRegistry, NotificationsModule, Object, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitAggregate, OrgLimitCap, OrgLimitCapsDefault, OrgLimitCredit, OrgLimitDefault, OrgLimitEvent, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgMembershipSetting, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, Partition, PermissionsModule, PhoneNumber, PhoneNumbersModule, PlansModule, Policy, PrimaryKeyConstraint, ProfilesModule, PubkeySetting, RateLimitsModule, RealtimeModule, Ref, RelationProvision, RlsModule, RlsSetting, RoleType, Schema, SchemaGrant, SecretsModule, SecureTableProvision, SessionSecretsModule, SessionsModule, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, StorageModule, Store, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, User, UserAuthModule, UserConnectedAccount, UsersModule, View, ViewGrant, ViewRule, ViewTable, WebauthnAuthModule, WebauthnCredential, WebauthnCredentialsModule, WebauthnSetting, BigIntFilter, BitStringFilter, BooleanFilter, DatetimeFilter, FloatFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
7
  export type Base64EncodedBinary = unknown;
8
8
  export type ConstructiveInternalTypeAttachment = unknown;
9
9
  export type ConstructiveInternalTypeEmail = unknown;
@@ -55,6 +55,8 @@ export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_
55
55
  export type SessionSecretsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC';
56
56
  /** Methods to use when ordering `IdentityProvidersModule`. */
57
57
  export type IdentityProvidersModuleOrderBy = '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' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
58
+ /** Methods to use when ordering `RealtimeModule`. */
59
+ 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';
58
60
  /** Methods to use when ordering `Table`. */
59
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';
60
62
  /** Methods to use when ordering `SchemaGrant`. */
@@ -699,6 +701,10 @@ export interface DatabaseFilter {
699
701
  billingProviderModule?: BillingProviderModuleFilter;
700
702
  /** A related `billingProviderModule` exists. */
701
703
  billingProviderModuleExists?: boolean;
704
+ /** Filter by the object’s `realtimeModules` relation. */
705
+ realtimeModules?: DatabaseToManyRealtimeModuleFilter;
706
+ /** `realtimeModules` exist. */
707
+ realtimeModulesExist?: boolean;
702
708
  /** Filter by the object’s `databaseProvisionModules` relation. */
703
709
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
704
710
  /** `databaseProvisionModules` exist. */
@@ -3012,6 +3018,18 @@ export interface SchemaFilter {
3012
3018
  identityProvidersModules?: SchemaToManyIdentityProvidersModuleFilter;
3013
3019
  /** `identityProvidersModules` exist. */
3014
3020
  identityProvidersModulesExist?: boolean;
3021
+ /** Filter by the object’s `realtimeModulesByPrivateSchemaId` relation. */
3022
+ realtimeModulesByPrivateSchemaId?: SchemaToManyRealtimeModuleFilter;
3023
+ /** `realtimeModulesByPrivateSchemaId` exist. */
3024
+ realtimeModulesByPrivateSchemaIdExist?: boolean;
3025
+ /** Filter by the object’s `realtimeModules` relation. */
3026
+ realtimeModules?: SchemaToManyRealtimeModuleFilter;
3027
+ /** `realtimeModules` exist. */
3028
+ realtimeModulesExist?: boolean;
3029
+ /** Filter by the object’s `realtimeModulesBySubscriptionsSchemaId` relation. */
3030
+ realtimeModulesBySubscriptionsSchemaId?: SchemaToManyRealtimeModuleFilter;
3031
+ /** `realtimeModulesBySubscriptionsSchemaId` exist. */
3032
+ realtimeModulesBySubscriptionsSchemaIdExist?: boolean;
3015
3033
  }
3016
3034
  /** A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ */
3017
3035
  export interface SchemaToManyTableFilter {
@@ -3168,6 +3186,18 @@ export interface TableFilter {
3168
3186
  identityProvidersModules?: TableToManyIdentityProvidersModuleFilter;
3169
3187
  /** `identityProvidersModules` exist. */
3170
3188
  identityProvidersModulesExist?: boolean;
3189
+ /** Filter by the object’s `realtimeModulesByChangeLogTableId` relation. */
3190
+ realtimeModulesByChangeLogTableId?: TableToManyRealtimeModuleFilter;
3191
+ /** `realtimeModulesByChangeLogTableId` exist. */
3192
+ realtimeModulesByChangeLogTableIdExist?: boolean;
3193
+ /** Filter by the object’s `realtimeModulesByListenerNodeTableId` relation. */
3194
+ realtimeModulesByListenerNodeTableId?: TableToManyRealtimeModuleFilter;
3195
+ /** `realtimeModulesByListenerNodeTableId` exist. */
3196
+ realtimeModulesByListenerNodeTableIdExist?: boolean;
3197
+ /** Filter by the object’s `realtimeModulesBySourceRegistryTableId` relation. */
3198
+ realtimeModulesBySourceRegistryTableId?: TableToManyRealtimeModuleFilter;
3199
+ /** `realtimeModulesBySourceRegistryTableId` exist. */
3200
+ realtimeModulesBySourceRegistryTableIdExist?: boolean;
3171
3201
  }
3172
3202
  /** A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
3173
3203
  export interface TableToManyCheckConstraintFilter {
@@ -4257,6 +4287,62 @@ export interface IdentityProvidersModuleFilter {
4257
4287
  /** Filter by the object’s `table` relation. */
4258
4288
  table?: TableFilter;
4259
4289
  }
4290
+ /** A filter to be used against many `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
4291
+ export interface TableToManyRealtimeModuleFilter {
4292
+ /** Filters to entities where at least one related entity matches. */
4293
+ some?: RealtimeModuleFilter;
4294
+ /** Filters to entities where every related entity matches. */
4295
+ every?: RealtimeModuleFilter;
4296
+ /** Filters to entities where no related entity matches. */
4297
+ none?: RealtimeModuleFilter;
4298
+ }
4299
+ /** A filter to be used against `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
4300
+ export interface RealtimeModuleFilter {
4301
+ /** Filter by the object’s `id` field. */
4302
+ id?: UUIDFilter;
4303
+ /** Filter by the object’s `databaseId` field. */
4304
+ databaseId?: UUIDFilter;
4305
+ /** Filter by the object’s `schemaId` field. */
4306
+ schemaId?: UUIDFilter;
4307
+ /** Filter by the object’s `privateSchemaId` field. */
4308
+ privateSchemaId?: UUIDFilter;
4309
+ /** Filter by the object’s `subscriptionsSchemaId` field. */
4310
+ subscriptionsSchemaId?: UUIDFilter;
4311
+ /** Filter by the object’s `changeLogTableId` field. */
4312
+ changeLogTableId?: UUIDFilter;
4313
+ /** Filter by the object’s `listenerNodeTableId` field. */
4314
+ listenerNodeTableId?: UUIDFilter;
4315
+ /** Filter by the object’s `sourceRegistryTableId` field. */
4316
+ sourceRegistryTableId?: UUIDFilter;
4317
+ /** Filter by the object’s `retentionHours` field. */
4318
+ retentionHours?: IntFilter;
4319
+ /** Filter by the object’s `lookaheadHours` field. */
4320
+ lookaheadHours?: IntFilter;
4321
+ /** Filter by the object’s `partitionInterval` field. */
4322
+ partitionInterval?: StringFilter;
4323
+ /** Filter by the object’s `notifyChannel` field. */
4324
+ notifyChannel?: StringFilter;
4325
+ /** Checks for all expressions in this list. */
4326
+ and?: RealtimeModuleFilter[];
4327
+ /** Checks for any expressions in this list. */
4328
+ or?: RealtimeModuleFilter[];
4329
+ /** Negates the expression. */
4330
+ not?: RealtimeModuleFilter;
4331
+ /** Filter by the object’s `changeLogTable` relation. */
4332
+ changeLogTable?: TableFilter;
4333
+ /** Filter by the object’s `database` relation. */
4334
+ database?: DatabaseFilter;
4335
+ /** Filter by the object’s `listenerNodeTable` relation. */
4336
+ listenerNodeTable?: TableFilter;
4337
+ /** Filter by the object’s `privateSchema` relation. */
4338
+ privateSchema?: SchemaFilter;
4339
+ /** Filter by the object’s `schema` relation. */
4340
+ schema?: SchemaFilter;
4341
+ /** Filter by the object’s `sourceRegistryTable` relation. */
4342
+ sourceRegistryTable?: TableFilter;
4343
+ /** Filter by the object’s `subscriptionsSchema` relation. */
4344
+ subscriptionsSchema?: SchemaFilter;
4345
+ }
4260
4346
  /** A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */
4261
4347
  export interface SchemaToManySchemaGrantFilter {
4262
4348
  /** Filters to entities where at least one related entity matches. */
@@ -5071,6 +5157,15 @@ export interface SchemaToManyIdentityProvidersModuleFilter {
5071
5157
  /** Filters to entities where no related entity matches. */
5072
5158
  none?: IdentityProvidersModuleFilter;
5073
5159
  }
5160
+ /** A filter to be used against many `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
5161
+ export interface SchemaToManyRealtimeModuleFilter {
5162
+ /** Filters to entities where at least one related entity matches. */
5163
+ some?: RealtimeModuleFilter;
5164
+ /** Filters to entities where every related entity matches. */
5165
+ every?: RealtimeModuleFilter;
5166
+ /** Filters to entities where no related entity matches. */
5167
+ none?: RealtimeModuleFilter;
5168
+ }
5074
5169
  /** A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ */
5075
5170
  export interface DatabaseToManyTableFilter {
5076
5171
  /** Filters to entities where at least one related entity matches. */
@@ -7746,6 +7841,15 @@ export interface BillingProviderModuleFilter {
7746
7841
  /** A related `subscriptionsTable` exists. */
7747
7842
  subscriptionsTableExists?: boolean;
7748
7843
  }
7844
+ /** A filter to be used against many `RealtimeModule` object types. All fields are combined with a logical ‘and.’ */
7845
+ export interface DatabaseToManyRealtimeModuleFilter {
7846
+ /** Filters to entities where at least one related entity matches. */
7847
+ some?: RealtimeModuleFilter;
7848
+ /** Filters to entities where every related entity matches. */
7849
+ every?: RealtimeModuleFilter;
7850
+ /** Filters to entities where no related entity matches. */
7851
+ none?: RealtimeModuleFilter;
7852
+ }
7749
7853
  /** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
7750
7854
  export interface DatabaseToManyDatabaseProvisionModuleFilter {
7751
7855
  /** Filters to entities where at least one related entity matches. */
@@ -10248,6 +10352,26 @@ export interface DenormalizedTableFieldInput {
10248
10352
  funcName?: string;
10249
10353
  funcOrder?: number;
10250
10354
  }
10355
+ export interface CreateRealtimeModuleInput {
10356
+ clientMutationId?: string;
10357
+ /** The `RealtimeModule` to be created by this mutation. */
10358
+ realtimeModule: RealtimeModuleInput;
10359
+ }
10360
+ /** An input for mutations affecting `RealtimeModule` */
10361
+ export interface RealtimeModuleInput {
10362
+ id?: string;
10363
+ databaseId: string;
10364
+ schemaId?: string;
10365
+ privateSchemaId?: string;
10366
+ subscriptionsSchemaId?: string;
10367
+ changeLogTableId?: string;
10368
+ listenerNodeTableId?: string;
10369
+ sourceRegistryTableId?: string;
10370
+ retentionHours?: number;
10371
+ lookaheadHours?: number;
10372
+ partitionInterval?: string;
10373
+ notifyChannel?: string;
10374
+ }
10251
10375
  export interface CreateApiSettingInput {
10252
10376
  clientMutationId?: string;
10253
10377
  /** The `ApiSetting` to be created by this mutation. */
@@ -13625,6 +13749,27 @@ export interface DenormalizedTableFieldPatch {
13625
13749
  funcName?: string;
13626
13750
  funcOrder?: number;
13627
13751
  }
13752
+ export interface UpdateRealtimeModuleInput {
13753
+ clientMutationId?: string;
13754
+ id: string;
13755
+ /** An object where the defined keys will be set on the `RealtimeModule` being updated. */
13756
+ realtimeModulePatch: RealtimeModulePatch;
13757
+ }
13758
+ /** Represents an update to a `RealtimeModule`. Fields that are set will be updated. */
13759
+ export interface RealtimeModulePatch {
13760
+ id?: string;
13761
+ databaseId?: string;
13762
+ schemaId?: string;
13763
+ privateSchemaId?: string;
13764
+ subscriptionsSchemaId?: string;
13765
+ changeLogTableId?: string;
13766
+ listenerNodeTableId?: string;
13767
+ sourceRegistryTableId?: string;
13768
+ retentionHours?: number;
13769
+ lookaheadHours?: number;
13770
+ partitionInterval?: string;
13771
+ notifyChannel?: string;
13772
+ }
13628
13773
  export interface UpdateApiSettingInput {
13629
13774
  clientMutationId?: string;
13630
13775
  /** Unique identifier for this API settings record */
@@ -15750,6 +15895,10 @@ export interface DeleteDenormalizedTableFieldInput {
15750
15895
  clientMutationId?: string;
15751
15896
  id: string;
15752
15897
  }
15898
+ export interface DeleteRealtimeModuleInput {
15899
+ clientMutationId?: string;
15900
+ id: string;
15901
+ }
15753
15902
  export interface DeleteApiSettingInput {
15754
15903
  clientMutationId?: string;
15755
15904
  /** Unique identifier for this API settings record */
@@ -16632,6 +16781,13 @@ export interface DenormalizedTableFieldConnection {
16632
16781
  pageInfo: PageInfo;
16633
16782
  totalCount: number;
16634
16783
  }
16784
+ /** A connection to a list of `RealtimeModule` values. */
16785
+ export interface RealtimeModuleConnection {
16786
+ nodes: RealtimeModule[];
16787
+ edges: RealtimeModuleEdge[];
16788
+ pageInfo: PageInfo;
16789
+ totalCount: number;
16790
+ }
16635
16791
  /** A connection to a list of `ApiSetting` values. */
16636
16792
  export interface ApiSettingConnection {
16637
16793
  nodes: ApiSetting[];
@@ -17730,6 +17886,12 @@ export interface CreateDenormalizedTableFieldPayload {
17730
17886
  denormalizedTableField?: DenormalizedTableField | null;
17731
17887
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
17732
17888
  }
17889
+ export interface CreateRealtimeModulePayload {
17890
+ clientMutationId?: string | null;
17891
+ /** The `RealtimeModule` that was created by this mutation. */
17892
+ realtimeModule?: RealtimeModule | null;
17893
+ realtimeModuleEdge?: RealtimeModuleEdge | null;
17894
+ }
17733
17895
  export interface CreateApiSettingPayload {
17734
17896
  clientMutationId?: string | null;
17735
17897
  /** The `ApiSetting` that was created by this mutation. */
@@ -18562,6 +18724,12 @@ export interface UpdateDenormalizedTableFieldPayload {
18562
18724
  denormalizedTableField?: DenormalizedTableField | null;
18563
18725
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
18564
18726
  }
18727
+ export interface UpdateRealtimeModulePayload {
18728
+ clientMutationId?: string | null;
18729
+ /** The `RealtimeModule` that was updated by this mutation. */
18730
+ realtimeModule?: RealtimeModule | null;
18731
+ realtimeModuleEdge?: RealtimeModuleEdge | null;
18732
+ }
18565
18733
  export interface UpdateApiSettingPayload {
18566
18734
  clientMutationId?: string | null;
18567
18735
  /** The `ApiSetting` that was updated by this mutation. */
@@ -19384,6 +19552,12 @@ export interface DeleteDenormalizedTableFieldPayload {
19384
19552
  denormalizedTableField?: DenormalizedTableField | null;
19385
19553
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
19386
19554
  }
19555
+ export interface DeleteRealtimeModulePayload {
19556
+ clientMutationId?: string | null;
19557
+ /** The `RealtimeModule` that was deleted by this mutation. */
19558
+ realtimeModule?: RealtimeModule | null;
19559
+ realtimeModuleEdge?: RealtimeModuleEdge | null;
19560
+ }
19387
19561
  export interface DeleteApiSettingPayload {
19388
19562
  clientMutationId?: string | null;
19389
19563
  /** The `ApiSetting` that was deleted by this mutation. */
@@ -20279,6 +20453,12 @@ export interface DenormalizedTableFieldEdge {
20279
20453
  /** The `DenormalizedTableField` at the end of the edge. */
20280
20454
  node?: DenormalizedTableField | null;
20281
20455
  }
20456
+ /** A `RealtimeModule` edge in the connection. */
20457
+ export interface RealtimeModuleEdge {
20458
+ cursor?: string | null;
20459
+ /** The `RealtimeModule` at the end of the edge. */
20460
+ node?: RealtimeModule | null;
20461
+ }
20282
20462
  /** A `ApiSetting` edge in the connection. */
20283
20463
  export interface ApiSettingEdge {
20284
20464
  cursor?: string | null;
package/public/types.d.ts CHANGED
@@ -421,6 +421,20 @@ export interface IdentityProvidersModule {
421
421
  tableId: string | null;
422
422
  tableName: string | null;
423
423
  }
424
+ export interface RealtimeModule {
425
+ id: string | null;
426
+ databaseId: string | null;
427
+ schemaId: string | null;
428
+ privateSchemaId: string | null;
429
+ subscriptionsSchemaId: string | null;
430
+ changeLogTableId: string | null;
431
+ listenerNodeTableId: string | null;
432
+ sourceRegistryTableId: string | null;
433
+ retentionHours: number | null;
434
+ lookaheadHours: number | null;
435
+ partitionInterval: string | null;
436
+ notifyChannel: string | null;
437
+ }
424
438
  export interface SchemaGrant {
425
439
  id: string | null;
426
440
  databaseId: string | null;