@lad-tech/nsc-toolkit 1.9.0 → 1.10.0
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/CHANGELOG.md +2 -3
- package/coverage/clover.xml +114 -114
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/examples/LogicService/adapters/Configurator.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/adapters/Repository.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/adapters/index.html +1 -1
- package/coverage/lcov-report/examples/LogicService/adapters/index.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/index.html +1 -1
- package/coverage/lcov-report/examples/LogicService/index.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/inversion.types.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/methods/GetUser.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/methods/GetUserV2.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/methods/WeirdSum.ts.html +1 -1
- package/coverage/lcov-report/examples/LogicService/methods/index.html +1 -1
- package/coverage/lcov-report/examples/LogicService/service.ts.html +1 -1
- package/coverage/lcov-report/examples/MathService/index.html +1 -1
- package/coverage/lcov-report/examples/MathService/index.ts.html +1 -1
- package/coverage/lcov-report/examples/MathService/methods/Fibonacci.ts.html +1 -1
- package/coverage/lcov-report/examples/MathService/methods/Sum.ts.html +1 -1
- package/coverage/lcov-report/examples/MathService/methods/SumStream.ts.html +1 -1
- package/coverage/lcov-report/examples/MathService/methods/index.html +1 -1
- package/coverage/lcov-report/examples/MathService/service.ts.html +1 -1
- package/coverage/lcov-report/index.html +5 -5
- package/coverage/lcov.info +210 -209
- package/dist/Service.js +4 -2
- package/dist/Service.js.map +1 -1
- package/dist/types/Container.d.ts +1 -1
- package/dist/types/interfaces.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
# [1.
|
|
1
|
+
# [1.10.0](https://github.com/lad-tech/nsc-toolkit/compare/v1.9.1...v1.10.0) (2023-06-08)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
* inject можно использовать с параметрами конструктора ([aa65b34](https://github.com/lad-tech/nsc-toolkit/commit/aa65b341ca4a2f2fc85b05cafe9533300e212645))
|
|
6
|
+
* Расширить типы в конструкторах ([b5c0949](https://github.com/lad-tech/nsc-toolkit/commit/b5c0949b2b78a56549bf900a94f59a0896090d22))
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="845" coveredstatements="724" conditionals="
|
|
2
|
+
<coverage generated="1686256064744" clover="3.2.0">
|
|
3
|
+
<project timestamp="1686256064744" name="All files">
|
|
4
|
+
<metrics statements="845" coveredstatements="724" conditionals="328" coveredconditionals="258" methods="193" coveredmethods="143" elements="1366" coveredelements="1125" complexity="0" loc="845" ncloc="845" packages="9" files="33" classes="33"/>
|
|
5
5
|
<package name="examples.LogicService">
|
|
6
6
|
<metrics statements="28" coveredstatements="28" conditionals="2" coveredconditionals="1" methods="5" coveredmethods="5"/>
|
|
7
7
|
<file name="index.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/examples/LogicService/index.ts">
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
</file>
|
|
205
205
|
</package>
|
|
206
206
|
<package name="src">
|
|
207
|
-
<metrics statements="587" coveredstatements="514" conditionals="
|
|
207
|
+
<metrics statements="587" coveredstatements="514" conditionals="314" coveredconditionals="250" methods="104" coveredmethods="97"/>
|
|
208
208
|
<file name="Client.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/Client.ts">
|
|
209
209
|
<metrics statements="132" coveredstatements="123" conditionals="100" coveredconditionals="90" methods="18" coveredmethods="17"/>
|
|
210
210
|
<line num="1" count="4" type="stmt"/>
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
<line num="68" count="3" type="stmt"/>
|
|
422
422
|
</file>
|
|
423
423
|
<file name="Service.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/Service.ts">
|
|
424
|
-
<metrics statements="294" coveredstatements="243" conditionals="
|
|
424
|
+
<metrics statements="294" coveredstatements="243" conditionals="141" coveredconditionals="106" methods="51" coveredmethods="46"/>
|
|
425
425
|
<line num="1" count="4" type="stmt"/>
|
|
426
426
|
<line num="2" count="4" type="stmt"/>
|
|
427
427
|
<line num="3" count="4" type="stmt"/>
|
|
@@ -551,171 +551,171 @@
|
|
|
551
551
|
<line num="292" count="2" type="stmt"/>
|
|
552
552
|
<line num="299" count="3" type="stmt"/>
|
|
553
553
|
<line num="302" count="16" type="stmt"/>
|
|
554
|
-
<line num="303" count="16" type="cond" truecount="
|
|
554
|
+
<line num="303" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
555
555
|
<line num="304" count="0" type="stmt"/>
|
|
556
556
|
<line num="306" count="16" type="stmt"/>
|
|
557
557
|
<line num="307" count="16" type="stmt"/>
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="329" count="4" type="stmt"/>
|
|
558
|
+
<line num="310" count="0" type="stmt"/>
|
|
559
|
+
<line num="317" count="3" type="stmt"/>
|
|
560
|
+
<line num="318" count="0" type="stmt"/>
|
|
561
|
+
<line num="320" count="3" type="stmt"/>
|
|
562
|
+
<line num="323" count="3" type="stmt"/>
|
|
564
563
|
<line num="330" count="4" type="stmt"/>
|
|
565
564
|
<line num="331" count="4" type="stmt"/>
|
|
566
|
-
<line num="332" count="
|
|
567
|
-
<line num="333" count="5" type="
|
|
568
|
-
<line num="334" count="
|
|
569
|
-
<line num="
|
|
565
|
+
<line num="332" count="4" type="stmt"/>
|
|
566
|
+
<line num="333" count="5" type="stmt"/>
|
|
567
|
+
<line num="334" count="5" type="cond" truecount="2" falsecount="1"/>
|
|
568
|
+
<line num="335" count="0" type="stmt"/>
|
|
570
569
|
<line num="337" count="5" type="stmt"/>
|
|
571
570
|
<line num="338" count="5" type="stmt"/>
|
|
572
571
|
<line num="339" count="5" type="stmt"/>
|
|
573
572
|
<line num="340" count="5" type="stmt"/>
|
|
574
|
-
<line num="341" count="5" type="
|
|
575
|
-
<line num="342" count="
|
|
576
|
-
<line num="
|
|
577
|
-
<line num="345" count="5" type="
|
|
578
|
-
<line num="346" count="
|
|
579
|
-
<line num="347" count="3" type="
|
|
580
|
-
<line num="348" count="
|
|
573
|
+
<line num="341" count="5" type="stmt"/>
|
|
574
|
+
<line num="342" count="5" type="cond" truecount="3" falsecount="1"/>
|
|
575
|
+
<line num="343" count="0" type="stmt"/>
|
|
576
|
+
<line num="345" count="5" type="stmt"/>
|
|
577
|
+
<line num="346" count="5" type="cond" truecount="7" falsecount="2"/>
|
|
578
|
+
<line num="347" count="3" type="stmt"/>
|
|
579
|
+
<line num="348" count="3" type="cond" truecount="3" falsecount="0"/>
|
|
581
580
|
<line num="349" count="1" type="stmt"/>
|
|
582
|
-
<line num="
|
|
581
|
+
<line num="350" count="1" type="stmt"/>
|
|
583
582
|
<line num="352" count="2" type="stmt"/>
|
|
584
|
-
<line num="
|
|
583
|
+
<line num="353" count="2" type="stmt"/>
|
|
585
584
|
<line num="355" count="2" type="stmt"/>
|
|
586
585
|
<line num="356" count="2" type="stmt"/>
|
|
587
|
-
<line num="
|
|
586
|
+
<line num="357" count="2" type="stmt"/>
|
|
588
587
|
<line num="359" count="2" type="stmt"/>
|
|
589
|
-
<line num="360" count="2" type="
|
|
590
|
-
<line num="361" count="2" type="
|
|
588
|
+
<line num="360" count="2" type="stmt"/>
|
|
589
|
+
<line num="361" count="2" type="cond" truecount="9" falsecount="2"/>
|
|
591
590
|
<line num="362" count="2" type="stmt"/>
|
|
592
|
-
<line num="
|
|
593
|
-
<line num="
|
|
594
|
-
<line num="367" count="0" type="
|
|
595
|
-
<line num="368" count="0" type="
|
|
591
|
+
<line num="363" count="2" type="stmt"/>
|
|
592
|
+
<line num="365" count="0" type="stmt"/>
|
|
593
|
+
<line num="367" count="0" type="stmt"/>
|
|
594
|
+
<line num="368" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
596
595
|
<line num="369" count="0" type="stmt"/>
|
|
597
|
-
<line num="
|
|
598
|
-
<line num="
|
|
596
|
+
<line num="370" count="0" type="stmt"/>
|
|
597
|
+
<line num="372" count="0" type="stmt"/>
|
|
599
598
|
<line num="381" count="12" type="stmt"/>
|
|
600
|
-
<line num="
|
|
599
|
+
<line num="382" count="12" type="stmt"/>
|
|
601
600
|
<line num="384" count="12" type="stmt"/>
|
|
602
|
-
<line num="
|
|
601
|
+
<line num="385" count="12" type="stmt"/>
|
|
603
602
|
<line num="387" count="12" type="stmt"/>
|
|
604
|
-
<line num="
|
|
603
|
+
<line num="388" count="12" type="stmt"/>
|
|
605
604
|
<line num="393" count="12" type="stmt"/>
|
|
606
|
-
<line num="
|
|
605
|
+
<line num="394" count="12" type="stmt"/>
|
|
607
606
|
<line num="397" count="12" type="stmt"/>
|
|
608
|
-
<line num="
|
|
607
|
+
<line num="398" count="12" type="stmt"/>
|
|
609
608
|
<line num="400" count="0" type="stmt"/>
|
|
610
609
|
<line num="401" count="0" type="stmt"/>
|
|
611
610
|
<line num="402" count="0" type="stmt"/>
|
|
612
611
|
<line num="403" count="0" type="stmt"/>
|
|
613
|
-
<line num="
|
|
612
|
+
<line num="404" count="0" type="stmt"/>
|
|
614
613
|
<line num="412" count="15" type="stmt"/>
|
|
615
614
|
<line num="413" count="15" type="stmt"/>
|
|
616
|
-
<line num="414" count="15" type="
|
|
617
|
-
<line num="415" count="
|
|
615
|
+
<line num="414" count="15" type="stmt"/>
|
|
616
|
+
<line num="415" count="15" type="cond" truecount="5" falsecount="0"/>
|
|
618
617
|
<line num="416" count="5" type="stmt"/>
|
|
619
|
-
<line num="
|
|
620
|
-
<line num="
|
|
618
|
+
<line num="417" count="5" type="stmt"/>
|
|
619
|
+
<line num="420" count="10" type="stmt"/>
|
|
621
620
|
<line num="422" count="10" type="stmt"/>
|
|
622
621
|
<line num="423" count="10" type="stmt"/>
|
|
623
|
-
<line num="424" count="
|
|
622
|
+
<line num="424" count="10" type="stmt"/>
|
|
624
623
|
<line num="425" count="7" type="stmt"/>
|
|
625
624
|
<line num="426" count="7" type="stmt"/>
|
|
626
625
|
<line num="427" count="7" type="stmt"/>
|
|
627
|
-
<line num="
|
|
628
|
-
<line num="
|
|
629
|
-
<line num="435" count="
|
|
630
|
-
<line num="
|
|
626
|
+
<line num="428" count="7" type="stmt"/>
|
|
627
|
+
<line num="430" count="0" type="stmt"/>
|
|
628
|
+
<line num="435" count="15" type="cond" truecount="1" falsecount="0"/>
|
|
629
|
+
<line num="436" count="4" type="stmt"/>
|
|
631
630
|
<line num="439" count="15" type="stmt"/>
|
|
632
631
|
<line num="440" count="15" type="stmt"/>
|
|
633
|
-
<line num="
|
|
634
|
-
<line num="443" count="
|
|
635
|
-
<line num="
|
|
636
|
-
<line num="
|
|
637
|
-
<line num="
|
|
638
|
-
<line num="455" count="0" type="
|
|
639
|
-
<line num="
|
|
640
|
-
<line num="
|
|
641
|
-
<line num="
|
|
642
|
-
<line num="468" count="4" type="
|
|
643
|
-
<line num="469" count="4" type="
|
|
632
|
+
<line num="441" count="15" type="stmt"/>
|
|
633
|
+
<line num="443" count="15" type="cond" truecount="5" falsecount="0"/>
|
|
634
|
+
<line num="444" count="5" type="stmt"/>
|
|
635
|
+
<line num="450" count="5" type="stmt"/>
|
|
636
|
+
<line num="453" count="15" type="stmt"/>
|
|
637
|
+
<line num="455" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
638
|
+
<line num="456" count="0" type="stmt"/>
|
|
639
|
+
<line num="458" count="0" type="stmt"/>
|
|
640
|
+
<line num="460" count="0" type="stmt"/>
|
|
641
|
+
<line num="468" count="4" type="stmt"/>
|
|
642
|
+
<line num="469" count="4" type="cond" truecount="5" falsecount="1"/>
|
|
644
643
|
<line num="470" count="4" type="stmt"/>
|
|
645
|
-
<line num="
|
|
646
|
-
<line num="473" count="
|
|
644
|
+
<line num="471" count="4" type="stmt"/>
|
|
645
|
+
<line num="473" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
647
646
|
<line num="474" count="1" type="stmt"/>
|
|
648
647
|
<line num="475" count="1" type="stmt"/>
|
|
649
|
-
<line num="
|
|
650
|
-
<line num="479" count="
|
|
651
|
-
<line num="480" count="0" type="
|
|
652
|
-
<line num="481" count="0" type="
|
|
653
|
-
<line num="
|
|
654
|
-
<line num="486" count="
|
|
648
|
+
<line num="476" count="1" type="stmt"/>
|
|
649
|
+
<line num="479" count="4" type="cond" truecount="6" falsecount="3"/>
|
|
650
|
+
<line num="480" count="0" type="stmt"/>
|
|
651
|
+
<line num="481" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
652
|
+
<line num="482" count="0" type="stmt"/>
|
|
653
|
+
<line num="486" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
655
654
|
<line num="487" count="1" type="stmt"/>
|
|
656
655
|
<line num="488" count="1" type="stmt"/>
|
|
657
|
-
<line num="
|
|
658
|
-
<line num="
|
|
659
|
-
<line num="
|
|
660
|
-
<line num="
|
|
661
|
-
<line num="506" count="
|
|
656
|
+
<line num="489" count="1" type="stmt"/>
|
|
657
|
+
<line num="492" count="0" type="stmt"/>
|
|
658
|
+
<line num="495" count="4" type="stmt"/>
|
|
659
|
+
<line num="499" count="4" type="stmt"/>
|
|
660
|
+
<line num="506" count="45" type="stmt"/>
|
|
662
661
|
<line num="507" count="0" type="stmt"/>
|
|
663
|
-
<line num="
|
|
664
|
-
<line num="516" count="
|
|
662
|
+
<line num="508" count="0" type="stmt"/>
|
|
663
|
+
<line num="516" count="30" type="stmt"/>
|
|
665
664
|
<line num="517" count="0" type="stmt"/>
|
|
666
|
-
<line num="
|
|
665
|
+
<line num="518" count="0" type="stmt"/>
|
|
667
666
|
<line num="526" count="15" type="stmt"/>
|
|
668
667
|
<line num="527" count="15" type="stmt"/>
|
|
669
668
|
<line num="528" count="15" type="stmt"/>
|
|
670
669
|
<line num="529" count="15" type="stmt"/>
|
|
671
|
-
<line num="
|
|
672
|
-
<line num="537" count="
|
|
673
|
-
<line num="
|
|
670
|
+
<line num="530" count="15" type="stmt"/>
|
|
671
|
+
<line num="537" count="15" type="cond" truecount="3" falsecount="0"/>
|
|
672
|
+
<line num="538" count="5" type="stmt"/>
|
|
674
673
|
<line num="540" count="10" type="stmt"/>
|
|
675
|
-
<line num="541" count="
|
|
676
|
-
<line num="542" count="1" type="
|
|
674
|
+
<line num="541" count="10" type="stmt"/>
|
|
675
|
+
<line num="542" count="1" type="cond" truecount="3" falsecount="0"/>
|
|
677
676
|
<line num="543" count="1" type="stmt"/>
|
|
678
|
-
<line num="
|
|
679
|
-
<line num="
|
|
680
|
-
<line num="549" count="
|
|
681
|
-
<line num="550" count="0" type="
|
|
682
|
-
<line num="
|
|
683
|
-
<line num="
|
|
684
|
-
<line num="561" count="
|
|
685
|
-
<line num="
|
|
686
|
-
<line num="
|
|
677
|
+
<line num="544" count="1" type="stmt"/>
|
|
678
|
+
<line num="546" count="0" type="stmt"/>
|
|
679
|
+
<line num="549" count="10" type="stmt"/>
|
|
680
|
+
<line num="550" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
681
|
+
<line num="551" count="0" type="stmt"/>
|
|
682
|
+
<line num="553" count="0" type="stmt"/>
|
|
683
|
+
<line num="561" count="15" type="stmt"/>
|
|
684
|
+
<line num="562" count="0" type="stmt"/>
|
|
685
|
+
<line num="570" count="11" type="stmt"/>
|
|
687
686
|
<line num="574" count="4" type="stmt"/>
|
|
688
687
|
<line num="575" count="4" type="stmt"/>
|
|
689
688
|
<line num="576" count="4" type="stmt"/>
|
|
690
689
|
<line num="577" count="4" type="stmt"/>
|
|
691
|
-
<line num="
|
|
692
|
-
<line num="580" count="
|
|
690
|
+
<line num="578" count="4" type="stmt"/>
|
|
691
|
+
<line num="580" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
693
692
|
<line num="581" count="0" type="stmt"/>
|
|
694
|
-
<line num="
|
|
695
|
-
<line num="585" count="
|
|
693
|
+
<line num="582" count="0" type="stmt"/>
|
|
694
|
+
<line num="585" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
696
695
|
<line num="586" count="0" type="stmt"/>
|
|
697
|
-
<line num="
|
|
698
|
-
<line num="
|
|
699
|
-
<line num="
|
|
696
|
+
<line num="587" count="0" type="stmt"/>
|
|
697
|
+
<line num="589" count="4" type="stmt"/>
|
|
698
|
+
<line num="592" count="4" type="stmt"/>
|
|
700
699
|
<line num="596" count="4" type="stmt"/>
|
|
701
|
-
<line num="597" count="
|
|
702
|
-
<line num="598" count="
|
|
703
|
-
<line num="
|
|
704
|
-
<line num="601" count="
|
|
705
|
-
<line num="602" count="
|
|
706
|
-
<line num="603" count="
|
|
707
|
-
<line num="
|
|
708
|
-
<line num="
|
|
709
|
-
<line num="608" count="
|
|
710
|
-
<line num="
|
|
711
|
-
<line num="
|
|
712
|
-
<line num="
|
|
713
|
-
<line num="622" count="6" type="
|
|
700
|
+
<line num="597" count="4" type="stmt"/>
|
|
701
|
+
<line num="598" count="8" type="cond" truecount="0" falsecount="1"/>
|
|
702
|
+
<line num="599" count="0" type="stmt"/>
|
|
703
|
+
<line num="601" count="8" type="stmt"/>
|
|
704
|
+
<line num="602" count="12" type="cond" truecount="5" falsecount="1"/>
|
|
705
|
+
<line num="603" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
706
|
+
<line num="604" count="4" type="stmt"/>
|
|
707
|
+
<line num="606" count="4" type="stmt"/>
|
|
708
|
+
<line num="608" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
709
|
+
<line num="609" count="0" type="stmt"/>
|
|
710
|
+
<line num="611" count="4" type="stmt"/>
|
|
711
|
+
<line num="615" count="2" type="stmt"/>
|
|
712
|
+
<line num="622" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
714
713
|
<line num="623" count="6" type="stmt"/>
|
|
715
|
-
<line num="624" count="6" type="
|
|
716
|
-
<line num="625" count="6" type="cond" truecount="
|
|
717
|
-
<line num="626" count="
|
|
718
|
-
<line num="
|
|
714
|
+
<line num="624" count="6" type="stmt"/>
|
|
715
|
+
<line num="625" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
716
|
+
<line num="626" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
717
|
+
<line num="627" count="3" type="stmt"/>
|
|
718
|
+
<line num="634" count="3" type="stmt"/>
|
|
719
719
|
</file>
|
|
720
720
|
<file name="StreamManager.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/StreamManager.ts">
|
|
721
721
|
<metrics statements="50" coveredstatements="42" conditionals="41" coveredconditionals="25" methods="9" coveredmethods="9"/>
|