import { CrudFeatures , DataSourceOptions } from '@loopback/repository-tests' ; const connector = require ( 'loopback-connector-cloudant' ) ; export const CLOUDANT_CONFIG = { connector , host : process . env . CLOUDANT_HOST ?? 'localhost' , port : process . env . CLOUDANT_PORT ?? 5984 , username : process . env . CLOUDANT_USERNAME ?? 'admin' , password : process . env . CLOUDANT_PASSWORD ?? 'pass' , database : process . env . CLOUDANT_DATABASE ?? 'testdb' , } ; CLOUDANT_CONFIG . url = 'http://' + CLOUDANT_CONFIG . username + ':' + CLOUDANT_CONFIG . password + '@' + CLOUDANT_CONFIG . host + ':' + CLOUDANT_CONFIG . port ; export const CLOUDANT_FEATURES = { idType : 'string' , supportsTransactions : false , hasRevisionToken : true , } ;