@itwin/core-backend 5.2.0-dev.8 → 5.3.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -1
- package/lib/cjs/BackendHubAccess.d.ts +2 -0
- package/lib/cjs/BackendHubAccess.d.ts.map +1 -1
- package/lib/cjs/BackendHubAccess.js.map +1 -1
- package/lib/cjs/BackendLoggerCategory.d.ts +6 -0
- package/lib/cjs/BackendLoggerCategory.d.ts.map +1 -1
- package/lib/cjs/BackendLoggerCategory.js +6 -0
- package/lib/cjs/BackendLoggerCategory.js.map +1 -1
- package/lib/cjs/BriefcaseManager.d.ts +57 -3
- package/lib/cjs/BriefcaseManager.d.ts.map +1 -1
- package/lib/cjs/BriefcaseManager.js +151 -42
- package/lib/cjs/BriefcaseManager.js.map +1 -1
- package/lib/cjs/CloudSqlite.d.ts +4 -0
- package/lib/cjs/CloudSqlite.d.ts.map +1 -1
- package/lib/cjs/CloudSqlite.js.map +1 -1
- package/lib/cjs/ECDb.d.ts +8 -0
- package/lib/cjs/ECDb.d.ts.map +1 -1
- package/lib/cjs/ECDb.js +22 -0
- package/lib/cjs/ECDb.js.map +1 -1
- package/lib/cjs/IModelDb.d.ts +54 -3
- package/lib/cjs/IModelDb.d.ts.map +1 -1
- package/lib/cjs/IModelDb.js +87 -9
- package/lib/cjs/IModelDb.js.map +1 -1
- package/lib/cjs/IModelHost.d.ts +11 -1
- package/lib/cjs/IModelHost.d.ts.map +1 -1
- package/lib/cjs/IModelHost.js +5 -0
- package/lib/cjs/IModelHost.js.map +1 -1
- package/lib/cjs/IModelIncrementalSchemaLocater.d.ts +1 -5
- package/lib/cjs/IModelIncrementalSchemaLocater.d.ts.map +1 -1
- package/lib/cjs/IModelIncrementalSchemaLocater.js +0 -6
- package/lib/cjs/IModelIncrementalSchemaLocater.js.map +1 -1
- package/lib/cjs/SqliteChangesetReader.d.ts +8 -0
- package/lib/cjs/SqliteChangesetReader.d.ts.map +1 -1
- package/lib/cjs/SqliteChangesetReader.js +11 -0
- package/lib/cjs/SqliteChangesetReader.js.map +1 -1
- package/lib/cjs/StashManager.d.ts +175 -0
- package/lib/cjs/StashManager.d.ts.map +1 -0
- package/lib/cjs/StashManager.js +306 -0
- package/lib/cjs/StashManager.js.map +1 -0
- package/lib/cjs/TxnManager.d.ts +226 -15
- package/lib/cjs/TxnManager.d.ts.map +1 -1
- package/lib/cjs/TxnManager.js +249 -23
- package/lib/cjs/TxnManager.js.map +1 -1
- package/lib/cjs/annotations/ElementDrivesTextAnnotation.d.ts +10 -1
- package/lib/cjs/annotations/ElementDrivesTextAnnotation.d.ts.map +1 -1
- package/lib/cjs/annotations/ElementDrivesTextAnnotation.js +15 -6
- package/lib/cjs/annotations/ElementDrivesTextAnnotation.js.map +1 -1
- package/lib/cjs/annotations/LeaderGeometry.d.ts +3 -2
- package/lib/cjs/annotations/LeaderGeometry.d.ts.map +1 -1
- package/lib/cjs/annotations/LeaderGeometry.js +5 -4
- package/lib/cjs/annotations/LeaderGeometry.js.map +1 -1
- package/lib/cjs/annotations/TextAnnotationElement.d.ts +52 -24
- package/lib/cjs/annotations/TextAnnotationElement.d.ts.map +1 -1
- package/lib/cjs/annotations/TextAnnotationElement.js +49 -59
- package/lib/cjs/annotations/TextAnnotationElement.js.map +1 -1
- package/lib/cjs/annotations/TextAnnotationGeometry.d.ts +2 -0
- package/lib/cjs/annotations/TextAnnotationGeometry.d.ts.map +1 -1
- package/lib/cjs/annotations/TextAnnotationGeometry.js +26 -19
- package/lib/cjs/annotations/TextAnnotationGeometry.js.map +1 -1
- package/lib/cjs/annotations/TextBlockGeometry.d.ts.map +1 -1
- package/lib/cjs/annotations/TextBlockGeometry.js +8 -0
- package/lib/cjs/annotations/TextBlockGeometry.js.map +1 -1
- package/lib/cjs/annotations/TextBlockLayout.d.ts +49 -36
- package/lib/cjs/annotations/TextBlockLayout.d.ts.map +1 -1
- package/lib/cjs/annotations/TextBlockLayout.js +204 -135
- package/lib/cjs/annotations/TextBlockLayout.js.map +1 -1
- package/lib/cjs/internal/ChannelAdmin.js +1 -1
- package/lib/cjs/internal/ChannelAdmin.js.map +1 -1
- package/lib/cjs/internal/Symbols.d.ts +1 -0
- package/lib/cjs/internal/Symbols.d.ts.map +1 -1
- package/lib/cjs/internal/Symbols.js +2 -1
- package/lib/cjs/internal/Symbols.js.map +1 -1
- package/lib/cjs/internal/annotations/fields.d.ts +2 -12
- package/lib/cjs/internal/annotations/fields.d.ts.map +1 -1
- package/lib/cjs/internal/annotations/fields.js +49 -45
- package/lib/cjs/internal/annotations/fields.js.map +1 -1
- package/lib/cjs/workspace/Workspace.d.ts +1 -1
- package/lib/cjs/workspace/Workspace.js.map +1 -1
- package/lib/esm/BackendHubAccess.d.ts +2 -0
- package/lib/esm/BackendHubAccess.d.ts.map +1 -1
- package/lib/esm/BackendHubAccess.js.map +1 -1
- package/lib/esm/BackendLoggerCategory.d.ts +6 -0
- package/lib/esm/BackendLoggerCategory.d.ts.map +1 -1
- package/lib/esm/BackendLoggerCategory.js +6 -0
- package/lib/esm/BackendLoggerCategory.js.map +1 -1
- package/lib/esm/BriefcaseManager.d.ts +57 -3
- package/lib/esm/BriefcaseManager.d.ts.map +1 -1
- package/lib/esm/BriefcaseManager.js +152 -43
- package/lib/esm/BriefcaseManager.js.map +1 -1
- package/lib/esm/CloudSqlite.d.ts +4 -0
- package/lib/esm/CloudSqlite.d.ts.map +1 -1
- package/lib/esm/CloudSqlite.js.map +1 -1
- package/lib/esm/ECDb.d.ts +8 -0
- package/lib/esm/ECDb.d.ts.map +1 -1
- package/lib/esm/ECDb.js +22 -0
- package/lib/esm/ECDb.js.map +1 -1
- package/lib/esm/IModelDb.d.ts +54 -3
- package/lib/esm/IModelDb.d.ts.map +1 -1
- package/lib/esm/IModelDb.js +88 -10
- package/lib/esm/IModelDb.js.map +1 -1
- package/lib/esm/IModelHost.d.ts +11 -1
- package/lib/esm/IModelHost.d.ts.map +1 -1
- package/lib/esm/IModelHost.js +5 -0
- package/lib/esm/IModelHost.js.map +1 -1
- package/lib/esm/IModelIncrementalSchemaLocater.d.ts +1 -5
- package/lib/esm/IModelIncrementalSchemaLocater.d.ts.map +1 -1
- package/lib/esm/IModelIncrementalSchemaLocater.js +0 -6
- package/lib/esm/IModelIncrementalSchemaLocater.js.map +1 -1
- package/lib/esm/SqliteChangesetReader.d.ts +8 -0
- package/lib/esm/SqliteChangesetReader.d.ts.map +1 -1
- package/lib/esm/SqliteChangesetReader.js +11 -0
- package/lib/esm/SqliteChangesetReader.js.map +1 -1
- package/lib/esm/StashManager.d.ts +175 -0
- package/lib/esm/StashManager.d.ts.map +1 -0
- package/lib/esm/StashManager.js +301 -0
- package/lib/esm/StashManager.js.map +1 -0
- package/lib/esm/TxnManager.d.ts +226 -15
- package/lib/esm/TxnManager.d.ts.map +1 -1
- package/lib/esm/TxnManager.js +247 -21
- package/lib/esm/TxnManager.js.map +1 -1
- package/lib/esm/annotations/ElementDrivesTextAnnotation.d.ts +10 -1
- package/lib/esm/annotations/ElementDrivesTextAnnotation.d.ts.map +1 -1
- package/lib/esm/annotations/ElementDrivesTextAnnotation.js +13 -5
- package/lib/esm/annotations/ElementDrivesTextAnnotation.js.map +1 -1
- package/lib/esm/annotations/LeaderGeometry.d.ts +3 -2
- package/lib/esm/annotations/LeaderGeometry.d.ts.map +1 -1
- package/lib/esm/annotations/LeaderGeometry.js +5 -4
- package/lib/esm/annotations/LeaderGeometry.js.map +1 -1
- package/lib/esm/annotations/TextAnnotationElement.d.ts +52 -24
- package/lib/esm/annotations/TextAnnotationElement.d.ts.map +1 -1
- package/lib/esm/annotations/TextAnnotationElement.js +51 -61
- package/lib/esm/annotations/TextAnnotationElement.js.map +1 -1
- package/lib/esm/annotations/TextAnnotationGeometry.d.ts +2 -0
- package/lib/esm/annotations/TextAnnotationGeometry.d.ts.map +1 -1
- package/lib/esm/annotations/TextAnnotationGeometry.js +26 -19
- package/lib/esm/annotations/TextAnnotationGeometry.js.map +1 -1
- package/lib/esm/annotations/TextBlockGeometry.d.ts.map +1 -1
- package/lib/esm/annotations/TextBlockGeometry.js +8 -0
- package/lib/esm/annotations/TextBlockGeometry.js.map +1 -1
- package/lib/esm/annotations/TextBlockLayout.d.ts +49 -36
- package/lib/esm/annotations/TextBlockLayout.d.ts.map +1 -1
- package/lib/esm/annotations/TextBlockLayout.js +205 -136
- package/lib/esm/annotations/TextBlockLayout.js.map +1 -1
- package/lib/esm/internal/ChannelAdmin.js +1 -1
- package/lib/esm/internal/ChannelAdmin.js.map +1 -1
- package/lib/esm/internal/Symbols.d.ts +1 -0
- package/lib/esm/internal/Symbols.d.ts.map +1 -1
- package/lib/esm/internal/Symbols.js +1 -0
- package/lib/esm/internal/Symbols.js.map +1 -1
- package/lib/esm/internal/annotations/fields.d.ts +2 -12
- package/lib/esm/internal/annotations/fields.d.ts.map +1 -1
- package/lib/esm/internal/annotations/fields.js +51 -47
- package/lib/esm/internal/annotations/fields.js.map +1 -1
- package/lib/esm/test/AnnotationTestUtils.d.ts +5 -1
- package/lib/esm/test/AnnotationTestUtils.d.ts.map +1 -1
- package/lib/esm/test/AnnotationTestUtils.js +6 -1
- package/lib/esm/test/AnnotationTestUtils.js.map +1 -1
- package/lib/esm/test/annotations/Fields.test.js +163 -46
- package/lib/esm/test/annotations/Fields.test.js.map +1 -1
- package/lib/esm/test/annotations/LeaderGeometry.test.js +12 -10
- package/lib/esm/test/annotations/LeaderGeometry.test.js.map +1 -1
- package/lib/esm/test/annotations/TextAnnotation.test.js +299 -43
- package/lib/esm/test/annotations/TextAnnotation.test.js.map +1 -1
- package/lib/esm/test/annotations/TextBlock.test.js +453 -86
- package/lib/esm/test/annotations/TextBlock.test.js.map +1 -1
- package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.d.ts +46 -0
- package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.d.ts.map +1 -1
- package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.js +20 -2
- package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.js.map +1 -1
- package/lib/esm/test/ecdb/ECDb.test.js +71 -1
- package/lib/esm/test/ecdb/ECDb.test.js.map +1 -1
- package/lib/esm/test/hubaccess/Rebase.test.d.ts +2 -0
- package/lib/esm/test/hubaccess/Rebase.test.d.ts.map +1 -0
- package/lib/esm/test/hubaccess/Rebase.test.js +640 -0
- package/lib/esm/test/hubaccess/Rebase.test.js.map +1 -0
- package/lib/esm/test/incrementalSchemaLocater/ECSqlQueries.test.js +20 -20
- package/lib/esm/test/incrementalSchemaLocater/ECSqlQueries.test.js.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/IncrementalLoading.test.js +3 -3
- package/lib/esm/test/incrementalSchemaLocater/IncrementalLoading.test.js.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.d.ts +16 -1
- package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.d.ts.map +1 -1
- package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.js +47 -0
- package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.js.map +1 -1
- package/lib/esm/test/standalone/ChangeMerge.test.js +15 -19
- package/lib/esm/test/standalone/ChangeMerge.test.js.map +1 -1
- package/lib/esm/test/standalone/ChangesetReader.test.js +131 -1
- package/lib/esm/test/standalone/ChangesetReader.test.js.map +1 -1
- package/lib/esm/test/standalone/MergeConflict.test.js +3 -3
- package/lib/esm/test/standalone/MergeConflict.test.js.map +1 -1
- package/lib/esm/workspace/Workspace.d.ts +1 -1
- package/lib/esm/workspace/Workspace.js.map +1 -1
- package/package.json +13 -13
|
@@ -3,6 +3,8 @@ declare const _default: {
|
|
|
3
3
|
bimFile: string;
|
|
4
4
|
schemas: {
|
|
5
5
|
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
label: string;
|
|
6
8
|
references: string[];
|
|
7
9
|
itemCount: number;
|
|
8
10
|
checkStubs: ({
|
|
@@ -893,6 +895,7 @@ declare const _default: {
|
|
|
893
895
|
strengthDirection?: undefined;
|
|
894
896
|
source?: undefined;
|
|
895
897
|
target?: undefined;
|
|
898
|
+
mixins?: undefined;
|
|
896
899
|
};
|
|
897
900
|
} | {
|
|
898
901
|
item: string;
|
|
@@ -929,6 +932,7 @@ declare const _default: {
|
|
|
929
932
|
strengthDirection?: undefined;
|
|
930
933
|
source?: undefined;
|
|
931
934
|
target?: undefined;
|
|
935
|
+
mixins?: undefined;
|
|
932
936
|
};
|
|
933
937
|
} | {
|
|
934
938
|
item: string;
|
|
@@ -958,6 +962,7 @@ declare const _default: {
|
|
|
958
962
|
strengthDirection?: undefined;
|
|
959
963
|
source?: undefined;
|
|
960
964
|
target?: undefined;
|
|
965
|
+
mixins?: undefined;
|
|
961
966
|
};
|
|
962
967
|
} | {
|
|
963
968
|
item: string;
|
|
@@ -1022,6 +1027,7 @@ declare const _default: {
|
|
|
1022
1027
|
strengthDirection?: undefined;
|
|
1023
1028
|
source?: undefined;
|
|
1024
1029
|
target?: undefined;
|
|
1030
|
+
mixins?: undefined;
|
|
1025
1031
|
};
|
|
1026
1032
|
} | {
|
|
1027
1033
|
item: string;
|
|
@@ -1083,6 +1089,7 @@ declare const _default: {
|
|
|
1083
1089
|
strengthDirection?: undefined;
|
|
1084
1090
|
source?: undefined;
|
|
1085
1091
|
target?: undefined;
|
|
1092
|
+
mixins?: undefined;
|
|
1086
1093
|
};
|
|
1087
1094
|
} | {
|
|
1088
1095
|
item: string;
|
|
@@ -1130,6 +1137,7 @@ declare const _default: {
|
|
|
1130
1137
|
strengthDirection?: undefined;
|
|
1131
1138
|
source?: undefined;
|
|
1132
1139
|
target?: undefined;
|
|
1140
|
+
mixins?: undefined;
|
|
1133
1141
|
};
|
|
1134
1142
|
} | {
|
|
1135
1143
|
item: string;
|
|
@@ -1179,6 +1187,7 @@ declare const _default: {
|
|
|
1179
1187
|
strengthDirection?: undefined;
|
|
1180
1188
|
source?: undefined;
|
|
1181
1189
|
target?: undefined;
|
|
1190
|
+
mixins?: undefined;
|
|
1182
1191
|
};
|
|
1183
1192
|
} | {
|
|
1184
1193
|
item: string;
|
|
@@ -1233,6 +1242,7 @@ declare const _default: {
|
|
|
1233
1242
|
strengthDirection?: undefined;
|
|
1234
1243
|
source?: undefined;
|
|
1235
1244
|
target?: undefined;
|
|
1245
|
+
mixins?: undefined;
|
|
1236
1246
|
};
|
|
1237
1247
|
} | {
|
|
1238
1248
|
item: string;
|
|
@@ -1282,6 +1292,7 @@ declare const _default: {
|
|
|
1282
1292
|
strengthDirection?: undefined;
|
|
1283
1293
|
source?: undefined;
|
|
1284
1294
|
target?: undefined;
|
|
1295
|
+
mixins?: undefined;
|
|
1285
1296
|
};
|
|
1286
1297
|
} | {
|
|
1287
1298
|
item: string;
|
|
@@ -1339,6 +1350,7 @@ declare const _default: {
|
|
|
1339
1350
|
strengthDirection?: undefined;
|
|
1340
1351
|
source?: undefined;
|
|
1341
1352
|
target?: undefined;
|
|
1353
|
+
mixins?: undefined;
|
|
1342
1354
|
};
|
|
1343
1355
|
} | {
|
|
1344
1356
|
item: string;
|
|
@@ -1374,6 +1386,7 @@ declare const _default: {
|
|
|
1374
1386
|
strengthDirection?: undefined;
|
|
1375
1387
|
source?: undefined;
|
|
1376
1388
|
target?: undefined;
|
|
1389
|
+
mixins?: undefined;
|
|
1377
1390
|
};
|
|
1378
1391
|
} | {
|
|
1379
1392
|
item: string;
|
|
@@ -1434,6 +1447,39 @@ declare const _default: {
|
|
|
1434
1447
|
persistenceUnit?: undefined;
|
|
1435
1448
|
presentationUnits?: undefined;
|
|
1436
1449
|
appliesTo?: undefined;
|
|
1450
|
+
mixins?: undefined;
|
|
1451
|
+
};
|
|
1452
|
+
} | {
|
|
1453
|
+
item: string;
|
|
1454
|
+
properties: {
|
|
1455
|
+
schemaItemType: string;
|
|
1456
|
+
baseClass: string;
|
|
1457
|
+
description: string;
|
|
1458
|
+
customAttributes: {
|
|
1459
|
+
className: string;
|
|
1460
|
+
}[];
|
|
1461
|
+
mixins: string[];
|
|
1462
|
+
label?: undefined;
|
|
1463
|
+
type?: undefined;
|
|
1464
|
+
precision?: undefined;
|
|
1465
|
+
showSignOption?: undefined;
|
|
1466
|
+
formatTraits?: undefined;
|
|
1467
|
+
thousandSeparator?: undefined;
|
|
1468
|
+
decimalSeparator?: undefined;
|
|
1469
|
+
minWidth?: undefined;
|
|
1470
|
+
roundFactor?: undefined;
|
|
1471
|
+
composite?: undefined;
|
|
1472
|
+
uomSeparator?: undefined;
|
|
1473
|
+
relativeError?: undefined;
|
|
1474
|
+
persistenceUnit?: undefined;
|
|
1475
|
+
presentationUnits?: undefined;
|
|
1476
|
+
modifier?: undefined;
|
|
1477
|
+
properties?: undefined;
|
|
1478
|
+
appliesTo?: undefined;
|
|
1479
|
+
strength?: undefined;
|
|
1480
|
+
strengthDirection?: undefined;
|
|
1481
|
+
source?: undefined;
|
|
1482
|
+
target?: undefined;
|
|
1437
1483
|
};
|
|
1438
1484
|
})[];
|
|
1439
1485
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple.config.d.ts","sourceRoot":"","sources":["../../../../../../src/test/assets/IncrementalSchemaLocater/configs/simple.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"simple.config.d.ts","sourceRoot":"","sources":["../../../../../../src/test/assets/IncrementalSchemaLocater/configs/simple.config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wBAg0BC"}
|
|
@@ -5,6 +5,8 @@ export default {
|
|
|
5
5
|
"schemas": [
|
|
6
6
|
{
|
|
7
7
|
"name": "SimpleSchema",
|
|
8
|
+
"description": "A simple test schema",
|
|
9
|
+
"label": "Simple Schema",
|
|
8
10
|
"references": [
|
|
9
11
|
"BisCore",
|
|
10
12
|
"CoreCustomAttributes",
|
|
@@ -460,8 +462,8 @@ export default {
|
|
|
460
462
|
"relativeError": 0.0001,
|
|
461
463
|
"persistenceUnit": "Units.MG",
|
|
462
464
|
"presentationUnits": [
|
|
463
|
-
"Formats.DefaultRealU
|
|
464
|
-
"Formats.DefaultRealU(
|
|
465
|
+
"Formats.DefaultRealU[Units.MG]",
|
|
466
|
+
"Formats.DefaultRealU(1)[Units.G]"
|
|
465
467
|
]
|
|
466
468
|
}
|
|
467
469
|
},
|
|
@@ -809,6 +811,22 @@ export default {
|
|
|
809
811
|
]
|
|
810
812
|
}
|
|
811
813
|
}
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"item": "BisCore.Drawing",
|
|
817
|
+
"properties": {
|
|
818
|
+
"schemaItemType": "EntityClass",
|
|
819
|
+
"baseClass": "BisCore.Document",
|
|
820
|
+
"description": "A bis:Drawing is a bis:Document of a 2D drawing.",
|
|
821
|
+
"customAttributes": [
|
|
822
|
+
{
|
|
823
|
+
"className": "BisCore.ClassHasHandler"
|
|
824
|
+
}
|
|
825
|
+
],
|
|
826
|
+
"mixins": [
|
|
827
|
+
"BisCore.ISubModeledElement"
|
|
828
|
+
]
|
|
829
|
+
}
|
|
812
830
|
}
|
|
813
831
|
]
|
|
814
832
|
}
|
|
@@ -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,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,aAAa,EAAE,cAAc;6BAC9B;4BACD;gCACE,MAAM,EAAE,aAAa;gCACrB,OAAO,EAAE,CAAC;g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,aAAa,EAAE,yBAAyB;wBACxC,UAAU,EAAE,aAAa;wBACzB,mBAAmB,EAAE,SAAS;wBAC9B,kBAAkB,EAAE;4BAClB;gCACE,WAAW,EAAE,kCAAkC;gCAC/C,MAAM,EAAE,KAAK;6BACd;yBACF;wBACD,YAAY,EAAE;4BACZ;gCACE,MAAM,EAAE,sBAAsB;gCAC9B,MAAM,EAAE,wBAAwB;gCAChC,WAAW,EAAE,CAAC;gCACd,WAAW,EAAE,EAAE;gCACf,OAAO,EAAE,cAAc;gCACvB,aAAa,EAAE,uBAAuB;gCACtC,UAAU,EAAE,SAAS;6BACtB;4BACD;gCACE,MAAM,EAAE,sBAAsB;gCAC9B,MAAM,EAAE,wBAAwB;gCAChC,WAAW,EAAE,CAAC;gCACd,WAAW,EAAE,EAAE;gCACf,OAAO,EAAE,cAAc;gCACvB,aAAa,EAAE,uBAAuB;gCACtC,UAAU,EAAE,SAAS;6BACtB;yBACF;wBACD,QAAQ,EAAE;4BACR,cAAc,EAAE,QAAQ;4BACxB,WAAW,EAAE,WAAW;4BACxB,aAAa,EAAE,IAAI;4BACnB,oBAAoB,EAAE,iBAAiB;4BACvC,mBAAmB,EAAE;gCACnB,iBAAiB;6BAClB;4BACD,kBAAkB,EAAE;gCAClB;oCACE,WAAW,EAAE,yCAAyC;oCACtD,gBAAgB,EAAE,QAAQ;iCAC3B;6BACF;yBACF;wBACD,QAAQ,EAAE;4BACR,cAAc,EAAE,QAAQ;4BACxB,WAAW,EAAE,kBAAkB;4BAC/B,aAAa,EAAE,IAAI;4BACnB,oBAAoB,EAAE,iBAAiB;4BACvC,mBAAmB,EAAE;gCACnB,iBAAiB;6BAClB;4BACD,kBAAkB,EAAE;gCAClB;oCACE,WAAW,EAAE,yCAAyC;oCACtD,gBAAgB,EAAE,QAAQ;iCAC3B;6BACF;yBACF;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 \"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(2)[Units.MG]\",\n \"Formats.DefaultRealU(2)[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 }\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;wBAC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AM,EAAE,wBAAwB;gCAChC,WAAW,EAAE,CAAC;gCACd,WAAW,EAAE,EAAE;gCACf,OAAO,EAAE,cAAc;gCACvB,aAAa,EAAE,uBAAuB;gCACtC,UAAU,EAAE,SAAS;6BACtB;yBACF;wBACD,QAAQ,EAAE;4BACR,cAAc,EAAE,QAAQ;4BACxB,WAAW,EAAE,WAAW;4BACxB,aAAa,EAAE,IAAI;4BACnB,oBAAoB,EAAE,iBAAiB;4BACvC,mBAAmB,EAAE;gCACnB,iBAAiB;6BAClB;4BACD,kBAAkB,EAAE;gCAClB;oCACE,WAAW,EAAE,yCAAyC;oCACtD,gBAAgB,EAAE,QAAQ;iCAC3B;6BACF;yBACF;wBACD,QAAQ,EAAE;4BACR,cAAc,EAAE,QAAQ;4BACxB,WAAW,EAAE,kBAAkB;4BAC/B,aAAa,EAAE,IAAI;4BACnB,oBAAoB,EAAE,iBAAiB;4BACvC,mBAAmB,EAAE;gCACnB,iBAAiB;6BAClB;4BACD,kBAAkB,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 */\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}"]}
|
|
@@ -58,7 +58,8 @@ import { assert, expect } from "chai";
|
|
|
58
58
|
import * as path from "path";
|
|
59
59
|
import * as sinon from "sinon";
|
|
60
60
|
import { DbResult, Id64, Logger, LogLevel } from "@itwin/core-bentley";
|
|
61
|
-
import {
|
|
61
|
+
import { IModelJsFs } from "../../IModelJsFs";
|
|
62
|
+
import { ECDb, ECDbOpenMode, SqliteValueType } from "../../core-backend";
|
|
62
63
|
import { KnownTestLocations } from "../KnownTestLocations";
|
|
63
64
|
import { ECDbTestHelper } from "./ECDbTestHelper";
|
|
64
65
|
import { QueryOptionsBuilder } from "@itwin/core-common";
|
|
@@ -670,5 +671,74 @@ describe("ECDb", () => {
|
|
|
670
671
|
assert.isDefined(heightProp);
|
|
671
672
|
ecdb.closeDb();
|
|
672
673
|
});
|
|
674
|
+
it("should drop a single schema", () => {
|
|
675
|
+
const env_16 = { stack: [], error: void 0, hasError: false };
|
|
676
|
+
try {
|
|
677
|
+
const ecdb = __addDisposableResource(env_16, ECDbTestHelper.createECDb(outDir, "test.ecdb", `<ECSchema schemaName="Test" alias="ts" version="01.00.00" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
|
|
678
|
+
<ECEntityClass typeName="Foo" modifier="Sealed">
|
|
679
|
+
<ECProperty propertyName="n" typeName="int"/>
|
|
680
|
+
</ECEntityClass>
|
|
681
|
+
</ECSchema>`), false);
|
|
682
|
+
assert.isTrue(ecdb.isOpen);
|
|
683
|
+
ecdb.saveChanges();
|
|
684
|
+
const schemaProps = ecdb.getSchemaProps("Test");
|
|
685
|
+
expect(schemaProps.name).to.equal("Test");
|
|
686
|
+
ecdb.dropSchemas(["Test"]);
|
|
687
|
+
expect(() => ecdb.getSchemaProps("Test")).to.throw();
|
|
688
|
+
}
|
|
689
|
+
catch (e_16) {
|
|
690
|
+
env_16.error = e_16;
|
|
691
|
+
env_16.hasError = true;
|
|
692
|
+
}
|
|
693
|
+
finally {
|
|
694
|
+
__disposeResources(env_16);
|
|
695
|
+
}
|
|
696
|
+
});
|
|
697
|
+
it("should drop multiple schemas", () => {
|
|
698
|
+
const env_17 = { stack: [], error: void 0, hasError: false };
|
|
699
|
+
try {
|
|
700
|
+
const testSchema1Xml = `<?xml version="1.0" encoding="utf-8"?>
|
|
701
|
+
<ECSchema schemaName="TestSchema1" alias="ts1" version="01.00.00" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.1">
|
|
702
|
+
<ECEntityClass typeName="TestClass1">
|
|
703
|
+
<ECProperty propertyName="Prop1" typeName="string"/>
|
|
704
|
+
</ECEntityClass>
|
|
705
|
+
</ECSchema>`;
|
|
706
|
+
const testSchema2Xml = `<?xml version="1.0" encoding="utf-8"?>
|
|
707
|
+
<ECSchema schemaName="TestSchema2" alias="ts2" version="01.00.00" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.1">
|
|
708
|
+
<ECSchemaReference name="TestSchema1" version="01.00.00" alias="ts1"/>
|
|
709
|
+
<ECEntityClass typeName="TestClass2">
|
|
710
|
+
<ECProperty propertyName="Prop2" typeName="string"/>
|
|
711
|
+
</ECEntityClass>
|
|
712
|
+
</ECSchema>`;
|
|
713
|
+
const ecdb = __addDisposableResource(env_17, ECDbTestHelper.createECDb(outDir, "drop-multiple-schemas.ecdb"), false);
|
|
714
|
+
assert.isTrue(ecdb.isOpen);
|
|
715
|
+
const schema1Path = path.join(outDir, "TestSchema1.ecschema.xml");
|
|
716
|
+
IModelJsFs.writeFileSync(schema1Path, testSchema1Xml);
|
|
717
|
+
ecdb.importSchema(schema1Path);
|
|
718
|
+
const schema2Path = path.join(outDir, "TestSchema2.ecschema.xml");
|
|
719
|
+
IModelJsFs.writeFileSync(schema2Path, testSchema2Xml);
|
|
720
|
+
ecdb.importSchema(schema2Path);
|
|
721
|
+
ecdb.saveChanges();
|
|
722
|
+
const schema1Props = ecdb.getSchemaProps("TestSchema1");
|
|
723
|
+
expect(schema1Props.name).to.equal("TestSchema1");
|
|
724
|
+
const schema2Props = ecdb.getSchemaProps("TestSchema2");
|
|
725
|
+
expect(schema2Props.name).to.equal("TestSchema2");
|
|
726
|
+
expect(() => ecdb.dropSchemas(["TestSchema1"])).to.throw();
|
|
727
|
+
const stillExistsSchema1 = ecdb.getSchemaProps("TestSchema1");
|
|
728
|
+
expect(stillExistsSchema1.name).to.equal("TestSchema1");
|
|
729
|
+
ecdb.dropSchemas(["TestSchema2", "TestSchema1"]);
|
|
730
|
+
expect(() => ecdb.getSchemaProps("TestSchema2")).to.throw();
|
|
731
|
+
expect(() => ecdb.getSchemaProps("TestSchema1")).to.throw();
|
|
732
|
+
IModelJsFs.removeSync(schema1Path);
|
|
733
|
+
IModelJsFs.removeSync(schema2Path);
|
|
734
|
+
}
|
|
735
|
+
catch (e_17) {
|
|
736
|
+
env_17.error = e_17;
|
|
737
|
+
env_17.hasError = true;
|
|
738
|
+
}
|
|
739
|
+
finally {
|
|
740
|
+
__disposeResources(env_17);
|
|
741
|
+
}
|
|
742
|
+
});
|
|
673
743
|
});
|
|
674
744
|
//# sourceMappingURL=ECDb.test.js.map
|