UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

19 lines (18 loc) 656 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BinaryAttachment = void 0; var BinaryReference_1 = require("./BinaryReference"); var BinaryAttachment = (function () { function BinaryAttachment(reference, byteSource) { this.reference = new BinaryReference_1.BinaryReference(reference); this.byteSource = byteSource; } BinaryAttachment.prototype.getReference = function () { return this.reference; }; BinaryAttachment.prototype.getByteSource = function () { return this.byteSource; }; return BinaryAttachment; }()); exports.BinaryAttachment = BinaryAttachment;