-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from near-daos/develop
fixed deployment configuration for exchange related services
- Loading branch information
Showing
38 changed files
with
142 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
import { TypeOrmModule } from '@nestjs/typeorm'; | ||
import { CacheModule, Module } from '@nestjs/common'; | ||
|
||
import { CacheConfigService } from '@dao-stats/config/cache'; | ||
import { Contract } from '@dao-stats/common'; | ||
import { ContractModule } from '@dao-stats/common'; | ||
|
||
import { ContractController } from './contract.controller'; | ||
import { ContractService } from './contract.service'; | ||
|
||
@Module({ | ||
imports: [ | ||
CacheModule.registerAsync({ | ||
useClass: CacheConfigService, | ||
}), | ||
TypeOrmModule.forFeature([Contract]), | ||
ContractModule, | ||
], | ||
providers: [ContractService], | ||
controllers: [ContractController], | ||
exports: [ContractService], | ||
}) | ||
export class ContractModule {} | ||
export class ApiContractModule {} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
import { TypeOrmModule } from '@nestjs/typeorm'; | ||
import { CacheModule, Module } from '@nestjs/common'; | ||
|
||
import { CacheConfigService } from '@dao-stats/config/cache'; | ||
import { Dao, DaoService } from '@dao-stats/common'; | ||
import { ContractModule, DaoModule } from '@dao-stats/common'; | ||
|
||
import { DaoController } from './dao.controller'; | ||
import { ContractModule } from '../contract/contract.module'; | ||
|
||
@Module({ | ||
imports: [ | ||
CacheModule.registerAsync({ | ||
useClass: CacheConfigService, | ||
}), | ||
TypeOrmModule.forFeature([Dao]), | ||
ContractModule, | ||
DaoModule, | ||
], | ||
providers: [DaoService], | ||
controllers: [DaoController], | ||
exports: [DaoService], | ||
}) | ||
export class ApiDaoModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { TypeOrmModule } from '@nestjs/typeorm'; | ||
import { Module } from '@nestjs/common'; | ||
|
||
import { Contract } from './entities'; | ||
import { ContractService } from './contract.service'; | ||
|
||
@Module({ | ||
imports: [TypeOrmModule.forFeature([Contract])], | ||
providers: [ContractService], | ||
exports: [ContractService], | ||
}) | ||
export class ContractModule {} |
Oops, something went wrong.