Use source loader for email sprite icons
[ProtonMail-WebClient.git] / packages / calendar / calendarServerEvent.ts
blobc56ab9f7df8db9ce200d730e73ca3b88faa8154b
1 import { createAction } from '@reduxjs/toolkit';
3 import type { CalendarKey, CalendarSettings as tsCalendarSettings } from '@proton/shared/lib/interfaces/calendar';
5 export interface CalendarEventLoop {
6     CalendarKeys?: { ID: string; Key: CalendarKey }[];
7     CalendarSettings?: { CalendarSettings: tsCalendarSettings }[];
10 export const calendarServerEvent = createAction('calendar server event', (payload: CalendarEventLoop) => ({ payload }));