mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-11 14:10:15 -07:00
d5e2fbed0e
also: moved to tRPC (node)
15 lines
434 B
TypeScript
15 lines
434 B
TypeScript
import { createTRPCRouter } from './trpc.server';
|
|
|
|
import { browseRouter } from '~/modules/browse/browse.router';
|
|
import { tradeRouter } from '~/modules/trade/server/trade.router';
|
|
|
|
/**
|
|
* Secondary rooter, and will be sitting on an NodeJS Runtime.
|
|
*/
|
|
export const appRouterNode = createTRPCRouter({
|
|
browse: browseRouter,
|
|
trade: tradeRouter,
|
|
});
|
|
|
|
// export type definition of API
|
|
export type AppRouterNode = typeof appRouterNode; |