@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
@@ -34,6 +34,7 @@ export { SecureTableProvisionModel } from './secureTableProvision';
34
34
  export { RelationProvisionModel } from './relationProvision';
35
35
  export { SessionSecretsModuleModel } from './sessionSecretsModule';
36
36
  export { IdentityProvidersModuleModel } from './identityProvidersModule';
37
+ export { RealtimeModuleModel } from './realtimeModule';
37
38
  export { SchemaGrantModel } from './schemaGrant';
38
39
  export { DefaultPrivilegeModel } from './defaultPrivilege';
39
40
  export { EnumModel } from './enum';
@@ -34,6 +34,7 @@ export { SecureTableProvisionModel } from './secureTableProvision';
34
34
  export { RelationProvisionModel } from './relationProvision';
35
35
  export { SessionSecretsModuleModel } from './sessionSecretsModule';
36
36
  export { IdentityProvidersModuleModel } from './identityProvidersModule';
37
+ export { RealtimeModuleModel } from './realtimeModule';
37
38
  export { SchemaGrantModel } from './schemaGrant';
38
39
  export { DefaultPrivilegeModel } from './defaultPrivilege';
39
40
  export { EnumModel } from './enum';
@@ -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,96 @@
1
+ import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
2
+ import { connectionFieldsMap } from '../input-types';
3
+ export class RealtimeModuleModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('RealtimeModule', 'realtimeModules', args.select, {
10
+ where: args?.where,
11
+ orderBy: args?.orderBy,
12
+ first: args?.first,
13
+ last: args?.last,
14
+ after: args?.after,
15
+ before: args?.before,
16
+ offset: args?.offset,
17
+ }, 'RealtimeModuleFilter', 'RealtimeModuleOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'RealtimeModule',
22
+ fieldName: 'realtimeModules',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('RealtimeModule', 'realtimeModules', args.select, {
29
+ where: args?.where,
30
+ }, 'RealtimeModuleFilter', connectionFieldsMap);
31
+ return new QueryBuilder({
32
+ client: this.client,
33
+ operation: 'query',
34
+ operationName: 'RealtimeModule',
35
+ fieldName: 'realtimeModules',
36
+ document,
37
+ variables,
38
+ });
39
+ }
40
+ findOne(args) {
41
+ const { document, variables } = buildFindManyDocument('RealtimeModule', 'realtimeModules', args.select, {
42
+ where: {
43
+ id: {
44
+ equalTo: args.id,
45
+ },
46
+ },
47
+ first: 1,
48
+ }, 'RealtimeModuleFilter', 'RealtimeModuleOrderBy', connectionFieldsMap);
49
+ return new QueryBuilder({
50
+ client: this.client,
51
+ operation: 'query',
52
+ operationName: 'RealtimeModule',
53
+ fieldName: 'realtimeModule',
54
+ document,
55
+ variables,
56
+ transform: (data) => ({
57
+ realtimeModule: data.realtimeModules?.nodes?.[0] ?? null,
58
+ }),
59
+ });
60
+ }
61
+ create(args) {
62
+ const { document, variables } = buildCreateDocument('RealtimeModule', 'createRealtimeModule', 'realtimeModule', args.select, args.data, 'CreateRealtimeModuleInput', connectionFieldsMap);
63
+ return new QueryBuilder({
64
+ client: this.client,
65
+ operation: 'mutation',
66
+ operationName: 'RealtimeModule',
67
+ fieldName: 'createRealtimeModule',
68
+ document,
69
+ variables,
70
+ });
71
+ }
72
+ update(args) {
73
+ const { document, variables } = buildUpdateByPkDocument('RealtimeModule', 'updateRealtimeModule', 'realtimeModule', args.select, args.where.id, args.data, 'UpdateRealtimeModuleInput', 'id', 'realtimeModulePatch', connectionFieldsMap);
74
+ return new QueryBuilder({
75
+ client: this.client,
76
+ operation: 'mutation',
77
+ operationName: 'RealtimeModule',
78
+ fieldName: 'updateRealtimeModule',
79
+ document,
80
+ variables,
81
+ });
82
+ }
83
+ delete(args) {
84
+ const { document, variables } = buildDeleteByPkDocument('RealtimeModule', 'deleteRealtimeModule', 'realtimeModule', {
85
+ id: args.where.id,
86
+ }, 'DeleteRealtimeModuleInput', args.select, connectionFieldsMap);
87
+ return new QueryBuilder({
88
+ client: this.client,
89
+ operation: 'mutation',
90
+ operationName: 'RealtimeModule',
91
+ fieldName: 'deleteRealtimeModule',
92
+ document,
93
+ variables,
94
+ });
95
+ }
96
+ }
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/react",
3
- "version": "0.18.5",
3
+ "version": "0.18.6",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive React - Auto-generated React Query hooks and ORM client",
6
6
  "main": "index.js",
@@ -42,7 +42,7 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@0no-co/graphql.web": "^1.1.2",
45
- "@constructive-io/graphql-query": "^3.21.2",
45
+ "@constructive-io/graphql-query": "^3.22.0",
46
46
  "@constructive-io/graphql-types": "^3.8.0",
47
47
  "@tanstack/react-query": "^5.90.21",
48
48
  "gql-ast": "^3.8.0",
@@ -52,7 +52,7 @@
52
52
  "react": "^18.0.0 || ^19.0.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@constructive-io/graphql-codegen": "^4.38.2",
55
+ "@constructive-io/graphql-codegen": "^4.39.0",
56
56
  "@types/node": "^22.19.11",
57
57
  "@types/react": "^19.2.14",
58
58
  "makage": "^0.3.0",
@@ -60,5 +60,5 @@
60
60
  "tsx": "^4.19.0",
61
61
  "typescript": "^5.9.3"
62
62
  },
63
- "gitHead": "38a99d5e61d756271a0024eb16d4f85923da936f"
63
+ "gitHead": "90016935b53d6fb84e0b83879377f0c2eb9abce6"
64
64
  }
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, Partition, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, SchemaGrant, DefaultPrivilege, Enum, Function, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, CorsSetting, TriggerFunction, DatabaseTransfer, Api, Site, App, ApiSetting, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, AppLimitCredit, AppLimitCreditCodeItem, AppLimitCreditRedemption, OrgLimit, OrgLimitCredit, OrgLimitAggregate, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AgentThread, AgentMessage, AgentTask, RoleType, IdentityProvider, Ref, Store, AppPermissionDefault, AppLimitCreditCode, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, MembershipType, MigrateFile, DevicesModule, NodeTypeRegistry, AppLimitDefault, OrgLimitDefault, UserConnectedAccount, Commit, PubkeySetting, RateLimitsModule, AppMembershipDefault, OrgMembershipDefault, RlsSetting, AppLimitEvent, OrgLimitEvent, RlsModule, DatabaseSetting, PlansModule, SqlAction, BillingModule, AstMigration, User, OrgMembershipSetting, WebauthnSetting, AppMembership, BillingProviderModule, HierarchyModule
5
+ * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, Partition, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, RealtimeModule, SchemaGrant, DefaultPrivilege, Enum, Function, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, CorsSetting, TriggerFunction, DatabaseTransfer, Api, Site, App, ApiSetting, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, AppLimitCredit, AppLimitCreditCodeItem, AppLimitCreditRedemption, OrgLimit, OrgLimitCredit, OrgLimitAggregate, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AgentThread, AgentMessage, AgentTask, RoleType, IdentityProvider, Ref, Store, AppPermissionDefault, AppLimitCreditCode, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, MembershipType, MigrateFile, DevicesModule, NodeTypeRegistry, AppLimitDefault, OrgLimitDefault, UserConnectedAccount, Commit, PubkeySetting, RateLimitsModule, AppMembershipDefault, OrgMembershipDefault, RlsSetting, AppLimitEvent, OrgLimitEvent, RlsModule, DatabaseSetting, PlansModule, SqlAction, BillingModule, AstMigration, User, OrgMembershipSetting, WebauthnSetting, AppMembership, BillingProviderModule, HierarchyModule
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  * GraphQL SDK
19
19
  * @generated by @constructive-io/graphql-codegen
20
20
  *
21
- * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, Partition, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, SchemaGrant, DefaultPrivilege, Enum, Function, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, CorsSetting, TriggerFunction, DatabaseTransfer, Api, Site, App, ApiSetting, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, AppLimitCredit, AppLimitCreditCodeItem, AppLimitCreditRedemption, OrgLimit, OrgLimitCredit, OrgLimitAggregate, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AgentThread, AgentMessage, AgentTask, RoleType, IdentityProvider, Ref, Store, AppPermissionDefault, AppLimitCreditCode, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, MembershipType, MigrateFile, DevicesModule, NodeTypeRegistry, AppLimitDefault, OrgLimitDefault, UserConnectedAccount, Commit, PubkeySetting, RateLimitsModule, AppMembershipDefault, OrgMembershipDefault, RlsSetting, AppLimitEvent, OrgLimitEvent, RlsModule, DatabaseSetting, PlansModule, SqlAction, BillingModule, AstMigration, User, OrgMembershipSetting, WebauthnSetting, AppMembership, BillingProviderModule, HierarchyModule
21
+ * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, Partition, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, RealtimeModule, SchemaGrant, DefaultPrivilege, Enum, Function, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, CorsSetting, TriggerFunction, DatabaseTransfer, Api, Site, App, ApiSetting, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, AppLimitCredit, AppLimitCreditCodeItem, AppLimitCreditRedemption, OrgLimit, OrgLimitCredit, OrgLimitAggregate, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AgentThread, AgentMessage, AgentTask, RoleType, IdentityProvider, Ref, Store, AppPermissionDefault, AppLimitCreditCode, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, MembershipType, MigrateFile, DevicesModule, NodeTypeRegistry, AppLimitDefault, OrgLimitDefault, UserConnectedAccount, Commit, PubkeySetting, RateLimitsModule, AppMembershipDefault, OrgMembershipDefault, RlsSetting, AppLimitEvent, OrgLimitEvent, RlsModule, DatabaseSetting, PlansModule, SqlAction, BillingModule, AstMigration, User, OrgMembershipSetting, WebauthnSetting, AppMembership, BillingProviderModule, HierarchyModule
22
22
  *
23
23
  * Usage:
24
24
  *
@@ -179,6 +179,11 @@ export declare const invalidate: {
179
179
  /** Invalidate identityProvidersModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
180
180
  /** Invalidate a specific identityProvidersModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
181
181
  };
182
+ /** Invalidate realtimeModule queries */ readonly realtimeModule: {
183
+ /** Invalidate all realtimeModule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
184
+ /** Invalidate realtimeModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
185
+ /** Invalidate a specific realtimeModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
186
+ };
182
187
  /** Invalidate schemaGrant queries */ readonly schemaGrant: {
183
188
  /** Invalidate all schemaGrant queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
184
189
  /** Invalidate schemaGrant list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -803,6 +808,7 @@ export declare const remove: {
803
808
  /** Remove relationProvision from cache */ readonly relationProvision: (queryClient: QueryClient, id: string | number) => void;
804
809
  /** Remove sessionSecretsModule from cache */ readonly sessionSecretsModule: (queryClient: QueryClient, id: string | number) => void;
805
810
  /** Remove identityProvidersModule from cache */ readonly identityProvidersModule: (queryClient: QueryClient, id: string | number) => void;
811
+ /** Remove realtimeModule from cache */ readonly realtimeModule: (queryClient: QueryClient, id: string | number) => void;
806
812
  /** Remove schemaGrant from cache */ readonly schemaGrant: (queryClient: QueryClient, id: string | number) => void;
807
813
  /** Remove defaultPrivilege from cache */ readonly defaultPrivilege: (queryClient: QueryClient, id: string | number) => void;
808
814
  /** Remove enum from cache */ readonly enum: (queryClient: QueryClient, id: string | number) => void;
@@ -368,6 +368,17 @@ exports.invalidate = {
368
368
  queryKey: query_keys_1.identityProvidersModuleKeys.detail(id),
369
369
  }),
370
370
  },
371
+ /** Invalidate realtimeModule queries */ realtimeModule: {
372
+ /** Invalidate all realtimeModule queries */ all: (queryClient) => queryClient.invalidateQueries({
373
+ queryKey: query_keys_1.realtimeModuleKeys.all,
374
+ }),
375
+ /** Invalidate realtimeModule list queries */ lists: (queryClient) => queryClient.invalidateQueries({
376
+ queryKey: query_keys_1.realtimeModuleKeys.lists(),
377
+ }),
378
+ /** Invalidate a specific realtimeModule */ detail: (queryClient, id) => queryClient.invalidateQueries({
379
+ queryKey: query_keys_1.realtimeModuleKeys.detail(id),
380
+ }),
381
+ },
371
382
  /** Invalidate schemaGrant queries */ schemaGrant: {
372
383
  /** Invalidate all schemaGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
373
384
  queryKey: query_keys_1.schemaGrantKeys.all,
@@ -1812,6 +1823,11 @@ exports.remove = {
1812
1823
  queryKey: query_keys_1.identityProvidersModuleKeys.detail(id),
1813
1824
  });
1814
1825
  },
1826
+ /** Remove realtimeModule from cache */ realtimeModule: (queryClient, id) => {
1827
+ queryClient.removeQueries({
1828
+ queryKey: query_keys_1.realtimeModuleKeys.detail(id),
1829
+ });
1830
+ },
1815
1831
  /** Remove schemaGrant from cache */ schemaGrant: (queryClient, id) => {
1816
1832
  queryClient.removeQueries({
1817
1833
  queryKey: query_keys_1.schemaGrantKeys.detail(id),
@@ -189,6 +189,12 @@ export declare const identityProvidersModuleMutationKeys: {
189
189
  /** Update identityProvidersModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "identityprovidersmodule", "update", string | number];
190
190
  /** Delete identityProvidersModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "identityprovidersmodule", "delete", string | number];
191
191
  };
192
+ export declare const realtimeModuleMutationKeys: {
193
+ /** All realtimeModule mutation keys */ readonly all: readonly ["mutation", "realtimemodule"];
194
+ /** Create realtimeModule mutation key */ readonly create: () => readonly ["mutation", "realtimemodule", "create"];
195
+ /** Update realtimeModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "realtimemodule", "update", string | number];
196
+ /** Delete realtimeModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "realtimemodule", "delete", string | number];
197
+ };
192
198
  export declare const schemaGrantMutationKeys: {
193
199
  /** All schemaGrant mutation keys */ readonly all: readonly ["mutation", "schemagrant"];
194
200
  /** Create schemaGrant mutation key */ readonly create: () => readonly ["mutation", "schemagrant", "create"];
@@ -1145,6 +1151,12 @@ export declare const mutationKeys: {
1145
1151
  /** Update identityProvidersModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "identityprovidersmodule", "update", string | number];
1146
1152
  /** Delete identityProvidersModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "identityprovidersmodule", "delete", string | number];
1147
1153
  };
1154
+ readonly realtimeModule: {
1155
+ /** All realtimeModule mutation keys */ readonly all: readonly ["mutation", "realtimemodule"];
1156
+ /** Create realtimeModule mutation key */ readonly create: () => readonly ["mutation", "realtimemodule", "create"];
1157
+ /** Update realtimeModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "realtimemodule", "update", string | number];
1158
+ /** Delete realtimeModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "realtimemodule", "delete", string | number];
1159
+ };
1148
1160
  readonly schemaGrant: {
1149
1161
  /** All schemaGrant mutation keys */ readonly all: readonly ["mutation", "schemagrant"];
1150
1162
  /** Create schemaGrant mutation key */ readonly create: () => readonly ["mutation", "schemagrant", "create"];