@itwin/core-backend 5.0.0-dev.55 → 5.0.0-dev.57
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 +2 -0
- package/lib/cjs/BackendHubAccess.js.map +1 -1
- package/lib/cjs/BriefcaseManager.js +3 -1
- package/lib/cjs/BriefcaseManager.js.map +1 -1
- package/lib/cjs/Category.js +6 -1
- package/lib/cjs/Category.js.map +1 -1
- package/lib/cjs/ChangeSummaryManager.js +1 -1
- package/lib/cjs/ChangeSummaryManager.js.map +1 -1
- package/lib/cjs/ChangedElementsDb.js +1 -0
- package/lib/cjs/ChangedElementsDb.js.map +1 -1
- package/lib/cjs/ChangesetECAdaptor.js +30 -18
- package/lib/cjs/ChangesetECAdaptor.js.map +1 -1
- package/lib/cjs/CheckpointManager.js +6 -5
- package/lib/cjs/CheckpointManager.js.map +1 -1
- package/lib/cjs/ClassRegistry.js +4 -8
- package/lib/cjs/ClassRegistry.js.map +1 -1
- package/lib/cjs/CloudSqlite.js +15 -8
- package/lib/cjs/CloudSqlite.js.map +1 -1
- package/lib/cjs/CodeService.js +4 -0
- package/lib/cjs/CodeService.js.map +1 -1
- package/lib/cjs/CodeSpecs.js +3 -2
- package/lib/cjs/CodeSpecs.js.map +1 -1
- package/lib/cjs/CustomViewState3dCreator.js +7 -6
- package/lib/cjs/CustomViewState3dCreator.js.map +1 -1
- package/lib/cjs/DevTools.js +6 -6
- package/lib/cjs/DevTools.js.map +1 -1
- package/lib/cjs/DisplayStyle.js +2 -0
- package/lib/cjs/DisplayStyle.js.map +1 -1
- package/lib/cjs/ECDb.js +3 -2
- package/lib/cjs/ECDb.js.map +1 -1
- package/lib/cjs/ECSchemaXmlContext.js +1 -0
- package/lib/cjs/ECSchemaXmlContext.js.map +1 -1
- package/lib/cjs/ECSqlStatement.js +8 -3
- package/lib/cjs/ECSqlStatement.js.map +1 -1
- package/lib/cjs/Element.d.ts +1 -9
- package/lib/cjs/Element.d.ts.map +1 -1
- package/lib/cjs/Element.js +105 -12
- package/lib/cjs/Element.js.map +1 -1
- package/lib/cjs/ElementAspect.js +24 -0
- package/lib/cjs/ElementAspect.js.map +1 -1
- package/lib/cjs/ElementTreeWalker.js +13 -12
- package/lib/cjs/ElementTreeWalker.js.map +1 -1
- package/lib/cjs/Entity.js +22 -16
- package/lib/cjs/Entity.js.map +1 -1
- package/lib/cjs/ExportGraphics.js +4 -0
- package/lib/cjs/ExportGraphics.js.map +1 -1
- package/lib/cjs/ExternalSource.js +22 -0
- package/lib/cjs/ExternalSource.js.map +1 -1
- package/lib/cjs/GeoCoordConfig.js +4 -4
- package/lib/cjs/GeoCoordConfig.js.map +1 -1
- package/lib/cjs/GeometrySummary.js +6 -3
- package/lib/cjs/GeometrySummary.js.map +1 -1
- package/lib/cjs/HubMock.js +4 -1
- package/lib/cjs/HubMock.js.map +1 -1
- package/lib/cjs/IModelDb.js +65 -35
- package/lib/cjs/IModelDb.js.map +1 -1
- package/lib/cjs/IModelElementCloneContext.js +6 -0
- package/lib/cjs/IModelElementCloneContext.js.map +1 -1
- package/lib/cjs/IModelHost.js +49 -22
- package/lib/cjs/IModelHost.js.map +1 -1
- package/lib/cjs/IModelJsFs.js +9 -0
- package/lib/cjs/IModelJsFs.js.map +1 -1
- package/lib/cjs/IpcHost.js +3 -5
- package/lib/cjs/IpcHost.js.map +1 -1
- package/lib/cjs/LocalHub.js +8 -2
- package/lib/cjs/LocalHub.js.map +1 -1
- package/lib/cjs/LocalhostIpcHost.js +5 -6
- package/lib/cjs/LocalhostIpcHost.js.map +1 -1
- package/lib/cjs/Material.js +40 -0
- package/lib/cjs/Material.js.map +1 -1
- package/lib/cjs/Model.d.ts +1 -1
- package/lib/cjs/Model.d.ts.map +1 -1
- package/lib/cjs/Model.js +27 -2
- package/lib/cjs/Model.js.map +1 -1
- package/lib/cjs/NativeAppStorage.js +5 -3
- package/lib/cjs/NativeAppStorage.js.map +1 -1
- package/lib/cjs/NativeHost.js +5 -2
- package/lib/cjs/NativeHost.js.map +1 -1
- package/lib/cjs/NavigationRelationship.js +25 -25
- package/lib/cjs/NavigationRelationship.js.map +1 -1
- package/lib/cjs/PromiseMemoizer.js +11 -4
- package/lib/cjs/PromiseMemoizer.js.map +1 -1
- package/lib/cjs/PropertyStore.js +1 -4
- package/lib/cjs/PropertyStore.js.map +1 -1
- package/lib/cjs/Relationship.js +12 -0
- package/lib/cjs/Relationship.js.map +1 -1
- package/lib/cjs/SQLiteDb.js +4 -8
- package/lib/cjs/SQLiteDb.js.map +1 -1
- package/lib/cjs/Schema.js +1 -1
- package/lib/cjs/Schema.js.map +1 -1
- package/lib/cjs/SchemaSync.js +1 -4
- package/lib/cjs/SchemaSync.js.map +1 -1
- package/lib/cjs/SheetIndex.js +6 -0
- package/lib/cjs/SheetIndex.js.map +1 -1
- package/lib/cjs/SqliteChangesetReader.js +5 -4
- package/lib/cjs/SqliteChangesetReader.js.map +1 -1
- package/lib/cjs/SqliteStatement.js +8 -0
- package/lib/cjs/SqliteStatement.js.map +1 -1
- package/lib/cjs/TextAnnotationLayout.js +25 -8
- package/lib/cjs/TextAnnotationLayout.js.map +1 -1
- package/lib/cjs/Texture.js +3 -0
- package/lib/cjs/Texture.js.map +1 -1
- package/lib/cjs/TileStorage.js +6 -1
- package/lib/cjs/TileStorage.js.map +1 -1
- package/lib/cjs/TxnManager.js +67 -58
- package/lib/cjs/TxnManager.js.map +1 -1
- package/lib/cjs/ViewDefinition.d.ts +6 -6
- package/lib/cjs/ViewDefinition.d.ts.map +1 -1
- package/lib/cjs/ViewDefinition.js +68 -10
- package/lib/cjs/ViewDefinition.js.map +1 -1
- package/lib/cjs/ViewStateHydrator.js +1 -0
- package/lib/cjs/ViewStateHydrator.js.map +1 -1
- package/lib/cjs/ViewStore.js +3 -1
- package/lib/cjs/ViewStore.js.map +1 -1
- package/lib/cjs/domains/FunctionalElements.js +1 -1
- package/lib/cjs/domains/FunctionalElements.js.map +1 -1
- package/lib/cjs/internal/ChangesetConflictArgs.js +2 -0
- package/lib/cjs/internal/ChangesetConflictArgs.js.map +1 -1
- package/lib/cjs/internal/ChannelAdmin.js +7 -7
- package/lib/cjs/internal/ChannelAdmin.js.map +1 -1
- package/lib/cjs/internal/FontFileImpl.js +4 -3
- package/lib/cjs/internal/FontFileImpl.js.map +1 -1
- package/lib/cjs/internal/IModelDbFontsImpl.js +1 -3
- package/lib/cjs/internal/IModelDbFontsImpl.js.map +1 -1
- package/lib/cjs/internal/NoLocks.js +2 -5
- package/lib/cjs/internal/NoLocks.js.map +1 -1
- package/lib/cjs/internal/ServerBasedLocks.js +4 -4
- package/lib/cjs/internal/ServerBasedLocks.js.map +1 -1
- package/lib/cjs/internal/workspace/SettingsImpl.js +6 -9
- package/lib/cjs/internal/workspace/SettingsImpl.js.map +1 -1
- package/lib/cjs/internal/workspace/SettingsSchemasImpl.js +8 -12
- package/lib/cjs/internal/workspace/SettingsSchemasImpl.js.map +1 -1
- package/lib/cjs/internal/workspace/WorkspaceImpl.js +22 -17
- package/lib/cjs/internal/workspace/WorkspaceImpl.js.map +1 -1
- package/lib/cjs/internal/workspace/WorkspaceSqliteDb.js +1 -4
- package/lib/cjs/internal/workspace/WorkspaceSqliteDb.js.map +1 -1
- package/lib/cjs/rpc/tracing.js +1 -1
- package/lib/cjs/rpc/tracing.js.map +1 -1
- package/lib/cjs/rpc-impl/IModelReadRpcImpl.js +2 -0
- package/lib/cjs/rpc-impl/IModelReadRpcImpl.js.map +1 -1
- package/lib/cjs/rpc-impl/IModelTileRpcImpl.js +3 -1
- package/lib/cjs/rpc-impl/IModelTileRpcImpl.js.map +1 -1
- package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js +1 -1
- package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
- package/package.json +11 -11
package/lib/cjs/Element.js
CHANGED
|
@@ -44,6 +44,18 @@ class Element extends Entity_1.Entity {
|
|
|
44
44
|
static get className() { return "Element"; }
|
|
45
45
|
/** @internal */
|
|
46
46
|
static get protectedOperations() { return ["onInsert", "onUpdate", "onDelete"]; }
|
|
47
|
+
/** The ModelId of the [Model]($docs/bis/guide/fundamentals/model-fundamentals.md) containing this element */
|
|
48
|
+
model;
|
|
49
|
+
/** The [Code]($docs/bis/guide/fundamentals/codes.md) for this element */
|
|
50
|
+
code;
|
|
51
|
+
/** The parent element, if present, of this element. */
|
|
52
|
+
parent;
|
|
53
|
+
/** A [FederationGuid]($docs/bis/guide/fundamentals/element-fundamentals.md#federationguid) assigned to this element by some other federated database */
|
|
54
|
+
federationGuid;
|
|
55
|
+
/** A [user-assigned label]($docs/bis/guide/fundamentals/element-fundamentals.md#userlabel) for this element. */
|
|
56
|
+
userLabel;
|
|
57
|
+
/** Optional [json properties]($docs/bis/guide/fundamentals/element-fundamentals.md#jsonproperties) of this element. */
|
|
58
|
+
jsonProperties;
|
|
47
59
|
constructor(props, iModel) {
|
|
48
60
|
super(props, iModel);
|
|
49
61
|
this.code = core_common_1.Code.fromJSON(props.code); // TODO: Validate props.code - don't silently fail if it is the wrong type
|
|
@@ -265,15 +277,15 @@ class Element extends Entity_1.Entity {
|
|
|
265
277
|
* @note any property listed here must be added to the reference ids in [[collectReferenceIds]]
|
|
266
278
|
* @beta
|
|
267
279
|
*/
|
|
268
|
-
static
|
|
280
|
+
static requiredReferenceKeys = ["parent", "model"];
|
|
269
281
|
/** A map of every [[requiredReferenceKeys]] on this class to their entity type.
|
|
270
282
|
* @note This should be overridden (with `super` called) at each level of the class hierarchy that introduces required references.
|
|
271
283
|
* @alpha
|
|
272
284
|
*/
|
|
273
|
-
static
|
|
285
|
+
static requiredReferenceKeyTypeMap = {
|
|
274
286
|
parent: core_common_1.ConcreteEntityTypes.Element,
|
|
275
287
|
model: core_common_1.ConcreteEntityTypes.Model,
|
|
276
|
-
};
|
|
288
|
+
};
|
|
277
289
|
/** Get the class metadata for this element. */
|
|
278
290
|
getClassMetaData() { return this.iModel.classMetaDataRegistry.find(this.classFullName); }
|
|
279
291
|
getAllUserProperties() {
|
|
@@ -327,6 +339,10 @@ exports.Element = Element;
|
|
|
327
339
|
*/
|
|
328
340
|
class GeometricElement extends Element {
|
|
329
341
|
static get className() { return "GeometricElement"; }
|
|
342
|
+
/** The Id of the [[Category]] for this GeometricElement. */
|
|
343
|
+
category;
|
|
344
|
+
/** The GeometryStream for this GeometricElement. */
|
|
345
|
+
geom;
|
|
330
346
|
constructor(props, iModel) {
|
|
331
347
|
super(props, iModel);
|
|
332
348
|
this.category = core_bentley_1.Id64.fromJSON(props.category);
|
|
@@ -352,12 +368,12 @@ class GeometricElement extends Element {
|
|
|
352
368
|
// TODO: GeometryPartIds?
|
|
353
369
|
}
|
|
354
370
|
/** @beta */
|
|
355
|
-
static
|
|
371
|
+
static requiredReferenceKeys = [...super.requiredReferenceKeys, "category"];
|
|
356
372
|
/** @alpha */
|
|
357
|
-
static
|
|
373
|
+
static requiredReferenceKeyTypeMap = {
|
|
358
374
|
...super.requiredReferenceKeyTypeMap,
|
|
359
375
|
category: core_common_1.ConcreteEntityTypes.Element,
|
|
360
|
-
};
|
|
376
|
+
};
|
|
361
377
|
}
|
|
362
378
|
exports.GeometricElement = GeometricElement;
|
|
363
379
|
/** An abstract base class to model real world entities that intrinsically have 3d geometry.
|
|
@@ -366,6 +382,8 @@ exports.GeometricElement = GeometricElement;
|
|
|
366
382
|
*/
|
|
367
383
|
class GeometricElement3d extends GeometricElement {
|
|
368
384
|
static get className() { return "GeometricElement3d"; }
|
|
385
|
+
placement;
|
|
386
|
+
typeDefinition;
|
|
369
387
|
constructor(props, iModel) {
|
|
370
388
|
super(props, iModel);
|
|
371
389
|
this.placement = core_common_1.Placement3d.fromJSON(props.placement);
|
|
@@ -399,6 +417,8 @@ exports.GraphicalElement3d = GraphicalElement3d;
|
|
|
399
417
|
*/
|
|
400
418
|
class GeometricElement2d extends GeometricElement {
|
|
401
419
|
static get className() { return "GeometricElement2d"; }
|
|
420
|
+
placement;
|
|
421
|
+
typeDefinition;
|
|
402
422
|
constructor(props, iModel) {
|
|
403
423
|
super(props, iModel);
|
|
404
424
|
this.placement = core_common_1.Placement2d.fromJSON(props.placement);
|
|
@@ -456,6 +476,8 @@ exports.SpatialElement = SpatialElement;
|
|
|
456
476
|
*/
|
|
457
477
|
class PhysicalElement extends SpatialElement {
|
|
458
478
|
static get className() { return "PhysicalElement"; }
|
|
479
|
+
/** If defined, the [[PhysicalMaterial]] that makes up this PhysicalElement. */
|
|
480
|
+
physicalMaterial;
|
|
459
481
|
constructor(props, iModel) {
|
|
460
482
|
super(props, iModel);
|
|
461
483
|
this.physicalMaterial = core_common_1.RelatedElement.fromJSON(props.physicalMaterial);
|
|
@@ -489,6 +511,8 @@ exports.VolumeElement = VolumeElement;
|
|
|
489
511
|
* @public
|
|
490
512
|
*/
|
|
491
513
|
class SectionDrawingLocation extends SpatialLocationElement {
|
|
514
|
+
/** The Id of the [[ViewDefinition]] to which this location refers. */
|
|
515
|
+
sectionView;
|
|
492
516
|
static get className() { return "SectionDrawingLocation"; }
|
|
493
517
|
constructor(props, iModel) {
|
|
494
518
|
super(props, iModel);
|
|
@@ -535,7 +559,11 @@ exports.InformationReferenceElement = InformationReferenceElement;
|
|
|
535
559
|
*/
|
|
536
560
|
class Subject extends InformationReferenceElement {
|
|
537
561
|
static get className() { return "Subject"; }
|
|
538
|
-
|
|
562
|
+
description;
|
|
563
|
+
constructor(props, iModel) {
|
|
564
|
+
super(props, iModel);
|
|
565
|
+
this.description = props.description;
|
|
566
|
+
}
|
|
539
567
|
toJSON() {
|
|
540
568
|
return super.toJSON(); // Entity.toJSON takes care of auto-handled properties
|
|
541
569
|
}
|
|
@@ -637,6 +665,21 @@ exports.Drawing = Drawing;
|
|
|
637
665
|
* @public
|
|
638
666
|
*/
|
|
639
667
|
class SectionDrawing extends Drawing {
|
|
668
|
+
/** The type of section used to generate the drawing. */
|
|
669
|
+
sectionType;
|
|
670
|
+
/** The spatial view from which the section was generated. */
|
|
671
|
+
spatialView;
|
|
672
|
+
/** A transform from the section drawing model's coordinates to spatial coordinates. */
|
|
673
|
+
drawingToSpatialTransform;
|
|
674
|
+
/** If the section drawing is placed onto a [[Sheet]] via a [[ViewAttachment]], a transform from the sheet's coordinates to spatial coordinates. */
|
|
675
|
+
sheetToSpatialTransform;
|
|
676
|
+
/** If the section drawing is placed onto a [[Sheet]] via a [[ViewAttachment]], the clip to apply to the sheet graphics when drawn in the context
|
|
677
|
+
* of the spatial view.
|
|
678
|
+
* @note The ClipVector is defined in spatial coordinates.
|
|
679
|
+
*/
|
|
680
|
+
drawingBoundaryClip;
|
|
681
|
+
/** If true, when displaying the section drawing as a [DrawingViewState]($frontend), the [[spatialView]] will also be displayed. */
|
|
682
|
+
displaySpatialView;
|
|
640
683
|
static get className() { return "SectionDrawing"; }
|
|
641
684
|
static get drawingModelFullClassName() { return Model_1.SectionDrawingModel.classFullName; }
|
|
642
685
|
constructor(props, iModel) {
|
|
@@ -675,7 +718,13 @@ exports.SectionDrawing = SectionDrawing;
|
|
|
675
718
|
*/
|
|
676
719
|
class SheetBorderTemplate extends Document {
|
|
677
720
|
static get className() { return "SheetBorderTemplate"; }
|
|
678
|
-
|
|
721
|
+
height;
|
|
722
|
+
width;
|
|
723
|
+
constructor(props, iModel) {
|
|
724
|
+
super(props, iModel);
|
|
725
|
+
this.height = props.height;
|
|
726
|
+
this.width = props.width;
|
|
727
|
+
}
|
|
679
728
|
}
|
|
680
729
|
exports.SheetBorderTemplate = SheetBorderTemplate;
|
|
681
730
|
/** The template for a [[Sheet]]
|
|
@@ -683,7 +732,15 @@ exports.SheetBorderTemplate = SheetBorderTemplate;
|
|
|
683
732
|
*/
|
|
684
733
|
class SheetTemplate extends Document {
|
|
685
734
|
static get className() { return "SheetTemplate"; }
|
|
686
|
-
|
|
735
|
+
height;
|
|
736
|
+
width;
|
|
737
|
+
border;
|
|
738
|
+
constructor(props, iModel) {
|
|
739
|
+
super(props, iModel);
|
|
740
|
+
this.height = props.height;
|
|
741
|
+
this.width = props.width;
|
|
742
|
+
this.border = props.border;
|
|
743
|
+
}
|
|
687
744
|
collectReferenceIds(referenceIds) {
|
|
688
745
|
super.collectReferenceIds(referenceIds);
|
|
689
746
|
if (undefined !== this.border)
|
|
@@ -696,6 +753,10 @@ exports.SheetTemplate = SheetTemplate;
|
|
|
696
753
|
*/
|
|
697
754
|
class Sheet extends Document {
|
|
698
755
|
static get className() { return "Sheet"; }
|
|
756
|
+
height;
|
|
757
|
+
width;
|
|
758
|
+
scale;
|
|
759
|
+
sheetTemplate;
|
|
699
760
|
constructor(props, iModel) {
|
|
700
761
|
super(props, iModel);
|
|
701
762
|
this.height = core_bentley_1.JsonUtils.asDouble(props.height);
|
|
@@ -733,6 +794,8 @@ exports.InformationRecordElement = InformationRecordElement;
|
|
|
733
794
|
*/
|
|
734
795
|
class DefinitionElement extends InformationContentElement {
|
|
735
796
|
static get className() { return "DefinitionElement"; }
|
|
797
|
+
/** If true, don't show this DefinitionElement in user interface lists. */
|
|
798
|
+
isPrivate;
|
|
736
799
|
constructor(props, iModel) {
|
|
737
800
|
super(props, iModel);
|
|
738
801
|
this.isPrivate = true === props.isPrivate;
|
|
@@ -829,7 +892,11 @@ exports.DefinitionGroup = DefinitionGroup;
|
|
|
829
892
|
*/
|
|
830
893
|
class TypeDefinitionElement extends DefinitionElement {
|
|
831
894
|
static get className() { return "TypeDefinitionElement"; }
|
|
832
|
-
|
|
895
|
+
recipe;
|
|
896
|
+
constructor(props, iModel) {
|
|
897
|
+
super(props, iModel);
|
|
898
|
+
this.recipe = this.recipe;
|
|
899
|
+
}
|
|
833
900
|
collectReferenceIds(referenceIds) {
|
|
834
901
|
super.collectReferenceIds(referenceIds);
|
|
835
902
|
if (undefined !== this.recipe)
|
|
@@ -852,6 +919,8 @@ exports.RecipeDefinitionElement = RecipeDefinitionElement;
|
|
|
852
919
|
*/
|
|
853
920
|
class PhysicalType extends TypeDefinitionElement {
|
|
854
921
|
static get className() { return "PhysicalType"; }
|
|
922
|
+
/** If defined, the [[PhysicalMaterial]] that makes up this PhysicalType. */
|
|
923
|
+
physicalMaterial;
|
|
855
924
|
constructor(props, iModel) {
|
|
856
925
|
super(props, iModel);
|
|
857
926
|
this.physicalMaterial = core_common_1.RelatedElement.fromJSON(props.physicalMaterial);
|
|
@@ -1013,7 +1082,12 @@ exports.TemplateRecipe2d = TemplateRecipe2d;
|
|
|
1013
1082
|
*/
|
|
1014
1083
|
class InformationPartitionElement extends InformationContentElement {
|
|
1015
1084
|
static get className() { return "InformationPartitionElement"; }
|
|
1016
|
-
|
|
1085
|
+
/** A human-readable string describing the intent of the partition. */
|
|
1086
|
+
description;
|
|
1087
|
+
constructor(props, iModel) {
|
|
1088
|
+
super(props, iModel);
|
|
1089
|
+
this.description = props.description;
|
|
1090
|
+
}
|
|
1017
1091
|
toJSON() {
|
|
1018
1092
|
return super.toJSON(); // Entity.toJSON takes care of auto-handled properties
|
|
1019
1093
|
}
|
|
@@ -1135,6 +1209,8 @@ exports.LinkElement = LinkElement;
|
|
|
1135
1209
|
*/
|
|
1136
1210
|
class UrlLink extends LinkElement {
|
|
1137
1211
|
static get className() { return "UrlLink"; }
|
|
1212
|
+
description;
|
|
1213
|
+
url;
|
|
1138
1214
|
constructor(props, iModel) {
|
|
1139
1215
|
super(props, iModel);
|
|
1140
1216
|
this.description = props.description;
|
|
@@ -1161,6 +1237,9 @@ exports.FolderLink = FolderLink;
|
|
|
1161
1237
|
*/
|
|
1162
1238
|
class RepositoryLink extends UrlLink {
|
|
1163
1239
|
static get className() { return "RepositoryLink"; }
|
|
1240
|
+
repositoryGuid;
|
|
1241
|
+
/** @note This property was added to the BisCore schema in version 1.0.13 */
|
|
1242
|
+
format;
|
|
1164
1243
|
constructor(props, iModel) {
|
|
1165
1244
|
super(props, iModel);
|
|
1166
1245
|
this.repositoryGuid = props.repositoryGuid;
|
|
@@ -1196,6 +1275,8 @@ exports.RoleElement = RoleElement;
|
|
|
1196
1275
|
*/
|
|
1197
1276
|
class GeometryPart extends DefinitionElement {
|
|
1198
1277
|
static get className() { return "GeometryPart"; }
|
|
1278
|
+
geom;
|
|
1279
|
+
bbox;
|
|
1199
1280
|
constructor(props, iModel) {
|
|
1200
1281
|
super(props, iModel);
|
|
1201
1282
|
this.geom = props.geom;
|
|
@@ -1224,7 +1305,13 @@ exports.GeometryPart = GeometryPart;
|
|
|
1224
1305
|
*/
|
|
1225
1306
|
class LineStyle extends DefinitionElement {
|
|
1226
1307
|
static get className() { return "LineStyle"; }
|
|
1227
|
-
|
|
1308
|
+
description;
|
|
1309
|
+
data;
|
|
1310
|
+
constructor(props, iModel) {
|
|
1311
|
+
super(props, iModel);
|
|
1312
|
+
this.description = props.description;
|
|
1313
|
+
this.data = props.data;
|
|
1314
|
+
}
|
|
1228
1315
|
/** Create a Code for a LineStyle definition given a name that is meant to be unique within the scope of the specified model.
|
|
1229
1316
|
* @param iModel The IModel
|
|
1230
1317
|
* @param scopeModelId The Id of the DefinitionModel that contains the LineStyle and provides the scope for its name.
|
|
@@ -1242,6 +1329,12 @@ exports.LineStyle = LineStyle;
|
|
|
1242
1329
|
*/
|
|
1243
1330
|
class RenderTimeline extends InformationRecordElement {
|
|
1244
1331
|
static get className() { return "RenderTimeline"; }
|
|
1332
|
+
/** A human-readable description of the timeline, which may be an empty string. */
|
|
1333
|
+
description;
|
|
1334
|
+
/** The JSON representation of the instructions for visualizing change over time.
|
|
1335
|
+
* @see [RenderSchedule.Script]($common) for the API for working with the script.
|
|
1336
|
+
*/
|
|
1337
|
+
scriptProps;
|
|
1245
1338
|
constructor(props, iModel) {
|
|
1246
1339
|
super(props, iModel);
|
|
1247
1340
|
this.description = props.description ?? "";
|