Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
730 B ยท 23 lines
TypeScript
123456789101112131415161718192021222324import type { inferRouterInputs, inferRouterOutputs } from "@trpc/server";
import type { AppRouter } from "./src/root";
export { createTRPCContext, createInnerTRPCContext } from "./src/trpc";
// TODO: Maybe just export `createAction` instead of the whole `trpc` object?export { t } from "./src/trpc";
export type { AppRouter } from "./src/root";export { appRouter } from "./src/root";
/** * Inference helpers for input types * @example type HelloInput = RouterInputs['example']['hello'] **/export type RouterInputs = inferRouterInputs<AppRouter>;
/** * Inference helpers for output types * @example type HelloOutput = RouterOutputs['example']['hello'] **/export type RouterOutputs = inferRouterOutputs<AppRouter>;