dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_CryptoModule cluster_CryptoModule_exports cluster_CryptoModule_providers CryptoService CryptoService EncryptionService EncryptionService CryptoModule CryptoModule CryptoModule->CryptoService CryptoModule->EncryptionService CryptoService CryptoService CryptoService->CryptoModule EncryptionService EncryptionService EncryptionService->CryptoModule

File

src/crypto/crypto.module.ts

import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { TenantEntity } from "../auth/tenant/entitites/tenant.entity";
import { CryptoService } from "./crypto.service";
import { EncryptionService } from "./encryption/encryption.service";
import { CertEntity } from "./key/entities/cert.entity";
import { KeyEntity } from "./key/entities/keys.entity";
import { KeyController } from "./key/key.controller";

@Module({
    imports: [TypeOrmModule.forFeature([CertEntity, KeyEntity, TenantEntity])],
    controllers: [KeyController],
    providers: [CryptoService, EncryptionService],
    exports: [CryptoService, EncryptionService],
})
export class CryptoModule {}

results matching ""

    No results matching ""