UNPKG

@configurator/ravendb

Version:
19 lines 611 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AbstractCommonApiForIndexes = void 0; class AbstractCommonApiForIndexes { constructor() { this.configuration = {}; } get isMapReduce() { return false; } getIndexName() { return AbstractCommonApiForIndexes.getIndexNameForCtor(this.constructor.name); } static getIndexNameForCtor(indexCtorName) { return indexCtorName.replace(/_/g, "/"); } } exports.AbstractCommonApiForIndexes = AbstractCommonApiForIndexes; //# sourceMappingURL=AbstractCommonApiForIndexes.js.map