22 lines
826 B
TypeScript
22 lines
826 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { BPatientsController } from './b-patients/b-patients.controller.js';
|
|
import { CPatientsController } from './c-patients/c-patients.controller.js';
|
|
import { AccessTokenGuard } from '../auth/access-token.guard.js';
|
|
import { FamilyAccessTokenGuard } from '../auth/family-access/family-access.guard.js';
|
|
import { RolesGuard } from '../auth/roles.guard.js';
|
|
import { BPatientsService } from './b-patients/b-patients.service.js';
|
|
import { CPatientsService } from './c-patients/c-patients.service.js';
|
|
|
|
@Module({
|
|
providers: [
|
|
BPatientsService,
|
|
CPatientsService,
|
|
AccessTokenGuard,
|
|
FamilyAccessTokenGuard,
|
|
RolesGuard,
|
|
],
|
|
controllers: [BPatientsController, CPatientsController],
|
|
exports: [BPatientsService, CPatientsService],
|
|
})
|
|
export class PatientsModule {}
|