scheduling-sdk
Version:
Brought to you by Recal - A TypeScript SDK for scheduling functionality
18 lines • 1.5 kB
TypeScript
export { AvailabilityScheduler } from './availability/scheduler';
export { Scheduler } from './core/scheduler';
export { weeklyAvailabilityToBusyTimes } from './helpers/availability/converter';
export { isOverlapping, mergeBusyTimes } from './helpers/busy-time/merge';
export { hasOverlap, isSlotAvailable } from './helpers/busy-time/overlap';
export { applyPadding } from './helpers/busy-time/padding';
export { filterAvailableSlots } from './helpers/slot/filter';
export { calculateFirstSlotStart, generateSlots, type SlotGenerationOptions } from './helpers/slot/generator';
export { alignToInterval, calculateMinutesFromHour, findNextSlotBoundary, getTimeWithinDay, } from './helpers/time/alignment';
export { addMinutes, endOfDay, isSameDay, minutesBetween, startOfDay, subtractMinutes } from './helpers/time/date-math';
export type { DayOfWeek, DaySchedule, WeeklyAvailability } from './types/availability.types';
export { weekendDays, workDays } from './types/availability.types';
export type { BusyTime, SchedulingOptions, TimeSlot } from './types/scheduling.types';
export { HOURS_PER_DAY, MINUTES_PER_HOUR, MS_PER_DAY, MS_PER_HOUR, MS_PER_MINUTE } from './utils/constants';
export { validateWeeklyAvailability } from './validators/availability.validator';
export { validateDuration, validateOffset, validateOptions, validatePadding, validateSplit, } from './validators/options.validator';
export { validateTimeRange } from './validators/time-range.validator';
//# sourceMappingURL=index.d.ts.map