@itwin/imodel-transformer 0.1.13 → 0.1.14-fedguidopt.2
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 +9 -1
- package/lib/cjs/Algo.d.ts +7 -0
- package/lib/cjs/Algo.d.ts.map +1 -0
- package/lib/cjs/Algo.js +50 -0
- package/lib/cjs/Algo.js.map +1 -0
- package/lib/cjs/IModelExporter.d.ts +31 -9
- package/lib/cjs/IModelExporter.d.ts.map +1 -1
- package/lib/cjs/IModelExporter.js +44 -24
- package/lib/cjs/IModelExporter.js.map +1 -1
- package/lib/cjs/IModelTransformer.d.ts +148 -29
- package/lib/cjs/IModelTransformer.d.ts.map +1 -1
- package/lib/cjs/IModelTransformer.js +858 -207
- package/lib/cjs/IModelTransformer.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AccessToken, Id64String } from "@itwin/core-bentley";
|
|
1
|
+
import { AccessToken, Id64Array, Id64String } from "@itwin/core-bentley";
|
|
2
2
|
import * as ECSchemaMetaData from "@itwin/ecschema-metadata";
|
|
3
3
|
import { Element, ElementAspect, ElementMultiAspect, ElementUniqueAspect, Entity, IModelDb, Model, Relationship, RelationshipProps, SQLiteDb } from "@itwin/core-backend";
|
|
4
|
-
import { CodeSpec, ElementAspectProps, ElementProps, EntityReference, EntityReferenceSet, FontProps, ModelProps, Placement2d, Placement3d } from "@itwin/core-common";
|
|
4
|
+
import { ChangesetIndexOrId, CodeSpec, ElementAspectProps, ElementProps, EntityReference, EntityReferenceSet, FontProps, ModelProps, Placement2d, Placement3d } from "@itwin/core-common";
|
|
5
5
|
import { ExportSchemaResult, IModelExporter, IModelExportHandler } from "./IModelExporter";
|
|
6
6
|
import { IModelImporter, OptimizeGeometryOptions } from "./IModelImporter";
|
|
7
7
|
import { PendingReferenceMap } from "./PendingReferenceMap";
|
|
@@ -13,7 +13,8 @@ import { IModelCloneContext } from "./IModelCloneContext";
|
|
|
13
13
|
*/
|
|
14
14
|
export interface IModelTransformOptions {
|
|
15
15
|
/** The Id of the Element in the **target** iModel that represents the **source** repository as a whole and scopes its [ExternalSourceAspect]($backend) instances.
|
|
16
|
-
*
|
|
16
|
+
* It is always a good idea to define this, although particularly necessary in any multi-source scenario such as multiple branches that reverse synchronize
|
|
17
|
+
* or physical consolidation.
|
|
17
18
|
*/
|
|
18
19
|
targetScopeElementId?: Id64String;
|
|
19
20
|
/** Set to `true` if IModelTransformer should not record its provenance.
|
|
@@ -100,6 +101,28 @@ export interface IModelTransformOptions {
|
|
|
100
101
|
* @beta
|
|
101
102
|
*/
|
|
102
103
|
optimizeGeometry?: OptimizeGeometryOptions;
|
|
104
|
+
/**
|
|
105
|
+
* force the insertion of external source aspects to provide provenance, even if there are federation guids
|
|
106
|
+
* in the source that we can use. This can make some operations (like transforming new elements or initializing forks)
|
|
107
|
+
* much slower due to needing to insert aspects, but prevents requiring change information for future merges.
|
|
108
|
+
* @default false
|
|
109
|
+
*/
|
|
110
|
+
forceExternalSourceAspectProvenance?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Do not detach the change cache that we build. Use this if you want to do multiple transformations to
|
|
113
|
+
* the same iModels, to avoid the performance cost of reinitializing the change cache which can be
|
|
114
|
+
* expensive. You should only use this if you know the cache will be reused.
|
|
115
|
+
* @note You must detach the change cache yourself.
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
noDetachChangeCache?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Do not check that processChanges is called from the next changeset index.
|
|
121
|
+
* This is an unsafe option (e.g. it can cause data loss in future branch operations)
|
|
122
|
+
* and you should not use it.
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
125
|
+
ignoreMissingChangesetsInSynchronizations?: boolean;
|
|
103
126
|
}
|
|
104
127
|
/**
|
|
105
128
|
* A container for tracking the state of a partially committed entity and finalizing it when it's ready to be fully committed
|
|
@@ -123,13 +146,25 @@ declare class PartiallyCommittedEntity {
|
|
|
123
146
|
resolveReference(id: EntityReference): void;
|
|
124
147
|
forceComplete(): void;
|
|
125
148
|
}
|
|
126
|
-
/** Arguments you can pass to [[IModelTransformer.
|
|
149
|
+
/** Arguments you can pass to [[IModelTransformer.initialize]]
|
|
127
150
|
* @beta
|
|
128
151
|
*/
|
|
129
|
-
export interface
|
|
152
|
+
export interface InitArgs {
|
|
130
153
|
accessToken?: AccessToken;
|
|
154
|
+
/**
|
|
155
|
+
* @deprecated in 0.1.x. Use startChangeset instead
|
|
156
|
+
*/
|
|
131
157
|
startChangesetId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* The starting changeset of the source, inclusive, from which to apply changes
|
|
160
|
+
* @default (if undefined) should mean the last synchronized changeset in a branch relationship
|
|
161
|
+
*/
|
|
162
|
+
startChangeset?: ChangesetIndexOrId;
|
|
132
163
|
}
|
|
164
|
+
/** Arguments you can pass to [[IModelTransformer.initExternalSourceAspects]]
|
|
165
|
+
* @deprecated in 0.1.0. Use [[InitArgs]] (and [[IModelTransformer.initialize]]) instead.
|
|
166
|
+
*/
|
|
167
|
+
export type InitFromExternalSourceAspectsArgs = InitArgs;
|
|
133
168
|
/** Base class used to transform a source iModel into a different target iModel.
|
|
134
169
|
* @see [iModel Transformation and Data Exchange]($docs/learning/transformer/index.md), [IModelExporter]($transformer), [IModelImporter]($transformer)
|
|
135
170
|
* @beta
|
|
@@ -152,10 +187,16 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
152
187
|
/** map of (unprocessed element, referencing processed element) pairs to the partially committed element that needs the reference resolved
|
|
153
188
|
* and have some helper methods below for now */
|
|
154
189
|
protected _pendingReferences: PendingReferenceMap<PartiallyCommittedEntity>;
|
|
190
|
+
/** a set of elements for which source provenance will be explicitly tracked by ExternalSourceAspects */
|
|
191
|
+
protected _elementsWithExplicitlyTrackedProvenance: Set<string>;
|
|
155
192
|
/** map of partially committed entities to their partial commit progress */
|
|
156
193
|
protected _partiallyCommittedEntities: EntityMap<PartiallyCommittedEntity>;
|
|
157
194
|
/** the options that were used to initialize this transformer */
|
|
158
195
|
private readonly _options;
|
|
196
|
+
private _isSynchronization;
|
|
197
|
+
private get _isReverseSynchronization();
|
|
198
|
+
private get _isForwardSynchronization();
|
|
199
|
+
private _changesetRanges;
|
|
159
200
|
/** Set if it can be determined whether this is the first source --> target synchronization. */
|
|
160
201
|
private _isFirstSynchronization?;
|
|
161
202
|
/** The element classes that are considered to define provenance in the iModel */
|
|
@@ -176,17 +217,55 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
176
217
|
* @note This will be [[targetDb]] except when it is a reverse synchronization. In that case it be [[sourceDb]].
|
|
177
218
|
*/
|
|
178
219
|
get provenanceDb(): IModelDb;
|
|
179
|
-
/**
|
|
220
|
+
/** Return the IModelDb where IModelTransformer will NOT store its provenance.
|
|
221
|
+
* @note This will be [[sourceDb]] except when it is a reverse synchronization. In that case it be [[targetDb]].
|
|
222
|
+
*/
|
|
223
|
+
get provenanceSourceDb(): IModelDb;
|
|
180
224
|
private initElementProvenance;
|
|
225
|
+
/**
|
|
226
|
+
* Previously the transformer would insert provenance always pointing to the "target" relationship.
|
|
227
|
+
* It should (and now by default does) instead insert provenance pointing to the provenanceSource
|
|
228
|
+
* SEE: https://github.com/iTwin/imodel-transformer/issues/54
|
|
229
|
+
* This exists only to facilitate testing that the transformer can handle the older, flawed method
|
|
230
|
+
*/
|
|
231
|
+
private _forceOldRelationshipProvenanceMethod;
|
|
181
232
|
/** Create an ExternalSourceAspectProps in a standard way for a Relationship in an iModel --> iModel transformations.
|
|
182
233
|
* The ExternalSourceAspect is meant to be owned by the Element in the target iModel that is the `sourceId` of transformed relationship.
|
|
183
234
|
* The `identifier` property of the ExternalSourceAspect will be the ECInstanceId of the relationship in the source iModel.
|
|
184
235
|
* The ECInstanceId of the relationship in the target iModel will be stored in the JsonProperties of the ExternalSourceAspect.
|
|
185
236
|
*/
|
|
186
237
|
private initRelationshipProvenance;
|
|
187
|
-
|
|
188
|
-
private
|
|
189
|
-
/**
|
|
238
|
+
/** NOTE: the json properties must be converted to string before insertion */
|
|
239
|
+
private _targetScopeProvenanceProps;
|
|
240
|
+
/**
|
|
241
|
+
* Index of the changeset that the transformer was at when the transformation begins (was constructed).
|
|
242
|
+
* Used to determine at the end which changesets were part of a synchronization.
|
|
243
|
+
*/
|
|
244
|
+
private _startingTargetChangesetIndex;
|
|
245
|
+
private _cachedSynchronizationVersion;
|
|
246
|
+
/** the changeset in the scoping element's source version found for this transformation
|
|
247
|
+
* @note: the version depends on whether this is a reverse synchronization or not, as
|
|
248
|
+
* it is stored separately for both synchronization directions
|
|
249
|
+
* @note: empty string and -1 for changeset and index if it has never been transformed
|
|
250
|
+
*/
|
|
251
|
+
private get _synchronizationVersion();
|
|
252
|
+
/**
|
|
253
|
+
* Make sure there are no conflicting other scope-type external source aspects on the *target scope element*,
|
|
254
|
+
* If there are none at all, insert one, then this must be a first synchronization.
|
|
255
|
+
* @returns the last synced version (changesetId) on the target scope's external source aspect,
|
|
256
|
+
* if this was a [BriefcaseDb]($backend)
|
|
257
|
+
*/
|
|
258
|
+
private initScopeProvenance;
|
|
259
|
+
/**
|
|
260
|
+
* @returns the id and version of an aspect with the given element, scope, kind, and identifier
|
|
261
|
+
* May also return a reverseSyncVersion from json properties if requested
|
|
262
|
+
*/
|
|
263
|
+
private queryScopeExternalSource;
|
|
264
|
+
/**
|
|
265
|
+
* Iterate all matching ExternalSourceAspects in the provenance iModel (target unless reverse sync) and call a function for each one.
|
|
266
|
+
* @note provenance is done by federation guids where possible
|
|
267
|
+
* @note this may execute on each element more than once! Only use in cases where that is handled
|
|
268
|
+
*/
|
|
190
269
|
private forEachTrackedElement;
|
|
191
270
|
/** Initialize the source to target Element mapping from ExternalSourceAspects in the target iModel.
|
|
192
271
|
* @note This method is called from all `process*` functions and should never need to be called directly.
|
|
@@ -194,19 +273,30 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
194
273
|
* @note Passing an [[InitFromExternalSourceAspectsArgs]] is required when processing changes, to remap any elements that may have been deleted.
|
|
195
274
|
* You must await the returned promise as well in this case. The synchronous behavior has not changed but is deprecated and won't process everything.
|
|
196
275
|
*/
|
|
197
|
-
initFromExternalSourceAspects(args?:
|
|
198
|
-
/**
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*/
|
|
202
|
-
private
|
|
276
|
+
initFromExternalSourceAspects(args?: InitArgs): void | Promise<void>;
|
|
277
|
+
/**
|
|
278
|
+
* Scan changesets for deleted entities, if in a reverse synchronization, provenance has
|
|
279
|
+
* already been deleted, so we must scan for that as well.
|
|
280
|
+
*/
|
|
281
|
+
private remapDeletedSourceEntities;
|
|
282
|
+
private _queryProvenanceForElement;
|
|
283
|
+
private _queryProvenanceForRelationship;
|
|
284
|
+
private _queryTargetRelId;
|
|
285
|
+
private _targetClassNameToClassIdCache;
|
|
286
|
+
private _targetClassNameToClassId;
|
|
287
|
+
private _getRelClassId;
|
|
288
|
+
private _queryElemIdByFedGuid;
|
|
203
289
|
/** Returns `true` if *brute force* delete detections should be run.
|
|
204
290
|
* @note Not relevant for processChanges when change history is known.
|
|
205
291
|
*/
|
|
206
292
|
private shouldDetectDeletes;
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
*
|
|
293
|
+
/**
|
|
294
|
+
* Detect Element deletes using ExternalSourceAspects in the target iModel and a *brute force* comparison against Elements
|
|
295
|
+
* in the source iModel.
|
|
296
|
+
* @deprecated in 0.1.x. This method is only called during [[processAll]] when the option
|
|
297
|
+
* [[IModelTransformerOptions.forceExternalSourceAspectProvenance]] is enabled. It is not
|
|
298
|
+
* necessary when using [[processChanges]] since changeset information is sufficient.
|
|
299
|
+
* @note you do not need to call this directly unless processing a subset of an iModel.
|
|
210
300
|
* @throws [[IModelError]] If the required provenance information is not available to detect deletes.
|
|
211
301
|
*/
|
|
212
302
|
detectElementDeletes(): Promise<void>;
|
|
@@ -221,12 +311,15 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
221
311
|
* @note This can be called more than once for an element in arbitrary order, so it should not have side-effects.
|
|
222
312
|
*/
|
|
223
313
|
onTransformElement(sourceElement: Element): ElementProps;
|
|
314
|
+
private _hasElementChangedCache?;
|
|
315
|
+
private _deletedSourceRelationshipData?;
|
|
316
|
+
private _cacheSourceChanges;
|
|
224
317
|
/** Returns true if a change within sourceElement is detected.
|
|
225
318
|
* @param sourceElement The Element from the source iModel
|
|
226
319
|
* @param targetElementId The Element from the target iModel to compare against.
|
|
227
320
|
* @note A subclass can override this method to provide custom change detection behavior.
|
|
228
321
|
*/
|
|
229
|
-
protected hasElementChanged(sourceElement: Element,
|
|
322
|
+
protected hasElementChanged(sourceElement: Element, _targetElementId: Id64String): boolean;
|
|
230
323
|
private static transformCallbackFor;
|
|
231
324
|
/** callback to perform when a partial element says it's ready to be completed
|
|
232
325
|
* transforms the source element with all references now valid, then updates the partial element with the results
|
|
@@ -296,6 +389,11 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
296
389
|
* @deprecated in 3.x. This method is no longer necessary since the transformer no longer needs to defer elements
|
|
297
390
|
*/
|
|
298
391
|
processDeferredElements(_numRetries?: number): Promise<void>;
|
|
392
|
+
/** called at the end ([[finalizeTransformation]]) of a transformation,
|
|
393
|
+
* updates the target scope element to say that transformation up through the
|
|
394
|
+
* source's changeset has been performed.
|
|
395
|
+
*/
|
|
396
|
+
private _updateSynchronizationVersion;
|
|
299
397
|
private finalizeTransformation;
|
|
300
398
|
/** Imports all relationships that subclass from the specified base class.
|
|
301
399
|
* @param baseRelClassFullName The specified base relationship class.
|
|
@@ -316,6 +414,7 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
316
414
|
onDeleteRelationship(sourceRelInstanceId: Id64String): void;
|
|
317
415
|
private _yieldManager;
|
|
318
416
|
/** Detect Relationship deletes using ExternalSourceAspects in the target iModel and a *brute force* comparison against relationships in the source iModel.
|
|
417
|
+
* @deprecated
|
|
319
418
|
* @see processChanges
|
|
320
419
|
* @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.
|
|
321
420
|
* @throws [[IModelError]] If the required provenance information is not available to detect deletes.
|
|
@@ -389,17 +488,22 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
389
488
|
processSubject(sourceSubjectId: Id64String, targetSubjectId: Id64String): Promise<void>;
|
|
390
489
|
/** state to prevent reinitialization, @see [[initialize]] */
|
|
391
490
|
private _initialized;
|
|
491
|
+
/** length === 0 when _changeDataState = "no-change", length > 0 means "has-changes", otherwise undefined */
|
|
492
|
+
private _changeSummaryIds?;
|
|
493
|
+
private _sourceChangeDataState;
|
|
392
494
|
/**
|
|
393
|
-
* Initialize prerequisites of processing, you must initialize with an [[
|
|
394
|
-
* are intending process changes, but prefer using [[processChanges]]
|
|
395
|
-
* Called by all `process*` functions implicitly.
|
|
495
|
+
* Initialize prerequisites of processing, you must initialize with an [[InitArgs]] if you
|
|
496
|
+
* are intending to process changes, but prefer using [[processChanges]] explicitly since it calls this.
|
|
497
|
+
* @note Called by all `process*` functions implicitly.
|
|
396
498
|
* Overriders must call `super.initialize()` first
|
|
397
499
|
*/
|
|
398
|
-
initialize(args?:
|
|
500
|
+
initialize(args?: InitArgs): Promise<void>;
|
|
501
|
+
private _tryInitChangesetData;
|
|
399
502
|
/** Export everything from the source iModel and import the transformed entities into the target iModel.
|
|
400
503
|
* @note [[processSchemas]] is not called automatically since the target iModel may want a different collection of schemas.
|
|
401
504
|
*/
|
|
402
505
|
processAll(): Promise<void>;
|
|
506
|
+
/** previous provenance, either a federation guid, a `${sourceFedGuid}/${targetFedGuid}` pair, or required aspect props */
|
|
403
507
|
private _lastProvenanceEntityInfo;
|
|
404
508
|
private markLastProvenance;
|
|
405
509
|
/** @internal the name of the table where javascript state of the transformer is serialized in transformer state dumps */
|
|
@@ -453,13 +557,28 @@ export declare class IModelTransformer extends IModelExportHandler {
|
|
|
453
557
|
*/
|
|
454
558
|
saveStateToFile(nativeStatePath: string): void;
|
|
455
559
|
/** Export changes from the source iModel and import the transformed entities into the target iModel.
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
560
|
+
* Inserts, updates, and deletes are determined by inspecting the changeset(s).
|
|
561
|
+
* @note the transformer assumes that you saveChanges after processing changes. You should not
|
|
562
|
+
* modify the iModel after processChanges until saveChanges, failure to do so may result in corrupted
|
|
563
|
+
* data loss in future branch operations
|
|
564
|
+
* @param accessToken A valid access token string
|
|
565
|
+
* @param startChangesetId Include changes from this changeset up through and including the current changeset.
|
|
566
|
+
* If this parameter is not provided, then just the current changeset will be exported.
|
|
567
|
+
* @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.
|
|
568
|
+
*/
|
|
569
|
+
processChanges(options: InitArgs): Promise<void>;
|
|
570
|
+
/**
|
|
571
|
+
* @deprecated in 0.1.x.
|
|
572
|
+
* This overload follows the older behavior of defaulting an undefined startChangesetId to the
|
|
573
|
+
* current changeset.
|
|
574
|
+
*/
|
|
462
575
|
processChanges(accessToken: AccessToken, startChangesetId?: string): Promise<void>;
|
|
576
|
+
/** Combine an array of source elements into a single target element.
|
|
577
|
+
* All source and target elements must be created before calling this method.
|
|
578
|
+
* The "combine" operation is a remap and no properties from the source elements will be exported into the target
|
|
579
|
+
* and provenance will be explicitly tracked by ExternalSourceAspects
|
|
580
|
+
*/
|
|
581
|
+
combineElements(sourceElementIds: Id64Array, targetElementId: Id64String): void;
|
|
463
582
|
}
|
|
464
583
|
/** IModelTransformer that clones the contents of a template model.
|
|
465
584
|
* @beta
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IModelTransformer.d.ts","sourceRoot":"","sources":["../../src/IModelTransformer.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"IModelTransformer.d.ts","sourceRoot":"","sources":["../../src/IModelTransformer.ts"],"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