@genesislcap/foundation-utils 14.209.3-alpha-6a63026.0 → 14.209.3-alpha-0e5e530.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +316 -316
  2. package/package.json +10 -10
@@ -415,205 +415,6 @@
415
415
  }
416
416
  ]
417
417
  },
418
- {
419
- "kind": "javascript-module",
420
- "path": "src/error/errorMap.ts",
421
- "declarations": [
422
- {
423
- "kind": "class",
424
- "description": "",
425
- "name": "DefaultErrorMap",
426
- "members": [
427
- {
428
- "kind": "field",
429
- "name": "map",
430
- "privacy": "private",
431
- "default": "new Map<keyof TErrorDetailMap, Error>()"
432
- },
433
- {
434
- "kind": "field",
435
- "name": "lastError",
436
- "type": {
437
- "text": "Error"
438
- },
439
- "description": "{@inheritDoc ErrorMap.lastError}"
440
- },
441
- {
442
- "kind": "method",
443
- "name": "set",
444
- "return": {
445
- "type": {
446
- "text": "void"
447
- }
448
- },
449
- "parameters": [
450
- {
451
- "name": "key",
452
- "type": {
453
- "text": "keyof TErrorDetailMap"
454
- }
455
- },
456
- {
457
- "name": "error",
458
- "type": {
459
- "text": "Error"
460
- }
461
- }
462
- ],
463
- "description": "{@inheritDoc ErrorMap.set}"
464
- },
465
- {
466
- "kind": "method",
467
- "name": "get",
468
- "return": {
469
- "type": {
470
- "text": ""
471
- }
472
- },
473
- "parameters": [
474
- {
475
- "name": "key",
476
- "type": {
477
- "text": "keyof TErrorDetailMap"
478
- },
479
- "description": "The key."
480
- }
481
- ],
482
- "description": "Get an error by key.",
483
- "privacy": "public"
484
- },
485
- {
486
- "kind": "method",
487
- "name": "has",
488
- "return": {
489
- "type": {
490
- "text": ""
491
- }
492
- },
493
- "parameters": [
494
- {
495
- "name": "key",
496
- "type": {
497
- "text": "keyof TErrorDetailMap"
498
- },
499
- "description": "The key."
500
- }
501
- ],
502
- "description": "Has an error for key.",
503
- "privacy": "public"
504
- },
505
- {
506
- "kind": "method",
507
- "name": "delete",
508
- "return": {
509
- "type": {
510
- "text": ""
511
- }
512
- },
513
- "parameters": [
514
- {
515
- "name": "key",
516
- "type": {
517
- "text": "keyof TErrorDetailMap"
518
- },
519
- "description": "The key."
520
- }
521
- ],
522
- "description": "Delete an error.",
523
- "privacy": "public"
524
- },
525
- {
526
- "kind": "method",
527
- "name": "clear",
528
- "description": "Clear errors.",
529
- "privacy": "public"
530
- },
531
- {
532
- "kind": "field",
533
- "name": "size",
534
- "type": {
535
- "text": "number"
536
- },
537
- "description": "The size of the error map.",
538
- "return": {
539
- "type": {
540
- "text": ""
541
- }
542
- },
543
- "privacy": "public",
544
- "readonly": true
545
- },
546
- {
547
- "kind": "method",
548
- "name": "values",
549
- "privacy": "public"
550
- },
551
- {
552
- "kind": "field",
553
- "name": "messages",
554
- "type": {
555
- "text": "string"
556
- },
557
- "description": "{@inheritDoc ErrorMap.messages}",
558
- "readonly": true
559
- }
560
- ]
561
- },
562
- {
563
- "kind": "function",
564
- "name": "createErrorMap",
565
- "return": {
566
- "type": {
567
- "text": ""
568
- }
569
- },
570
- "parameters": [
571
- {
572
- "name": "logger",
573
- "type": {
574
- "text": "ErrorMapLogger"
575
- },
576
- "description": "A logger error method reference."
577
- }
578
- ],
579
- "description": "A factory to create the error map.",
580
- "privacy": "public"
581
- }
582
- ],
583
- "exports": [
584
- {
585
- "kind": "js",
586
- "name": "DefaultErrorMap",
587
- "declaration": {
588
- "name": "DefaultErrorMap",
589
- "module": "src/error/errorMap.ts"
590
- }
591
- },
592
- {
593
- "kind": "js",
594
- "name": "createErrorMap",
595
- "declaration": {
596
- "name": "createErrorMap",
597
- "module": "src/error/errorMap.ts"
598
- }
599
- }
600
- ]
601
- },
602
- {
603
- "kind": "javascript-module",
604
- "path": "src/error/index.ts",
605
- "declarations": [],
606
- "exports": [
607
- {
608
- "kind": "js",
609
- "name": "*",
610
- "declaration": {
611
- "name": "*",
612
- "package": "./errorMap"
613
- }
614
- }
615
- ]
616
- },
617
418
  {
618
419
  "kind": "javascript-module",
619
420
  "path": "src/decorators/index.ts",
@@ -895,35 +696,234 @@
895
696
  }
896
697
  },
897
698
  {
898
- "kind": "js",
899
- "name": "HTTP_CONFIG",
900
- "declaration": {
901
- "name": "_HTTP_CONFIG",
902
- "module": "src/env/variables.ts"
903
- }
904
- },
699
+ "kind": "js",
700
+ "name": "HTTP_CONFIG",
701
+ "declaration": {
702
+ "name": "_HTTP_CONFIG",
703
+ "module": "src/env/variables.ts"
704
+ }
705
+ },
706
+ {
707
+ "kind": "js",
708
+ "name": "DEFAULT_ORGANISATION",
709
+ "declaration": {
710
+ "name": "_DEFAULT_ORGANISATION",
711
+ "module": "src/env/variables.ts"
712
+ }
713
+ },
714
+ {
715
+ "kind": "js",
716
+ "name": "DEFAULT_PASSWORD",
717
+ "declaration": {
718
+ "name": "_DEFAULT_PASSWORD",
719
+ "module": "src/env/variables.ts"
720
+ }
721
+ },
722
+ {
723
+ "kind": "js",
724
+ "name": "DEFAULT_USER",
725
+ "declaration": {
726
+ "name": "_DEFAULT_USER",
727
+ "module": "src/env/variables.ts"
728
+ }
729
+ }
730
+ ]
731
+ },
732
+ {
733
+ "kind": "javascript-module",
734
+ "path": "src/error/errorMap.ts",
735
+ "declarations": [
736
+ {
737
+ "kind": "class",
738
+ "description": "",
739
+ "name": "DefaultErrorMap",
740
+ "members": [
741
+ {
742
+ "kind": "field",
743
+ "name": "map",
744
+ "privacy": "private",
745
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
746
+ },
747
+ {
748
+ "kind": "field",
749
+ "name": "lastError",
750
+ "type": {
751
+ "text": "Error"
752
+ },
753
+ "description": "{@inheritDoc ErrorMap.lastError}"
754
+ },
755
+ {
756
+ "kind": "method",
757
+ "name": "set",
758
+ "return": {
759
+ "type": {
760
+ "text": "void"
761
+ }
762
+ },
763
+ "parameters": [
764
+ {
765
+ "name": "key",
766
+ "type": {
767
+ "text": "keyof TErrorDetailMap"
768
+ }
769
+ },
770
+ {
771
+ "name": "error",
772
+ "type": {
773
+ "text": "Error"
774
+ }
775
+ }
776
+ ],
777
+ "description": "{@inheritDoc ErrorMap.set}"
778
+ },
779
+ {
780
+ "kind": "method",
781
+ "name": "get",
782
+ "return": {
783
+ "type": {
784
+ "text": ""
785
+ }
786
+ },
787
+ "parameters": [
788
+ {
789
+ "name": "key",
790
+ "type": {
791
+ "text": "keyof TErrorDetailMap"
792
+ },
793
+ "description": "The key."
794
+ }
795
+ ],
796
+ "description": "Get an error by key.",
797
+ "privacy": "public"
798
+ },
799
+ {
800
+ "kind": "method",
801
+ "name": "has",
802
+ "return": {
803
+ "type": {
804
+ "text": ""
805
+ }
806
+ },
807
+ "parameters": [
808
+ {
809
+ "name": "key",
810
+ "type": {
811
+ "text": "keyof TErrorDetailMap"
812
+ },
813
+ "description": "The key."
814
+ }
815
+ ],
816
+ "description": "Has an error for key.",
817
+ "privacy": "public"
818
+ },
819
+ {
820
+ "kind": "method",
821
+ "name": "delete",
822
+ "return": {
823
+ "type": {
824
+ "text": ""
825
+ }
826
+ },
827
+ "parameters": [
828
+ {
829
+ "name": "key",
830
+ "type": {
831
+ "text": "keyof TErrorDetailMap"
832
+ },
833
+ "description": "The key."
834
+ }
835
+ ],
836
+ "description": "Delete an error.",
837
+ "privacy": "public"
838
+ },
839
+ {
840
+ "kind": "method",
841
+ "name": "clear",
842
+ "description": "Clear errors.",
843
+ "privacy": "public"
844
+ },
845
+ {
846
+ "kind": "field",
847
+ "name": "size",
848
+ "type": {
849
+ "text": "number"
850
+ },
851
+ "description": "The size of the error map.",
852
+ "return": {
853
+ "type": {
854
+ "text": ""
855
+ }
856
+ },
857
+ "privacy": "public",
858
+ "readonly": true
859
+ },
860
+ {
861
+ "kind": "method",
862
+ "name": "values",
863
+ "privacy": "public"
864
+ },
865
+ {
866
+ "kind": "field",
867
+ "name": "messages",
868
+ "type": {
869
+ "text": "string"
870
+ },
871
+ "description": "{@inheritDoc ErrorMap.messages}",
872
+ "readonly": true
873
+ }
874
+ ]
875
+ },
876
+ {
877
+ "kind": "function",
878
+ "name": "createErrorMap",
879
+ "return": {
880
+ "type": {
881
+ "text": ""
882
+ }
883
+ },
884
+ "parameters": [
885
+ {
886
+ "name": "logger",
887
+ "type": {
888
+ "text": "ErrorMapLogger"
889
+ },
890
+ "description": "A logger error method reference."
891
+ }
892
+ ],
893
+ "description": "A factory to create the error map.",
894
+ "privacy": "public"
895
+ }
896
+ ],
897
+ "exports": [
905
898
  {
906
899
  "kind": "js",
907
- "name": "DEFAULT_ORGANISATION",
900
+ "name": "DefaultErrorMap",
908
901
  "declaration": {
909
- "name": "_DEFAULT_ORGANISATION",
910
- "module": "src/env/variables.ts"
902
+ "name": "DefaultErrorMap",
903
+ "module": "src/error/errorMap.ts"
911
904
  }
912
905
  },
913
906
  {
914
907
  "kind": "js",
915
- "name": "DEFAULT_PASSWORD",
908
+ "name": "createErrorMap",
916
909
  "declaration": {
917
- "name": "_DEFAULT_PASSWORD",
918
- "module": "src/env/variables.ts"
910
+ "name": "createErrorMap",
911
+ "module": "src/error/errorMap.ts"
919
912
  }
920
- },
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "kind": "javascript-module",
918
+ "path": "src/error/index.ts",
919
+ "declarations": [],
920
+ "exports": [
921
921
  {
922
922
  "kind": "js",
923
- "name": "DEFAULT_USER",
923
+ "name": "*",
924
924
  "declaration": {
925
- "name": "_DEFAULT_USER",
926
- "module": "src/env/variables.ts"
925
+ "name": "*",
926
+ "package": "./errorMap"
927
927
  }
928
928
  }
929
929
  ]
@@ -2370,106 +2370,6 @@
2370
2370
  }
2371
2371
  ]
2372
2372
  },
2373
- {
2374
- "kind": "javascript-module",
2375
- "path": "src/mappers/dto/index.ts",
2376
- "declarations": [],
2377
- "exports": [
2378
- {
2379
- "kind": "js",
2380
- "name": "*",
2381
- "declaration": {
2382
- "name": "*",
2383
- "package": "./serverRow"
2384
- }
2385
- },
2386
- {
2387
- "kind": "js",
2388
- "name": "*",
2389
- "declaration": {
2390
- "name": "*",
2391
- "package": "./types"
2392
- }
2393
- }
2394
- ]
2395
- },
2396
- {
2397
- "kind": "javascript-module",
2398
- "path": "src/mappers/dto/serverRow.ts",
2399
- "declarations": [
2400
- {
2401
- "kind": "class",
2402
- "description": "The default `ServerRowDTOMapper`.",
2403
- "name": "DefaultServerRowDTOMapper",
2404
- "members": [
2405
- {
2406
- "kind": "field",
2407
- "name": "fromDTO",
2408
- "description": "Converts a server row DTO to an entity.",
2409
- "parameters": [
2410
- {
2411
- "description": "The DTO to convert.",
2412
- "name": "dto"
2413
- }
2414
- ],
2415
- "return": {
2416
- "type": {
2417
- "text": ""
2418
- }
2419
- },
2420
- "privacy": "public"
2421
- },
2422
- {
2423
- "kind": "field",
2424
- "name": "toDTO",
2425
- "description": "Converts a server row entity to a DTO.",
2426
- "parameters": [
2427
- {
2428
- "description": "The entity to convert.",
2429
- "name": "entity"
2430
- }
2431
- ],
2432
- "return": {
2433
- "type": {
2434
- "text": ""
2435
- }
2436
- },
2437
- "privacy": "public"
2438
- }
2439
- ]
2440
- },
2441
- {
2442
- "kind": "variable",
2443
- "name": "ServerRowDTOMapper",
2444
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2445
- "privacy": "public"
2446
- }
2447
- ],
2448
- "exports": [
2449
- {
2450
- "kind": "js",
2451
- "name": "DefaultServerRowDTOMapper",
2452
- "declaration": {
2453
- "name": "DefaultServerRowDTOMapper",
2454
- "module": "src/mappers/dto/serverRow.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "ServerRowDTOMapper",
2460
- "declaration": {
2461
- "name": "ServerRowDTOMapper",
2462
- "module": "src/mappers/dto/serverRow.ts"
2463
- }
2464
- }
2465
- ]
2466
- },
2467
- {
2468
- "kind": "javascript-module",
2469
- "path": "src/mappers/dto/types.ts",
2470
- "declarations": [],
2471
- "exports": []
2472
- },
2473
2373
  {
2474
2374
  "kind": "javascript-module",
2475
2375
  "path": "src/mixins/lifecycle/index.ts",
@@ -2594,6 +2494,106 @@
2594
2494
  }
2595
2495
  ]
2596
2496
  },
2497
+ {
2498
+ "kind": "javascript-module",
2499
+ "path": "src/mappers/dto/index.ts",
2500
+ "declarations": [],
2501
+ "exports": [
2502
+ {
2503
+ "kind": "js",
2504
+ "name": "*",
2505
+ "declaration": {
2506
+ "name": "*",
2507
+ "package": "./serverRow"
2508
+ }
2509
+ },
2510
+ {
2511
+ "kind": "js",
2512
+ "name": "*",
2513
+ "declaration": {
2514
+ "name": "*",
2515
+ "package": "./types"
2516
+ }
2517
+ }
2518
+ ]
2519
+ },
2520
+ {
2521
+ "kind": "javascript-module",
2522
+ "path": "src/mappers/dto/serverRow.ts",
2523
+ "declarations": [
2524
+ {
2525
+ "kind": "class",
2526
+ "description": "The default `ServerRowDTOMapper`.",
2527
+ "name": "DefaultServerRowDTOMapper",
2528
+ "members": [
2529
+ {
2530
+ "kind": "field",
2531
+ "name": "fromDTO",
2532
+ "description": "Converts a server row DTO to an entity.",
2533
+ "parameters": [
2534
+ {
2535
+ "description": "The DTO to convert.",
2536
+ "name": "dto"
2537
+ }
2538
+ ],
2539
+ "return": {
2540
+ "type": {
2541
+ "text": ""
2542
+ }
2543
+ },
2544
+ "privacy": "public"
2545
+ },
2546
+ {
2547
+ "kind": "field",
2548
+ "name": "toDTO",
2549
+ "description": "Converts a server row entity to a DTO.",
2550
+ "parameters": [
2551
+ {
2552
+ "description": "The entity to convert.",
2553
+ "name": "entity"
2554
+ }
2555
+ ],
2556
+ "return": {
2557
+ "type": {
2558
+ "text": ""
2559
+ }
2560
+ },
2561
+ "privacy": "public"
2562
+ }
2563
+ ]
2564
+ },
2565
+ {
2566
+ "kind": "variable",
2567
+ "name": "ServerRowDTOMapper",
2568
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2569
+ "privacy": "public"
2570
+ }
2571
+ ],
2572
+ "exports": [
2573
+ {
2574
+ "kind": "js",
2575
+ "name": "DefaultServerRowDTOMapper",
2576
+ "declaration": {
2577
+ "name": "DefaultServerRowDTOMapper",
2578
+ "module": "src/mappers/dto/serverRow.ts"
2579
+ }
2580
+ },
2581
+ {
2582
+ "kind": "js",
2583
+ "name": "ServerRowDTOMapper",
2584
+ "declaration": {
2585
+ "name": "ServerRowDTOMapper",
2586
+ "module": "src/mappers/dto/serverRow.ts"
2587
+ }
2588
+ }
2589
+ ]
2590
+ },
2591
+ {
2592
+ "kind": "javascript-module",
2593
+ "path": "src/mappers/dto/types.ts",
2594
+ "declarations": [],
2595
+ "exports": []
2596
+ },
2597
2597
  {
2598
2598
  "kind": "javascript-module",
2599
2599
  "path": "src/mixins/pendingState/index.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.209.3-alpha-6a63026.0",
4
+ "version": "14.209.3-alpha-0e5e530.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,17 +27,17 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.209.3-alpha-6a63026.0",
31
- "@genesislcap/genx": "14.209.3-alpha-6a63026.0",
32
- "@genesislcap/rollup-builder": "14.209.3-alpha-6a63026.0",
33
- "@genesislcap/ts-builder": "14.209.3-alpha-6a63026.0",
34
- "@genesislcap/uvu-playwright-builder": "14.209.3-alpha-6a63026.0",
35
- "@genesislcap/vite-builder": "14.209.3-alpha-6a63026.0",
36
- "@genesislcap/webpack-builder": "14.209.3-alpha-6a63026.0",
30
+ "@genesislcap/foundation-testing": "14.209.3-alpha-0e5e530.0",
31
+ "@genesislcap/genx": "14.209.3-alpha-0e5e530.0",
32
+ "@genesislcap/rollup-builder": "14.209.3-alpha-0e5e530.0",
33
+ "@genesislcap/ts-builder": "14.209.3-alpha-0e5e530.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.209.3-alpha-0e5e530.0",
35
+ "@genesislcap/vite-builder": "14.209.3-alpha-0e5e530.0",
36
+ "@genesislcap/webpack-builder": "14.209.3-alpha-0e5e530.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.209.3-alpha-6a63026.0",
40
+ "@genesislcap/foundation-logger": "14.209.3-alpha-0e5e530.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "88c5ab1a05697d12dbe0201bd7c7884d8c3b1831"
58
+ "gitHead": "c472bb8cad8b0073f48bf1cd1ccc7df39cf66178"
59
59
  }