Skip to content

Commit

Permalink
chore: debug dependency errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Samika Kashyap committed May 21, 2024
2 parents a811011 + 3843108 commit 802d040
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion config/env/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@
"host": "@@DB_HOST",
"user": "@@DB_USERNAME",
"password": "@@DB_PASSWORD",
"port": "@@DB_PORT"
"port": "@@DB_PORT",
"replicaDatabase": "@@REPLICA_DB_NAME",
"replicaHost": "@@REPLICA_DB_HOST",
"replicaUser": "@@REPLICA_DB_USERNAME",
"replicaPassword": "@@REPLICA_DB_PASSWORD",
"replicaPort": "@@REPLICA_DB_PORT",
"replicaConnectionString": "@@REPLICA_DB_CONNECTION_STRING"
}
},
"replica_db": {
Expand Down
3 changes: 2 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ type DependenciesContext = {
type ProvidedContext = {
anchorService: AnchorService
requestRepository: RequestRepository
replicationRequestRepository: ReplicationRequestRepository
anchorRepository: AnchorRepository
transactionRepository: TransactionRepository
blockchainService: BlockchainService
Expand Down Expand Up @@ -98,9 +99,9 @@ export class CeramicAnchorApp {
// register repositories
.provideClass('metadataRepository', MetadataRepository)
.provideFactory('requestRepository', RequestRepository.make)
.provideClass('replicationRequestRepository', ReplicationRequestRepository)
.provideClass('anchorRepository', AnchorRepository)
.provideClass('transactionRepository', TransactionRepository)
.provideClass('replicationRequestRepository', ReplicationRequestRepository)
// register services
.provideFactory('blockchainService', EthereumBlockchainService.make)
.provideClass('eventProducerService', HTTPEventProducerService)
Expand Down

0 comments on commit 802d040

Please sign in to comment.