@@ -7,8 +7,8 @@ React Query hooks for NotificationsModule data operations
77## Usage
88
99``` typescript
10- useNotificationsModulesQuery ({ selection: { fields: { id: true , databaseId: true , schemaId: true , privateSchemaId: true , notificationsTableId: true , eventsTableId : true , preferencesTableId: true , channelsTableId: true , deliveryLogTableId: true , ownerTableId: true , userSettingsTableId: true , organizationSettingsTableId: true } } })
11- useNotificationsModuleQuery ({ id: ' <UUID>' , selection: { fields: { id: true , databaseId: true , schemaId: true , privateSchemaId: true , notificationsTableId: true , eventsTableId : true , preferencesTableId: true , channelsTableId: true , deliveryLogTableId: true , ownerTableId: true , userSettingsTableId: true , organizationSettingsTableId: true } } })
10+ useNotificationsModulesQuery ({ selection: { fields: { id: true , databaseId: true , schemaId: true , privateSchemaId: true , notificationsTableId: true , readStateTableId : true , preferencesTableId: true , channelsTableId: true , deliveryLogTableId: true , ownerTableId: true , userSettingsTableId: true , organizationSettingsTableId: true , hasChannels: true , hasPreferences: true , hasSettingsExtension: true , hasDigestMetadata: true , hasSubscriptions : true } } })
11+ useNotificationsModuleQuery ({ id: ' <UUID>' , selection: { fields: { id: true , databaseId: true , schemaId: true , privateSchemaId: true , notificationsTableId: true , readStateTableId : true , preferencesTableId: true , channelsTableId: true , deliveryLogTableId: true , ownerTableId: true , userSettingsTableId: true , organizationSettingsTableId: true , hasChannels: true , hasPreferences: true , hasSettingsExtension: true , hasDigestMetadata: true , hasSubscriptions : true } } })
1212useCreateNotificationsModuleMutation ({ selection: { fields: { id: true } } })
1313useUpdateNotificationsModuleMutation ({ selection: { fields: { id: true } } })
1414useDeleteNotificationsModuleMutation ({})
@@ -20,7 +20,7 @@ useDeleteNotificationsModuleMutation({})
2020
2121``` typescript
2222const { data, isLoading } = useNotificationsModulesQuery ({
23- selection: { fields: { id: true , databaseId: true , schemaId: true , privateSchemaId: true , notificationsTableId: true , eventsTableId : true , preferencesTableId: true , channelsTableId: true , deliveryLogTableId: true , ownerTableId: true , userSettingsTableId: true , organizationSettingsTableId: true } },
23+ selection: { fields: { id: true , databaseId: true , schemaId: true , privateSchemaId: true , notificationsTableId: true , readStateTableId : true , preferencesTableId: true , channelsTableId: true , deliveryLogTableId: true , ownerTableId: true , userSettingsTableId: true , organizationSettingsTableId: true , hasChannels: true , hasPreferences: true , hasSettingsExtension: true , hasDigestMetadata: true , hasSubscriptions : true } },
2424});
2525```
2626
@@ -30,5 +30,5 @@ const { data, isLoading } = useNotificationsModulesQuery({
3030const { mutate } = useCreateNotificationsModuleMutation ({
3131 selection: { fields: { id: true } },
3232});
33- mutate ({ databaseId: ' <UUID>' , schemaId: ' <UUID>' , privateSchemaId: ' <UUID>' , notificationsTableId: ' <UUID>' , eventsTableId : ' <UUID>' , preferencesTableId: ' <UUID>' , channelsTableId: ' <UUID>' , deliveryLogTableId: ' <UUID>' , ownerTableId: ' <UUID>' , userSettingsTableId: ' <UUID>' , organizationSettingsTableId: ' <UUID>' });
33+ mutate ({ databaseId: ' <UUID>' , schemaId: ' <UUID>' , privateSchemaId: ' <UUID>' , notificationsTableId: ' <UUID>' , readStateTableId : ' <UUID>' , preferencesTableId: ' <UUID>' , channelsTableId: ' <UUID>' , deliveryLogTableId: ' <UUID>' , ownerTableId: ' <UUID>' , userSettingsTableId: ' <UUID>' , organizationSettingsTableId: ' <UUID> ' , hasChannels: ' <Boolean> ' , hasPreferences: ' <Boolean> ' , hasSettingsExtension: ' <Boolean> ' , hasDigestMetadata: ' <Boolean> ' , hasSubscriptions: ' <Boolean >' });
3434```
0 commit comments