MCPcopy Create free account
hub / github.com/axe-api/axe-api / toIndex

Method toIndex

packages/axe-api/src/Services/ElasticService.ts:57–60  ·  view source on GitHub ↗
(modelName: string)

Source from the content-addressed store, hash-verified

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
63export default ElasticService;

Callers 5

createIndexMethod · 0.95
insertMethod · 0.95
updateMethod · 0.95
deleteMethod · 0.95
searchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected