jolocom.module.ts 457 Bytes
Newer Older
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
1
import { Module } from '@nestjs/common';
2 3
import { TypeOrmModule } from '@nestjs/typeorm';

Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
4
import { JolocomService } from './jolocom.service';
5 6
import { JolocomWallet } from './jolocom-wallet.entity';
import { JolocomCredentialType } from './jolocom-credential-type.entity';
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
7 8

@Module({
9
  imports: [TypeOrmModule.forFeature([JolocomWallet, JolocomCredentialType])],
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
10 11 12 13
  providers: [JolocomService],
  exports: [JolocomService],
})
export class JolocomModule {}