@itwin/core-backend 4.1.0-dev.6 → 4.1.0-dev.62
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 +74 -1
- package/lib/cjs/BlobContainerService.d.ts +38 -28
- package/lib/cjs/BlobContainerService.d.ts.map +1 -1
- package/lib/cjs/BlobContainerService.js.map +1 -1
- package/lib/cjs/BriefcaseManager.d.ts +8 -5
- package/lib/cjs/BriefcaseManager.d.ts.map +1 -1
- package/lib/cjs/BriefcaseManager.js +8 -15
- package/lib/cjs/BriefcaseManager.js.map +1 -1
- package/lib/cjs/Category.d.ts +4 -16
- package/lib/cjs/Category.d.ts.map +1 -1
- package/lib/cjs/Category.js +0 -12
- package/lib/cjs/Category.js.map +1 -1
- package/lib/cjs/ChannelControl.d.ts +5 -1
- package/lib/cjs/ChannelControl.d.ts.map +1 -1
- package/lib/cjs/ChannelControl.js +10 -5
- package/lib/cjs/ChannelControl.js.map +1 -1
- package/lib/cjs/CheckpointManager.d.ts.map +1 -1
- package/lib/cjs/CheckpointManager.js +20 -9
- package/lib/cjs/CheckpointManager.js.map +1 -1
- package/lib/cjs/ClassRegistry.d.ts +3 -2
- package/lib/cjs/ClassRegistry.d.ts.map +1 -1
- package/lib/cjs/ClassRegistry.js +3 -2
- package/lib/cjs/ClassRegistry.js.map +1 -1
- package/lib/cjs/CloudSqlite.d.ts +57 -40
- package/lib/cjs/CloudSqlite.d.ts.map +1 -1
- package/lib/cjs/CloudSqlite.js +54 -39
- package/lib/cjs/CloudSqlite.js.map +1 -1
- package/lib/cjs/DisplayStyle.d.ts +2 -5
- package/lib/cjs/DisplayStyle.d.ts.map +1 -1
- package/lib/cjs/DisplayStyle.js +0 -3
- package/lib/cjs/DisplayStyle.js.map +1 -1
- package/lib/cjs/ECDb.d.ts +6 -0
- package/lib/cjs/ECDb.d.ts.map +1 -1
- package/lib/cjs/ECDb.js +6 -0
- package/lib/cjs/ECDb.js.map +1 -1
- package/lib/cjs/Element.d.ts +40 -97
- package/lib/cjs/Element.d.ts.map +1 -1
- package/lib/cjs/Element.js +0 -57
- package/lib/cjs/Element.js.map +1 -1
- package/lib/cjs/ElementAspect.d.ts +0 -2
- package/lib/cjs/ElementAspect.d.ts.map +1 -1
- package/lib/cjs/ElementAspect.js +0 -2
- package/lib/cjs/ElementAspect.js.map +1 -1
- package/lib/cjs/Entity.d.ts +5 -2
- package/lib/cjs/Entity.d.ts.map +1 -1
- package/lib/cjs/Entity.js +10 -2
- package/lib/cjs/Entity.js.map +1 -1
- package/lib/cjs/ExternalSource.d.ts +4 -11
- package/lib/cjs/ExternalSource.d.ts.map +1 -1
- package/lib/cjs/ExternalSource.js +0 -7
- package/lib/cjs/ExternalSource.js.map +1 -1
- package/lib/cjs/IModelDb.d.ts +62 -27
- package/lib/cjs/IModelDb.d.ts.map +1 -1
- package/lib/cjs/IModelDb.js +165 -84
- package/lib/cjs/IModelDb.js.map +1 -1
- package/lib/cjs/IModelHost.d.ts +1 -3
- package/lib/cjs/IModelHost.d.ts.map +1 -1
- package/lib/cjs/IModelHost.js +1 -3
- package/lib/cjs/IModelHost.js.map +1 -1
- package/lib/cjs/IpcHost.d.ts +8 -2
- package/lib/cjs/IpcHost.d.ts.map +1 -1
- package/lib/cjs/IpcHost.js +6 -6
- package/lib/cjs/IpcHost.js.map +1 -1
- package/lib/cjs/LocalhostIpcHost.d.ts.map +1 -1
- package/lib/cjs/LocalhostIpcHost.js +2 -3
- package/lib/cjs/LocalhostIpcHost.js.map +1 -1
- package/lib/cjs/Material.d.ts +0 -1
- package/lib/cjs/Material.d.ts.map +1 -1
- package/lib/cjs/Material.js +0 -1
- package/lib/cjs/Material.js.map +1 -1
- package/lib/cjs/Model.d.ts +4 -13
- package/lib/cjs/Model.d.ts.map +1 -1
- package/lib/cjs/Model.js +0 -9
- package/lib/cjs/Model.js.map +1 -1
- package/lib/cjs/NativeHost.d.ts.map +1 -1
- package/lib/cjs/NativeHost.js +2 -2
- package/lib/cjs/NativeHost.js.map +1 -1
- package/lib/cjs/PropertyStore.d.ts +3 -3
- package/lib/cjs/PropertyStore.d.ts.map +1 -1
- package/lib/cjs/PropertyStore.js +2 -5
- package/lib/cjs/PropertyStore.js.map +1 -1
- package/lib/cjs/Relationship.d.ts +2 -5
- package/lib/cjs/Relationship.d.ts.map +1 -1
- package/lib/cjs/Relationship.js +0 -3
- package/lib/cjs/Relationship.js.map +1 -1
- package/lib/cjs/SQLiteDb.d.ts +1 -1
- package/lib/cjs/SQLiteDb.d.ts.map +1 -1
- package/lib/cjs/SQLiteDb.js +1 -1
- package/lib/cjs/SQLiteDb.js.map +1 -1
- package/lib/cjs/Schema.d.ts +0 -1
- package/lib/cjs/Schema.d.ts.map +1 -1
- package/lib/cjs/Schema.js +0 -1
- package/lib/cjs/Schema.js.map +1 -1
- package/lib/cjs/SqliteStatement.d.ts +13 -1
- package/lib/cjs/SqliteStatement.d.ts.map +1 -1
- package/lib/cjs/SqliteStatement.js +23 -1
- package/lib/cjs/SqliteStatement.js.map +1 -1
- package/lib/cjs/Texture.d.ts +3 -4
- package/lib/cjs/Texture.d.ts.map +1 -1
- package/lib/cjs/Texture.js +1 -2
- package/lib/cjs/Texture.js.map +1 -1
- package/lib/cjs/TileStorage.d.ts +3 -0
- package/lib/cjs/TileStorage.d.ts.map +1 -1
- package/lib/cjs/TileStorage.js +9 -1
- package/lib/cjs/TileStorage.js.map +1 -1
- package/lib/cjs/ViewDefinition.d.ts +7 -28
- package/lib/cjs/ViewDefinition.d.ts.map +1 -1
- package/lib/cjs/ViewDefinition.js +0 -21
- package/lib/cjs/ViewDefinition.js.map +1 -1
- package/lib/cjs/ViewStore.d.ts +488 -0
- package/lib/cjs/ViewStore.d.ts.map +1 -0
- package/lib/cjs/ViewStore.js +1246 -0
- package/lib/cjs/ViewStore.js.map +1 -0
- package/lib/cjs/core-backend.d.ts +1 -0
- package/lib/cjs/core-backend.d.ts.map +1 -1
- package/lib/cjs/core-backend.js +1 -0
- package/lib/cjs/core-backend.js.map +1 -1
- package/lib/cjs/domains/FunctionalElements.d.ts +6 -12
- package/lib/cjs/domains/FunctionalElements.d.ts.map +1 -1
- package/lib/cjs/domains/FunctionalElements.js +0 -6
- package/lib/cjs/domains/FunctionalElements.js.map +1 -1
- package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts +5 -3
- package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts.map +1 -1
- package/lib/cjs/rpc-impl/IModelReadRpcImpl.js +53 -36
- package/lib/cjs/rpc-impl/IModelReadRpcImpl.js.map +1 -1
- package/lib/cjs/rpc-impl/RpcBriefcaseUtility.d.ts.map +1 -1
- package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js +0 -2
- package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
- package/lib/cjs/workspace/Workspace.d.ts +1 -1
- package/lib/cjs/workspace/Workspace.d.ts.map +1 -1
- package/lib/cjs/workspace/Workspace.js +4 -4
- package/lib/cjs/workspace/Workspace.js.map +1 -1
- package/package.json +20 -19
package/lib/cjs/ECDb.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ECDb.js","sourceRoot":"","sources":["../../src/ECDb.ts"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,sDAAsF;AAEtF,oDAA8H;AAC9H,mEAAgE;AAChE,uDAAoD;AACpD,qDAAkD;AAClD,6CAA0C;AAC1C,uDAAoE;AAEpE,MAAM,cAAc,GAAW,6CAAqB,CAAC,IAAI,CAAC;AAE1D;;GAEG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uDAAQ,CAAA;IACR,yDAAS,CAAA;IACT,sGAAsG;IACtG,6DAAW,CAAA;AACb,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED;;GAEG;AACH,MAAa,IAAI;IAKf;;OAEG;IACI,gBAAgB,CAAC,IAAY;QAClC,IAAI,CA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,OAAsB;QAC9E,MAAM,OAAO,GAAG,IAAI,iCAAmB,CAAC,OAAO,CAAC,CAAC;QACjD,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;QAC3E,OAAO,MAAM,MAAM,CAAC,IAAI,EAAE;YACxB,MAAM,MAAM,CAAC,gBAAgB,EAAE,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;OAYG;IACI,KAAK,CAAC,aAAa,CAAC,KAAa,EAAE,MAAoB;QAC5D,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,IAAI,CAAC,iBAAiB,CAAC,yBAAyB,KAAK,GAAG,EAAE,MAAM,CAAC,EAAE;YACzF,OAAO,GAAG,CAAC,CAAC,CAAW,CAAC;SACzB;QACD,MAAM,IAAI,yBAAW,CAAC,uBAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACI,KAAK,CAAC,CAAE,YAAY,CAAC,KAAa,EAAE,KAAa,EAAE,MAAoB,EAAE,OAAsB;QACpG,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,iCAAmB,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE;YACnI,MAAM,GAAG,CAAC;SACX;IACH,CAAC;CACF;AA7UD,oBA6UC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ECDb\r\n */\r\nimport { assert, DbResult, IDisposable, Logger, OpenMode } from \"@itwin/core-bentley\";\r\nimport { IModelJsNative } from \"@bentley/imodeljs-native\";\r\nimport { DbQueryRequest, ECSqlReader, IModelError, QueryBinder, QueryOptions, QueryOptionsBuilder } from \"@itwin/core-common\";\r\nimport { BackendLoggerCategory } from \"./BackendLoggerCategory\";\r\nimport { ConcurrentQuery } from \"./ConcurrentQuery\";\r\nimport { ECSqlStatement } from \"./ECSqlStatement\";\r\nimport { IModelHost } from \"./IModelHost\";\r\nimport { SqliteStatement, StatementCache } from \"./SqliteStatement\";\r\n\r\nconst loggerCategory: string = BackendLoggerCategory.ECDb;\r\n\r\n/** Modes for how to open [ECDb]($backend) files.\r\n * @public\r\n */\r\nexport enum ECDbOpenMode {\r\n Readonly,\r\n ReadWrite,\r\n /** Opens the file read-write and upgrades the file if necessary to the latest file format version. */\r\n FileUpgrade,\r\n}\r\n\r\n/** An ECDb file\r\n * @public\r\n */\r\nexport class ECDb implements IDisposable {\r\n private _nativeDb?: IModelJsNative.ECDb;\r\n private readonly _statementCache = new StatementCache<ECSqlStatement>();\r\n private _sqliteStatementCache = new StatementCache<SqliteStatement>();\r\n\r\n /** only for tests\r\n * @internal\r\n */\r\n public resetSqliteCache(size: number) {\r\n this._sqliteStatementCache.clear();\r\n this._sqliteStatementCache = new StatementCache<SqliteStatement>(size);\r\n }\r\n\r\n constructor() {\r\n this._nativeDb = new IModelHost.platform.ECDb();\r\n }\r\n /** Call this function when finished with this ECDb object. This releases the native resources held by the\r\n * ECDb object.\r\n */\r\n public dispose(): void {\r\n if (!this._nativeDb)\r\n return;\r\n\r\n this.closeDb();\r\n this._nativeDb.dispose();\r\n this._nativeDb = undefined;\r\n }\r\n\r\n /** Create an ECDb\r\n * @param pathName The path to the ECDb file to create.\r\n * @throws [IModelError]($common) if the operation failed.\r\n */\r\n public createDb(pathName: string): void {\r\n const status: DbResult = this.nativeDb.createDb(pathName);\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to created ECDb\");\r\n }\r\n\r\n /** Open the ECDb.\r\n * @param pathName The path to the ECDb file to open\r\n * @param openMode Open mode\r\n * @throws [IModelError]($common) if the operation failed.\r\n */\r\n public openDb(pathName: string, openMode: ECDbOpenMode = ECDbOpenMode.Readonly): void {\r\n const nativeOpenMode: OpenMode = openMode === ECDbOpenMode.Readonly ? OpenMode.Readonly : OpenMode.ReadWrite;\r\n const tryUpgrade: boolean = openMode === ECDbOpenMode.FileUpgrade;\r\n const status: DbResult = this.nativeDb.openDb(pathName, nativeOpenMode, tryUpgrade);\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to open ECDb\");\r\n }\r\n\r\n /** Returns true if the ECDb is open */\r\n public get isOpen(): boolean { return this.nativeDb.isOpen(); }\r\n\r\n /** Close the Db after saving any uncommitted changes.\r\n * @throws [IModelError]($common) if the database is not open.\r\n */\r\n public closeDb(): void {\r\n this._statementCache.clear();\r\n this._sqliteStatementCache.clear();\r\n this.nativeDb.closeDb();\r\n }\r\n\r\n /** @internal use to test statement caching */\r\n public clearStatementCache() {\r\n this._statementCache.clear();\r\n }\r\n\r\n /** @internal use to test statement caching */\r\n public getCachedStatementCount() {\r\n return this._statementCache.size;\r\n }\r\n\r\n /** Commit the outermost transaction, writing changes to the file. Then, restart the transaction.\r\n * @param changesetName The name of the operation that generated these changes.\r\n * @throws [IModelError]($common) if the database is not open or if the operation failed.\r\n */\r\n public saveChanges(changesetName?: string): void {\r\n const status: DbResult = this.nativeDb.saveChanges(changesetName);\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to save changes\");\r\n }\r\n\r\n /** Abandon (cancel) the outermost transaction, discarding all changes since last save. Then, restart the transaction.\r\n * @throws [IModelError]($common) if the database is not open or if the operation failed.\r\n */\r\n public abandonChanges(): void {\r\n const status: DbResult = this.nativeDb.abandonChanges();\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to abandon changes\");\r\n }\r\n\r\n /** Import a schema.\r\n *\r\n * If the import was successful, the database is automatically saved to disk.\r\n * @param pathName Path to ECSchema XML file to import.\r\n * @throws [IModelError]($common) if the database is not open or if the operation failed.\r\n */\r\n public importSchema(pathName: string): void {\r\n const status: DbResult = this.nativeDb.importSchema(pathName);\r\n if (status !== DbResult.BE_SQLITE_OK) {\r\n Logger.logError(loggerCategory, `Failed to import schema from '${pathName}'.`);\r\n throw new IModelError(status, `Failed to import schema from '${pathName}'.`);\r\n }\r\n }\r\n\r\n /**\r\n * Use a prepared ECSQL statement, potentially from the statement cache. If the requested statement doesn't exist\r\n * in the statement cache, a new statement is prepared. After the callback completes, the statement is reset and saved\r\n * in the statement cache so it can be reused in the future. Use this method for ECSQL statements that will be\r\n * reused often and are expensive to prepare. The statement cache holds the most recently used statements, discarding\r\n * the oldest statements as it fills. For statements you don't intend to reuse, instead use [[withStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @see [[withStatement]]\r\n * @public\r\n */\r\n public withPreparedStatement<T>(ecsql: string, callback: (stmt: ECSqlStatement) => T, logErrors = true): T {\r\n const stmt = this._statementCache.findAndRemove(ecsql) ?? this.prepareStatement(ecsql, logErrors);\r\n const release = () => this._statementCache.addOrDispose(stmt);\r\n try {\r\n const val = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /**\r\n * Prepared and execute a callback on an ECSQL statement. After the callback completes the statement is disposed.\r\n * Use this method for ECSQL statements are either not expected to be reused, or are not expensive to prepare.\r\n * For statements that will be reused often, instead use [[withPreparedStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @see [[withPreparedStatement]]\r\n * @public\r\n */\r\n public withStatement<T>(ecsql: string, callback: (stmt: ECSqlStatement) => T, logErrors = true): T {\r\n const stmt = this.prepareStatement(ecsql, logErrors);\r\n const release = () => stmt.dispose();\r\n try {\r\n const val = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /** Prepare an ECSQL statement.\r\n * @param ecsql The ECSQL statement to prepare\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @throws [IModelError]($common) if there is a problem preparing the statement.\r\n */\r\n public prepareStatement(ecsql: string, logErrors = true): ECSqlStatement {\r\n const stmt = new ECSqlStatement();\r\n stmt.prepare(this.nativeDb, ecsql, logErrors);\r\n return stmt;\r\n }\r\n\r\n /**\r\n * Use a prepared SQL statement, potentially from the statement cache. If the requested statement doesn't exist\r\n * in the statement cache, a new statement is prepared. After the callback completes, the statement is reset and saved\r\n * in the statement cache so it can be reused in the future. Use this method for SQL statements that will be\r\n * reused often and are expensive to prepare. The statement cache holds the most recently used statements, discarding\r\n * the oldest statements as it fills. For statements you don't intend to reuse, instead use [[withSqliteStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @see [[withPreparedStatement]]\r\n * @public\r\n */\r\n public withPreparedSqliteStatement<T>(sql: string, callback: (stmt: SqliteStatement) => T, logErrors = true): T {\r\n const stmt = this._sqliteStatementCache.findAndRemove(sql) ?? this.prepareSqliteStatement(sql, logErrors);\r\n const release = () => this._sqliteStatementCache.addOrDispose(stmt);\r\n try {\r\n const val: T = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /**\r\n * Prepared and execute a callback on a SQL statement. After the callback completes the statement is disposed.\r\n * Use this method for SQL statements are either not expected to be reused, or are not expensive to prepare.\r\n * For statements that will be reused often, instead use [[withPreparedSqliteStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @public\r\n */\r\n public withSqliteStatement<T>(sql: string, callback: (stmt: SqliteStatement) => T, logErrors = true): T {\r\n const stmt = this.prepareSqliteStatement(sql, logErrors);\r\n const release = () => stmt.dispose();\r\n try {\r\n const val: T = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /** Prepare an SQL statement.\r\n * @param sql The SQLite SQL statement to prepare\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @throws [IModelError]($common) if there is a problem preparing the statement.\r\n * @internal\r\n */\r\n public prepareSqliteStatement(sql: string, logErrors = true): SqliteStatement {\r\n const stmt = new SqliteStatement(sql);\r\n stmt.prepare(this.nativeDb, logErrors);\r\n return stmt;\r\n }\r\n\r\n /** @internal */\r\n public get nativeDb(): IModelJsNative.ECDb {\r\n assert(undefined !== this._nativeDb);\r\n return this._nativeDb;\r\n }\r\n\r\n /** Allow to execute query and read results along with meta data. The result are streamed.\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * @param config Allow to specify certain flags which control how query is executed.\r\n * @returns Returns an [ECSqlReader]($common) which helps iterate over the result set and also give access to metadata.\r\n * @beta\r\n * */\r\n public createQueryReader(ecsql: string, params?: QueryBinder, config?: QueryOptions): ECSqlReader {\r\n if (!this._nativeDb || !this._nativeDb.isOpen()) {\r\n throw new IModelError(DbResult.BE_SQLITE_ERROR, \"db not open\");\r\n }\r\n const executor = {\r\n execute: async (request: DbQueryRequest) => {\r\n return ConcurrentQuery.executeQueryRequest(this.nativeDb, request);\r\n },\r\n };\r\n return new ECSqlReader(executor, ecsql, params, config);\r\n }\r\n\r\n /** Execute a query and stream its results\r\n * The result of the query is async iterator over the rows. The iterator will get next page automatically once rows in current page has been read.\r\n * [ECSQL row]($docs/learning/ECSQLRowFormat).\r\n *\r\n * See also:\r\n * - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)\r\n * - [Code Examples]($docs/learning/backend/ECSQLCodeExamples)\r\n *\r\n * @param ecsql The ECSQL statement to execute\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * @param options Allow to specify certain flags which control how query is executed.\r\n * @returns Returns the query result as an *AsyncIterableIterator<any>* which lazy load result as needed. The row format is determined by *rowFormat* parameter.\r\n * See [ECSQL row format]($docs/learning/ECSQLRowFormat) for details about the format of the returned rows.\r\n * @throws [IModelError]($common) If there was any error while submitting, preparing or stepping into query\r\n * @deprecated in 3.7. Use [[createQueryReader]] instead; it accepts the same parameters.\r\n */\r\n public async * query(ecsql: string, params?: QueryBinder, options?: QueryOptions): AsyncIterableIterator<any> {\r\n const builder = new QueryOptionsBuilder(options);\r\n const reader = this.createQueryReader(ecsql, params, builder.getOptions());\r\n while (await reader.step())\r\n yield reader.formatCurrentRow();\r\n }\r\n /** Compute number of rows that would be returned by the ECSQL.\r\n *\r\n * See also:\r\n * - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)\r\n * - [Code Examples]($docs/learning/backend/ECSQLCodeExamples)\r\n *\r\n * @param ecsql The ECSQL statement to execute\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * See \"[iTwin.js Types used in ECSQL Parameter Bindings]($docs/learning/ECSQLParameterTypes)\" for details.\r\n * @returns Return row count.\r\n * @throws [IModelError]($common) If the statement is invalid\r\n * @deprecated in 3.7. Count the number of results using `count(*)` where the original query is a subquery instead. E.g., `SELECT count(*) FROM (<query-whose-rows-to-count>)`.\r\n */\r\n public async queryRowCount(ecsql: string, params?: QueryBinder): Promise<number> {\r\n for await (const row of this.createQueryReader(`SELECT count(*) FROM (${ecsql})`, params)) {\r\n return row[0] as number;\r\n }\r\n throw new IModelError(DbResult.BE_SQLITE_ERROR, \"Failed to get row count\");\r\n }\r\n\r\n /** Cancel any previous query with same token and run execute the current specified query.\r\n * The result of the query is async iterator over the rows. The iterator will get next page automatically once rows in current page has been read.\r\n * [ECSQL row]($docs/learning/ECSQLRowFormat).\r\n *\r\n * See also:\r\n * - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)\r\n * - [Code Examples]($docs/learning/backend/ECSQLCodeExamples)\r\n *\r\n * @param ecsql The ECSQL statement to execute\r\n * @param token None empty restart token. The previous query with same token would be cancelled. This would cause\r\n * exception which user code must handle.\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * @param options Allow to specify certain flags which control how query is executed.\r\n * @returns Returns the query result as an *AsyncIterableIterator<any>* which lazy load result as needed. The row format is determined by *rowFormat* parameter.\r\n * See [ECSQL row format]($docs/learning/ECSQLRowFormat) for details about the format of the returned rows.\r\n * @throws [IModelError]($common) If there was any error while submitting, preparing or stepping into query\r\n * @deprecated in 3.7. Use [[createQueryReader]] instead. Pass in the restart token as part of the `config` argument; e.g., `{ restartToken: myToken }` or `new QueryOptionsBuilder().setRestartToken(myToken).getOptions()`.\r\n */\r\n public async * restartQuery(token: string, ecsql: string, params?: QueryBinder, options?: QueryOptions): AsyncIterableIterator<any> {\r\n for await (const row of this.createQueryReader(ecsql, params, new QueryOptionsBuilder(options).setRestartToken(token).getOptions())) {\r\n yield row;\r\n }\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"ECDb.js","sourceRoot":"","sources":["../../src/ECDb.ts"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,sDAAsF;AAEtF,oDAA8H;AAC9H,mEAAgE;AAChE,uDAAoD;AACpD,qDAAkD;AAClD,6CAA0C;AAC1C,uDAAoE;AAEpE,MAAM,cAAc,GAAW,6CAAqB,CAAC,IAAI,CAAC;AAE1D;;GAEG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uDAAQ,CAAA;I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SACF,CAAC;QACF,OAAO,IAAI,yBAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACI,KAAK,CAAC,CAAE,KAAK,CAAC,KAAa,EAAE,MAAoB,EAAE,OAAsB;QAC9E,MAAM,OAAO,GAAG,IAAI,iCAAmB,CAAC,OAAO,CAAC,CAAC;QACjD,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;QAC3E,OAAO,MAAM,MAAM,CAAC,IAAI,EAAE;YACxB,MAAM,MAAM,CAAC,gBAAgB,EAAE,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;OAYG;IACI,KAAK,CAAC,aAAa,CAAC,KAAa,EAAE,MAAoB;QAC5D,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,IAAI,CAAC,iBAAiB,CAAC,yBAAyB,KAAK,GAAG,EAAE,MAAM,CAAC,EAAE;YACzF,OAAO,GAAG,CAAC,CAAC,CAAW,CAAC;SACzB;QACD,MAAM,IAAI,yBAAW,CAAC,uBAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACI,KAAK,CAAC,CAAE,YAAY,CAAC,KAAa,EAAE,KAAa,EAAE,MAAoB,EAAE,OAAsB;QACpG,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,iCAAmB,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE;YACnI,MAAM,GAAG,CAAC;SACX;IACH,CAAC;CACF;AAnVD,oBAmVC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ECDb\r\n */\r\nimport { assert, DbResult, IDisposable, Logger, OpenMode } from \"@itwin/core-bentley\";\r\nimport { IModelJsNative } from \"@bentley/imodeljs-native\";\r\nimport { DbQueryRequest, ECSqlReader, IModelError, QueryBinder, QueryOptions, QueryOptionsBuilder } from \"@itwin/core-common\";\r\nimport { BackendLoggerCategory } from \"./BackendLoggerCategory\";\r\nimport { ConcurrentQuery } from \"./ConcurrentQuery\";\r\nimport { ECSqlStatement } from \"./ECSqlStatement\";\r\nimport { IModelHost } from \"./IModelHost\";\r\nimport { SqliteStatement, StatementCache } from \"./SqliteStatement\";\r\n\r\nconst loggerCategory: string = BackendLoggerCategory.ECDb;\r\n\r\n/** Modes for how to open [ECDb]($backend) files.\r\n * @public\r\n */\r\nexport enum ECDbOpenMode {\r\n Readonly,\r\n ReadWrite,\r\n /** Opens the file read-write and upgrades the file if necessary to the latest file format version. */\r\n FileUpgrade,\r\n}\r\n\r\n/** An ECDb file\r\n * @public\r\n */\r\nexport class ECDb implements IDisposable {\r\n private _nativeDb?: IModelJsNative.ECDb;\r\n private readonly _statementCache = new StatementCache<ECSqlStatement>();\r\n private _sqliteStatementCache = new StatementCache<SqliteStatement>();\r\n\r\n /** only for tests\r\n * @internal\r\n */\r\n public resetSqliteCache(size: number) {\r\n this._sqliteStatementCache.clear();\r\n this._sqliteStatementCache = new StatementCache<SqliteStatement>(size);\r\n }\r\n\r\n constructor() {\r\n this._nativeDb = new IModelHost.platform.ECDb();\r\n }\r\n /** Call this function when finished with this ECDb object. This releases the native resources held by the\r\n * ECDb object.\r\n */\r\n public dispose(): void {\r\n if (!this._nativeDb)\r\n return;\r\n\r\n this.closeDb();\r\n this._nativeDb.dispose();\r\n this._nativeDb = undefined;\r\n }\r\n\r\n /** Create an ECDb\r\n * @param pathName The path to the ECDb file to create.\r\n * @throws [IModelError]($common) if the operation failed.\r\n */\r\n public createDb(pathName: string): void {\r\n const status: DbResult = this.nativeDb.createDb(pathName);\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to created ECDb\");\r\n }\r\n\r\n /** Open the ECDb.\r\n * @param pathName The path to the ECDb file to open\r\n * @param openMode Open mode\r\n * @throws [IModelError]($common) if the operation failed.\r\n */\r\n public openDb(pathName: string, openMode: ECDbOpenMode = ECDbOpenMode.Readonly): void {\r\n const nativeOpenMode: OpenMode = openMode === ECDbOpenMode.Readonly ? OpenMode.Readonly : OpenMode.ReadWrite;\r\n const tryUpgrade: boolean = openMode === ECDbOpenMode.FileUpgrade;\r\n const status: DbResult = this.nativeDb.openDb(pathName, nativeOpenMode, tryUpgrade);\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to open ECDb\");\r\n }\r\n\r\n /** Returns true if the ECDb is open */\r\n public get isOpen(): boolean { return this.nativeDb.isOpen(); }\r\n\r\n /** Close the Db after saving any uncommitted changes.\r\n * @throws [IModelError]($common) if the database is not open.\r\n */\r\n public closeDb(): void {\r\n this._statementCache.clear();\r\n this._sqliteStatementCache.clear();\r\n this.nativeDb.closeDb();\r\n }\r\n\r\n /** @internal use to test statement caching */\r\n public clearStatementCache() {\r\n this._statementCache.clear();\r\n }\r\n\r\n /** @internal use to test statement caching */\r\n public getCachedStatementCount() {\r\n return this._statementCache.size;\r\n }\r\n\r\n /** Commit the outermost transaction, writing changes to the file. Then, restart the transaction.\r\n * @param changesetName The name of the operation that generated these changes.\r\n * @throws [IModelError]($common) if the database is not open or if the operation failed.\r\n */\r\n public saveChanges(changesetName?: string): void {\r\n const status: DbResult = this.nativeDb.saveChanges(changesetName);\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to save changes\");\r\n }\r\n\r\n /** Abandon (cancel) the outermost transaction, discarding all changes since last save. Then, restart the transaction.\r\n * @throws [IModelError]($common) if the database is not open or if the operation failed.\r\n */\r\n public abandonChanges(): void {\r\n const status: DbResult = this.nativeDb.abandonChanges();\r\n if (status !== DbResult.BE_SQLITE_OK)\r\n throw new IModelError(status, \"Failed to abandon changes\");\r\n }\r\n\r\n /** Import a schema.\r\n *\r\n * If the import was successful, the database is automatically saved to disk.\r\n * @param pathName Path to ECSchema XML file to import.\r\n * @throws [IModelError]($common) if the database is not open or if the operation failed.\r\n */\r\n public importSchema(pathName: string): void {\r\n const status: DbResult = this.nativeDb.importSchema(pathName);\r\n if (status !== DbResult.BE_SQLITE_OK) {\r\n Logger.logError(loggerCategory, `Failed to import schema from '${pathName}'.`);\r\n throw new IModelError(status, `Failed to import schema from '${pathName}'.`);\r\n }\r\n }\r\n\r\n /**\r\n * Use a prepared ECSQL statement, potentially from the statement cache. If the requested statement doesn't exist\r\n * in the statement cache, a new statement is prepared. After the callback completes, the statement is reset and saved\r\n * in the statement cache so it can be reused in the future. Use this method for ECSQL statements that will be\r\n * reused often and are expensive to prepare. The statement cache holds the most recently used statements, discarding\r\n * the oldest statements as it fills. For statements you don't intend to reuse, instead use [[withStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @see [[withStatement]]\r\n * @public\r\n */\r\n public withPreparedStatement<T>(ecsql: string, callback: (stmt: ECSqlStatement) => T, logErrors = true): T {\r\n const stmt = this._statementCache.findAndRemove(ecsql) ?? this.prepareStatement(ecsql, logErrors);\r\n const release = () => this._statementCache.addOrDispose(stmt);\r\n try {\r\n const val = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /**\r\n * Prepared and execute a callback on an ECSQL statement. After the callback completes the statement is disposed.\r\n * Use this method for ECSQL statements are either not expected to be reused, or are not expensive to prepare.\r\n * For statements that will be reused often, instead use [[withPreparedStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @see [[withPreparedStatement]]\r\n * @public\r\n */\r\n public withStatement<T>(ecsql: string, callback: (stmt: ECSqlStatement) => T, logErrors = true): T {\r\n const stmt = this.prepareStatement(ecsql, logErrors);\r\n const release = () => stmt.dispose();\r\n try {\r\n const val = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /** Prepare an ECSQL statement.\r\n * @param ecsql The ECSQL statement to prepare\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @throws [IModelError]($common) if there is a problem preparing the statement.\r\n */\r\n public prepareStatement(ecsql: string, logErrors = true): ECSqlStatement {\r\n const stmt = new ECSqlStatement();\r\n stmt.prepare(this.nativeDb, ecsql, logErrors);\r\n return stmt;\r\n }\r\n\r\n /**\r\n * Use a prepared SQL statement, potentially from the statement cache. If the requested statement doesn't exist\r\n * in the statement cache, a new statement is prepared. After the callback completes, the statement is reset and saved\r\n * in the statement cache so it can be reused in the future. Use this method for SQL statements that will be\r\n * reused often and are expensive to prepare. The statement cache holds the most recently used statements, discarding\r\n * the oldest statements as it fills. For statements you don't intend to reuse, instead use [[withSqliteStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @see [[withPreparedStatement]]\r\n * @public\r\n */\r\n public withPreparedSqliteStatement<T>(sql: string, callback: (stmt: SqliteStatement) => T, logErrors = true): T {\r\n const stmt = this._sqliteStatementCache.findAndRemove(sql) ?? this.prepareSqliteStatement(sql, logErrors);\r\n const release = () => this._sqliteStatementCache.addOrDispose(stmt);\r\n try {\r\n const val: T = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /**\r\n * Prepared and execute a callback on a SQL statement. After the callback completes the statement is disposed.\r\n * Use this method for SQL statements are either not expected to be reused, or are not expensive to prepare.\r\n * For statements that will be reused often, instead use [[withPreparedSqliteStatement]].\r\n * @param sql The SQLite SQL statement to execute\r\n * @param callback the callback to invoke on the prepared statement\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @returns the value returned by `callback`.\r\n * @public\r\n */\r\n public withSqliteStatement<T>(sql: string, callback: (stmt: SqliteStatement) => T, logErrors = true): T {\r\n const stmt = this.prepareSqliteStatement(sql, logErrors);\r\n const release = () => stmt.dispose();\r\n try {\r\n const val: T = callback(stmt);\r\n if (val instanceof Promise) {\r\n val.then(release, release);\r\n } else {\r\n release();\r\n }\r\n return val;\r\n } catch (err) {\r\n release();\r\n throw err;\r\n }\r\n }\r\n\r\n /** Prepare an SQL statement.\r\n * @param sql The SQLite SQL statement to prepare\r\n * @param logErrors Determines if error will be logged if statement fail to prepare\r\n * @throws [IModelError]($common) if there is a problem preparing the statement.\r\n * @internal\r\n */\r\n public prepareSqliteStatement(sql: string, logErrors = true): SqliteStatement {\r\n const stmt = new SqliteStatement(sql);\r\n stmt.prepare(this.nativeDb, logErrors);\r\n return stmt;\r\n }\r\n\r\n /** @internal */\r\n public get nativeDb(): IModelJsNative.ECDb {\r\n assert(undefined !== this._nativeDb);\r\n return this._nativeDb;\r\n }\r\n\r\n /** Allow to execute query and read results along with meta data. The result are streamed.\r\n *\r\n * See also:\r\n * - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)\r\n * - [Code Examples]($docs/learning/backend/ECSQLCodeExamples)\r\n * - [ECSQL Row Format]($docs/learning/ECSQLRowFormat)\r\n *\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * @param config Allow to specify certain flags which control how query is executed.\r\n * @returns Returns an [ECSqlReader]($common) which helps iterate over the result set and also give access to metadata.\r\n * @beta\r\n * */\r\n public createQueryReader(ecsql: string, params?: QueryBinder, config?: QueryOptions): ECSqlReader {\r\n if (!this._nativeDb || !this._nativeDb.isOpen()) {\r\n throw new IModelError(DbResult.BE_SQLITE_ERROR, \"db not open\");\r\n }\r\n const executor = {\r\n execute: async (request: DbQueryRequest) => {\r\n return ConcurrentQuery.executeQueryRequest(this.nativeDb, request);\r\n },\r\n };\r\n return new ECSqlReader(executor, ecsql, params, config);\r\n }\r\n\r\n /** Execute a query and stream its results\r\n * The result of the query is async iterator over the rows. The iterator will get next page automatically once rows in current page has been read.\r\n * [ECSQL row]($docs/learning/ECSQLRowFormat).\r\n *\r\n * See also:\r\n * - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)\r\n * - [Code Examples]($docs/learning/backend/ECSQLCodeExamples)\r\n *\r\n * @param ecsql The ECSQL statement to execute\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * @param options Allow to specify certain flags which control how query is executed.\r\n * @returns Returns the query result as an *AsyncIterableIterator<any>* which lazy load result as needed. The row format is determined by *rowFormat* parameter.\r\n * See [ECSQL row format]($docs/learning/ECSQLRowFormat) for details about the format of the returned rows.\r\n * @throws [IModelError]($common) If there was any error while submitting, preparing or stepping into query\r\n * @deprecated in 3.7. Use [[createQueryReader]] instead; it accepts the same parameters.\r\n */\r\n public async * query(ecsql: string, params?: QueryBinder, options?: QueryOptions): AsyncIterableIterator<any> {\r\n const builder = new QueryOptionsBuilder(options);\r\n const reader = this.createQueryReader(ecsql, params, builder.getOptions());\r\n while (await reader.step())\r\n yield reader.formatCurrentRow();\r\n }\r\n /** Compute number of rows that would be returned by the ECSQL.\r\n *\r\n * See also:\r\n * - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)\r\n * - [Code Examples]($docs/learning/backend/ECSQLCodeExamples)\r\n *\r\n * @param ecsql The ECSQL statement to execute\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * See \"[iTwin.js Types used in ECSQL Parameter Bindings]($docs/learning/ECSQLParameterTypes)\" for details.\r\n * @returns Return row count.\r\n * @throws [IModelError]($common) If the statement is invalid\r\n * @deprecated in 3.7. Count the number of results using `count(*)` where the original query is a subquery instead. E.g., `SELECT count(*) FROM (<query-whose-rows-to-count>)`.\r\n */\r\n public async queryRowCount(ecsql: string, params?: QueryBinder): Promise<number> {\r\n for await (const row of this.createQueryReader(`SELECT count(*) FROM (${ecsql})`, params)) {\r\n return row[0] as number;\r\n }\r\n throw new IModelError(DbResult.BE_SQLITE_ERROR, \"Failed to get row count\");\r\n }\r\n\r\n /** Cancel any previous query with same token and run execute the current specified query.\r\n * The result of the query is async iterator over the rows. The iterator will get next page automatically once rows in current page has been read.\r\n * [ECSQL row]($docs/learning/ECSQLRowFormat).\r\n *\r\n * See also:\r\n * - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)\r\n * - [Code Examples]($docs/learning/backend/ECSQLCodeExamples)\r\n *\r\n * @param ecsql The ECSQL statement to execute\r\n * @param token None empty restart token. The previous query with same token would be cancelled. This would cause\r\n * exception which user code must handle.\r\n * @param params The values to bind to the parameters (if the ECSQL has any).\r\n * @param options Allow to specify certain flags which control how query is executed.\r\n * @returns Returns the query result as an *AsyncIterableIterator<any>* which lazy load result as needed. The row format is determined by *rowFormat* parameter.\r\n * See [ECSQL row format]($docs/learning/ECSQLRowFormat) for details about the format of the returned rows.\r\n * @throws [IModelError]($common) If there was any error while submitting, preparing or stepping into query\r\n * @deprecated in 3.7. Use [[createQueryReader]] instead. Pass in the restart token as part of the `config` argument; e.g., `{ restartToken: myToken }` or `new QueryOptionsBuilder().setRestartToken(myToken).getOptions()`.\r\n */\r\n public async * restartQuery(token: string, ecsql: string, params?: QueryBinder, options?: QueryOptions): AsyncIterableIterator<any> {\r\n for await (const row of this.createQueryReader(ecsql, params, new QueryOptionsBuilder(options).setRestartToken(token).getOptions())) {\r\n yield row;\r\n }\r\n }\r\n}\r\n"]}
|
package/lib/cjs/Element.d.ts
CHANGED
|
@@ -104,10 +104,7 @@ export declare class Element extends Entity {
|
|
|
104
104
|
readonly jsonProperties: {
|
|
105
105
|
[key: string]: any;
|
|
106
106
|
};
|
|
107
|
-
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
107
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
111
108
|
/** Called before a new Element is inserted.
|
|
112
109
|
* @note throw an exception to disallow the insert
|
|
113
110
|
* @note If you override this method, you must call super.
|
|
@@ -256,9 +253,6 @@ export declare class Element extends Entity {
|
|
|
256
253
|
* @beta
|
|
257
254
|
*/
|
|
258
255
|
protected static onAllInputsHandled(_id: Id64String, _iModel: IModelDb): void;
|
|
259
|
-
/** Save this Element's properties to an object for serializing to JSON.
|
|
260
|
-
* @internal
|
|
261
|
-
*/
|
|
262
256
|
toJSON(): ElementProps;
|
|
263
257
|
/** Collect the Ids of this element's *references* at this level of the class hierarchy.
|
|
264
258
|
* @deprecated in 3.x. use [[collectReferenceIds]] instead, the use of the term *predecessors* was confusing and became inaccurate when the transformer could handle cycles
|
|
@@ -327,13 +321,12 @@ export declare abstract class GeometricElement extends Element {
|
|
|
327
321
|
/** The GeometryStream for this GeometricElement. */
|
|
328
322
|
geom?: GeometryStreamProps;
|
|
329
323
|
/** How to build the element's GeometryStream. This is used for insert and update only. It is not a persistent property. It will be undefined in the properties returned by functions that read a persistent element. It may be specified as an alternative to `geom` when inserting or updating an element.
|
|
330
|
-
* @
|
|
324
|
+
* @beta
|
|
331
325
|
*/
|
|
332
326
|
elementGeometryBuilderParams?: ElementGeometryBuilderParams;
|
|
333
327
|
/** The origin, orientation, and bounding box of this GeometricElement. */
|
|
334
328
|
abstract get placement(): Placement2d | Placement3d;
|
|
335
|
-
|
|
336
|
-
constructor(props: GeometricElementProps, iModel: IModelDb);
|
|
329
|
+
protected constructor(props: GeometricElementProps, iModel: IModelDb);
|
|
337
330
|
/** Type guard for instanceof [[GeometricElement3d]] */
|
|
338
331
|
is3d(): this is GeometricElement3d;
|
|
339
332
|
/** Type guard for instanceof [[GeometricElement2d]] */
|
|
@@ -341,7 +334,6 @@ export declare abstract class GeometricElement extends Element {
|
|
|
341
334
|
/** Get the [Transform]($geometry) from the Placement of this GeometricElement */
|
|
342
335
|
getPlacementTransform(): Transform;
|
|
343
336
|
calculateRange3d(): AxisAlignedBox3d;
|
|
344
|
-
/** Obtain the JSON representation of this element. */
|
|
345
337
|
toJSON(): GeometricElementProps;
|
|
346
338
|
protected collectReferenceIds(referenceIds: EntityReferenceSet): void;
|
|
347
339
|
/** @beta */
|
|
@@ -358,9 +350,7 @@ export declare abstract class GeometricElement3d extends GeometricElement {
|
|
|
358
350
|
static get className(): string;
|
|
359
351
|
placement: Placement3d;
|
|
360
352
|
typeDefinition?: TypeDefinition;
|
|
361
|
-
|
|
362
|
-
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
363
|
-
/** @internal */
|
|
353
|
+
protected constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
364
354
|
toJSON(): GeometricElement3dProps;
|
|
365
355
|
protected collectReferenceIds(referenceIds: EntityReferenceSet): void;
|
|
366
356
|
}
|
|
@@ -370,8 +360,7 @@ export declare abstract class GeometricElement3d extends GeometricElement {
|
|
|
370
360
|
export declare abstract class GraphicalElement3d extends GeometricElement3d {
|
|
371
361
|
/** @internal */
|
|
372
362
|
static get className(): string;
|
|
373
|
-
|
|
374
|
-
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
363
|
+
protected constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
375
364
|
}
|
|
376
365
|
/** An abstract base class to model information entities that intrinsically have 2d geometry.
|
|
377
366
|
* @public
|
|
@@ -381,9 +370,7 @@ export declare abstract class GeometricElement2d extends GeometricElement {
|
|
|
381
370
|
static get className(): string;
|
|
382
371
|
placement: Placement2d;
|
|
383
372
|
typeDefinition?: TypeDefinition;
|
|
384
|
-
|
|
385
|
-
constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
386
|
-
/** @internal */
|
|
373
|
+
protected constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
387
374
|
toJSON(): GeometricElement2dProps;
|
|
388
375
|
protected collectReferenceIds(referenceIds: EntityReferenceSet): void;
|
|
389
376
|
}
|
|
@@ -393,8 +380,7 @@ export declare abstract class GeometricElement2d extends GeometricElement {
|
|
|
393
380
|
export declare abstract class GraphicalElement2d extends GeometricElement2d {
|
|
394
381
|
/** @internal */
|
|
395
382
|
static get className(): string;
|
|
396
|
-
|
|
397
|
-
constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
383
|
+
protected constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
398
384
|
}
|
|
399
385
|
/** 2d element used to annotate drawings and sheets.
|
|
400
386
|
* @public
|
|
@@ -402,8 +388,7 @@ export declare abstract class GraphicalElement2d extends GeometricElement2d {
|
|
|
402
388
|
export declare class AnnotationElement2d extends GraphicalElement2d {
|
|
403
389
|
/** @internal */
|
|
404
390
|
static get className(): string;
|
|
405
|
-
|
|
406
|
-
constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
391
|
+
protected constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
407
392
|
}
|
|
408
393
|
/** 2d element used to persist graphics for use in drawings.
|
|
409
394
|
* @public
|
|
@@ -411,8 +396,7 @@ export declare class AnnotationElement2d extends GraphicalElement2d {
|
|
|
411
396
|
export declare class DrawingGraphic extends GraphicalElement2d {
|
|
412
397
|
/** @internal */
|
|
413
398
|
static get className(): string;
|
|
414
|
-
|
|
415
|
-
constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
399
|
+
protected constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
416
400
|
}
|
|
417
401
|
/** 2D Text Annotation
|
|
418
402
|
* @public
|
|
@@ -420,8 +404,7 @@ export declare class DrawingGraphic extends GraphicalElement2d {
|
|
|
420
404
|
export declare class TextAnnotation2d extends AnnotationElement2d {
|
|
421
405
|
/** @internal */
|
|
422
406
|
static get className(): string;
|
|
423
|
-
|
|
424
|
-
constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
407
|
+
protected constructor(props: GeometricElement2dProps, iModel: IModelDb);
|
|
425
408
|
}
|
|
426
409
|
/** 3D Text Annotation
|
|
427
410
|
* @public
|
|
@@ -429,8 +412,7 @@ export declare class TextAnnotation2d extends AnnotationElement2d {
|
|
|
429
412
|
export declare class TextAnnotation3d extends GraphicalElement3d {
|
|
430
413
|
/** @internal */
|
|
431
414
|
static get className(): string;
|
|
432
|
-
|
|
433
|
-
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
415
|
+
protected constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
434
416
|
}
|
|
435
417
|
/** An Element that occupies real world space. Its coordinates are in the project space of its iModel.
|
|
436
418
|
* @public
|
|
@@ -438,8 +420,7 @@ export declare class TextAnnotation3d extends GraphicalElement3d {
|
|
|
438
420
|
export declare abstract class SpatialElement extends GeometricElement3d {
|
|
439
421
|
/** @internal */
|
|
440
422
|
static get className(): string;
|
|
441
|
-
|
|
442
|
-
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
423
|
+
protected constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
443
424
|
}
|
|
444
425
|
/** An Element that is spatially located, has mass, and can be *touched*.
|
|
445
426
|
* @public
|
|
@@ -449,9 +430,7 @@ export declare abstract class PhysicalElement extends SpatialElement {
|
|
|
449
430
|
static get className(): string;
|
|
450
431
|
/** If defined, the [[PhysicalMaterial]] that makes up this PhysicalElement. */
|
|
451
432
|
physicalMaterial?: RelatedElement;
|
|
452
|
-
|
|
453
|
-
constructor(props: PhysicalElementProps, iModel: IModelDb);
|
|
454
|
-
/** @internal */
|
|
433
|
+
protected constructor(props: PhysicalElementProps, iModel: IModelDb);
|
|
455
434
|
toJSON(): PhysicalElementProps;
|
|
456
435
|
}
|
|
457
436
|
/** Identifies a *tracked* real world location but has no mass and cannot be *touched*.
|
|
@@ -460,8 +439,7 @@ export declare abstract class PhysicalElement extends SpatialElement {
|
|
|
460
439
|
export declare abstract class SpatialLocationElement extends SpatialElement {
|
|
461
440
|
/** @internal */
|
|
462
441
|
static get className(): string;
|
|
463
|
-
|
|
464
|
-
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
442
|
+
protected constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
465
443
|
}
|
|
466
444
|
/** A Volume Element is a Spatial Location Element that is restricted to defining a volume.
|
|
467
445
|
* @public
|
|
@@ -469,8 +447,7 @@ export declare abstract class SpatialLocationElement extends SpatialElement {
|
|
|
469
447
|
export declare class VolumeElement extends SpatialLocationElement {
|
|
470
448
|
/** @internal */
|
|
471
449
|
static get className(): string;
|
|
472
|
-
|
|
473
|
-
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
450
|
+
protected constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
474
451
|
}
|
|
475
452
|
/** A SectionDrawingLocation element identifies the location of a [[SectionDrawing]] in the context of a [[SpatialModel]],
|
|
476
453
|
* enabling [HyperModeling]($hypermodeling).
|
|
@@ -483,7 +460,6 @@ export declare class SectionDrawingLocation extends SpatialLocationElement {
|
|
|
483
460
|
/** @internal */
|
|
484
461
|
static get className(): string;
|
|
485
462
|
constructor(props: SectionDrawingLocationProps, iModel: IModelDb);
|
|
486
|
-
/** @internal */
|
|
487
463
|
toJSON(): SectionDrawingLocationProps;
|
|
488
464
|
}
|
|
489
465
|
/** Information Content Element is an abstract base class for modeling pure information entities. Only the
|
|
@@ -494,8 +470,7 @@ export declare class SectionDrawingLocation extends SpatialLocationElement {
|
|
|
494
470
|
export declare abstract class InformationContentElement extends Element {
|
|
495
471
|
/** @internal */
|
|
496
472
|
static get className(): string;
|
|
497
|
-
|
|
498
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
473
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
499
474
|
}
|
|
500
475
|
/** Element used in conjunction with bis:ElementDrivesElement relationships to bundle multiple inputs before
|
|
501
476
|
* driving the output element.
|
|
@@ -504,8 +479,7 @@ export declare abstract class InformationContentElement extends Element {
|
|
|
504
479
|
export declare abstract class DriverBundleElement extends InformationContentElement {
|
|
505
480
|
/** @internal */
|
|
506
481
|
static get className(): string;
|
|
507
|
-
|
|
508
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
482
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
509
483
|
}
|
|
510
484
|
/** Information Reference is an abstract base class for modeling entities whose main purpose is to reference something else.
|
|
511
485
|
* @public
|
|
@@ -513,8 +487,7 @@ export declare abstract class DriverBundleElement extends InformationContentElem
|
|
|
513
487
|
export declare abstract class InformationReferenceElement extends InformationContentElement {
|
|
514
488
|
/** @internal */
|
|
515
489
|
static get className(): string;
|
|
516
|
-
|
|
517
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
490
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
518
491
|
}
|
|
519
492
|
/** A Subject is an information element that describes what this repository (or part thereof) is about.
|
|
520
493
|
* See [how to create a Subject element]$(docs/learning/backend/CreateElements.md#Subject).
|
|
@@ -524,9 +497,7 @@ export declare class Subject extends InformationReferenceElement {
|
|
|
524
497
|
/** @internal */
|
|
525
498
|
static get className(): string;
|
|
526
499
|
description?: string;
|
|
527
|
-
|
|
528
|
-
constructor(props: SubjectProps, iModel: IModelDb);
|
|
529
|
-
/** @internal */
|
|
500
|
+
protected constructor(props: SubjectProps, iModel: IModelDb);
|
|
530
501
|
toJSON(): SubjectProps;
|
|
531
502
|
/** Create a Code for a Subject given a name that is meant to be unique within the scope of its parent Subject.
|
|
532
503
|
* @param iModelDb The IModelDb
|
|
@@ -563,8 +534,7 @@ export declare class Subject extends InformationReferenceElement {
|
|
|
563
534
|
export declare abstract class Document extends InformationContentElement {
|
|
564
535
|
/** @internal */
|
|
565
536
|
static get className(): string;
|
|
566
|
-
|
|
567
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
537
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
568
538
|
}
|
|
569
539
|
/** A document that represents a drawing, that is, a two-dimensional graphical representation of engineering data. A Drawing element is usually modelled by a [[DrawingModel]].
|
|
570
540
|
* @public
|
|
@@ -572,8 +542,7 @@ export declare abstract class Document extends InformationContentElement {
|
|
|
572
542
|
export declare class Drawing extends Document {
|
|
573
543
|
/** @internal */
|
|
574
544
|
static get className(): string;
|
|
575
|
-
|
|
576
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
545
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
577
546
|
/** Create a Code for a Drawing given a name that is meant to be unique within the scope of the specified DocumentListModel.
|
|
578
547
|
* @param iModel The IModelDb
|
|
579
548
|
* @param scopeModelId The Id of the DocumentListModel that contains the Drawing and provides the scope for its name.
|
|
@@ -612,9 +581,7 @@ export declare class SectionDrawing extends Drawing {
|
|
|
612
581
|
displaySpatialView: boolean;
|
|
613
582
|
/** @internal */
|
|
614
583
|
static get className(): string;
|
|
615
|
-
|
|
616
|
-
constructor(props: SectionDrawingProps, iModel: IModelDb);
|
|
617
|
-
/** Convert to JSON representation. */
|
|
584
|
+
protected constructor(props: SectionDrawingProps, iModel: IModelDb);
|
|
618
585
|
toJSON(): SectionDrawingProps;
|
|
619
586
|
}
|
|
620
587
|
/** The template for a SheetBorder
|
|
@@ -625,8 +592,7 @@ export declare class SheetBorderTemplate extends Document {
|
|
|
625
592
|
static get className(): string;
|
|
626
593
|
height?: number;
|
|
627
594
|
width?: number;
|
|
628
|
-
|
|
629
|
-
constructor(props: SheetBorderTemplateProps, iModel: IModelDb);
|
|
595
|
+
protected constructor(props: SheetBorderTemplateProps, iModel: IModelDb);
|
|
630
596
|
}
|
|
631
597
|
/** The template for a [[Sheet]]
|
|
632
598
|
* @public
|
|
@@ -637,8 +603,7 @@ export declare class SheetTemplate extends Document {
|
|
|
637
603
|
height?: number;
|
|
638
604
|
width?: number;
|
|
639
605
|
border?: Id64String;
|
|
640
|
-
|
|
641
|
-
constructor(props: SheetTemplateProps, iModel: IModelDb);
|
|
606
|
+
protected constructor(props: SheetTemplateProps, iModel: IModelDb);
|
|
642
607
|
protected collectReferenceIds(referenceIds: EntityReferenceSet): void;
|
|
643
608
|
}
|
|
644
609
|
/** A digital representation of a *sheet of paper*. Modeled by a [[SheetModel]].
|
|
@@ -651,8 +616,7 @@ export declare class Sheet extends Document {
|
|
|
651
616
|
width: number;
|
|
652
617
|
scale?: number;
|
|
653
618
|
sheetTemplate?: Id64String;
|
|
654
|
-
|
|
655
|
-
constructor(props: SheetProps, iModel: IModelDb);
|
|
619
|
+
protected constructor(props: SheetProps, iModel: IModelDb);
|
|
656
620
|
protected collectReferenceIds(referenceIds: EntityReferenceSet): void;
|
|
657
621
|
/** Create a Code for a Sheet given a name that is meant to be unique within the scope of the specified DocumentListModel.
|
|
658
622
|
* @param iModel The IModelDb
|
|
@@ -668,8 +632,7 @@ export declare class Sheet extends Document {
|
|
|
668
632
|
export declare abstract class InformationRecordElement extends InformationContentElement {
|
|
669
633
|
/** @internal */
|
|
670
634
|
static get className(): string;
|
|
671
|
-
|
|
672
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
635
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
673
636
|
}
|
|
674
637
|
/** A Definition Element holds configuration-related information that is meant to be referenced / shared.
|
|
675
638
|
* @public
|
|
@@ -679,9 +642,7 @@ export declare abstract class DefinitionElement extends InformationContentElemen
|
|
|
679
642
|
static get className(): string;
|
|
680
643
|
/** If true, don't show this DefinitionElement in user interface lists. */
|
|
681
644
|
isPrivate: boolean;
|
|
682
|
-
|
|
683
|
-
constructor(props: DefinitionElementProps, iModel: IModelDb);
|
|
684
|
-
/** @internal */
|
|
645
|
+
protected constructor(props: DefinitionElementProps, iModel: IModelDb);
|
|
685
646
|
toJSON(): DefinitionElementProps;
|
|
686
647
|
}
|
|
687
648
|
/** This abstract class unifies DefinitionGroup and DefinitionContainer for relationship endpoint purposes.
|
|
@@ -745,8 +706,7 @@ export declare abstract class TypeDefinitionElement extends DefinitionElement {
|
|
|
745
706
|
/** @internal */
|
|
746
707
|
static get className(): string;
|
|
747
708
|
recipe?: RelatedElement;
|
|
748
|
-
|
|
749
|
-
constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
|
|
709
|
+
protected constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
|
|
750
710
|
protected collectReferenceIds(referenceIds: EntityReferenceSet): void;
|
|
751
711
|
}
|
|
752
712
|
/** Defines a recipe for generating instances from a definition.
|
|
@@ -755,8 +715,7 @@ export declare abstract class TypeDefinitionElement extends DefinitionElement {
|
|
|
755
715
|
export declare abstract class RecipeDefinitionElement extends DefinitionElement {
|
|
756
716
|
/** @internal */
|
|
757
717
|
static get className(): string;
|
|
758
|
-
|
|
759
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
718
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
760
719
|
}
|
|
761
720
|
/** Defines a set of properties (the *type*) that can be associated with a Physical Element. A Physical
|
|
762
721
|
* Type has a strong correlation with something that can be ordered from a catalog since all instances
|
|
@@ -768,9 +727,7 @@ export declare abstract class PhysicalType extends TypeDefinitionElement {
|
|
|
768
727
|
static get className(): string;
|
|
769
728
|
/** If defined, the [[PhysicalMaterial]] that makes up this PhysicalType. */
|
|
770
729
|
physicalMaterial?: RelatedElement;
|
|
771
|
-
|
|
772
|
-
constructor(props: PhysicalTypeProps, iModel: IModelDb);
|
|
773
|
-
/** @internal */
|
|
730
|
+
protected constructor(props: PhysicalTypeProps, iModel: IModelDb);
|
|
774
731
|
toJSON(): PhysicalTypeProps;
|
|
775
732
|
/** Create a Code for a PhysicalType element given a name that is meant to be unique within the scope of the specified DefinitionModel.
|
|
776
733
|
* @param iModel The IModelDb
|
|
@@ -785,8 +742,7 @@ export declare abstract class PhysicalType extends TypeDefinitionElement {
|
|
|
785
742
|
export declare abstract class SpatialLocationType extends TypeDefinitionElement {
|
|
786
743
|
/** @internal */
|
|
787
744
|
static get className(): string;
|
|
788
|
-
|
|
789
|
-
constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
|
|
745
|
+
protected constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
|
|
790
746
|
/** Create a Code for a SpatialLocationType element given a name that is meant to be unique within the scope of the specified DefinitionModel.
|
|
791
747
|
* @param iModel The IModelDb
|
|
792
748
|
* @param scopeModelId The Id of the DefinitionModel that contains the SpatialLocationType element and provides the scope for its name.
|
|
@@ -800,8 +756,7 @@ export declare abstract class SpatialLocationType extends TypeDefinitionElement
|
|
|
800
756
|
export declare class TemplateRecipe3d extends RecipeDefinitionElement {
|
|
801
757
|
/** @internal */
|
|
802
758
|
static get className(): string;
|
|
803
|
-
|
|
804
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
759
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
805
760
|
/** Create a Code for a TemplateRecipe3d given a name that is meant to be unique within the scope of its Model.
|
|
806
761
|
* @param iModelDb The IModelDb
|
|
807
762
|
* @param definitionModelId The Id of the [DefinitionModel]($backend) that contains this TemplateRecipe3d element.
|
|
@@ -831,8 +786,7 @@ export declare class TemplateRecipe3d extends RecipeDefinitionElement {
|
|
|
831
786
|
export declare abstract class GraphicalType2d extends TypeDefinitionElement {
|
|
832
787
|
/** @internal */
|
|
833
788
|
static get className(): string;
|
|
834
|
-
|
|
835
|
-
constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
|
|
789
|
+
protected constructor(props: TypeDefinitionElementProps, iModel: IModelDb);
|
|
836
790
|
/** Create a Code for a GraphicalType2d element given a name that is meant to be unique within the scope of the specified DefinitionModel.
|
|
837
791
|
* @param iModel The IModelDb
|
|
838
792
|
* @param scopeModelId The Id of the DefinitionModel that contains the GraphicalType2d element and provides the scope for its name.
|
|
@@ -846,8 +800,7 @@ export declare abstract class GraphicalType2d extends TypeDefinitionElement {
|
|
|
846
800
|
export declare class TemplateRecipe2d extends RecipeDefinitionElement {
|
|
847
801
|
/** @internal */
|
|
848
802
|
static get className(): string;
|
|
849
|
-
|
|
850
|
-
constructor(props: ElementProps, iModel: IModelDb);
|
|
803
|
+
protected constructor(props: ElementProps, iModel: IModelDb);
|
|
851
804
|
/** Create a Code for a TemplateRecipe2d given a name that is meant to be unique within the scope of its Model.
|
|
852
805
|
* @param iModelDb The IModelDb
|
|
853
806
|
* @param definitionModelId The Id of the [DefinitionModel]($backend) that contains this TemplateRecipe2d element.
|
|
@@ -881,9 +834,7 @@ export declare abstract class InformationPartitionElement extends InformationCon
|
|
|
881
834
|
static get className(): string;
|
|
882
835
|
/** A human-readable string describing the intent of the partition. */
|
|
883
836
|
description?: string;
|
|
884
|
-
|
|
885
|
-
constructor(props: InformationPartitionElementProps, iModel: IModelDb);
|
|
886
|
-
/** @internal */
|
|
837
|
+
protected constructor(props: InformationPartitionElementProps, iModel: IModelDb);
|
|
887
838
|
toJSON(): InformationPartitionElementProps;
|
|
888
839
|
/** Create a code that can be used for any subclass of InformationPartitionElement.
|
|
889
840
|
* @param iModelDb The IModelDb
|
|
@@ -991,9 +942,7 @@ export declare class UrlLink extends LinkElement {
|
|
|
991
942
|
static get className(): string;
|
|
992
943
|
description?: string;
|
|
993
944
|
url?: string;
|
|
994
|
-
|
|
995
|
-
constructor(props: UrlLinkProps, iModel: IModelDb);
|
|
996
|
-
/** @internal */
|
|
945
|
+
protected constructor(props: UrlLinkProps, iModel: IModelDb);
|
|
997
946
|
toJSON(): UrlLinkProps;
|
|
998
947
|
}
|
|
999
948
|
/** Represents a folder-like structure that organizes repositories (typically files) in an external system.
|
|
@@ -1013,9 +962,7 @@ export declare class RepositoryLink extends UrlLink {
|
|
|
1013
962
|
repositoryGuid?: GuidString;
|
|
1014
963
|
/** @note This property was added to the BisCore schema in version 1.0.13 */
|
|
1015
964
|
format?: string;
|
|
1016
|
-
|
|
1017
|
-
constructor(props: RepositoryLinkProps, iModel: IModelDb);
|
|
1018
|
-
/** @internal */
|
|
965
|
+
protected constructor(props: RepositoryLinkProps, iModel: IModelDb);
|
|
1019
966
|
toJSON(): RepositoryLinkProps;
|
|
1020
967
|
}
|
|
1021
968
|
/** An information element that links to an embedded file.
|
|
@@ -1043,13 +990,11 @@ export declare class GeometryPart extends DefinitionElement {
|
|
|
1043
990
|
static get className(): string;
|
|
1044
991
|
geom?: GeometryStreamProps;
|
|
1045
992
|
/** How to build the part's GeometryStream. This is used for insert and update only. It is not a persistent property. It will be undefined in the properties returned by functions that read a persistent element. It may be specified as an alternative to `geom` when inserting or updating an element.
|
|
1046
|
-
* @
|
|
993
|
+
* @beta
|
|
1047
994
|
*/
|
|
1048
995
|
elementGeometryBuilderParams?: ElementGeometryBuilderParamsForPart;
|
|
1049
996
|
bbox: ElementAlignedBox3d;
|
|
1050
|
-
|
|
1051
|
-
constructor(props: GeometryPartProps, iModel: IModelDb);
|
|
1052
|
-
/** @internal */
|
|
997
|
+
protected constructor(props: GeometryPartProps, iModel: IModelDb);
|
|
1053
998
|
toJSON(): GeometryPartProps;
|
|
1054
999
|
/** Create a Code for a GeometryPart element given a name that is meant to be unique within the scope of the specified DefinitionModel.
|
|
1055
1000
|
* @param iModel The IModelDb
|
|
@@ -1067,8 +1012,7 @@ export declare class LineStyle extends DefinitionElement {
|
|
|
1067
1012
|
static get className(): string;
|
|
1068
1013
|
description?: string;
|
|
1069
1014
|
data: string;
|
|
1070
|
-
|
|
1071
|
-
constructor(props: LineStyleProps, iModel: IModelDb);
|
|
1015
|
+
protected constructor(props: LineStyleProps, iModel: IModelDb);
|
|
1072
1016
|
/** Create a Code for a LineStyle definition given a name that is meant to be unique within the scope of the specified model.
|
|
1073
1017
|
* @param iModel The IModel
|
|
1074
1018
|
* @param scopeModelId The Id of the DefinitionModel that contains the LineStyle and provides the scope for its name.
|
|
@@ -1090,7 +1034,6 @@ export declare class RenderTimeline extends InformationRecordElement {
|
|
|
1090
1034
|
* @see [RenderSchedule.Script]($common) for the API for working with the script.
|
|
1091
1035
|
*/
|
|
1092
1036
|
scriptProps: RenderSchedule.ScriptProps;
|
|
1093
|
-
/** @internal */
|
|
1094
1037
|
protected constructor(props: RenderTimelineProps, iModel: IModelDb);
|
|
1095
1038
|
static fromJSON(props: RenderTimelineProps, iModel: IModelDb): RenderTimeline;
|
|
1096
1039
|
toJSON(): RenderTimelineProps;
|
package/lib/cjs/Element.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Element.d.ts","sourceRoot":"","sources":["../../src/Element.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAqB,UAAU,EAAQ,OAAO,EAAE,UAAU,EAA+B,MAAM,qBAAqB,CAAC;AAC5H,OAAO,EACL,gBAAgB,EAAe,IAAI,EAAE,cAAc,EAAY,mBAAmB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,4BAA4B,EAC7J,mCAAmC,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,qBAAqB,EAChH,iBAAiB,EAAE,mBAAmB,EAAU,gCAAgC,EAAE,cAAc,EAC9I,UAAU,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAClI,mBAAmB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,WAAW,EAAE,wBAAwB,EAAE,UAAU,EAAE,kBAAkB,EAC5I,YAAY,EAAE,cAAc,EAAE,0BAA0B,EAAE,YAAY,EACvE,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAW,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6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