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.
459 B ยท 19 lines
TSX
1234567891011121314151617181920import "server-only";import { createServerHelpers } from "@openstatus/api/src/rsc";
import { auth } from "../auth";import { makeQueryClient } from "./query-client";
export const { trpc, getQueryClient, HydrateClient, prefetch, batchPrefetch, fetchQueryOrNotFound,} = createServerHelpers({ // Lazy: `../auth` imports this module, so referencing `auth` eagerly would // hit a circular-init TDZ. makeQueryClient, auth: () => auth(),});