import { Module } from '@nestjs/common'; | |
import { TrpcService } from '@server/trpc/trpc.service'; | |
import { TrpcRouter } from '@server/trpc/trpc.router'; | |
import { PrismaModule } from '@server/prisma/prisma.module'; | |
({ | |
imports: [PrismaModule], | |
controllers: [], | |
providers: [TrpcService, TrpcRouter], | |
exports: [TrpcService, TrpcRouter], | |
}) | |
export class TrpcModule {} | |