UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

34 lines (33 loc) 1.59 kB
"use strict"; /** * @author WMXPY * @namespace Document * @description Essential */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ImbricateDocumentEssentialBase = void 0; const feature_not_supported_1 = require("../../error/document/feature-not-supported"); const feature_1 = require("../feature"); const full_feature_1 = require("./full-feature"); class ImbricateDocumentEssentialBase extends full_feature_1.ImbricateDocumentFullFeatureBase { constructor() { super(...arguments); this.annotations = {}; this.supportedFeatures = [ feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_PUT_PROPERTY, ]; } putAnnotation(_namespace, _identifier, _value, _auditOptions) { throw feature_not_supported_1.ImbricateDocumentFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_PUT_ANNOTATION); } deleteAnnotation(_namespace, _identifier, _auditOptions) { throw feature_not_supported_1.ImbricateDocumentFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_DELETE_ANNOTATION); } addEditRecords(_records) { throw feature_not_supported_1.ImbricateDocumentFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_PUT_EDIT_RECORD); } getEditRecords() { throw feature_not_supported_1.ImbricateDocumentFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_GET_EDIT_RECORD); } } exports.ImbricateDocumentEssentialBase = ImbricateDocumentEssentialBase;