@itwin/core-common 5.0.0-dev.4 → 5.0.0-dev.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -1
- package/lib/cjs/AmbientOcclusion.js +9 -9
- package/lib/cjs/AmbientOcclusion.js.map +1 -1
- package/lib/cjs/AnalysisStyle.js +1 -1
- package/lib/cjs/AnalysisStyle.js.map +1 -1
- package/lib/cjs/Atmosphere.js +19 -21
- package/lib/cjs/Atmosphere.js.map +1 -1
- package/lib/cjs/BriefcaseTypes.d.ts +2 -2
- package/lib/cjs/BriefcaseTypes.d.ts.map +1 -1
- package/lib/cjs/BriefcaseTypes.js.map +1 -1
- package/lib/cjs/ClipStyle.js +5 -5
- package/lib/cjs/ClipStyle.js.map +1 -1
- package/lib/cjs/ColorDef.js +10 -10
- package/lib/cjs/ColorDef.js.map +1 -1
- package/lib/cjs/ConcurrentQuery.d.ts +5 -1
- package/lib/cjs/ConcurrentQuery.d.ts.map +1 -1
- package/lib/cjs/ConcurrentQuery.js.map +1 -1
- package/lib/cjs/ContourDisplay.js +5 -5
- package/lib/cjs/ContourDisplay.js.map +1 -1
- package/lib/cjs/ECSqlReader.d.ts.map +1 -1
- package/lib/cjs/ECSqlReader.js +3 -1
- package/lib/cjs/ECSqlReader.js.map +1 -1
- package/lib/cjs/ElementProps.d.ts.map +1 -1
- package/lib/cjs/ElementProps.js +3 -3
- package/lib/cjs/ElementProps.js.map +1 -1
- package/lib/cjs/Environment.js +2 -2
- package/lib/cjs/Environment.js.map +1 -1
- package/lib/cjs/FeatureSymbology.js +3 -3
- package/lib/cjs/FeatureSymbology.js.map +1 -1
- package/lib/cjs/Fonts.d.ts +69 -11
- package/lib/cjs/Fonts.d.ts.map +1 -1
- package/lib/cjs/Fonts.js +20 -5
- package/lib/cjs/Fonts.js.map +1 -1
- package/lib/cjs/Gradient.js +9 -9
- package/lib/cjs/Gradient.js.map +1 -1
- package/lib/cjs/GroundPlane.js +2 -2
- package/lib/cjs/GroundPlane.js.map +1 -1
- package/lib/cjs/HiddenLine.js +4 -4
- package/lib/cjs/HiddenLine.js.map +1 -1
- package/lib/cjs/IModel.d.ts +3 -12
- package/lib/cjs/IModel.d.ts.map +1 -1
- package/lib/cjs/IModel.js +6 -6
- package/lib/cjs/IModel.js.map +1 -1
- package/lib/cjs/IModelError.d.ts +0 -2
- package/lib/cjs/IModelError.d.ts.map +1 -1
- package/lib/cjs/IModelError.js +1 -8
- package/lib/cjs/IModelError.js.map +1 -1
- package/lib/cjs/ITwinError.d.ts +1 -1
- package/lib/cjs/ITwinError.d.ts.map +1 -1
- package/lib/cjs/ITwinError.js +1 -1
- package/lib/cjs/ITwinError.js.map +1 -1
- package/lib/cjs/LightSettings.js +1 -1
- package/lib/cjs/LightSettings.js.map +1 -1
- package/lib/cjs/PlanarClipMask.js +2 -2
- package/lib/cjs/PlanarClipMask.js.map +1 -1
- package/lib/cjs/RealityModelDisplaySettings.js +4 -4
- package/lib/cjs/RealityModelDisplaySettings.js.map +1 -1
- package/lib/cjs/RenderMaterial.js +3 -3
- package/lib/cjs/RenderMaterial.js.map +1 -1
- package/lib/cjs/RpcInterface.js +1 -1
- package/lib/cjs/RpcInterface.js.map +1 -1
- package/lib/cjs/SkyBox.js +4 -4
- package/lib/cjs/SkyBox.js.map +1 -1
- package/lib/cjs/SolarShadows.js +1 -1
- package/lib/cjs/SolarShadows.js.map +1 -1
- package/lib/cjs/SubCategoryAppearance.js +1 -1
- package/lib/cjs/SubCategoryAppearance.js.map +1 -1
- package/lib/cjs/SubCategoryOverride.js +2 -2
- package/lib/cjs/SubCategoryOverride.js.map +1 -1
- package/lib/cjs/TextureMapping.js +2 -2
- package/lib/cjs/TextureMapping.js.map +1 -1
- package/lib/cjs/ThematicDisplay.js +2 -2
- package/lib/cjs/ThematicDisplay.js.map +1 -1
- package/lib/cjs/ViewDetails.js +2 -2
- package/lib/cjs/ViewDetails.js.map +1 -1
- package/lib/cjs/ViewFlags.js +2 -2
- package/lib/cjs/ViewFlags.js.map +1 -1
- package/lib/cjs/WhiteOnWhiteReversalSettings.js +2 -2
- package/lib/cjs/WhiteOnWhiteReversalSettings.js.map +1 -1
- package/lib/cjs/annotation/TextStyle.js +19 -19
- package/lib/cjs/annotation/TextStyle.js.map +1 -1
- package/lib/cjs/core-common.d.ts +0 -1
- package/lib/cjs/core-common.d.ts.map +1 -1
- package/lib/cjs/core-common.js +0 -1
- package/lib/cjs/core-common.js.map +1 -1
- package/lib/cjs/geometry/Cartographic.js +13 -13
- package/lib/cjs/geometry/Cartographic.js.map +1 -1
- package/lib/cjs/ipc/IpcWebSocket.js +1 -1
- package/lib/cjs/ipc/IpcWebSocket.js.map +1 -1
- package/lib/cjs/ipc/IpcWebSocketTransport.js +1 -1
- package/lib/cjs/ipc/IpcWebSocketTransport.js.map +1 -1
- package/lib/cjs/rpc/DevToolsRpcInterface.js +6 -6
- package/lib/cjs/rpc/DevToolsRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/IModelReadRpcInterface.js +5 -5
- package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/IModelTileRpcInterface.js +4 -4
- package/lib/cjs/rpc/IModelTileRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/SnapshotIModelRpcInterface.js +4 -4
- package/lib/cjs/rpc/SnapshotIModelRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/core/RpcConfiguration.js +32 -34
- package/lib/cjs/rpc/core/RpcConfiguration.js.map +1 -1
- package/lib/cjs/rpc/core/RpcControl.js +8 -15
- package/lib/cjs/rpc/core/RpcControl.js.map +1 -1
- package/lib/cjs/rpc/core/RpcInvocation.js +3 -5
- package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
- package/lib/cjs/rpc/core/RpcMarshaling.d.ts +0 -3
- package/lib/cjs/rpc/core/RpcMarshaling.d.ts.map +1 -1
- package/lib/cjs/rpc/core/RpcMarshaling.js +5 -4
- package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
- package/lib/cjs/rpc/core/RpcOperation.js +2 -2
- package/lib/cjs/rpc/core/RpcOperation.js.map +1 -1
- package/lib/cjs/rpc/core/RpcProtocol.js +4 -4
- package/lib/cjs/rpc/core/RpcProtocol.js.map +1 -1
- package/lib/cjs/rpc/core/RpcPush.js +5 -5
- package/lib/cjs/rpc/core/RpcPush.js.map +1 -1
- package/lib/cjs/rpc/core/RpcRequest.js +5 -5
- package/lib/cjs/rpc/core/RpcRequest.js.map +1 -1
- package/lib/cjs/rpc/core/RpcRoutingToken.js +2 -2
- package/lib/cjs/rpc/core/RpcRoutingToken.js.map +1 -1
- package/lib/cjs/rpc/core/RpcSessionInvocation.js +1 -1
- package/lib/cjs/rpc/core/RpcSessionInvocation.js.map +1 -1
- package/lib/cjs/rpc/web/BentleyCloudRpcManager.js +6 -6
- package/lib/cjs/rpc/web/BentleyCloudRpcManager.js.map +1 -1
- package/lib/cjs/rpc/web/RpcMultipart.d.ts.map +1 -1
- package/lib/cjs/rpc/web/RpcMultipart.js +13 -12
- package/lib/cjs/rpc/web/RpcMultipart.js.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcRequest.js +17 -19
- package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
- package/lib/cjs/tile/IModelTileIO.d.ts +2 -2
- package/lib/cjs/tile/IModelTileIO.js +3 -3
- package/lib/cjs/tile/IModelTileIO.js.map +1 -1
- package/lib/esm/AmbientOcclusion.js +9 -9
- package/lib/esm/AmbientOcclusion.js.map +1 -1
- package/lib/esm/AnalysisStyle.js +1 -1
- package/lib/esm/AnalysisStyle.js.map +1 -1
- package/lib/esm/Atmosphere.js +19 -21
- package/lib/esm/Atmosphere.js.map +1 -1
- package/lib/esm/BriefcaseTypes.d.ts +2 -2
- package/lib/esm/BriefcaseTypes.d.ts.map +1 -1
- package/lib/esm/BriefcaseTypes.js.map +1 -1
- package/lib/esm/ClipStyle.js +5 -5
- package/lib/esm/ClipStyle.js.map +1 -1
- package/lib/esm/ColorDef.js +10 -10
- package/lib/esm/ColorDef.js.map +1 -1
- package/lib/esm/ConcurrentQuery.d.ts +5 -1
- package/lib/esm/ConcurrentQuery.d.ts.map +1 -1
- package/lib/esm/ConcurrentQuery.js.map +1 -1
- package/lib/esm/ContourDisplay.js +5 -5
- package/lib/esm/ContourDisplay.js.map +1 -1
- package/lib/esm/ECSqlReader.d.ts.map +1 -1
- package/lib/esm/ECSqlReader.js +3 -1
- package/lib/esm/ECSqlReader.js.map +1 -1
- package/lib/esm/ElementProps.d.ts.map +1 -1
- package/lib/esm/ElementProps.js +4 -4
- package/lib/esm/ElementProps.js.map +1 -1
- package/lib/esm/Environment.js +2 -2
- package/lib/esm/Environment.js.map +1 -1
- package/lib/esm/FeatureSymbology.js +3 -3
- package/lib/esm/FeatureSymbology.js.map +1 -1
- package/lib/esm/Fonts.d.ts +69 -11
- package/lib/esm/Fonts.d.ts.map +1 -1
- package/lib/esm/Fonts.js +20 -5
- package/lib/esm/Fonts.js.map +1 -1
- package/lib/esm/Gradient.js +9 -9
- package/lib/esm/Gradient.js.map +1 -1
- package/lib/esm/GroundPlane.js +2 -2
- package/lib/esm/GroundPlane.js.map +1 -1
- package/lib/esm/HiddenLine.js +4 -4
- package/lib/esm/HiddenLine.js.map +1 -1
- package/lib/esm/IModel.d.ts +3 -12
- package/lib/esm/IModel.d.ts.map +1 -1
- package/lib/esm/IModel.js +6 -6
- package/lib/esm/IModel.js.map +1 -1
- package/lib/esm/IModelError.d.ts +0 -2
- package/lib/esm/IModelError.d.ts.map +1 -1
- package/lib/esm/IModelError.js +0 -1
- package/lib/esm/IModelError.js.map +1 -1
- package/lib/esm/ITwinError.d.ts +1 -1
- package/lib/esm/ITwinError.d.ts.map +1 -1
- package/lib/esm/ITwinError.js +1 -1
- package/lib/esm/ITwinError.js.map +1 -1
- package/lib/esm/LightSettings.js +1 -1
- package/lib/esm/LightSettings.js.map +1 -1
- package/lib/esm/PlanarClipMask.js +2 -2
- package/lib/esm/PlanarClipMask.js.map +1 -1
- package/lib/esm/RealityModelDisplaySettings.js +4 -4
- package/lib/esm/RealityModelDisplaySettings.js.map +1 -1
- package/lib/esm/RenderMaterial.js +3 -3
- package/lib/esm/RenderMaterial.js.map +1 -1
- package/lib/esm/RpcInterface.js +2 -2
- package/lib/esm/RpcInterface.js.map +1 -1
- package/lib/esm/SkyBox.js +4 -4
- package/lib/esm/SkyBox.js.map +1 -1
- package/lib/esm/SolarShadows.js +1 -1
- package/lib/esm/SolarShadows.js.map +1 -1
- package/lib/esm/SubCategoryAppearance.js +1 -1
- package/lib/esm/SubCategoryAppearance.js.map +1 -1
- package/lib/esm/SubCategoryOverride.js +2 -2
- package/lib/esm/SubCategoryOverride.js.map +1 -1
- package/lib/esm/TextureMapping.js +2 -2
- package/lib/esm/TextureMapping.js.map +1 -1
- package/lib/esm/ThematicDisplay.js +2 -2
- package/lib/esm/ThematicDisplay.js.map +1 -1
- package/lib/esm/ViewDetails.js +2 -2
- package/lib/esm/ViewDetails.js.map +1 -1
- package/lib/esm/ViewFlags.js +2 -2
- package/lib/esm/ViewFlags.js.map +1 -1
- package/lib/esm/WhiteOnWhiteReversalSettings.js +2 -2
- package/lib/esm/WhiteOnWhiteReversalSettings.js.map +1 -1
- package/lib/esm/annotation/TextStyle.js +19 -19
- package/lib/esm/annotation/TextStyle.js.map +1 -1
- package/lib/esm/core-common.d.ts +0 -1
- package/lib/esm/core-common.d.ts.map +1 -1
- package/lib/esm/core-common.js +0 -1
- package/lib/esm/core-common.js.map +1 -1
- package/lib/esm/geometry/Cartographic.js +13 -13
- package/lib/esm/geometry/Cartographic.js.map +1 -1
- package/lib/esm/ipc/IpcWebSocket.js +1 -1
- package/lib/esm/ipc/IpcWebSocket.js.map +1 -1
- package/lib/esm/ipc/IpcWebSocketTransport.js +1 -1
- package/lib/esm/ipc/IpcWebSocketTransport.js.map +1 -1
- package/lib/esm/rpc/DevToolsRpcInterface.js +6 -6
- package/lib/esm/rpc/DevToolsRpcInterface.js.map +1 -1
- package/lib/esm/rpc/IModelReadRpcInterface.js +5 -5
- package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
- package/lib/esm/rpc/IModelTileRpcInterface.js +4 -4
- package/lib/esm/rpc/IModelTileRpcInterface.js.map +1 -1
- package/lib/esm/rpc/SnapshotIModelRpcInterface.js +4 -4
- package/lib/esm/rpc/SnapshotIModelRpcInterface.js.map +1 -1
- package/lib/esm/rpc/core/RpcConfiguration.js +32 -34
- package/lib/esm/rpc/core/RpcConfiguration.js.map +1 -1
- package/lib/esm/rpc/core/RpcControl.js +8 -15
- package/lib/esm/rpc/core/RpcControl.js.map +1 -1
- package/lib/esm/rpc/core/RpcInvocation.js +3 -5
- package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
- package/lib/esm/rpc/core/RpcMarshaling.d.ts +0 -3
- package/lib/esm/rpc/core/RpcMarshaling.d.ts.map +1 -1
- package/lib/esm/rpc/core/RpcMarshaling.js +2 -1
- package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
- package/lib/esm/rpc/core/RpcOperation.js +2 -2
- package/lib/esm/rpc/core/RpcOperation.js.map +1 -1
- package/lib/esm/rpc/core/RpcProtocol.js +4 -4
- package/lib/esm/rpc/core/RpcProtocol.js.map +1 -1
- package/lib/esm/rpc/core/RpcPush.js +5 -5
- package/lib/esm/rpc/core/RpcPush.js.map +1 -1
- package/lib/esm/rpc/core/RpcRequest.js +5 -5
- package/lib/esm/rpc/core/RpcRequest.js.map +1 -1
- package/lib/esm/rpc/core/RpcRoutingToken.js +2 -2
- package/lib/esm/rpc/core/RpcRoutingToken.js.map +1 -1
- package/lib/esm/rpc/core/RpcSessionInvocation.js +1 -1
- package/lib/esm/rpc/core/RpcSessionInvocation.js.map +1 -1
- package/lib/esm/rpc/web/BentleyCloudRpcManager.js +6 -6
- package/lib/esm/rpc/web/BentleyCloudRpcManager.js.map +1 -1
- package/lib/esm/rpc/web/RpcMultipart.d.ts.map +1 -1
- package/lib/esm/rpc/web/RpcMultipart.js +14 -13
- package/lib/esm/rpc/web/RpcMultipart.js.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcRequest.js +17 -19
- package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
- package/lib/esm/tile/IModelTileIO.d.ts +2 -2
- package/lib/esm/tile/IModelTileIO.js +3 -3
- package/lib/esm/tile/IModelTileIO.js.map +1 -1
- package/package.json +9 -9
- package/lib/cjs/rpc/WipRpcInterface.d.ts +0 -31
- package/lib/cjs/rpc/WipRpcInterface.d.ts.map +0 -1
- package/lib/cjs/rpc/WipRpcInterface.js +0 -42
- package/lib/cjs/rpc/WipRpcInterface.js.map +0 -1
- package/lib/esm/rpc/WipRpcInterface.d.ts +0 -31
- package/lib/esm/rpc/WipRpcInterface.d.ts.map +0 -1
- package/lib/esm/rpc/WipRpcInterface.js +0 -38
- package/lib/esm/rpc/WipRpcInterface.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IModelTileIO.js","sourceRoot":"","sources":["../../../src/tile/IModelTileIO.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAc,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAE,2BAA2B,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE/E;;GAEG;AACH,MAAM,CAAN,IAAY,SAWX;AAXD,WAAY,SAAS;IACnB,uBAAuB;IACvB,yCAAQ,CAAA;IACR,6CAA6C;IAC7C,6DAAuB,CAAA;IACvB,wEAAwE;IACxE,qDAAmB,CAAA;IACnB,mEAAmE;IACnE,2EAA8B,CAAA;IAC9B,uEAAuE;IACvE,8EAA+B,CAAA;AACjC,CAAC,EAXW,SAAS,KAAT,SAAS,QAWpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,kBAYX;AAZD,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------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tile\n */\n\nimport { assert, ByteStream } from \"@itwin/core-bentley\";\nimport { Range3d } from \"@itwin/core-geometry\";\nimport { ElementAlignedBox3d } from \"../geometry/Placement\";\nimport { nextPoint3d64FromByteStream, TileFormat, TileHeader } from \"./TileIO\";\n\n/** Flags describing the geometry contained within a tile in iMdl format.\n * @internal\n */\nexport enum ImdlFlags {\n /** No special flags */\n None = 0,\n /** The tile contains some curved geometry */\n ContainsCurves = 1 << 0,\n /** Some geometry within the tile range was omitted based on its size */\n Incomplete = 1 << 2,\n /** The tile must be refined by sub-division, not magnification. */\n DisallowMagnification = 1 << 3,\n /** The tile's feature table contains features from multiple models. */\n MultiModelFeatureTable = 1 << 4,\n}\n\n/** Describes the maximum major and minor version of the iMdl tile format supported by this version of this package.\n * @internal\n */\nexport enum CurrentImdlVersion {\n /** The unsigned 16-bit major version number. If the major version specified in the tile header is greater than this value, then this\n * front-end is not capable of reading the tile content. Otherwise, this front-end can read the tile content even if the header specifies a\n * greater minor version than CurrentVersion.Minor, although some data may be skipped.\n */\n Major = 36,\n /** The unsigned 16-bit minor version number. If the major version in the tile header is equal to CurrentVersion.Major, then this package can\n * read the tile content even if the minor version in the tile header is greater than this value, although some data may be skipped.\n */\n Minor = 0,\n /** The unsigned 32-bit version number derived from the 16-bit major and minor version numbers. */\n Combined = (Major << 0x10) | Minor,\n}\n\n/** Header embedded at the beginning of binary tile data in iMdl format describing its contents.\n * @internal\n */\nexport class ImdlHeader extends TileHeader {\n /** The size of this header in bytes. */\n public readonly headerLength: number;\n /** Flags describing the geometry contained within the tile */\n public readonly flags: ImdlFlags;\n /** A bounding box no larger than the tile's range, tightly enclosing the tile's geometry; or a null range if the tile is empty */\n public readonly contentRange: ElementAlignedBox3d;\n /** The chord tolerance in meters at which the tile's geometry was faceted */\n public readonly tolerance: number;\n /** The number of elements which contributed at least some geometry to the tile content */\n public readonly numElementsIncluded: number;\n /** The number of elements within the tile range which contributed no geometry to the tile content */\n public readonly numElementsExcluded: number;\n /** The total number of bytes in the binary tile data, including this header */\n public readonly tileLength: number;\n /** A bitfield wherein each set bit indicates an empty sub-volume. */\n public readonly emptySubRanges: number;\n\n public get versionMajor(): number { return this.version >>> 0x10; }\n public get versionMinor(): number { return (this.version & 0xffff) >>> 0; }\n\n public get isValid(): boolean { return TileFormat.IModel === this.format; }\n public get isReadableVersion(): boolean { return this.versionMajor <= CurrentImdlVersion.Major; }\n\n /** Deserialize a header from the binary data at the stream's current position.\n * If the binary data does not contain a valid header, the Header will be marked 'invalid'.\n */\n public constructor(stream: ByteStream) {\n super(stream);\n this.headerLength = stream.readUint32();\n this.flags = stream.readUint32();\n\n this.contentRange = new Range3d();\n nextPoint3d64FromByteStream(stream, this.contentRange.low);\n nextPoint3d64FromByteStream(stream, this.contentRange.high);\n\n this.tolerance = stream.readFloat64();\n this.numElementsIncluded = stream.readUint32();\n this.numElementsExcluded = stream.readUint32();\n this.tileLength = stream.readUint32();\n\n // empty sub-volume bit field introduced in format v02.00\n this.emptySubRanges = this.versionMajor >= 2 ? stream.readUint32() : 0;\n\n // Skip any unprocessed bytes in header\n const remainingHeaderBytes = this.headerLength - stream.curPos;\n assert(remainingHeaderBytes >= 0);\n stream.advance(remainingHeaderBytes);\n\n if (stream.isPastTheEnd)\n this.invalidate();\n }\n}\n\n/** Header preceding the feature table embedded in an iMdl tile's content.\n * @internal\n */\nexport class FeatureTableHeader {\n // The number of bytes the entire table occupies.\n public readonly length: number;\n // The number of subcategories in the table.\n // NOTE: This used to be \"max features\" which was useless and unused. It is only accurate if ImdlFlags.HasMultiModelFeatureTable is set.\n public readonly numSubCategories: number;\n // The number of features in the table.\n public readonly count: number;\n\n public static readFrom(stream: ByteStream) {\n const length = stream.readUint32();\n const maxFeatures = stream.readUint32();\n const count = stream.readUint32();\n return stream.isPastTheEnd ? undefined : new FeatureTableHeader(length, maxFeatures, count);\n }\n\n public static sizeInBytes = 12;\n\n private constructor(length: number, numSubCategories: number, count: number) {\n this.length = length;\n this.numSubCategories = numSubCategories;\n this.count = count;\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/core-common",
|
|
3
|
-
"version": "5.0.0-dev.
|
|
3
|
+
"version": "5.0.0-dev.40",
|
|
4
4
|
"description": "iTwin.js components common to frontend and backend",
|
|
5
5
|
"main": "lib/cjs/core-common.js",
|
|
6
6
|
"module": "lib/esm/core-common.js",
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
"js-base64": "^3.6.1"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@itwin/core-bentley": "
|
|
31
|
-
"@itwin/core-geometry": "
|
|
30
|
+
"@itwin/core-bentley": "5.0.0-dev.40",
|
|
31
|
+
"@itwin/core-geometry": "5.0.0-dev.40"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@itwin/eslint-plugin": "5.0.0-dev.1",
|
|
35
35
|
"@itwin/object-storage-core": "^2.2.5",
|
|
36
36
|
"@types/chai": "4.3.1",
|
|
37
37
|
"@types/flatbuffers": "~1.10.0",
|
|
38
|
-
"@types/node": "~
|
|
38
|
+
"@types/node": "~20.9.5",
|
|
39
39
|
"@vitest/coverage-v8": "^2.1.0",
|
|
40
40
|
"eslint": "^9.13.0",
|
|
41
41
|
"nyc": "^15.1.0",
|
|
42
42
|
"rimraf": "^3.0.2",
|
|
43
43
|
"typescript": "~5.6.2",
|
|
44
44
|
"vitest": "^2.1.0",
|
|
45
|
-
"@itwin/
|
|
46
|
-
"@itwin/
|
|
47
|
-
"@itwin/core-
|
|
45
|
+
"@itwin/core-geometry": "5.0.0-dev.40",
|
|
46
|
+
"@itwin/build-tools": "5.0.0-dev.40",
|
|
47
|
+
"@itwin/core-bentley": "5.0.0-dev.40"
|
|
48
48
|
},
|
|
49
49
|
"nyc": {
|
|
50
50
|
"extends": "./node_modules/@itwin/build-tools/.nycrc",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "npm run -s build:cjs && npm run -s build:esm",
|
|
55
55
|
"build:cjs": "tsc 1>&2 --outDir lib/cjs",
|
|
56
|
-
"build:esm": "tsc 1>&2 --module
|
|
56
|
+
"build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
|
|
57
57
|
"clean": "rimraf lib .rush/temp/package-deps*.json",
|
|
58
|
-
"docs": "betools docs --
|
|
58
|
+
"docs": "betools docs --json=../../generated-docs/core/core-common/file.json --tsIndexFile=./core-common.ts --onlyJson",
|
|
59
59
|
"extract-api": "betools extract-api --entry=core-common && npm run extract-extension-api",
|
|
60
60
|
"extract-extension-api": "eslint --no-inline-config -c extraction.eslint.config.js \"./src/**/*.ts\" 1>&2",
|
|
61
61
|
"lint": "eslint \"./src/**/*.ts\" 1>&2",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module RpcInterface
|
|
3
|
-
*/
|
|
4
|
-
import { ChangedElements } from "../ChangedElements";
|
|
5
|
-
import { IModelRpcProps } from "../IModel";
|
|
6
|
-
import { RpcInterface } from "../RpcInterface";
|
|
7
|
-
/** The purpose of this class is to house WIP RPC methods. For example:
|
|
8
|
-
* - WIP methods where signatures or behavior is still changing
|
|
9
|
-
* - Experimental methods that we may decide are a bad idea and never release
|
|
10
|
-
* The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
|
|
11
|
-
* Once stable, the goal is to move methods out to their rightful home.
|
|
12
|
-
* Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
|
|
13
|
-
* @internal
|
|
14
|
-
* @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class WipRpcInterface extends RpcInterface {
|
|
17
|
-
/** Returns the IModelReadRpcInterface instance for the frontend. */
|
|
18
|
-
static getClient(): WipRpcInterface;
|
|
19
|
-
/** The immutable name of the interface. */
|
|
20
|
-
static readonly interfaceName = "WipRpcInterface";
|
|
21
|
-
/** The semantic version of the interface.
|
|
22
|
-
* @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
|
|
23
|
-
*/
|
|
24
|
-
static interfaceVersion: string;
|
|
25
|
-
placeholder(_iModelToken: IModelRpcProps): Promise<string>;
|
|
26
|
-
isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean>;
|
|
27
|
-
attachChangeCache(_iModelToken: IModelRpcProps): Promise<void>;
|
|
28
|
-
getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined>;
|
|
29
|
-
isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean>;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=WipRpcInterface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WipRpcInterface.d.ts","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C;;;;;;;;GAQG;AACH,8BAAsB,eAAgB,SAAQ,YAAY;IACxD,oEAAoE;WACtD,SAAS,IAAI,eAAe;IAE1C,2CAA2C;IAC3C,gBAAuB,aAAa,qBAAqB;IAEzD;;OAEG;IACH,OAAc,gBAAgB,SAAW;IAM5B,WAAW,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;IAC1D,qBAAqB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IACrE,iBAAiB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAC9D,kBAAkB,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAC1I,oBAAoB,CAAC,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CACxG"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module RpcInterface
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.WipRpcInterface = void 0;
|
|
11
|
-
const RpcInterface_1 = require("../RpcInterface");
|
|
12
|
-
const RpcManager_1 = require("../RpcManager");
|
|
13
|
-
/** The purpose of this class is to house WIP RPC methods. For example:
|
|
14
|
-
* - WIP methods where signatures or behavior is still changing
|
|
15
|
-
* - Experimental methods that we may decide are a bad idea and never release
|
|
16
|
-
* The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
|
|
17
|
-
* Once stable, the goal is to move methods out to their rightful home.
|
|
18
|
-
* Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
|
|
19
|
-
* @internal
|
|
20
|
-
* @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
|
|
21
|
-
*/
|
|
22
|
-
class WipRpcInterface extends RpcInterface_1.RpcInterface {
|
|
23
|
-
/** Returns the IModelReadRpcInterface instance for the frontend. */
|
|
24
|
-
static getClient() { return RpcManager_1.RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated
|
|
25
|
-
/*===========================================================================================
|
|
26
|
-
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
27
|
-
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
28
|
-
==========================================================================================*/
|
|
29
|
-
async placeholder(_iModelToken) { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly
|
|
30
|
-
async isChangeCacheAttached(_iModelToken) { return this.forward(arguments); }
|
|
31
|
-
async attachChangeCache(_iModelToken) { return this.forward(arguments); }
|
|
32
|
-
async getChangedElements(_iModelToken, _startChangesetId, _endChangesetId) { return this.forward(arguments); }
|
|
33
|
-
async isChangesetProcessed(_iModelToken, _changesetId) { return this.forward(arguments); }
|
|
34
|
-
}
|
|
35
|
-
exports.WipRpcInterface = WipRpcInterface;
|
|
36
|
-
/** The immutable name of the interface. */
|
|
37
|
-
WipRpcInterface.interfaceName = "WipRpcInterface";
|
|
38
|
-
/** The semantic version of the interface.
|
|
39
|
-
* @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
|
|
40
|
-
*/
|
|
41
|
-
WipRpcInterface.interfaceVersion = "0.5.0";
|
|
42
|
-
//# sourceMappingURL=WipRpcInterface.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WipRpcInterface.js","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,kDAA+C;AAC/C,8CAA2C;AAE3C;;;;;;;;GAQG;AACH,MAAsB,eAAgB,SAAQ,2BAAY;IACxD,oEAAoE;IAC7D,MAAM,CAAC,SAAS,KAAsB,OAAO,uBAAU,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,uDAAuD;IAUhK;;;gGAG4F;IACrF,KAAK,CAAC,WAAW,CAAC,YAA4B,IAAqB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,2DAA2D;IAChK,KAAK,CAAC,qBAAqB,CAAC,YAA4B,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/G,KAAK,CAAC,iBAAiB,CAAC,YAA4B,IAAmB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACxG,KAAK,CAAC,kBAAkB,CAAC,YAA4B,EAAE,iBAAyB,EAAE,eAAuB,IAA0C,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACpL,KAAK,CAAC,oBAAoB,CAAC,YAA4B,EAAE,YAAoB,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;;AApB7I,0CAqBC;AAjBC,2CAA2C;AACpB,6BAAa,GAAG,iBAAiB,CAAC;AAEzD;;GAEG;AACW,gCAAgB,GAAG,OAAO,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module RpcInterface\n */\n\nimport { ChangedElements } from \"../ChangedElements\";\nimport { IModelRpcProps } from \"../IModel\";\nimport { RpcInterface } from \"../RpcInterface\";\nimport { RpcManager } from \"../RpcManager\";\n\n/** The purpose of this class is to house WIP RPC methods. For example:\n * - WIP methods where signatures or behavior is still changing\n * - Experimental methods that we may decide are a bad idea and never release\n * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.\n * Once stable, the goal is to move methods out to their rightful home.\n * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.\n * @internal\n * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.\n */\nexport abstract class WipRpcInterface extends RpcInterface {\n /** Returns the IModelReadRpcInterface instance for the frontend. */\n public static getClient(): WipRpcInterface { return RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** The immutable name of the interface. */\n public static readonly interfaceName = \"WipRpcInterface\";\n\n /** The semantic version of the interface.\n * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.\n */\n public static interfaceVersion = \"0.5.0\";\n\n /*===========================================================================================\n NOTE: Any add/remove/change to the methods below requires an update of the interface version.\n NOTE: Please consult the README in this folder for the semantic versioning rules.\n ==========================================================================================*/\n public async placeholder(_iModelToken: IModelRpcProps): Promise<string> { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly\n public async isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean> { return this.forward(arguments); }\n public async attachChangeCache(_iModelToken: IModelRpcProps): Promise<void> { return this.forward(arguments); }\n public async getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined> { return this.forward(arguments); }\n public async isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean> { return this.forward(arguments); }\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module RpcInterface
|
|
3
|
-
*/
|
|
4
|
-
import { ChangedElements } from "../ChangedElements";
|
|
5
|
-
import { IModelRpcProps } from "../IModel";
|
|
6
|
-
import { RpcInterface } from "../RpcInterface";
|
|
7
|
-
/** The purpose of this class is to house WIP RPC methods. For example:
|
|
8
|
-
* - WIP methods where signatures or behavior is still changing
|
|
9
|
-
* - Experimental methods that we may decide are a bad idea and never release
|
|
10
|
-
* The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
|
|
11
|
-
* Once stable, the goal is to move methods out to their rightful home.
|
|
12
|
-
* Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
|
|
13
|
-
* @internal
|
|
14
|
-
* @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class WipRpcInterface extends RpcInterface {
|
|
17
|
-
/** Returns the IModelReadRpcInterface instance for the frontend. */
|
|
18
|
-
static getClient(): WipRpcInterface;
|
|
19
|
-
/** The immutable name of the interface. */
|
|
20
|
-
static readonly interfaceName = "WipRpcInterface";
|
|
21
|
-
/** The semantic version of the interface.
|
|
22
|
-
* @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
|
|
23
|
-
*/
|
|
24
|
-
static interfaceVersion: string;
|
|
25
|
-
placeholder(_iModelToken: IModelRpcProps): Promise<string>;
|
|
26
|
-
isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean>;
|
|
27
|
-
attachChangeCache(_iModelToken: IModelRpcProps): Promise<void>;
|
|
28
|
-
getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined>;
|
|
29
|
-
isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean>;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=WipRpcInterface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WipRpcInterface.d.ts","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C;;;;;;;;GAQG;AACH,8BAAsB,eAAgB,SAAQ,YAAY;IACxD,oEAAoE;WACtD,SAAS,IAAI,eAAe;IAE1C,2CAA2C;IAC3C,gBAAuB,aAAa,qBAAqB;IAEzD;;OAEG;IACH,OAAc,gBAAgB,SAAW;IAM5B,WAAW,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;IAC1D,qBAAqB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IACrE,iBAAiB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAC9D,kBAAkB,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAC1I,oBAAoB,CAAC,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CACxG"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @packageDocumentation
|
|
6
|
-
* @module RpcInterface
|
|
7
|
-
*/
|
|
8
|
-
import { RpcInterface } from "../RpcInterface";
|
|
9
|
-
import { RpcManager } from "../RpcManager";
|
|
10
|
-
/** The purpose of this class is to house WIP RPC methods. For example:
|
|
11
|
-
* - WIP methods where signatures or behavior is still changing
|
|
12
|
-
* - Experimental methods that we may decide are a bad idea and never release
|
|
13
|
-
* The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
|
|
14
|
-
* Once stable, the goal is to move methods out to their rightful home.
|
|
15
|
-
* Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
|
|
16
|
-
* @internal
|
|
17
|
-
* @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
|
|
18
|
-
*/
|
|
19
|
-
export class WipRpcInterface extends RpcInterface {
|
|
20
|
-
/** Returns the IModelReadRpcInterface instance for the frontend. */
|
|
21
|
-
static getClient() { return RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated
|
|
22
|
-
/*===========================================================================================
|
|
23
|
-
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
24
|
-
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
25
|
-
==========================================================================================*/
|
|
26
|
-
async placeholder(_iModelToken) { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly
|
|
27
|
-
async isChangeCacheAttached(_iModelToken) { return this.forward(arguments); }
|
|
28
|
-
async attachChangeCache(_iModelToken) { return this.forward(arguments); }
|
|
29
|
-
async getChangedElements(_iModelToken, _startChangesetId, _endChangesetId) { return this.forward(arguments); }
|
|
30
|
-
async isChangesetProcessed(_iModelToken, _changesetId) { return this.forward(arguments); }
|
|
31
|
-
}
|
|
32
|
-
/** The immutable name of the interface. */
|
|
33
|
-
WipRpcInterface.interfaceName = "WipRpcInterface";
|
|
34
|
-
/** The semantic version of the interface.
|
|
35
|
-
* @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
|
|
36
|
-
*/
|
|
37
|
-
WipRpcInterface.interfaceVersion = "0.5.0";
|
|
38
|
-
//# sourceMappingURL=WipRpcInterface.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WipRpcInterface.js","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;;;;GAQG;AACH,MAAM,OAAgB,eAAgB,SAAQ,YAAY;IACxD,oEAAoE;IAC7D,MAAM,CAAC,SAAS,KAAsB,OAAO,UAAU,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,uDAAuD;IAUhK;;;gGAG4F;IACrF,KAAK,CAAC,WAAW,CAAC,YAA4B,IAAqB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,2DAA2D;IAChK,KAAK,CAAC,qBAAqB,CAAC,YAA4B,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/G,KAAK,CAAC,iBAAiB,CAAC,YAA4B,IAAmB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACxG,KAAK,CAAC,kBAAkB,CAAC,YAA4B,EAAE,iBAAyB,EAAE,eAAuB,IAA0C,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACpL,KAAK,CAAC,oBAAoB,CAAC,YAA4B,EAAE,YAAoB,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;;AAhB3I,2CAA2C;AACpB,6BAAa,GAAG,iBAAiB,CAAC;AAEzD;;GAEG;AACW,gCAAgB,GAAG,OAAO,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module RpcInterface\n */\n\nimport { ChangedElements } from \"../ChangedElements\";\nimport { IModelRpcProps } from \"../IModel\";\nimport { RpcInterface } from \"../RpcInterface\";\nimport { RpcManager } from \"../RpcManager\";\n\n/** The purpose of this class is to house WIP RPC methods. For example:\n * - WIP methods where signatures or behavior is still changing\n * - Experimental methods that we may decide are a bad idea and never release\n * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.\n * Once stable, the goal is to move methods out to their rightful home.\n * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.\n * @internal\n * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.\n */\nexport abstract class WipRpcInterface extends RpcInterface {\n /** Returns the IModelReadRpcInterface instance for the frontend. */\n public static getClient(): WipRpcInterface { return RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** The immutable name of the interface. */\n public static readonly interfaceName = \"WipRpcInterface\";\n\n /** The semantic version of the interface.\n * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.\n */\n public static interfaceVersion = \"0.5.0\";\n\n /*===========================================================================================\n NOTE: Any add/remove/change to the methods below requires an update of the interface version.\n NOTE: Please consult the README in this folder for the semantic versioning rules.\n ==========================================================================================*/\n public async placeholder(_iModelToken: IModelRpcProps): Promise<string> { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly\n public async isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean> { return this.forward(arguments); }\n public async attachChangeCache(_iModelToken: IModelRpcProps): Promise<void> { return this.forward(arguments); }\n public async getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined> { return this.forward(arguments); }\n public async isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean> { return this.forward(arguments); }\n}\n"]}
|