iModels

Types for working with iModels in both the frontend and backend.

Classes

Name Description  
BackendError  
EcefLocation The position and orientation of an iModel on the earth in ECEF (Earth Centered Earth Fixed) coordinates  
IModel Represents an iModel in JavaScript.  
IModelError The error type thrown by this module.  
IModelVersion Option to specify the version of the iModel to be acquired and used  
NoContentError Intended for API "no content" semantics where the error case should not trigger application failure monitoring systems.  
ServerError  
ServerTimeoutError  

Enumerations

Name Description  
BriefcaseIdValue Values of BriefcaseId that have special meaning.  
DomainOptions Option to control the validation and upgrade of domain schemas in the Db Beta
GeoCoordStatus  
ProfileOptions Options that control whether a profile upgrade should be performed when opening a Db Beta
SchemaState The state of the schemas in the Db compared with what the current version of the software expects Beta
SyncMode Whether a briefcase is editable or may only accept incoming changesets from iModelHub  
TxnAction Describes the types of actions associated with Txns.  

Global Functions

Name Description  
mapToGeoServiceStatus Maps a GeoCoordStatus to the equivalent GeoServiceStatus.  

Interfaces

Name Description  
BriefcaseDownloader Manages the download of a briefcase Beta
BriefcaseProps Properties that specify a briefcase within the local briefcase cache. Beta
CreateIModelProps The properties that can be supplied when creating a new iModel.  
CreateSnapshotIModelProps Options that can be supplied when creating snapshot iModels.  
EcefLocationProps Properties that position an iModel on the earth via ECEF (Earth Centered Earth Fixed) coordinates  
FilePropertyProps  
GeoCoordinatesRequestProps Information required to request conversion of an array of iModel coordinates to Geographic Coordinates (longitude and latitude) Beta
GeoCoordinatesResponseProps Information returned from a request to convert an array of iModel coordinates to Geographic Coordinates (longitude and latitude) Beta
IModelCoordinatesRequestProps Information required to request conversion of an array of Geographic coordinates (Longitude/Latitude) to iModel coordinates Beta
IModelCoordinatesResponseProps Beta
IModelEncryptionProps Encryption-related properties that can be supplied when creating or opening snapshot iModels.  
IModelProps Properties of an iModel that are always held in memory whenever one is opened, both on the frontend and on the backend .  
IModelRpcOpenProps The properties to open a connection to an iModel for RPC operations.  
IModelRpcProps The properties that identify an opened iModel for RPC operations.  
LocalBriefcaseProps Properties of a local briefcase file, returned by BriefcaseManager.getCachedBriefcases and BriefcaseManager.downloadBriefcase Beta
OpenBriefcaseOptions Options to open a previously downloaded briefcase Beta
OpenBriefcaseProps Properties for opening a local briefcase file via BriefcaseDb.open Beta
OpenDbKey A key used to identify an opened IModelDb between the frontend and backend for Rpc and Ipc communications.  
PointWithStatus Information returned from a request to convert an array of Geographic coordinates (Longitude/Latitude) to iModel coordinates Beta
RequestNewBriefcaseProps Properties for downloading a briefcase to a local file, from iModelHub. Beta
RootSubjectProps Properties of the Root Subject.  
SnapshotOpenOptions Options to open a SnapshotDb.  
UpgradeOptions Arguments to validate and update the profile and domain schemas when opening a Db Beta

Type Aliases

Name Description  
CreateEmptySnapshotIModelProps The options that can be specified when creating an empty snapshot iModel.  
IModelConnectionProps The properties returned by the backend when creating a new IModelConnection from the frontend, either with Rpc or with Ipc.  
IModelVersionProps Properties for IModelVersion  
StandaloneOpenOptions Options to open a StandaloneDb via StandaloneDb.openFile from the backend,  

Last Updated: 15 June, 2021