updated EmailNotificationScheduleTypes to match with the backend values
This commit is contained in:
parent
2dbe010982
commit
070df8a0ab
@ -1,9 +1,9 @@
|
||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
||||
|
||||
export const notificationsTranslations: { [key: string]: string } = {
|
||||
instant: _('notifications-screen.schedule.instant'),
|
||||
daily: _('notifications-screen.schedule.daily'),
|
||||
weekly: _('notifications-screen.schedule.weekly'),
|
||||
daily: _('notifications-screen.schedule.instant'),
|
||||
daily_summary: _('notifications-screen.schedule.daily'),
|
||||
weekly_summary: _('notifications-screen.schedule.weekly'),
|
||||
inAppNotifications: _('notifications-screen.category.in-app-notifications'),
|
||||
emailNotifications: _('notifications-screen.category.email-notifications'),
|
||||
documentIsSentForApproval: _('notifications-screen.options.document-is-sent-for-approval'),
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
export const EmailNotificationScheduleTypes = {
|
||||
INSTANT: 'INSTANT',
|
||||
DAILY: 'DAILY',
|
||||
WEEKLY: 'WEEKLY',
|
||||
INSTANT: 'DAILY',
|
||||
DAILY: 'DAILY_SUMMARY',
|
||||
WEEKLY: 'WEEKLY_SUMMARY',
|
||||
} as const;
|
||||
|
||||
export type EmailNotificationScheduleType = keyof typeof EmailNotificationScheduleTypes;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user