@elyx-code/project-logic-tree 0.0.6091 → 0.0.6093

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.js CHANGED
@@ -20570,7 +20570,7 @@ function Gs() {
20570
20570
  function Of() {
20571
20571
  return d.record(d.string(), Gs());
20572
20572
  }
20573
- function e6() {
20573
+ function ej() {
20574
20574
  return d.array(
20575
20575
  d.union([
20576
20576
  Gs(),
@@ -20582,7 +20582,7 @@ function Cf() {
20582
20582
  return d.union([
20583
20583
  Gs(),
20584
20584
  Of(),
20585
- e6()
20585
+ ej()
20586
20586
  ]);
20587
20587
  }
20588
20588
  function wf() {
@@ -20606,14 +20606,14 @@ function Bf() {
20606
20606
  I.ActionDescriptor
20607
20607
  ]);
20608
20608
  }
20609
- function t6() {
20609
+ function tj() {
20610
20610
  return d.union([
20611
20611
  Tr(),
20612
20612
  mi(),
20613
20613
  ga()
20614
20614
  ]);
20615
20615
  }
20616
- function n6() {
20616
+ function nj() {
20617
20617
  return d.object({
20618
20618
  id: d.string(),
20619
20619
  name: Bf(),
@@ -20622,8 +20622,8 @@ function n6() {
20622
20622
  autogeneration: gf.nullable()
20623
20623
  });
20624
20624
  }
20625
- function r6() {
20626
- return n6().merge(
20625
+ function rj() {
20626
+ return nj().merge(
20627
20627
  d.object({
20628
20628
  // valueAsType:
20629
20629
  // getPrimitiveValueAsTypeGenerationTargetSchemaSchema().nullable(),
@@ -20642,7 +20642,7 @@ function Yt() {
20642
20642
  name: Bf(),
20643
20643
  type: d.literal(n.PrimitiveValue),
20644
20644
  value: wf(),
20645
- valueAsType: t6().nullable(),
20645
+ valueAsType: tj().nullable(),
20646
20646
  autogeneration: gf.nullable(),
20647
20647
  parent: d.union([
20648
20648
  fc(),
@@ -20650,77 +20650,77 @@ function Yt() {
20650
20650
  ])
20651
20651
  });
20652
20652
  }
20653
- function i6() {
20653
+ function ij() {
20654
20654
  return Yt().extend({
20655
20655
  name: d.literal(I.String),
20656
20656
  value: d.string(),
20657
20657
  autogeneration: Ef.nullable()
20658
20658
  });
20659
20659
  }
20660
- function a6() {
20660
+ function aj() {
20661
20661
  return Yt().extend({
20662
20662
  name: d.literal(I.Number),
20663
20663
  value: d.number(),
20664
20664
  autogeneration: vf.nullable()
20665
20665
  });
20666
20666
  }
20667
- function s6() {
20667
+ function sj() {
20668
20668
  return Yt().extend({
20669
20669
  name: d.literal(I.Boolean),
20670
20670
  value: d.boolean(),
20671
20671
  autogeneration: bf.nullable()
20672
20672
  });
20673
20673
  }
20674
- function o6() {
20674
+ function oj() {
20675
20675
  return Yt().extend({
20676
20676
  name: d.literal(I.Null),
20677
20677
  value: d.null(),
20678
20678
  autogeneration: d.null()
20679
20679
  });
20680
20680
  }
20681
- function l6() {
20681
+ function lj() {
20682
20682
  return Yt().extend({
20683
20683
  name: d.literal(I.Date),
20684
20684
  value: d.date(),
20685
20685
  autogeneration: Rf.nullable()
20686
20686
  });
20687
20687
  }
20688
- function c6() {
20688
+ function cj() {
20689
20689
  return Yt().extend({
20690
20690
  name: d.literal(I.KeyValue),
20691
20691
  value: Cf(),
20692
20692
  autogeneration: d.null()
20693
20693
  });
20694
20694
  }
20695
- function d6() {
20695
+ function dj() {
20696
20696
  return Yt().extend({
20697
20697
  name: d.literal(I.Enum),
20698
20698
  value: d.string(),
20699
20699
  autogeneration: d.null()
20700
20700
  });
20701
20701
  }
20702
- function u6() {
20702
+ function uj() {
20703
20703
  return Yt().extend({
20704
20704
  name: d.literal(I.File),
20705
20705
  value: d.string(),
20706
20706
  autogeneration: d.null()
20707
20707
  });
20708
20708
  }
20709
- function p6() {
20709
+ function pj() {
20710
20710
  return Yt().extend({
20711
20711
  name: d.literal(I.UUID),
20712
20712
  value: d.string(),
20713
20713
  autogeneration: Tf.nullable()
20714
20714
  });
20715
20715
  }
20716
- function y6() {
20716
+ function yj() {
20717
20717
  return Yt().extend({
20718
20718
  name: d.literal(I.EntityTemplate),
20719
20719
  value: Tr(),
20720
20720
  autogeneration: d.null()
20721
20721
  });
20722
20722
  }
20723
- function h6() {
20723
+ function hj() {
20724
20724
  return Yt().extend({
20725
20725
  name: d.literal(I.ActionDescriptor),
20726
20726
  value: ga(),
@@ -20729,17 +20729,17 @@ function h6() {
20729
20729
  }
20730
20730
  function hc() {
20731
20731
  return d.union([
20732
- i6(),
20733
- a6(),
20734
- s6(),
20735
- o6(),
20736
- l6(),
20737
- c6(),
20738
- d6(),
20739
- u6(),
20740
- p6(),
20741
- y6(),
20742
- h6()
20732
+ ij(),
20733
+ aj(),
20734
+ sj(),
20735
+ oj(),
20736
+ lj(),
20737
+ cj(),
20738
+ dj(),
20739
+ uj(),
20740
+ pj(),
20741
+ yj(),
20742
+ hj()
20743
20743
  ]);
20744
20744
  }
20745
20745
  function yr() {
@@ -20769,14 +20769,14 @@ function mc() {
20769
20769
  options: d.array(d.string()).optional()
20770
20770
  });
20771
20771
  }
20772
- function f6() {
20772
+ function fj() {
20773
20773
  return mc().merge(
20774
20774
  d.object({
20775
20775
  version: d.number()
20776
20776
  })
20777
20777
  );
20778
20778
  }
20779
- function m6() {
20779
+ function mj() {
20780
20780
  return mc().merge(
20781
20781
  d.object({
20782
20782
  // parent: z.union([
@@ -20789,7 +20789,7 @@ function m6() {
20789
20789
  })
20790
20790
  );
20791
20791
  }
20792
- function T6() {
20792
+ function Tj() {
20793
20793
  return d.object({
20794
20794
  defaultValue: hc().nullable(),
20795
20795
  entity: d.union([
@@ -20800,13 +20800,13 @@ function T6() {
20800
20800
  ]).nullable(),
20801
20801
  parent: d.union([
20802
20802
  Df(),
20803
- F6(),
20803
+ Fj(),
20804
20804
  If()
20805
20805
  ])
20806
20806
  });
20807
20807
  }
20808
- function b6() {
20809
- return f6().merge(T6());
20808
+ function bj() {
20809
+ return fj().merge(Tj());
20810
20810
  }
20811
20811
  function Tc() {
20812
20812
  return d.union([
@@ -20816,7 +20816,7 @@ function Tc() {
20816
20816
  d.record(d.string(), d.any())
20817
20817
  ]);
20818
20818
  }
20819
- function E6() {
20819
+ function Ej() {
20820
20820
  return d.object({
20821
20821
  id: d.string(),
20822
20822
  type: d.literal(n.GenericReference),
@@ -20832,7 +20832,7 @@ function bc() {
20832
20832
  description: d.string().nullable()
20833
20833
  });
20834
20834
  }
20835
- function v6() {
20835
+ function vj() {
20836
20836
  return bc().merge(
20837
20837
  d.object({
20838
20838
  version: d.number(),
@@ -20841,7 +20841,7 @@ function v6() {
20841
20841
  })
20842
20842
  );
20843
20843
  }
20844
- function R6() {
20844
+ function Rj() {
20845
20845
  return bc().merge(
20846
20846
  d.object({
20847
20847
  // calledBySuccess: z.array(
@@ -20861,7 +20861,7 @@ function R6() {
20861
20861
  })
20862
20862
  );
20863
20863
  }
20864
- function g6() {
20864
+ function gj() {
20865
20865
  return d.object({
20866
20866
  dataType: yr().nullable(),
20867
20867
  readsValue: js().nullable(),
@@ -20880,8 +20880,8 @@ function g6() {
20880
20880
  ])
20881
20881
  });
20882
20882
  }
20883
- function I6() {
20884
- return v6().merge(g6());
20883
+ function Ij() {
20884
+ return vj().merge(gj());
20885
20885
  }
20886
20886
  function _f() {
20887
20887
  return d.union([
@@ -20891,7 +20891,7 @@ function _f() {
20891
20891
  d.record(d.string(), d.any())
20892
20892
  ]);
20893
20893
  }
20894
- function D6() {
20894
+ function Dj() {
20895
20895
  return d.object({
20896
20896
  id: d.string(),
20897
20897
  type: d.literal(n.GenericReference),
@@ -20905,7 +20905,7 @@ function Ec() {
20905
20905
  type: d.literal(n.VariableInstance)
20906
20906
  });
20907
20907
  }
20908
- function P6() {
20908
+ function Pj() {
20909
20909
  return Ec().merge(
20910
20910
  d.object({
20911
20911
  version: d.number(),
@@ -20914,7 +20914,7 @@ function P6() {
20914
20914
  })
20915
20915
  );
20916
20916
  }
20917
- function A6() {
20917
+ function Aj() {
20918
20918
  return Ec().merge(
20919
20919
  d.object({
20920
20920
  // declaration: z.union([
@@ -20938,7 +20938,7 @@ function A6() {
20938
20938
  })
20939
20939
  );
20940
20940
  }
20941
- function S6() {
20941
+ function Sj() {
20942
20942
  return d.object({
20943
20943
  declaration: Tc(),
20944
20944
  dataType: yr().nullable(),
@@ -20958,9 +20958,9 @@ function S6() {
20958
20958
  ])
20959
20959
  });
20960
20960
  }
20961
- function O6() {
20962
- return P6().merge(
20963
- S6()
20961
+ function Oj() {
20962
+ return Pj().merge(
20963
+ Sj()
20964
20964
  );
20965
20965
  }
20966
20966
  function vc() {
@@ -20979,25 +20979,25 @@ function Fs() {
20979
20979
  entityType: d.literal(n.InstalledProject)
20980
20980
  });
20981
20981
  }
20982
- function C6() {
20982
+ function Cj() {
20983
20983
  return d.object({
20984
20984
  id: d.string(),
20985
20985
  type: d.literal(n.InstalledProject)
20986
20986
  });
20987
20987
  }
20988
- function w6() {
20988
+ function wj() {
20989
20989
  return d.object({
20990
20990
  version: d.number(),
20991
20991
  x: d.number(),
20992
20992
  y: d.number()
20993
20993
  });
20994
20994
  }
20995
- function B6() {
20995
+ function Bj() {
20996
20996
  return d.object({
20997
20997
  // parent: z.union([z.string(), getProjectReferenceSchema()]).nullable().optional(),
20998
20998
  });
20999
20999
  }
21000
- function _6() {
21000
+ function _j() {
21001
21001
  return d.object({
21002
21002
  implements: gt(),
21003
21003
  description: d.string().nullable(),
@@ -21006,8 +21006,8 @@ function _6() {
21006
21006
  parent: gt()
21007
21007
  });
21008
21008
  }
21009
- function M6() {
21010
- return w6().merge(_6());
21009
+ function Mj() {
21010
+ return wj().merge(_j());
21011
21011
  }
21012
21012
  function Rc() {
21013
21013
  return d.union([
@@ -21017,7 +21017,7 @@ function Rc() {
21017
21017
  d.record(d.string(), d.any())
21018
21018
  ]);
21019
21019
  }
21020
- function N6() {
21020
+ function Nj() {
21021
21021
  return d.object({
21022
21022
  id: d.string(),
21023
21023
  type: d.literal(n.GenericReference),
@@ -21033,7 +21033,7 @@ function Us() {
21033
21033
  collapsed: d.boolean()
21034
21034
  });
21035
21035
  }
21036
- function V6() {
21036
+ function Vj() {
21037
21037
  return Us().merge(
21038
21038
  d.object({
21039
21039
  version: d.number(),
@@ -21042,7 +21042,7 @@ function V6() {
21042
21042
  })
21043
21043
  );
21044
21044
  }
21045
- function x6() {
21045
+ function xj() {
21046
21046
  return Us().merge(
21047
21047
  d.object({
21048
21048
  // extends: z.array(
@@ -21055,7 +21055,7 @@ function x6() {
21055
21055
  })
21056
21056
  );
21057
21057
  }
21058
- function $6() {
21058
+ function $j() {
21059
21059
  return Us().merge(
21060
21060
  d.object({
21061
21061
  returnStatements: d.array(pr()),
@@ -21069,8 +21069,8 @@ function $6() {
21069
21069
  })
21070
21070
  );
21071
21071
  }
21072
- function L6() {
21073
- return V6().merge($6());
21072
+ function Lj() {
21073
+ return Vj().merge($j());
21074
21074
  }
21075
21075
  function Ti() {
21076
21076
  return d.union([
@@ -21080,8 +21080,8 @@ function Ti() {
21080
21080
  }
21081
21081
  function hr() {
21082
21082
  return d.union([
21083
- E6(),
21084
- D6()
21083
+ Ej(),
21084
+ Dj()
21085
21085
  ]);
21086
21086
  }
21087
21087
  function xn() {
@@ -21091,7 +21091,7 @@ function xn() {
21091
21091
  hn()
21092
21092
  ]);
21093
21093
  }
21094
- function G6() {
21094
+ function Gj() {
21095
21095
  return d.union([
21096
21096
  hr(),
21097
21097
  $s(),
@@ -21125,18 +21125,18 @@ function V2() {
21125
21125
  xn()
21126
21126
  ]);
21127
21127
  }
21128
- function F6() {
21128
+ function Fj() {
21129
21129
  return d.union([
21130
21130
  Sc(),
21131
21131
  sc(),
21132
- G6()
21132
+ Gj()
21133
21133
  ]);
21134
21134
  }
21135
21135
  function gc() {
21136
21136
  return Rc();
21137
21137
  }
21138
21138
  function Ic() {
21139
- return N6();
21139
+ return Nj();
21140
21140
  }
21141
21141
  function Dc() {
21142
21142
  return d.union([
@@ -21180,7 +21180,7 @@ function Ac() {
21180
21180
  on()
21181
21181
  ]);
21182
21182
  }
21183
- function U6() {
21183
+ function Uj() {
21184
21184
  return d.union([
21185
21185
  Dc(),
21186
21186
  pr(),
@@ -21196,7 +21196,7 @@ function ze() {
21196
21196
  ui()
21197
21197
  ]);
21198
21198
  }
21199
- function j6() {
21199
+ function jj() {
21200
21200
  return d.union([
21201
21201
  Pc(),
21202
21202
  pr(),
@@ -21204,7 +21204,7 @@ function j6() {
21204
21204
  di()
21205
21205
  ]);
21206
21206
  }
21207
- function k6() {
21207
+ function kj() {
21208
21208
  return d.union([
21209
21209
  Ac(),
21210
21210
  pi(),
@@ -21250,7 +21250,7 @@ function G2() {
21250
21250
  }
21251
21251
  function F2() {
21252
21252
  return d.union([
21253
- U6(),
21253
+ Uj(),
21254
21254
  fr()
21255
21255
  ]);
21256
21256
  }
@@ -21262,13 +21262,13 @@ function U2() {
21262
21262
  }
21263
21263
  function j2() {
21264
21264
  return d.union([
21265
- j6(),
21265
+ jj(),
21266
21266
  fr()
21267
21267
  ]);
21268
21268
  }
21269
21269
  function k2() {
21270
21270
  return d.union([
21271
- k6(),
21271
+ kj(),
21272
21272
  Ye()
21273
21273
  ]);
21274
21274
  }
@@ -21322,7 +21322,7 @@ function Z2() {
21322
21322
  function K2() {
21323
21323
  return d.union([
21324
21324
  Br(),
21325
- X6(),
21325
+ Xj(),
21326
21326
  vc(),
21327
21327
  _r(),
21328
21328
  Ot(),
@@ -21437,7 +21437,7 @@ function Oc() {
21437
21437
  type: d.literal(n.ArgumentDeclaration)
21438
21438
  });
21439
21439
  }
21440
- function q6() {
21440
+ function qj() {
21441
21441
  return Oc().merge(
21442
21442
  d.object({
21443
21443
  version: d.number(),
@@ -21446,7 +21446,7 @@ function q6() {
21446
21446
  })
21447
21447
  );
21448
21448
  }
21449
- function J6() {
21449
+ function Jj() {
21450
21450
  return Oc().merge(
21451
21451
  d.object({
21452
21452
  // parent: z.union([
@@ -21460,7 +21460,7 @@ function J6() {
21460
21460
  })
21461
21461
  );
21462
21462
  }
21463
- function W6() {
21463
+ function Wj() {
21464
21464
  return d.object({
21465
21465
  dataType: yr().nullable(),
21466
21466
  writesValues: d.array(xn()),
@@ -21473,8 +21473,8 @@ function W6() {
21473
21473
  ])
21474
21474
  });
21475
21475
  }
21476
- function Y6() {
21477
- return q6().merge(W6());
21476
+ function Yj() {
21477
+ return qj().merge(Wj());
21478
21478
  }
21479
21479
  function Ot() {
21480
21480
  return d.union([
@@ -21500,7 +21500,7 @@ function Cc() {
21500
21500
  description: d.string().nullable()
21501
21501
  });
21502
21502
  }
21503
- function H6() {
21503
+ function Hj() {
21504
21504
  return Cc().merge(
21505
21505
  d.object({
21506
21506
  version: d.number(),
@@ -21511,10 +21511,10 @@ function H6() {
21511
21511
  })
21512
21512
  );
21513
21513
  }
21514
- function z6() {
21514
+ function zj() {
21515
21515
  return Cc();
21516
21516
  }
21517
- function Z6() {
21517
+ function Zj() {
21518
21518
  return d.object({
21519
21519
  inputs: d.array(mr()),
21520
21520
  implements: Kt().nullable(),
@@ -21529,12 +21529,12 @@ function Z6() {
21529
21529
  ])
21530
21530
  });
21531
21531
  }
21532
- function K6() {
21533
- return H6().merge(
21534
- Z6()
21532
+ function Kj() {
21533
+ return Hj().merge(
21534
+ Zj()
21535
21535
  );
21536
21536
  }
21537
- function X6() {
21537
+ function Xj() {
21538
21538
  return d.union([
21539
21539
  d.object({
21540
21540
  type: d.literal(n.Project)
@@ -21558,17 +21558,17 @@ function wc() {
21558
21558
  description: d.string().nullable()
21559
21559
  });
21560
21560
  }
21561
- function Q6() {
21561
+ function Qj() {
21562
21562
  return wc().merge(
21563
21563
  d.object({
21564
21564
  version: d.number()
21565
21565
  })
21566
21566
  );
21567
21567
  }
21568
- function ej() {
21568
+ function e6() {
21569
21569
  return wc();
21570
21570
  }
21571
- function tj() {
21571
+ function t6() {
21572
21572
  return d.object({
21573
21573
  entities: d.array(_r()),
21574
21574
  functions: d.array(Ot()),
@@ -21583,8 +21583,8 @@ function tj() {
21583
21583
  searches: d.array(Ea())
21584
21584
  });
21585
21585
  }
21586
- function nj() {
21587
- return Q6().merge(tj());
21586
+ function n6() {
21587
+ return Qj().merge(t6());
21588
21588
  }
21589
21589
  function _r() {
21590
21590
  return d.union([
@@ -21612,7 +21612,7 @@ function Bc() {
21612
21612
  abstract: d.boolean()
21613
21613
  });
21614
21614
  }
21615
- function rj() {
21615
+ function r6() {
21616
21616
  return Bc().merge(
21617
21617
  d.object({
21618
21618
  version: d.number(),
@@ -21621,7 +21621,7 @@ function rj() {
21621
21621
  })
21622
21622
  );
21623
21623
  }
21624
- function ij() {
21624
+ function i6() {
21625
21625
  return Bc().merge(
21626
21626
  d.object({
21627
21627
  // extends: z.array(
@@ -21641,10 +21641,10 @@ function ij() {
21641
21641
  })
21642
21642
  );
21643
21643
  }
21644
- function aj() {
21644
+ function a6() {
21645
21645
  return d.union([gt(), fc()]);
21646
21646
  }
21647
- function sj() {
21647
+ function s6() {
21648
21648
  return d.object({
21649
21649
  properties: d.array(ur()),
21650
21650
  methods: d.array(Ot()),
@@ -21655,22 +21655,22 @@ function sj() {
21655
21655
  implements: d.array(
21656
21656
  d.union([_r(), Br()])
21657
21657
  ),
21658
- parent: aj()
21658
+ parent: a6()
21659
21659
  });
21660
21660
  }
21661
- function oj() {
21662
- return rj().merge(
21663
- sj()
21661
+ function o6() {
21662
+ return r6().merge(
21663
+ s6()
21664
21664
  );
21665
21665
  }
21666
- function lj(r) {
21667
- const e = oj(), t = r.toJSON();
21666
+ function l6(r) {
21667
+ const e = o6(), t = r.toJSON();
21668
21668
  e.safeParse(t).success;
21669
21669
  const a = r.implements.flatMap(
21670
- (y) => uj(r, y)
21670
+ (y) => u6(r, y)
21671
21671
  ), s = r.extends.flatMap(
21672
- (y) => pj(r, y)
21673
- ), o = hj(r), l = yj(r);
21672
+ (y) => p6(r, y)
21673
+ ), o = h6(r), l = y6(r);
21674
21674
  r.methods.flatMap((y) => y.validate());
21675
21675
  const u = [
21676
21676
  ...a,
@@ -21680,7 +21680,7 @@ function lj(r) {
21680
21680
  ];
21681
21681
  return se(r.errors, u);
21682
21682
  }
21683
- function cj(r, e) {
21683
+ function c6(r, e) {
21684
21684
  const t = e.properties.filter((s) => s.abstract), i = [];
21685
21685
  let a = [...r.properties];
21686
21686
  return t.forEach((s) => {
@@ -21695,7 +21695,7 @@ function cj(r, e) {
21695
21695
  ) : i.push(s);
21696
21696
  }), i;
21697
21697
  }
21698
- function dj(r, e) {
21698
+ function d6(r, e) {
21699
21699
  const t = e.abstractMethods, i = [];
21700
21700
  let a = [...r.methods];
21701
21701
  return t.forEach((s) => {
@@ -21710,7 +21710,7 @@ function dj(r, e) {
21710
21710
  ) : i.push(s);
21711
21711
  }), i;
21712
21712
  }
21713
- function uj(r, e) {
21713
+ function u6(r, e) {
21714
21714
  const t = [];
21715
21715
  if (!e.abstract) {
21716
21716
  const y = Y({
@@ -21804,7 +21804,7 @@ function uj(r, e) {
21804
21804
  t.push(f.error);
21805
21805
  }), t;
21806
21806
  }
21807
- function pj(r, e) {
21807
+ function p6(r, e) {
21808
21808
  const t = [], i = [];
21809
21809
  if (e.abstract) {
21810
21810
  const s = Y({
@@ -21855,7 +21855,7 @@ function pj(r, e) {
21855
21855
  t.push(o.error);
21856
21856
  }), t;
21857
21857
  }
21858
- function yj(r) {
21858
+ function y6(r) {
21859
21859
  const e = [];
21860
21860
  if (!r.properties.length) {
21861
21861
  const t = Y({
@@ -21872,7 +21872,7 @@ function yj(r) {
21872
21872
  t.validate();
21873
21873
  }), e;
21874
21874
  }
21875
- function hj(r) {
21875
+ function h6(r) {
21876
21876
  const e = [];
21877
21877
  if (r.abstract) {
21878
21878
  if (r.methods.length) {
@@ -21970,56 +21970,56 @@ function hj(r) {
21970
21970
  }
21971
21971
  return e;
21972
21972
  }
21973
- function fj(r) {
21973
+ function f6(r) {
21974
21974
  return r instanceof Error && r.name === "ZodError" && "issues" in r && Array.isArray(r.issues);
21975
21975
  }
21976
- var mj = class extends Error {
21976
+ var m6 = class extends Error {
21977
21977
  constructor(e, t) {
21978
21978
  super(e, t);
21979
21979
  c(this, "name");
21980
21980
  c(this, "details");
21981
- this.name = "ZodValidationError", this.details = Tj(t);
21981
+ this.name = "ZodValidationError", this.details = T6(t);
21982
21982
  }
21983
21983
  toString() {
21984
21984
  return this.message;
21985
21985
  }
21986
21986
  };
21987
- function Tj(r) {
21987
+ function T6(r) {
21988
21988
  if (r) {
21989
21989
  const e = r.cause;
21990
- if (fj(e))
21990
+ if (f6(e))
21991
21991
  return e.issues;
21992
21992
  }
21993
21993
  return [];
21994
21994
  }
21995
- function bj(r) {
21995
+ function b6(r) {
21996
21996
  return r.length !== 0;
21997
21997
  }
21998
- var Ej = /[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*/u;
21999
- function vj(r) {
21998
+ var E6 = /[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*/u;
21999
+ function v6(r) {
22000
22000
  return r.length === 1 ? r[0].toString() : r.reduce((e, t) => {
22001
22001
  if (typeof t == "number")
22002
22002
  return e + "[" + t.toString() + "]";
22003
22003
  if (t.includes('"'))
22004
- return e + '["' + Rj(t) + '"]';
22005
- if (!Ej.test(t))
22004
+ return e + '["' + R6(t) + '"]';
22005
+ if (!E6.test(t))
22006
22006
  return e + '["' + t + '"]';
22007
22007
  const i = e.length === 0 ? "" : ".";
22008
22008
  return e + i + t;
22009
22009
  }, "");
22010
22010
  }
22011
- function Rj(r) {
22011
+ function R6(r) {
22012
22012
  return r.replace(/"/g, '\\"');
22013
22013
  }
22014
- var gj = "; ", Ij = 99, Mf = "Validation error", Dj = ": ", Pj = ", or ";
22015
- function Aj(r = {}) {
22014
+ var g6 = "; ", I6 = 99, Mf = "Validation error", D6 = ": ", P6 = ", or ";
22015
+ function A6(r = {}) {
22016
22016
  const {
22017
- issueSeparator: e = gj,
22018
- unionSeparator: t = Pj,
22019
- prefixSeparator: i = Dj,
22017
+ issueSeparator: e = g6,
22018
+ unionSeparator: t = P6,
22019
+ prefixSeparator: i = D6,
22020
22020
  prefix: a = Mf,
22021
22021
  includePath: s = !0,
22022
- maxIssuesInMessage: o = Ij
22022
+ maxIssuesInMessage: o = I6
22023
22023
  } = r;
22024
22024
  return (l) => {
22025
22025
  const u = l.slice(0, o).map(
@@ -22030,7 +22030,7 @@ function Aj(r = {}) {
22030
22030
  includePath: s
22031
22031
  })
22032
22032
  ).join(e);
22033
- return Sj(u, a, i);
22033
+ return S6(u, a, i);
22034
22034
  };
22035
22035
  }
22036
22036
  function Na(r) {
@@ -22071,34 +22071,34 @@ function Na(r) {
22071
22071
  })
22072
22072
  )
22073
22073
  ].join(t);
22074
- if (a && bj(e.path)) {
22074
+ if (a && b6(e.path)) {
22075
22075
  if (e.path.length === 1) {
22076
22076
  const s = e.path[0];
22077
22077
  if (typeof s == "number")
22078
22078
  return `${e.message} at index ${s}`;
22079
22079
  }
22080
- return `${e.message} at "${vj(e.path)}"`;
22080
+ return `${e.message} at "${v6(e.path)}"`;
22081
22081
  }
22082
22082
  return e.message;
22083
22083
  }
22084
- function Sj(r, e, t) {
22084
+ function S6(r, e, t) {
22085
22085
  return e !== null ? r.length > 0 ? [e, r].join(t) : e : r.length > 0 ? r : Mf;
22086
22086
  }
22087
- function Oj(r, e = {}) {
22088
- const i = Cj(e)([r]);
22089
- return new mj(i, { cause: new vt([r]) });
22087
+ function O6(r, e = {}) {
22088
+ const i = C6(e)([r]);
22089
+ return new m6(i, { cause: new vt([r]) });
22090
22090
  }
22091
- function Cj(r) {
22092
- return "messageBuilder" in r ? r.messageBuilder : Aj(r);
22091
+ function C6(r) {
22092
+ return "messageBuilder" in r ? r.messageBuilder : A6(r);
22093
22093
  }
22094
- var Nf = "1.13.7", hd = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || Function("return this")() || {}, ks = Array.prototype, _c = Object.prototype, fd = typeof Symbol < "u" ? Symbol.prototype : null, wj = ks.push, Ia = ks.slice, Ui = _c.toString, Bj = _c.hasOwnProperty, Vf = typeof ArrayBuffer < "u", _j = typeof DataView < "u", Mj = Array.isArray, md = Object.keys, Td = Object.create, bd = Vf && ArrayBuffer.isView, Nj = isNaN, Vj = isFinite, xf = !{ toString: null }.propertyIsEnumerable("toString"), Ed = [
22094
+ var Nf = "1.13.7", hd = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || Function("return this")() || {}, ks = Array.prototype, _c = Object.prototype, fd = typeof Symbol < "u" ? Symbol.prototype : null, w6 = ks.push, Ia = ks.slice, Ui = _c.toString, B6 = _c.hasOwnProperty, Vf = typeof ArrayBuffer < "u", _6 = typeof DataView < "u", M6 = Array.isArray, md = Object.keys, Td = Object.create, bd = Vf && ArrayBuffer.isView, N6 = isNaN, V6 = isFinite, xf = !{ toString: null }.propertyIsEnumerable("toString"), Ed = [
22095
22095
  "valueOf",
22096
22096
  "isPrototypeOf",
22097
22097
  "toString",
22098
22098
  "propertyIsEnumerable",
22099
22099
  "hasOwnProperty",
22100
22100
  "toLocaleString"
22101
- ], xj = Math.pow(2, 53) - 1;
22101
+ ], x6 = Math.pow(2, 53) - 1;
22102
22102
  function It(r, e) {
22103
22103
  return e = e == null ? r.length - 1 : +e, function() {
22104
22104
  for (var t = Math.max(arguments.length - e, 0), i = Array(t), a = 0; a < t; a++)
@@ -22121,7 +22121,7 @@ function Ln(r) {
22121
22121
  var e = typeof r;
22122
22122
  return e === "function" || e === "object" && !!r;
22123
22123
  }
22124
- function $j(r) {
22124
+ function $6(r) {
22125
22125
  return r === null;
22126
22126
  }
22127
22127
  function $f(r) {
@@ -22130,7 +22130,7 @@ function $f(r) {
22130
22130
  function Lf(r) {
22131
22131
  return r === !0 || r === !1 || Ui.call(r) === "[object Boolean]";
22132
22132
  }
22133
- function Lj(r) {
22133
+ function L6(r) {
22134
22134
  return !!(r && r.nodeType === 1);
22135
22135
  }
22136
22136
  function ct(r) {
@@ -22139,19 +22139,19 @@ function ct(r) {
22139
22139
  return Ui.call(t) === e;
22140
22140
  };
22141
22141
  }
22142
- const Mc = ct("String"), Gf = ct("Number"), Gj = ct("Date"), Fj = ct("RegExp"), Uj = ct("Error"), Ff = ct("Symbol"), Uf = ct("ArrayBuffer");
22143
- var jf = ct("Function"), jj = hd.document && hd.document.childNodes;
22144
- typeof /./ != "function" && typeof Int8Array != "object" && typeof jj != "function" && (jf = function(r) {
22142
+ const Mc = ct("String"), Gf = ct("Number"), G6 = ct("Date"), F6 = ct("RegExp"), U6 = ct("Error"), Ff = ct("Symbol"), Uf = ct("ArrayBuffer");
22143
+ var jf = ct("Function"), j6 = hd.document && hd.document.childNodes;
22144
+ typeof /./ != "function" && typeof Int8Array != "object" && typeof j6 != "function" && (jf = function(r) {
22145
22145
  return typeof r == "function" || !1;
22146
22146
  });
22147
22147
  const yt = jf, kf = ct("Object");
22148
- var qf = _j && (!/\[native code\]/.test(String(DataView)) || kf(new DataView(new ArrayBuffer(8)))), Nc = typeof Map < "u" && kf(/* @__PURE__ */ new Map()), kj = ct("DataView");
22149
- function qj(r) {
22148
+ var qf = _6 && (!/\[native code\]/.test(String(DataView)) || kf(new DataView(new ArrayBuffer(8)))), Nc = typeof Map < "u" && kf(/* @__PURE__ */ new Map()), k6 = ct("DataView");
22149
+ function q6(r) {
22150
22150
  return r != null && yt(r.getInt8) && Uf(r.buffer);
22151
22151
  }
22152
- const Ha = qf ? qj : kj, br = Mj || ct("Array");
22152
+ const Ha = qf ? q6 : k6, br = M6 || ct("Array");
22153
22153
  function Gn(r, e) {
22154
- return r != null && Bj.call(r, e);
22154
+ return r != null && B6.call(r, e);
22155
22155
  }
22156
22156
  var Ro = ct("Arguments");
22157
22157
  (function() {
@@ -22160,11 +22160,11 @@ var Ro = ct("Arguments");
22160
22160
  });
22161
22161
  })();
22162
22162
  const Vc = Ro;
22163
- function Jj(r) {
22164
- return !Ff(r) && Vj(r) && !isNaN(parseFloat(r));
22163
+ function J6(r) {
22164
+ return !Ff(r) && V6(r) && !isNaN(parseFloat(r));
22165
22165
  }
22166
22166
  function Jf(r) {
22167
- return Gf(r) && Nj(r);
22167
+ return Gf(r) && N6(r);
22168
22168
  }
22169
22169
  function Wf(r) {
22170
22170
  return function() {
@@ -22174,7 +22174,7 @@ function Wf(r) {
22174
22174
  function Yf(r) {
22175
22175
  return function(e) {
22176
22176
  var t = r(e);
22177
- return typeof t == "number" && t >= 0 && t <= xj;
22177
+ return typeof t == "number" && t >= 0 && t <= x6;
22178
22178
  };
22179
22179
  }
22180
22180
  function Hf(r) {
@@ -22182,13 +22182,13 @@ function Hf(r) {
22182
22182
  return e == null ? void 0 : e[r];
22183
22183
  };
22184
22184
  }
22185
- const za = Hf("byteLength"), Wj = Yf(za);
22186
- var Yj = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;
22187
- function Hj(r) {
22188
- return bd ? bd(r) && !Ha(r) : Wj(r) && Yj.test(Ui.call(r));
22185
+ const za = Hf("byteLength"), W6 = Yf(za);
22186
+ var Y6 = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;
22187
+ function H6(r) {
22188
+ return bd ? bd(r) && !Ha(r) : W6(r) && Y6.test(Ui.call(r));
22189
22189
  }
22190
- const zf = Vf ? Hj : Wf(!1), Dt = Hf("length");
22191
- function zj(r) {
22190
+ const zf = Vf ? H6 : Wf(!1), Dt = Hf("length");
22191
+ function z6(r) {
22192
22192
  for (var e = {}, t = r.length, i = 0; i < t; ++i)
22193
22193
  e[r[i]] = !0;
22194
22194
  return {
@@ -22201,7 +22201,7 @@ function zj(r) {
22201
22201
  };
22202
22202
  }
22203
22203
  function Zf(r, e) {
22204
- e = zj(e);
22204
+ e = z6(e);
22205
22205
  var t = Ed.length, i = r.constructor, a = yt(i) && i.prototype || _c, s = "constructor";
22206
22206
  for (Gn(r, s) && !e.contains(s) && e.push(s); t--; )
22207
22207
  s = Ed[t], s in r && r[s] !== a[s] && !e.contains(s) && e.push(s);
@@ -22327,7 +22327,7 @@ function Xf(r, e, t, i) {
22327
22327
  }
22328
22328
  return t.pop(), i.pop(), !0;
22329
22329
  }
22330
- function Zj(r, e) {
22330
+ function Z6(r, e) {
22331
22331
  return go(r, e);
22332
22332
  }
22333
22333
  function Da(r) {
@@ -22352,8 +22352,8 @@ function xc(r) {
22352
22352
  return r !== tm || !yt(t[$c]);
22353
22353
  };
22354
22354
  }
22355
- var $c = "forEach", Qf = "has", Lc = ["clear", "delete"], em = ["get", Qf, "set"], Kj = Lc.concat($c, em), tm = Lc.concat(em), Xj = ["add"].concat(Lc, $c, Qf);
22356
- const Qj = Nc ? xc(Kj) : ct("Map"), e3 = Nc ? xc(tm) : ct("WeakMap"), t3 = Nc ? xc(Xj) : ct("Set"), n3 = ct("WeakSet");
22355
+ var $c = "forEach", Qf = "has", Lc = ["clear", "delete"], em = ["get", Qf, "set"], K6 = Lc.concat($c, em), tm = Lc.concat(em), X6 = ["add"].concat(Lc, $c, Qf);
22356
+ const Q6 = Nc ? xc(K6) : ct("Map"), e3 = Nc ? xc(tm) : ct("WeakMap"), t3 = Nc ? xc(X6) : ct("Set"), n3 = ct("WeakSet");
22357
22357
  function bi(r) {
22358
22358
  for (var e = Ze(r), t = e.length, i = Array(t), a = 0; a < t; a++)
22359
22359
  i[a] = r[e[a]];
@@ -23042,7 +23042,7 @@ function Cm(r) {
23042
23042
  var t = ae[e] = r[e];
23043
23043
  ae.prototype[e] = function() {
23044
23044
  var i = [this._wrapped];
23045
- return wj.apply(i, arguments), Yc(this, t.apply(ae, i));
23045
+ return w6.apply(i, arguments), Yc(this, t.apply(ae, i));
23046
23046
  };
23047
23047
  }), ae;
23048
23048
  }
@@ -23125,20 +23125,20 @@ const s5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23125
23125
  isArrayBuffer: Uf,
23126
23126
  isBoolean: Lf,
23127
23127
  isDataView: Ha,
23128
- isDate: Gj,
23129
- isElement: Lj,
23128
+ isDate: G6,
23129
+ isElement: L6,
23130
23130
  isEmpty: Pi,
23131
- isEqual: Zj,
23132
- isError: Uj,
23133
- isFinite: Jj,
23131
+ isEqual: Z6,
23132
+ isError: U6,
23133
+ isFinite: J6,
23134
23134
  isFunction: yt,
23135
- isMap: Qj,
23135
+ isMap: Q6,
23136
23136
  isMatch: Kf,
23137
23137
  isNaN: Jf,
23138
- isNull: $j,
23138
+ isNull: $6,
23139
23139
  isNumber: Gf,
23140
23140
  isObject: Ln,
23141
- isRegExp: Fj,
23141
+ isRegExp: F6,
23142
23142
  isSet: t3,
23143
23143
  isString: Mc,
23144
23144
  isSymbol: Ff,
@@ -24782,7 +24782,7 @@ c(he, "MUTABLE_DOWNSTREAM_PROPERTIES", ["dataType"]), c(he, "INMUTABLE_DOWNSTREA
24782
24782
  ]);
24783
24783
  let Nr = he;
24784
24784
  function P5(r) {
24785
- const e = K6(), t = r.toJSON();
24785
+ const e = Kj(), t = r.toJSON();
24786
24786
  e.safeParse(t).success;
24787
24787
  const a = A5(r), s = S5(r), o = St(r);
24788
24788
  r.inputs.forEach((u) => u.validate()), o.forEach((u) => u.validate());
@@ -25469,7 +25469,7 @@ c(fe, "MUTABLE_DOWNSTREAM_PROPERTIES", [
25469
25469
  ]);
25470
25470
  let Vr = fe;
25471
25471
  function O5(r) {
25472
- const e = b6(), t = r.toJSON();
25472
+ const e = bj(), t = r.toJSON();
25473
25473
  e.safeParse(t).success;
25474
25474
  const a = [];
25475
25475
  if (r.entity && r.andChildrenGroup || r.entity && r.orChildrenGroup || r.andChildrenGroup && r.orChildrenGroup) {
@@ -27023,7 +27023,7 @@ c(le, "MUTABLE_DOWNSTREAM_PROPERTIES", [
27023
27023
  ]);
27024
27024
  let xr = le;
27025
27025
  function _5(r) {
27026
- const e = L6(), t = r.toJSON();
27026
+ const e = Lj(), t = r.toJSON();
27027
27027
  e.safeParse(t).success;
27028
27028
  const a = St(r);
27029
27029
  r.inputs.forEach((o) => o.validate()), a.forEach((o) => o.validate());
@@ -28953,7 +28953,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28953
28953
  };
28954
28954
  }
28955
28955
  // This function ensures the loop has an input map if it needs one
28956
- // And if it has one, it makes sure that it has the write data type
28956
+ // And if it has one, it makes sure that it has the correct data type
28957
28957
  // And deletes any other input maps that are not needed
28958
28958
  syncInputMaps() {
28959
28959
  const e = [], t = [], i = [];
@@ -29950,7 +29950,7 @@ class f7 {
29950
29950
  }
29951
29951
  function x5(r) {
29952
29952
  var l;
29953
- const e = I6(), t = r.toJSON();
29953
+ const e = Ij(), t = r.toJSON();
29954
29954
  e.safeParse(t).success, (l = r.dataType) == null || l.validate(), r.inputs.forEach((u) => u.validate()), r.outputs.forEach((u) => u.validate()), r.internalCalls.forEach((u) => u.validate());
29955
29955
  const s = [...Fn(r)];
29956
29956
  if (r.id === "random-company-employee-test-variable-id") {
@@ -30887,7 +30887,7 @@ c(de, "MUTABLE_DOWNSTREAM_PROPERTIES", [
30887
30887
  ]);
30888
30888
  let Gr = de;
30889
30889
  function $5(r) {
30890
- const e = O6(), t = r.toJSON();
30890
+ const e = Oj(), t = r.toJSON();
30891
30891
  e.safeParse(t).success, r.inputs.forEach((l) => l.validate()), r.outputs.forEach((l) => l.validate()), r.internalCalls.forEach((l) => l.validate());
30892
30892
  const s = [...Fn(r)];
30893
30893
  if (r.id === "exec-sequentially-result-variable-id") {
@@ -32497,7 +32497,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
32497
32497
  const t = this.inputs.findIndex((a) => a.id === e.id);
32498
32498
  t > -1 && this.inputs.splice(t, 1);
32499
32499
  const i = this.inputsDeclarations.findIndex(
32500
- (a) => a.id === e.declaration.id
32500
+ (a) => {
32501
+ var s;
32502
+ return a.id === ((s = e.declaration) == null ? void 0 : s.id);
32503
+ }
32501
32504
  );
32502
32505
  return i > -1 && this.inputsDeclarations.splice(i, 1), this;
32503
32506
  }
@@ -32505,7 +32508,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
32505
32508
  return this.inputs.includes(e) ? this : (this.inputs.push(e), this);
32506
32509
  }
32507
32510
  addInputDeclaration(e) {
32508
- return this.inputsDeclarations.includes(e) ? this : (this.inputsDeclarations.push(e), this);
32511
+ return this.inputsDeclarations.includes(e) ? this : (this.inputsDeclarations.push(e), this.syncInputMaps(), this);
32509
32512
  }
32510
32513
  removeInputDeclaration(e) {
32511
32514
  const t = this.inputsDeclarations.findIndex(
@@ -32619,7 +32622,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
32619
32622
  }), this.initialData.error && (this.error = v(
32620
32623
  this.initialData.error,
32621
32624
  this.project
32622
- ), this.error.setParent(this), this.error.initChildren()), this);
32625
+ ), this.error.setParent(this), this.error.initChildren()), this.syncInputMaps(), this);
32623
32626
  }
32624
32627
  subscribe() {
32625
32628
  return this.project.subscribeInstance(this), this;
@@ -32920,6 +32923,52 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
32920
32923
  clone(e) {
32921
32924
  return new Me(this.toJSON(), this.project);
32922
32925
  }
32926
+ // This function ensures the search entity has an input map for each input declaration
32927
+ // And if it they already exist, it makes sure that it correctly synced with its declaration
32928
+ // And deletes any other input maps that are not needed
32929
+ syncInputMaps() {
32930
+ const e = [], t = [], i = [];
32931
+ return this.inputsDeclarations.forEach((a) => {
32932
+ if (!this.inputs.find(
32933
+ (o) => {
32934
+ var l;
32935
+ return ((l = o.declaration) == null ? void 0 : l.id) === a.id;
32936
+ }
32937
+ )) {
32938
+ const o = {
32939
+ id: this.id + "--" + B.UUID.uuid(),
32940
+ version: 1,
32941
+ type: n.InputMap,
32942
+ declaration: a.toJSON(),
32943
+ readsValue: null,
32944
+ defaultValue: null,
32945
+ index: this.inputs.length,
32946
+ name: null,
32947
+ description: null,
32948
+ parent: this.toReference()
32949
+ }, l = v(
32950
+ o,
32951
+ this.project
32952
+ );
32953
+ l.setParent(this), l.initChildren(), l.addSelfToProject(), e.push(this), t.push(l);
32954
+ }
32955
+ }), this.inputs.forEach((a) => {
32956
+ if (!this.inputsDeclarations.find(
32957
+ (o) => {
32958
+ var l;
32959
+ return o.id === ((l = a.declaration) == null ? void 0 : l.id);
32960
+ }
32961
+ )) {
32962
+ const { affected: o, removed: l } = a.remove();
32963
+ e.push(...o), i.push(...l);
32964
+ }
32965
+ }), {
32966
+ updated: T(e),
32967
+ added: T(t),
32968
+ removed: T(i),
32969
+ self: this
32970
+ };
32971
+ }
32923
32972
  };
32924
32973
  c(Me, "MUTABLE_BASE_PROPERTIES", ["name", "description", "query"]), c(Me, "INMUTABLE_BASE_PROPERTIES", ["id", "type", "version"]), c(Me, "BASE_PROPERTIES", [
32925
32974
  ...Me.MUTABLE_BASE_PROPERTIES,
@@ -32960,7 +33009,7 @@ c(Me, "MUTABLE_DOWNSTREAM_PROPERTIES", [
32960
33009
  ]);
32961
33010
  let Ur = Me;
32962
33011
  function F5(r) {
32963
- const e = M6(), t = r.toJSON();
33012
+ const e = Mj(), t = r.toJSON();
32964
33013
  e.safeParse(t).success, r.functions.forEach((s) => s.validate()), r.events.forEach((s) => s.validate());
32965
33014
  const a = [];
32966
33015
  return se(r.errors, a);
@@ -35062,7 +35111,7 @@ class E7 extends Bn {
35062
35111
  }
35063
35112
  function J5(r) {
35064
35113
  var s;
35065
- const e = Y6(), t = r.toJSON();
35114
+ const e = Yj(), t = r.toJSON();
35066
35115
  e.safeParse(t).success, (s = r.dataType) == null || s.validate();
35067
35116
  const a = [];
35068
35117
  if (r.id === "company-dto-func-declaration-argument-dcl-id") {
@@ -38868,7 +38917,7 @@ function ek(r) {
38868
38917
  case n.Project:
38869
38918
  return wc();
38870
38919
  case n.InstalledProject:
38871
- return C6();
38920
+ return Cj();
38872
38921
  case n.ActionDescriptor:
38873
38922
  return Ya();
38874
38923
  case n.ReturnStatement:
@@ -38894,17 +38943,17 @@ function ek(r) {
38894
38943
  function tk(r) {
38895
38944
  switch (r.type) {
38896
38945
  case n.PrimitiveValue:
38897
- return r6();
38946
+ return rj();
38898
38947
  case n.CustomEntity:
38899
- return ij();
38948
+ return i6();
38900
38949
  case n.PrimitiveEntity:
38901
38950
  return q8();
38902
38951
  case n.FunctionDeclaration:
38903
- return z6();
38952
+ return zj();
38904
38953
  case n.GlobalEvent:
38905
- return x6();
38954
+ return xj();
38906
38955
  case n.DataType:
38907
- return m6();
38956
+ return mj();
38908
38957
  case n.Property:
38909
38958
  return H8();
38910
38959
  case n.FunctionCall:
@@ -38914,21 +38963,21 @@ function tk(r) {
38914
38963
  case n.Operation:
38915
38964
  return K9();
38916
38965
  case n.VariableDeclaration:
38917
- return R6();
38966
+ return Rj();
38918
38967
  case n.VariableInstance:
38919
- return A6();
38968
+ return Aj();
38920
38969
  case n.OutputMap:
38921
38970
  return A9();
38922
38971
  case n.ReturnDeclaration:
38923
38972
  return b9();
38924
38973
  case n.ArgumentDeclaration:
38925
- return J6();
38974
+ return Jj();
38926
38975
  case n.InputMap:
38927
38976
  return Y9();
38928
38977
  case n.Project:
38929
- return ej();
38978
+ return e6();
38930
38979
  case n.InstalledProject:
38931
- return B6();
38980
+ return Bj();
38932
38981
  case n.ActionDescriptor:
38933
38982
  return r9();
38934
38983
  case n.ReturnStatement:
@@ -39001,7 +39050,7 @@ function Um(r, e) {
39001
39050
  return e.success ? [] : e.error.issues.map(
39002
39051
  (t) => new b({
39003
39052
  id: `${r.id}--${S.InvalidObjectStructure}`,
39004
- message: `Entity of type "${r.type}" and with id "${r.id}", has an invalid structure: ${Oj(t).toString().replace("Validation error: ", "")}`,
39053
+ message: `Entity of type "${r.type}" and with id "${r.id}", has an invalid structure: ${O6(t).toString().replace("Validation error: ", "")}`,
39005
39054
  severity: m.Error,
39006
39055
  code: S.InvalidObjectStructure,
39007
39056
  issue: t
@@ -43625,7 +43674,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
43625
43674
  // are references by a property or method (respectively) declared in this entity
43626
43675
  addSuggestions() {
43627
43676
  return this.implements.forEach((e) => {
43628
- cj(
43677
+ c6(
43629
43678
  this,
43630
43679
  e
43631
43680
  ).forEach((a) => {
@@ -43636,7 +43685,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
43636
43685
  this.project
43637
43686
  );
43638
43687
  o.suggestion = !0, o.setParent(this), o.initChildren(), this.addSuggestedProperty(o);
43639
- }), dj(
43688
+ }), d6(
43640
43689
  this,
43641
43690
  e
43642
43691
  ).forEach((a) => {
@@ -43886,7 +43935,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
43886
43935
  return this.errors = [], this.properties.forEach((e) => e.clearErrors()), this.methods.forEach((e) => e.clearErrors()), this.abstractMethods.forEach((e) => e.clearErrors()), this;
43887
43936
  }
43888
43937
  validate() {
43889
- return this.errors = lj(this), { success: !0, error: null, data: null };
43938
+ return this.errors = l6(this), { success: !0, error: null, data: null };
43890
43939
  }
43891
43940
  // Returns the errors of this entity and all its nested entities recursively
43892
43941
  getErrors() {
@@ -45230,7 +45279,7 @@ const Q = class Q {
45230
45279
  return this.errors = [], this.entities.forEach((e) => e.clearErrors()), this.projects.forEach((e) => e.clearErrors()), this.functions.forEach((e) => e.clearErrors()), this.events.forEach((e) => e.clearErrors()), this.variableDeclarations.forEach((e) => e.clearErrors()), this.variableInstances.forEach((e) => e.clearErrors()), this.conditions.forEach((e) => e.clearErrors()), this.operations.forEach((e) => e.clearErrors()), this.functionCalls.forEach((e) => e.clearErrors()), this.loops.forEach((e) => e.clearErrors()), this.searches.forEach((e) => e.clearErrors()), this;
45231
45280
  }
45232
45281
  validate() {
45233
- const e = nj(), t = this.toJSON();
45282
+ const e = n6(), t = this.toJSON();
45234
45283
  return e.safeParse(t), this.validateChildren(), { success: !0, error: null, data: t };
45235
45284
  }
45236
45285
  // Validate all the children entities
@@ -46667,7 +46716,7 @@ export {
46667
46716
  ek as getBaseSchemaBasedOnType,
46668
46717
  Xn as getBuiltInEntityOwner,
46669
46718
  ze as getCallableEntityReferenceSchema,
46670
- U6 as getCallableEntityTypeSchema,
46719
+ Uj as getCallableEntityTypeSchema,
46671
46720
  $2 as getCallerEntityReferenceSchema,
46672
46721
  x2 as getCallerEntityTypeSchema,
46673
46722
  Zm as getCalls,
@@ -46685,8 +46734,8 @@ export {
46685
46734
  tq as getDatabaseEntity,
46686
46735
  Ar as getDeclaration,
46687
46736
  Lk as getDeepestScope,
46688
- k6 as getDraggableCallableEntityReferenceSchema,
46689
- j6 as getDraggableCallableEntityTypeSchema,
46737
+ kj as getDraggableCallableEntityReferenceSchema,
46738
+ jj as getDraggableCallableEntityTypeSchema,
46690
46739
  G2 as getDraggableCallerEntityReferenceSchema,
46691
46740
  L2 as getDraggableCallerEntityTypeSchema,
46692
46741
  k2 as getDraggableExecutableEntityReferenceSchema,
@@ -46703,7 +46752,7 @@ export {
46703
46752
  K2 as getEntityTypeSchema,
46704
46753
  $n as getEntityWithLogicScopeReferenceSchema,
46705
46754
  q2 as getEntityWithLogicScopeTypeSchema,
46706
- F6 as getEntityWithValueReferenceSchema,
46755
+ Fj as getEntityWithValueReferenceSchema,
46707
46756
  V2 as getEntityWithValueTypeSchema,
46708
46757
  Ye as getEntryPointEntityReferenceSchema,
46709
46758
  fr as getEntryPointEntityTypeSchema,
@@ -46752,7 +46801,7 @@ export {
46752
46801
  z2 as getTerminationTypeSchema,
46753
46802
  j7 as getUsedArgFromDeclaration,
46754
46803
  k7 as getUsedReturnFromDeclaration,
46755
- G6 as getValueReadingEntityReferenceSchema,
46804
+ Gj as getValueReadingEntityReferenceSchema,
46756
46805
  xn as getValueReadingEntityTypeSchema,
46757
46806
  N2 as getValueWritingEntityReferenceSchema,
46758
46807
  js as getValueWritingEntityTypeSchema,