@itwin/core-common
Version:
iTwin.js components common to frontend and backend
26 lines • 974 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 Tile
*/
/**
* @internal
*/
export var TileContentSource;
(function (TileContentSource) {
TileContentSource[TileContentSource["Backend"] = 0] = "Backend";
TileContentSource[TileContentSource["ExternalCache"] = 1] = "ExternalCache";
})(TileContentSource || (TileContentSource = {}));
/**
* @internal
*/
export function getTileObjectReference(iModelId, changesetId, treeId, contentId, guid) {
return {
baseDirectory: iModelId,
relativeDirectory: `tiles/${treeId}/${guid ?? changesetId}`,
objectName: contentId,
};
}
//# sourceMappingURL=TileProps.js.map