* 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: keith@cal.com <keith@cal.com> * 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: keith@cal.com <keith@cal.com> * Fixing types * Fixing type issues * chore: Remove importHandler references for Fluid Compute compatibility Co-Authored-By: keith@cal.com <keith@cal.com> * chore: Remove importHandler references from attributes router for Fluid Compute compatibility Co-Authored-By: keith@cal.com <keith@cal.com> --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: keith@cal.com <keith@cal.com>
16 lines
513 B
TypeScript
16 lines
513 B
TypeScript
import superjson from "superjson";
|
|
|
|
import { initTRPC } from "@trpc/server";
|
|
|
|
import type { createContextInner } from "./createContext";
|
|
|
|
export const tRPCContext = initTRPC.context<typeof createContextInner>().create({
|
|
transformer: superjson,
|
|
});
|
|
|
|
export const router = tRPCContext.router;
|
|
export const mergeRouters = tRPCContext.mergeRouters;
|
|
export const middleware = tRPCContext.middleware;
|
|
export const procedure = tRPCContext.procedure;
|
|
export const createCallerFactory = tRPCContext.createCallerFactory;
|