@imbricate/core
Version:
Imbricate Core, Notebook for Engineers
28 lines (27 loc) • 1.13 kB
JavaScript
;
/**
* @author WMXPY
* @namespace Origin
* @description Essential
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImbricateOriginEssentialBase = void 0;
const feature_not_supported_1 = require("../../error/origin/feature-not-supported");
const feature_1 = require("../feature");
const full_feature_1 = require("./full-feature");
class ImbricateOriginEssentialBase extends full_feature_1.ImbricateOriginFullFeatureBase {
constructor() {
super(...arguments);
this.supportedFeatures = [
feature_1.IMBRICATE_ORIGIN_FEATURE.ORIGIN_DATABASE_MANAGER,
feature_1.IMBRICATE_ORIGIN_FEATURE.ORIGIN_TEXT_MANAGER,
];
}
getStaticManager() {
throw feature_not_supported_1.ImbricateOriginFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_ORIGIN_FEATURE.ORIGIN_STATIC_MANAGER);
}
search(_keyword) {
throw feature_not_supported_1.ImbricateOriginFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_ORIGIN_FEATURE.ORIGIN_SEARCH);
}
}
exports.ImbricateOriginEssentialBase = ImbricateOriginEssentialBase;