UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

24 lines (23 loc) 854 B
"use strict"; /** * @author WMXPY * @namespace Text * @description Author Only */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ImbricateTextAuthorOnlyBase = void 0; const feature_not_supported_1 = require("../../error/text/feature-not-supported"); const feature_1 = require("../feature"); const full_feature_1 = require("./full-feature"); class ImbricateTextAuthorOnlyBase extends full_feature_1.ImbricateTextFullFeatureBase { constructor() { super(...arguments); this.supportedFeatures = [ feature_1.IMBRICATE_TEXT_FEATURE.TEXT_GET_AUTHOR, ]; } getContent() { throw feature_not_supported_1.ImbricateTextFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_TEXT_FEATURE.TEXT_GET_CONTENT); } } exports.ImbricateTextAuthorOnlyBase = ImbricateTextAuthorOnlyBase;