iModels

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

Classes

Name Description  
BackendError  
BlobOptionsBuilder Beta
BlobReader Beta
DbQueryError  
EcefLocation The position and orientation of an iModel on the earth in ECEF (Earth Centered Earth Fixed) coordinates  
ECSqlReader Beta
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.  
PropertyMetaDataMap Beta
QueryBinder  
QueryOptionsBuilder  
ServerError  
ServerTimeoutError  
Uint8Chunks Beta

Enumerations

Name Description  
BriefcaseIdValue Values of BriefcaseId that have special meaning.  
ChangesetType Value to indicate whether a changeset contains schema changes or not  
DomainOptions Option to control the validation and upgrade of domain schemas in the Db Beta
GeoCoordStatus This enumeration lists all possible status as returned from a coordinate conversion to or from a  
ProfileOptions Options that control whether a profile upgrade should be performed when opening a Db Beta
QueryRowFormat Specifies the format of the rows returned by the query and restartQuery methods of  
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  
BaseReaderOptions Config for all request made to concurrent query engine.  
BlobOptions Beta
BriefcaseDownloader Manages the download of a briefcase  
BriefcaseProps Properties that specify a briefcase within the local briefcase cache.  
ChangesetFileProps Properties of a changeset file Beta
ChangesetIdWithIndex The Id and optionally the index of a changeset  
ChangesetIndexAndId Both the index and Id of a changeset  
ChangesetProps Properties of a changeset Beta
ChangesetRange A range of changesets  
CloudContainerUri Beta
CreateIModelProps The properties that can be supplied when creating a new iModel.  
CreateSnapshotIModelProps Options that can be supplied when creating snapshot iModels.  
DbRuntimeStats Beta
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
GeographicCRSInterpretRequestProps Information required to interpret or complete a Geographic CRS in the specified format. Beta
GeographicCRSInterpretResponseProps Information returned from a request to interpret or complete a Geographic CRS 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. Deprecated
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  
OpenBriefcaseOptions Options to open a previously downloaded briefcase  
OpenBriefcaseProps Properties for opening a local briefcase file via BriefcaseDb.open  
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
QueryLimit Specify limit or range of rows to return  
QueryOptions ECSql query config  
Beta
QueryQuota Quota hint for the query.  
QueryRowProxy Beta
QueryStats Beta
RequestNewBriefcaseProps Properties for downloading a briefcase to a local file, from iModelHub.  
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  
BlobRange Beta
BriefcaseId The Id assigned to a briefcase by iModelHub, or BriefcaseIdValue.Unassigned .  
ChangesetId A string that identifies a changeset.  
ChangesetIndex The index of a changeset, assigned by iModelHub.  
ChangesetIndexOrId either changeset index, id, or both  
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.  
IModelErrorNumber Numeric values for common errors produced by iTwin.js APIs, typically provided by IModelError.  
IModelVersionProps Properties for IModelVersion  
LocalDirName  
LocalFileName  
QueryValueType Beta
StandaloneOpenOptions Options to open a StandaloneDb via StandaloneDb.openFile from the backend,  

Last Updated: 30 November, 2023