import { CalendarEvent , VcalVeventComponent } from 'proton-shared/lib/interfaces/calendar' ; import { InviteActions } from '../../../interfaces/Invite' ; export const getUpdatePersonalPartOperation = ( { eventComponent , event , memberID , addressID , } ) => { return { data : { memberID , addressID , calendarID : event . CalendarID , eventID : event . ID , eventComponent , } , } ; } ; export const getUpdatePersonalPartActions = ( { eventComponent , event , memberID , addressID , inviteActions , } ) => { const updatePersonalPartAction = getUpdatePersonalPartOperation ( { eventComponent , event , memberID , addressID , } ) ; return { multiSyncActions : [ ] , updatePersonalPartActions : [ updatePersonalPartAction ] , inviteActions , } ; } ;