4486 connect settingsaccountscalendars to backend (#4605)
* add useFindOneRecord and useUpdateOneRecord * remove mock * use calendar channel information in display * renaming * refactoring * handleSyncEventsToggle * improve typing using generics * modifications after review * rename components * renaming
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
export enum CalendarChannelVisibility {
|
||||
Everything = 'SHARE_EVERYTHING',
|
||||
Metadata = 'METADATA',
|
||||
}
|
||||
|
||||
export type CalendarChannel = {
|
||||
id: string;
|
||||
handle: string;
|
||||
isContactAutoCreationEnabled?: boolean;
|
||||
isSyncEnabled?: boolean;
|
||||
visibility: CalendarChannelVisibility;
|
||||
};
|
||||
Reference in New Issue
Block a user