@itwin/presentation-common
Version:
Common pieces for iModel.js presentation packages
20 lines • 830 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
*/
import { PropertyInfo } from "../EC.js";
/** @public */
export var Property;
(function (Property) {
/** Serialize [[Property]] to compressed JSON */
function toCompressedJSON(prop, classesMap) {
return {
property: PropertyInfo.toCompressedJSON(prop.property, classesMap),
};
}
Property.toCompressedJSON = toCompressedJSON;
})(Property || (Property = {}));
//# sourceMappingURL=Property.js.map