@contractkit/plugin-typescript 0.25.1 → 0.25.3

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.
@@ -5,9 +5,9 @@ $ tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly
5
5
  CLI tsup v8.5.1
6
6
  CLI Target: esnext
7
7
  ESM Build start
8
- ESM dist/index.js 149.94 KB
9
- ESM dist/index.js.map 327.66 KB
10
- ESM ⚡️ Build success in 391ms
8
+ ESM dist/index.js 149.89 KB
9
+ ESM dist/index.js.map 327.56 KB
10
+ ESM ⚡️ Build success in 392ms
11
11
  DTS Build start
12
- DTS ⚡️ Build success in 6137ms
12
+ DTS ⚡️ Build success in 5194ms
13
13
  DTS dist/index.d.ts 1.82 KB
@@ -3,26 +3,26 @@ $ vitest run --coverage
3
3
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
4
4
  Coverage enabled with v8
5
5
 
6
- ✓ tests/codegen-operation.test.ts (88 tests) 124ms
7
- ✓ tests/codegen-contract.test.ts (127 tests) 148ms
8
- ✓ tests/codegen-sdk.test.ts (132 tests) 176ms
9
- ✓ tests/codegen-plain-types.test.ts (61 tests) 34ms
10
- ✓ tests/codegen-server.test.ts (19 tests) 44ms
11
- ✓ tests/pipeline.test.ts (25 tests) 126ms
6
+ ✓ tests/codegen-sdk.test.ts (132 tests) 227ms
7
+ ✓ tests/codegen-operation.test.ts (88 tests) 154ms
8
+ ✓ tests/codegen-contract.test.ts (127 tests) 180ms
9
+ ✓ tests/codegen-plain-types.test.ts (61 tests) 40ms
10
+ ✓ tests/pipeline.test.ts (25 tests) 173ms
11
+ ✓ tests/codegen-server.test.ts (19 tests) 39ms
12
12
 
13
13
   Test Files  6 passed (6)
14
14
   Tests  452 passed (452)
15
-  Start at  11:53:22
16
-  Duration  7.18s (transform 4.19s, setup 0ms, import 13.58s, tests 652ms, environment 1ms)
15
+  Start at  13:20:47
16
+  Duration  7.42s (transform 6.23s, setup 0ms, import 15.65s, tests 813ms, environment 1ms)
17
17
 
18
18
   % Coverage report from v8
19
19
  -------------------|---------|----------|---------|---------|-------------------
20
20
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
21
21
  -------------------|---------|----------|---------|---------|-------------------
22
- All files | 80.01 | 75.28 | 83.5 | 82.62 |
23
- src | 79.79 | 74.96 | 83.06 | 82.38 |
22
+ All files | 80 | 75.28 | 83.5 | 82.6 |
23
+ src | 79.78 | 74.96 | 83.06 | 82.36 |
24
24
  ...n-contract.ts | 87.92 | 82.7 | 90.08 | 89.06 | ...1085,1090-1091
25
- ...-operation.ts | 78.18 | 74.26 | 77.77 | 79.75 | ...75-686,691-692
25
+ ...-operation.ts | 78.09 | 74.26 | 77.77 | 79.64 | ...73-684,689-690
26
26
  ...lain-types.ts | 89.08 | 78.37 | 96.66 | 92.3 | ...31,243,249,301
27
27
  codegen-sdk.ts | 88.09 | 82.56 | 87.32 | 91.32 | ...1108-1109,1112
28
28
  index.ts | 60.23 | 47.91 | 63.04 | 65.37 | ...08-811,827-846
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @contractkit/contractkit-plugin-typescript
2
2
 
3
+ ## 0.25.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 5da85ca: Stop emitting `await next()` at the end of generated Koa route handlers — route handlers are the terminus of the middleware chain.
8
+
9
+ ## 0.25.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [bdebb9c]
14
+ - Updated dependencies [90f45ff]
15
+ - @contractkit/core@0.20.0
16
+
3
17
  ## 0.25.1
4
18
 
5
19
  ### Patch Changes
@@ -1,9 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1778846010124" clover="3.2.0">
3
- <project timestamp="1778846010124" name="All files">
4
- <metrics statements="2158" coveredstatements="1783" conditionals="1639" coveredconditionals="1234" methods="400" coveredmethods="334" elements="4197" coveredelements="3351" complexity="0" loc="2158" ncloc="2158" packages="2" files="8" classes="8"/>
2
+ <coverage generated="1779024054501" clover="3.2.0">
3
+ <project timestamp="1779024054501" name="All files">
4
+ <metrics statements="2156" coveredstatements="1781" conditionals="1639" coveredconditionals="1234" methods="400" coveredmethods="334" elements="4195" coveredelements="3349" complexity="0" loc="2156" ncloc="2156" packages="2" files="8" classes="8"/>
5
5
  <package name="src">
6
- <metrics statements="2112" coveredstatements="1740" conditionals="1606" coveredconditionals="1204" methods="372" coveredmethods="309"/>
6
+ <metrics statements="2110" coveredstatements="1738" conditionals="1606" coveredconditionals="1204" methods="372" coveredmethods="309"/>
7
7
  <file name="codegen-contract.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/codegen-contract.ts">
8
8
  <metrics statements="558" coveredstatements="497" conditionals="474" coveredconditionals="392" methods="121" coveredmethods="109"/>
9
9
  <line num="31" count="130" type="cond" truecount="3" falsecount="0"/>
@@ -566,7 +566,7 @@
566
566
  <line num="1191" count="26" type="stmt"/>
567
567
  </file>
568
568
  <file name="codegen-operation.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/codegen-operation.ts">
569
- <metrics statements="400" coveredstatements="319" conditionals="338" coveredconditionals="251" methods="72" coveredmethods="56"/>
569
+ <metrics statements="398" coveredstatements="317" conditionals="338" coveredconditionals="251" methods="72" coveredmethods="56"/>
570
570
  <line num="19" count="22" type="cond" truecount="4" falsecount="1"/>
571
571
  <line num="21" count="2" type="stmt"/>
572
572
  <line num="23" count="2" type="stmt"/>
@@ -737,236 +737,234 @@
737
737
  <line num="353" count="20" type="stmt"/>
738
738
  <line num="354" count="20" type="cond" truecount="2" falsecount="0"/>
739
739
  <line num="357" count="111" type="stmt"/>
740
- <line num="358" count="111" type="stmt"/>
741
740
  <line num="359" count="111" type="stmt"/>
742
- <line num="361" count="111" type="stmt"/>
743
- <line num="368" count="111" type="cond" truecount="2" falsecount="0"/>
744
- <line num="369" count="5" type="cond" truecount="1" falsecount="0"/>
745
- <line num="370" count="5" type="cond" truecount="1" falsecount="1"/>
741
+ <line num="366" count="111" type="cond" truecount="2" falsecount="0"/>
742
+ <line num="367" count="5" type="cond" truecount="1" falsecount="0"/>
743
+ <line num="368" count="5" type="cond" truecount="1" falsecount="1"/>
744
+ <line num="372" count="106" type="stmt"/>
745
+ <line num="373" count="106" type="stmt"/>
746
746
  <line num="374" count="106" type="stmt"/>
747
747
  <line num="375" count="106" type="stmt"/>
748
- <line num="376" count="106" type="stmt"/>
749
- <line num="377" count="106" type="stmt"/>
750
- <line num="381" count="106" type="stmt"/>
751
- <line num="382" count="106" type="cond" truecount="5" falsecount="1"/>
752
- <line num="384" count="81" type="cond" truecount="2" falsecount="0"/>
753
- <line num="386" count="20" type="stmt"/>
748
+ <line num="379" count="106" type="stmt"/>
749
+ <line num="380" count="106" type="cond" truecount="5" falsecount="1"/>
750
+ <line num="382" count="81" type="cond" truecount="2" falsecount="0"/>
751
+ <line num="384" count="20" type="stmt"/>
752
+ <line num="386" count="1" type="stmt"/>
754
753
  <line num="388" count="1" type="stmt"/>
755
- <line num="390" count="1" type="stmt"/>
756
- <line num="392" count="3" type="stmt"/>
757
- <line num="394" count="0" type="stmt"/>
758
- <line num="399" count="111" type="stmt"/>
759
- <line num="401" count="111" type="cond" truecount="2" falsecount="0"/>
760
- <line num="402" count="13" type="cond" truecount="2" falsecount="0"/>
761
- <line num="403" count="12" type="stmt"/>
762
- <line num="405" count="1" type="stmt"/>
763
- <line num="409" count="111" type="cond" truecount="4" falsecount="0"/>
764
- <line num="410" count="19" type="stmt"/>
765
- <line num="411" count="19" type="cond" truecount="2" falsecount="0"/>
766
- <line num="412" count="19" type="cond" truecount="2" falsecount="0"/>
754
+ <line num="390" count="3" type="stmt"/>
755
+ <line num="392" count="0" type="stmt"/>
756
+ <line num="397" count="111" type="stmt"/>
757
+ <line num="399" count="111" type="cond" truecount="2" falsecount="0"/>
758
+ <line num="400" count="13" type="cond" truecount="2" falsecount="0"/>
759
+ <line num="401" count="12" type="stmt"/>
760
+ <line num="403" count="1" type="stmt"/>
761
+ <line num="407" count="111" type="cond" truecount="4" falsecount="0"/>
762
+ <line num="408" count="19" type="stmt"/>
763
+ <line num="409" count="19" type="cond" truecount="2" falsecount="0"/>
764
+ <line num="410" count="19" type="cond" truecount="2" falsecount="0"/>
765
+ <line num="413" count="111" type="cond" truecount="2" falsecount="0"/>
767
766
  <line num="415" count="111" type="cond" truecount="2" falsecount="0"/>
768
- <line num="417" count="111" type="cond" truecount="2" falsecount="0"/>
769
- <line num="418" count="111" type="stmt"/>
770
- <line num="422" count="26" type="cond" truecount="2" falsecount="0"/>
771
- <line num="423" count="4" type="stmt"/>
772
- <line num="424" count="4" type="stmt"/>
773
- <line num="426" count="22" type="cond" truecount="1" falsecount="1"/>
774
- <line num="427" count="22" type="cond" truecount="2" falsecount="0"/>
775
- <line num="428" count="22" type="stmt"/>
776
- <line num="430" count="0" type="cond" truecount="0" falsecount="2"/>
777
- <line num="432" count="0" type="stmt"/>
778
- <line num="433" count="0" type="stmt"/>
779
- <line num="447" count="333" type="cond" truecount="2" falsecount="0"/>
780
- <line num="448" count="31" type="stmt"/>
781
- <line num="449" count="31" type="stmt"/>
782
- <line num="450" count="31" type="cond" truecount="2" falsecount="0"/>
783
- <line num="452" count="4" type="cond" truecount="1" falsecount="1"/>
784
- <line num="453" count="4" type="stmt"/>
785
- <line num="454" count="4" type="stmt"/>
786
- <line num="455" count="27" type="cond" truecount="2" falsecount="0"/>
787
- <line num="457" count="23" type="cond" truecount="1" falsecount="1"/>
788
- <line num="460" count="23" type="cond" truecount="2" falsecount="0"/>
767
+ <line num="416" count="111" type="stmt"/>
768
+ <line num="420" count="26" type="cond" truecount="2" falsecount="0"/>
769
+ <line num="421" count="4" type="stmt"/>
770
+ <line num="422" count="4" type="stmt"/>
771
+ <line num="424" count="22" type="cond" truecount="1" falsecount="1"/>
772
+ <line num="425" count="22" type="cond" truecount="2" falsecount="0"/>
773
+ <line num="426" count="22" type="stmt"/>
774
+ <line num="428" count="0" type="cond" truecount="0" falsecount="2"/>
775
+ <line num="430" count="0" type="stmt"/>
776
+ <line num="431" count="0" type="stmt"/>
777
+ <line num="445" count="333" type="cond" truecount="2" falsecount="0"/>
778
+ <line num="446" count="31" type="stmt"/>
779
+ <line num="447" count="31" type="stmt"/>
780
+ <line num="448" count="31" type="cond" truecount="2" falsecount="0"/>
781
+ <line num="450" count="4" type="cond" truecount="1" falsecount="1"/>
782
+ <line num="451" count="4" type="stmt"/>
783
+ <line num="452" count="4" type="stmt"/>
784
+ <line num="453" count="27" type="cond" truecount="2" falsecount="0"/>
785
+ <line num="455" count="23" type="cond" truecount="1" falsecount="1"/>
786
+ <line num="458" count="23" type="cond" truecount="2" falsecount="0"/>
787
+ <line num="459" count="23" type="stmt"/>
788
+ <line num="460" count="23" type="stmt"/>
789
789
  <line num="461" count="23" type="stmt"/>
790
790
  <line num="462" count="23" type="stmt"/>
791
- <line num="463" count="23" type="stmt"/>
792
- <line num="464" count="23" type="stmt"/>
793
- <line num="465" count="28" type="cond" truecount="2" falsecount="0"/>
794
- <line num="466" count="28" type="cond" truecount="4" falsecount="0"/>
795
- <line num="467" count="1" type="stmt"/>
796
- <line num="468" count="1" type="stmt"/>
797
- <line num="470" count="27" type="stmt"/>
791
+ <line num="463" count="28" type="cond" truecount="2" falsecount="0"/>
792
+ <line num="464" count="28" type="cond" truecount="4" falsecount="0"/>
793
+ <line num="465" count="1" type="stmt"/>
794
+ <line num="466" count="1" type="stmt"/>
795
+ <line num="468" count="27" type="stmt"/>
796
+ <line num="471" count="23" type="stmt"/>
797
+ <line num="472" count="23" type="stmt"/>
798
798
  <line num="473" count="23" type="stmt"/>
799
- <line num="474" count="23" type="stmt"/>
800
- <line num="475" count="23" type="stmt"/>
801
- <line num="480" count="4" type="cond" truecount="1" falsecount="1"/>
802
- <line num="481" count="4" type="stmt"/>
803
- <line num="482" count="4" type="stmt"/>
804
- <line num="484" count="31" type="stmt"/>
805
- <line num="496" count="46" type="stmt"/>
806
- <line num="497" count="46" type="stmt"/>
807
- <line num="499" count="46" type="cond" truecount="4" falsecount="0"/>
808
- <line num="501" count="2" type="stmt"/>
799
+ <line num="478" count="4" type="cond" truecount="1" falsecount="1"/>
800
+ <line num="479" count="4" type="stmt"/>
801
+ <line num="480" count="4" type="stmt"/>
802
+ <line num="482" count="31" type="stmt"/>
803
+ <line num="494" count="46" type="stmt"/>
804
+ <line num="495" count="46" type="stmt"/>
805
+ <line num="497" count="46" type="cond" truecount="4" falsecount="0"/>
806
+ <line num="499" count="2" type="stmt"/>
807
+ <line num="500" count="2" type="stmt"/>
809
808
  <line num="502" count="2" type="stmt"/>
810
- <line num="504" count="2" type="stmt"/>
811
- <line num="505" count="2" type="stmt"/>
812
- <line num="506" count="2" type="cond" truecount="1" falsecount="1"/>
813
- <line num="507" count="0" type="cond" truecount="0" falsecount="2"/>
814
- <line num="508" count="0" type="stmt"/>
815
- <line num="509" count="0" type="stmt"/>
816
- <line num="511" count="2" type="stmt"/>
817
- <line num="516" count="2" type="stmt"/>
818
- <line num="517" count="2" type="stmt"/>
819
- <line num="518" count="0" type="stmt"/>
809
+ <line num="503" count="2" type="stmt"/>
810
+ <line num="504" count="2" type="cond" truecount="1" falsecount="1"/>
811
+ <line num="505" count="0" type="cond" truecount="0" falsecount="2"/>
812
+ <line num="506" count="0" type="stmt"/>
813
+ <line num="507" count="0" type="stmt"/>
814
+ <line num="509" count="2" type="stmt"/>
815
+ <line num="514" count="2" type="stmt"/>
816
+ <line num="515" count="2" type="stmt"/>
817
+ <line num="516" count="0" type="stmt"/>
818
+ <line num="517" count="0" type="stmt"/>
819
+ <line num="518" count="0" type="cond" truecount="0" falsecount="2"/>
820
820
  <line num="519" count="0" type="stmt"/>
821
- <line num="520" count="0" type="cond" truecount="0" falsecount="2"/>
822
- <line num="521" count="0" type="stmt"/>
821
+ <line num="523" count="2" type="stmt"/>
822
+ <line num="524" count="2" type="stmt"/>
823
823
  <line num="525" count="2" type="stmt"/>
824
- <line num="526" count="2" type="stmt"/>
825
- <line num="527" count="2" type="stmt"/>
826
- <line num="531" count="44" type="stmt"/>
827
- <line num="532" count="44" type="stmt"/>
828
- <line num="535" count="46" type="stmt"/>
824
+ <line num="529" count="44" type="stmt"/>
825
+ <line num="530" count="44" type="stmt"/>
826
+ <line num="533" count="46" type="stmt"/>
827
+ <line num="539" count="110" type="stmt"/>
828
+ <line num="540" count="110" type="stmt"/>
829
829
  <line num="541" count="110" type="stmt"/>
830
830
  <line num="542" count="110" type="stmt"/>
831
831
  <line num="543" count="110" type="stmt"/>
832
- <line num="544" count="110" type="stmt"/>
833
- <line num="545" count="110" type="stmt"/>
834
- <line num="546" count="112" type="cond" truecount="2" falsecount="0"/>
835
- <line num="547" count="19" type="stmt"/>
836
- <line num="548" count="22" type="stmt"/>
837
- <line num="549" count="22" type="stmt"/>
838
- <line num="552" count="112" type="stmt"/>
839
- <line num="553" count="25" type="cond" truecount="2" falsecount="0"/>
840
- <line num="554" count="23" type="stmt"/>
841
- <line num="555" count="23" type="stmt"/>
842
- <line num="557" count="25" type="cond" truecount="2" falsecount="0"/>
843
- <line num="558" count="4" type="stmt"/>
844
- <line num="559" count="5" type="stmt"/>
845
- <line num="560" count="5" type="stmt"/>
832
+ <line num="544" count="112" type="cond" truecount="2" falsecount="0"/>
833
+ <line num="545" count="19" type="stmt"/>
834
+ <line num="546" count="22" type="stmt"/>
835
+ <line num="547" count="22" type="stmt"/>
836
+ <line num="550" count="112" type="stmt"/>
837
+ <line num="551" count="25" type="cond" truecount="2" falsecount="0"/>
838
+ <line num="552" count="23" type="stmt"/>
839
+ <line num="553" count="23" type="stmt"/>
840
+ <line num="555" count="25" type="cond" truecount="2" falsecount="0"/>
841
+ <line num="556" count="4" type="stmt"/>
842
+ <line num="557" count="5" type="stmt"/>
843
+ <line num="558" count="5" type="stmt"/>
844
+ <line num="562" count="112" type="stmt"/>
845
+ <line num="563" count="112" type="stmt"/>
846
846
  <line num="564" count="112" type="stmt"/>
847
847
  <line num="565" count="112" type="stmt"/>
848
- <line num="566" count="112" type="stmt"/>
849
- <line num="567" count="112" type="stmt"/>
850
- <line num="570" count="110" type="stmt"/>
851
- <line num="575" count="29" type="cond" truecount="2" falsecount="0"/>
852
- <line num="576" count="4" type="cond" truecount="2" falsecount="7"/>
853
- <line num="578" count="3" type="cond" truecount="2" falsecount="0"/>
854
- <line num="579" count="3" type="stmt"/>
855
- <line num="581" count="1" type="stmt"/>
856
- <line num="582" count="1" type="stmt"/>
857
- <line num="584" count="0" type="stmt"/>
848
+ <line num="568" count="110" type="stmt"/>
849
+ <line num="573" count="29" type="cond" truecount="2" falsecount="0"/>
850
+ <line num="574" count="4" type="cond" truecount="2" falsecount="7"/>
851
+ <line num="576" count="3" type="cond" truecount="2" falsecount="0"/>
852
+ <line num="577" count="3" type="stmt"/>
853
+ <line num="579" count="1" type="stmt"/>
854
+ <line num="580" count="1" type="stmt"/>
855
+ <line num="582" count="0" type="stmt"/>
856
+ <line num="583" count="0" type="stmt"/>
858
857
  <line num="585" count="0" type="stmt"/>
858
+ <line num="586" count="0" type="stmt"/>
859
859
  <line num="587" count="0" type="stmt"/>
860
- <line num="588" count="0" type="stmt"/>
861
860
  <line num="589" count="0" type="stmt"/>
862
- <line num="591" count="0" type="stmt"/>
861
+ <line num="590" count="0" type="stmt"/>
863
862
  <line num="592" count="0" type="stmt"/>
864
- <line num="594" count="0" type="stmt"/>
863
+ <line num="593" count="0" type="stmt"/>
865
864
  <line num="595" count="0" type="stmt"/>
866
- <line num="597" count="0" type="stmt"/>
865
+ <line num="596" count="0" type="stmt"/>
867
866
  <line num="598" count="0" type="stmt"/>
868
- <line num="600" count="0" type="stmt"/>
867
+ <line num="599" count="0" type="stmt"/>
869
868
  <line num="601" count="0" type="stmt"/>
870
- <line num="603" count="0" type="stmt"/>
871
- <line num="604" count="0" type="stmt"/>
872
- <line num="609" count="334" type="cond" truecount="2" falsecount="0"/>
873
- <line num="610" count="30" type="cond" truecount="2" falsecount="0"/>
874
- <line num="611" count="4" type="cond" truecount="1" falsecount="1"/>
875
- <line num="612" count="26" type="cond" truecount="2" falsecount="0"/>
876
- <line num="613" count="22" type="stmt"/>
877
- <line num="614" count="27" type="stmt"/>
878
- <line num="617" count="4" type="stmt"/>
879
- <line num="623" count="334" type="cond" truecount="4" falsecount="0"/>
880
- <line num="624" count="3" type="cond" truecount="1" falsecount="1"/>
881
- <line num="625" count="0" type="cond" truecount="0" falsecount="2"/>
882
- <line num="626" count="3" type="cond" truecount="2" falsecount="0"/>
883
- <line num="627" count="2" type="stmt"/>
884
- <line num="633" count="29" type="cond" truecount="2" falsecount="0"/>
885
- <line num="634" count="8" type="cond" truecount="3" falsecount="6"/>
886
- <line num="636" count="4" type="cond" truecount="2" falsecount="0"/>
887
- <line num="637" count="4" type="stmt"/>
888
- <line num="639" count="0" type="stmt"/>
869
+ <line num="602" count="0" type="stmt"/>
870
+ <line num="607" count="334" type="cond" truecount="2" falsecount="0"/>
871
+ <line num="608" count="30" type="cond" truecount="2" falsecount="0"/>
872
+ <line num="609" count="4" type="cond" truecount="1" falsecount="1"/>
873
+ <line num="610" count="26" type="cond" truecount="2" falsecount="0"/>
874
+ <line num="611" count="22" type="stmt"/>
875
+ <line num="612" count="27" type="stmt"/>
876
+ <line num="615" count="4" type="stmt"/>
877
+ <line num="621" count="334" type="cond" truecount="4" falsecount="0"/>
878
+ <line num="622" count="3" type="cond" truecount="1" falsecount="1"/>
879
+ <line num="623" count="0" type="cond" truecount="0" falsecount="2"/>
880
+ <line num="624" count="3" type="cond" truecount="2" falsecount="0"/>
881
+ <line num="625" count="2" type="stmt"/>
882
+ <line num="631" count="29" type="cond" truecount="2" falsecount="0"/>
883
+ <line num="632" count="8" type="cond" truecount="3" falsecount="6"/>
884
+ <line num="634" count="4" type="cond" truecount="2" falsecount="0"/>
885
+ <line num="635" count="4" type="stmt"/>
886
+ <line num="637" count="0" type="stmt"/>
887
+ <line num="638" count="0" type="stmt"/>
889
888
  <line num="640" count="0" type="stmt"/>
890
- <line num="642" count="0" type="stmt"/>
889
+ <line num="641" count="0" type="stmt"/>
891
890
  <line num="643" count="0" type="stmt"/>
891
+ <line num="644" count="0" type="stmt"/>
892
892
  <line num="645" count="0" type="stmt"/>
893
- <line num="646" count="0" type="stmt"/>
894
893
  <line num="647" count="0" type="stmt"/>
895
- <line num="649" count="0" type="stmt"/>
894
+ <line num="648" count="0" type="stmt"/>
896
895
  <line num="650" count="0" type="stmt"/>
897
- <line num="652" count="0" type="stmt"/>
898
- <line num="653" count="0" type="stmt"/>
899
- <line num="655" count="4" type="stmt"/>
900
- <line num="656" count="2" type="stmt"/>
901
- <line num="658" count="0" type="stmt"/>
902
- <line num="659" count="0" type="stmt"/>
903
- <line num="661" count="1" type="stmt"/>
904
- <line num="662" count="1" type="stmt"/>
905
- <line num="667" count="97" type="cond" truecount="4" falsecount="5"/>
906
- <line num="669" count="53" type="cond" truecount="1" falsecount="1"/>
907
- <line num="670" count="53" type="stmt"/>
908
- <line num="672" count="6" type="stmt"/>
909
- <line num="673" count="6" type="stmt"/>
910
- <line num="675" count="0" type="stmt"/>
896
+ <line num="651" count="0" type="stmt"/>
897
+ <line num="653" count="4" type="stmt"/>
898
+ <line num="654" count="2" type="stmt"/>
899
+ <line num="656" count="0" type="stmt"/>
900
+ <line num="657" count="0" type="stmt"/>
901
+ <line num="659" count="1" type="stmt"/>
902
+ <line num="660" count="1" type="stmt"/>
903
+ <line num="665" count="97" type="cond" truecount="4" falsecount="5"/>
904
+ <line num="667" count="53" type="cond" truecount="1" falsecount="1"/>
905
+ <line num="668" count="53" type="stmt"/>
906
+ <line num="670" count="6" type="stmt"/>
907
+ <line num="671" count="6" type="stmt"/>
908
+ <line num="673" count="0" type="stmt"/>
909
+ <line num="674" count="0" type="stmt"/>
911
910
  <line num="676" count="0" type="stmt"/>
911
+ <line num="677" count="0" type="stmt"/>
912
912
  <line num="678" count="0" type="stmt"/>
913
- <line num="679" count="0" type="stmt"/>
914
913
  <line num="680" count="0" type="stmt"/>
915
- <line num="682" count="0" type="stmt"/>
914
+ <line num="681" count="0" type="stmt"/>
916
915
  <line num="683" count="0" type="stmt"/>
917
- <line num="685" count="0" type="stmt"/>
918
- <line num="686" count="0" type="stmt"/>
919
- <line num="688" count="8" type="stmt"/>
920
- <line num="689" count="4" type="stmt"/>
921
- <line num="691" count="0" type="stmt"/>
922
- <line num="692" count="0" type="stmt"/>
923
- <line num="694" count="2" type="stmt"/>
924
- <line num="695" count="2" type="stmt"/>
925
- <line num="700" count="331" type="cond" truecount="2" falsecount="0"/>
926
- <line num="701" count="30" type="cond" truecount="2" falsecount="0"/>
927
- <line num="702" count="27" type="cond" truecount="2" falsecount="0"/>
928
- <line num="703" count="4" type="stmt"/>
929
- <line num="707" count="110" type="stmt"/>
930
- <line num="709" count="110" type="cond" truecount="2" falsecount="0"/>
931
- <line num="712" count="111" type="cond" truecount="4" falsecount="0"/>
932
- <line num="721" count="1001" type="cond" truecount="2" falsecount="0"/>
933
- <line num="722" count="90" type="cond" truecount="2" falsecount="0"/>
934
- <line num="723" count="81" type="cond" truecount="2" falsecount="0"/>
935
- <line num="724" count="12" type="stmt"/>
936
- <line num="728" count="330" type="stmt"/>
937
- <line num="730" count="330" type="cond" truecount="2" falsecount="0"/>
938
- <line num="733" count="336" type="cond" truecount="4" falsecount="0"/>
939
- <line num="742" count="110" type="stmt"/>
916
+ <line num="684" count="0" type="stmt"/>
917
+ <line num="686" count="8" type="stmt"/>
918
+ <line num="687" count="4" type="stmt"/>
919
+ <line num="689" count="0" type="stmt"/>
920
+ <line num="690" count="0" type="stmt"/>
921
+ <line num="692" count="2" type="stmt"/>
922
+ <line num="693" count="2" type="stmt"/>
923
+ <line num="698" count="331" type="cond" truecount="2" falsecount="0"/>
924
+ <line num="699" count="30" type="cond" truecount="2" falsecount="0"/>
925
+ <line num="700" count="27" type="cond" truecount="2" falsecount="0"/>
926
+ <line num="701" count="4" type="stmt"/>
927
+ <line num="705" count="110" type="stmt"/>
928
+ <line num="707" count="110" type="cond" truecount="2" falsecount="0"/>
929
+ <line num="710" count="111" type="cond" truecount="4" falsecount="0"/>
930
+ <line num="719" count="1001" type="cond" truecount="2" falsecount="0"/>
931
+ <line num="720" count="90" type="cond" truecount="2" falsecount="0"/>
932
+ <line num="721" count="81" type="cond" truecount="2" falsecount="0"/>
933
+ <line num="722" count="12" type="stmt"/>
934
+ <line num="726" count="330" type="stmt"/>
935
+ <line num="728" count="330" type="cond" truecount="2" falsecount="0"/>
936
+ <line num="731" count="336" type="cond" truecount="4" falsecount="0"/>
937
+ <line num="740" count="110" type="stmt"/>
938
+ <line num="741" count="110" type="stmt"/>
940
939
  <line num="743" count="110" type="stmt"/>
941
- <line num="745" count="110" type="stmt"/>
942
- <line num="746" count="110" type="stmt"/>
943
- <line num="747" count="112" type="cond" truecount="2" falsecount="0"/>
944
- <line num="748" count="5" type="cond" truecount="1" falsecount="1"/>
945
- <line num="750" count="107" type="stmt"/>
946
- <line num="754" count="110" type="stmt"/>
947
- <line num="758" count="259" type="cond" truecount="2" falsecount="0"/>
948
- <line num="759" count="30" type="cond" truecount="2" falsecount="0"/>
949
- <line num="760" count="26" type="cond" truecount="2" falsecount="0"/>
950
- <line num="761" count="4" type="stmt"/>
951
- <line num="765" count="110" type="stmt"/>
952
- <line num="766" count="110" type="cond" truecount="5" falsecount="0"/>
953
- <line num="771" count="110" type="stmt"/>
954
- <line num="775" count="112" type="stmt"/>
955
- <line num="779" count="28" type="stmt"/>
956
- <line num="786" count="437" type="cond" truecount="1" falsecount="1"/>
957
- <line num="791" count="437" type="stmt"/>
958
- <line num="793" count="449" type="stmt"/>
959
- <line num="798" count="221" type="stmt"/>
960
- <line num="803" count="108" type="stmt"/>
961
- <line num="804" count="111" type="stmt"/>
962
- <line num="805" count="108" type="cond" truecount="2" falsecount="0"/>
963
- <line num="806" count="2" type="stmt"/>
964
- <line num="808" count="106" type="stmt"/>
965
- <line num="813" count="44" type="cond" truecount="1" falsecount="1"/>
966
- <line num="817" count="44" type="cond" truecount="1" falsecount="1"/>
967
- <line num="818" count="44" type="cond" truecount="2" falsecount="0"/>
968
- <line num="819" count="1" type="stmt"/>
969
- <line num="821" count="43" type="stmt"/>
940
+ <line num="744" count="110" type="stmt"/>
941
+ <line num="745" count="112" type="cond" truecount="2" falsecount="0"/>
942
+ <line num="746" count="5" type="cond" truecount="1" falsecount="1"/>
943
+ <line num="748" count="107" type="stmt"/>
944
+ <line num="752" count="110" type="stmt"/>
945
+ <line num="756" count="259" type="cond" truecount="2" falsecount="0"/>
946
+ <line num="757" count="30" type="cond" truecount="2" falsecount="0"/>
947
+ <line num="758" count="26" type="cond" truecount="2" falsecount="0"/>
948
+ <line num="759" count="4" type="stmt"/>
949
+ <line num="763" count="110" type="stmt"/>
950
+ <line num="764" count="110" type="cond" truecount="5" falsecount="0"/>
951
+ <line num="769" count="110" type="stmt"/>
952
+ <line num="773" count="112" type="stmt"/>
953
+ <line num="777" count="28" type="stmt"/>
954
+ <line num="784" count="437" type="cond" truecount="1" falsecount="1"/>
955
+ <line num="789" count="437" type="stmt"/>
956
+ <line num="791" count="449" type="stmt"/>
957
+ <line num="796" count="221" type="stmt"/>
958
+ <line num="801" count="108" type="stmt"/>
959
+ <line num="802" count="111" type="stmt"/>
960
+ <line num="803" count="108" type="cond" truecount="2" falsecount="0"/>
961
+ <line num="804" count="2" type="stmt"/>
962
+ <line num="806" count="106" type="stmt"/>
963
+ <line num="811" count="44" type="cond" truecount="1" falsecount="1"/>
964
+ <line num="815" count="44" type="cond" truecount="1" falsecount="1"/>
965
+ <line num="816" count="44" type="cond" truecount="2" falsecount="0"/>
966
+ <line num="817" count="1" type="stmt"/>
967
+ <line num="819" count="43" type="stmt"/>
970
968
  </file>
971
969
  <file name="codegen-plain-types.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/codegen-plain-types.ts">
972
970
  <metrics statements="143" coveredstatements="132" conditionals="111" coveredconditionals="87" methods="30" coveredmethods="29"/>