dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_RegistrarModule cluster_RegistrarModule_imports cluster_RegistrarModule_providers cluster_RegistrarModule_exports CryptoModule CryptoModule RegistrarModule RegistrarModule CryptoModule->RegistrarModule PresentationsModule PresentationsModule PresentationsModule->RegistrarModule RegistrarService RegistrarService RegistrarModule->RegistrarService RegistrarService RegistrarService RegistrarService->RegistrarModule

File

src/registrar/registrar.module.ts

Description

RegistrarModule is responsible for managing the registrar service. It provides the RegistrarService and imports necessary modules.

import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { CryptoModule } from "../crypto/crypto.module";
import { PresentationsModule } from "../verifier/presentations/presentations.module";
import { RegistrarEntity } from "./entities/registrar.entity";
import { RegistrarService } from "./registrar.service";

/**
 * RegistrarModule is responsible for managing the registrar service.
 * It provides the RegistrarService and imports necessary modules.
 */
@Module({
    imports: [
        CryptoModule,
        PresentationsModule,
        TypeOrmModule.forFeature([RegistrarEntity]),
    ],
    providers: [RegistrarService],
    exports: [RegistrarService],
})
export class RegistrarModule {}

results matching ""

    No results matching ""