@botonic/plugin-contentful
Version:
Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet
22 lines • 748 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearchableBy = exports.SearchableByKeywords = exports.SCORE_MAX = exports.SCORE_MIN = exports.PRIORITY_MAX = exports.PRIORITY_MIN = void 0;
exports.PRIORITY_MIN = 0;
exports.PRIORITY_MAX = 100;
exports.SCORE_MIN = 0;
exports.SCORE_MAX = 1;
class SearchableByKeywords {
constructor(name, keywords = [], priority = exports.PRIORITY_MAX) {
this.name = name;
this.keywords = keywords;
this.priority = priority;
}
}
exports.SearchableByKeywords = SearchableByKeywords;
class SearchableBy {
constructor(keywords = []) {
this.keywords = keywords;
}
}
exports.SearchableBy = SearchableBy;
//# sourceMappingURL=fields.js.map