UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

35 lines (34 loc) 1.84 kB
"use strict"; /** * @namespace Document * @description Full Feature Readonly */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ImbricateDocumentFullFeatureReadonlyBase = 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 ImbricateDocumentFullFeatureReadonlyBase extends full_feature_1.ImbricateDocumentFullFeatureBase { constructor() { super(...arguments); this.supportedFeatures = [ feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_GET_EDIT_RECORD, ]; } mergeProperties(_propertiesDrafter, _auditOptions) { throw feature_not_supported_1.ImbricateDocumentFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_PUT_PROPERTY); } replaceProperties(_propertiesDrafter, _auditOptions) { throw feature_not_supported_1.ImbricateDocumentFeatureNotSupportedError.withFeature(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); } } exports.ImbricateDocumentFullFeatureReadonlyBase = ImbricateDocumentFullFeatureReadonlyBase;