(modelName: string)
| 55 | } |
| 56 | |
| 57 | private toIndex(modelName: string): string { |
| 58 | const prefix = this.config.indexPrefix ? `${this.config.indexPrefix}-` : ""; |
| 59 | return `${prefix}${modelName.toLowerCase()}`.trim(); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | export default ElasticService; |
no outgoing calls
no test coverage detected