lib/api/verify/time-in-availability.ts
import { Timeslot } from 'lib/model/timeslot';
import { User } from 'lib/model/user';
/**
* Verifies that the given times are included within the given people's
* availability.
* @param times - An array of timeslots that should be in the people's
* availability.
* @param people - The people whose availability should include `times`.
* @return Nothing; throws an `APIError` if the given `times` are NOT within the
* given `people`'s availability.
*/
export default function verifyTimesInAvailability(
time: Timeslot,
people: User[]
): void {}