import { authRouter } from "$lib/domains/auth/domain/router";
import { ckflowRouter } from "$lib/domains/ckflow/domain/router";
import { currencyRouter } from "$lib/domains/currency/domain/router";
import { orderRouter } from "$lib/domains/order/domain/router";
import { productRouter } from "$lib/domains/product/router";
import { userRouter } from "$lib/domains/user/domain/router";
import { createTRPCRouter } from "../t";

export const router = createTRPCRouter({
	auth: authRouter,
	user: userRouter,
	currency: currencyRouter,
	order: orderRouter,
	ckflow: ckflowRouter,
	product: productRouter,
});

export type Router = typeof router;
