@elyx-code/project-logic-tree 0.0.6066 → 0.0.6067

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,3 +1,3 @@
1
1
  export declare const GLOBAL_COUNTED_TEST_LOOP_ID = "global-counted-test-loop-id";
2
2
  export declare const GLOBAL_COUNTED_TEST_LOOP_BODY_ID = "global-counted-test-loop-body-id";
3
- export declare const GLOBAL_COUNTED_TEST_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "global-counted-test-loop-body-current-iteration-argument-declaration-id";
3
+ export declare const GLOBAL_COUNTED_TEST_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "global-counted-test-loop-body-current-iteration-value-argument-declaration-id";
@@ -1,8 +1,8 @@
1
1
  import { IArgumentDeclarationReference, IArgumentDeclarationTransfer, IDataTypeTransfer, IFunctionDeclarationReference, IFunctionDeclarationTransfer, ILoopReference } from '../../../..';
2
2
 
3
- export declare const globalObjectKeysTestLoopBodyCurrentIterationArgumentDeclarationDataTypeParentRef: IArgumentDeclarationReference;
4
- export declare const globalObjectKeysTestLoopBodyCurrentIterationArgumentDeclarationDataType: IDataTypeTransfer;
5
- export declare const globalObjectKeysTestLoopBodyCurrentIterationArgumentDeclarationParentRef: IFunctionDeclarationReference;
6
- export declare const globalObjectKeysTestLoopBodyCurrentIterationArgumentDeclaration: IArgumentDeclarationTransfer;
3
+ export declare const globalObjectKeysTestLoopBodyCurrentIterationValueArgumentDeclarationDataTypeParentRef: IArgumentDeclarationReference;
4
+ export declare const globalObjectKeysTestLoopBodyCurrentIterationValueArgumentDeclarationDataType: IDataTypeTransfer;
5
+ export declare const globalObjectKeysTestLoopBodyCurrentIterationValueArgumentDeclarationParentRef: IFunctionDeclarationReference;
6
+ export declare const globalObjectKeysTestLoopBodyCurrentIterationValueArgumentDeclaration: IArgumentDeclarationTransfer;
7
7
  export declare const globalObjectKeysTestLoopBodyParentRef: ILoopReference;
8
8
  export declare const globalObjectKeysTestLoopBody: IFunctionDeclarationTransfer;
@@ -1,3 +1,3 @@
1
1
  export declare const GLOBAL_OBJECT_KEYS_TEST_LOOP_ID = "global-object-keys-test-loop-id";
2
2
  export declare const GLOBAL_OBJECT_KEYS_TEST_LOOP_BODY_ID = "global-object-keys-test-loop-body-id";
3
- export declare const GLOBAL_OBJECT_KEYS_TEST_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "global-object-keys-test-loop-body-current-iteration-argument-declaration-id";
3
+ export declare const GLOBAL_OBJECT_KEYS_TEST_LOOP_CURRENT_ITERATION_VALUE_ARGUMENT_DECLARATION_ID = "global-object-keys-test-loop-body-current-iteration-value-argument-declaration-id";
@@ -1,3 +1,3 @@
1
1
  export declare const GLOBAL_OBJECT_VALUES_TEST_LOOP_ID = "global-object-values-test-loop-id";
2
2
  export declare const GLOBAL_OBJECT_VALUES_TEST_LOOP_BODY_ID = "global-object-values-test-loop-body-id";
3
- export declare const GLOBAL_OBJECT_VALUES_TEST_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "global-object-values-test-loop-body-current-iteration-argument-declaration-id";
3
+ export declare const GLOBAL_OBJECT_VALUES_TEST_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "global-object-values-test-loop-body-current-iteration-value-argument-declaration-id";
@@ -1,4 +1,4 @@
1
1
  export declare const GLOBAL_TEST_ITERATE_OVER_STRING_LOOP_ID = "global-test-iterate-over-string-loop-id";
2
2
  export declare const GLOBAL_TEST_ITERATE_OVER_STRING_LOOP_BODY_ID = "global-test-iterate-over-string-loop-body-id";
3
- export declare const GLOBAL_TEST_ITERATE_OVER_STRING_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-id";
3
+ export declare const GLOBAL_TEST_ITERATE_OVER_STRING_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-id";
4
4
  export declare const GLOBAL_TEST_ITERATE_OVER_STRING_LOOP_ITERATION_LIST_INPUT_MAP_ID = "global-test-iterate-over-string-loop-iteration-list-input-map-id";
@@ -1,3 +1,3 @@
1
1
  export declare const ITERATE_OVER_LIST_LOOP_ID = "iterate-over-list-loop-id";
2
2
  export declare const ITERATE_OVER_LIST_LOOP_BODY_ID = "iterate-over-list-loop-body-id";
3
- export declare const ITERATE_OVER_LIST_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "iterate-over-list-loop-body-current-iteration-argument-declaration-id";
3
+ export declare const ITERATE_OVER_LIST_LOOP_CURRENT_ITERATION_ARGUMENT_DECLARATION_ID = "iterate-over-list-loop-body-current-iteration-value-argument-declaration-id";
package/dist/index.js CHANGED
@@ -17860,15 +17860,15 @@ const nF = {
17860
17860
  parent: lF,
17861
17861
  x: 0,
17862
17862
  y: 0
17863
- }, Gl = "global-counted-test-loop-id", Lh = "global-counted-test-loop-body-id", Gh = "global-counted-test-loop-body-current-iteration-argument-declaration-id", uF = {
17863
+ }, Gl = "global-counted-test-loop-id", Lh = "global-counted-test-loop-body-id", Gh = "global-counted-test-loop-body-current-iteration-value-argument-declaration-id", uF = {
17864
17864
  type: n.GenericReference,
17865
- id: "global-counted-test-loop-body-current-iteration-argument-declaration-data-type-parent-ref-id",
17865
+ id: "global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",
17866
17866
  entityId: Gh,
17867
17867
  entityType: n.ArgumentDeclaration
17868
17868
  }, pF = {
17869
17869
  like: !1,
17870
17870
  inferred: !1,
17871
- id: "global-counted-test-loop-body-current-iteration-argument-declaration-data-type-id",
17871
+ id: "global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-id",
17872
17872
  type: n.DataType,
17873
17873
  andChildrenGroup: null,
17874
17874
  orChildrenGroup: null,
@@ -17881,7 +17881,7 @@ const nF = {
17881
17881
  constant: !1,
17882
17882
  parent: uF
17883
17883
  }, yF = {
17884
- id: "global-counted-test-loop-body-current-iteration-argument-declaration-parent-ref-id",
17884
+ id: "global-counted-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",
17885
17885
  type: n.GenericReference,
17886
17886
  entityId: Lh,
17887
17887
  entityType: n.FunctionDeclaration
@@ -17967,15 +17967,15 @@ const IF = {
17967
17967
  x: 0,
17968
17968
  y: 0,
17969
17969
  parent: DF
17970
- }, Ul = "global-object-keys-test-loop-id", Hh = "global-object-keys-test-loop-body-id", zh = "global-object-keys-test-loop-body-current-iteration-argument-declaration-id", SF = {
17970
+ }, Ul = "global-object-keys-test-loop-id", Hh = "global-object-keys-test-loop-body-id", zh = "global-object-keys-test-loop-body-current-iteration-value-argument-declaration-id", SF = {
17971
17971
  type: n.GenericReference,
17972
- id: "global-object-keys-test-loop-body-current-iteration-argument-declaration-data-type-parent-ref-id",
17972
+ id: "global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",
17973
17973
  entityId: zh,
17974
17974
  entityType: n.ArgumentDeclaration
17975
17975
  }, OF = {
17976
17976
  like: !1,
17977
17977
  inferred: !1,
17978
- id: "global-object-keys-test-loop-body-current-iteration-argument-declaration-data-type-id",
17978
+ id: "global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-id",
17979
17979
  type: n.DataType,
17980
17980
  andChildrenGroup: null,
17981
17981
  orChildrenGroup: null,
@@ -17988,7 +17988,7 @@ const IF = {
17988
17988
  constant: !1,
17989
17989
  parent: SF
17990
17990
  }, CF = {
17991
- id: "global-object-keys-test-loop-body-current-iteration-argument-declaration-parent-ref-id",
17991
+ id: "global-object-keys-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",
17992
17992
  type: n.GenericReference,
17993
17993
  entityId: Hh,
17994
17994
  entityType: n.FunctionDeclaration
@@ -18087,15 +18087,15 @@ const IF = {
18087
18087
  x: 0,
18088
18088
  y: 0,
18089
18089
  parent: VF
18090
- }, kl = "global-object-values-test-loop-id", Kh = "global-object-values-test-loop-body-id", Xh = "global-object-values-test-loop-body-current-iteration-argument-declaration-id", LF = {
18090
+ }, kl = "global-object-values-test-loop-id", Kh = "global-object-values-test-loop-body-id", Xh = "global-object-values-test-loop-body-current-iteration-value-argument-declaration-id", LF = {
18091
18091
  type: n.GenericReference,
18092
- id: "global-object-values-test-loop-body-current-iteration-argument-declaration-data-type-parent-ref-id",
18092
+ id: "global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",
18093
18093
  entityId: Xh,
18094
18094
  entityType: n.ArgumentDeclaration
18095
18095
  }, GF = {
18096
18096
  like: !1,
18097
18097
  inferred: !1,
18098
- id: "global-object-values-test-loop-body-current-iteration-argument-declaration-data-type-id",
18098
+ id: "global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-id",
18099
18099
  type: n.DataType,
18100
18100
  andChildrenGroup: null,
18101
18101
  orChildrenGroup: null,
@@ -18108,7 +18108,7 @@ const IF = {
18108
18108
  constant: !1,
18109
18109
  parent: LF
18110
18110
  }, FF = {
18111
- id: "global-object-values-test-loop-body-current-iteration-argument-declaration-parent-ref-id",
18111
+ id: "global-object-values-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",
18112
18112
  type: n.GenericReference,
18113
18113
  entityId: Kh,
18114
18114
  entityType: n.FunctionDeclaration
@@ -18197,15 +18197,15 @@ const IF = {
18197
18197
  x: 0,
18198
18198
  y: 0,
18199
18199
  parent: WF
18200
- }, ql = "global-test-iterate-over-string-loop-id", Jl = "global-test-iterate-over-string-loop-body-id", Os = "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-id", tf = "global-test-iterate-over-string-loop-iteration-list-input-map-id", HF = {
18200
+ }, ql = "global-test-iterate-over-string-loop-id", Jl = "global-test-iterate-over-string-loop-body-id", Os = "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-id", tf = "global-test-iterate-over-string-loop-iteration-list-input-map-id", HF = {
18201
18201
  type: n.GenericReference,
18202
- id: "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-data-type-parent-ref-id",
18202
+ id: "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",
18203
18203
  entityId: Os,
18204
18204
  entityType: n.ArgumentDeclaration
18205
18205
  }, zF = {
18206
18206
  like: !1,
18207
18207
  inferred: !1,
18208
- id: "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-data-type-id",
18208
+ id: "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",
18209
18209
  type: n.DataType,
18210
18210
  andChildrenGroup: null,
18211
18211
  orChildrenGroup: null,
@@ -18218,7 +18218,7 @@ const IF = {
18218
18218
  constant: !1,
18219
18219
  parent: HF
18220
18220
  }, ZF = {
18221
- id: "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-parent-ref-id",
18221
+ id: "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",
18222
18222
  type: n.GenericReference,
18223
18223
  entityId: Jl,
18224
18224
  entityType: n.FunctionDeclaration
@@ -18236,13 +18236,13 @@ const IF = {
18236
18236
  parent: ZF
18237
18237
  }, XF = {
18238
18238
  type: n.GenericReference,
18239
- id: "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-data-type-parent-ref-id",
18239
+ id: "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",
18240
18240
  entityId: Os,
18241
18241
  entityType: n.ArgumentDeclaration
18242
18242
  }, QF = {
18243
18243
  like: !1,
18244
18244
  inferred: !1,
18245
- id: "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-data-type-id",
18245
+ id: "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",
18246
18246
  type: n.DataType,
18247
18247
  andChildrenGroup: null,
18248
18248
  orChildrenGroup: null,
@@ -18255,7 +18255,7 @@ const IF = {
18255
18255
  constant: !1,
18256
18256
  parent: XF
18257
18257
  }, eU = {
18258
- id: "global-test-iterate-over-string-loop-body-current-iteration-argument-declaration-parent-ref-id",
18258
+ id: "global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",
18259
18259
  type: n.GenericReference,
18260
18260
  entityId: Jl,
18261
18261
  entityType: n.FunctionDeclaration
@@ -18355,15 +18355,15 @@ const IF = {
18355
18355
  x: 0,
18356
18356
  y: 0,
18357
18357
  parent: lU
18358
- }, Wl = "iterate-over-list-loop-id", nf = "iterate-over-list-loop-body-id", rf = "iterate-over-list-loop-body-current-iteration-argument-declaration-id", dU = {
18358
+ }, Wl = "iterate-over-list-loop-id", nf = "iterate-over-list-loop-body-id", rf = "iterate-over-list-loop-body-current-iteration-value-argument-declaration-id", dU = {
18359
18359
  type: n.GenericReference,
18360
- id: "iterate-over-list-loop-body-current-iteration-argument-declaration-data-type-parent-ref-id",
18360
+ id: "iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",
18361
18361
  entityId: rf,
18362
18362
  entityType: n.ArgumentDeclaration
18363
18363
  }, uU = {
18364
18364
  like: !1,
18365
18365
  inferred: !1,
18366
- id: "iterate-over-list-loop-body-current-iteration-argument-declaration-data-type-id",
18366
+ id: "iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-id",
18367
18367
  type: n.DataType,
18368
18368
  andChildrenGroup: null,
18369
18369
  orChildrenGroup: null,
@@ -18376,7 +18376,7 @@ const IF = {
18376
18376
  constant: !1,
18377
18377
  parent: dU
18378
18378
  }, pU = {
18379
- id: "iterate-over-list-loop-body-current-iteration-argument-declaration-parent-ref-id",
18379
+ id: "iterate-over-list-loop-body-current-iteration-value-argument-declaration-parent-ref-id",
18380
18380
  type: n.GenericReference,
18381
18381
  entityId: nf,
18382
18382
  entityType: n.FunctionDeclaration
@@ -24696,7 +24696,7 @@ function g5(r) {
24696
24696
  id: `${r.id}--${M.ScopeWithoutLogic}`,
24697
24697
  message: `Action "${O(r, r.project)}" with id "${r.id}" does not have any logic defined. So it doesn't do anything.`,
24698
24698
  issue: null,
24699
- severity: m.Error,
24699
+ severity: m.Warning,
24700
24700
  code: M.ScopeWithoutLogic,
24701
24701
  entity: r
24702
24702
  });
@@ -28275,7 +28275,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28275
28275
  description: "The number of the current iteration",
28276
28276
  dataType: null,
28277
28277
  implements: o == null ? void 0 : o.toJSON(),
28278
- index: 0,
28278
+ index: this.body.inputs.length,
28279
28279
  required: !0,
28280
28280
  parent: this.body.toReference(),
28281
28281
  writesValues: []
@@ -28285,7 +28285,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28285
28285
  );
28286
28286
  h.setParent(this.body), h.initChildren(), h.addSelfToProject(), t.push(h), s = h;
28287
28287
  }
28288
- s.index !== 0 && (s.sync({ index: 0 }), e.push(s)), (!s.implements || s.implements.id !== o.id) && (s.setImplements(o), e.push(s));
28288
+ !s.index && s.index !== 0 && (s.sync({ index: 0 }), e.push(s)), (!s.implements || s.implements.id !== o.id) && (s.setImplements(o), e.push(s));
28289
28289
  let u = s.getDataType();
28290
28290
  if (!u) {
28291
28291
  const p = {
@@ -28411,7 +28411,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28411
28411
  type: n.ArgumentDeclaration,
28412
28412
  name: H.CURRENT_VALUE_ARG_NAME,
28413
28413
  description: null,
28414
- index: 0,
28414
+ index: this.body.inputs.length,
28415
28415
  required: !0,
28416
28416
  implements: D,
28417
28417
  writesValues: [],
@@ -28485,7 +28485,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28485
28485
  type: n.ArgumentDeclaration,
28486
28486
  name: H.CURRENT_VALUE_ARG_NAME,
28487
28487
  description: null,
28488
- index: 0,
28488
+ index: this.body.inputs.length,
28489
28489
  required: !0,
28490
28490
  implements: D,
28491
28491
  writesValues: [],
@@ -28621,7 +28621,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28621
28621
  type: n.ArgumentDeclaration,
28622
28622
  name: H.CURRENT_VALUE_ARG_NAME,
28623
28623
  description: null,
28624
- index: 0,
28624
+ index: this.body.inputs.length,
28625
28625
  required: !0,
28626
28626
  implements: D,
28627
28627
  writesValues: [],
@@ -28687,7 +28687,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28687
28687
  type: n.ArgumentDeclaration,
28688
28688
  name: H.CURRENT_VALUE_ARG_NAME,
28689
28689
  description: null,
28690
- index: 0,
28690
+ index: this.body.inputs.length,
28691
28691
  required: !0,
28692
28692
  implements: D,
28693
28693
  writesValues: [],