import { Channels, UserNotificationTopicID, UserNotificationCategories, UserCategory } from '@jealous-robot-dev/drophr-common'; export interface UserNotificationsDataPreferences { channel: Channels; enabled: boolean; canDisable: boolean; } export interface SchduledReminder { enabled: boolean; interval: number; } export interface UserNotificationDataSetting { id: UserNotificationTopicID; category: UserNotificationCategories; preferences: UserNotificationsDataPreferences[]; } export interface UserNotificationData { preferences: UserNotificationDataSetting[]; reminders: { [UserCategory.CUSTOMER]: { upcomingEvents: SchduledReminder; predayReminder: boolean; }; [UserCategory.CREATOR]: { upcomingEvents: SchduledReminder; }; }; }