@elyx-code/project-logic-tree 0.0.6864 → 0.0.6865

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
@@ -136,6 +136,15 @@ export declare class ActionDescriptorState extends UserManagedVersionedState imp
136
136
  subscribeToDependencies(): UserManagedEntityState;
137
137
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
138
138
  captureVersion(): ActionDescriptorState;
139
+ snapshot(): ActionDescriptorState;
140
+ /**
141
+ * Given an instance of the same entity class type,
142
+ * it applies the current entity state to it by copying all of its data and entity references
143
+ *
144
+ * @param {ActionDescriptorState} snapshotInstance
145
+ * @returns {ActionDescriptorState} The snapshot instance with the current entity state applied to it
146
+ */
147
+ apply(snapshotInstance: ActionDescriptorState): ActionDescriptorState;
139
148
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ActionDescriptorState>;
140
149
  restoreVersion(versionId: EntityVersion, options?: {
141
150
  skipIfSameVersion?: boolean;
@@ -600,6 +609,15 @@ export declare class ArgumentDeclarationState extends UserManagedVersionedState
600
609
  subscribeToDependencies(): UserManagedEntityState;
601
610
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
602
611
  captureVersion(): ArgumentDeclarationState;
612
+ snapshot(): ArgumentDeclarationState;
613
+ /**
614
+ * Given an instance of the same entity class type,
615
+ * it applies the current entity state to it by copying all of its data and entity references
616
+ *
617
+ * @param {ArgumentDeclarationState} snapshotInstance
618
+ * @returns {ArgumentDeclarationState} The snapshot instance with the current entity state applied to it
619
+ */
620
+ apply(snapshotInstance: ArgumentDeclarationState): ArgumentDeclarationState;
603
621
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ArgumentDeclarationState>;
604
622
  restoreVersion(versionId: EntityVersion, options?: {
605
623
  skipIfSameVersion?: boolean;
@@ -904,6 +922,15 @@ export declare enum BaseValueDescriptorIds {
904
922
  subscribeToDependencies(): UserManagedEntityState;
905
923
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
906
924
  captureVersion(): BreakStatementState;
925
+ snapshot(): BreakStatementState;
926
+ /**
927
+ * Given an instance of the same entity class type,
928
+ * it applies the current entity state to it by copying all of its data and entity references
929
+ *
930
+ * @param {BreakStatementState} snapshotInstance
931
+ * @returns {BreakStatementState} The snapshot instance with the current entity state applied to it
932
+ */
933
+ apply(snapshotInstance: BreakStatementState): BreakStatementState;
907
934
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<BreakStatementState>;
908
935
  restoreVersion(versionId: EntityVersion, options?: {
909
936
  skipIfSameVersion?: boolean;
@@ -10154,6 +10181,15 @@ export declare enum BaseValueDescriptorIds {
10154
10181
  subscribeToDependencies(): UserManagedEntityState;
10155
10182
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
10156
10183
  captureVersion(): ConditionState;
10184
+ snapshot(): ConditionState;
10185
+ /**
10186
+ * Given an instance of the same entity class type,
10187
+ * it applies the current entity state to it by copying all of its data and entity references
10188
+ *
10189
+ * @param {ConditionState} snapshotInstance
10190
+ * @returns {ConditionState} The snapshot instance with the current entity state applied to it
10191
+ */
10192
+ apply(snapshotInstance: ConditionState): ConditionState;
10157
10193
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ConditionState>;
10158
10194
  restoreVersion(versionId: EntityVersion, options?: {
10159
10195
  skipIfSameVersion?: boolean;
@@ -10341,6 +10377,15 @@ export declare enum BaseValueDescriptorIds {
10341
10377
  subscribeToDependencies(): UserManagedEntityState;
10342
10378
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
10343
10379
  captureVersion(): ContinueStatementState;
10380
+ snapshot(): ContinueStatementState;
10381
+ /**
10382
+ * Given an instance of the same entity class type,
10383
+ * it applies the current entity state to it by copying all of its data and entity references
10384
+ *
10385
+ * @param {ContinueStatementState} snapshotInstance
10386
+ * @returns {ContinueStatementState} The snapshot instance with the current entity state applied to it
10387
+ */
10388
+ apply(snapshotInstance: ContinueStatementState): ContinueStatementState;
10344
10389
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ContinueStatementState>;
10345
10390
  restoreVersion(versionId: EntityVersion, options?: {
10346
10391
  skipIfSameVersion?: boolean;
@@ -10982,6 +11027,15 @@ export declare enum BaseValueDescriptorIds {
10982
11027
  subscribeToDependencies(): UserManagedEntityState;
10983
11028
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
10984
11029
  captureVersion(): DataTypeState;
11030
+ snapshot(): DataTypeState;
11031
+ /**
11032
+ * Given an instance of the same entity class type,
11033
+ * it applies the current entity state to it by copying all of its data and entity references
11034
+ *
11035
+ * @param {DataTypeState} snapshotInstance
11036
+ * @returns {DataTypeState} The snapshot instance with the current entity state applied to it
11037
+ */
11038
+ apply(snapshotInstance: DataTypeState): DataTypeState;
10985
11039
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<DataTypeState>;
10986
11040
  restoreVersion(versionId: EntityVersion, options?: {
10987
11041
  skipIfSameVersion?: boolean;
@@ -11952,6 +12006,15 @@ export declare enum BaseValueDescriptorIds {
11952
12006
  subscribeToDependencies(): UserManagedEntityState;
11953
12007
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
11954
12008
  captureVersion(): DefinitionEntityState;
12009
+ snapshot(): DefinitionEntityState;
12010
+ /**
12011
+ * Given an instance of the same entity class type,
12012
+ * it applies the current entity state to it by copying all of its data and entity references
12013
+ *
12014
+ * @param {DefinitionEntityState} snapshotInstance
12015
+ * @returns {DefinitionEntityState} The snapshot instance with the current entity state applied to it
12016
+ */
12017
+ apply(snapshotInstance: DefinitionEntityState): DefinitionEntityState;
11955
12018
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<DefinitionEntityState>;
11956
12019
  restoreVersion(versionId: EntityVersion, options?: {
11957
12020
  skipIfSameVersion?: boolean;
@@ -14828,6 +14891,15 @@ export declare enum BaseValueDescriptorIds {
14828
14891
  subscribeToDependencies(): UserManagedEntityState;
14829
14892
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
14830
14893
  captureVersion(): FunctionCallState;
14894
+ snapshot(): FunctionCallState;
14895
+ /**
14896
+ * Given an instance of the same entity class type,
14897
+ * it applies the current entity state to it by copying all of its data and entity references
14898
+ *
14899
+ * @param {FunctionCallState} snapshotInstance
14900
+ * @returns {FunctionCallState} The snapshot instance with the current entity state applied to it
14901
+ */
14902
+ apply(snapshotInstance: FunctionCallState): FunctionCallState;
14831
14903
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<FunctionCallState>;
14832
14904
  restoreVersion(versionId: EntityVersion, options?: {
14833
14905
  skipIfSameVersion?: boolean;
@@ -15003,6 +15075,15 @@ export declare enum BaseValueDescriptorIds {
15003
15075
  subscribeToDependencies(): UserManagedEntityState;
15004
15076
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
15005
15077
  captureVersion(): FunctionDeclarationState;
15078
+ snapshot(): FunctionDeclarationState;
15079
+ /**
15080
+ * Given an instance of the same entity class type,
15081
+ * it applies the current entity state to it by copying all of its data and entity references
15082
+ *
15083
+ * @param {FunctionDeclarationState} snapshotInstance
15084
+ * @returns {FunctionDeclarationState} The snapshot instance with the current entity state applied to it
15085
+ */
15086
+ apply(snapshotInstance: FunctionDeclarationState): FunctionDeclarationState;
15006
15087
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<FunctionDeclarationState>;
15007
15088
  restoreVersion(versionId: EntityVersion, options?: {
15008
15089
  skipIfSameVersion?: boolean;
@@ -20090,6 +20171,15 @@ export declare enum BaseValueDescriptorIds {
20090
20171
  subscribeToDependencies(): UserManagedEntityState;
20091
20172
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
20092
20173
  captureVersion(): GlobalEventState;
20174
+ snapshot(): GlobalEventState;
20175
+ /**
20176
+ * Given an instance of the same entity class type,
20177
+ * it applies the current entity state to it by copying all of its data and entity references
20178
+ *
20179
+ * @param {GlobalEventState} snapshotInstance
20180
+ * @returns {GlobalEventState} The snapshot instance with the current entity state applied to it
20181
+ */
20182
+ apply(snapshotInstance: GlobalEventState): GlobalEventState;
20093
20183
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<GlobalEventState>;
20094
20184
  restoreVersion(versionId: EntityVersion, options?: {
20095
20185
  skipIfSameVersion?: boolean;
@@ -22541,6 +22631,15 @@ export declare enum BaseValueDescriptorIds {
22541
22631
  subscribeToDependencies(): UserManagedEntityState;
22542
22632
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
22543
22633
  captureVersion(): InputMapState;
22634
+ snapshot(): InputMapState;
22635
+ /**
22636
+ * Given an instance of the same entity class type,
22637
+ * it applies the current entity state to it by copying all of its data and entity references
22638
+ *
22639
+ * @param {InputMapState} snapshotInstance
22640
+ * @returns {InputMapState} The snapshot instance with the current entity state applied to it
22641
+ */
22642
+ apply(snapshotInstance: InputMapState): InputMapState;
22544
22643
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InputMapState>;
22545
22644
  restoreVersion(versionId: EntityVersion, options?: {
22546
22645
  skipIfSameVersion?: boolean;
@@ -22687,6 +22786,15 @@ export declare enum BaseValueDescriptorIds {
22687
22786
  subscribeToDependencies(): UserManagedEntityState;
22688
22787
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
22689
22788
  captureVersion(): InstalledProjectState;
22789
+ snapshot(): InstalledProjectState;
22790
+ /**
22791
+ * Given an instance of the same entity class type,
22792
+ * it applies the current entity state to it by copying all of its data and entity references
22793
+ *
22794
+ * @param {InstalledProjectState} snapshotInstance
22795
+ * @returns {InstalledProjectState} The snapshot instance with the current entity state applied to it
22796
+ */
22797
+ apply(snapshotInstance: InstalledProjectState): InstalledProjectState;
22690
22798
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InstalledProjectState>;
22691
22799
  restoreVersion(versionId: EntityVersion, options?: {
22692
22800
  skipIfSameVersion?: boolean;
@@ -22838,6 +22946,15 @@ export declare enum BaseValueDescriptorIds {
22838
22946
  subscribeToDependencies(): UserManagedEntityState;
22839
22947
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
22840
22948
  captureVersion(): InternalCallState;
22949
+ snapshot(): InternalCallState;
22950
+ /**
22951
+ * Given an instance of the same entity class type,
22952
+ * it applies the current entity state to it by copying all of its data and entity references
22953
+ *
22954
+ * @param {InternalCallState} snapshotInstance
22955
+ * @returns {InternalCallState} The snapshot instance with the current entity state applied to it
22956
+ */
22957
+ apply(snapshotInstance: InternalCallState): InternalCallState;
22841
22958
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InternalCallState>;
22842
22959
  restoreVersion(versionId: EntityVersion, options?: {
22843
22960
  skipIfSameVersion?: boolean;
@@ -25207,6 +25324,15 @@ export declare enum BaseValueDescriptorIds {
25207
25324
  subscribeToDependencies(): UserManagedEntityState;
25208
25325
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
25209
25326
  captureVersion(): LiteralValueState;
25327
+ snapshot(): LiteralValueState;
25328
+ /**
25329
+ * Given an instance of the same entity class type,
25330
+ * it applies the current entity state to it by copying all of its data and entity references
25331
+ *
25332
+ * @param {LiteralValueState} snapshotInstance
25333
+ * @returns {LiteralValueState} The snapshot instance with the current entity state applied to it
25334
+ */
25335
+ apply(snapshotInstance: LiteralValueState): LiteralValueState;
25210
25336
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<LiteralValueState>;
25211
25337
  restoreVersion(versionId: EntityVersion, options?: {
25212
25338
  skipIfSameVersion?: boolean;
@@ -25374,6 +25500,15 @@ export declare enum BaseValueDescriptorIds {
25374
25500
  subscribeToDependencies(): UserManagedEntityState;
25375
25501
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
25376
25502
  captureVersion(): LoopState;
25503
+ snapshot(): LoopState;
25504
+ /**
25505
+ * Given an instance of the same entity class type,
25506
+ * it applies the current entity state to it by copying all of its data and entity references
25507
+ *
25508
+ * @param {LoopState} snapshotInstance
25509
+ * @returns {LoopState} The snapshot instance with the current entity state applied to it
25510
+ */
25511
+ apply(snapshotInstance: LoopState): LoopState;
25377
25512
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<LoopState>;
25378
25513
  restoreVersion(versionId: EntityVersion, options?: {
25379
25514
  skipIfSameVersion?: boolean;
@@ -29644,6 +29779,15 @@ export declare enum BaseValueDescriptorIds {
29644
29779
  subscribeToDependencies(): UserManagedEntityState;
29645
29780
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
29646
29781
  captureVersion(): OperationState;
29782
+ snapshot(): OperationState;
29783
+ /**
29784
+ * Given an instance of the same entity class type,
29785
+ * it applies the current entity state to it by copying all of its data and entity references
29786
+ *
29787
+ * @param {OperationState} snapshotInstance
29788
+ * @returns {OperationState} The snapshot instance with the current entity state applied to it
29789
+ */
29790
+ apply(snapshotInstance: OperationState): OperationState;
29647
29791
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<OperationState>;
29648
29792
  restoreVersion(versionId: EntityVersion, options?: {
29649
29793
  skipIfSameVersion?: boolean;
@@ -29839,6 +29983,15 @@ export declare enum BaseValueDescriptorIds {
29839
29983
  subscribeToDependencies(): UserManagedEntityState;
29840
29984
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
29841
29985
  captureVersion(): OutputMapState;
29986
+ snapshot(): OutputMapState;
29987
+ /**
29988
+ * Given an instance of the same entity class type,
29989
+ * it applies the current entity state to it by copying all of its data and entity references
29990
+ *
29991
+ * @param {OutputMapState} snapshotInstance
29992
+ * @returns {OutputMapState} The snapshot instance with the current entity state applied to it
29993
+ */
29994
+ apply(snapshotInstance: OutputMapState): OutputMapState;
29842
29995
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<OutputMapState>;
29843
29996
  restoreVersion(versionId: EntityVersion, options?: {
29844
29997
  skipIfSameVersion?: boolean;
@@ -30435,6 +30588,15 @@ export declare enum BaseValueDescriptorIds {
30435
30588
  subscribeToDependencies(): UserManagedEntityState;
30436
30589
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
30437
30590
  captureVersion(): ProjectState;
30591
+ snapshot(): ProjectState;
30592
+ /**
30593
+ * Given an instance of the same entity class type,
30594
+ * it applies the current entity state to it by copying all of its data and entity references
30595
+ *
30596
+ * @param {ProjectState} snapshotInstance
30597
+ * @returns {ProjectState} The snapshot instance with the current entity state applied to it
30598
+ */
30599
+ apply(snapshotInstance: ProjectState): ProjectState;
30438
30600
  recursiveCaptureUpstreamVersions(_sharedTimestamp: null | string): IChangeSet<ProjectState>;
30439
30601
  restoreVersion(versionId: EntityVersion, options?: {
30440
30602
  skipIfSameVersion?: boolean;
@@ -30726,6 +30888,15 @@ export declare enum BaseValueDescriptorIds {
30726
30888
  subscribeToDependencies(): UserManagedEntityState;
30727
30889
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
30728
30890
  captureVersion(): PropertyState;
30891
+ snapshot(): PropertyState;
30892
+ /**
30893
+ * Given an instance of the same entity class type,
30894
+ * it applies the current entity state to it by copying all of its data and entity references
30895
+ *
30896
+ * @param {PropertyState} snapshotInstance
30897
+ * @returns {PropertyState} The snapshot instance with the current entity state applied to it
30898
+ */
30899
+ apply(snapshotInstance: PropertyState): PropertyState;
30729
30900
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<PropertyState>;
30730
30901
  restoreVersion(versionId: EntityVersion, options?: {
30731
30902
  skipIfSameVersion?: boolean;
@@ -31488,6 +31659,15 @@ export declare enum BaseValueDescriptorIds {
31488
31659
  subscribeToDependencies(): UserManagedEntityState;
31489
31660
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
31490
31661
  captureVersion(): ReturnStatementState;
31662
+ snapshot(): ReturnStatementState;
31663
+ /**
31664
+ * Given an instance of the same entity class type,
31665
+ * it applies the current entity state to it by copying all of its data and entity references
31666
+ *
31667
+ * @param {ReturnStatementState} snapshotInstance
31668
+ * @returns {ReturnStatementState} The snapshot instance with the current entity state applied to it
31669
+ */
31670
+ apply(snapshotInstance: ReturnStatementState): ReturnStatementState;
31491
31671
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ReturnStatementState>;
31492
31672
  restoreVersion(versionId: EntityVersion, options?: {
31493
31673
  skipIfSameVersion?: boolean;
@@ -31739,6 +31919,15 @@ export declare enum BaseValueDescriptorIds {
31739
31919
  subscribeToDependencies(): UserManagedEntityState;
31740
31920
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
31741
31921
  captureVersion(): SearchState;
31922
+ snapshot(): SearchState;
31923
+ /**
31924
+ * Given an instance of the same entity class type,
31925
+ * it applies the current entity state to it by copying all of its data and entity references
31926
+ *
31927
+ * @param {SearchState} snapshotInstance
31928
+ * @returns {SearchState} The snapshot instance with the current entity state applied to it
31929
+ */
31930
+ apply(snapshotInstance: SearchState): SearchState;
31742
31931
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<SearchState>;
31743
31932
  restoreVersion(versionId: EntityVersion, options?: {
31744
31933
  skipIfSameVersion?: boolean;
@@ -34950,6 +35139,15 @@ export declare enum BaseValueDescriptorIds {
34950
35139
  subscribeToDependencies(): UserManagedEntityState;
34951
35140
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
34952
35141
  captureVersion(): ValueDescriptorState;
35142
+ snapshot(): ValueDescriptorState;
35143
+ /**
35144
+ * Given an instance of the same entity class type,
35145
+ * it applies the current entity state to it by copying all of its data and entity references
35146
+ *
35147
+ * @param {ValueDescriptorState} snapshotInstance
35148
+ * @returns {ValueDescriptorState} The snapshot instance with the current entity state applied to it
35149
+ */
35150
+ apply(snapshotInstance: ValueDescriptorState): ValueDescriptorState;
34953
35151
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ValueDescriptorState>;
34954
35152
  restoreVersion(versionId: EntityVersion, options?: {
34955
35153
  skipIfSameVersion?: boolean;
@@ -35177,6 +35375,15 @@ export declare enum BaseValueDescriptorIds {
35177
35375
  subscribeToDependencies(): UserManagedEntityState;
35178
35376
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
35179
35377
  captureVersion(): VariableDeclarationState;
35378
+ snapshot(): VariableDeclarationState;
35379
+ /**
35380
+ * Given an instance of the same entity class type,
35381
+ * it applies the current entity state to it by copying all of its data and entity references
35382
+ *
35383
+ * @param {VariableDeclarationState} snapshotInstance
35384
+ * @returns {VariableDeclarationState} The snapshot instance with the current entity state applied to it
35385
+ */
35386
+ apply(snapshotInstance: VariableDeclarationState): VariableDeclarationState;
35180
35387
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<VariableDeclarationState>;
35181
35388
  restoreVersion(versionId: EntityVersion, options?: {
35182
35389
  skipIfSameVersion?: boolean;
@@ -35397,6 +35604,15 @@ export declare enum BaseValueDescriptorIds {
35397
35604
  subscribeToDependencies(): UserManagedEntityState;
35398
35605
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
35399
35606
  captureVersion(): VariableInstanceState;
35607
+ snapshot(): VariableInstanceState;
35608
+ /**
35609
+ * Given an instance of the same entity class type,
35610
+ * it applies the current entity state to it by copying all of its data and entity references
35611
+ *
35612
+ * @param {VariableInstanceState} snapshotInstance
35613
+ * @returns {VariableInstanceState} The snapshot instance with the current entity state applied to it
35614
+ */
35615
+ apply(snapshotInstance: VariableInstanceState): VariableInstanceState;
35400
35616
  recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<VariableInstanceState>;
35401
35617
  restoreVersion(versionId: EntityVersion, options?: {
35402
35618
  skipIfSameVersion?: boolean;