Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / applications / calendar / src / app / containers / alarms / CacheInterface.ts
blobb7bf10855f3a822120d66dbb8dcc598882a55217
1 import type { CalendarAlarm } from '@proton/shared/lib/interfaces/calendar';
3 export interface CalendarAlarmCacheRecord {
4     result?: CalendarAlarm[];
5     promise?: Promise<void>;
8 export interface CalendarAlarmCache {
9     [id: string]: CalendarAlarmCacheRecord;
12 export interface CalendarsAlarmsCache {
13     calendarsCache: CalendarAlarmCache;
14     end: Date;
15     start: Date;
16     promise?: Promise<void[]>;
17     rerender?: () => void;