@elyx-code/project-logic-tree 0.0.6724 → 0.0.6726

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/dist/index.d.ts CHANGED
@@ -9768,22 +9768,46 @@ export declare function clampToRange(input: ISODateString, minISO: ISODateString
9768
9768
 
9769
9769
  export declare const clampToRangeOperation: IActionDescriptorTransfer;
9770
9770
 
9771
- export declare function cloneProject(project: ProjectState, { enrich, shallowErrors, }?: {
9772
- enrich: boolean;
9773
- shallowErrors: boolean;
9771
+ export declare function cloneProject(project: ProjectState, { enrich, shallowErrors, ...other }?: {
9772
+ enrich?: boolean;
9773
+ shallowErrors?: boolean;
9774
+ resetVersionOptions?: {
9775
+ commonTimestamp?: string;
9776
+ author?: string;
9777
+ };
9778
+ onVisit?: (entity: UserManagedElementShallowTransfer) => void;
9774
9779
  }, parentContext?: IProjectInstanceParentContext): {
9775
9780
  project: ProjectState;
9776
9781
  maps: Map<EntityId, EntityId>;
9777
9782
  };
9778
9783
 
9779
9784
  export declare function cloneProjectAsync(project: ProjectState, { enrich, shallowErrors, ...other }?: YieldOptions & {
9780
- enrich: boolean;
9781
- shallowErrors: boolean;
9785
+ enrich?: boolean;
9786
+ shallowErrors?: boolean;
9787
+ resetVersionOptions?: {
9788
+ commonTimestamp?: string;
9789
+ author?: string;
9790
+ };
9791
+ onVisit?: (entity: UserManagedElementShallowTransfer) => Promise<void>;
9782
9792
  }, parentContext?: IProjectInstanceParentContext): Promise<{
9783
9793
  project: ProjectState;
9784
9794
  maps: Map<EntityId, EntityId>;
9785
9795
  }>;
9786
9796
 
9797
+ export declare function cloneToShallowRecordAsync(project: ProjectState, { shallowErrors, ...other }?: YieldOptions & {
9798
+ shallowErrors?: boolean;
9799
+ resetVersionOptions?: {
9800
+ commonTimestamp?: string;
9801
+ author?: string;
9802
+ };
9803
+ onVisit?: (entity: UserManagedElementShallowTransfer) => Promise<void>;
9804
+ }): Promise<{
9805
+ project: IProjectShallowTransfer;
9806
+ record: Record<EntityId, UserManagedElementShallowTransfer>;
9807
+ order: EntityId[];
9808
+ maps: Map<EntityId, EntityId>;
9809
+ }>;
9810
+
9787
9811
  export declare class CloudHostedCodebaseInfrastructureResource extends InfrastructureResource implements ICloudHostedCodebaseInfrastructureResource {
9788
9812
  resourceType: InfrastructureResourceType.CloudHostedCodebase;
9789
9813
  details: ICloudHostedCodebaseDetails | null;
@@ -21378,6 +21402,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
21378
21402
  export declare interface IInputMap extends IInputMap_meta, IChildEntity, IValueReadingEntity {
21379
21403
  declaration: IArgumentDeclaration | IProperty | IValueDescriptor | null;
21380
21404
  defaultValue: ILiteralValue | null;
21405
+ dataType: IDataType | null;
21381
21406
  parent: PassThroughCallableEntity | TerminationEntity;
21382
21407
  }
21383
21408
 
@@ -21415,12 +21440,14 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
21415
21440
  export declare interface IInputMapShallowTransfer extends IInputMap_meta, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer {
21416
21441
  declaration: IArgumentDeclarationReference | IPropertyReference | IValueDescriptorReference | null;
21417
21442
  defaultValue: ILiteralValueReference | null;
21443
+ dataType: IDataTypeReference | null;
21418
21444
  parent: PassThroughCallableEntityReference | TerminationEntityReference;
21419
21445
  }
21420
21446
 
21421
21447
  export declare interface IInputMapTransfer extends IInputMap_meta, IChildEntityTransfer, IValueReadingEntityTransfer {
21422
21448
  declaration: IArgumentDeclaration | IArgumentDeclarationTransfer | IProperty | IPropertyTransfer | IValueDescriptor | IValueDescriptorTransfer | null;
21423
21449
  defaultValue: ILiteralValue | ILiteralValueTransfer | null;
21450
+ dataType: IDataType | IDataTypeTransfer | null;
21424
21451
  parent: PassThroughCallableEntity | PassThroughCallableEntityReference | TerminationEntity | TerminationEntityReference;
21425
21452
  }
21426
21453
 
@@ -22175,6 +22202,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
22175
22202
 
22176
22203
  export declare interface IOutputMap extends IOutputMap_meta, IChildEntity, IValueWritingEntity {
22177
22204
  declaration: IValueDescriptor | IProperty | null;
22205
+ dataType: IDataType | null;
22178
22206
  parent: PassThroughCallableEntity;
22179
22207
  }
22180
22208
 
@@ -22202,11 +22230,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
22202
22230
 
22203
22231
  export declare interface IOutputMapShallowTransfer extends IOutputMap_meta, IChildEntityShallowTransfer, IValueWritingEntityShallowTransfer {
22204
22232
  declaration: IValueDescriptorReference | IPropertyReference | null;
22233
+ dataType: IDataTypeReference | null;
22205
22234
  parent: PassThroughCallableEntityReference;
22206
22235
  }
22207
22236
 
22208
22237
  export declare interface IOutputMapTransfer extends IOutputMap_meta, IChildEntityTransfer, IValueWritingEntityTransfer {
22209
22238
  declaration: IValueDescriptor | IValueDescriptorTransfer | IProperty | IPropertyTransfer | null;
22239
+ dataType: IDataType | IDataTypeTransfer | null;
22210
22240
  parent: PassThroughCallableEntity | PassThroughCallableEntityReference;
22211
22241
  }
22212
22242
 
@@ -29682,6 +29712,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
29682
29712
  };
29683
29713
  toFullProjectTransferAsync(options?: YieldOptions & {
29684
29714
  seenEntityMaps?: Map<EntityId, EntityId>;
29715
+ resetVersionOptions?: {
29716
+ commonTimestamp?: string;
29717
+ author?: string;
29718
+ };
29719
+ onVisit?: (entity: UserManagedElementShallowTransfer) => Promise<void>;
29685
29720
  }): Promise<{
29686
29721
  order: EntityId[];
29687
29722
  size: number;