@itwin/core-backend 5.9.0-dev.8 → 5.9.0-dev.9
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/lib/cjs/BackendHubAccess.d.ts +38 -0
- package/lib/cjs/BackendHubAccess.d.ts.map +1 -1
- package/lib/cjs/BackendHubAccess.js.map +1 -1
- package/lib/cjs/BackendLoggerCategory.js.map +1 -1
- package/lib/cjs/BisCoreSchema.js.map +1 -1
- package/lib/cjs/BlobContainerService.js.map +1 -1
- package/lib/cjs/BriefcaseManager.js.map +1 -1
- package/lib/cjs/CatalogDb.js.map +1 -1
- package/lib/cjs/Category.js.map +1 -1
- package/lib/cjs/ChangeSummaryManager.js +2 -2
- package/lib/cjs/ChangeSummaryManager.js.map +1 -1
- package/lib/cjs/ChangedElementsDb.js.map +1 -1
- package/lib/cjs/ChangesetECAdaptor.js +248 -248
- package/lib/cjs/ChangesetECAdaptor.js.map +1 -1
- package/lib/cjs/ChannelControl.js.map +1 -1
- package/lib/cjs/CheckpointManager.js.map +1 -1
- package/lib/cjs/ClassRegistry.js +5 -5
- package/lib/cjs/ClassRegistry.js.map +1 -1
- package/lib/cjs/CloudSqlite.js.map +1 -1
- package/lib/cjs/CodeService.js.map +1 -1
- package/lib/cjs/CodeSpecs.js.map +1 -1
- package/lib/cjs/ConcurrentQuery.js.map +1 -1
- package/lib/cjs/CustomViewState3dCreator.js.map +1 -1
- package/lib/cjs/DevTools.js.map +1 -1
- package/lib/cjs/DisplayStyle.js.map +1 -1
- package/lib/cjs/ECDb.js.map +1 -1
- package/lib/cjs/ECSchemaXmlContext.js.map +1 -1
- package/lib/cjs/ECSqlRowExecutor.js.map +1 -1
- package/lib/cjs/ECSqlStatement.js.map +1 -1
- package/lib/cjs/ECSqlSyncReader.js.map +1 -1
- package/lib/cjs/EditTxn.js.map +1 -1
- package/lib/cjs/Element.js.map +1 -1
- package/lib/cjs/ElementAspect.js.map +1 -1
- package/lib/cjs/ElementGraphics.js.map +1 -1
- package/lib/cjs/ElementTreeWalker.js.map +1 -1
- package/lib/cjs/Entity.js.map +1 -1
- package/lib/cjs/EntityReferences.js.map +1 -1
- package/lib/cjs/ExportGraphics.js.map +1 -1
- package/lib/cjs/ExternalSource.js.map +1 -1
- package/lib/cjs/FontFile.js.map +1 -1
- package/lib/cjs/GeoCoordConfig.js.map +1 -1
- package/lib/cjs/GeographicCRSServices.js.map +1 -1
- package/lib/cjs/GeometrySummary.js +47 -47
- package/lib/cjs/GeometrySummary.js.map +1 -1
- package/lib/cjs/IModelDb.js +9 -9
- package/lib/cjs/IModelDb.js.map +1 -1
- package/lib/cjs/IModelDbFonts.js.map +1 -1
- package/lib/cjs/IModelElementCloneContext.js.map +1 -1
- package/lib/cjs/IModelHost.js.map +1 -1
- package/lib/cjs/IModelIncrementalSchemaLocater.js.map +1 -1
- package/lib/cjs/IModelJsFs.js.map +1 -1
- package/lib/cjs/ImageSourceConversion.js.map +1 -1
- package/lib/cjs/IpcHost.d.ts.map +1 -1
- package/lib/cjs/IpcHost.js +13 -4
- package/lib/cjs/IpcHost.js.map +1 -1
- package/lib/cjs/LineStyle.js.map +1 -1
- package/lib/cjs/LocalHub.js +1 -1
- package/lib/cjs/LocalHub.js.map +1 -1
- package/lib/cjs/LocalhostIpcHost.js.map +1 -1
- package/lib/cjs/LockControl.d.ts +85 -1
- package/lib/cjs/LockControl.d.ts.map +1 -1
- package/lib/cjs/LockControl.js.map +1 -1
- package/lib/cjs/Material.js.map +1 -1
- package/lib/cjs/Model.js.map +1 -1
- package/lib/cjs/NativeAppStorage.js.map +1 -1
- package/lib/cjs/NativeHost.js.map +1 -1
- package/lib/cjs/NavigationRelationship.js.map +1 -1
- package/lib/cjs/PromiseMemoizer.js.map +1 -1
- package/lib/cjs/PropertyStore.js.map +1 -1
- package/lib/cjs/Relationship.js.map +1 -1
- package/lib/cjs/RpcBackend.js.map +1 -1
- package/lib/cjs/SQLiteDb.js.map +1 -1
- package/lib/cjs/Schema.js.map +1 -1
- package/lib/cjs/SchemaSync.js.map +1 -1
- package/lib/cjs/SchemaUtils.js.map +1 -1
- package/lib/cjs/SheetIndex.js.map +1 -1
- package/lib/cjs/SqliteChangesetReader.js.map +1 -1
- package/lib/cjs/SqliteStatement.js.map +1 -1
- package/lib/cjs/StashManager.js.map +1 -1
- package/lib/cjs/Texture.js.map +1 -1
- package/lib/cjs/TileStorage.js.map +1 -1
- package/lib/cjs/TxnManager.d.ts +100 -4
- package/lib/cjs/TxnManager.d.ts.map +1 -1
- package/lib/cjs/TxnManager.js +171 -8
- package/lib/cjs/TxnManager.js.map +1 -1
- package/lib/cjs/ViewDefinition.js.map +1 -1
- package/lib/cjs/ViewStateHydrator.js.map +1 -1
- package/lib/cjs/ViewStore.js.map +1 -1
- package/lib/cjs/annotations/ElementDrivesTextAnnotation.js.map +1 -1
- package/lib/cjs/annotations/FrameGeometry.js.map +1 -1
- package/lib/cjs/annotations/LeaderGeometry.js.map +1 -1
- package/lib/cjs/annotations/TextAnnotationElement.js.map +1 -1
- package/lib/cjs/annotations/TextAnnotationGeometry.js.map +1 -1
- package/lib/cjs/annotations/TextBlockGeometry.js.map +1 -1
- package/lib/cjs/annotations/TextBlockLayout.js.map +1 -1
- package/lib/cjs/assets/IModelChange.02.00.00.ecschema.xml +90 -90
- package/lib/cjs/assets/Settings/Schemas/Base.Schema.json +32 -32
- package/lib/cjs/assets/Settings/Schemas/Gcs.schema.json +27 -27
- package/lib/cjs/assets/Settings/Schemas/Workspace.Schema.json +94 -94
- package/lib/cjs/assets/Settings/backend.setting.json5 +21 -21
- package/lib/cjs/core-backend.js.map +1 -1
- package/lib/cjs/domains/FunctionalElements.js.map +1 -1
- package/lib/cjs/domains/FunctionalSchema.js.map +1 -1
- package/lib/cjs/domains/GenericElements.js.map +1 -1
- package/lib/cjs/domains/GenericSchema.js.map +1 -1
- package/lib/cjs/internal/ChangesetConflictArgs.js.map +1 -1
- package/lib/cjs/internal/ChannelAdmin.js.map +1 -1
- package/lib/cjs/internal/ElementLRUCache.js.map +1 -1
- package/lib/cjs/internal/FontFileImpl.js.map +1 -1
- package/lib/cjs/internal/HubMock.d.ts +2 -0
- package/lib/cjs/internal/HubMock.d.ts.map +1 -1
- package/lib/cjs/internal/HubMock.js +7 -0
- package/lib/cjs/internal/HubMock.js.map +1 -1
- package/lib/cjs/internal/IModelDbFontsImpl.js.map +1 -1
- package/lib/cjs/internal/IntegrityCheck.js.map +1 -1
- package/lib/cjs/internal/NativePlatform.js.map +1 -1
- package/lib/cjs/internal/NoLocks.d.ts.map +1 -1
- package/lib/cjs/internal/NoLocks.js +6 -0
- package/lib/cjs/internal/NoLocks.js.map +1 -1
- package/lib/cjs/internal/OnlineStatus.js.map +1 -1
- package/lib/cjs/internal/ServerBasedLocks.d.ts +12 -0
- package/lib/cjs/internal/ServerBasedLocks.d.ts.map +1 -1
- package/lib/cjs/internal/ServerBasedLocks.js +285 -4
- package/lib/cjs/internal/ServerBasedLocks.js.map +1 -1
- package/lib/cjs/internal/Symbols.js.map +1 -1
- package/lib/cjs/internal/annotations/fields.js.map +1 -1
- package/lib/cjs/internal/cross-package.js.map +1 -1
- package/lib/cjs/internal/workspace/SettingsEditorImpl.js.map +1 -1
- package/lib/cjs/internal/workspace/SettingsImpl.js.map +1 -1
- package/lib/cjs/internal/workspace/SettingsSchemasImpl.js.map +1 -1
- package/lib/cjs/internal/workspace/WorkspaceImpl.js.map +1 -1
- package/lib/cjs/internal/workspace/WorkspaceSqliteDb.js.map +1 -1
- package/lib/cjs/rpc/multipart.js.map +1 -1
- package/lib/cjs/rpc/tracing.js.map +1 -1
- package/lib/cjs/rpc/web/logging.js.map +1 -1
- package/lib/cjs/rpc/web/request.js.map +1 -1
- package/lib/cjs/rpc/web/response.js.map +1 -1
- package/lib/cjs/rpc-impl/DevToolsRpcImpl.js.map +1 -1
- package/lib/cjs/rpc-impl/IModelReadRpcImpl.js.map +1 -1
- package/lib/cjs/rpc-impl/IModelTileRpcImpl.js.map +1 -1
- package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
- package/lib/cjs/rpc-impl/SnapshotIModelRpcImpl.js.map +1 -1
- package/lib/cjs/workspace/Settings.js.map +1 -1
- package/lib/cjs/workspace/SettingsDb.js.map +1 -1
- package/lib/cjs/workspace/SettingsEditor.js.map +1 -1
- package/lib/cjs/workspace/SettingsSchemas.js.map +1 -1
- package/lib/cjs/workspace/Workspace.js.map +1 -1
- package/lib/cjs/workspace/WorkspaceEditor.js.map +1 -1
- package/lib/esm/BackendHubAccess.d.ts +38 -0
- package/lib/esm/BackendHubAccess.d.ts.map +1 -1
- package/lib/esm/BackendHubAccess.js.map +1 -1
- package/lib/esm/BackendLoggerCategory.js.map +1 -1
- package/lib/esm/BisCoreSchema.js.map +1 -1
- package/lib/esm/BlobContainerService.js.map +1 -1
- package/lib/esm/BriefcaseManager.js.map +1 -1
- package/lib/esm/CatalogDb.js.map +1 -1
- package/lib/esm/Category.js.map +1 -1
- package/lib/esm/ChangeSummaryManager.js +2 -2
- package/lib/esm/ChangeSummaryManager.js.map +1 -1
- package/lib/esm/ChangedElementsDb.js.map +1 -1
- package/lib/esm/ChangesetECAdaptor.js +248 -248
- package/lib/esm/ChangesetECAdaptor.js.map +1 -1
- package/lib/esm/ChannelControl.js.map +1 -1
- package/lib/esm/CheckpointManager.js.map +1 -1
- package/lib/esm/ClassRegistry.js +5 -5
- package/lib/esm/ClassRegistry.js.map +1 -1
- package/lib/esm/CloudSqlite.js.map +1 -1
- package/lib/esm/CodeService.js.map +1 -1
- package/lib/esm/CodeSpecs.js.map +1 -1
- package/lib/esm/ConcurrentQuery.js.map +1 -1
- package/lib/esm/CustomViewState3dCreator.js.map +1 -1
- package/lib/esm/DevTools.js.map +1 -1
- package/lib/esm/DisplayStyle.js.map +1 -1
- package/lib/esm/ECDb.js.map +1 -1
- package/lib/esm/ECSchemaXmlContext.js.map +1 -1
- package/lib/esm/ECSqlRowExecutor.js.map +1 -1
- package/lib/esm/ECSqlStatement.js.map +1 -1
- package/lib/esm/ECSqlSyncReader.js.map +1 -1
- package/lib/esm/EditTxn.js.map +1 -1
- package/lib/esm/Element.js.map +1 -1
- package/lib/esm/ElementAspect.js.map +1 -1
- package/lib/esm/ElementGraphics.js.map +1 -1
- package/lib/esm/ElementTreeWalker.js.map +1 -1
- package/lib/esm/Entity.js.map +1 -1
- package/lib/esm/EntityReferences.js.map +1 -1
- package/lib/esm/ExportGraphics.js.map +1 -1
- package/lib/esm/ExternalSource.js.map +1 -1
- package/lib/esm/FontFile.js.map +1 -1
- package/lib/esm/GeoCoordConfig.js.map +1 -1
- package/lib/esm/GeographicCRSServices.js.map +1 -1
- package/lib/esm/GeometrySummary.js +47 -47
- package/lib/esm/GeometrySummary.js.map +1 -1
- package/lib/esm/IModelDb.js +9 -9
- package/lib/esm/IModelDb.js.map +1 -1
- package/lib/esm/IModelDbFonts.js.map +1 -1
- package/lib/esm/IModelElementCloneContext.js.map +1 -1
- package/lib/esm/IModelHost.js.map +1 -1
- package/lib/esm/IModelIncrementalSchemaLocater.js.map +1 -1
- package/lib/esm/IModelJsFs.js.map +1 -1
- package/lib/esm/ImageSourceConversion.js.map +1 -1
- package/lib/esm/IpcHost.d.ts.map +1 -1
- package/lib/esm/IpcHost.js +13 -4
- package/lib/esm/IpcHost.js.map +1 -1
- package/lib/esm/LineStyle.js.map +1 -1
- package/lib/esm/LocalHub.js +1 -1
- package/lib/esm/LocalHub.js.map +1 -1
- package/lib/esm/LocalhostIpcHost.js.map +1 -1
- package/lib/esm/LockControl.d.ts +85 -1
- package/lib/esm/LockControl.d.ts.map +1 -1
- package/lib/esm/LockControl.js.map +1 -1
- package/lib/esm/Material.js.map +1 -1
- package/lib/esm/Model.js.map +1 -1
- package/lib/esm/NativeAppStorage.js.map +1 -1
- package/lib/esm/NativeHost.js.map +1 -1
- package/lib/esm/NavigationRelationship.js.map +1 -1
- package/lib/esm/PromiseMemoizer.js.map +1 -1
- package/lib/esm/PropertyStore.js.map +1 -1
- package/lib/esm/Relationship.js.map +1 -1
- package/lib/esm/RpcBackend.js.map +1 -1
- package/lib/esm/SQLiteDb.js.map +1 -1
- package/lib/esm/Schema.js.map +1 -1
- package/lib/esm/SchemaSync.js.map +1 -1
- package/lib/esm/SchemaUtils.js.map +1 -1
- package/lib/esm/SheetIndex.js.map +1 -1
- package/lib/esm/SqliteChangesetReader.js.map +1 -1
- package/lib/esm/SqliteStatement.js.map +1 -1
- package/lib/esm/StashManager.js.map +1 -1
- package/lib/esm/Texture.js.map +1 -1
- package/lib/esm/TileStorage.js.map +1 -1
- package/lib/esm/TxnManager.d.ts +100 -4
- package/lib/esm/TxnManager.d.ts.map +1 -1
- package/lib/esm/TxnManager.js +171 -8
- package/lib/esm/TxnManager.js.map +1 -1
- package/lib/esm/ViewDefinition.js.map +1 -1
- package/lib/esm/ViewStateHydrator.js.map +1 -1
- package/lib/esm/ViewStore.js.map +1 -1
- package/lib/esm/annotations/ElementDrivesTextAnnotation.js.map +1 -1
- package/lib/esm/annotations/FrameGeometry.js.map +1 -1
- package/lib/esm/annotations/LeaderGeometry.js.map +1 -1
- package/lib/esm/annotations/TextAnnotationElement.js.map +1 -1
- package/lib/esm/annotations/TextAnnotationGeometry.js.map +1 -1
- package/lib/esm/annotations/TextBlockGeometry.js.map +1 -1
- package/lib/esm/annotations/TextBlockLayout.js.map +1 -1
- package/lib/esm/core-backend.js.map +1 -1
- package/lib/esm/domains/FunctionalElements.js.map +1 -1
- package/lib/esm/domains/FunctionalSchema.js.map +1 -1
- package/lib/esm/domains/GenericElements.js.map +1 -1
- package/lib/esm/domains/GenericSchema.js.map +1 -1
- package/lib/esm/internal/ChangesetConflictArgs.js.map +1 -1
- package/lib/esm/internal/ChannelAdmin.js.map +1 -1
- package/lib/esm/internal/ElementLRUCache.js.map +1 -1
- package/lib/esm/internal/FontFileImpl.js.map +1 -1
- package/lib/esm/internal/HubMock.d.ts +2 -0
- package/lib/esm/internal/HubMock.d.ts.map +1 -1
- package/lib/esm/internal/HubMock.js +7 -0
- package/lib/esm/internal/HubMock.js.map +1 -1
- package/lib/esm/internal/IModelDbFontsImpl.js.map +1 -1
- package/lib/esm/internal/IntegrityCheck.js.map +1 -1
- package/lib/esm/internal/NativePlatform.js.map +1 -1
- package/lib/esm/internal/NoLocks.d.ts.map +1 -1
- package/lib/esm/internal/NoLocks.js +6 -0
- package/lib/esm/internal/NoLocks.js.map +1 -1
- package/lib/esm/internal/OnlineStatus.js.map +1 -1
- package/lib/esm/internal/ServerBasedLocks.d.ts +12 -0
- package/lib/esm/internal/ServerBasedLocks.d.ts.map +1 -1
- package/lib/esm/internal/ServerBasedLocks.js +286 -5
- package/lib/esm/internal/ServerBasedLocks.js.map +1 -1
- package/lib/esm/internal/Symbols.js.map +1 -1
- package/lib/esm/internal/annotations/fields.js.map +1 -1
- package/lib/esm/internal/cross-package.js.map +1 -1
- package/lib/esm/internal/workspace/SettingsEditorImpl.js.map +1 -1
- package/lib/esm/internal/workspace/SettingsImpl.js.map +1 -1
- package/lib/esm/internal/workspace/SettingsSchemasImpl.js.map +1 -1
- package/lib/esm/internal/workspace/WorkspaceImpl.js.map +1 -1
- package/lib/esm/internal/workspace/WorkspaceSqliteDb.js.map +1 -1
- package/lib/esm/rpc/multipart.js.map +1 -1
- package/lib/esm/rpc/tracing.js.map +1 -1
- package/lib/esm/rpc/web/logging.js.map +1 -1
- package/lib/esm/rpc/web/request.js.map +1 -1
- package/lib/esm/rpc/web/response.js.map +1 -1
- package/lib/esm/rpc-impl/DevToolsRpcImpl.js.map +1 -1
- package/lib/esm/rpc-impl/IModelReadRpcImpl.js.map +1 -1
- package/lib/esm/rpc-impl/IModelTileRpcImpl.js.map +1 -1
- package/lib/esm/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
- package/lib/esm/rpc-impl/SnapshotIModelRpcImpl.js.map +1 -1
- package/lib/esm/test/AdvancedEqual.js.map +1 -1
- package/lib/esm/test/AnnotationTestUtils.js.map +1 -1
- package/lib/esm/test/AttachDb.test.js +11 -11
- package/lib/esm/test/AttachDb.test.js.map +1 -1
- package/lib/esm/test/ElementDrivesElement.test.js +23 -23
- package/lib/esm/test/ElementDrivesElement.test.js.map +1 -1
- package/lib/esm/test/ElementLRUCache.test.js.map +1 -1
- package/lib/esm/test/GeometryTestUtil.js.map +1 -1
- package/lib/esm/test/IModelHost.test.js.map +1 -1
- package/lib/esm/test/IModelTestUtils.js.map +1 -1
- package/lib/esm/test/ImageSourceConversion.test.js.map +1 -1
- package/lib/esm/test/IpcHost.test.js.map +1 -1
- package/lib/esm/test/KnownTestLocations.js.map +1 -1
- package/lib/esm/test/PrintElementTree.js.map +1 -1
- package/lib/esm/test/PropertyDb.test.js.map +1 -1
- package/lib/esm/test/RevisionUtility.js.map +1 -1
- package/lib/esm/test/SchemaUtils.test.js +25 -25
- package/lib/esm/test/SchemaUtils.test.js.map +1 -1
- package/lib/esm/test/SequentialLogMatcher.js.map +1 -1
- package/lib/esm/test/SquashSchemaAndDataChanges.test.js +129 -129
- package/lib/esm/test/SquashSchemaAndDataChanges.test.js.map +1 -1
- package/lib/esm/test/TestChangeSetUtility.js.map +1 -1
- package/lib/esm/test/TestEditTxn.js.map +1 -1
- package/lib/esm/test/TestUtils.js.map +1 -1
- package/lib/esm/test/annotations/Fields.test.js +53 -53
- package/lib/esm/test/annotations/Fields.test.js.map +1 -1
- package/lib/esm/test/annotations/FrameGeometry.test.js.map +1 -1
- package/lib/esm/test/annotations/LeaderGeometry.test.js.map +1 -1
- package/lib/esm/test/annotations/TextAnnotation.test.js.map +1 -1
- package/lib/esm/test/annotations/TextBlock.test.js.map +1 -1
- package/lib/esm/test/assets/IncrementalSchemaLocater/configs/old.config.js.map +1 -1
- package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.js.map +1 -1
- package/lib/esm/test/categories/Category.test.js.map +1 -1
- package/lib/esm/test/codespec/CodeSpec.test.js.map +1 -1
- package/lib/esm/test/ecdb/CTE.test.js +88 -88
- package/lib/esm/test/ecdb/CTE.test.js.map +1 -1
- package/lib/esm/test/ecdb/ConcurrentQuery.test.js +19 -19
- package/lib/esm/test/ecdb/ConcurrentQuery.test.js.map +1 -1
- package/lib/esm/test/ecdb/ConcurrentQueryLoad.test.js +15 -15
- package/lib/esm/test/ecdb/ConcurrentQueryLoad.test.js.map +1 -1
- package/lib/esm/test/ecdb/ECDb.test.js +72 -72
- package/lib/esm/test/ecdb/ECDb.test.js.map +1 -1
- package/lib/esm/test/ecdb/ECDbTestHelper.js.map +1 -1
- package/lib/esm/test/ecdb/ECSchemaXmlContext.test.js.map +1 -1
- package/lib/esm/test/ecdb/ECSqlAst.test.js +65 -65
- package/lib/esm/test/ecdb/ECSqlAst.test.js.map +1 -1
- package/lib/esm/test/ecdb/ECSqlQuery.test.js +4 -4
- package/lib/esm/test/ecdb/ECSqlQuery.test.js.map +1 -1
- package/lib/esm/test/ecdb/ECSqlStatement.test.js +332 -332
- package/lib/esm/test/ecdb/ECSqlStatement.test.js.map +1 -1
- package/lib/esm/test/ecdb/ECSqlSyncReader.test.js.map +1 -1
- package/lib/esm/test/ecdb/QueryReaders.test.js +31 -31
- package/lib/esm/test/ecdb/QueryReaders.test.js.map +1 -1
- package/lib/esm/test/ecdb/SqliteStatement.test.js.map +1 -1
- package/lib/esm/test/ecsql/dataset/ECSqlDatasets.js.map +1 -1
- package/lib/esm/test/ecsql/src/ECSqlTestGenerator.js +21 -21
- package/lib/esm/test/ecsql/src/ECSqlTestGenerator.js.map +1 -1
- package/lib/esm/test/ecsql/src/ECSqlTestParser.js.map +1 -1
- package/lib/esm/test/ecsql/src/ECSqlTestRunner.test.js.map +1 -1
- package/lib/esm/test/element/DeleteDefinitionElements.test.js.map +1 -1
- package/lib/esm/test/element/ElementAspect.test.js +22 -22
- package/lib/esm/test/element/ElementAspect.test.js.map +1 -1
- package/lib/esm/test/element/ElementDependencyGraph.test.js.map +1 -1
- package/lib/esm/test/element/ElementRoundTrip.test.js +139 -139
- package/lib/esm/test/element/ElementRoundTrip.test.js.map +1 -1
- package/lib/esm/test/element/ExcludedElements.test.js.map +1 -1
- package/lib/esm/test/element/ExternalSource.test.js.map +1 -1
- package/lib/esm/test/element/NullStructArray.test.js +13 -13
- package/lib/esm/test/element/NullStructArray.test.js.map +1 -1
- package/lib/esm/test/element/ProjectInformationRecord.test.js.map +1 -1
- package/lib/esm/test/element/SheetInformationAspect.test.js.map +1 -1
- package/lib/esm/test/element/UrlLink.test.js.map +1 -1
- package/lib/esm/test/font/FontFile.test.js.map +1 -1
- package/lib/esm/test/font/IModelDbFonts.test.js.map +1 -1
- package/lib/esm/test/hubaccess/ApplyChangeset.test.js +32 -32
- package/lib/esm/test/hubaccess/ApplyChangeset.test.js.map +1 -1
- package/lib/esm/test/hubaccess/BriefcaseManager.test.js.map +1 -1
- package/lib/esm/test/hubaccess/CheckpointManager.test.js.map +1 -1
- package/lib/esm/test/hubaccess/Rebase.test.js +56 -56
- package/lib/esm/test/hubaccess/Rebase.test.js.map +1 -1
- package/lib/esm/test/hubaccess/SemanticRebase.test.js +145 -145
- package/lib/esm/test/hubaccess/SemanticRebase.test.js.map +1 -1
- package/lib/esm/test/imageData.js.map +1 -1
- package/lib/esm/test/imodel/Code.test.js.map +1 -1
- package/lib/esm/test/imodel/ElementTreeWalker.test.js.map +1 -1
- package/lib/esm/test/imodel/GetTextureImage.test.js.map +1 -1
- package/lib/esm/test/imodel/IModel.test.js +44 -44
- package/lib/esm/test/imodel/IModel.test.js.map +1 -1
- package/lib/esm/test/imodel/ProjectExtents.test.js.map +1 -1
- package/lib/esm/test/imodel/SchemaXmlImport.test.js +13 -13
- package/lib/esm/test/imodel/SchemaXmlImport.test.js.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/ECSqlQueries.test.js.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/IncrementalLoading.test.js.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/TestContext.js.map +1 -1
- package/lib/esm/test/index.js.map +1 -1
- package/lib/esm/test/misc/DevTools.test.js.map +1 -1
- package/lib/esm/test/misc/EntitySubClasses.test.js.map +1 -1
- package/lib/esm/test/misc/GeoServices.test.js.map +1 -1
- package/lib/esm/test/misc/PromiseMemoizer.test.js.map +1 -1
- package/lib/esm/test/native/DgnDbWorker.test.js.map +1 -1
- package/lib/esm/test/rpc/response.test.js.map +1 -1
- package/lib/esm/test/schema/ClassRegistry.test.js +99 -99
- package/lib/esm/test/schema/ClassRegistry.test.js.map +1 -1
- package/lib/esm/test/schema/FunctionalDomain.test.js.map +1 -1
- package/lib/esm/test/schema/GenericDomain.test.js.map +1 -1
- package/lib/esm/test/schema/IModelSchemaContext.test.js +9 -9
- package/lib/esm/test/schema/IModelSchemaContext.test.js.map +1 -1
- package/lib/esm/test/schema/SchemaImportCallbacks.test.js +19 -19
- package/lib/esm/test/schema/SchemaImportCallbacks.test.js.map +1 -1
- package/lib/esm/test/sheetindex/SheetIndex.test.js.map +1 -1
- package/lib/esm/test/standalone/ChangeMerge.test.js.map +1 -1
- package/lib/esm/test/standalone/ChangesetReader.test.js +135 -135
- package/lib/esm/test/standalone/ChangesetReader.test.js.map +1 -1
- package/lib/esm/test/standalone/CustomViewState3dCreator.test.js.map +1 -1
- package/lib/esm/test/standalone/DisplayStyle.test.js.map +1 -1
- package/lib/esm/test/standalone/Drawing.test.js.map +1 -1
- package/lib/esm/test/standalone/EditTxn.test.js.map +1 -1
- package/lib/esm/test/standalone/ElementGraphics.test.js.map +1 -1
- package/lib/esm/test/standalone/ElementMesh.test.js.map +1 -1
- package/lib/esm/test/standalone/ExportGraphics.test.js +14 -14
- package/lib/esm/test/standalone/ExportGraphics.test.js.map +1 -1
- package/lib/esm/test/standalone/GeometryChangeEvents.test.js.map +1 -1
- package/lib/esm/test/standalone/GeometryStream.test.js.map +1 -1
- package/lib/esm/test/standalone/HubMock.test.js.map +1 -1
- package/lib/esm/test/standalone/IModelLimits.test.js.map +1 -1
- package/lib/esm/test/standalone/IModelWrite.test.js +27 -27
- package/lib/esm/test/standalone/IModelWrite.test.js.map +1 -1
- package/lib/esm/test/standalone/ITwinWorkspace.test.js.map +1 -1
- package/lib/esm/test/standalone/InlineGeometryPartReferences.test.js.map +1 -1
- package/lib/esm/test/standalone/IntegrityCheck.test.js.map +1 -1
- package/lib/esm/test/standalone/MergeConflict.test.js.map +1 -1
- package/lib/esm/test/standalone/NativeAppStorage.test.js.map +1 -1
- package/lib/esm/test/standalone/RenderMaterialElement.test.js.map +1 -1
- package/lib/esm/test/standalone/RenderTimeline.test.js.map +1 -1
- package/lib/esm/test/standalone/SQLiteDb.test.js.map +1 -1
- package/lib/esm/test/standalone/SchemaUtils.test.js.map +1 -1
- package/lib/esm/test/standalone/SectionDrawing.test.js.map +1 -1
- package/lib/esm/test/standalone/ServerBasedLocks.test.js +907 -3
- package/lib/esm/test/standalone/ServerBasedLocks.test.js.map +1 -1
- package/lib/esm/test/standalone/Setting.test.js.map +1 -1
- package/lib/esm/test/standalone/Settings.test.js.map +1 -1
- package/lib/esm/test/standalone/SettingsSchemas.test.js.map +1 -1
- package/lib/esm/test/standalone/SnapshotDb.test.js.map +1 -1
- package/lib/esm/test/standalone/StandaloneDb.test.js +20 -20
- package/lib/esm/test/standalone/StandaloneDb.test.js.map +1 -1
- package/lib/esm/test/standalone/Texture.test.js.map +1 -1
- package/lib/esm/test/standalone/TileCache.test.js.map +1 -1
- package/lib/esm/test/standalone/TileTree.test.js.map +1 -1
- package/lib/esm/test/standalone/TxnManager.test.js.map +1 -1
- package/lib/esm/test/standalone/ViewDefinition.test.js.map +1 -1
- package/lib/esm/test/standalone/ViewStoreDb.test.js.map +1 -1
- package/lib/esm/test/standalone/Workspace.test.js.map +1 -1
- package/lib/esm/test/standalone/iModelDb.test.js.map +1 -1
- package/lib/esm/test/workspace/SettingsDb.test.js.map +1 -1
- package/lib/esm/workspace/Settings.js.map +1 -1
- package/lib/esm/workspace/SettingsDb.js.map +1 -1
- package/lib/esm/workspace/SettingsEditor.js.map +1 -1
- package/lib/esm/workspace/SettingsSchemas.js.map +1 -1
- package/lib/esm/workspace/Workspace.js.map +1 -1
- package/lib/esm/workspace/WorkspaceEditor.js.map +1 -1
- package/package.json +12 -12
package/lib/esm/TxnManager.js
CHANGED
|
@@ -1036,6 +1036,7 @@ export class TxnManager {
|
|
|
1036
1036
|
/** Return the depth of the multi-Txn stack. Generally for diagnostic use only. */
|
|
1037
1037
|
getMultiTxnOperationDepth() { return this._nativeDb.getMultiTxnOperationDepth(); }
|
|
1038
1038
|
/** Reverse (undo) the most recent operation(s) to this IModelDb.
|
|
1039
|
+
* @note Consider using [[reverseTxnsAsync]] instead.
|
|
1039
1040
|
* @param numOperations the number of operations to reverse. If this is greater than 1, the entire set of operations will
|
|
1040
1041
|
* be reinstated together when/if ReinstateTxn is called.
|
|
1041
1042
|
* @note If there are any outstanding uncommitted changes, they are reversed.
|
|
@@ -1048,27 +1049,189 @@ export class TxnManager {
|
|
|
1048
1049
|
this._nativeDb.abandonChanges();
|
|
1049
1050
|
return this._nativeDb.reverseTxns(numOperations);
|
|
1050
1051
|
}
|
|
1051
|
-
/** Reverse the most recent operation.
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1052
|
+
/** Reverse the most recent operation.
|
|
1053
|
+
* @note Consider using [[reverseSingleTxnAsync]] instead.
|
|
1054
|
+
*/
|
|
1055
|
+
reverseSingleTxn() {
|
|
1056
|
+
return this.reverseTxns(1);
|
|
1057
|
+
}
|
|
1058
|
+
/** Reverse all changes back to the beginning of the session.
|
|
1059
|
+
* @note Consider using [[reverseAllTxnsAsync]] instead.
|
|
1060
|
+
*/
|
|
1061
|
+
reverseAll() {
|
|
1062
|
+
return this._nativeDb.reverseAll();
|
|
1063
|
+
}
|
|
1055
1064
|
/** Reverse all changes back to a previously saved TxnId.
|
|
1065
|
+
* @note Consider using [[reverseToTxnAsync]] instead.
|
|
1056
1066
|
* @param txnId a TxnId obtained from a previous call to GetCurrentTxnId.
|
|
1057
1067
|
* @returns Success if the transactions were reversed, error status otherwise.
|
|
1058
1068
|
* @see [[getCurrentTxnId]] [[cancelTo]]
|
|
1059
1069
|
*/
|
|
1060
|
-
reverseTo(txnId) {
|
|
1070
|
+
reverseTo(txnId) {
|
|
1071
|
+
return this._nativeDb.reverseTo(txnId);
|
|
1072
|
+
}
|
|
1061
1073
|
/** Reverse and then cancel (make non-reinstatable) all changes back to a previous TxnId.
|
|
1074
|
+
* @note Consider using [[cancelToTxnAsync]] instead.
|
|
1062
1075
|
* @param txnId a TxnId obtained from a previous call to [[getCurrentTxnId]]
|
|
1063
1076
|
* @returns Success if the transactions were reversed and cleared, error status otherwise.
|
|
1064
1077
|
*/
|
|
1065
|
-
cancelTo(txnId) {
|
|
1078
|
+
cancelTo(txnId) {
|
|
1079
|
+
return this._nativeDb.cancelTo(txnId);
|
|
1080
|
+
}
|
|
1081
|
+
/** Reverse (undo) the most recent operation(s) to this IModelDb. By default, this method also
|
|
1082
|
+
* abandons the locks that were acquired for those operations.
|
|
1083
|
+
* @beta
|
|
1084
|
+
* @note This method will also abandon locks associated with any later, reversed Txns, if they have not
|
|
1085
|
+
* already been abandoned. For example, if a call to [[reverseTxns]] reverses Txn 2 without abandoning
|
|
1086
|
+
* its locks, and then this method is called to reverse Txn 1, it will abandon the locks associated
|
|
1087
|
+
* with _both_ Txn 1 and Txn 2.
|
|
1088
|
+
* @note If you do not want to abandon any locks, set [ReverseTxnArgs.retainLocks]($common) to true.
|
|
1089
|
+
* @note If there are any outstanding uncommitted changes, they are reversed.
|
|
1090
|
+
* @note The term "operation" is used rather than Txn, since multiple Txns can be grouped together via [[beginMultiTxnOperation]]. So,
|
|
1091
|
+
* even if numOperations is 1, multiple Txns may be reversed if they were grouped together when they were made.
|
|
1092
|
+
* @note If numOperations is too large only the operations are reversible are reversed.
|
|
1093
|
+
* @param numOperations the number of operations to reverse. If this is greater than 1, the entire set of operations will
|
|
1094
|
+
* be reinstated together when/if ReinstateTxn is called.
|
|
1095
|
+
* @param args Optional arguments to control the behavior of the reverse operation, such as whether to retain locks.
|
|
1096
|
+
* @returns A Promise that resolves to success if the transactions were reversed, or rejects with an IModelError otherwise.
|
|
1097
|
+
*/
|
|
1098
|
+
async reverseTxnsAsync(numOperations, args) {
|
|
1099
|
+
await this.withLockAbandonment(args, () => this._nativeDb.reverseTxns(numOperations));
|
|
1100
|
+
}
|
|
1101
|
+
/** Reverse (undo) the most recent operation to this IModelDb. By default, this method also
|
|
1102
|
+
* abandons the locks that were acquired for that operation.
|
|
1103
|
+
* @beta
|
|
1104
|
+
* @note This method will also abandon locks associated with any later, reversed Txns, if they have not
|
|
1105
|
+
* already been abandoned. For example, if a call to [[reverseTxns]] reverses Txn 2 without abandoning
|
|
1106
|
+
* its locks, and then this method is called to reverse Txn 1, it will abandon the locks associated
|
|
1107
|
+
* with _both_ Txn 1 and Txn 2.
|
|
1108
|
+
* @note If there are any outstanding uncommitted changes, they are reversed.
|
|
1109
|
+
* @note The term "operation" is used rather than Txn, since multiple Txns can be grouped together via [[beginMultiTxnOperation]]. So,
|
|
1110
|
+
* even though this method reverses only one operation, multiple Txns may be reversed if they were grouped together when they were made.
|
|
1111
|
+
* @note If there are no reversible operations, this method does nothing and returns Success.
|
|
1112
|
+
* @param args Optional arguments to control the behavior of the reverse operation, such as whether to retain locks.
|
|
1113
|
+
* @returns A Promise that resolves to success if the transactions were reversed, or rejects with an IModelError otherwise.
|
|
1114
|
+
*/
|
|
1115
|
+
async reverseSingleTxnAsync(args) {
|
|
1116
|
+
await this.reverseTxnsAsync(1, args);
|
|
1117
|
+
}
|
|
1118
|
+
/** Reverse (undo) all operations back to the beginning of the session. By default, this method also
|
|
1119
|
+
* abandons the locks that were acquired for those operations.
|
|
1120
|
+
* @beta
|
|
1121
|
+
* @note This method will also abandon locks associated with any later, reversed Txns, if they have not
|
|
1122
|
+
* already been abandoned. For example, if a call to [[reverseTxns]] reverses Txn 2 without abandoning
|
|
1123
|
+
* its locks, and then this method is called to reverse Txn 1, it will abandon the locks associated
|
|
1124
|
+
* with _both_ Txn 1 and Txn 2.
|
|
1125
|
+
* @note If there are any outstanding uncommitted changes, they are reversed.
|
|
1126
|
+
* @note If there are no reversible operations, this method does nothing and returns Success.
|
|
1127
|
+
* @param args Optional arguments to control the behavior of the reverse operation, such as whether to retain locks.
|
|
1128
|
+
* @returns A Promise that resolves to success if the transactions were reversed, or rejects with an IModelError otherwise.
|
|
1129
|
+
*/
|
|
1130
|
+
async reverseAllTxnsAsync(args) {
|
|
1131
|
+
await this.withLockAbandonment(args, () => this._nativeDb.reverseAll());
|
|
1132
|
+
}
|
|
1133
|
+
/** Reverse (undo) all operations back to a previously saved TxnId. By default, this method also
|
|
1134
|
+
* abandons the locks that were acquired for those operations.
|
|
1135
|
+
* @beta
|
|
1136
|
+
* @note This method will also abandon locks associated with any later, reversed Txns, if they have not
|
|
1137
|
+
* already been abandoned. For example, if a call to [[reverseTxns]] reverses Txn 2 without abandoning
|
|
1138
|
+
* its locks, and then this method is called to reverse Txn 1, it will abandon the locks associated
|
|
1139
|
+
* with _both_ Txn 1 and Txn 2.
|
|
1140
|
+
* @note If there are any outstanding uncommitted changes, they are reversed.
|
|
1141
|
+
* @param txnId a TxnId obtained from a previous call to GetCurrentTxnId.
|
|
1142
|
+
* @param args Optional arguments to control the behavior of the reverse operation, such as whether to abandon locks.
|
|
1143
|
+
* @returns A Promise that resolves to success if the transactions were reversed, or rejects with an IModelError otherwise.
|
|
1144
|
+
* @see [[getCurrentTxnId]] [[cancelTo]]
|
|
1145
|
+
*/
|
|
1146
|
+
async reverseToTxnAsync(txnId, args) {
|
|
1147
|
+
await this.withLockAbandonment(args, () => this._nativeDb.reverseTo(txnId));
|
|
1148
|
+
}
|
|
1149
|
+
/** Reverse and then cancel (make non-reinstatable) all operations back to a previous TxnId. By default, this
|
|
1150
|
+
* method also abandons the locks that were acquired for those operations.
|
|
1151
|
+
* @beta
|
|
1152
|
+
* @note This method will also abandon locks associated with any later, reversed Txns, if they have not
|
|
1153
|
+
* already been abandoned. For example, if a call to [[reverseTxns]] reverses Txn 2 without abandoning
|
|
1154
|
+
* its locks, and then this method is called to reverse Txn 1, it will abandon the locks associated
|
|
1155
|
+
* with _both_ Txn 1 and Txn 2.
|
|
1156
|
+
* @note If there are any outstanding uncommitted changes, they are reversed.
|
|
1157
|
+
* @param txnId a TxnId obtained from a previous call to [[getCurrentTxnId]]
|
|
1158
|
+
* @param args Optional arguments to control the behavior of the reverse operation, such as whether to abandon locks.
|
|
1159
|
+
* @returns A promise that resolves to success if the transactions were reversed and cleared, or rejects with an IModelError otherwise.
|
|
1160
|
+
*/
|
|
1161
|
+
async cancelToTxnAsync(txnId, args) {
|
|
1162
|
+
// First reverse and abandon locks. Only cancel if that succeeds.
|
|
1163
|
+
// This is important because the locks would become unabandonable if we canceled first and
|
|
1164
|
+
// _then_ the abandonment failed. We expect the call to cancelTo to return "NothingToUndo",
|
|
1165
|
+
// but that's ok - it will still clear the already-reversed txns.
|
|
1166
|
+
await this.withLockAbandonment(args, () => this._nativeDb.reverseTo(txnId));
|
|
1167
|
+
const status = this._nativeDb.cancelTo(txnId);
|
|
1168
|
+
if (status !== IModelStatus.Success && status !== IModelStatus.NothingToUndo)
|
|
1169
|
+
throw new IModelError(status, IModelError.getErrorKey(status));
|
|
1170
|
+
this._iModel.locks.clearTxnLockRecords(txnId);
|
|
1171
|
+
}
|
|
1172
|
+
async withLockAbandonment(args, doReverseCallback) {
|
|
1173
|
+
const result = doReverseCallback();
|
|
1174
|
+
if (result === IModelStatus.Success) {
|
|
1175
|
+
if (!args?.retainLocks) {
|
|
1176
|
+
// Abandon locks for the earliest txn, which abandons locks for the later ones, too.
|
|
1177
|
+
await this._iModel.locks.abandonLocksForReversedTxn(this.getCurrentTxnId());
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
else {
|
|
1181
|
+
throw new IModelError(result, IModelError.getErrorKey(result));
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1066
1184
|
/** Reinstate the most recently reversed transaction. Since at any time multiple transactions can be reversed, it
|
|
1067
1185
|
* may take multiple calls to this method to reinstate all reversed operations.
|
|
1068
1186
|
* @returns Success if a reversed transaction was reinstated, error status otherwise.
|
|
1069
1187
|
* @note If there are any outstanding uncommitted changes, they are canceled before the Txn is reinstated.
|
|
1188
|
+
* @note This method will return [[IModelStatus.LockNotHeld]] and will not reinstate the Txn if the locks
|
|
1189
|
+
* originally acquired by the Txn have been abandoned. Use [[reinstateTxnAsync]] to re-acquire the locks
|
|
1190
|
+
* and reinstate the Txn in a single operation.
|
|
1191
|
+
*/
|
|
1192
|
+
reinstateTxn() {
|
|
1193
|
+
// Verify that the locks required by this txn have not been abandoned.
|
|
1194
|
+
// If so, this method has no way to re-acquire them because it is synchronous. This
|
|
1195
|
+
// is basically a developer error, mixing reverseTxnAsync with reinstateTxn (non-Async).
|
|
1196
|
+
const reinstateRange = this._nativeDb.getNextReinstateTxnRange();
|
|
1197
|
+
if (this.isTxnIdValid(reinstateRange.firstTxnId) &&
|
|
1198
|
+
!this._iModel.locks.holdsNecessaryLocksForReinstatingTxn(this.queryPreviousTxnId(reinstateRange.lastTxnId))) {
|
|
1199
|
+
return IModelStatus.LockNotHeld;
|
|
1200
|
+
}
|
|
1201
|
+
return this._iModel.reinstateTxn();
|
|
1202
|
+
}
|
|
1203
|
+
/** Reinstate the most recently reversed transaction. This method will first attempt
|
|
1204
|
+
* to re-acquire the required locks, if they were abandoned after the operation was reversed.
|
|
1205
|
+
* Since at any time multiple transactions can be reversed, it may take multiple calls to this
|
|
1206
|
+
* method to reinstate all reversed operations.
|
|
1207
|
+
* @beta
|
|
1208
|
+
* @note If there are any outstanding unsaved changes, they are canceled before the Txn is reinstated. Unless
|
|
1209
|
+
* [ReinstateTxnArgs.retainLocks]($common) is true, the locks associated with the unsaved changes are also abandoned.
|
|
1210
|
+
* @param args Optional arguments to control the behavior of the reinstate operation, such as whether to retain
|
|
1211
|
+
* locks when abandoning unsaved changes.
|
|
1212
|
+
* @returns A Promise that resolves to success if a reversed transaction was reinstated, or rejects with an IModelError otherwise.
|
|
1070
1213
|
*/
|
|
1071
|
-
|
|
1214
|
+
async reinstateTxnAsync(args) {
|
|
1215
|
+
// We must abandon any unsaved changes here because it will be too late
|
|
1216
|
+
// when reinstateTxn does it.
|
|
1217
|
+
if (this.hasUnsavedChanges) {
|
|
1218
|
+
this._iModel.clearCaches({ instanceCachesOnly: true });
|
|
1219
|
+
this._iModel[_nativeDb].abandonChanges();
|
|
1220
|
+
}
|
|
1221
|
+
if (!args?.retainLocks) {
|
|
1222
|
+
await this._iModel.locks.abandonLocksForCurrentUnsavedTxn();
|
|
1223
|
+
}
|
|
1224
|
+
const reinstateRange = this._nativeDb.getNextReinstateTxnRange();
|
|
1225
|
+
if (!this.isTxnIdValid(reinstateRange.firstTxnId)) {
|
|
1226
|
+
throw new IModelError(IModelStatus.NothingToRedo, IModelError.getErrorKey(IModelStatus.NothingToRedo));
|
|
1227
|
+
}
|
|
1228
|
+
// Reacquire locks for the latest txn in the range, which will reacquire locks for all earlier txns, too.
|
|
1229
|
+
await this._iModel.locks.acquireLocksForReinstatingTxn(this.queryPreviousTxnId(reinstateRange.lastTxnId));
|
|
1230
|
+
const status = this.reinstateTxn();
|
|
1231
|
+
if (status !== IModelStatus.Success) {
|
|
1232
|
+
throw new IModelError(status, IModelError.getErrorKey(status));
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1072
1235
|
/** Get the Id of the first transaction, if any.
|
|
1073
1236
|
*/
|
|
1074
1237
|
queryFirstTxnId() { return this._nativeDb.queryFirstTxnId(); }
|
|
@@ -1109,7 +1272,7 @@ export class TxnManager {
|
|
|
1109
1272
|
get hasLocalChanges() { return this.hasUnsavedChanges || this.hasPendingTxns; }
|
|
1110
1273
|
/** Destroy the record of all local changes that have yet to be saved and/or pushed.
|
|
1111
1274
|
* This permanently eradicates your changes - use with caution!
|
|
1112
|
-
* Typically, callers will want to subsequently use [[LockControl.
|
|
1275
|
+
* Typically, callers will want to subsequently use [[LockControl.abandonAllLocks]].
|
|
1113
1276
|
* After calling this function, [[hasLocalChanges]], [[hasPendingTxns]], and [[hasUnsavedChanges]] will all be `false`.
|
|
1114
1277
|
*/
|
|
1115
1278
|
deleteAllTxns() {
|