import { Pool } from 'pg' ; import * as BlockchainRepository from './blockchain-repository' ; export interface Repositories { blockchainRepository : BlockchainRepository . BlockchainRepository ; } param database export const configure = ( database ) : Repositories => ( { blockchainRepository : BlockchainRepository . configure ( database ) } ) ;