import { IMyTimeAwayItem } from "../models/timeAwayModel" ; import { TimePeriod } from "../models/timeAwayModel" ; export interface IMyTimeAwayDataProvider { updateWeekType ( value ) ; updatePeriod ( value ) ; getMyTimeAwayItems ( ) : Promise < IMyTimeAwayItem [ ] > ; createMyTimeAwayItem ( title ) : Promise < IMyTimeAwayItem [ ] > ; updateMyTimeAwayItem ( itemUpdated ) : Promise < IMyTimeAwayItem [ ] > ; deleteMyTimeAwayItem ( itemDeleted ) : Promise < IMyTimeAwayItem [ ] > ; checkTimeSlot ( item ) : Promise < boolean > ; }