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 }));