@itwin/presentation-common
Version:
Common pieces for iModel.js presentation packages
23 lines • 950 B
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Content
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Property = void 0;
const EC_js_1 = require("../EC.js");
/** @public */
var Property;
(function (Property) {
/** Serialize [[Property]] to compressed JSON */
function toCompressedJSON(prop, classesMap) {
return {
property: EC_js_1.PropertyInfo.toCompressedJSON(prop.property, classesMap),
};
}
Property.toCompressedJSON = toCompressedJSON;
})(Property || (exports.Property = Property = {}));
//# sourceMappingURL=Property.js.map