mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
16 lines
525 B
TypeScript
16 lines
525 B
TypeScript
import { createTRPCRouter } from './trpc.server';
|
|
|
|
import { browseRouter } from '~/modules/browse/browse.router';
|
|
import { tradeRouter } from '~/modules/trade/server/trade.router';
|
|
|
|
/**
|
|
* Cloud rooter, which is geolocated in 1 location and separate from the other routers.
|
|
* NOTE: at the time of writing, the location is aws|us-east-1
|
|
*/
|
|
export const appRouterCloud = createTRPCRouter({
|
|
browse: browseRouter,
|
|
trade: tradeRouter,
|
|
});
|
|
|
|
// export type definition of API
|
|
export type AppRouterCloud = typeof appRouterCloud; |