requests.module.ts 606 Bytes
Newer Older
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
1
import { Module } from '@nestjs/common';
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
2 3
import { RequestsService } from './requests.service';
import { OrganizationsModule } from '../organizations/organizations.module';
4 5 6
import { TypeOrmModule } from '@nestjs/typeorm';
import { CredentialIssueRequest } from './credential-issue-request.entity';
import { CredentialVerifyRequest } from './credential-verify-request.entity';
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
7

Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
8
@Module({
9 10 11 12
  imports: [
    TypeOrmModule.forFeature([CredentialIssueRequest, CredentialVerifyRequest]),
    OrganizationsModule,
  ],
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
13 14 15
  providers: [RequestsService],
  exports: [RequestsService],
})
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
16
export class RequestsModule {}