UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

24 lines (23 loc) 957 B
"use strict"; /** * @author WMXPY * @namespace TextManager * @description Readonly */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ImbricateTextManagerReadonlyBase = void 0; const feature_not_supported_1 = require("../../error/text-manager/feature-not-supported"); const feature_1 = require("../feature"); const full_feature_1 = require("./full-feature"); class ImbricateTextManagerReadonlyBase extends full_feature_1.ImbricateTextManagerFullFeatureBase { constructor() { super(...arguments); this.supportedFeatures = [ feature_1.IMBRICATE_TEXT_MANAGER_FEATURE.TEXT_MANAGER_GET_TEXT, ]; } createInBase64(_content, _auditOptions) { throw feature_not_supported_1.ImbricateTextManagerFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_TEXT_MANAGER_FEATURE.TEXT_MANAGER_CREATE_TEXT); } } exports.ImbricateTextManagerReadonlyBase = ImbricateTextManagerReadonlyBase;