12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
import type { TGetScheduleInputSchema } from "./getSchedule.schema";
|
|
import { getSchedule } from "./util";
|
|
|
|
type GetScheduleOptions = {
|
|
ctx: Record<string, unknown>;
|
|
input: TGetScheduleInputSchema;
|
|
};
|
|
|
|
export const getScheduleHandler = async ({ input }: GetScheduleOptions) => {
|
|
return await getSchedule(input);
|
|
};
|