mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* chore: Make app compatible with Fluid Compute * Removed isCold from me api endpoint * chore: Remove handler caching for Fluid Compute compatibility (#20692) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> * fix client_id issue * chore: Remove UNSTABLE_HANDLER_CACHE for Fluid Compute compatibility (#20694) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> * Fixing types * Fixing type issues * chore: Remove importHandler references for Fluid Compute compatibility Co-Authored-By: [email protected] <[email protected]> * chore: Remove importHandler references from attributes router for Fluid Compute compatibility Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]>
16 lines
579 B
TypeScript
16 lines
579 B
TypeScript
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();
|
|
}),
|
|
});
|