* remove validator file and include inside handler * fixes slots and handler circle dep * fix type in tests
7 lines
231 B
TypeScript
7 lines
231 B
TypeScript
import type { GetScheduleOptions } from "./types";
|
|
import { getAvailableSlots } from "./util";
|
|
|
|
export const getScheduleHandler = async ({ ctx, input }: GetScheduleOptions) => {
|
|
return await getAvailableSlots({ ctx, input });
|
|
};
|