Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / shared / lib / calendar / alarms / notificationDefaults.ts
blob8ca178da51cf2d896755a651fa828c622471c774
1 import { NOTIFICATION_TYPE_API } from '../constants';
2 import { fromTriggerString } from '../vcal';
3 import { triggerToModel } from './notificationModel';
5 export const DEFAULT_PART_DAY_NOTIFICATIONS = [
6     {
7         Type: NOTIFICATION_TYPE_API.DEVICE,
8         Trigger: '-PT15M',
9     },
10     {
11         Type: NOTIFICATION_TYPE_API.EMAIL,
12         Trigger: '-PT15M',
13     },
16 export const DEFAULT_FULL_DAY_NOTIFICATIONS = [
17     {
18         Type: NOTIFICATION_TYPE_API.DEVICE,
19         Trigger: '-PT15H',
20     },
21     {
22         Type: NOTIFICATION_TYPE_API.EMAIL,
23         Trigger: '-PT15H',
24     },
27 export const DEFAULT_PART_DAY_NOTIFICATION = {
28     id: '1',
29     ...triggerToModel({
30         isAllDay: false,
31         type: NOTIFICATION_TYPE_API.DEVICE,
32         trigger: fromTriggerString('-PT15M'),
33     }),
36 export const DEFAULT_FULL_DAY_NOTIFICATION = {
37     id: '2',
38     ...triggerToModel({
39         isAllDay: true,
40         type: NOTIFICATION_TYPE_API.DEVICE,
41         trigger: fromTriggerString('-PT15H'),
42     }),