@tsed-plus/meilisearch-mongoose-indexer
Version:
Extends the Ts.ED framework with the functionality to synchronize Mongoose models with Meilisearch
22 lines • 614 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseMeiliMongoIndexer = void 0;
const tslib_1 = require("tslib");
class BaseMeiliMongoIndexer {
getIndexName() {
return undefined;
}
getCreateIndexOptions() {
return {};
}
getUpdateIndexAndSettingsOptions(index) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return undefined;
});
}
transformDocument(input) {
return input;
}
}
exports.BaseMeiliMongoIndexer = BaseMeiliMongoIndexer;
//# sourceMappingURL=MeiliMongoIndexer.js.map