Scheduling infrastructure for absolutely everyone.
import publicProcedure from "../../../procedures/publicProcedure";
import { router } from "../../../trpc";
import { cityTimezonesSchema } from "./cityTimezones.schema";
const NAMESPACE = "publicViewer";
const namespaced = (s: string) => `${NAMESPACE}.${s}`;
// things that unauthenticated users can query about themselves
export const timezonesRouter = router({
cityTimezones: publicProcedure.input(cityTimezonesSchema).query(async () => {
const { default: handler } = await import("@calcom/features/cityTimezones/cityTimezonesHandler");
return handler();
}),
});