@magicbell/core
Version:
Official MagicBell API wrapper
18 lines (14 loc) • 382 B
text/typescript
export type CategoryChannelPreferences = {
email: boolean;
inApp: boolean;
webPush: boolean;
};
export type CategoryPreference = {
[key: string]: CategoryChannelPreferences;
};
export interface INotificationPreferences {
categories: CategoryPreference;
}
export default interface IRemoteNotificationPreferences {
notification_preferences: INotificationPreferences;
}