@genesislcap/foundation-utils 14.120.0 → 14.120.1

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.
@@ -467,6 +467,205 @@
467
467
  }
468
468
  ]
469
469
  },
470
+ {
471
+ "kind": "javascript-module",
472
+ "path": "src/error/errorMap.ts",
473
+ "declarations": [
474
+ {
475
+ "kind": "class",
476
+ "description": "",
477
+ "name": "DefaultErrorMap",
478
+ "members": [
479
+ {
480
+ "kind": "field",
481
+ "name": "map",
482
+ "privacy": "private",
483
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
484
+ },
485
+ {
486
+ "kind": "field",
487
+ "name": "lastError",
488
+ "type": {
489
+ "text": "Error"
490
+ },
491
+ "description": "{@inheritDoc ErrorMap.lastError}"
492
+ },
493
+ {
494
+ "kind": "method",
495
+ "name": "set",
496
+ "return": {
497
+ "type": {
498
+ "text": "void"
499
+ }
500
+ },
501
+ "parameters": [
502
+ {
503
+ "name": "key",
504
+ "type": {
505
+ "text": "keyof TErrorDetailMap"
506
+ }
507
+ },
508
+ {
509
+ "name": "error",
510
+ "type": {
511
+ "text": "Error"
512
+ }
513
+ }
514
+ ],
515
+ "description": "{@inheritDoc ErrorMap.set}"
516
+ },
517
+ {
518
+ "kind": "method",
519
+ "name": "get",
520
+ "return": {
521
+ "type": {
522
+ "text": ""
523
+ }
524
+ },
525
+ "parameters": [
526
+ {
527
+ "name": "key",
528
+ "type": {
529
+ "text": "keyof TErrorDetailMap"
530
+ },
531
+ "description": "The key."
532
+ }
533
+ ],
534
+ "description": "Get an error by key.",
535
+ "privacy": "public"
536
+ },
537
+ {
538
+ "kind": "method",
539
+ "name": "has",
540
+ "return": {
541
+ "type": {
542
+ "text": ""
543
+ }
544
+ },
545
+ "parameters": [
546
+ {
547
+ "name": "key",
548
+ "type": {
549
+ "text": "keyof TErrorDetailMap"
550
+ },
551
+ "description": "The key."
552
+ }
553
+ ],
554
+ "description": "Has an error for key.",
555
+ "privacy": "public"
556
+ },
557
+ {
558
+ "kind": "method",
559
+ "name": "delete",
560
+ "return": {
561
+ "type": {
562
+ "text": ""
563
+ }
564
+ },
565
+ "parameters": [
566
+ {
567
+ "name": "key",
568
+ "type": {
569
+ "text": "keyof TErrorDetailMap"
570
+ },
571
+ "description": "The key."
572
+ }
573
+ ],
574
+ "description": "Delete an error.",
575
+ "privacy": "public"
576
+ },
577
+ {
578
+ "kind": "method",
579
+ "name": "clear",
580
+ "description": "Clear errors.",
581
+ "privacy": "public"
582
+ },
583
+ {
584
+ "kind": "field",
585
+ "name": "size",
586
+ "type": {
587
+ "text": "number"
588
+ },
589
+ "description": "The size of the error map.",
590
+ "return": {
591
+ "type": {
592
+ "text": ""
593
+ }
594
+ },
595
+ "privacy": "public",
596
+ "readonly": true
597
+ },
598
+ {
599
+ "kind": "method",
600
+ "name": "values",
601
+ "privacy": "public"
602
+ },
603
+ {
604
+ "kind": "field",
605
+ "name": "messages",
606
+ "type": {
607
+ "text": "string"
608
+ },
609
+ "description": "{@inheritDoc ErrorMap.messages}",
610
+ "readonly": true
611
+ }
612
+ ]
613
+ },
614
+ {
615
+ "kind": "function",
616
+ "name": "createErrorMap",
617
+ "return": {
618
+ "type": {
619
+ "text": ""
620
+ }
621
+ },
622
+ "parameters": [
623
+ {
624
+ "name": "logger",
625
+ "type": {
626
+ "text": "ErrorMapLogger"
627
+ },
628
+ "description": "A logger error method reference."
629
+ }
630
+ ],
631
+ "description": "A factory to create the error map.",
632
+ "privacy": "public"
633
+ }
634
+ ],
635
+ "exports": [
636
+ {
637
+ "kind": "js",
638
+ "name": "DefaultErrorMap",
639
+ "declaration": {
640
+ "name": "DefaultErrorMap",
641
+ "module": "src/error/errorMap.ts"
642
+ }
643
+ },
644
+ {
645
+ "kind": "js",
646
+ "name": "createErrorMap",
647
+ "declaration": {
648
+ "name": "createErrorMap",
649
+ "module": "src/error/errorMap.ts"
650
+ }
651
+ }
652
+ ]
653
+ },
654
+ {
655
+ "kind": "javascript-module",
656
+ "path": "src/error/index.ts",
657
+ "declarations": [],
658
+ "exports": [
659
+ {
660
+ "kind": "js",
661
+ "name": "*",
662
+ "declaration": {
663
+ "name": "*",
664
+ "package": "./errorMap"
665
+ }
666
+ }
667
+ ]
668
+ },
470
669
  {
471
670
  "kind": "javascript-module",
472
671
  "path": "src/env/index.ts",
@@ -690,205 +889,6 @@
690
889
  }
691
890
  ]
692
891
  },
693
- {
694
- "kind": "javascript-module",
695
- "path": "src/error/errorMap.ts",
696
- "declarations": [
697
- {
698
- "kind": "class",
699
- "description": "",
700
- "name": "DefaultErrorMap",
701
- "members": [
702
- {
703
- "kind": "field",
704
- "name": "map",
705
- "privacy": "private",
706
- "default": "new Map<keyof TErrorDetailMap, Error>()"
707
- },
708
- {
709
- "kind": "field",
710
- "name": "lastError",
711
- "type": {
712
- "text": "Error"
713
- },
714
- "description": "{@inheritDoc ErrorMap.lastError}"
715
- },
716
- {
717
- "kind": "method",
718
- "name": "set",
719
- "return": {
720
- "type": {
721
- "text": "void"
722
- }
723
- },
724
- "parameters": [
725
- {
726
- "name": "key",
727
- "type": {
728
- "text": "keyof TErrorDetailMap"
729
- }
730
- },
731
- {
732
- "name": "error",
733
- "type": {
734
- "text": "Error"
735
- }
736
- }
737
- ],
738
- "description": "{@inheritDoc ErrorMap.set}"
739
- },
740
- {
741
- "kind": "method",
742
- "name": "get",
743
- "return": {
744
- "type": {
745
- "text": ""
746
- }
747
- },
748
- "parameters": [
749
- {
750
- "name": "key",
751
- "type": {
752
- "text": "keyof TErrorDetailMap"
753
- },
754
- "description": "The key."
755
- }
756
- ],
757
- "description": "Get an error by key.",
758
- "privacy": "public"
759
- },
760
- {
761
- "kind": "method",
762
- "name": "has",
763
- "return": {
764
- "type": {
765
- "text": ""
766
- }
767
- },
768
- "parameters": [
769
- {
770
- "name": "key",
771
- "type": {
772
- "text": "keyof TErrorDetailMap"
773
- },
774
- "description": "The key."
775
- }
776
- ],
777
- "description": "Has an error for key.",
778
- "privacy": "public"
779
- },
780
- {
781
- "kind": "method",
782
- "name": "delete",
783
- "return": {
784
- "type": {
785
- "text": ""
786
- }
787
- },
788
- "parameters": [
789
- {
790
- "name": "key",
791
- "type": {
792
- "text": "keyof TErrorDetailMap"
793
- },
794
- "description": "The key."
795
- }
796
- ],
797
- "description": "Delete an error.",
798
- "privacy": "public"
799
- },
800
- {
801
- "kind": "method",
802
- "name": "clear",
803
- "description": "Clear errors.",
804
- "privacy": "public"
805
- },
806
- {
807
- "kind": "field",
808
- "name": "size",
809
- "type": {
810
- "text": "number"
811
- },
812
- "description": "The size of the error map.",
813
- "return": {
814
- "type": {
815
- "text": ""
816
- }
817
- },
818
- "privacy": "public",
819
- "readonly": true
820
- },
821
- {
822
- "kind": "method",
823
- "name": "values",
824
- "privacy": "public"
825
- },
826
- {
827
- "kind": "field",
828
- "name": "messages",
829
- "type": {
830
- "text": "string"
831
- },
832
- "description": "{@inheritDoc ErrorMap.messages}",
833
- "readonly": true
834
- }
835
- ]
836
- },
837
- {
838
- "kind": "function",
839
- "name": "createErrorMap",
840
- "return": {
841
- "type": {
842
- "text": ""
843
- }
844
- },
845
- "parameters": [
846
- {
847
- "name": "logger",
848
- "type": {
849
- "text": "ErrorMapLogger"
850
- },
851
- "description": "A logger error method reference."
852
- }
853
- ],
854
- "description": "A factory to create the error map.",
855
- "privacy": "public"
856
- }
857
- ],
858
- "exports": [
859
- {
860
- "kind": "js",
861
- "name": "DefaultErrorMap",
862
- "declaration": {
863
- "name": "DefaultErrorMap",
864
- "module": "src/error/errorMap.ts"
865
- }
866
- },
867
- {
868
- "kind": "js",
869
- "name": "createErrorMap",
870
- "declaration": {
871
- "name": "createErrorMap",
872
- "module": "src/error/errorMap.ts"
873
- }
874
- }
875
- ]
876
- },
877
- {
878
- "kind": "javascript-module",
879
- "path": "src/error/index.ts",
880
- "declarations": [],
881
- "exports": [
882
- {
883
- "kind": "js",
884
- "name": "*",
885
- "declaration": {
886
- "name": "*",
887
- "package": "./errorMap"
888
- }
889
- }
890
- ]
891
- },
892
892
  {
893
893
  "kind": "javascript-module",
894
894
  "path": "src/formatters/datetime.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.120.0",
4
+ "version": "14.120.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -19,12 +19,12 @@
19
19
  "test": "genx test"
20
20
  },
21
21
  "devDependencies": {
22
- "@genesislcap/foundation-testing": "14.120.0",
23
- "@genesislcap/genx": "14.120.0",
22
+ "@genesislcap/foundation-testing": "14.120.1",
23
+ "@genesislcap/genx": "14.120.1",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.120.0",
27
+ "@genesislcap/foundation-logger": "14.120.1",
28
28
  "@microsoft/fast-components": "^2.21.3",
29
29
  "@microsoft/fast-element": "^1.7.0",
30
30
  "@microsoft/fast-foundation": "^2.33.2",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "customElements": "dist/custom-elements.json",
45
- "gitHead": "33db20d38203527970ea100cbe9399f7341649b7"
45
+ "gitHead": "f4a9f29c205e1ae6903da221fea788da4fba7ea5"
46
46
  }