import { Module } from '@nestjs/common';
import { PrismaService } from '../../prisma/prisma.service';
import { OpsController } from './ops.controller';
import { OpsPermissionAdapter } from './ops-permission.adapter';
import { OPS_PRISMA, OpsService } from './ops.service';

@Module({
  controllers: [OpsController],
  providers: [
    { provide: OPS_PRISMA, useExisting: PrismaService },
    OpsService,
    OpsPermissionAdapter,
  ],
  exports: [OpsService, OpsPermissionAdapter],
})
export class OpsModule {}
