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

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,9 +9768,14 @@ 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, }?: {
9771
+ export declare function cloneProject(project: ProjectState, { enrich, shallowErrors, ...other }?: {
9772
9772
  enrich: boolean;
9773
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>;
@@ -9779,11 +9784,31 @@ export declare function cloneProject(project: ProjectState, { enrich, shallowErr
9779
9784
  export declare function cloneProjectAsync(project: ProjectState, { enrich, shallowErrors, ...other }?: YieldOptions & {
9780
9785
  enrich: boolean;
9781
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, { enrich, shallowErrors, ...other }?: YieldOptions & {
9798
+ enrich: boolean;
9799
+ shallowErrors: boolean;
9800
+ resetVersionOptions?: {
9801
+ commonTimestamp?: string;
9802
+ author?: string;
9803
+ };
9804
+ onVisit?: (entity: UserManagedElementShallowTransfer) => Promise<void>;
9805
+ }): Promise<{
9806
+ project: IProjectShallowTransfer;
9807
+ record: Record<EntityId, UserManagedElementShallowTransfer>;
9808
+ order: EntityId[];
9809
+ maps: Map<EntityId, EntityId>;
9810
+ }>;
9811
+
9787
9812
  export declare class CloudHostedCodebaseInfrastructureResource extends InfrastructureResource implements ICloudHostedCodebaseInfrastructureResource {
9788
9813
  resourceType: InfrastructureResourceType.CloudHostedCodebase;
9789
9814
  details: ICloudHostedCodebaseDetails | null;
@@ -29682,6 +29707,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
29682
29707
  };
29683
29708
  toFullProjectTransferAsync(options?: YieldOptions & {
29684
29709
  seenEntityMaps?: Map<EntityId, EntityId>;
29710
+ resetVersionOptions?: {
29711
+ commonTimestamp?: string;
29712
+ author?: string;
29713
+ };
29714
+ onVisit?: (entity: UserManagedElementShallowTransfer) => Promise<void>;
29685
29715
  }): Promise<{
29686
29716
  order: EntityId[];
29687
29717
  size: number;