@itwin/core-backend 5.4.0-dev.5 → 5.4.0-dev.6
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.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/ECSqlStatement.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 +8 -8
- 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.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.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.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.js.map +1 -1
- package/lib/cjs/internal/IModelDbFontsImpl.js.map +1 -1
- package/lib/cjs/internal/NativePlatform.js.map +1 -1
- package/lib/cjs/internal/NoLocks.js.map +1 -1
- 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/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/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.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/ECSqlStatement.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 +8 -8
- 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.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.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.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.js.map +1 -1
- package/lib/esm/internal/IModelDbFontsImpl.js.map +1 -1
- package/lib/esm/internal/NativePlatform.js.map +1 -1
- package/lib/esm/internal/NoLocks.js.map +1 -1
- 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/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/TestChangeSetUtility.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 +15 -15
- 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.map +1 -1
- package/lib/esm/test/ecdb/ECSqlReader.test.js +16 -16
- package/lib/esm/test/ecdb/ECSqlReader.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/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 +97 -41
- package/lib/esm/test/hubaccess/Rebase.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.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/utils/IModelSchemaLocater.js.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/utils/IncrementalTestHelper.js.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.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.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 +124 -124
- 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/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/InlineGeometryPartReferences.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.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/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/workspace/Settings.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 +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"old.config.js","sourceRoot":"","sources":["../../../../../../src/test/assets/IncrementalSchemaLocater/configs/old.config.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,oBAAoB;IAC7B,SAAS,EAAE,gBAAgB;IAC3B,SAAS,EAAE;QACT;YACE,MAAM,EAAE,iBAAiB;YACzB,YAAY,EAAE;gBACZ,SAAS;aACV;YACD,WAAW,EAAE,CAAC;YACd,YAAY,EAAE;gBACZ;oBACE,MAAM,EAAE,mCAAmC;oBAC3C,YAAY,EAAE;wBACZ,gBAAgB,EAAE,kBAAkB;wBACpC,OAAO,EAAE,OAAO;wBAChB,aAAa,EAAE,gBAAgB;wBAC/B,UAAU,EAAE,CAAC;qBACd;iBACF;aACF;YACD,eAAe,EAAE;gBACf,cAAc,EAAE,sCAAsC;gBACtD,WAAW,EAAE,yBAAyB;aACvC;YACD,eAAe,EAAE;gBACf;oBACE,MAAM,EAAE,4CAA4C;oBACpD,YAAY,EAAE;wBACZ,aAAa,EAAE,4BAA4B;wBAC3C,YAAY,EAAE;4BACZ;gCACE,MAAM,EAAE,gBAAgB;gCACxB,MAAM,EAAE,mBAAmB;gCAC3B,aAAa,EAAE,gBAAgB;gCAC/B,UAAU,EAAE,QAAQ;6BACrB;yBACF;wBACD,WAAW,EAAE,UAAU;qBACxB;iBACF;gBACD;oBACE,MAAM,EAAE,sCAAsC;oBAC9C,YAAY,EAAE;wBACZ,gBAAgB,EAAE,aAAa;wBAC/B,YAAY,EAAE;4BACZ;gCACE,MAAM,EAAE,gBAAgB;gCACxB,MAAM,EAAE,mBAAmB;gCAC3B,aAAa,EAAE,gBAAgB;gCAC/B,OAAO,EAAE,OAAO;gCAChB,UAAU,EAAE,mCAAmC;gCAC/C,UAAU,EAAE,QAAQ;6BACrB;4BACD;gCACE,MAAM,EAAE,gBAAgB;gCACxB,MAAM,EAAE,mBAAmB;gCAC3B,aAAa,EAAE,gBAAgB;gCAC/B,OAAO,EAAE,OAAO;gCAChB,UAAU,EAAE,QAAQ;6BACrB;yBACF;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAA","sourcesContent":["export default {\n \"label\": \"Old Profile iModel\",\n \"bimFile\": \"OldProfile.bim\",\n \"schemas\": [\n {\n \"name\": \"Schema_TestBase\",\n \"references\": [\n \"BisCore\"\n ],\n \"itemCount\": 5,\n \"checkStubs\": [\n {\n \"item\": \"Schema_TestBase.Category_TestBase\",\n \"properties\": {\n \"schemaItemType\": \"PropertyCategory\",\n \"label\": \"Test1\",\n \"description\": \"Category Test1\",\n \"priority\": 0\n }\n }\n ],\n \"checkHierachy\": {\n \"derivedClass\": \"Schema_TestBase.EntityClass_TestBase\",\n \"baseClass\": \"BisCore.PhysicalElement\"\n },\n \"checkFullLoad\": [\n {\n \"item\": \"Schema_TestBase.CustomAttributeClass_Test2\",\n \"properties\": {\n \"description\": \"CustomAttributeClass Test2\",\n \"properties\": [\n {\n \"name\": \"Property_Test1\",\n \"type\": \"PrimitiveProperty\",\n \"description\": \"Property Test1\",\n \"typeName\": \"string\"\n }\n ],\n \"appliesTo\": \"AnyClass\"\n }\n },\n {\n \"item\": \"Schema_TestBase.StructClass_TestBase\",\n \"properties\": {\n \"schemaItemType\": \"StructClass\",\n \"properties\": [\n {\n \"name\": \"Property_Test1\",\n \"type\": \"PrimitiveProperty\",\n \"description\": \"Property Test1\",\n \"label\": \"Test1\",\n \"category\": \"Schema_TestBase.Category_TestBase\",\n \"typeName\": \"string\"\n },\n {\n \"name\": \"Property_Test2\",\n \"type\": \"PrimitiveProperty\",\n \"description\": \"Property Test2\",\n \"label\": \"Test2\",\n \"typeName\": \"string\"\n }\n ]\n }\n }\n ]\n }\n ]\n}"]}
|
|
1
|
+
{"version":3,"file":"old.config.js","sourceRoot":"","sources":["../../../../../../src/test/assets/IncrementalSchemaLocater/configs/old.config.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,OAAO,EAAE,oBAAoB;IAC7B,SAAS,EAAE,gBAAgB;IAC3B,SAAS,EAAE;QACT;YACE,MAAM,EAAE,iBAAiB;YACzB,YAAY,EAAE;gBACZ,SAAS;aACV;YACD,WAAW,EAAE,CAAC;YACd,YAAY,EAAE;gBACZ;oBACE,MAAM,EAAE,mCAAmC;oBAC3C,YAAY,EAAE;wBACZ,gBAAgB,EAAE,kBAAkB;wBACpC,OAAO,EAAE,OAAO;wBAChB,aAAa,EAAE,gBAAgB;wBAC/B,UAAU,EAAE,CAAC;qBACd;iBACF;aACF;YACD,eAAe,EAAE;gBACf,cAAc,EAAE,sCAAsC;gBACtD,WAAW,EAAE,yBAAyB;aACvC;YACD,eAAe,EAAE;gBACf;oBACE,MAAM,EAAE,4CAA4C;oBACpD,YAAY,EAAE;wBACZ,aAAa,EAAE,4BAA4B;wBAC3C,YAAY,EAAE;4BACZ;gCACE,MAAM,EAAE,gBAAgB;gCACxB,MAAM,EAAE,mBAAmB;gCAC3B,aAAa,EAAE,gBAAgB;gCAC/B,UAAU,EAAE,QAAQ;6BACrB;yBACF;wBACD,WAAW,EAAE,UAAU;qBACxB;iBACF;gBACD;oBACE,MAAM,EAAE,sCAAsC;oBAC9C,YAAY,EAAE;wBACZ,gBAAgB,EAAE,aAAa;wBAC/B,YAAY,EAAE;4BACZ;gCACE,MAAM,EAAE,gBAAgB;gCACxB,MAAM,EAAE,mBAAmB;gCAC3B,aAAa,EAAE,gBAAgB;gCAC/B,OAAO,EAAE,OAAO;gCAChB,UAAU,EAAE,mCAAmC;gCAC/C,UAAU,EAAE,QAAQ;6BACrB;4BACD;gCACE,MAAM,EAAE,gBAAgB;gCACxB,MAAM,EAAE,mBAAmB;gCAC3B,aAAa,EAAE,gBAAgB;gCAC/B,OAAO,EAAE,OAAO;gCAChB,UAAU,EAAE,QAAQ;6BACrB;yBACF;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAA","sourcesContent":["export default {\r\n \"label\": \"Old Profile iModel\",\r\n \"bimFile\": \"OldProfile.bim\",\r\n \"schemas\": [\r\n {\r\n \"name\": \"Schema_TestBase\",\r\n \"references\": [\r\n \"BisCore\"\r\n ],\r\n \"itemCount\": 5,\r\n \"checkStubs\": [\r\n {\r\n \"item\": \"Schema_TestBase.Category_TestBase\",\r\n \"properties\": {\r\n \"schemaItemType\": \"PropertyCategory\",\r\n \"label\": \"Test1\",\r\n \"description\": \"Category Test1\",\r\n \"priority\": 0\r\n }\r\n }\r\n ],\r\n \"checkHierachy\": {\r\n \"derivedClass\": \"Schema_TestBase.EntityClass_TestBase\",\r\n \"baseClass\": \"BisCore.PhysicalElement\"\r\n },\r\n \"checkFullLoad\": [\r\n {\r\n \"item\": \"Schema_TestBase.CustomAttributeClass_Test2\",\r\n \"properties\": {\r\n \"description\": \"CustomAttributeClass Test2\",\r\n \"properties\": [\r\n {\r\n \"name\": \"Property_Test1\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"description\": \"Property Test1\",\r\n \"typeName\": \"string\"\r\n }\r\n ],\r\n \"appliesTo\": \"AnyClass\"\r\n }\r\n },\r\n {\r\n \"item\": \"Schema_TestBase.StructClass_TestBase\",\r\n \"properties\": {\r\n \"schemaItemType\": \"StructClass\",\r\n \"properties\": [\r\n {\r\n \"name\": \"Property_Test1\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"description\": \"Property Test1\",\r\n \"label\": \"Test1\",\r\n \"category\": \"Schema_TestBase.Category_TestBase\",\r\n \"typeName\": \"string\"\r\n },\r\n {\r\n \"name\": \"Property_Test2\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"description\": \"Property Test2\",\r\n \"label\": \"Test2\",\r\n \"typeName\": \"string\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple.config.js","sourceRoot":"","sources":["../../../../../../src/test/assets/IncrementalSchemaLocater/configs/simple.config.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,eAAe;IACb,OAAO,EAAE,uBAAuB;IAChC,SAAS,EAAE,kBAAkB;IAC7B,SAAS,EAAE;QACT;YACE,MAAM,EAAE,cAAc;YACtB,aAAa,EAAE,sBAAsB;YACrC,OAAO,EAAE,eAAe;YACxB,YAAY,EAAE;gBACZ,SAAS;gBACT,sBAAsB;gBACtB,SAAS;gBACT,OAAO;aACR;YACD,WAAW,EAAE,EAAE;YACf,YAAY,EAAE;gBACZ;oBACE,MAAM,EAAE,8BAA8B;oBACtC,YAAY,EAAE;wBACZ,gBAAgB,EAAE,YAAY;wBAC9B,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,iBAAiB;qBACjC;iBACF;gBACD;oBACE,MAAM,EAAE,8BAA8B;oBACtC,YAAY,EAAE;wBACZ,gBAAgB,EAAE,YAAY;wBAC9B,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,iBAAiB;wBAChC,YAAY,EAAE,MAAM;qBACrB;iBACF;gBACD;oBACE,MAAM,EAAE,4BAA4B;oBACpC,YAAY,EAAE;wBACZ,gBAAgB,EAAE,kBAAkB;wBACpC,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,uBAAuB;wBACtC,UAAU,EAAE,IAAI;qBACjB;iBACF;gBACD;oBACE,MAAM,EAAE,kCAAkC;oBAC1C,YAAY,EAAE;wBACZ,gBAAgB,EAAE,aAAa;wBAC/B,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,qBAAqB;wBACpC,MAAM,EAAE,KAAK;wBACb,UAAU,EAAE,IAAI;wBAChB,aAAa,EAAE;4BACb;gCACE,MAAM,EAAE,aAAa;gCACrB,OAAO,EAAE,CAAC;gCACV,OAAO,EAAE,GAAG;gCACZ,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ACD;oBACE,MAAM,EAAE,iBAAiB;oBACzB,YAAY,EAAE;wBACZ,gBAAgB,EAAE,aAAa;wBAC/B,WAAW,EAAE,kBAAkB;wBAC/B,aAAa,EAAE,kDAAkD;wBACjE,kBAAkB,EAAE;4BAClB;gCACE,WAAW,EAAE,yBAAyB;6BACvC;yBACF;wBACD,QAAQ,EAAE;4BACR,4BAA4B;yBAC7B;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAA","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nexport default {\n \"label\": \"Simple Profile iModel\",\n \"bimFile\": \"SimpleIModel.bim\",\n \"schemas\": [\n {\n \"name\": \"SimpleSchema\",\n \"description\": \"A simple test schema\",\n \"label\": \"Simple Schema\",\n \"references\": [\n \"BisCore\",\n \"CoreCustomAttributes\",\n \"Formats\",\n \"Units\"\n ],\n \"itemCount\": 30,\n \"checkStubs\": [\n {\n \"item\": \"SimpleSchema.UnitSystem_Test\",\n \"properties\": {\n \"schemaItemType\": \"UnitSystem\",\n \"label\": \"Test\",\n \"description\": \"UnitSystem Test\"\n }\n },\n {\n \"item\": \"SimpleSchema.Phenomenon_Test\",\n \"properties\": {\n \"schemaItemType\": \"Phenomenon\",\n \"label\": \"Test\",\n \"description\": \"Phenomenon Test\",\n \"definition\": \"TEST\"\n }\n },\n {\n \"item\": \"SimpleSchema.Category_Test\",\n \"properties\": {\n \"schemaItemType\": \"PropertyCategory\",\n \"label\": \"Test\",\n \"description\": \"PropertyCategory Test\",\n \"priority\": 1000\n }\n },\n {\n \"item\": \"SimpleSchema.Enumeration_Integer\",\n \"properties\": {\n \"schemaItemType\": \"Enumeration\",\n \"label\": \"Test\",\n \"description\": \"Enumeration Integer\",\n \"type\": \"int\",\n \"isStrict\": true,\n \"enumerators\": [\n {\n \"name\": \"Enumerator0\",\n \"value\": 0,\n \"label\": \"0\",\n \"description\": \"Enumerator 0\"\n },\n {\n \"name\": \"Enumerator1\",\n \"value\": 1,\n \"label\": \"1\",\n \"description\": \"Enumerator 1\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.Enumeration_String\",\n \"properties\": {\n \"schemaItemType\": \"Enumeration\",\n \"label\": \"Test\",\n \"description\": \"Enumeration String\",\n \"type\": \"string\",\n \"isStrict\": false,\n \"enumerators\": [\n {\n \"name\": \"Enumerator0\",\n \"value\": \"0\"\n },\n {\n \"name\": \"Enumerator1\",\n \"value\": \"1\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.Unit_Test1\",\n \"properties\": {\n \"schemaItemType\": \"Unit\",\n \"label\": \"Test1\",\n \"description\": \"Unit Test1\",\n \"phenomenon\": \"SimpleSchema.Phenomenon_Test\",\n \"unitSystem\": \"SimpleSchema.UnitSystem_Test\",\n \"definition\": \"TEST1\",\n \"numerator\": 10.0\n }\n },\n {\n \"item\": \"SimpleSchema.Unit_Test2\",\n \"properties\": {\n \"schemaItemType\": \"Unit\",\n \"label\": \"Test2\",\n \"description\": \"Unit Test2\",\n \"phenomenon\": \"Units.TEMPERATURE\", \n \"unitSystem\": \"Units.USCUSTOM\",\n \"definition\": \"TEST2\",\n \"numerator\": 5.0,\n \"denominator\": 3.0,\n \"offset\": 0.01325\n }\n },\n {\n \"item\": \"SimpleSchema.InvertedUnit_Test1\",\n \"properties\": {\n \"schemaItemType\": \"InvertedUnit\",\n \"label\": \"Test1\",\n \"description\": \"InvertedUnit Test1\",\n \"invertsUnit\": \"SimpleSchema.Unit_Test1\",\n \"unitSystem\": \"SimpleSchema.UnitSystem_Test\"\n }\n },\n {\n \"item\": \"SimpleSchema.InvertedUnit_Test2\",\n \"properties\": {\n \"schemaItemType\": \"InvertedUnit\",\n \"label\": \"Test2\",\n \"description\": \"InvertedUnit Test2\",\n \"invertsUnit\": \"Units.FT_PER_FT\",\n \"unitSystem\": \"Units.USCUSTOM\"\n }\n },\n {\n \"item\": \"SimpleSchema.Constant_Test1\",\n \"properties\": {\n \"schemaItemType\": \"Constant\",\n \"label\": \"Test1\",\n \"description\": \"Constant Test1\",\n \"phenomenon\": \"SimpleSchema.Phenomenon_Test\",\n \"definition\": \"TEST1\",\n \"numerator\": 1.0e3\n }\n },\n {\n \"item\": \"SimpleSchema.Constant_Test2\",\n \"properties\": {\n \"schemaItemType\": \"Constant\",\n \"label\": \"Test2\",\n \"description\": \"Constant Test2\",\n \"phenomenon\": \"Units.ANGLE\",\n \"definition\": \"TEST2\",\n \"numerator\": 180.0,\n \"denominator\": 0.5\n }\n },\n {\n \"item\": \"SimpleSchema.Format_Station\",\n \"properties\": {\n \"schemaItemType\": \"Format\",\n \"label\": \"Test\",\n \"description\": \"Format Station\",\n \"type\": \"Station\",\n \"precision\": 2,\n \"formatTraits\": [\n \"TrailZeroes\",\n \"KeepSingleZero\",\n \"KeepDecimalPoint\"\n ],\n \"thousandSeparator\": \" \",\n \"decimalSeparator\": \",\",\n \"stationSeparator\": \"+\",\n \"stationOffsetSize\": 3,\n \"minWidth\": 3\n }\n },\n {\n \"item\": \"SimpleSchema.Format_Scientific\",\n \"properties\": {\n \"schemaItemType\": \"Format\",\n \"label\": \"Test\",\n \"description\": \"Format Scientific\",\n \"type\": \"Scientific\",\n \"scientificType\": \"Normalized\",\n \"precision\": 6,\n \"formatTraits\": [\n \"KeepSingleZero\"\n ],\n \"decimalSeparator\": \",\",\n \"thousandSeparator\": \" \"\n }\n },\n {\n \"item\": \"SimpleSchema.Format_Decimal\",\n \"properties\": {\n \"schemaItemType\": \"Format\",\n \"label\": \"Test\",\n \"description\": \"Format Decimal\",\n \"type\": \"Decimal\",\n \"precision\": 4,\n \"showSignOption\": \"NoSign\",\n \"formatTraits\": [\n \"KeepSingleZero\",\n \"KeepDecimalPoint\"\n ],\n \"thousandSeparator\": \" \",\n \"decimalSeparator\": \",\",\n \"minWidth\": 3,\n \"roundFactor\": 0.1\n }\n },\n {\n \"item\": \"SimpleSchema.Format_Fractional\",\n \"properties\": {\n \"schemaItemType\": \"Format\",\n \"label\": \"Test\",\n \"description\": \"Format Fractional\",\n \"type\": \"Fractional\",\n \"precision\": 8,\n \"formatTraits\": [\n \"KeepSingleZero\",\n \"ShowUnitLabel\"\n ],\n \"uomSeparator\": \"\"\n }\n },\n {\n \"item\": \"SimpleSchema.KindOfQuantity_Test1\",\n \"properties\": {\n \"schemaItemType\": \"KindOfQuantity\",\n \"label\": \"Test1\",\n \"description\": \"KindOfQuantity Test1\"\n }\n },\n {\n \"item\": \"SimpleSchema.KindOfQuantity_Test2\",\n \"properties\": {\n \"schemaItemType\": \"KindOfQuantity\",\n \"label\": \"Test2\",\n \"description\": \"KindOfQuantity Test2\"\n }\n },\n {\n \"item\": \"SimpleSchema.StructClass_Test1\",\n \"properties\": {\n \"schemaItemType\": \"StructClass\",\n \"modifier\": \"Abstract\",\n \"label\": \"Test1\",\n \"description\": \"StructClass Test1\"\n }\n },\n {\n \"item\": \"SimpleSchema.StructClass_Test2\",\n \"properties\": {\n \"schemaItemType\": \"StructClass\",\n \"modifier\": \"Sealed\",\n \"baseClass\": \"SimpleSchema.StructClass_Test1\",\n \"label\": \"Test2\",\n \"description\": \"StructClass Test2\"\n }\n },\n {\n \"item\": \"SimpleSchema.CustomAttributeClass_Test1\",\n \"properties\": {\n \"schemaItemType\": \"CustomAttributeClass\",\n \"appliesTo\": \"AnyClass\",\n \"modifier\": \"Abstract\",\n \"label\": \"Test1\",\n \"description\": \"CustomAttributeClass Test1\"\n }\n },\n {\n \"item\": \"SimpleSchema.CustomAttributeClass_Test2\",\n \"properties\": {\n \"schemaItemType\": \"CustomAttributeClass\",\n \"appliesTo\": \"AnyProperty\",\n \"baseClass\": \"BisCore.CustomHandledProperty\",\n \"label\": \"Test2\",\n \"description\": \"CustomAttributeClass Test2\"\n }\n },\n {\n \"item\": \"SimpleSchema.CustomAttributeClass_Test3\",\n \"properties\": {\n \"schemaItemType\": \"CustomAttributeClass\",\n \"modifier\": \"Sealed\",\n \"appliesTo\": \"Any\",\n \"baseClass\": \"SimpleSchema.CustomAttributeClass_Test1\",\n \"label\": \"Test3\",\n \"description\": \"CustomAttributeClass Test3\"\n }\n },\n {\n \"item\": \"SimpleSchema.IMixin_Test1\",\n \"properties\": {\n \"schemaItemType\": \"Mixin\",\n \"appliesTo\": \"BisCore.Element\",\n \"label\": \"Test1\",\n \"description\": \"Mixin Test1\"\n }\n },\n {\n \"item\": \"SimpleSchema.IMixin_Test2\",\n \"properties\": {\n \"schemaItemType\": \"Mixin\",\n \"baseClass\": \"SimpleSchema.IMixin_Test1\",\n \"appliesTo\": \"BisCore.PhysicalElement\",\n \"label\": \"Test2\",\n \"description\": \"Mixin Test2\"\n }\n },\n {\n \"item\": \"SimpleSchema.EntityClass_Test1\",\n \"properties\": {\n \"schemaItemType\": \"EntityClass\",\n \"baseClass\": \"BisCore.PhysicalElement\",\n \"label\": \"Test1\",\n \"description\": \"EntityClass Test1\",\n \"mixins\": [\n \"SimpleSchema.IMixin_Test1\"\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.EntityClass_Test2\",\n \"properties\": {\n \"schemaItemType\": \"EntityClass\",\n \"modifier\": \"Abstract\",\n \"baseClass\": \"SimpleSchema.EntityClass_Test1\",\n \"label\": \"Test2\",\n \"description\": \"EntityClass Test2\",\n \"mixins\": [\n \"SimpleSchema.IMixin_Test2\"\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.EntityClass_Test3\",\n \"properties\": {\n \"schemaItemType\": \"EntityClass\",\n \"modifier\": \"Sealed\",\n \"baseClass\": \"SimpleSchema.EntityClass_Test2\",\n \"label\": \"Test3\",\n \"description\": \"EntityClass Test3\"\n }\n },\n {\n \"item\": \"SimpleSchema.EntityClass_Test3\",\n \"properties\": {\n \"schemaItemType\": \"EntityClass\",\n \"baseClass\": \"SimpleSchema.EntityClass_Test2\",\n \"label\": \"Test3\",\n \"description\": \"EntityClass Test3\"\n }\n },\n {\n \"item\": \"SimpleSchema.RelationshipClass_Test1\",\n \"properties\": {\n \"schemaItemType\": \"RelationshipClass\",\n \"modifier\": \"Sealed\",\n \"baseClass\": \"BisCore.ElementRefersToElements\",\n \"label\": \"Test1\",\n \"description\": \"RelationshipClass Test1\",\n \"strength\": \"Referencing\",\n \"strengthDirection\": \"Forward\"\n }\n },\n {\n \"item\": \"SimpleSchema.RelationshipClass_Test2\",\n \"properties\": {\n \"schemaItemType\": \"RelationshipClass\",\n \"modifier\": \"None\",\n \"baseClass\": \"BisCore.ModelModelsElement\",\n \"label\": \"Test2\",\n \"description\": \"RelationshipClass Test2\",\n \"strength\": \"Embedding\",\n \"strengthDirection\": \"Backward\"\n }\n }\n ],\n \"checkHierachy\": {\n \"derivedClass\": \"SimpleSchema.EntityClass_Test3\",\n \"baseClass\": \"SimpleSchema.IMixin_Test1\"\n },\n \"checkFullLoad\": [\n {\n \"item\": \"SimpleSchema.Format_Decimal\",\n \"properties\": {\n \"schemaItemType\": \"Format\",\n \"label\": \"Test\",\n \"description\": \"Format Decimal\",\n \"type\": \"Decimal\",\n \"precision\": 4,\n \"showSignOption\": \"NoSign\",\n \"formatTraits\": [\n \"KeepSingleZero\",\n \"KeepDecimalPoint\"\n ],\n \"thousandSeparator\": \" \",\n \"decimalSeparator\": \",\",\n \"minWidth\": 3,\n \"roundFactor\": 0.1,\n \"composite\": {\n \"spacer\": \"\",\n \"includeZero\": false,\n \"units\": [\n {\n \"name\": \"Units.G\",\n \"label\": \"g\"\n },\n {\n \"name\": \"Units.MG\",\n \"label\": \"mg\"\n }\n ]\n }\n }\n },\n {\n \"item\": \"SimpleSchema.Format_Fractional\",\n \"properties\": {\n \"schemaItemType\": \"Format\",\n \"label\": \"Test\",\n \"description\": \"Format Fractional\",\n \"type\": \"Fractional\",\n \"precision\": 8,\n \"formatTraits\": [\n \"KeepSingleZero\",\n \"ShowUnitLabel\"\n ],\n \"uomSeparator\": \"\",\n \"composite\": {\n \"spacer\": \"\",\n \"units\": [\n {\n \"name\": \"SimpleSchema.Unit_Test1\",\n \"label\": \"test\"\n }\n ]\n }\n }\n },\n {\n \"item\": \"SimpleSchema.KindOfQuantity_Test1\",\n \"properties\": {\n \"schemaItemType\": \"KindOfQuantity\",\n \"label\": \"Test1\",\n \"description\": \"KindOfQuantity Test1\",\n \"relativeError\": 0.001,\n \"persistenceUnit\": \"SimpleSchema.Unit_Test1\",\n \"presentationUnits\": [\n \"SimpleSchema.Format_Fractional(4)[SimpleSchema.Unit_Test1]\"\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.KindOfQuantity_Test2\",\n \"properties\": {\n \"schemaItemType\": \"KindOfQuantity\",\n \"label\": \"Test2\",\n \"description\": \"KindOfQuantity Test2\",\n \"relativeError\": 0.0001,\n \"persistenceUnit\": \"Units.MG\",\n \"presentationUnits\": [\n \"Formats.DefaultRealU[Units.MG]\",\n \"Formats.DefaultRealU(1)[Units.G]\"\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.StructClass_Test1\",\n \"properties\": {\n \"schemaItemType\": \"StructClass\",\n \"modifier\": \"Abstract\",\n \"label\": \"Test1\",\n \"description\": \"StructClass Test1\",\n \"properties\": [\n {\n \"name\": \"DoubleProperty\",\n \"type\": \"PrimitiveProperty\",\n \"category\": \"SimpleSchema.Category_Test\",\n \"label\": \"Double\",\n \"description\": \"Double Property\",\n \"typeName\": \"double\"\n },\n {\n \"name\": \"Point3dProperty\",\n \"type\": \"PrimitiveProperty\",\n \"isReadOnly\": true,\n \"label\": \"Point3\",\n \"description\": \"Point3 Property\",\n \"typeName\": \"point3d\",\n \"customAttributes\": [\n {\n \"className\": \"CoreCustomAttributes.HiddenProperty\"\n },\n {\n \"className\": \"BisCore.CustomHandledProperty\"\n }\n ]\n },\n {\n \"name\": \"LongArrayProperty\",\n \"type\": \"PrimitiveArrayProperty\",\n \"minOccurs\": 0,\n \"maxOccurs\": 52,\n \"label\": \"LongArray\",\n \"description\": \"LongArray Property\",\n \"typeName\": \"long\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.StructClass_Test2\",\n \"properties\": {\n \"schemaItemType\": \"StructClass\",\n \"modifier\": \"Sealed\",\n \"baseClass\": \"SimpleSchema.StructClass_Test1\",\n \"label\": \"Test2\",\n \"description\": \"StructClass Test2\",\n \"customAttributes\": [\n {\n \"className\": \"BisCore.ClassHasHandler\"\n }\n ],\n \"properties\": [\n {\n \"name\": \"DateTimeProperty\",\n \"type\": \"PrimitiveProperty\",\n \"kindOfQuantity\": \"SimpleSchema.KindOfQuantity_Test1\",\n \"label\": \"DateTime\",\n \"description\": \"DateTime Property\",\n \"typeName\": \"dateTime\"\n },\n {\n \"name\": \"BooleanProperty\",\n \"type\": \"PrimitiveProperty\",\n \"priority\": 1001,\n \"label\": \"Boolean\",\n \"description\": \"Boolean Property\",\n \"typeName\": \"boolean\"\n },\n {\n \"name\": \"StringEnumerationArrayProperty\",\n \"type\": \"PrimitiveArrayProperty\",\n \"minOccurs\": 0,\n \"maxOccurs\": 3,\n \"label\": \"StringEnumerationArray\",\n \"description\": \"StringEnumerationArray Property\",\n \"typeName\": \"SimpleSchema.Enumeration_String\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.CustomAttributeClass_Test1\",\n \"properties\": {\n \"schemaItemType\": \"CustomAttributeClass\",\n \"appliesTo\": \"AnyClass\",\n \"modifier\": \"Abstract\",\n \"label\": \"Test1\",\n \"description\": \"CustomAttributeClass Test1\",\n \"properties\": [\n {\n \"name\": \"StringProperty\",\n \"type\": \"PrimitiveProperty\",\n \"label\": \"String\",\n \"description\": \"String Property\",\n \"extendedTypeName\": \"Json\",\n \"minLength\": 1,\n \"maxLength\": 150,\n \"typeName\": \"string\"\n },\n {\n \"name\": \"StructProperty\",\n \"type\": \"StructProperty\",\n \"label\": \"Struct\",\n \"description\": \"Struct Property\",\n \"typeName\": \"SimpleSchema.StructClass_Test2\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.CustomAttributeClass_Test2\",\n \"properties\": {\n \"schemaItemType\": \"CustomAttributeClass\",\n \"appliesTo\": \"AnyProperty\",\n \"baseClass\": \"BisCore.CustomHandledProperty\",\n \"label\": \"Test2\",\n \"description\": \"CustomAttributeClass Test2\",\n \"customAttributes\": [\n {\n \"className\": \"SimpleSchema.CustomAttributeClass_Test3\"\n }\n ],\n \"properties\": [\n {\n \"name\": \"BinaryProperty\",\n \"type\": \"PrimitiveProperty\",\n \"label\": \"Binary\",\n \"description\": \"Binary Property\",\n \"typeName\": \"binary\"\n },\n {\n \"name\": \"IntegerArrayProperty\",\n \"type\": \"PrimitiveArrayProperty\",\n \"minOccurs\": 0,\n \"maxOccurs\": 150,\n \"maxValue\": 1000,\n \"label\": \"IntegerArray\",\n \"description\": \"IntegerArray Property\",\n \"typeName\": \"int\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.CustomAttributeClass_Test3\",\n \"properties\": {\n \"schemaItemType\": \"CustomAttributeClass\",\n \"modifier\": \"Sealed\",\n \"appliesTo\": \"Any\",\n \"baseClass\": \"SimpleSchema.CustomAttributeClass_Test1\",\n \"label\": \"Test3\",\n \"description\": \"CustomAttributeClass Test3\",\n \"properties\": [\n {\n \"name\": \"IntegerProperty\",\n \"type\": \"PrimitiveProperty\",\n \"minValue\": 1,\n \"maxValue\": 101,\n \"label\": \"Integer\",\n \"description\": \"Integer Property\",\n \"typeName\": \"int\",\n \"customAttributes\": [\n {\n \"className\": \"BisCore.AutoHandledProperty\",\n \"StatementTypes\": 3\n }\n ]\n },\n {\n \"name\": \"IntegerEnumerationArray\",\n \"type\": \"PrimitiveArrayProperty\",\n \"label\": \"IntegerEnumerationArray\",\n \"description\": \"IntegerEnumerationArray Property\",\n \"minOccurs\": 0,\n \"maxOccurs\": 2147483647,\n \"typeName\": \"BisCore.SectionType\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.IMixin_Test1\",\n \"properties\": {\n \"schemaItemType\": \"Mixin\",\n \"appliesTo\": \"BisCore.Element\",\n \"label\": \"Test1\",\n \"description\": \"Mixin Test1\",\n \"properties\": [\n {\n \"name\": \"LongProperty\",\n \"type\": \"PrimitiveProperty\",\n \"category\": \"SimpleSchema.Category_Test\",\n \"label\": \"Long\",\n \"description\": \"Long Property\",\n \"typeName\": \"long\"\n },\n {\n \"name\": \"BooleanArrayProperty\",\n \"type\": \"PrimitiveArrayProperty\",\n \"minOccurs\": 1,\n \"maxOccurs\": 5,\n \"label\": \"BooleanArray\",\n \"description\": \"BooleanArray Property\",\n \"typeName\": \"boolean\"\n }\n ],\n \"customAttributes\": [\n {\n \"className\": \"SimpleSchema.CustomAttributeClass_Test3\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.IMixin_Test2\",\n \"properties\": {\n \"schemaItemType\": \"Mixin\",\n \"baseClass\": \"SimpleSchema.IMixin_Test1\",\n \"appliesTo\": \"BisCore.PhysicalElement\",\n \"label\": \"Test2\",\n \"description\": \"Mixin Test2\",\n \"properties\": [\n {\n \"name\": \"IGeometryProperty\",\n \"type\": \"PrimitiveProperty\",\n \"label\": \"IGeometry\",\n \"description\": \"IGeometry Property\",\n \"typeName\": \"Bentley.Geometry.Common.IGeometry\",\n \"customAttributes\": [\n {\n \"className\": \"CoreCustomAttributes.Deprecated\",\n \"Description\": \"Deprecated renamed property.\"\n },\n {\n \"className\": \"CoreCustomAttributes.HiddenProperty\"\n }\n ]\n },\n {\n \"name\": \"DoubleArrayProperty\",\n \"type\": \"PrimitiveArrayProperty\",\n \"minValue\": 0.1,\n \"maxValue\": 9.9,\n \"maxOccurs\": 10,\n \"minOccurs\": 2,\n \"label\": \"DoubleArray\",\n \"description\": \"DoubleArray Property\",\n \"typeName\": \"double\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.EntityClass_Test3\",\n \"properties\": {\n \"schemaItemType\": \"EntityClass\",\n \"modifier\": \"Sealed\",\n \"baseClass\": \"SimpleSchema.EntityClass_Test2\",\n \"label\": \"Test3\",\n \"description\": \"EntityClass Test3\",\n \"properties\": [\n {\n \"name\": \"StringEnumerationProperty\",\n \"type\": \"PrimitiveProperty\",\n \"label\": \"StringEnumeration\",\n \"description\": \"StringEnumeration Property\",\n \"typeName\": \"CoreCustomAttributes.ProductionStatusValue\"\n }\n ]\n }\n },\n {\n \"item\": \"SimpleSchema.RelationshipClass_Test1\",\n \"properties\": {\n \"schemaItemType\": \"RelationshipClass\",\n \"modifier\": \"Sealed\",\n \"baseClass\": \"BisCore.ElementRefersToElements\",\n \"label\": \"Test1\",\n \"description\": \"RelationshipClass Test1\",\n \"strength\": \"Referencing\",\n \"strengthDirection\": \"Forward\",\n \"customAttributes\": [\n {\n \"className\": \"CoreCustomAttributes.HiddenClass\",\n \"Show\": false\n }\n ],\n \"properties\": [\n {\n \"name\": \"Point2dArrayProperty\",\n \"type\": \"PrimitiveArrayProperty\",\n \"minOccurs\": 5,\n \"maxOccurs\": 75,\n \"label\": \"Point2dArray\",\n \"description\": \"Point2dArray Property\",\n \"typeName\": \"point2d\"\n },\n {\n \"name\": \"Point3dArrayProperty\",\n \"type\": \"PrimitiveArrayProperty\",\n \"minOccurs\": 3,\n \"maxOccurs\": 13,\n \"label\": \"Point3dArray\",\n \"description\": \"Point3dArray Property\",\n \"typeName\": \"point3d\"\n }\n ],\n \"source\": {\n \"multiplicity\": \"(0..*)\",\n \"roleLabel\": \"refers to\",\n \"polymorphic\": true,\n \"abstractConstraint\": \"BisCore.Element\",\n \"constraintClasses\": [\n \"BisCore.Element\"\n ],\n \"customAttributes\": [\n {\n \"className\": \"SimpleSchema.CustomAttributeClass_Test4\",\n \"StringProperty\": \"Source\"\n }\n ]\n },\n \"target\": {\n \"multiplicity\": \"(0..*)\",\n \"roleLabel\": \"is referenced by\",\n \"polymorphic\": true,\n \"abstractConstraint\": \"BisCore.Element\",\n \"constraintClasses\": [\n \"BisCore.Element\"\n ],\n \"customAttributes\": [\n {\n \"className\": \"SimpleSchema.CustomAttributeClass_Test4\",\n \"StringProperty\": \"Target\"\n }\n ]\n }\n }\n },\n {\n \"item\": \"BisCore.Drawing\",\n \"properties\": {\n \"schemaItemType\": \"EntityClass\",\n \"baseClass\": \"BisCore.Document\",\n \"description\": \"A bis:Drawing is a bis:Document of a 2D drawing.\",\n \"customAttributes\": [\n {\n \"className\": \"BisCore.ClassHasHandler\"\n }\n ],\n \"mixins\": [\n \"BisCore.ISubModeledElement\"\n ]\n }\n }\n ]\n }\n ]\n}"]}
|
|
1
|
+
{"version":3,"file":"simple.config.js","sourceRoot":"","sources":["../../../../../../src/test/assets/IncrementalSchemaLocater/configs/simple.config.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,eAAe;IACb,OAAO,EAAE,uBAAuB;IAChC,SAAS,EAAE,kBAAkB;IAC7B,SAAS,EAAE;QACT;YACE,MAAM,EAAE,cAAc;YACtB,aAAa,EAAE,sBAAsB;YACrC,OAAO,EAAE,eAAe;YACxB,YAAY,EAAE;gBACZ,SAAS;gBACT,sBAAsB;gBACtB,SAAS;gBACT,OAAO;aACR;YACD,WAAW,EAAE,EAAE;YACf,YAAY,EAAE;gBACZ;oBACE,MAAM,EAAE,8BAA8B;oBACtC,YAAY,EAAE;wBACZ,gBAAgB,EAAE,YAAY;wBAC9B,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,iBAAiB;qBACjC;iBACF;gBACD;oBACE,MAAM,EAAE,8BAA8B;oBACtC,YAAY,EAAE;wBACZ,gBAAgB,EAAE,YAAY;wBAC9B,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,iBAAiB;wBAChC,YAAY,EAAE,MAAM;qBACrB;iBACF;gBACD;oBACE,MAAM,EAAE,4BAA4B;oBACpC,YAAY,EAAE;wBACZ,gBAAgB,EAAE,kBAAkB;wBACpC,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,uBAAuB;wBACtC,UAAU,EAAE,IAAI;qBACjB;iBACF;gBACD;oBACE,MAAM,EAAE,kCAAkC;oBAC1C,YAAY,EAAE;wBACZ,gBAAgB,EAAE,aAAa;wBAC/B,OAAO,EAAE,MAAM;wBACf,aAAa,EAAE,qBAAqB;wBACpC,MAAM,EAAE,KAAK;wBACb,UAAU,EAAE,IAAI;wB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EAAE;gCAClB;oCACE,WAAW,EAAE,yCAAyC;oCACtD,gBAAgB,EAAE,QAAQ;iCAC3B;6BACF;yBACF;qBACF;iBACF;gBACD;oBACE,MAAM,EAAE,iBAAiB;oBACzB,YAAY,EAAE;wBACZ,gBAAgB,EAAE,aAAa;wBAC/B,WAAW,EAAE,kBAAkB;wBAC/B,aAAa,EAAE,kDAAkD;wBACjE,kBAAkB,EAAE;4BAClB;gCACE,WAAW,EAAE,yBAAyB;6BACvC;yBACF;wBACD,QAAQ,EAAE;4BACR,4BAA4B;yBAC7B;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAA","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\r\nexport default {\r\n \"label\": \"Simple Profile iModel\",\r\n \"bimFile\": \"SimpleIModel.bim\",\r\n \"schemas\": [\r\n {\r\n \"name\": \"SimpleSchema\",\r\n \"description\": \"A simple test schema\",\r\n \"label\": \"Simple Schema\",\r\n \"references\": [\r\n \"BisCore\",\r\n \"CoreCustomAttributes\",\r\n \"Formats\",\r\n \"Units\"\r\n ],\r\n \"itemCount\": 30,\r\n \"checkStubs\": [\r\n {\r\n \"item\": \"SimpleSchema.UnitSystem_Test\",\r\n \"properties\": {\r\n \"schemaItemType\": \"UnitSystem\",\r\n \"label\": \"Test\",\r\n \"description\": \"UnitSystem Test\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Phenomenon_Test\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Phenomenon\",\r\n \"label\": \"Test\",\r\n \"description\": \"Phenomenon Test\",\r\n \"definition\": \"TEST\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Category_Test\",\r\n \"properties\": {\r\n \"schemaItemType\": \"PropertyCategory\",\r\n \"label\": \"Test\",\r\n \"description\": \"PropertyCategory Test\",\r\n \"priority\": 1000\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Enumeration_Integer\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Enumeration\",\r\n \"label\": \"Test\",\r\n \"description\": \"Enumeration Integer\",\r\n \"type\": \"int\",\r\n \"isStrict\": true,\r\n \"enumerators\": [\r\n {\r\n \"name\": \"Enumerator0\",\r\n \"value\": 0,\r\n \"label\": \"0\",\r\n \"description\": \"Enumerator 0\"\r\n },\r\n {\r\n \"name\": \"Enumerator1\",\r\n \"value\": 1,\r\n \"label\": \"1\",\r\n \"description\": \"Enumerator 1\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Enumeration_String\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Enumeration\",\r\n \"label\": \"Test\",\r\n \"description\": \"Enumeration String\",\r\n \"type\": \"string\",\r\n \"isStrict\": false,\r\n \"enumerators\": [\r\n {\r\n \"name\": \"Enumerator0\",\r\n \"value\": \"0\"\r\n },\r\n {\r\n \"name\": \"Enumerator1\",\r\n \"value\": \"1\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Unit_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Unit\",\r\n \"label\": \"Test1\",\r\n \"description\": \"Unit Test1\",\r\n \"phenomenon\": \"SimpleSchema.Phenomenon_Test\",\r\n \"unitSystem\": \"SimpleSchema.UnitSystem_Test\",\r\n \"definition\": \"TEST1\",\r\n \"numerator\": 10.0\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Unit_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Unit\",\r\n \"label\": \"Test2\",\r\n \"description\": \"Unit Test2\",\r\n \"phenomenon\": \"Units.TEMPERATURE\", \r\n \"unitSystem\": \"Units.USCUSTOM\",\r\n \"definition\": \"TEST2\",\r\n \"numerator\": 5.0,\r\n \"denominator\": 3.0,\r\n \"offset\": 0.01325\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.InvertedUnit_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"InvertedUnit\",\r\n \"label\": \"Test1\",\r\n \"description\": \"InvertedUnit Test1\",\r\n \"invertsUnit\": \"SimpleSchema.Unit_Test1\",\r\n \"unitSystem\": \"SimpleSchema.UnitSystem_Test\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.InvertedUnit_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"InvertedUnit\",\r\n \"label\": \"Test2\",\r\n \"description\": \"InvertedUnit Test2\",\r\n \"invertsUnit\": \"Units.FT_PER_FT\",\r\n \"unitSystem\": \"Units.USCUSTOM\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Constant_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Constant\",\r\n \"label\": \"Test1\",\r\n \"description\": \"Constant Test1\",\r\n \"phenomenon\": \"SimpleSchema.Phenomenon_Test\",\r\n \"definition\": \"TEST1\",\r\n \"numerator\": 1.0e3\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Constant_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Constant\",\r\n \"label\": \"Test2\",\r\n \"description\": \"Constant Test2\",\r\n \"phenomenon\": \"Units.ANGLE\",\r\n \"definition\": \"TEST2\",\r\n \"numerator\": 180.0,\r\n \"denominator\": 0.5\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Format_Station\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Format\",\r\n \"label\": \"Test\",\r\n \"description\": \"Format Station\",\r\n \"type\": \"Station\",\r\n \"precision\": 2,\r\n \"formatTraits\": [\r\n \"TrailZeroes\",\r\n \"KeepSingleZero\",\r\n \"KeepDecimalPoint\"\r\n ],\r\n \"thousandSeparator\": \" \",\r\n \"decimalSeparator\": \",\",\r\n \"stationSeparator\": \"+\",\r\n \"stationOffsetSize\": 3,\r\n \"minWidth\": 3\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Format_Scientific\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Format\",\r\n \"label\": \"Test\",\r\n \"description\": \"Format Scientific\",\r\n \"type\": \"Scientific\",\r\n \"scientificType\": \"Normalized\",\r\n \"precision\": 6,\r\n \"formatTraits\": [\r\n \"KeepSingleZero\"\r\n ],\r\n \"decimalSeparator\": \",\",\r\n \"thousandSeparator\": \" \"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Format_Decimal\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Format\",\r\n \"label\": \"Test\",\r\n \"description\": \"Format Decimal\",\r\n \"type\": \"Decimal\",\r\n \"precision\": 4,\r\n \"showSignOption\": \"NoSign\",\r\n \"formatTraits\": [\r\n \"KeepSingleZero\",\r\n \"KeepDecimalPoint\"\r\n ],\r\n \"thousandSeparator\": \" \",\r\n \"decimalSeparator\": \",\",\r\n \"minWidth\": 3,\r\n \"roundFactor\": 0.1\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Format_Fractional\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Format\",\r\n \"label\": \"Test\",\r\n \"description\": \"Format Fractional\",\r\n \"type\": \"Fractional\",\r\n \"precision\": 8,\r\n \"formatTraits\": [\r\n \"KeepSingleZero\",\r\n \"ShowUnitLabel\"\r\n ],\r\n \"uomSeparator\": \"\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.KindOfQuantity_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"KindOfQuantity\",\r\n \"label\": \"Test1\",\r\n \"description\": \"KindOfQuantity Test1\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.KindOfQuantity_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"KindOfQuantity\",\r\n \"label\": \"Test2\",\r\n \"description\": \"KindOfQuantity Test2\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.StructClass_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"StructClass\",\r\n \"modifier\": \"Abstract\",\r\n \"label\": \"Test1\",\r\n \"description\": \"StructClass Test1\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.StructClass_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"StructClass\",\r\n \"modifier\": \"Sealed\",\r\n \"baseClass\": \"SimpleSchema.StructClass_Test1\",\r\n \"label\": \"Test2\",\r\n \"description\": \"StructClass Test2\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.CustomAttributeClass_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"CustomAttributeClass\",\r\n \"appliesTo\": \"AnyClass\",\r\n \"modifier\": \"Abstract\",\r\n \"label\": \"Test1\",\r\n \"description\": \"CustomAttributeClass Test1\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.CustomAttributeClass_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"CustomAttributeClass\",\r\n \"appliesTo\": \"AnyProperty\",\r\n \"baseClass\": \"BisCore.CustomHandledProperty\",\r\n \"label\": \"Test2\",\r\n \"description\": \"CustomAttributeClass Test2\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.CustomAttributeClass_Test3\",\r\n \"properties\": {\r\n \"schemaItemType\": \"CustomAttributeClass\",\r\n \"modifier\": \"Sealed\",\r\n \"appliesTo\": \"Any\",\r\n \"baseClass\": \"SimpleSchema.CustomAttributeClass_Test1\",\r\n \"label\": \"Test3\",\r\n \"description\": \"CustomAttributeClass Test3\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.IMixin_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Mixin\",\r\n \"appliesTo\": \"BisCore.Element\",\r\n \"label\": \"Test1\",\r\n \"description\": \"Mixin Test1\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.IMixin_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Mixin\",\r\n \"baseClass\": \"SimpleSchema.IMixin_Test1\",\r\n \"appliesTo\": \"BisCore.PhysicalElement\",\r\n \"label\": \"Test2\",\r\n \"description\": \"Mixin Test2\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.EntityClass_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"EntityClass\",\r\n \"baseClass\": \"BisCore.PhysicalElement\",\r\n \"label\": \"Test1\",\r\n \"description\": \"EntityClass Test1\",\r\n \"mixins\": [\r\n \"SimpleSchema.IMixin_Test1\"\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.EntityClass_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"EntityClass\",\r\n \"modifier\": \"Abstract\",\r\n \"baseClass\": \"SimpleSchema.EntityClass_Test1\",\r\n \"label\": \"Test2\",\r\n \"description\": \"EntityClass Test2\",\r\n \"mixins\": [\r\n \"SimpleSchema.IMixin_Test2\"\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.EntityClass_Test3\",\r\n \"properties\": {\r\n \"schemaItemType\": \"EntityClass\",\r\n \"modifier\": \"Sealed\",\r\n \"baseClass\": \"SimpleSchema.EntityClass_Test2\",\r\n \"label\": \"Test3\",\r\n \"description\": \"EntityClass Test3\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.EntityClass_Test3\",\r\n \"properties\": {\r\n \"schemaItemType\": \"EntityClass\",\r\n \"baseClass\": \"SimpleSchema.EntityClass_Test2\",\r\n \"label\": \"Test3\",\r\n \"description\": \"EntityClass Test3\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.RelationshipClass_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"RelationshipClass\",\r\n \"modifier\": \"Sealed\",\r\n \"baseClass\": \"BisCore.ElementRefersToElements\",\r\n \"label\": \"Test1\",\r\n \"description\": \"RelationshipClass Test1\",\r\n \"strength\": \"Referencing\",\r\n \"strengthDirection\": \"Forward\"\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.RelationshipClass_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"RelationshipClass\",\r\n \"modifier\": \"None\",\r\n \"baseClass\": \"BisCore.ModelModelsElement\",\r\n \"label\": \"Test2\",\r\n \"description\": \"RelationshipClass Test2\",\r\n \"strength\": \"Embedding\",\r\n \"strengthDirection\": \"Backward\"\r\n }\r\n }\r\n ],\r\n \"checkHierachy\": {\r\n \"derivedClass\": \"SimpleSchema.EntityClass_Test3\",\r\n \"baseClass\": \"SimpleSchema.IMixin_Test1\"\r\n },\r\n \"checkFullLoad\": [\r\n {\r\n \"item\": \"SimpleSchema.Format_Decimal\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Format\",\r\n \"label\": \"Test\",\r\n \"description\": \"Format Decimal\",\r\n \"type\": \"Decimal\",\r\n \"precision\": 4,\r\n \"showSignOption\": \"NoSign\",\r\n \"formatTraits\": [\r\n \"KeepSingleZero\",\r\n \"KeepDecimalPoint\"\r\n ],\r\n \"thousandSeparator\": \" \",\r\n \"decimalSeparator\": \",\",\r\n \"minWidth\": 3,\r\n \"roundFactor\": 0.1,\r\n \"composite\": {\r\n \"spacer\": \"\",\r\n \"includeZero\": false,\r\n \"units\": [\r\n {\r\n \"name\": \"Units.G\",\r\n \"label\": \"g\"\r\n },\r\n {\r\n \"name\": \"Units.MG\",\r\n \"label\": \"mg\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.Format_Fractional\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Format\",\r\n \"label\": \"Test\",\r\n \"description\": \"Format Fractional\",\r\n \"type\": \"Fractional\",\r\n \"precision\": 8,\r\n \"formatTraits\": [\r\n \"KeepSingleZero\",\r\n \"ShowUnitLabel\"\r\n ],\r\n \"uomSeparator\": \"\",\r\n \"composite\": {\r\n \"spacer\": \"\",\r\n \"units\": [\r\n {\r\n \"name\": \"SimpleSchema.Unit_Test1\",\r\n \"label\": \"test\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.KindOfQuantity_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"KindOfQuantity\",\r\n \"label\": \"Test1\",\r\n \"description\": \"KindOfQuantity Test1\",\r\n \"relativeError\": 0.001,\r\n \"persistenceUnit\": \"SimpleSchema.Unit_Test1\",\r\n \"presentationUnits\": [\r\n \"SimpleSchema.Format_Fractional(4)[SimpleSchema.Unit_Test1]\"\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.KindOfQuantity_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"KindOfQuantity\",\r\n \"label\": \"Test2\",\r\n \"description\": \"KindOfQuantity Test2\",\r\n \"relativeError\": 0.0001,\r\n \"persistenceUnit\": \"Units.MG\",\r\n \"presentationUnits\": [\r\n \"Formats.DefaultRealU[Units.MG]\",\r\n \"Formats.DefaultRealU(1)[Units.G]\"\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.StructClass_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"StructClass\",\r\n \"modifier\": \"Abstract\",\r\n \"label\": \"Test1\",\r\n \"description\": \"StructClass Test1\",\r\n \"properties\": [\r\n {\r\n \"name\": \"DoubleProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"category\": \"SimpleSchema.Category_Test\",\r\n \"label\": \"Double\",\r\n \"description\": \"Double Property\",\r\n \"typeName\": \"double\"\r\n },\r\n {\r\n \"name\": \"Point3dProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"isReadOnly\": true,\r\n \"label\": \"Point3\",\r\n \"description\": \"Point3 Property\",\r\n \"typeName\": \"point3d\",\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"CoreCustomAttributes.HiddenProperty\"\r\n },\r\n {\r\n \"className\": \"BisCore.CustomHandledProperty\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"LongArrayProperty\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"minOccurs\": 0,\r\n \"maxOccurs\": 52,\r\n \"label\": \"LongArray\",\r\n \"description\": \"LongArray Property\",\r\n \"typeName\": \"long\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.StructClass_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"StructClass\",\r\n \"modifier\": \"Sealed\",\r\n \"baseClass\": \"SimpleSchema.StructClass_Test1\",\r\n \"label\": \"Test2\",\r\n \"description\": \"StructClass Test2\",\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"BisCore.ClassHasHandler\"\r\n }\r\n ],\r\n \"properties\": [\r\n {\r\n \"name\": \"DateTimeProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"kindOfQuantity\": \"SimpleSchema.KindOfQuantity_Test1\",\r\n \"label\": \"DateTime\",\r\n \"description\": \"DateTime Property\",\r\n \"typeName\": \"dateTime\"\r\n },\r\n {\r\n \"name\": \"BooleanProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"priority\": 1001,\r\n \"label\": \"Boolean\",\r\n \"description\": \"Boolean Property\",\r\n \"typeName\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"StringEnumerationArrayProperty\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"minOccurs\": 0,\r\n \"maxOccurs\": 3,\r\n \"label\": \"StringEnumerationArray\",\r\n \"description\": \"StringEnumerationArray Property\",\r\n \"typeName\": \"SimpleSchema.Enumeration_String\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.CustomAttributeClass_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"CustomAttributeClass\",\r\n \"appliesTo\": \"AnyClass\",\r\n \"modifier\": \"Abstract\",\r\n \"label\": \"Test1\",\r\n \"description\": \"CustomAttributeClass Test1\",\r\n \"properties\": [\r\n {\r\n \"name\": \"StringProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"label\": \"String\",\r\n \"description\": \"String Property\",\r\n \"extendedTypeName\": \"Json\",\r\n \"minLength\": 1,\r\n \"maxLength\": 150,\r\n \"typeName\": \"string\"\r\n },\r\n {\r\n \"name\": \"StructProperty\",\r\n \"type\": \"StructProperty\",\r\n \"label\": \"Struct\",\r\n \"description\": \"Struct Property\",\r\n \"typeName\": \"SimpleSchema.StructClass_Test2\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.CustomAttributeClass_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"CustomAttributeClass\",\r\n \"appliesTo\": \"AnyProperty\",\r\n \"baseClass\": \"BisCore.CustomHandledProperty\",\r\n \"label\": \"Test2\",\r\n \"description\": \"CustomAttributeClass Test2\",\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"SimpleSchema.CustomAttributeClass_Test3\"\r\n }\r\n ],\r\n \"properties\": [\r\n {\r\n \"name\": \"BinaryProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"label\": \"Binary\",\r\n \"description\": \"Binary Property\",\r\n \"typeName\": \"binary\"\r\n },\r\n {\r\n \"name\": \"IntegerArrayProperty\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"minOccurs\": 0,\r\n \"maxOccurs\": 150,\r\n \"maxValue\": 1000,\r\n \"label\": \"IntegerArray\",\r\n \"description\": \"IntegerArray Property\",\r\n \"typeName\": \"int\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.CustomAttributeClass_Test3\",\r\n \"properties\": {\r\n \"schemaItemType\": \"CustomAttributeClass\",\r\n \"modifier\": \"Sealed\",\r\n \"appliesTo\": \"Any\",\r\n \"baseClass\": \"SimpleSchema.CustomAttributeClass_Test1\",\r\n \"label\": \"Test3\",\r\n \"description\": \"CustomAttributeClass Test3\",\r\n \"properties\": [\r\n {\r\n \"name\": \"IntegerProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"minValue\": 1,\r\n \"maxValue\": 101,\r\n \"label\": \"Integer\",\r\n \"description\": \"Integer Property\",\r\n \"typeName\": \"int\",\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"BisCore.AutoHandledProperty\",\r\n \"StatementTypes\": 3\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegerEnumerationArray\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"label\": \"IntegerEnumerationArray\",\r\n \"description\": \"IntegerEnumerationArray Property\",\r\n \"minOccurs\": 0,\r\n \"maxOccurs\": 2147483647,\r\n \"typeName\": \"BisCore.SectionType\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.IMixin_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Mixin\",\r\n \"appliesTo\": \"BisCore.Element\",\r\n \"label\": \"Test1\",\r\n \"description\": \"Mixin Test1\",\r\n \"properties\": [\r\n {\r\n \"name\": \"LongProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"category\": \"SimpleSchema.Category_Test\",\r\n \"label\": \"Long\",\r\n \"description\": \"Long Property\",\r\n \"typeName\": \"long\"\r\n },\r\n {\r\n \"name\": \"BooleanArrayProperty\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"minOccurs\": 1,\r\n \"maxOccurs\": 5,\r\n \"label\": \"BooleanArray\",\r\n \"description\": \"BooleanArray Property\",\r\n \"typeName\": \"boolean\"\r\n }\r\n ],\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"SimpleSchema.CustomAttributeClass_Test3\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.IMixin_Test2\",\r\n \"properties\": {\r\n \"schemaItemType\": \"Mixin\",\r\n \"baseClass\": \"SimpleSchema.IMixin_Test1\",\r\n \"appliesTo\": \"BisCore.PhysicalElement\",\r\n \"label\": \"Test2\",\r\n \"description\": \"Mixin Test2\",\r\n \"properties\": [\r\n {\r\n \"name\": \"IGeometryProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"label\": \"IGeometry\",\r\n \"description\": \"IGeometry Property\",\r\n \"typeName\": \"Bentley.Geometry.Common.IGeometry\",\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"CoreCustomAttributes.Deprecated\",\r\n \"Description\": \"Deprecated renamed property.\"\r\n },\r\n {\r\n \"className\": \"CoreCustomAttributes.HiddenProperty\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DoubleArrayProperty\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"minValue\": 0.1,\r\n \"maxValue\": 9.9,\r\n \"maxOccurs\": 10,\r\n \"minOccurs\": 2,\r\n \"label\": \"DoubleArray\",\r\n \"description\": \"DoubleArray Property\",\r\n \"typeName\": \"double\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.EntityClass_Test3\",\r\n \"properties\": {\r\n \"schemaItemType\": \"EntityClass\",\r\n \"modifier\": \"Sealed\",\r\n \"baseClass\": \"SimpleSchema.EntityClass_Test2\",\r\n \"label\": \"Test3\",\r\n \"description\": \"EntityClass Test3\",\r\n \"properties\": [\r\n {\r\n \"name\": \"StringEnumerationProperty\",\r\n \"type\": \"PrimitiveProperty\",\r\n \"label\": \"StringEnumeration\",\r\n \"description\": \"StringEnumeration Property\",\r\n \"typeName\": \"CoreCustomAttributes.ProductionStatusValue\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"item\": \"SimpleSchema.RelationshipClass_Test1\",\r\n \"properties\": {\r\n \"schemaItemType\": \"RelationshipClass\",\r\n \"modifier\": \"Sealed\",\r\n \"baseClass\": \"BisCore.ElementRefersToElements\",\r\n \"label\": \"Test1\",\r\n \"description\": \"RelationshipClass Test1\",\r\n \"strength\": \"Referencing\",\r\n \"strengthDirection\": \"Forward\",\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"CoreCustomAttributes.HiddenClass\",\r\n \"Show\": false\r\n }\r\n ],\r\n \"properties\": [\r\n {\r\n \"name\": \"Point2dArrayProperty\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"minOccurs\": 5,\r\n \"maxOccurs\": 75,\r\n \"label\": \"Point2dArray\",\r\n \"description\": \"Point2dArray Property\",\r\n \"typeName\": \"point2d\"\r\n },\r\n {\r\n \"name\": \"Point3dArrayProperty\",\r\n \"type\": \"PrimitiveArrayProperty\",\r\n \"minOccurs\": 3,\r\n \"maxOccurs\": 13,\r\n \"label\": \"Point3dArray\",\r\n \"description\": \"Point3dArray Property\",\r\n \"typeName\": \"point3d\"\r\n }\r\n ],\r\n \"source\": {\r\n \"multiplicity\": \"(0..*)\",\r\n \"roleLabel\": \"refers to\",\r\n \"polymorphic\": true,\r\n \"abstractConstraint\": \"BisCore.Element\",\r\n \"constraintClasses\": [\r\n \"BisCore.Element\"\r\n ],\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"SimpleSchema.CustomAttributeClass_Test4\",\r\n \"StringProperty\": \"Source\"\r\n }\r\n ]\r\n },\r\n \"target\": {\r\n \"multiplicity\": \"(0..*)\",\r\n \"roleLabel\": \"is referenced by\",\r\n \"polymorphic\": true,\r\n \"abstractConstraint\": \"BisCore.Element\",\r\n \"constraintClasses\": [\r\n \"BisCore.Element\"\r\n ],\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"SimpleSchema.CustomAttributeClass_Test4\",\r\n \"StringProperty\": \"Target\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"item\": \"BisCore.Drawing\",\r\n \"properties\": {\r\n \"schemaItemType\": \"EntityClass\",\r\n \"baseClass\": \"BisCore.Document\",\r\n \"description\": \"A bis:Drawing is a bis:Document of a 2D drawing.\",\r\n \"customAttributes\": [\r\n {\r\n \"className\": \"BisCore.ClassHasHandler\"\r\n }\r\n ],\r\n \"mixins\": [\r\n \"BisCore.ISubModeledElement\"\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Category.test.js","sourceRoot":"","sources":["../../../../src/test/categories/Category.test.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,IAAI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QACnC,MAAM,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QACvC,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACjD,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACtD,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { expect } from \"chai\";\nimport { Guid, Id64 } from \"@itwin/core-bentley\";\nimport { SubCategoryAppearance } from \"@itwin/core-common\";\nimport {\n IModelDb, RenderMaterialElement, RenderMaterialElementParams, SpatialCategory, StandaloneDb, SubCategory,\n} from \"../../core-backend\";\nimport { IModelTestUtils } from \"../IModelTestUtils\";\n\ndescribe(\"Category\", () => {\n let imodel: StandaloneDb;\n before(() => {\n imodel = StandaloneDb.createEmpty(IModelTestUtils.prepareOutputFile(\"Category\", \"Category.bim\"), {\n rootSubject: { name: \"Category tests\", description: \"Category tests\" },\n client: \"Category\",\n globalOrigin: { x: 0, y: 0 },\n projectExtents: { low: { x: -500, y: -500, z: -50 }, high: { x: 500, y: 500, z: 50 } },\n guid: Guid.createValue(),\n });\n });\n\n after(() => {\n imodel.close();\n });\n\n it(\"should insert with default subcategory appearance\", () => {\n const params: RenderMaterialElementParams = {\n description: \"Field Weld\",\n color: [0.9058, 0.298, 0.2352],\n diffuse: 0.5,\n finish: 0.15,\n paletteName: \"MyPalette\",\n reflectColor: [0.9, 0.3, 0.25],\n specularColor: [0.2, 0.2, 0.2],\n };\n\n const materialId = RenderMaterialElement.insert(imodel, IModelDb.dictionaryId, \"FieldWeldMaterial\", params);\n expect(Id64.isValidId64(materialId)).to.be.true;\n\n const appearance = new SubCategoryAppearance({ material: materialId, priority: 100, transp: 0.75 });\n const priCategoryId = SpatialCategory.insert(imodel, IModelDb.dictionaryId, \"FieldWeld\", appearance);\n expect(Id64.isValidId64(priCategoryId)).to.be.true;\n\n const subCatId = imodel.elements.queryElementIdByCode(SubCategory.createCode(imodel, priCategoryId, \"FieldWeld\"))!;\n expect(subCatId).not.to.be.undefined;\n expect(Id64.isValidId64(subCatId)).to.be.true;\n const subCat = imodel.elements.getElement<SubCategory>(subCatId);\n expect(subCat).not.to.be.undefined;\n expect(subCat).instanceof(SubCategory);\n expect(subCat.isDefaultSubCategory).to.be.true;\n expect(subCat.appearance.priority).to.equal(100);\n expect(subCat.appearance.transparency).to.equal(0.75);\n expect(subCat.appearance.materialId).to.equal(materialId);\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"Category.test.js","sourceRoot":"","sources":["../../../../src/test/categories/Category.test.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,QAAQ,EAAE,qBAAqB,EAA+B,eAAe,EAAE,YAAY,EAAE,WAAW,GACzG,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,IAAI,MAAoB,CAAC;IACzB,MAAM,CAAC,GAAG,EAAE;QACV,MAAM,G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;QACtD,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","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\nimport { expect } from \"chai\";\r\nimport { Guid, Id64 } from \"@itwin/core-bentley\";\r\nimport { SubCategoryAppearance } from \"@itwin/core-common\";\r\nimport {\r\n IModelDb, RenderMaterialElement, RenderMaterialElementParams, SpatialCategory, StandaloneDb, SubCategory,\r\n} from \"../../core-backend\";\r\nimport { IModelTestUtils } from \"../IModelTestUtils\";\r\n\r\ndescribe(\"Category\", () => {\r\n let imodel: StandaloneDb;\r\n before(() => {\r\n imodel = StandaloneDb.createEmpty(IModelTestUtils.prepareOutputFile(\"Category\", \"Category.bim\"), {\r\n rootSubject: { name: \"Category tests\", description: \"Category tests\" },\r\n client: \"Category\",\r\n globalOrigin: { x: 0, y: 0 },\r\n projectExtents: { low: { x: -500, y: -500, z: -50 }, high: { x: 500, y: 500, z: 50 } },\r\n guid: Guid.createValue(),\r\n });\r\n });\r\n\r\n after(() => {\r\n imodel.close();\r\n });\r\n\r\n it(\"should insert with default subcategory appearance\", () => {\r\n const params: RenderMaterialElementParams = {\r\n description: \"Field Weld\",\r\n color: [0.9058, 0.298, 0.2352],\r\n diffuse: 0.5,\r\n finish: 0.15,\r\n paletteName: \"MyPalette\",\r\n reflectColor: [0.9, 0.3, 0.25],\r\n specularColor: [0.2, 0.2, 0.2],\r\n };\r\n\r\n const materialId = RenderMaterialElement.insert(imodel, IModelDb.dictionaryId, \"FieldWeldMaterial\", params);\r\n expect(Id64.isValidId64(materialId)).to.be.true;\r\n\r\n const appearance = new SubCategoryAppearance({ material: materialId, priority: 100, transp: 0.75 });\r\n const priCategoryId = SpatialCategory.insert(imodel, IModelDb.dictionaryId, \"FieldWeld\", appearance);\r\n expect(Id64.isValidId64(priCategoryId)).to.be.true;\r\n\r\n const subCatId = imodel.elements.queryElementIdByCode(SubCategory.createCode(imodel, priCategoryId, \"FieldWeld\"))!;\r\n expect(subCatId).not.to.be.undefined;\r\n expect(Id64.isValidId64(subCatId)).to.be.true;\r\n const subCat = imodel.elements.getElement<SubCategory>(subCatId);\r\n expect(subCat).not.to.be.undefined;\r\n expect(subCat).instanceof(SubCategory);\r\n expect(subCat.isDefaultSubCategory).to.be.true;\r\n expect(subCat.appearance.priority).to.equal(100);\r\n expect(subCat.appearance.transparency).to.equal(0.75);\r\n expect(subCat.appearance.materialId).to.equal(materialId);\r\n });\r\n});\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeSpec.test.js","sourceRoot":"","sources":["../../../../src/test/codespec/CodeSpec.test.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,IAAI,MAAoB,CAAC;IACzB,MAAM,CAAC,GAAG,EAAE;QACV,MAAM,GAAG,YAAY,CAAC,WAAW,CAAC,eAAe,CAAC,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,EAAE;YAC/F,WAAW,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE;YACtE,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE,EAAE,CAAC,EAAE,CAA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IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { expect } from \"chai\";\nimport { Guid, Id64 } from \"@itwin/core-bentley\";\nimport { CodeScopeSpec, CodeSpec } from \"@itwin/core-common\";\nimport { IModelTestUtils } from \"../IModelTestUtils\";\nimport { StandaloneDb } from \"../../IModelDb\";\n\ndescribe(\"CodeSpec\", () => {\n let imodel: StandaloneDb;\n before(() => {\n imodel = StandaloneDb.createEmpty(IModelTestUtils.prepareOutputFile(\"CodeSpec\", \"CodeSpec.bim\"), {\n rootSubject: { name: \"CodeSpec tests\", description: \"CodeSpec tests\" },\n client: \"CodeSpec\",\n globalOrigin: { x: 0, y: 0 },\n projectExtents: { low: { x: -500, y: -500, z: -50 }, high: { x: 500, y: 500, z: 50 } },\n guid: Guid.createValue(),\n });\n });\n\n after(() => {\n imodel.close();\n });\n\n it(\"should insert with default properties and update them later\", () => {\n let codeSpec = CodeSpec.create(imodel, \"PumpTag\", CodeScopeSpec.Type.Model);\n const codeSpecId = imodel.codeSpecs.insert(codeSpec);\n\n imodel.saveChanges();\n expect(Id64.isValidId64(codeSpecId)).to.be.true;\n expect(codeSpecId).to.be.equal(codeSpec.id);\n\n codeSpec = imodel.codeSpecs.getById(codeSpecId);\n\n expect(codeSpec.scopeReq).to.be.equal(CodeScopeSpec.ScopeRequirement.ElementId);\n expect(codeSpec.scopeType).to.be.equal(CodeScopeSpec.Type.Model);\n expect(codeSpec.isExternal).false;\n\n codeSpec.scopeReq = CodeScopeSpec.ScopeRequirement.FederationGuid;\n codeSpec.scopeType = CodeScopeSpec.Type.Repository;\n imodel.codeSpecs.updateProperties(codeSpec);\n imodel.saveChanges();\n const fname = imodel.pathName;\n imodel.close();\n imodel = StandaloneDb.openFile(fname);\n\n codeSpec = imodel.codeSpecs.getByName(\"PumpTag\");\n expect(codeSpecId).to.be.equal(codeSpec.id);\n expect(codeSpec.name).equal(\"PumpTag\");\n expect(codeSpec.isExternal).true;\n\n expect(codeSpec.scopeReq).to.be.equal(CodeScopeSpec.ScopeRequirement.FederationGuid);\n expect(codeSpec.scopeType).to.be.equal(CodeScopeSpec.Type.Repository);\n\n codeSpec = imodel.codeSpecs.getById(codeSpecId);\n expect(codeSpec.name).to.be.equal(\"PumpTag\");\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"CodeSpec.test.js","sourceRoot":"","sources":["../../../../src/test/codespec/CodeSpec.test.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,IAAI,MAAoB,CAAC;IACzB,MAAM,CAAC,GAAG,EAAE;QACV,MAAM,GAAG,YAAY,CAAC,WAAW,CAAC,eAAe,CAAC,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,EAAE;YAC/F,WAAW,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE;YACtE,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;YAC5B,cAAc,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC,EA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AC,IAAI,CAAC,UAAU,CAAC;QACnD,MAAM,CAAC,SAAS,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAC5C,MAAM,CAAC,WAAW,EAAE,CAAC;QACrB,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC;QAC9B,MAAM,CAAC,KAAK,EAAE,CAAC;QACf,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAEtC,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC5C,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACvC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC;QAEjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;QACrF,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAEtE,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAChD,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","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\nimport { expect } from \"chai\";\r\nimport { Guid, Id64 } from \"@itwin/core-bentley\";\r\nimport { CodeScopeSpec, CodeSpec } from \"@itwin/core-common\";\r\nimport { IModelTestUtils } from \"../IModelTestUtils\";\r\nimport { StandaloneDb } from \"../../IModelDb\";\r\n\r\ndescribe(\"CodeSpec\", () => {\r\n let imodel: StandaloneDb;\r\n before(() => {\r\n imodel = StandaloneDb.createEmpty(IModelTestUtils.prepareOutputFile(\"CodeSpec\", \"CodeSpec.bim\"), {\r\n rootSubject: { name: \"CodeSpec tests\", description: \"CodeSpec tests\" },\r\n client: \"CodeSpec\",\r\n globalOrigin: { x: 0, y: 0 },\r\n projectExtents: { low: { x: -500, y: -500, z: -50 }, high: { x: 500, y: 500, z: 50 } },\r\n guid: Guid.createValue(),\r\n });\r\n });\r\n\r\n after(() => {\r\n imodel.close();\r\n });\r\n\r\n it(\"should insert with default properties and update them later\", () => {\r\n let codeSpec = CodeSpec.create(imodel, \"PumpTag\", CodeScopeSpec.Type.Model);\r\n const codeSpecId = imodel.codeSpecs.insert(codeSpec);\r\n\r\n imodel.saveChanges();\r\n expect(Id64.isValidId64(codeSpecId)).to.be.true;\r\n expect(codeSpecId).to.be.equal(codeSpec.id);\r\n\r\n codeSpec = imodel.codeSpecs.getById(codeSpecId);\r\n\r\n expect(codeSpec.scopeReq).to.be.equal(CodeScopeSpec.ScopeRequirement.ElementId);\r\n expect(codeSpec.scopeType).to.be.equal(CodeScopeSpec.Type.Model);\r\n expect(codeSpec.isExternal).false;\r\n\r\n codeSpec.scopeReq = CodeScopeSpec.ScopeRequirement.FederationGuid;\r\n codeSpec.scopeType = CodeScopeSpec.Type.Repository;\r\n imodel.codeSpecs.updateProperties(codeSpec);\r\n imodel.saveChanges();\r\n const fname = imodel.pathName;\r\n imodel.close();\r\n imodel = StandaloneDb.openFile(fname);\r\n\r\n codeSpec = imodel.codeSpecs.getByName(\"PumpTag\");\r\n expect(codeSpecId).to.be.equal(codeSpec.id);\r\n expect(codeSpec.name).equal(\"PumpTag\");\r\n expect(codeSpec.isExternal).true;\r\n\r\n expect(codeSpec.scopeReq).to.be.equal(CodeScopeSpec.ScopeRequirement.FederationGuid);\r\n expect(codeSpec.scopeType).to.be.equal(CodeScopeSpec.Type.Repository);\r\n\r\n codeSpec = imodel.codeSpecs.getById(codeSpecId);\r\n expect(codeSpec.name).to.be.equal(\"PumpTag\");\r\n });\r\n});\r\n"]}
|
|
@@ -24,17 +24,17 @@ describe("Common table expression support in ECSQL", () => {
|
|
|
24
24
|
imodel1.close();
|
|
25
25
|
});
|
|
26
26
|
it("collect base properties recursively", async () => {
|
|
27
|
-
const query = `
|
|
28
|
-
WITH RECURSIVE
|
|
29
|
-
base_classes (aId, aParentId, aPath, aDepth) AS (
|
|
30
|
-
SELECT c.ECInstanceId, null, c.Name, 0 FROM meta.ECClassDef c WHERE c.Name=?
|
|
31
|
-
UNION ALL
|
|
32
|
-
SELECT c.ECInstanceId, cbc.TargetECInstanceId, aPath || '/' || c.Name, aDepth + 1
|
|
33
|
-
FROM meta.ECClassDef c
|
|
34
|
-
JOIN meta.ClassHasBaseClasses cbc ON cbc.SourceECInstanceId = c.ECInstanceId
|
|
35
|
-
JOIN base_classes ON aId = cbc.TargetECInstanceId
|
|
36
|
-
ORDER BY 1
|
|
37
|
-
)
|
|
27
|
+
const query = `
|
|
28
|
+
WITH RECURSIVE
|
|
29
|
+
base_classes (aId, aParentId, aPath, aDepth) AS (
|
|
30
|
+
SELECT c.ECInstanceId, null, c.Name, 0 FROM meta.ECClassDef c WHERE c.Name=?
|
|
31
|
+
UNION ALL
|
|
32
|
+
SELECT c.ECInstanceId, cbc.TargetECInstanceId, aPath || '/' || c.Name, aDepth + 1
|
|
33
|
+
FROM meta.ECClassDef c
|
|
34
|
+
JOIN meta.ClassHasBaseClasses cbc ON cbc.SourceECInstanceId = c.ECInstanceId
|
|
35
|
+
JOIN base_classes ON aId = cbc.TargetECInstanceId
|
|
36
|
+
ORDER BY 1
|
|
37
|
+
)
|
|
38
38
|
SELECT p.Name prop from base_classes join meta.ECPropertyDef p on p.Class.id = aId GROUP BY p.Name`;
|
|
39
39
|
const rows = await executeQuery(imodel1, query, ["Element"]);
|
|
40
40
|
const expected = ["Angle", "BaseModel", "BBoxHigh", "BBoxLow", "Border", "BorderTemplate", "Category", "CategorySelector", "CodeScope", "CodeSpec", "CodeValue", "Data", "Description", "DisplayStyle", "DrawingModel", "Enabled", "Extents", "EyePoint", "FederationGuid", "Flags", "FocusDistance", "Format", "GeometryStream", "Height", "InSpatialIndex", "IsCameraOn", "IsPrivate", "JsonProperties", "LastMod", "LensAngle", "Model", "ModelSelector", "Name", "Origin", "PaletteName", "Parent", "Pitch", "Properties", "Rank", "Recipe", "RepositoryGuid", "Roll", "Rotation", "RotationAngle", "Scale", "SheetTemplate", "Type", "TypeDefinition", "Url", "UserLabel", "View", "ViewAttachment", "Width", "Yaw"];
|
|
@@ -42,58 +42,58 @@ describe("Common table expression support in ECSQL", () => {
|
|
|
42
42
|
assert.sameOrderedMembers(actual, expected);
|
|
43
43
|
});
|
|
44
44
|
it("generate mandelbrot set", async () => {
|
|
45
|
-
const rows = await executeQuery(imodel1, `
|
|
46
|
-
WITH RECURSIVE
|
|
47
|
-
[xaxis]([x]) AS(
|
|
48
|
-
VALUES (- 2.0)
|
|
49
|
-
UNION ALL
|
|
50
|
-
SELECT [x] + 0.05
|
|
51
|
-
FROM [xaxis]
|
|
52
|
-
WHERE [x] < 1.2
|
|
53
|
-
),
|
|
54
|
-
[yaxis]([y]) AS(
|
|
55
|
-
VALUES (- 1.0)
|
|
56
|
-
UNION ALL
|
|
57
|
-
SELECT [y] + 0.1
|
|
58
|
-
FROM [yaxis]
|
|
59
|
-
WHERE [y] < 1.0
|
|
60
|
-
),
|
|
61
|
-
[m]([iter], [cx], [cy], [x], [y]) AS(
|
|
62
|
-
SELECT
|
|
63
|
-
0,
|
|
64
|
-
[x],
|
|
65
|
-
[y],
|
|
66
|
-
0.0,
|
|
67
|
-
0.0
|
|
68
|
-
FROM [xaxis],
|
|
69
|
-
[yaxis]
|
|
70
|
-
UNION ALL
|
|
71
|
-
SELECT
|
|
72
|
-
[iter] + 1,
|
|
73
|
-
[cx],
|
|
74
|
-
[cy],
|
|
75
|
-
[x] * [x] - [y] * [y] + [cx],
|
|
76
|
-
2.0 * [x] * [y] + [cy]
|
|
77
|
-
FROM [m]
|
|
78
|
-
WHERE ([x] * [x] + [y] * [y]) < 4.0 AND [iter] < 28
|
|
79
|
-
),
|
|
80
|
-
[m2]([iter], [cx], [cy]) AS(
|
|
81
|
-
SELECT
|
|
82
|
-
MAX ([iter]),
|
|
83
|
-
[cx],
|
|
84
|
-
[cy]
|
|
85
|
-
FROM [m]
|
|
86
|
-
GROUP BY
|
|
87
|
-
[cx],
|
|
88
|
-
[cy]
|
|
89
|
-
),
|
|
90
|
-
[a]([t]) AS(
|
|
91
|
-
SELECT GROUP_CONCAT (SUBSTR (' .+*#', 1 + (CASE WHEN [iter] / 7 > 4 THEN 4 ELSE [iter] / 7 END), 1), '')
|
|
92
|
-
FROM [m2]
|
|
93
|
-
GROUP BY [cy]
|
|
94
|
-
)
|
|
95
|
-
SELECT GROUP_CONCAT (RTRIM ([t]), CHAR (0xa)) mandelbrot_set
|
|
96
|
-
FROM [a];
|
|
45
|
+
const rows = await executeQuery(imodel1, `
|
|
46
|
+
WITH RECURSIVE
|
|
47
|
+
[xaxis]([x]) AS(
|
|
48
|
+
VALUES (- 2.0)
|
|
49
|
+
UNION ALL
|
|
50
|
+
SELECT [x] + 0.05
|
|
51
|
+
FROM [xaxis]
|
|
52
|
+
WHERE [x] < 1.2
|
|
53
|
+
),
|
|
54
|
+
[yaxis]([y]) AS(
|
|
55
|
+
VALUES (- 1.0)
|
|
56
|
+
UNION ALL
|
|
57
|
+
SELECT [y] + 0.1
|
|
58
|
+
FROM [yaxis]
|
|
59
|
+
WHERE [y] < 1.0
|
|
60
|
+
),
|
|
61
|
+
[m]([iter], [cx], [cy], [x], [y]) AS(
|
|
62
|
+
SELECT
|
|
63
|
+
0,
|
|
64
|
+
[x],
|
|
65
|
+
[y],
|
|
66
|
+
0.0,
|
|
67
|
+
0.0
|
|
68
|
+
FROM [xaxis],
|
|
69
|
+
[yaxis]
|
|
70
|
+
UNION ALL
|
|
71
|
+
SELECT
|
|
72
|
+
[iter] + 1,
|
|
73
|
+
[cx],
|
|
74
|
+
[cy],
|
|
75
|
+
[x] * [x] - [y] * [y] + [cx],
|
|
76
|
+
2.0 * [x] * [y] + [cy]
|
|
77
|
+
FROM [m]
|
|
78
|
+
WHERE ([x] * [x] + [y] * [y]) < 4.0 AND [iter] < 28
|
|
79
|
+
),
|
|
80
|
+
[m2]([iter], [cx], [cy]) AS(
|
|
81
|
+
SELECT
|
|
82
|
+
MAX ([iter]),
|
|
83
|
+
[cx],
|
|
84
|
+
[cy]
|
|
85
|
+
FROM [m]
|
|
86
|
+
GROUP BY
|
|
87
|
+
[cx],
|
|
88
|
+
[cy]
|
|
89
|
+
),
|
|
90
|
+
[a]([t]) AS(
|
|
91
|
+
SELECT GROUP_CONCAT (SUBSTR (' .+*#', 1 + (CASE WHEN [iter] / 7 > 4 THEN 4 ELSE [iter] / 7 END), 1), '')
|
|
92
|
+
FROM [m2]
|
|
93
|
+
GROUP BY [cy]
|
|
94
|
+
)
|
|
95
|
+
SELECT GROUP_CONCAT (RTRIM ([t]), CHAR (0xa)) mandelbrot_set
|
|
96
|
+
FROM [a];
|
|
97
97
|
`);
|
|
98
98
|
const expected = " ....#\n" +
|
|
99
99
|
" ..#*..\n" +
|
|
@@ -121,34 +121,34 @@ describe("Common table expression support in ECSQL", () => {
|
|
|
121
121
|
});
|
|
122
122
|
it("basic cte test", async () => {
|
|
123
123
|
let rows = [];
|
|
124
|
-
rows = await executeQuery(imodel1, `
|
|
125
|
-
WITH RECURSIVE
|
|
126
|
-
cnt (x,y) AS (
|
|
127
|
-
SELECT 100, 200
|
|
128
|
-
UNION ALL
|
|
129
|
-
SELECT x+1, 200 FROM cnt WHERE x<210
|
|
130
|
-
)
|
|
124
|
+
rows = await executeQuery(imodel1, `
|
|
125
|
+
WITH RECURSIVE
|
|
126
|
+
cnt (x,y) AS (
|
|
127
|
+
SELECT 100, 200
|
|
128
|
+
UNION ALL
|
|
129
|
+
SELECT x+1, 200 FROM cnt WHERE x<210
|
|
130
|
+
)
|
|
131
131
|
SELECT * from cnt`);
|
|
132
132
|
assert(rows.length === 111);
|
|
133
|
-
rows = await executeQuery(imodel1, `
|
|
134
|
-
WITH RECURSIVE
|
|
135
|
-
cnt (x,y) AS (
|
|
136
|
-
SELECT 100, 200
|
|
137
|
-
)
|
|
133
|
+
rows = await executeQuery(imodel1, `
|
|
134
|
+
WITH RECURSIVE
|
|
135
|
+
cnt (x,y) AS (
|
|
136
|
+
SELECT 100, 200
|
|
137
|
+
)
|
|
138
138
|
SELECT * from cnt`);
|
|
139
139
|
let slm = new SequentialLogMatcher();
|
|
140
140
|
// these two are generated by sqlite
|
|
141
141
|
slm.append().error().category("ECDb").message(/BE_SQLITE_ERROR duplicate WITH table name/gm);
|
|
142
142
|
assert(rows.length === 1);
|
|
143
143
|
try {
|
|
144
|
-
rows = await executeQuery(imodel1, `
|
|
145
|
-
WITH
|
|
146
|
-
cte_1 (a,b,c) AS (
|
|
147
|
-
SELECT 100, 400, 300
|
|
148
|
-
),
|
|
149
|
-
cte_1 (a,b,c) AS (
|
|
150
|
-
SELECT 100, 400, 300
|
|
151
|
-
)
|
|
144
|
+
rows = await executeQuery(imodel1, `
|
|
145
|
+
WITH
|
|
146
|
+
cte_1 (a,b,c) AS (
|
|
147
|
+
SELECT 100, 400, 300
|
|
148
|
+
),
|
|
149
|
+
cte_1 (a,b,c) AS (
|
|
150
|
+
SELECT 100, 400, 300
|
|
151
|
+
)
|
|
152
152
|
SELECT * from cte_1`);
|
|
153
153
|
assert(false);
|
|
154
154
|
}
|
|
@@ -160,11 +160,11 @@ describe("Common table expression support in ECSQL", () => {
|
|
|
160
160
|
// these two are generated by ECSQL. Its not clear why this message is logged twice.
|
|
161
161
|
slm.append().error().category("ECDb").message(/Common table 'cte_1' has 3 values for columns 2/gm);
|
|
162
162
|
try {
|
|
163
|
-
rows = await executeQuery(imodel1, `
|
|
164
|
-
WITH
|
|
165
|
-
cte_1 (a,b,c) AS (
|
|
166
|
-
SELECT 100, 400
|
|
167
|
-
)
|
|
163
|
+
rows = await executeQuery(imodel1, `
|
|
164
|
+
WITH
|
|
165
|
+
cte_1 (a,b,c) AS (
|
|
166
|
+
SELECT 100, 400
|
|
167
|
+
)
|
|
168
168
|
SELECT * from cte_1`);
|
|
169
169
|
assert(false);
|
|
170
170
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CTE.test.js","sourceRoot":"","sources":["../../../../src/test/ecdb/CTE.test.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAY,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,8BAA8B;AAE9B,KAAK,UAAU,YAAY,CAAC,MAAgB,EAAE,KAAa,EAAE,QAAyB,EAAE,eAAyB;IAC/G,MAAM,IAAI,GAAU,EAAE,CAAC;IACvB,IAAI,KAAK,EAAE,MAAM,QAAQ,IAAI,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,cAAc,CAAC,kBAAkB,EAAE,eAAe,EAAE,CAAC,EAAE,CAAC;QAC5J,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAC9B,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED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AAC,KAAK,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,6CAA6C,CAAC,CAAC;QAC7F,MAAM,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;QAC1B,IAAI,CAAC;YACH,IAAI,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE;;;;;;;;4BAQb,CAAC,CAAC;YACxB,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACP,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,sDAAsD;QACtE,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;QACtC,GAAG,GAAG,IAAI,oBAAoB,EAAE,CAAC;QACjC,oFAAoF;QACpF,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,mDAAmD,CAAC,CAAC;QACnG,IAAI,CAAC;YACH,IAAI,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE;;;;;4BAKb,CAAC,CAAC;YACxB,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACP,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,oDAAoD;QACpE,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { assert } from \"chai\";\nimport { QueryBinder, QueryRowFormat } from \"@itwin/core-common\";\nimport { IModelDb, SnapshotDb } from \"../../core-backend\";\nimport { IModelTestUtils } from \"../IModelTestUtils\";\nimport { SequentialLogMatcher } from \"../SequentialLogMatcher\";\n\n// cspell:ignore mirukuru ibim\n\nasync function executeQuery(iModel: IModelDb, ecsql: string, bindings?: any[] | object, abbreviateBlobs?: boolean): Promise<any[]> {\n const rows: any[] = [];\n for await (const queryRow of iModel.createQueryReader(ecsql, QueryBinder.from(bindings), { rowFormat: QueryRowFormat.UseJsPropertyNames, abbreviateBlobs })) {\n rows.push(queryRow.toRow());\n }\n return rows;\n}\n\ndescribe(\"Common table expression support in ECSQL\", () => {\n let imodel1: SnapshotDb;\n\n before(async () => {\n imodel1 = SnapshotDb.openFile(IModelTestUtils.resolveAssetFile(\"test.bim\"));\n });\n\n after(async () => {\n imodel1.close();\n });\n it(\"collect base properties recursively\", async () => {\n const query = `\n WITH RECURSIVE\n base_classes (aId, aParentId, aPath, aDepth) AS (\n SELECT c.ECInstanceId, null, c.Name, 0 FROM meta.ECClassDef c WHERE c.Name=?\n UNION ALL\n SELECT c.ECInstanceId, cbc.TargetECInstanceId, aPath || '/' || c.Name, aDepth + 1\n FROM meta.ECClassDef c\n JOIN meta.ClassHasBaseClasses cbc ON cbc.SourceECInstanceId = c.ECInstanceId\n JOIN base_classes ON aId = cbc.TargetECInstanceId\n ORDER BY 1\n )\n SELECT p.Name prop from base_classes join meta.ECPropertyDef p on p.Class.id = aId GROUP BY p.Name` ;\n const rows = await executeQuery(imodel1, query, [\"Element\"]);\n const expected = [\"Angle\", \"BaseModel\", \"BBoxHigh\", \"BBoxLow\", \"Border\", \"BorderTemplate\", \"Category\", \"CategorySelector\", \"CodeScope\", \"CodeSpec\", \"CodeValue\", \"Data\", \"Description\", \"DisplayStyle\", \"DrawingModel\", \"Enabled\", \"Extents\", \"EyePoint\", \"FederationGuid\", \"Flags\", \"FocusDistance\", \"Format\", \"GeometryStream\", \"Height\", \"InSpatialIndex\", \"IsCameraOn\", \"IsPrivate\", \"JsonProperties\", \"LastMod\", \"LensAngle\", \"Model\", \"ModelSelector\", \"Name\", \"Origin\", \"PaletteName\", \"Parent\", \"Pitch\", \"Properties\", \"Rank\", \"Recipe\", \"RepositoryGuid\", \"Roll\", \"Rotation\", \"RotationAngle\", \"Scale\", \"SheetTemplate\", \"Type\", \"TypeDefinition\", \"Url\", \"UserLabel\", \"View\", \"ViewAttachment\", \"Width\", \"Yaw\"];\n const actual = rows.map((r) => r.prop);\n assert.sameOrderedMembers(actual, expected);\n });\n\n it(\"generate mandelbrot set\", async () => {\n const rows = await executeQuery(imodel1, `\n WITH RECURSIVE\n [xaxis]([x]) AS(\n VALUES (- 2.0)\n UNION ALL\n SELECT [x] + 0.05\n FROM [xaxis]\n WHERE [x] < 1.2\n ),\n [yaxis]([y]) AS(\n VALUES (- 1.0)\n UNION ALL\n SELECT [y] + 0.1\n FROM [yaxis]\n WHERE [y] < 1.0\n ),\n [m]([iter], [cx], [cy], [x], [y]) AS(\n SELECT\n 0,\n [x],\n [y],\n 0.0,\n 0.0\n FROM [xaxis],\n [yaxis]\n UNION ALL\n SELECT\n [iter] + 1,\n [cx],\n [cy],\n [x] * [x] - [y] * [y] + [cx],\n 2.0 * [x] * [y] + [cy]\n FROM [m]\n WHERE ([x] * [x] + [y] * [y]) < 4.0 AND [iter] < 28\n ),\n [m2]([iter], [cx], [cy]) AS(\n SELECT\n MAX ([iter]),\n [cx],\n [cy]\n FROM [m]\n GROUP BY\n [cx],\n [cy]\n ),\n [a]([t]) AS(\n SELECT GROUP_CONCAT (SUBSTR (' .+*#', 1 + (CASE WHEN [iter] / 7 > 4 THEN 4 ELSE [iter] / 7 END), 1), '')\n FROM [m2]\n GROUP BY [cy]\n )\n SELECT GROUP_CONCAT (RTRIM ([t]), CHAR (0xa)) mandelbrot_set\n FROM [a];\n `);\n\n const expected =\n \" ....#\\n\" +\n \" ..#*..\\n\" +\n \" ..+####+.\\n\" +\n \" .......+####.... +\\n\" +\n \" ..##+*##########+.++++\\n\" +\n \" .+.##################+.\\n\" +\n \" .............+###################+.+\\n\" +\n \" ..++..#.....*#####################+.\\n\" +\n \" ...+#######++#######################.\\n\" +\n \" ....+*################################.\\n\" +\n \" #############################################...\\n\" +\n \" ....+*################################.\\n\" +\n \" ...+#######++#######################.\\n\" +\n \" ..++..#.....*#####################+.\\n\" +\n \" .............+###################+.+\\n\" +\n \" .+.##################+.\\n\" +\n \" ..##+*##########+.++++\\n\" +\n \" .......+####.... +\\n\" +\n \" ..+####+.\\n\" +\n \" ..#*..\\n\" +\n \" ....#\\n\" +\n \" +.\";\n assert(rows[0].mandelbrot_set === expected);\n });\n\n it(\"basic cte test\", async () => {\n let rows = [];\n rows = await executeQuery(imodel1, `\n WITH RECURSIVE\n cnt (x,y) AS (\n SELECT 100, 200\n UNION ALL\n SELECT x+1, 200 FROM cnt WHERE x<210\n )\n SELECT * from cnt`);\n assert(rows.length === 111);\n\n rows = await executeQuery(imodel1, `\n WITH RECURSIVE\n cnt (x,y) AS (\n SELECT 100, 200\n )\n SELECT * from cnt`);\n\n let slm = new SequentialLogMatcher();\n // these two are generated by sqlite\n slm.append().error().category(\"ECDb\").message(/BE_SQLITE_ERROR duplicate WITH table name/gm);\n assert(rows.length === 1);\n try {\n rows = await executeQuery(imodel1, `\n WITH\n cte_1 (a,b,c) AS (\n SELECT 100, 400, 300\n ),\n cte_1 (a,b,c) AS (\n SELECT 100, 400, 300\n )\n SELECT * from cte_1`);\n assert(false);\n } catch {\n assert(true); // should fail as cte_1 is used for two ct expression.\n }\n assert.isTrue(slm.finishAndDispose());\n slm = new SequentialLogMatcher();\n // these two are generated by ECSQL. Its not clear why this message is logged twice.\n slm.append().error().category(\"ECDb\").message(/Common table 'cte_1' has 3 values for columns 2/gm);\n try {\n rows = await executeQuery(imodel1, `\n WITH\n cte_1 (a,b,c) AS (\n SELECT 100, 400\n )\n SELECT * from cte_1`);\n assert(false);\n } catch {\n assert(true); // number are to ct expression does not match select\n }\n assert.isTrue(slm.finishAndDispose());\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"CTE.test.js","sourceRoot":"","sources":["../../../../src/test/ecdb/CTE.test.ts"],"names":[],"mapp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;QACpF,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,mDAAmD,CAAC,CAAC;QACnG,IAAI,CAAC;YACH,IAAI,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE;;;;;4BAKb,CAAC,CAAC;YACxB,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACP,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,oDAAoD;QACpE,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","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\nimport { assert } from \"chai\";\r\nimport { QueryBinder, QueryRowFormat } from \"@itwin/core-common\";\r\nimport { IModelDb, SnapshotDb } from \"../../core-backend\";\r\nimport { IModelTestUtils } from \"../IModelTestUtils\";\r\nimport { SequentialLogMatcher } from \"../SequentialLogMatcher\";\r\n\r\n// cspell:ignore mirukuru ibim\r\n\r\nasync function executeQuery(iModel: IModelDb, ecsql: string, bindings?: any[] | object, abbreviateBlobs?: boolean): Promise<any[]> {\r\n const rows: any[] = [];\r\n for await (const queryRow of iModel.createQueryReader(ecsql, QueryBinder.from(bindings), { rowFormat: QueryRowFormat.UseJsPropertyNames, abbreviateBlobs })) {\r\n rows.push(queryRow.toRow());\r\n }\r\n return rows;\r\n}\r\n\r\ndescribe(\"Common table expression support in ECSQL\", () => {\r\n let imodel1: SnapshotDb;\r\n\r\n before(async () => {\r\n imodel1 = SnapshotDb.openFile(IModelTestUtils.resolveAssetFile(\"test.bim\"));\r\n });\r\n\r\n after(async () => {\r\n imodel1.close();\r\n });\r\n it(\"collect base properties recursively\", async () => {\r\n const query = `\r\n WITH RECURSIVE\r\n base_classes (aId, aParentId, aPath, aDepth) AS (\r\n SELECT c.ECInstanceId, null, c.Name, 0 FROM meta.ECClassDef c WHERE c.Name=?\r\n UNION ALL\r\n SELECT c.ECInstanceId, cbc.TargetECInstanceId, aPath || '/' || c.Name, aDepth + 1\r\n FROM meta.ECClassDef c\r\n JOIN meta.ClassHasBaseClasses cbc ON cbc.SourceECInstanceId = c.ECInstanceId\r\n JOIN base_classes ON aId = cbc.TargetECInstanceId\r\n ORDER BY 1\r\n )\r\n SELECT p.Name prop from base_classes join meta.ECPropertyDef p on p.Class.id = aId GROUP BY p.Name` ;\r\n const rows = await executeQuery(imodel1, query, [\"Element\"]);\r\n const expected = [\"Angle\", \"BaseModel\", \"BBoxHigh\", \"BBoxLow\", \"Border\", \"BorderTemplate\", \"Category\", \"CategorySelector\", \"CodeScope\", \"CodeSpec\", \"CodeValue\", \"Data\", \"Description\", \"DisplayStyle\", \"DrawingModel\", \"Enabled\", \"Extents\", \"EyePoint\", \"FederationGuid\", \"Flags\", \"FocusDistance\", \"Format\", \"GeometryStream\", \"Height\", \"InSpatialIndex\", \"IsCameraOn\", \"IsPrivate\", \"JsonProperties\", \"LastMod\", \"LensAngle\", \"Model\", \"ModelSelector\", \"Name\", \"Origin\", \"PaletteName\", \"Parent\", \"Pitch\", \"Properties\", \"Rank\", \"Recipe\", \"RepositoryGuid\", \"Roll\", \"Rotation\", \"RotationAngle\", \"Scale\", \"SheetTemplate\", \"Type\", \"TypeDefinition\", \"Url\", \"UserLabel\", \"View\", \"ViewAttachment\", \"Width\", \"Yaw\"];\r\n const actual = rows.map((r) => r.prop);\r\n assert.sameOrderedMembers(actual, expected);\r\n });\r\n\r\n it(\"generate mandelbrot set\", async () => {\r\n const rows = await executeQuery(imodel1, `\r\n WITH RECURSIVE\r\n [xaxis]([x]) AS(\r\n VALUES (- 2.0)\r\n UNION ALL\r\n SELECT [x] + 0.05\r\n FROM [xaxis]\r\n WHERE [x] < 1.2\r\n ),\r\n [yaxis]([y]) AS(\r\n VALUES (- 1.0)\r\n UNION ALL\r\n SELECT [y] + 0.1\r\n FROM [yaxis]\r\n WHERE [y] < 1.0\r\n ),\r\n [m]([iter], [cx], [cy], [x], [y]) AS(\r\n SELECT\r\n 0,\r\n [x],\r\n [y],\r\n 0.0,\r\n 0.0\r\n FROM [xaxis],\r\n [yaxis]\r\n UNION ALL\r\n SELECT\r\n [iter] + 1,\r\n [cx],\r\n [cy],\r\n [x] * [x] - [y] * [y] + [cx],\r\n 2.0 * [x] * [y] + [cy]\r\n FROM [m]\r\n WHERE ([x] * [x] + [y] * [y]) < 4.0 AND [iter] < 28\r\n ),\r\n [m2]([iter], [cx], [cy]) AS(\r\n SELECT\r\n MAX ([iter]),\r\n [cx],\r\n [cy]\r\n FROM [m]\r\n GROUP BY\r\n [cx],\r\n [cy]\r\n ),\r\n [a]([t]) AS(\r\n SELECT GROUP_CONCAT (SUBSTR (' .+*#', 1 + (CASE WHEN [iter] / 7 > 4 THEN 4 ELSE [iter] / 7 END), 1), '')\r\n FROM [m2]\r\n GROUP BY [cy]\r\n )\r\n SELECT GROUP_CONCAT (RTRIM ([t]), CHAR (0xa)) mandelbrot_set\r\n FROM [a];\r\n `);\r\n\r\n const expected =\r\n \" ....#\\n\" +\r\n \" ..#*..\\n\" +\r\n \" ..+####+.\\n\" +\r\n \" .......+####.... +\\n\" +\r\n \" ..##+*##########+.++++\\n\" +\r\n \" .+.##################+.\\n\" +\r\n \" .............+###################+.+\\n\" +\r\n \" ..++..#.....*#####################+.\\n\" +\r\n \" ...+#######++#######################.\\n\" +\r\n \" ....+*################################.\\n\" +\r\n \" #############################################...\\n\" +\r\n \" ....+*################################.\\n\" +\r\n \" ...+#######++#######################.\\n\" +\r\n \" ..++..#.....*#####################+.\\n\" +\r\n \" .............+###################+.+\\n\" +\r\n \" .+.##################+.\\n\" +\r\n \" ..##+*##########+.++++\\n\" +\r\n \" .......+####.... +\\n\" +\r\n \" ..+####+.\\n\" +\r\n \" ..#*..\\n\" +\r\n \" ....#\\n\" +\r\n \" +.\";\r\n assert(rows[0].mandelbrot_set === expected);\r\n });\r\n\r\n it(\"basic cte test\", async () => {\r\n let rows = [];\r\n rows = await executeQuery(imodel1, `\r\n WITH RECURSIVE\r\n cnt (x,y) AS (\r\n SELECT 100, 200\r\n UNION ALL\r\n SELECT x+1, 200 FROM cnt WHERE x<210\r\n )\r\n SELECT * from cnt`);\r\n assert(rows.length === 111);\r\n\r\n rows = await executeQuery(imodel1, `\r\n WITH RECURSIVE\r\n cnt (x,y) AS (\r\n SELECT 100, 200\r\n )\r\n SELECT * from cnt`);\r\n\r\n let slm = new SequentialLogMatcher();\r\n // these two are generated by sqlite\r\n slm.append().error().category(\"ECDb\").message(/BE_SQLITE_ERROR duplicate WITH table name/gm);\r\n assert(rows.length === 1);\r\n try {\r\n rows = await executeQuery(imodel1, `\r\n WITH\r\n cte_1 (a,b,c) AS (\r\n SELECT 100, 400, 300\r\n ),\r\n cte_1 (a,b,c) AS (\r\n SELECT 100, 400, 300\r\n )\r\n SELECT * from cte_1`);\r\n assert(false);\r\n } catch {\r\n assert(true); // should fail as cte_1 is used for two ct expression.\r\n }\r\n assert.isTrue(slm.finishAndDispose());\r\n slm = new SequentialLogMatcher();\r\n // these two are generated by ECSQL. Its not clear why this message is logged twice.\r\n slm.append().error().category(\"ECDb\").message(/Common table 'cte_1' has 3 values for columns 2/gm);\r\n try {\r\n rows = await executeQuery(imodel1, `\r\n WITH\r\n cte_1 (a,b,c) AS (\r\n SELECT 100, 400\r\n )\r\n SELECT * from cte_1`);\r\n assert(false);\r\n } catch {\r\n assert(true); // number are to ct expression does not match select\r\n }\r\n assert.isTrue(slm.finishAndDispose());\r\n });\r\n});\r\n"]}
|