@itwin/imodel-transformer 1.0.0-dev.13 → 1.0.0-dev.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"IModelTransformer.d.ts","sourceRoot":"","sources":["../../src/IModelTransformer.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,WAAW,EAMX,SAAS,EACT,UAAU,EAKX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,gBAAgB,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAaL,OAAO,EACP,aAAa,EACb,kBAAkB,EAGlB,mBAAmB,EACnB,MAAM,EAGN,oBAAoB,EAKpB,QAAQ,EAKR,KAAK,EAGL,YAAY,EACZ,iBAAiB,EAMlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,mBAAmB,EAGnB,QAAQ,EAER,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,yBAAyB,EACzB,SAAS,EAIT,UAAU,EACV,WAAW,EACX,WAAW,EAMZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EAEpB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EAAoB,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAa,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAmB1D;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAElC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;;;OAIG;IACH,6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AAE,UAAU,EACzB,SAAS,EAAE,WAAW,GACrB,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAkBvC,4EAA4E;IAC5D,kBAAkB,CAAC,aAAa,EAAE,OAAO,GAAG,YAAY;CAqDzE"}
@@ -172,7 +172,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
172
172
  if (this._isProvenanceInitTransform) {
173
173
  return "forward";
174
174
  }
175
- if (!this._isSynchronization) {
175
+ if (!this._options.argsForProcessChanges) {
176
176
  return "not-sync";
177
177
  }
178
178
  try {
@@ -224,7 +224,6 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
224
224
  this._elementsWithExplicitlyTrackedProvenance = new Set();
225
225
  /** map of partially committed entities to their partial commit progress */
226
226
  this._partiallyCommittedEntities = new EntityMap_1.EntityMap();
227
- this._isSynchronization = false;
228
227
  /**
229
228
  * A private variable meant to be set by tests which have an outdated way of setting up transforms. In all synchronizations today we expect to find an ESA in the branch db which describes the master -> branch relationship.
230
229
  * The exception to this is the first transform aka the provenance initializing transform which requires that the master imodel and the branch imodel are identical at the time of provenance initialization.
@@ -278,6 +277,10 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
278
277
  branchRelationshipDataBehavior: options?.branchRelationshipDataBehavior ?? "reject",
279
278
  skipPropagateChangesToRootElements: options?.skipPropagateChangesToRootElements ?? true,
280
279
  };
280
+ // check if authorization client is defined
281
+ if (core_backend_1.IModelHost.authorizationClient === undefined) {
282
+ core_bentley_1.Logger.logWarning(loggerCategory, "Authorization client is not set in IModelHost. If the transformer needs an accessToken, then it will fail.");
283
+ }
281
284
  this._isProvenanceInitTransform = this._options
282
285
  .wasSourceIModelCopiedToTarget
283
286
  ? true
@@ -361,9 +364,6 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
361
364
  core_bentley_1.Logger.logInfo(loggerCategory, `this._includeSourceProvenance=${this._options.includeSourceProvenance}`);
362
365
  core_bentley_1.Logger.logInfo(loggerCategory, `this._cloneUsingBinaryGeometry=${this._options.cloneUsingBinaryGeometry}`);
363
366
  core_bentley_1.Logger.logInfo(loggerCategory, `this._wasSourceIModelCopiedToTarget=${this._options.wasSourceIModelCopiedToTarget}`);
364
- core_bentley_1.Logger.logInfo(loggerCategory,
365
- // eslint-disable-next-line deprecation/deprecation
366
- `this._isReverseSynchronization=${this._options.isReverseSynchronization}`);
367
367
  core_bentley_1.Logger.logInfo(TransformerLoggerCategory_1.TransformerLoggerCategory.IModelImporter, `this.importer.autoExtendProjectExtents=${JSON.stringify(this.importer.options.autoExtendProjectExtents)}`);
368
368
  core_bentley_1.Logger.logInfo(TransformerLoggerCategory_1.TransformerLoggerCategory.IModelImporter, `this.importer.simplifyElementGeometry=${this.importer.options.simplifyElementGeometry}`);
369
369
  }
@@ -606,8 +606,9 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
606
606
  let madeChange = false;
607
607
  if (this._options.branchRelationshipDataBehavior !== "unsafe-migrate")
608
608
  return madeChange;
609
- const fallbackSyncVersionToUse = this._options.unsafeFallbackSyncVersion ?? "";
610
- const fallbackReverseSyncVersionToUse = this._options.unsafeFallbackReverseSyncVersion ?? "";
609
+ const fallbackSyncVersionToUse = this._options.argsForProcessChanges?.unsafeFallbackSyncVersion ?? "";
610
+ const fallbackReverseSyncVersionToUse = this._options.argsForProcessChanges?.unsafeFallbackReverseSyncVersion ??
611
+ "";
611
612
  if (aspectProps.version === undefined ||
612
613
  (aspectProps.version === "" &&
613
614
  aspectProps.version !== fallbackSyncVersionToUse)) {
@@ -867,7 +868,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
867
868
  }
868
869
  /** Returns `true` if *brute force* delete detections should be run.
869
870
  * @note This is only called if [[IModelTransformOptions.forceExternalSourceAspectProvenance]] option is true
870
- * @note Not relevant for processChanges when change history is known.
871
+ * @note Not relevant for [[process]] when [[IModelTransformOptions.argsForProcessChanges]] are provided and change history is known.
871
872
  */
872
873
  shouldDetectDeletes() {
873
874
  nodeAssert(this._syncType !== undefined);
@@ -877,9 +878,9 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
877
878
  * Detect Element deletes using ExternalSourceAspects in the target iModel and a *brute force* comparison against Elements
878
879
  * in the source iModel.
879
880
  * @deprecated in 1.x. Do not use this. // FIXME<MIKE>: how to better explain this?
880
- * This method is only called during [[processAll]] when the option
881
+ * This method is only called during [[process]] when [[IModelTransformOptions.argsForProcessChanges]] is undefined and the option
881
882
  * [[IModelTransformOptions.forceExternalSourceAspectProvenance]] is enabled. It is not
882
- * necessary when using [[processChanges]] since changeset information is sufficient.
883
+ * necessary when calling [[process]] with [[IModelTransformOptions.argsForProcessChanges]] defined, since changeset information is sufficient.
883
884
  * @note you do not need to call this directly unless processing a subset of an iModel.
884
885
  * @throws [[IModelError]] If the required provenance information is not available to detect deletes.
885
886
  */
@@ -909,12 +910,6 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
909
910
  }
910
911
  });
911
912
  }
912
- /**
913
- * @deprecated in 3.x, this no longer has any effect except emitting a warning
914
- */
915
- skipElement(_sourceElement) {
916
- core_bentley_1.Logger.logWarning(loggerCategory, "Tried to defer/skip an element, which is no longer necessary");
917
- }
918
913
  /** Transform the specified sourceElement into ElementProps for the target iModel.
919
914
  * @param sourceElement The Element from the source iModel to transform.
920
915
  * @returns ElementProps for the target iModel.
@@ -1037,7 +1032,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1037
1032
  }
1038
1033
  /** Cause the specified Element and its child Elements (if applicable) to be exported from the source iModel and imported into the target iModel.
1039
1034
  * @param sourceElementId Identifies the Element from the source iModel to import.
1040
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1035
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1041
1036
  */
1042
1037
  async processElement(sourceElementId) {
1043
1038
  await this.initialize();
@@ -1048,7 +1043,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1048
1043
  }
1049
1044
  /** Import child elements into the target IModelDb
1050
1045
  * @param sourceElementId Import the child elements of this element in the source IModelDb.
1051
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1046
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1052
1047
  */
1053
1048
  async processChildElements(sourceElementId) {
1054
1049
  await this.initialize();
@@ -1333,7 +1328,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1333
1328
  }
1334
1329
  /** Cause the model container, contents, and sub-models to be exported from the source iModel and imported into the target iModel.
1335
1330
  * @param sourceModeledElementId Import this [Model]($backend) from the source IModelDb.
1336
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1331
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1337
1332
  */
1338
1333
  async processModel(sourceModeledElementId) {
1339
1334
  await this.initialize();
@@ -1343,7 +1338,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1343
1338
  * @param sourceModelId Import the contents of this model from the source IModelDb.
1344
1339
  * @param targetModelId Import into this model in the target IModelDb. The target model must exist prior to this call.
1345
1340
  * @param elementClassFullName Optional classFullName of an element subclass to limit import query against the source model.
1346
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1341
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1347
1342
  */
1348
1343
  async processModelContents(sourceModelId, targetModelId, elementClassFullName = core_backend_1.Element.classFullName) {
1349
1344
  await this.initialize();
@@ -1400,18 +1395,14 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1400
1395
  targetModelProps.parentModel = this.context.findTargetElementId(targetModelProps.parentModel);
1401
1396
  return targetModelProps;
1402
1397
  }
1403
- /** Import elements that were deferred in a prior pass.
1404
- * @deprecated in 3.x. This method is no longer necessary since the transformer no longer needs to defer elements
1405
- */
1406
- async processDeferredElements(_numRetries = 3) { }
1407
1398
  /** called at the end of a transformation,
1408
1399
  * updates the target scope element to say that transformation up through the
1409
1400
  * source's changeset has been performed. Also stores all changesets that occurred
1410
1401
  * during the transformation as "pending synchronization changeset indices" @see TargetScopeProvenanceJsonProps
1411
1402
  *
1412
- * You generally should not call this function yourself and use [[processChanges]] instead.
1403
+ * You generally should not call this function yourself and use [[process]] with [[IModelTransformOptions.argsForProcessChanges]] provided instead.
1413
1404
  * It is public for unsupported use cases of custom synchronization transforms.
1414
- * @note if you are not running processChanges in this transformation, this will fail
1405
+ * @note if [[IModelTransformOptions.argsForProcessChanges]] are not defined in this transformation, this will fail
1415
1406
  * without setting the `force` option to `true`
1416
1407
  */
1417
1408
  updateSynchronizationVersion({ force = false } = {}) {
@@ -1438,7 +1429,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1438
1429
  core_bentley_1.Logger.logInfo(loggerCategory, `updating sync version from ${this._targetScopeProvenanceProps.version} to ${sourceVersion}`);
1439
1430
  this._targetScopeProvenanceProps.version = sourceVersion;
1440
1431
  }
1441
- if (this._isSynchronization ||
1432
+ if (this._options.argsForProcessChanges ||
1442
1433
  (this._startingChangesetIndices && this._isProvenanceInitTransform)) {
1443
1434
  nodeAssert(this.targetDb.changeset.index !== undefined &&
1444
1435
  this._startingChangesetIndices !== undefined, "updateSynchronizationVersion was called without change history");
@@ -1515,7 +1506,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1515
1506
  }
1516
1507
  /** Imports all relationships that subclass from the specified base class.
1517
1508
  * @param baseRelClassFullName The specified base relationship class.
1518
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1509
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1519
1510
  */
1520
1511
  async processRelationships(baseRelClassFullName) {
1521
1512
  await this.initialize();
@@ -1588,8 +1579,8 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1588
1579
  }
1589
1580
  /** Detect Relationship deletes using ExternalSourceAspects in the target iModel and a *brute force* comparison against relationships in the source iModel.
1590
1581
  * @deprecated in 1.x. Don't use this anymore
1591
- * @see processChanges
1592
- * @note This method is called from [[processAll]] and is not needed by [[processChanges]], so it only needs to be called directly when processing a subset of an iModel.
1582
+ * @see [[process]] with [[IModelTransformOptions.argsForProcessChanges]] provided.
1583
+ * @note This method is called from [[process]] when [[IModelTransformOptions.argsForProcessChanges]] are undefined, so it only needs to be called directly when processing a subset of an iModel.
1593
1584
  * @throws [[IModelError]] If the required provenance information is not available to detect deletes.
1594
1585
  */
1595
1586
  async detectRelationshipDeletes() {
@@ -1771,7 +1762,7 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1771
1762
  }
1772
1763
  }
1773
1764
  /** Cause all fonts to be exported from the source iModel and imported into the target iModel.
1774
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1765
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1775
1766
  */
1776
1767
  async processFonts() {
1777
1768
  // we do not need to initialize for this since no entities are exported
@@ -1783,14 +1774,14 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1783
1774
  this.context.importFont(font.id);
1784
1775
  }
1785
1776
  /** Cause all CodeSpecs to be exported from the source iModel and imported into the target iModel.
1786
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1777
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1787
1778
  */
1788
1779
  async processCodeSpecs() {
1789
1780
  await this.initialize();
1790
1781
  return this.exporter.exportCodeSpecs();
1791
1782
  }
1792
1783
  /** Cause a single CodeSpec to be exported from the source iModel and imported into the target iModel.
1793
- * @note This method is called from [[processChanges]] and [[processAll]], so it only needs to be called directly when processing a subset of an iModel.
1784
+ * @note This method is called from [[process]], so it only needs to be called directly when processing a subset of an iModel.
1794
1785
  */
1795
1786
  async processCodeSpec(codeSpecName) {
1796
1787
  await this.initialize();
@@ -1814,21 +1805,21 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
1814
1805
  this.context.remapElement(sourceSubjectId, targetSubjectId);
1815
1806
  await this.processChildElements(sourceSubjectId);
1816
1807
  await this.processSubjectSubModels(sourceSubjectId);
1817
- return this.processDeferredElements(); // eslint-disable-line deprecation/deprecation
1818
1808
  }
1819
1809
  /**
1820
1810
  * Initialize prerequisites of processing, you must initialize with an [[InitOptions]] if you
1821
- * are intending to process changes, but prefer using [[processChanges]] explicitly since it calls this.
1811
+ * are intending to process changes. Callers may wish to explicitly call initialize if they need to execute code after initialize but before [[process]] is called.
1822
1812
  * @note Called by all `process*` functions implicitly.
1823
1813
  * Overriders must call `super.initialize()` first
1824
1814
  */
1825
- async initialize(args) {
1815
+ async initialize() {
1826
1816
  if (this._initialized)
1827
1817
  return;
1828
- await this._tryInitChangesetData(args);
1818
+ this.initScopeProvenance();
1819
+ await this._tryInitChangesetData(this._options.argsForProcessChanges);
1829
1820
  await this.context.initialize();
1830
1821
  // need exporter initialized to do remapdeletedsourceentities.
1831
- await this.exporter.initialize(this.getExportInitOpts(args ?? {}));
1822
+ await this.exporter.initialize(this.getExportInitOpts(this._options.argsForProcessChanges ?? {}));
1832
1823
  // Exporter must be initialized prior to processing changesets in order to properly handle entity recreations (an entity delete followed by an insert of that same entity).
1833
1824
  await this.processChangesets();
1834
1825
  this._initialized = true;
@@ -2037,10 +2028,11 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
2037
2028
  this._csFileProps = [];
2038
2029
  return;
2039
2030
  }
2031
+ const startChangeset = "startChangeset" in args ? args.startChangeset : undefined;
2040
2032
  // NOTE: that we do NOT download the changesummary for the last transformed version, we want
2041
2033
  // to ignore those already processed changes
2042
- const startChangesetIndexOrId = args.startChangeset?.index ??
2043
- args.startChangeset?.id ??
2034
+ const startChangesetIndexOrId = startChangeset?.index ??
2035
+ startChangeset?.id ??
2044
2036
  this.synchronizationVersion.index + 1;
2045
2037
  const endChangesetId = this.sourceDb.changeset.id;
2046
2038
  const [startChangesetIndex, endChangesetIndex] = await Promise.all([startChangesetIndexOrId, endChangesetId].map(async (indexOrId) => typeof indexOrId === "number"
@@ -2050,11 +2042,11 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
2050
2042
  iModelId: this.sourceDb.iModelId,
2051
2043
  // eslint-disable-next-line deprecation/deprecation
2052
2044
  changeset: { id: indexOrId },
2053
- accessToken: args.accessToken,
2054
2045
  })
2055
2046
  .then((changeset) => changeset.index)));
2056
2047
  const missingChangesets = startChangesetIndex > this.synchronizationVersion.index + 1;
2057
- if (!this._options.ignoreMissingChangesetsInSynchronizations &&
2048
+ if (!this._options.argsForProcessChanges
2049
+ ?.ignoreMissingChangesetsInSynchronizations &&
2058
2050
  startChangesetIndex !== this.synchronizationVersion.index + 1 &&
2059
2051
  this.synchronizationVersion.index !== -1) {
2060
2052
  throw Error(`synchronization is ${missingChangesets ? "missing changesets" : ""},` +
@@ -2089,13 +2081,40 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
2089
2081
  this._sourceChangeDataState =
2090
2082
  this._csFileProps.length === 0 ? "no-changes" : "has-changes";
2091
2083
  }
2084
+ /**
2085
+ * The behavior of process is influenced by [[IModelTransformOptions.argsForProcessChanges]] being defined or not defined during construction passed of the IModelTransformer.
2086
+ * @section When argsForProcessChanges are defined:
2087
+ *
2088
+ * Export changes from the source iModel and import the transformed entities into the target iModel.
2089
+ * Inserts, updates, and deletes are determined by inspecting the changeset(s).
2090
+ *
2091
+ * Notes:
2092
+ * - the transformer assumes that you saveChanges after processing changes. You should not modify the iModel after processChanges until saveChanges,
2093
+ * failure to do so may result in corrupted
2094
+ * data loss in future branch operations
2095
+ * - if no startChangesetId or startChangeset option is provided as part of the ProcessChangesOptions, the next unsynchronized changeset
2096
+ * will automatically be determined and used
2097
+ * - To form a range of versions to process, set `startChangesetId` for the start (inclusive) of the desired range and open the source iModel as of the end (inclusive) of the desired range.
2098
+ *
2099
+ * @section When argsForProcessChanges are undefined:
2100
+ *
2101
+ * Export everything from the source iModel and import the transformed entities into the target iModel.
2102
+ *
2103
+ * Notes:
2104
+ * - [[processSchemas]] is not called automatically since the target iModel may want a different collection of schemas.
2105
+ *
2106
+ */
2107
+ async process() {
2108
+ await this.initialize();
2109
+ this.logSettings();
2110
+ return this._options.argsForProcessChanges !== undefined
2111
+ ? this.processChanges(this._options.argsForProcessChanges)
2112
+ : this.processAll();
2113
+ }
2092
2114
  /** Export everything from the source iModel and import the transformed entities into the target iModel.
2093
2115
  * @note [[processSchemas]] is not called automatically since the target iModel may want a different collection of schemas.
2094
2116
  */
2095
2117
  async processAll() {
2096
- this.logSettings();
2097
- this.initScopeProvenance();
2098
- await this.initialize();
2099
2118
  await this.exporter.exportCodeSpecs();
2100
2119
  await this.exporter.exportFonts();
2101
2120
  if (this._options.skipPropagateChangesToRootElements) {
@@ -2109,7 +2128,6 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
2109
2128
  }
2110
2129
  await this.exporter["exportAllAspects"](); // eslint-disable-line @typescript-eslint/dot-notation
2111
2130
  await this.exporter.exportRelationships(core_backend_1.ElementRefersToElements.classFullName);
2112
- await this.processDeferredElements(); // eslint-disable-line deprecation/deprecation
2113
2131
  if (this._options.forceExternalSourceAspectProvenance &&
2114
2132
  this.shouldDetectDeletes()) {
2115
2133
  // eslint-disable-next-line deprecation/deprecation
@@ -2145,13 +2163,8 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
2145
2163
  * @note To form a range of versions to process, set `startChangesetId` for the start (inclusive) of the desired range and open the source iModel as of the end (inclusive) of the desired range.
2146
2164
  */
2147
2165
  async processChanges(options) {
2148
- this._isSynchronization = true;
2149
- this.initScopeProvenance();
2150
- this.logSettings();
2151
- await this.initialize(options);
2152
2166
  // must wait for initialization of synchronization provenance data
2153
2167
  await this.exporter.exportChanges(this.getExportInitOpts(options));
2154
- await this.processDeferredElements(); // eslint-disable-line deprecation/deprecation
2155
2168
  if (this._options.optimizeGeometry)
2156
2169
  this.importer.optimizeGeometry(this._options.optimizeGeometry);
2157
2170
  this.importer.computeProjectExtents();
@@ -2165,17 +2178,17 @@ class IModelTransformer extends IModelExporter_1.IModelExportHandler {
2165
2178
  * Call [[IModelTransformer.initialize]] for initialization of synchronization provenance data
2166
2179
  */
2167
2180
  getExportInitOpts(opts) {
2168
- if (!this._isSynchronization)
2181
+ if (!this._options.argsForProcessChanges)
2169
2182
  return {};
2183
+ const startChangeset = "startChangeset" in opts ? opts.startChangeset : undefined;
2170
2184
  return {
2171
2185
  skipPropagateChangesToRootElements: this._options.skipPropagateChangesToRootElements,
2172
- accessToken: opts.accessToken,
2173
2186
  ...(this._csFileProps
2174
2187
  ? { csFileProps: this._csFileProps }
2175
2188
  : this._changesetRanges
2176
2189
  ? { changesetRanges: this._changesetRanges }
2177
- : opts.startChangeset
2178
- ? { startChangeset: opts.startChangeset }
2190
+ : startChangeset
2191
+ ? { startChangeset }
2179
2192
  : {
2180
2193
  startChangeset: {
2181
2194
  index: this.synchronizationVersion.index + 1,
@@ -2257,8 +2270,7 @@ class TemplateModelCloner extends IModelTransformer {
2257
2270
  }
2258
2271
  /** Cloning from a template requires this override of onTransformElement. */
2259
2272
  onTransformElement(sourceElement) {
2260
- // eslint-disable-next-line deprecation/deprecation
2261
- const referenceIds = sourceElement.getReferenceConcreteIds();
2273
+ const referenceIds = sourceElement.getReferenceIds();
2262
2274
  referenceIds.forEach((referenceId) => {
2263
2275
  // TODO: consider going through all definition elements at once and remapping them to themselves
2264
2276
  if (!core_backend_1.EntityReferences.isValid(this.context.findTargetEntityId(referenceId))) {