@constructive-io/react 0.12.10 → 0.12.12
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.
- package/admin/orm/client.d.ts +2 -2
- package/admin/orm/query-builder.js +10 -10
- package/auth/orm/client.d.ts +2 -2
- package/auth/orm/query-builder.js +10 -10
- package/esm/admin/orm/client.d.ts +2 -2
- package/esm/admin/orm/query-builder.js +1 -1
- package/esm/auth/orm/client.d.ts +2 -2
- package/esm/auth/orm/query-builder.js +1 -1
- package/esm/objects/orm/client.d.ts +2 -2
- package/esm/objects/orm/query-builder.js +1 -1
- package/esm/public/orm/client.d.ts +2 -2
- package/esm/public/orm/input-types.d.ts +69 -17
- package/esm/public/orm/query-builder.js +1 -1
- package/esm/public/schema-types.d.ts +107 -81
- package/esm/public/types.d.ts +6 -1
- package/objects/orm/client.d.ts +2 -2
- package/objects/orm/query-builder.js +10 -10
- package/package.json +4 -3
- package/public/orm/client.d.ts +2 -2
- package/public/orm/input-types.d.ts +69 -17
- package/public/orm/query-builder.js +10 -10
- package/public/schema-types.d.ts +107 -81
- package/public/types.d.ts +6 -1
|
@@ -138,7 +138,7 @@ export type WebauthnCredentialsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | '
|
|
|
138
138
|
/** Methods to use when ordering `WebauthnAuthModule`. */
|
|
139
139
|
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';
|
|
140
140
|
/** Methods to use when ordering `NotificationsModule`. */
|
|
141
|
-
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' | '
|
|
141
|
+
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';
|
|
142
142
|
/** Methods to use when ordering `DatabaseProvisionModule`. */
|
|
143
143
|
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';
|
|
144
144
|
/** Methods to use when ordering `Database`. */
|
|
@@ -6393,8 +6393,8 @@ export interface NotificationsModuleFilter {
|
|
|
6393
6393
|
privateSchemaId?: UUIDFilter;
|
|
6394
6394
|
/** Filter by the object’s `notificationsTableId` field. */
|
|
6395
6395
|
notificationsTableId?: UUIDFilter;
|
|
6396
|
-
/** Filter by the object’s `
|
|
6397
|
-
|
|
6396
|
+
/** Filter by the object’s `readStateTableId` field. */
|
|
6397
|
+
readStateTableId?: UUIDFilter;
|
|
6398
6398
|
/** Filter by the object’s `preferencesTableId` field. */
|
|
6399
6399
|
preferencesTableId?: UUIDFilter;
|
|
6400
6400
|
/** Filter by the object’s `channelsTableId` field. */
|
|
@@ -6407,6 +6407,16 @@ export interface NotificationsModuleFilter {
|
|
|
6407
6407
|
userSettingsTableId?: UUIDFilter;
|
|
6408
6408
|
/** Filter by the object’s `organizationSettingsTableId` field. */
|
|
6409
6409
|
organizationSettingsTableId?: UUIDFilter;
|
|
6410
|
+
/** Filter by the object’s `hasChannels` field. */
|
|
6411
|
+
hasChannels?: BooleanFilter;
|
|
6412
|
+
/** Filter by the object’s `hasPreferences` field. */
|
|
6413
|
+
hasPreferences?: BooleanFilter;
|
|
6414
|
+
/** Filter by the object’s `hasSettingsExtension` field. */
|
|
6415
|
+
hasSettingsExtension?: BooleanFilter;
|
|
6416
|
+
/** Filter by the object’s `hasDigestMetadata` field. */
|
|
6417
|
+
hasDigestMetadata?: BooleanFilter;
|
|
6418
|
+
/** Filter by the object’s `hasSubscriptions` field. */
|
|
6419
|
+
hasSubscriptions?: BooleanFilter;
|
|
6410
6420
|
/** Checks for all expressions in this list. */
|
|
6411
6421
|
and?: NotificationsModuleFilter[];
|
|
6412
6422
|
/** Checks for any expressions in this list. */
|
|
@@ -6415,12 +6425,14 @@ export interface NotificationsModuleFilter {
|
|
|
6415
6425
|
not?: NotificationsModuleFilter;
|
|
6416
6426
|
/** Filter by the object’s `channelsTableByChannelsTableId` relation. */
|
|
6417
6427
|
channelsTableByChannelsTableId?: TableFilter;
|
|
6428
|
+
/** A related `channelsTableByChannelsTableId` exists. */
|
|
6429
|
+
channelsTableByChannelsTableIdExists?: boolean;
|
|
6418
6430
|
/** Filter by the object’s `database` relation. */
|
|
6419
6431
|
database?: DatabaseFilter;
|
|
6420
6432
|
/** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
|
|
6421
6433
|
deliveryLogTableByDeliveryLogTableId?: TableFilter;
|
|
6422
|
-
/**
|
|
6423
|
-
|
|
6434
|
+
/** A related `deliveryLogTableByDeliveryLogTableId` exists. */
|
|
6435
|
+
deliveryLogTableByDeliveryLogTableIdExists?: boolean;
|
|
6424
6436
|
/** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
|
|
6425
6437
|
notificationsTableByNotificationsTableId?: TableFilter;
|
|
6426
6438
|
/** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
|
|
@@ -6431,8 +6443,12 @@ export interface NotificationsModuleFilter {
|
|
|
6431
6443
|
ownerTable?: TableFilter;
|
|
6432
6444
|
/** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
|
|
6433
6445
|
preferencesTableByPreferencesTableId?: TableFilter;
|
|
6446
|
+
/** A related `preferencesTableByPreferencesTableId` exists. */
|
|
6447
|
+
preferencesTableByPreferencesTableIdExists?: boolean;
|
|
6434
6448
|
/** Filter by the object’s `privateSchema` relation. */
|
|
6435
6449
|
privateSchema?: SchemaFilter;
|
|
6450
|
+
/** Filter by the object’s `readStateTableByReadStateTableId` relation. */
|
|
6451
|
+
readStateTableByReadStateTableId?: TableFilter;
|
|
6436
6452
|
/** Filter by the object’s `schema` relation. */
|
|
6437
6453
|
schema?: SchemaFilter;
|
|
6438
6454
|
/** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
|
|
@@ -8416,26 +8432,6 @@ export interface DenormalizedTableFieldInput {
|
|
|
8416
8432
|
funcName?: string;
|
|
8417
8433
|
funcOrder?: number;
|
|
8418
8434
|
}
|
|
8419
|
-
export interface CreateNotificationsModuleInput {
|
|
8420
|
-
clientMutationId?: string;
|
|
8421
|
-
/** The `NotificationsModule` to be created by this mutation. */
|
|
8422
|
-
notificationsModule: NotificationsModuleInput;
|
|
8423
|
-
}
|
|
8424
|
-
/** An input for mutations affecting `NotificationsModule` */
|
|
8425
|
-
export interface NotificationsModuleInput {
|
|
8426
|
-
id?: string;
|
|
8427
|
-
databaseId: string;
|
|
8428
|
-
schemaId?: string;
|
|
8429
|
-
privateSchemaId?: string;
|
|
8430
|
-
notificationsTableId?: string;
|
|
8431
|
-
eventsTableId?: string;
|
|
8432
|
-
preferencesTableId?: string;
|
|
8433
|
-
channelsTableId?: string;
|
|
8434
|
-
deliveryLogTableId?: string;
|
|
8435
|
-
ownerTableId?: string;
|
|
8436
|
-
userSettingsTableId?: string;
|
|
8437
|
-
organizationSettingsTableId?: string;
|
|
8438
|
-
}
|
|
8439
8435
|
export interface CreateEmailInput {
|
|
8440
8436
|
clientMutationId?: string;
|
|
8441
8437
|
/** The `Email` to be created by this mutation. */
|
|
@@ -8948,6 +8944,31 @@ export interface PolicyInput {
|
|
|
8948
8944
|
createdAt?: string;
|
|
8949
8945
|
updatedAt?: string;
|
|
8950
8946
|
}
|
|
8947
|
+
export interface CreateNotificationsModuleInput {
|
|
8948
|
+
clientMutationId?: string;
|
|
8949
|
+
/** The `NotificationsModule` to be created by this mutation. */
|
|
8950
|
+
notificationsModule: NotificationsModuleInput;
|
|
8951
|
+
}
|
|
8952
|
+
/** An input for mutations affecting `NotificationsModule` */
|
|
8953
|
+
export interface NotificationsModuleInput {
|
|
8954
|
+
id?: string;
|
|
8955
|
+
databaseId: string;
|
|
8956
|
+
schemaId?: string;
|
|
8957
|
+
privateSchemaId?: string;
|
|
8958
|
+
notificationsTableId?: string;
|
|
8959
|
+
readStateTableId?: string;
|
|
8960
|
+
preferencesTableId?: string;
|
|
8961
|
+
channelsTableId?: string;
|
|
8962
|
+
deliveryLogTableId?: string;
|
|
8963
|
+
ownerTableId?: string;
|
|
8964
|
+
userSettingsTableId?: string;
|
|
8965
|
+
organizationSettingsTableId?: string;
|
|
8966
|
+
hasChannels?: boolean;
|
|
8967
|
+
hasPreferences?: boolean;
|
|
8968
|
+
hasSettingsExtension?: boolean;
|
|
8969
|
+
hasDigestMetadata?: boolean;
|
|
8970
|
+
hasSubscriptions?: boolean;
|
|
8971
|
+
}
|
|
8951
8972
|
export interface CreatePermissionsModuleInput {
|
|
8952
8973
|
clientMutationId?: string;
|
|
8953
8974
|
/** The `PermissionsModule` to be created by this mutation. */
|
|
@@ -11133,27 +11154,6 @@ export interface DenormalizedTableFieldPatch {
|
|
|
11133
11154
|
funcName?: string;
|
|
11134
11155
|
funcOrder?: number;
|
|
11135
11156
|
}
|
|
11136
|
-
export interface UpdateNotificationsModuleInput {
|
|
11137
|
-
clientMutationId?: string;
|
|
11138
|
-
id: string;
|
|
11139
|
-
/** An object where the defined keys will be set on the `NotificationsModule` being updated. */
|
|
11140
|
-
notificationsModulePatch: NotificationsModulePatch;
|
|
11141
|
-
}
|
|
11142
|
-
/** Represents an update to a `NotificationsModule`. Fields that are set will be updated. */
|
|
11143
|
-
export interface NotificationsModulePatch {
|
|
11144
|
-
id?: string;
|
|
11145
|
-
databaseId?: string;
|
|
11146
|
-
schemaId?: string;
|
|
11147
|
-
privateSchemaId?: string;
|
|
11148
|
-
notificationsTableId?: string;
|
|
11149
|
-
eventsTableId?: string;
|
|
11150
|
-
preferencesTableId?: string;
|
|
11151
|
-
channelsTableId?: string;
|
|
11152
|
-
deliveryLogTableId?: string;
|
|
11153
|
-
ownerTableId?: string;
|
|
11154
|
-
userSettingsTableId?: string;
|
|
11155
|
-
organizationSettingsTableId?: string;
|
|
11156
|
-
}
|
|
11157
11157
|
export interface UpdateEmailInput {
|
|
11158
11158
|
clientMutationId?: string;
|
|
11159
11159
|
id: string;
|
|
@@ -11661,6 +11661,32 @@ export interface PolicyPatch {
|
|
|
11661
11661
|
createdAt?: string;
|
|
11662
11662
|
updatedAt?: string;
|
|
11663
11663
|
}
|
|
11664
|
+
export interface UpdateNotificationsModuleInput {
|
|
11665
|
+
clientMutationId?: string;
|
|
11666
|
+
id: string;
|
|
11667
|
+
/** An object where the defined keys will be set on the `NotificationsModule` being updated. */
|
|
11668
|
+
notificationsModulePatch: NotificationsModulePatch;
|
|
11669
|
+
}
|
|
11670
|
+
/** Represents an update to a `NotificationsModule`. Fields that are set will be updated. */
|
|
11671
|
+
export interface NotificationsModulePatch {
|
|
11672
|
+
id?: string;
|
|
11673
|
+
databaseId?: string;
|
|
11674
|
+
schemaId?: string;
|
|
11675
|
+
privateSchemaId?: string;
|
|
11676
|
+
notificationsTableId?: string;
|
|
11677
|
+
readStateTableId?: string;
|
|
11678
|
+
preferencesTableId?: string;
|
|
11679
|
+
channelsTableId?: string;
|
|
11680
|
+
deliveryLogTableId?: string;
|
|
11681
|
+
ownerTableId?: string;
|
|
11682
|
+
userSettingsTableId?: string;
|
|
11683
|
+
organizationSettingsTableId?: string;
|
|
11684
|
+
hasChannels?: boolean;
|
|
11685
|
+
hasPreferences?: boolean;
|
|
11686
|
+
hasSettingsExtension?: boolean;
|
|
11687
|
+
hasDigestMetadata?: boolean;
|
|
11688
|
+
hasSubscriptions?: boolean;
|
|
11689
|
+
}
|
|
11664
11690
|
export interface UpdatePermissionsModuleInput {
|
|
11665
11691
|
clientMutationId?: string;
|
|
11666
11692
|
id: string;
|
|
@@ -12892,10 +12918,6 @@ export interface DeleteDenormalizedTableFieldInput {
|
|
|
12892
12918
|
clientMutationId?: string;
|
|
12893
12919
|
id: string;
|
|
12894
12920
|
}
|
|
12895
|
-
export interface DeleteNotificationsModuleInput {
|
|
12896
|
-
clientMutationId?: string;
|
|
12897
|
-
id: string;
|
|
12898
|
-
}
|
|
12899
12921
|
export interface DeleteEmailInput {
|
|
12900
12922
|
clientMutationId?: string;
|
|
12901
12923
|
id: string;
|
|
@@ -12979,6 +13001,10 @@ export interface DeletePolicyInput {
|
|
|
12979
13001
|
clientMutationId?: string;
|
|
12980
13002
|
id: string;
|
|
12981
13003
|
}
|
|
13004
|
+
export interface DeleteNotificationsModuleInput {
|
|
13005
|
+
clientMutationId?: string;
|
|
13006
|
+
id: string;
|
|
13007
|
+
}
|
|
12982
13008
|
export interface DeletePermissionsModuleInput {
|
|
12983
13009
|
clientMutationId?: string;
|
|
12984
13010
|
id: string;
|
|
@@ -13627,13 +13653,6 @@ export interface DenormalizedTableFieldConnection {
|
|
|
13627
13653
|
pageInfo: PageInfo;
|
|
13628
13654
|
totalCount: number;
|
|
13629
13655
|
}
|
|
13630
|
-
/** A connection to a list of `NotificationsModule` values. */
|
|
13631
|
-
export interface NotificationsModuleConnection {
|
|
13632
|
-
nodes: NotificationsModule[];
|
|
13633
|
-
edges: NotificationsModuleEdge[];
|
|
13634
|
-
pageInfo: PageInfo;
|
|
13635
|
-
totalCount: number;
|
|
13636
|
-
}
|
|
13637
13656
|
/** A connection to a list of `Email` values. */
|
|
13638
13657
|
export interface EmailConnection {
|
|
13639
13658
|
nodes: Email[];
|
|
@@ -13788,6 +13807,13 @@ export interface PolicyConnection {
|
|
|
13788
13807
|
pageInfo: PageInfo;
|
|
13789
13808
|
totalCount: number;
|
|
13790
13809
|
}
|
|
13810
|
+
/** A connection to a list of `NotificationsModule` values. */
|
|
13811
|
+
export interface NotificationsModuleConnection {
|
|
13812
|
+
nodes: NotificationsModule[];
|
|
13813
|
+
edges: NotificationsModuleEdge[];
|
|
13814
|
+
pageInfo: PageInfo;
|
|
13815
|
+
totalCount: number;
|
|
13816
|
+
}
|
|
13791
13817
|
/** A connection to a list of `PermissionsModule` values. */
|
|
13792
13818
|
export interface PermissionsModuleConnection {
|
|
13793
13819
|
nodes: PermissionsModule[];
|
|
@@ -14555,12 +14581,6 @@ export interface CreateDenormalizedTableFieldPayload {
|
|
|
14555
14581
|
denormalizedTableField?: DenormalizedTableField | null;
|
|
14556
14582
|
denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
|
|
14557
14583
|
}
|
|
14558
|
-
export interface CreateNotificationsModulePayload {
|
|
14559
|
-
clientMutationId?: string | null;
|
|
14560
|
-
/** The `NotificationsModule` that was created by this mutation. */
|
|
14561
|
-
notificationsModule?: NotificationsModule | null;
|
|
14562
|
-
notificationsModuleEdge?: NotificationsModuleEdge | null;
|
|
14563
|
-
}
|
|
14564
14584
|
export interface CreateEmailPayload {
|
|
14565
14585
|
clientMutationId?: string | null;
|
|
14566
14586
|
/** The `Email` that was created by this mutation. */
|
|
@@ -14691,6 +14711,12 @@ export interface CreatePolicyPayload {
|
|
|
14691
14711
|
policy?: Policy | null;
|
|
14692
14712
|
policyEdge?: PolicyEdge | null;
|
|
14693
14713
|
}
|
|
14714
|
+
export interface CreateNotificationsModulePayload {
|
|
14715
|
+
clientMutationId?: string | null;
|
|
14716
|
+
/** The `NotificationsModule` that was created by this mutation. */
|
|
14717
|
+
notificationsModule?: NotificationsModule | null;
|
|
14718
|
+
notificationsModuleEdge?: NotificationsModuleEdge | null;
|
|
14719
|
+
}
|
|
14694
14720
|
export interface CreatePermissionsModulePayload {
|
|
14695
14721
|
clientMutationId?: string | null;
|
|
14696
14722
|
/** The `PermissionsModule` that was created by this mutation. */
|
|
@@ -15237,12 +15263,6 @@ export interface UpdateDenormalizedTableFieldPayload {
|
|
|
15237
15263
|
denormalizedTableField?: DenormalizedTableField | null;
|
|
15238
15264
|
denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
|
|
15239
15265
|
}
|
|
15240
|
-
export interface UpdateNotificationsModulePayload {
|
|
15241
|
-
clientMutationId?: string | null;
|
|
15242
|
-
/** The `NotificationsModule` that was updated by this mutation. */
|
|
15243
|
-
notificationsModule?: NotificationsModule | null;
|
|
15244
|
-
notificationsModuleEdge?: NotificationsModuleEdge | null;
|
|
15245
|
-
}
|
|
15246
15266
|
export interface UpdateEmailPayload {
|
|
15247
15267
|
clientMutationId?: string | null;
|
|
15248
15268
|
/** The `Email` that was updated by this mutation. */
|
|
@@ -15363,6 +15383,12 @@ export interface UpdatePolicyPayload {
|
|
|
15363
15383
|
policy?: Policy | null;
|
|
15364
15384
|
policyEdge?: PolicyEdge | null;
|
|
15365
15385
|
}
|
|
15386
|
+
export interface UpdateNotificationsModulePayload {
|
|
15387
|
+
clientMutationId?: string | null;
|
|
15388
|
+
/** The `NotificationsModule` that was updated by this mutation. */
|
|
15389
|
+
notificationsModule?: NotificationsModule | null;
|
|
15390
|
+
notificationsModuleEdge?: NotificationsModuleEdge | null;
|
|
15391
|
+
}
|
|
15366
15392
|
export interface UpdatePermissionsModulePayload {
|
|
15367
15393
|
clientMutationId?: string | null;
|
|
15368
15394
|
/** The `PermissionsModule` that was updated by this mutation. */
|
|
@@ -15909,12 +15935,6 @@ export interface DeleteDenormalizedTableFieldPayload {
|
|
|
15909
15935
|
denormalizedTableField?: DenormalizedTableField | null;
|
|
15910
15936
|
denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
|
|
15911
15937
|
}
|
|
15912
|
-
export interface DeleteNotificationsModulePayload {
|
|
15913
|
-
clientMutationId?: string | null;
|
|
15914
|
-
/** The `NotificationsModule` that was deleted by this mutation. */
|
|
15915
|
-
notificationsModule?: NotificationsModule | null;
|
|
15916
|
-
notificationsModuleEdge?: NotificationsModuleEdge | null;
|
|
15917
|
-
}
|
|
15918
15938
|
export interface DeleteEmailPayload {
|
|
15919
15939
|
clientMutationId?: string | null;
|
|
15920
15940
|
/** The `Email` that was deleted by this mutation. */
|
|
@@ -16035,6 +16055,12 @@ export interface DeletePolicyPayload {
|
|
|
16035
16055
|
policy?: Policy | null;
|
|
16036
16056
|
policyEdge?: PolicyEdge | null;
|
|
16037
16057
|
}
|
|
16058
|
+
export interface DeleteNotificationsModulePayload {
|
|
16059
|
+
clientMutationId?: string | null;
|
|
16060
|
+
/** The `NotificationsModule` that was deleted by this mutation. */
|
|
16061
|
+
notificationsModule?: NotificationsModule | null;
|
|
16062
|
+
notificationsModuleEdge?: NotificationsModuleEdge | null;
|
|
16063
|
+
}
|
|
16038
16064
|
export interface DeletePermissionsModulePayload {
|
|
16039
16065
|
clientMutationId?: string | null;
|
|
16040
16066
|
/** The `PermissionsModule` that was deleted by this mutation. */
|
|
@@ -16662,12 +16688,6 @@ export interface DenormalizedTableFieldEdge {
|
|
|
16662
16688
|
/** The `DenormalizedTableField` at the end of the edge. */
|
|
16663
16689
|
node?: DenormalizedTableField | null;
|
|
16664
16690
|
}
|
|
16665
|
-
/** A `NotificationsModule` edge in the connection. */
|
|
16666
|
-
export interface NotificationsModuleEdge {
|
|
16667
|
-
cursor?: string | null;
|
|
16668
|
-
/** The `NotificationsModule` at the end of the edge. */
|
|
16669
|
-
node?: NotificationsModule | null;
|
|
16670
|
-
}
|
|
16671
16691
|
/** A `Email` edge in the connection. */
|
|
16672
16692
|
export interface EmailEdge {
|
|
16673
16693
|
cursor?: string | null;
|
|
@@ -16800,6 +16820,12 @@ export interface PolicyEdge {
|
|
|
16800
16820
|
/** The `Policy` at the end of the edge. */
|
|
16801
16821
|
node?: Policy | null;
|
|
16802
16822
|
}
|
|
16823
|
+
/** A `NotificationsModule` edge in the connection. */
|
|
16824
|
+
export interface NotificationsModuleEdge {
|
|
16825
|
+
cursor?: string | null;
|
|
16826
|
+
/** The `NotificationsModule` at the end of the edge. */
|
|
16827
|
+
node?: NotificationsModule | null;
|
|
16828
|
+
}
|
|
16803
16829
|
/** A `PermissionsModule` edge in the connection. */
|
|
16804
16830
|
export interface PermissionsModuleEdge {
|
|
16805
16831
|
cursor?: string | null;
|
package/esm/public/types.d.ts
CHANGED
|
@@ -947,13 +947,18 @@ export interface NotificationsModule {
|
|
|
947
947
|
schemaId: string | null;
|
|
948
948
|
privateSchemaId: string | null;
|
|
949
949
|
notificationsTableId: string | null;
|
|
950
|
-
|
|
950
|
+
readStateTableId: string | null;
|
|
951
951
|
preferencesTableId: string | null;
|
|
952
952
|
channelsTableId: string | null;
|
|
953
953
|
deliveryLogTableId: string | null;
|
|
954
954
|
ownerTableId: string | null;
|
|
955
955
|
userSettingsTableId: string | null;
|
|
956
956
|
organizationSettingsTableId: string | null;
|
|
957
|
+
hasChannels: boolean | null;
|
|
958
|
+
hasPreferences: boolean | null;
|
|
959
|
+
hasSettingsExtension: boolean | null;
|
|
960
|
+
hasDigestMetadata: boolean | null;
|
|
961
|
+
hasSubscriptions: boolean | null;
|
|
957
962
|
}
|
|
958
963
|
export interface DatabaseProvisionModule {
|
|
959
964
|
id: string | null;
|
package/objects/orm/client.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-
|
|
7
|
-
export type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-
|
|
6
|
+
import type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-query/runtime';
|
|
7
|
+
export type { GraphQLAdapter, GraphQLError, QueryResult, } from '@constructive-io/graphql-query/runtime';
|
|
8
8
|
/**
|
|
9
9
|
* Default adapter that uses fetch for HTTP requests.
|
|
10
10
|
* This is used when no custom adapter is provided.
|
|
@@ -50,7 +50,7 @@ exports.buildCustomDocument = buildCustomDocument;
|
|
|
50
50
|
* @generated by @constructive-io/graphql-codegen
|
|
51
51
|
* DO NOT EDIT - changes will be overwritten
|
|
52
52
|
*/
|
|
53
|
-
const
|
|
53
|
+
const runtime_1 = require("@constructive-io/graphql-query/runtime");
|
|
54
54
|
const t = __importStar(require("gql-ast"));
|
|
55
55
|
const client_1 = require("./client");
|
|
56
56
|
class QueryBuilder {
|
|
@@ -221,7 +221,7 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
|
|
|
221
221
|
}),
|
|
222
222
|
],
|
|
223
223
|
});
|
|
224
|
-
return { document: (0,
|
|
224
|
+
return { document: (0, runtime_1.print)(document), variables };
|
|
225
225
|
}
|
|
226
226
|
function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
|
|
227
227
|
const selections = select
|
|
@@ -262,7 +262,7 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
|
|
|
262
262
|
}),
|
|
263
263
|
],
|
|
264
264
|
});
|
|
265
|
-
return { document: (0,
|
|
265
|
+
return { document: (0, runtime_1.print)(document), variables };
|
|
266
266
|
}
|
|
267
267
|
function buildCreateDocument(operationName, mutationField, entityField, select, data, inputTypeName, connectionFieldsMap) {
|
|
268
268
|
const selections = select
|
|
@@ -342,7 +342,7 @@ function buildFindOneDocument(operationName, queryField, id, select, idArgName,
|
|
|
342
342
|
const variableDefinitions = [
|
|
343
343
|
t.variableDefinition({
|
|
344
344
|
variable: t.variable({ name: idArgName }),
|
|
345
|
-
type: (0,
|
|
345
|
+
type: (0, runtime_1.parseType)(idTypeName),
|
|
346
346
|
}),
|
|
347
347
|
];
|
|
348
348
|
const queryArgs = [
|
|
@@ -370,7 +370,7 @@ function buildFindOneDocument(operationName, queryField, id, select, idArgName,
|
|
|
370
370
|
],
|
|
371
371
|
});
|
|
372
372
|
return {
|
|
373
|
-
document: (0,
|
|
373
|
+
document: (0, runtime_1.print)(document),
|
|
374
374
|
variables: { [idArgName]: id },
|
|
375
375
|
};
|
|
376
376
|
}
|
|
@@ -445,7 +445,7 @@ function buildCustomDocument(operationType, operationName, fieldName, select, ar
|
|
|
445
445
|
: [];
|
|
446
446
|
const variableDefs = variableDefinitions.map((definition) => t.variableDefinition({
|
|
447
447
|
variable: t.variable({ name: definition.name }),
|
|
448
|
-
type: (0,
|
|
448
|
+
type: (0, runtime_1.parseType)(definition.type),
|
|
449
449
|
}));
|
|
450
450
|
const fieldArgs = variableDefinitions.map((definition) => t.argument({
|
|
451
451
|
name: definition.name,
|
|
@@ -473,7 +473,7 @@ function buildCustomDocument(operationType, operationName, fieldName, select, ar
|
|
|
473
473
|
],
|
|
474
474
|
});
|
|
475
475
|
return {
|
|
476
|
-
document: (0,
|
|
476
|
+
document: (0, runtime_1.print)(document),
|
|
477
477
|
variables: (args ?? {}),
|
|
478
478
|
};
|
|
479
479
|
}
|
|
@@ -551,7 +551,7 @@ function buildInputMutationDocument(config) {
|
|
|
551
551
|
variableDefinitions: [
|
|
552
552
|
t.variableDefinition({
|
|
553
553
|
variable: t.variable({ name: 'input' }),
|
|
554
|
-
type: (0,
|
|
554
|
+
type: (0, runtime_1.parseType)(config.inputTypeName + '!'),
|
|
555
555
|
}),
|
|
556
556
|
],
|
|
557
557
|
selectionSet: t.selectionSet({
|
|
@@ -573,14 +573,14 @@ function buildInputMutationDocument(config) {
|
|
|
573
573
|
}),
|
|
574
574
|
],
|
|
575
575
|
});
|
|
576
|
-
return (0,
|
|
576
|
+
return (0, runtime_1.print)(document);
|
|
577
577
|
}
|
|
578
578
|
function addVariable(spec, definitions, args, variables) {
|
|
579
579
|
if (spec.value === undefined || !spec.typeName)
|
|
580
580
|
return;
|
|
581
581
|
definitions.push(t.variableDefinition({
|
|
582
582
|
variable: t.variable({ name: spec.varName }),
|
|
583
|
-
type: (0,
|
|
583
|
+
type: (0, runtime_1.parseType)(spec.typeName),
|
|
584
584
|
}));
|
|
585
585
|
args.push(t.argument({
|
|
586
586
|
name: spec.argName ?? spec.varName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/react",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.12",
|
|
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,6 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@0no-co/graphql.web": "^1.1.2",
|
|
45
|
+
"@constructive-io/graphql-query": "^3.15.1",
|
|
45
46
|
"@constructive-io/graphql-types": "^3.5.1",
|
|
46
47
|
"@tanstack/react-query": "^5.90.21",
|
|
47
48
|
"gql-ast": "^3.5.0",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"react": "^18.0.0 || ^19.0.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
|
-
"@constructive-io/graphql-codegen": "^4.
|
|
55
|
+
"@constructive-io/graphql-codegen": "^4.31.1",
|
|
55
56
|
"@types/node": "^22.19.11",
|
|
56
57
|
"@types/react": "^19.2.14",
|
|
57
58
|
"makage": "^0.3.0",
|
|
@@ -59,5 +60,5 @@
|
|
|
59
60
|
"tsx": "^4.19.0",
|
|
60
61
|
"typescript": "^5.9.3"
|
|
61
62
|
},
|
|
62
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "90b15540015a927e45846923843fc1af36f5bed7"
|
|
63
64
|
}
|
package/public/orm/client.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-
|
|
7
|
-
export type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-
|
|
6
|
+
import type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-query/runtime';
|
|
7
|
+
export type { GraphQLAdapter, GraphQLError, QueryResult, } from '@constructive-io/graphql-query/runtime';
|
|
8
8
|
/**
|
|
9
9
|
* Default adapter that uses fetch for HTTP requests.
|
|
10
10
|
* This is used when no custom adapter is provided.
|