@genesislcap/foundation-utils 14.71.0 → 14.71.2

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.
@@ -396,41 +396,30 @@
396
396
  },
397
397
  {
398
398
  "kind": "javascript-module",
399
- "path": "src/design-system/design-system.ts",
400
- "declarations": [
401
- {
402
- "kind": "function",
403
- "name": "assureDesignSystem",
404
- "return": {
405
- "type": {
406
- "text": "DesignSystemModule"
407
- }
408
- },
409
- "parameters": [
410
- {
411
- "name": "module",
412
- "type": {
413
- "text": "DesignSystemModule"
414
- }
415
- }
416
- ],
417
- "privacy": "public"
418
- }
419
- ],
399
+ "path": "src/directives/index.ts",
400
+ "declarations": [],
420
401
  "exports": [
421
402
  {
422
403
  "kind": "js",
423
- "name": "assureDesignSystem",
404
+ "name": "*",
424
405
  "declaration": {
425
- "name": "assureDesignSystem",
426
- "module": "src/design-system/design-system.ts"
406
+ "name": "*",
407
+ "package": "./sync"
408
+ }
409
+ },
410
+ {
411
+ "kind": "js",
412
+ "name": "*",
413
+ "declaration": {
414
+ "name": "*",
415
+ "package": "./when-else"
427
416
  }
428
417
  }
429
418
  ]
430
419
  },
431
420
  {
432
421
  "kind": "javascript-module",
433
- "path": "src/design-system/index.ts",
422
+ "path": "src/env/index.ts",
434
423
  "declarations": [],
435
424
  "exports": [
436
425
  {
@@ -438,30 +427,215 @@
438
427
  "name": "*",
439
428
  "declaration": {
440
429
  "name": "*",
441
- "package": "./design-system"
430
+ "package": "./is-dev"
431
+ }
432
+ },
433
+ {
434
+ "kind": "js",
435
+ "name": "*",
436
+ "declaration": {
437
+ "name": "*",
438
+ "package": "./variables"
442
439
  }
443
440
  }
444
441
  ]
445
442
  },
446
443
  {
447
444
  "kind": "javascript-module",
448
- "path": "src/directives/index.ts",
449
- "declarations": [],
445
+ "path": "src/env/is-dev.ts",
446
+ "declarations": [
447
+ {
448
+ "kind": "function",
449
+ "name": "isDev",
450
+ "description": "Determines if the current environment is a development environment.",
451
+ "privacy": "public"
452
+ }
453
+ ],
450
454
  "exports": [
451
455
  {
452
456
  "kind": "js",
453
- "name": "*",
457
+ "name": "isDev",
454
458
  "declaration": {
455
- "name": "*",
456
- "package": "./sync"
459
+ "name": "isDev",
460
+ "module": "src/env/is-dev.ts"
461
+ }
462
+ }
463
+ ]
464
+ },
465
+ {
466
+ "kind": "javascript-module",
467
+ "path": "src/env/variables.ts",
468
+ "declarations": [
469
+ {
470
+ "kind": "variable",
471
+ "name": "SOCKET_EXT",
472
+ "type": {
473
+ "text": "string"
474
+ }
475
+ },
476
+ {
477
+ "kind": "variable",
478
+ "name": "_SOCKET_EXT",
479
+ "type": {
480
+ "text": "string"
481
+ },
482
+ "default": "'gwf'",
483
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
484
+ "privacy": "public"
485
+ },
486
+ {
487
+ "kind": "variable",
488
+ "name": "FORCE_HTTP",
489
+ "type": {
490
+ "text": "string"
491
+ }
492
+ },
493
+ {
494
+ "kind": "variable",
495
+ "name": "_FORCE_HTTP",
496
+ "type": {
497
+ "text": "string"
498
+ },
499
+ "description": "The path to a JSON config file for the HTTP mode.",
500
+ "privacy": "public"
501
+ },
502
+ {
503
+ "kind": "variable",
504
+ "name": "API_HOST",
505
+ "type": {
506
+ "text": "string"
507
+ }
508
+ },
509
+ {
510
+ "kind": "variable",
511
+ "name": "_API_HOST",
512
+ "type": {
513
+ "text": "string"
514
+ },
515
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
516
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
517
+ "privacy": "public"
518
+ },
519
+ {
520
+ "kind": "variable",
521
+ "name": "HTTP_CONFIG",
522
+ "type": {
523
+ "text": "string"
524
+ }
525
+ },
526
+ {
527
+ "kind": "variable",
528
+ "name": "_HTTP_CONFIG",
529
+ "type": {
530
+ "text": "string"
531
+ },
532
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
533
+ "privacy": "public"
534
+ },
535
+ {
536
+ "kind": "variable",
537
+ "name": "DEFAULT_ORGANISATION",
538
+ "type": {
539
+ "text": "string"
540
+ }
541
+ },
542
+ {
543
+ "kind": "variable",
544
+ "name": "_DEFAULT_ORGANISATION",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
549
+ "privacy": "public"
550
+ },
551
+ {
552
+ "kind": "variable",
553
+ "name": "DEFAULT_PASSWORD",
554
+ "type": {
555
+ "text": "string"
556
+ }
557
+ },
558
+ {
559
+ "kind": "variable",
560
+ "name": "_DEFAULT_PASSWORD",
561
+ "type": {
562
+ "text": "string"
563
+ },
564
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
565
+ "privacy": "public"
566
+ },
567
+ {
568
+ "kind": "variable",
569
+ "name": "DEFAULT_USER",
570
+ "type": {
571
+ "text": "string"
457
572
  }
458
573
  },
574
+ {
575
+ "kind": "variable",
576
+ "name": "_DEFAULT_USER",
577
+ "type": {
578
+ "text": "string"
579
+ },
580
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
581
+ "privacy": "public"
582
+ }
583
+ ],
584
+ "exports": [
459
585
  {
460
586
  "kind": "js",
461
- "name": "*",
587
+ "name": "SOCKET_EXT",
462
588
  "declaration": {
463
- "name": "*",
464
- "package": "./when-else"
589
+ "name": "_SOCKET_EXT",
590
+ "module": "src/env/variables.ts"
591
+ }
592
+ },
593
+ {
594
+ "kind": "js",
595
+ "name": "FORCE_HTTP",
596
+ "declaration": {
597
+ "name": "_FORCE_HTTP",
598
+ "module": "src/env/variables.ts"
599
+ }
600
+ },
601
+ {
602
+ "kind": "js",
603
+ "name": "API_HOST",
604
+ "declaration": {
605
+ "name": "_API_HOST",
606
+ "module": "src/env/variables.ts"
607
+ }
608
+ },
609
+ {
610
+ "kind": "js",
611
+ "name": "HTTP_CONFIG",
612
+ "declaration": {
613
+ "name": "_HTTP_CONFIG",
614
+ "module": "src/env/variables.ts"
615
+ }
616
+ },
617
+ {
618
+ "kind": "js",
619
+ "name": "DEFAULT_ORGANISATION",
620
+ "declaration": {
621
+ "name": "_DEFAULT_ORGANISATION",
622
+ "module": "src/env/variables.ts"
623
+ }
624
+ },
625
+ {
626
+ "kind": "js",
627
+ "name": "DEFAULT_PASSWORD",
628
+ "declaration": {
629
+ "name": "_DEFAULT_PASSWORD",
630
+ "module": "src/env/variables.ts"
631
+ }
632
+ },
633
+ {
634
+ "kind": "js",
635
+ "name": "DEFAULT_USER",
636
+ "declaration": {
637
+ "name": "_DEFAULT_USER",
638
+ "module": "src/env/variables.ts"
465
639
  }
466
640
  }
467
641
  ]
@@ -662,29 +836,78 @@
662
836
  },
663
837
  {
664
838
  "kind": "javascript-module",
665
- "path": "src/formatters/datetime.ts",
839
+ "path": "src/design-system/design-system.ts",
666
840
  "declarations": [
667
841
  {
668
842
  "kind": "function",
669
- "name": "formatDateTimestamp",
843
+ "name": "assureDesignSystem",
670
844
  "return": {
671
845
  "type": {
672
- "text": "string"
846
+ "text": "DesignSystemModule"
673
847
  }
674
848
  },
675
849
  "parameters": [
676
850
  {
677
- "name": "timestamp",
851
+ "name": "module",
678
852
  "type": {
679
- "text": "number"
853
+ "text": "DesignSystemModule"
680
854
  }
681
855
  }
682
856
  ],
683
- "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
684
857
  "privacy": "public"
685
- },
686
- {
687
- "kind": "function",
858
+ }
859
+ ],
860
+ "exports": [
861
+ {
862
+ "kind": "js",
863
+ "name": "assureDesignSystem",
864
+ "declaration": {
865
+ "name": "assureDesignSystem",
866
+ "module": "src/design-system/design-system.ts"
867
+ }
868
+ }
869
+ ]
870
+ },
871
+ {
872
+ "kind": "javascript-module",
873
+ "path": "src/design-system/index.ts",
874
+ "declarations": [],
875
+ "exports": [
876
+ {
877
+ "kind": "js",
878
+ "name": "*",
879
+ "declaration": {
880
+ "name": "*",
881
+ "package": "./design-system"
882
+ }
883
+ }
884
+ ]
885
+ },
886
+ {
887
+ "kind": "javascript-module",
888
+ "path": "src/formatters/datetime.ts",
889
+ "declarations": [
890
+ {
891
+ "kind": "function",
892
+ "name": "formatDateTimestamp",
893
+ "return": {
894
+ "type": {
895
+ "text": "string"
896
+ }
897
+ },
898
+ "parameters": [
899
+ {
900
+ "name": "timestamp",
901
+ "type": {
902
+ "text": "number"
903
+ }
904
+ }
905
+ ],
906
+ "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
907
+ "privacy": "public"
908
+ },
909
+ {
910
+ "kind": "function",
688
911
  "name": "formatDateTimeTimestamp",
689
912
  "return": {
690
913
  "type": {
@@ -872,229 +1095,6 @@
872
1095
  }
873
1096
  ]
874
1097
  },
875
- {
876
- "kind": "javascript-module",
877
- "path": "src/env/index.ts",
878
- "declarations": [],
879
- "exports": [
880
- {
881
- "kind": "js",
882
- "name": "*",
883
- "declaration": {
884
- "name": "*",
885
- "package": "./is-dev"
886
- }
887
- },
888
- {
889
- "kind": "js",
890
- "name": "*",
891
- "declaration": {
892
- "name": "*",
893
- "package": "./variables"
894
- }
895
- }
896
- ]
897
- },
898
- {
899
- "kind": "javascript-module",
900
- "path": "src/env/is-dev.ts",
901
- "declarations": [
902
- {
903
- "kind": "function",
904
- "name": "isDev",
905
- "description": "Determines if the current environment is a development environment.",
906
- "privacy": "public"
907
- }
908
- ],
909
- "exports": [
910
- {
911
- "kind": "js",
912
- "name": "isDev",
913
- "declaration": {
914
- "name": "isDev",
915
- "module": "src/env/is-dev.ts"
916
- }
917
- }
918
- ]
919
- },
920
- {
921
- "kind": "javascript-module",
922
- "path": "src/env/variables.ts",
923
- "declarations": [
924
- {
925
- "kind": "variable",
926
- "name": "SOCKET_EXT",
927
- "type": {
928
- "text": "string"
929
- }
930
- },
931
- {
932
- "kind": "variable",
933
- "name": "_SOCKET_EXT",
934
- "type": {
935
- "text": "string"
936
- },
937
- "default": "'gwf'",
938
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
939
- "privacy": "public"
940
- },
941
- {
942
- "kind": "variable",
943
- "name": "FORCE_HTTP",
944
- "type": {
945
- "text": "string"
946
- }
947
- },
948
- {
949
- "kind": "variable",
950
- "name": "_FORCE_HTTP",
951
- "type": {
952
- "text": "string"
953
- },
954
- "description": "The path to a JSON config file for the HTTP mode.",
955
- "privacy": "public"
956
- },
957
- {
958
- "kind": "variable",
959
- "name": "API_HOST",
960
- "type": {
961
- "text": "string"
962
- }
963
- },
964
- {
965
- "kind": "variable",
966
- "name": "_API_HOST",
967
- "type": {
968
- "text": "string"
969
- },
970
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
971
- "description": "The Genesis Server URL (WebSocket or HTTP).",
972
- "privacy": "public"
973
- },
974
- {
975
- "kind": "variable",
976
- "name": "HTTP_CONFIG",
977
- "type": {
978
- "text": "string"
979
- }
980
- },
981
- {
982
- "kind": "variable",
983
- "name": "_HTTP_CONFIG",
984
- "type": {
985
- "text": "string"
986
- },
987
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
988
- "privacy": "public"
989
- },
990
- {
991
- "kind": "variable",
992
- "name": "DEFAULT_ORGANISATION",
993
- "type": {
994
- "text": "string"
995
- }
996
- },
997
- {
998
- "kind": "variable",
999
- "name": "_DEFAULT_ORGANISATION",
1000
- "type": {
1001
- "text": "string"
1002
- },
1003
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1004
- "privacy": "public"
1005
- },
1006
- {
1007
- "kind": "variable",
1008
- "name": "DEFAULT_PASSWORD",
1009
- "type": {
1010
- "text": "string"
1011
- }
1012
- },
1013
- {
1014
- "kind": "variable",
1015
- "name": "_DEFAULT_PASSWORD",
1016
- "type": {
1017
- "text": "string"
1018
- },
1019
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1020
- "privacy": "public"
1021
- },
1022
- {
1023
- "kind": "variable",
1024
- "name": "DEFAULT_USER",
1025
- "type": {
1026
- "text": "string"
1027
- }
1028
- },
1029
- {
1030
- "kind": "variable",
1031
- "name": "_DEFAULT_USER",
1032
- "type": {
1033
- "text": "string"
1034
- },
1035
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1036
- "privacy": "public"
1037
- }
1038
- ],
1039
- "exports": [
1040
- {
1041
- "kind": "js",
1042
- "name": "SOCKET_EXT",
1043
- "declaration": {
1044
- "name": "_SOCKET_EXT",
1045
- "module": "src/env/variables.ts"
1046
- }
1047
- },
1048
- {
1049
- "kind": "js",
1050
- "name": "FORCE_HTTP",
1051
- "declaration": {
1052
- "name": "_FORCE_HTTP",
1053
- "module": "src/env/variables.ts"
1054
- }
1055
- },
1056
- {
1057
- "kind": "js",
1058
- "name": "API_HOST",
1059
- "declaration": {
1060
- "name": "_API_HOST",
1061
- "module": "src/env/variables.ts"
1062
- }
1063
- },
1064
- {
1065
- "kind": "js",
1066
- "name": "HTTP_CONFIG",
1067
- "declaration": {
1068
- "name": "_HTTP_CONFIG",
1069
- "module": "src/env/variables.ts"
1070
- }
1071
- },
1072
- {
1073
- "kind": "js",
1074
- "name": "DEFAULT_ORGANISATION",
1075
- "declaration": {
1076
- "name": "_DEFAULT_ORGANISATION",
1077
- "module": "src/env/variables.ts"
1078
- }
1079
- },
1080
- {
1081
- "kind": "js",
1082
- "name": "DEFAULT_PASSWORD",
1083
- "declaration": {
1084
- "name": "_DEFAULT_PASSWORD",
1085
- "module": "src/env/variables.ts"
1086
- }
1087
- },
1088
- {
1089
- "kind": "js",
1090
- "name": "DEFAULT_USER",
1091
- "declaration": {
1092
- "name": "_DEFAULT_USER",
1093
- "module": "src/env/variables.ts"
1094
- }
1095
- }
1096
- ]
1097
- },
1098
1098
  {
1099
1099
  "kind": "javascript-module",
1100
1100
  "path": "src/logger/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.71.0",
4
+ "version": "14.71.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -41,5 +41,5 @@
41
41
  "access": "public"
42
42
  },
43
43
  "customElements": "dist/custom-elements.json",
44
- "gitHead": "15e16e7c799ca2dc2e10f32fee0eb2a060c05ca3"
44
+ "gitHead": "d174d333832c5d9d69bccc57cc1ea18519aafa1f"
45
45
  }