1 import { NOTIFICATION_TYPE_API } from '../constants';
2 import { fromTriggerString } from '../vcal';
3 import { triggerToModel } from './notificationModel';
5 export const DEFAULT_PART_DAY_NOTIFICATIONS = [
7 Type: NOTIFICATION_TYPE_API.DEVICE,
11 Type: NOTIFICATION_TYPE_API.EMAIL,
16 export const DEFAULT_FULL_DAY_NOTIFICATIONS = [
18 Type: NOTIFICATION_TYPE_API.DEVICE,
22 Type: NOTIFICATION_TYPE_API.EMAIL,
27 export const DEFAULT_PART_DAY_NOTIFICATION = {
31 type: NOTIFICATION_TYPE_API.DEVICE,
32 trigger: fromTriggerString('-PT15M'),
36 export const DEFAULT_FULL_DAY_NOTIFICATION = {
40 type: NOTIFICATION_TYPE_API.DEVICE,
41 trigger: fromTriggerString('-PT15H'),