aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/routers/config.ts
blob: 8d09a2cef8ab10cbefbe831079fef44aae4df2dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { clientConfig } from "@karakeep/shared/config";
import { zClientConfigSchema } from "@karakeep/shared/types/config";

import { publicProcedure, router } from "../index";

export const configAppRouter = router({
  clientConfig: publicProcedure
    .output(zClientConfigSchema)
    .query(() => clientConfig),
});