import { authRouter } from "$lib/domains/auth/domain/router";
import { ckflowRouter } from "$lib/domains/ckflow/router";
import { customerInfoRouter } from "$lib/domains/customerinfo/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,
	order: orderRouter,
	ckflow: ckflowRouter,
	product: productRouter,
	customerInfo: customerInfoRouter,
});

export type Router = typeof router;
