this is most of my script config: ``` // Configur...
# general-english
j
this is most of my script config:
Copy code
// Configuration Variables
const APPOINTMENT_DURATION = 30; // in minutes
const BUFFER_TIME = 30; // in minutes
const AVAILABILITY_CUTOFF_TIME = 14.5; // 2:30 PM
const AVAILABILITY_CHECK_DAYS = 14; // 2 weeks

const WORK_SCHEDULE = {
  0: { isWorkday: false }, // Sunday
  1: { isWorkday: true, start: 9, end: 17 }, // Monday
  2: { isWorkday: true, start: 9, end: 17 }, // Tuesday
  3: { isWorkday: true, start: 9, end: 17 }, // Wednesday
  4: { isWorkday: true, start: 9, end: 17 }, // Thursday
  5: { isWorkday: true, start: 9, end: 17 }, // Friday
  6: { isWorkday: false }, // Saturday
};
2 Views