@genesislcap/foundation-utils 14.254.0 → 14.255.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +566 -566
  2. package/package.json +10 -10
@@ -171,190 +171,7 @@
171
171
  },
172
172
  {
173
173
  "kind": "javascript-module",
174
- "path": "src/data/inMemoryDatabase.ts",
175
- "declarations": [
176
- {
177
- "kind": "class",
178
- "description": "An in memory database of specific DatabaseRecord types.",
179
- "name": "InMemoryDatabase",
180
- "members": [
181
- {
182
- "kind": "field",
183
- "name": "isWorking",
184
- "type": {
185
- "text": "boolean"
186
- },
187
- "privacy": "public",
188
- "default": "false"
189
- },
190
- {
191
- "kind": "field",
192
- "name": "records",
193
- "type": {
194
- "text": "Record<string, T>"
195
- },
196
- "privacy": "private",
197
- "default": "{}"
198
- },
199
- {
200
- "kind": "field",
201
- "name": "beforeUpdateListeners",
202
- "privacy": "private"
203
- },
204
- {
205
- "kind": "field",
206
- "name": "afterUpdateListeners",
207
- "privacy": "private"
208
- },
209
- {
210
- "kind": "method",
211
- "name": "create",
212
- "privacy": "public",
213
- "return": {
214
- "type": {
215
- "text": "Promise<DatabaseAccessResult.Create<T>>"
216
- }
217
- },
218
- "parameters": [
219
- {
220
- "name": "newValue",
221
- "type": {
222
- "text": "Omit<T, 'id'>"
223
- }
224
- }
225
- ]
226
- },
227
- {
228
- "kind": "method",
229
- "name": "read",
230
- "privacy": "public",
231
- "return": {
232
- "type": {
233
- "text": "Promise<DatabaseAccessResult.Read<T>>"
234
- }
235
- },
236
- "parameters": [
237
- {
238
- "name": "id",
239
- "type": {
240
- "text": "string"
241
- }
242
- }
243
- ]
244
- },
245
- {
246
- "kind": "method",
247
- "name": "update",
248
- "privacy": "public",
249
- "return": {
250
- "type": {
251
- "text": "Promise<DatabaseAccessResult.Update<T>>"
252
- }
253
- },
254
- "parameters": [
255
- {
256
- "name": "id",
257
- "type": {
258
- "text": "string"
259
- }
260
- },
261
- {
262
- "name": "newValue",
263
- "type": {
264
- "text": "Omit<Partial<T>, 'id'>"
265
- }
266
- }
267
- ]
268
- },
269
- {
270
- "kind": "method",
271
- "name": "delete",
272
- "privacy": "public",
273
- "return": {
274
- "type": {
275
- "text": "Promise<DatabaseAccessResult.Delete>"
276
- }
277
- },
278
- "parameters": [
279
- {
280
- "name": "id",
281
- "type": {
282
- "text": "string"
283
- }
284
- }
285
- ]
286
- },
287
- {
288
- "kind": "method",
289
- "name": "visit",
290
- "privacy": "public",
291
- "return": {
292
- "type": {
293
- "text": "Promise<void>"
294
- }
295
- },
296
- "parameters": [
297
- {
298
- "name": "visitor",
299
- "type": {
300
- "text": "(record: T) => void"
301
- }
302
- }
303
- ]
304
- },
305
- {
306
- "kind": "method",
307
- "name": "onBeforeUpdate",
308
- "privacy": "public",
309
- "return": {
310
- "type": {
311
- "text": "() => void"
312
- }
313
- },
314
- "parameters": [
315
- {
316
- "name": "listener",
317
- "type": {
318
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
319
- }
320
- }
321
- ]
322
- },
323
- {
324
- "kind": "method",
325
- "name": "onAfterUpdate",
326
- "privacy": "public",
327
- "return": {
328
- "type": {
329
- "text": "() => void"
330
- }
331
- },
332
- "parameters": [
333
- {
334
- "name": "listener",
335
- "type": {
336
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
337
- }
338
- }
339
- ]
340
- }
341
- ]
342
- }
343
- ],
344
- "exports": [
345
- {
346
- "kind": "js",
347
- "name": "InMemoryDatabase",
348
- "declaration": {
349
- "name": "InMemoryDatabase",
350
- "module": "src/data/inMemoryDatabase.ts"
351
- }
352
- }
353
- ]
354
- },
355
- {
356
- "kind": "javascript-module",
357
- "path": "src/data/index.ts",
174
+ "path": "src/directives/index.ts",
358
175
  "declarations": [],
359
176
  "exports": [
360
177
  {
@@ -362,49 +179,22 @@
362
179
  "name": "*",
363
180
  "declaration": {
364
181
  "name": "*",
365
- "package": "./inMemoryDatabase"
182
+ "package": "./sync"
366
183
  }
367
- }
368
- ]
369
- },
370
- {
371
- "kind": "javascript-module",
372
- "path": "src/design-system/design-system.ts",
373
- "declarations": [
374
- {
375
- "kind": "function",
376
- "name": "assureDesignSystem",
377
- "return": {
378
- "type": {
379
- "text": "DesignSystemModule"
380
- }
381
- },
382
- "parameters": [
383
- {
384
- "name": "module",
385
- "type": {
386
- "text": "DesignSystemModule"
387
- }
388
- }
389
- ],
390
- "description": "assureDesignSystem.",
391
- "privacy": "public"
392
- }
393
- ],
394
- "exports": [
184
+ },
395
185
  {
396
186
  "kind": "js",
397
- "name": "assureDesignSystem",
187
+ "name": "*",
398
188
  "declaration": {
399
- "name": "assureDesignSystem",
400
- "module": "src/design-system/design-system.ts"
189
+ "name": "*",
190
+ "package": "./when-else"
401
191
  }
402
192
  }
403
193
  ]
404
194
  },
405
195
  {
406
196
  "kind": "javascript-module",
407
- "path": "src/design-system/index.ts",
197
+ "path": "src/encoding/index.ts",
408
198
  "declarations": [],
409
199
  "exports": [
410
200
  {
@@ -412,14 +202,14 @@
412
202
  "name": "*",
413
203
  "declaration": {
414
204
  "name": "*",
415
- "package": "./design-system"
205
+ "package": "./base64"
416
206
  }
417
207
  }
418
208
  ]
419
209
  },
420
210
  {
421
211
  "kind": "javascript-module",
422
- "path": "src/directives/index.ts",
212
+ "path": "src/env/index.ts",
423
213
  "declarations": [],
424
214
  "exports": [
425
215
  {
@@ -427,7 +217,7 @@
427
217
  "name": "*",
428
218
  "declaration": {
429
219
  "name": "*",
430
- "package": "./sync"
220
+ "package": "./is-dev"
431
221
  }
432
222
  },
433
223
  {
@@ -435,127 +225,36 @@
435
225
  "name": "*",
436
226
  "declaration": {
437
227
  "name": "*",
438
- "package": "./when-else"
228
+ "package": "./variables"
439
229
  }
440
230
  }
441
231
  ]
442
232
  },
443
233
  {
444
234
  "kind": "javascript-module",
445
- "path": "src/decorators/index.ts",
446
- "declarations": [],
235
+ "path": "src/env/is-dev.ts",
236
+ "declarations": [
237
+ {
238
+ "kind": "function",
239
+ "name": "isDev",
240
+ "description": "Determines if the current environment is a development environment.",
241
+ "privacy": "public"
242
+ }
243
+ ],
447
244
  "exports": [
448
245
  {
449
246
  "kind": "js",
450
- "name": "*",
247
+ "name": "isDev",
451
248
  "declaration": {
452
- "name": "*",
453
- "package": "./renderOnChange"
249
+ "name": "isDev",
250
+ "module": "src/env/is-dev.ts"
454
251
  }
455
252
  }
456
253
  ]
457
254
  },
458
255
  {
459
256
  "kind": "javascript-module",
460
- "path": "src/decorators/renderOnChange.ts",
461
- "declarations": [
462
- {
463
- "kind": "function",
464
- "name": "renderOnChange",
465
- "parameters": [
466
- {
467
- "name": "target",
468
- "type": {
469
- "text": "FASTElement & { render(): void }"
470
- },
471
- "description": "The target to define the property change handler on."
472
- },
473
- {
474
- "name": "name",
475
- "type": {
476
- "text": "string"
477
- },
478
- "description": "The property name."
479
- }
480
- ],
481
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
482
- "privacy": "public"
483
- }
484
- ],
485
- "exports": [
486
- {
487
- "kind": "js",
488
- "name": "renderOnChange",
489
- "declaration": {
490
- "name": "renderOnChange",
491
- "module": "src/decorators/renderOnChange.ts"
492
- }
493
- }
494
- ]
495
- },
496
- {
497
- "kind": "javascript-module",
498
- "path": "src/encoding/index.ts",
499
- "declarations": [],
500
- "exports": [
501
- {
502
- "kind": "js",
503
- "name": "*",
504
- "declaration": {
505
- "name": "*",
506
- "package": "./base64"
507
- }
508
- }
509
- ]
510
- },
511
- {
512
- "kind": "javascript-module",
513
- "path": "src/env/index.ts",
514
- "declarations": [],
515
- "exports": [
516
- {
517
- "kind": "js",
518
- "name": "*",
519
- "declaration": {
520
- "name": "*",
521
- "package": "./is-dev"
522
- }
523
- },
524
- {
525
- "kind": "js",
526
- "name": "*",
527
- "declaration": {
528
- "name": "*",
529
- "package": "./variables"
530
- }
531
- }
532
- ]
533
- },
534
- {
535
- "kind": "javascript-module",
536
- "path": "src/env/is-dev.ts",
537
- "declarations": [
538
- {
539
- "kind": "function",
540
- "name": "isDev",
541
- "description": "Determines if the current environment is a development environment.",
542
- "privacy": "public"
543
- }
544
- ],
545
- "exports": [
546
- {
547
- "kind": "js",
548
- "name": "isDev",
549
- "declaration": {
550
- "name": "isDev",
551
- "module": "src/env/is-dev.ts"
552
- }
553
- }
554
- ]
555
- },
556
- {
557
- "kind": "javascript-module",
558
- "path": "src/env/variables.ts",
257
+ "path": "src/env/variables.ts",
559
258
  "declarations": [
560
259
  {
561
260
  "kind": "variable",
@@ -935,207 +634,508 @@
935
634
  "kind": "js",
936
635
  "name": "SSO_LIST_URL",
937
636
  "declaration": {
938
- "name": "SSO_LIST_URL",
939
- "module": "src/env/variables.ts"
637
+ "name": "SSO_LIST_URL",
638
+ "module": "src/env/variables.ts"
639
+ }
640
+ },
641
+ {
642
+ "kind": "js",
643
+ "name": "SSO_LOGIN_URL",
644
+ "declaration": {
645
+ "name": "SSO_LOGIN_URL",
646
+ "module": "src/env/variables.ts"
647
+ }
648
+ }
649
+ ]
650
+ },
651
+ {
652
+ "kind": "javascript-module",
653
+ "path": "src/error/errorMap.ts",
654
+ "declarations": [
655
+ {
656
+ "kind": "class",
657
+ "description": "",
658
+ "name": "DefaultErrorMap",
659
+ "members": [
660
+ {
661
+ "kind": "field",
662
+ "name": "map",
663
+ "privacy": "private",
664
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
665
+ },
666
+ {
667
+ "kind": "field",
668
+ "name": "lastError",
669
+ "type": {
670
+ "text": "Error"
671
+ },
672
+ "description": "{@inheritDoc ErrorMap.lastError}"
673
+ },
674
+ {
675
+ "kind": "method",
676
+ "name": "set",
677
+ "return": {
678
+ "type": {
679
+ "text": "void"
680
+ }
681
+ },
682
+ "parameters": [
683
+ {
684
+ "name": "key",
685
+ "type": {
686
+ "text": "keyof TErrorDetailMap"
687
+ }
688
+ },
689
+ {
690
+ "name": "error",
691
+ "type": {
692
+ "text": "Error"
693
+ }
694
+ }
695
+ ],
696
+ "description": "{@inheritDoc ErrorMap.set}"
697
+ },
698
+ {
699
+ "kind": "method",
700
+ "name": "get",
701
+ "return": {
702
+ "type": {
703
+ "text": ""
704
+ }
705
+ },
706
+ "parameters": [
707
+ {
708
+ "name": "key",
709
+ "type": {
710
+ "text": "keyof TErrorDetailMap"
711
+ },
712
+ "description": "The key."
713
+ }
714
+ ],
715
+ "description": "Get an error by key.",
716
+ "privacy": "public"
717
+ },
718
+ {
719
+ "kind": "method",
720
+ "name": "has",
721
+ "return": {
722
+ "type": {
723
+ "text": ""
724
+ }
725
+ },
726
+ "parameters": [
727
+ {
728
+ "name": "key",
729
+ "type": {
730
+ "text": "keyof TErrorDetailMap"
731
+ },
732
+ "description": "The key."
733
+ }
734
+ ],
735
+ "description": "Has an error for key.",
736
+ "privacy": "public"
737
+ },
738
+ {
739
+ "kind": "method",
740
+ "name": "delete",
741
+ "return": {
742
+ "type": {
743
+ "text": ""
744
+ }
745
+ },
746
+ "parameters": [
747
+ {
748
+ "name": "key",
749
+ "type": {
750
+ "text": "keyof TErrorDetailMap"
751
+ },
752
+ "description": "The key."
753
+ }
754
+ ],
755
+ "description": "Delete an error.",
756
+ "privacy": "public"
757
+ },
758
+ {
759
+ "kind": "method",
760
+ "name": "clear",
761
+ "description": "Clear errors.",
762
+ "privacy": "public"
763
+ },
764
+ {
765
+ "kind": "field",
766
+ "name": "size",
767
+ "type": {
768
+ "text": "number"
769
+ },
770
+ "description": "The size of the error map.",
771
+ "return": {
772
+ "type": {
773
+ "text": ""
774
+ }
775
+ },
776
+ "privacy": "public",
777
+ "readonly": true
778
+ },
779
+ {
780
+ "kind": "method",
781
+ "name": "values",
782
+ "privacy": "public"
783
+ },
784
+ {
785
+ "kind": "field",
786
+ "name": "messages",
787
+ "type": {
788
+ "text": "string"
789
+ },
790
+ "description": "{@inheritDoc ErrorMap.messages}",
791
+ "readonly": true
792
+ }
793
+ ]
794
+ },
795
+ {
796
+ "kind": "function",
797
+ "name": "createErrorMap",
798
+ "return": {
799
+ "type": {
800
+ "text": ""
801
+ }
802
+ },
803
+ "parameters": [
804
+ {
805
+ "name": "logger",
806
+ "type": {
807
+ "text": "ErrorMapLogger"
808
+ },
809
+ "description": "A logger error method reference."
810
+ }
811
+ ],
812
+ "description": "A factory to create the error map.",
813
+ "privacy": "public"
814
+ }
815
+ ],
816
+ "exports": [
817
+ {
818
+ "kind": "js",
819
+ "name": "DefaultErrorMap",
820
+ "declaration": {
821
+ "name": "DefaultErrorMap",
822
+ "module": "src/error/errorMap.ts"
823
+ }
824
+ },
825
+ {
826
+ "kind": "js",
827
+ "name": "createErrorMap",
828
+ "declaration": {
829
+ "name": "createErrorMap",
830
+ "module": "src/error/errorMap.ts"
831
+ }
832
+ }
833
+ ]
834
+ },
835
+ {
836
+ "kind": "javascript-module",
837
+ "path": "src/error/index.ts",
838
+ "declarations": [],
839
+ "exports": [
840
+ {
841
+ "kind": "js",
842
+ "name": "*",
843
+ "declaration": {
844
+ "name": "*",
845
+ "package": "./errorMap"
846
+ }
847
+ }
848
+ ]
849
+ },
850
+ {
851
+ "kind": "javascript-module",
852
+ "path": "src/design-system/design-system.ts",
853
+ "declarations": [
854
+ {
855
+ "kind": "function",
856
+ "name": "assureDesignSystem",
857
+ "return": {
858
+ "type": {
859
+ "text": "DesignSystemModule"
860
+ }
861
+ },
862
+ "parameters": [
863
+ {
864
+ "name": "module",
865
+ "type": {
866
+ "text": "DesignSystemModule"
867
+ }
868
+ }
869
+ ],
870
+ "description": "assureDesignSystem.",
871
+ "privacy": "public"
872
+ }
873
+ ],
874
+ "exports": [
875
+ {
876
+ "kind": "js",
877
+ "name": "assureDesignSystem",
878
+ "declaration": {
879
+ "name": "assureDesignSystem",
880
+ "module": "src/design-system/design-system.ts"
881
+ }
882
+ }
883
+ ]
884
+ },
885
+ {
886
+ "kind": "javascript-module",
887
+ "path": "src/design-system/index.ts",
888
+ "declarations": [],
889
+ "exports": [
890
+ {
891
+ "kind": "js",
892
+ "name": "*",
893
+ "declaration": {
894
+ "name": "*",
895
+ "package": "./design-system"
896
+ }
897
+ }
898
+ ]
899
+ },
900
+ {
901
+ "kind": "javascript-module",
902
+ "path": "src/decorators/index.ts",
903
+ "declarations": [],
904
+ "exports": [
905
+ {
906
+ "kind": "js",
907
+ "name": "*",
908
+ "declaration": {
909
+ "name": "*",
910
+ "package": "./renderOnChange"
940
911
  }
941
- },
912
+ }
913
+ ]
914
+ },
915
+ {
916
+ "kind": "javascript-module",
917
+ "path": "src/decorators/renderOnChange.ts",
918
+ "declarations": [
919
+ {
920
+ "kind": "function",
921
+ "name": "renderOnChange",
922
+ "parameters": [
923
+ {
924
+ "name": "target",
925
+ "type": {
926
+ "text": "FASTElement & { render(): void }"
927
+ },
928
+ "description": "The target to define the property change handler on."
929
+ },
930
+ {
931
+ "name": "name",
932
+ "type": {
933
+ "text": "string"
934
+ },
935
+ "description": "The property name."
936
+ }
937
+ ],
938
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
939
+ "privacy": "public"
940
+ }
941
+ ],
942
+ "exports": [
942
943
  {
943
944
  "kind": "js",
944
- "name": "SSO_LOGIN_URL",
945
+ "name": "renderOnChange",
945
946
  "declaration": {
946
- "name": "SSO_LOGIN_URL",
947
- "module": "src/env/variables.ts"
947
+ "name": "renderOnChange",
948
+ "module": "src/decorators/renderOnChange.ts"
948
949
  }
949
950
  }
950
951
  ]
951
952
  },
952
953
  {
953
954
  "kind": "javascript-module",
954
- "path": "src/error/errorMap.ts",
955
+ "path": "src/data/inMemoryDatabase.ts",
955
956
  "declarations": [
956
957
  {
957
958
  "kind": "class",
958
- "description": "",
959
- "name": "DefaultErrorMap",
959
+ "description": "An in memory database of specific DatabaseRecord types.",
960
+ "name": "InMemoryDatabase",
960
961
  "members": [
961
962
  {
962
963
  "kind": "field",
963
- "name": "map",
964
- "privacy": "private",
965
- "default": "new Map<keyof TErrorDetailMap, Error>()"
964
+ "name": "isWorking",
965
+ "type": {
966
+ "text": "boolean"
967
+ },
968
+ "privacy": "public",
969
+ "default": "false"
966
970
  },
967
971
  {
968
972
  "kind": "field",
969
- "name": "lastError",
973
+ "name": "records",
970
974
  "type": {
971
- "text": "Error"
975
+ "text": "Record<string, T>"
972
976
  },
973
- "description": "{@inheritDoc ErrorMap.lastError}"
977
+ "privacy": "private",
978
+ "default": "{}"
979
+ },
980
+ {
981
+ "kind": "field",
982
+ "name": "beforeUpdateListeners",
983
+ "privacy": "private"
984
+ },
985
+ {
986
+ "kind": "field",
987
+ "name": "afterUpdateListeners",
988
+ "privacy": "private"
974
989
  },
975
990
  {
976
991
  "kind": "method",
977
- "name": "set",
992
+ "name": "create",
993
+ "privacy": "public",
978
994
  "return": {
979
995
  "type": {
980
- "text": "void"
996
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
981
997
  }
982
998
  },
983
999
  "parameters": [
984
1000
  {
985
- "name": "key",
986
- "type": {
987
- "text": "keyof TErrorDetailMap"
988
- }
989
- },
990
- {
991
- "name": "error",
1001
+ "name": "newValue",
992
1002
  "type": {
993
- "text": "Error"
1003
+ "text": "Omit<T, 'id'>"
994
1004
  }
995
1005
  }
996
- ],
997
- "description": "{@inheritDoc ErrorMap.set}"
1006
+ ]
998
1007
  },
999
1008
  {
1000
1009
  "kind": "method",
1001
- "name": "get",
1010
+ "name": "read",
1011
+ "privacy": "public",
1002
1012
  "return": {
1003
1013
  "type": {
1004
- "text": ""
1014
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
1005
1015
  }
1006
1016
  },
1007
1017
  "parameters": [
1008
1018
  {
1009
- "name": "key",
1019
+ "name": "id",
1010
1020
  "type": {
1011
- "text": "keyof TErrorDetailMap"
1012
- },
1013
- "description": "The key."
1021
+ "text": "string"
1022
+ }
1014
1023
  }
1015
- ],
1016
- "description": "Get an error by key.",
1017
- "privacy": "public"
1024
+ ]
1018
1025
  },
1019
1026
  {
1020
1027
  "kind": "method",
1021
- "name": "has",
1028
+ "name": "update",
1029
+ "privacy": "public",
1022
1030
  "return": {
1023
1031
  "type": {
1024
- "text": ""
1032
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
1025
1033
  }
1026
1034
  },
1027
1035
  "parameters": [
1028
1036
  {
1029
- "name": "key",
1037
+ "name": "id",
1030
1038
  "type": {
1031
- "text": "keyof TErrorDetailMap"
1032
- },
1033
- "description": "The key."
1039
+ "text": "string"
1040
+ }
1041
+ },
1042
+ {
1043
+ "name": "newValue",
1044
+ "type": {
1045
+ "text": "Omit<Partial<T>, 'id'>"
1046
+ }
1034
1047
  }
1035
- ],
1036
- "description": "Has an error for key.",
1037
- "privacy": "public"
1048
+ ]
1038
1049
  },
1039
1050
  {
1040
1051
  "kind": "method",
1041
1052
  "name": "delete",
1053
+ "privacy": "public",
1042
1054
  "return": {
1043
1055
  "type": {
1044
- "text": ""
1056
+ "text": "Promise<DatabaseAccessResult.Delete>"
1045
1057
  }
1046
1058
  },
1047
1059
  "parameters": [
1048
1060
  {
1049
- "name": "key",
1061
+ "name": "id",
1050
1062
  "type": {
1051
- "text": "keyof TErrorDetailMap"
1052
- },
1053
- "description": "The key."
1063
+ "text": "string"
1064
+ }
1054
1065
  }
1055
- ],
1056
- "description": "Delete an error.",
1057
- "privacy": "public"
1066
+ ]
1058
1067
  },
1059
1068
  {
1060
1069
  "kind": "method",
1061
- "name": "clear",
1062
- "description": "Clear errors.",
1063
- "privacy": "public"
1064
- },
1065
- {
1066
- "kind": "field",
1067
- "name": "size",
1068
- "type": {
1069
- "text": "number"
1070
- },
1071
- "description": "The size of the error map.",
1070
+ "name": "visit",
1071
+ "privacy": "public",
1072
1072
  "return": {
1073
1073
  "type": {
1074
- "text": ""
1074
+ "text": "Promise<void>"
1075
1075
  }
1076
1076
  },
1077
- "privacy": "public",
1078
- "readonly": true
1077
+ "parameters": [
1078
+ {
1079
+ "name": "visitor",
1080
+ "type": {
1081
+ "text": "(record: T) => void"
1082
+ }
1083
+ }
1084
+ ]
1079
1085
  },
1080
1086
  {
1081
1087
  "kind": "method",
1082
- "name": "values",
1083
- "privacy": "public"
1088
+ "name": "onBeforeUpdate",
1089
+ "privacy": "public",
1090
+ "return": {
1091
+ "type": {
1092
+ "text": "() => void"
1093
+ }
1094
+ },
1095
+ "parameters": [
1096
+ {
1097
+ "name": "listener",
1098
+ "type": {
1099
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1100
+ }
1101
+ }
1102
+ ]
1084
1103
  },
1085
1104
  {
1086
- "kind": "field",
1087
- "name": "messages",
1088
- "type": {
1089
- "text": "string"
1105
+ "kind": "method",
1106
+ "name": "onAfterUpdate",
1107
+ "privacy": "public",
1108
+ "return": {
1109
+ "type": {
1110
+ "text": "() => void"
1111
+ }
1090
1112
  },
1091
- "description": "{@inheritDoc ErrorMap.messages}",
1092
- "readonly": true
1113
+ "parameters": [
1114
+ {
1115
+ "name": "listener",
1116
+ "type": {
1117
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1118
+ }
1119
+ }
1120
+ ]
1093
1121
  }
1094
1122
  ]
1095
- },
1096
- {
1097
- "kind": "function",
1098
- "name": "createErrorMap",
1099
- "return": {
1100
- "type": {
1101
- "text": ""
1102
- }
1103
- },
1104
- "parameters": [
1105
- {
1106
- "name": "logger",
1107
- "type": {
1108
- "text": "ErrorMapLogger"
1109
- },
1110
- "description": "A logger error method reference."
1111
- }
1112
- ],
1113
- "description": "A factory to create the error map.",
1114
- "privacy": "public"
1115
1123
  }
1116
1124
  ],
1117
1125
  "exports": [
1118
1126
  {
1119
1127
  "kind": "js",
1120
- "name": "DefaultErrorMap",
1121
- "declaration": {
1122
- "name": "DefaultErrorMap",
1123
- "module": "src/error/errorMap.ts"
1124
- }
1125
- },
1126
- {
1127
- "kind": "js",
1128
- "name": "createErrorMap",
1128
+ "name": "InMemoryDatabase",
1129
1129
  "declaration": {
1130
- "name": "createErrorMap",
1131
- "module": "src/error/errorMap.ts"
1130
+ "name": "InMemoryDatabase",
1131
+ "module": "src/data/inMemoryDatabase.ts"
1132
1132
  }
1133
1133
  }
1134
1134
  ]
1135
1135
  },
1136
1136
  {
1137
1137
  "kind": "javascript-module",
1138
- "path": "src/error/index.ts",
1138
+ "path": "src/data/index.ts",
1139
1139
  "declarations": [],
1140
1140
  "exports": [
1141
1141
  {
@@ -1143,7 +1143,7 @@
1143
1143
  "name": "*",
1144
1144
  "declaration": {
1145
1145
  "name": "*",
1146
- "package": "./errorMap"
1146
+ "package": "./inMemoryDatabase"
1147
1147
  }
1148
1148
  }
1149
1149
  ]
@@ -1511,10 +1511,25 @@
1511
1511
  },
1512
1512
  {
1513
1513
  "kind": "js",
1514
- "name": "createLogger",
1514
+ "name": "createLogger",
1515
+ "declaration": {
1516
+ "name": "createLogger",
1517
+ "module": "src/logger/logger.ts"
1518
+ }
1519
+ }
1520
+ ]
1521
+ },
1522
+ {
1523
+ "kind": "javascript-module",
1524
+ "path": "src/mappers/index.ts",
1525
+ "declarations": [],
1526
+ "exports": [
1527
+ {
1528
+ "kind": "js",
1529
+ "name": "*",
1515
1530
  "declaration": {
1516
- "name": "createLogger",
1517
- "module": "src/logger/logger.ts"
1531
+ "name": "*",
1532
+ "package": "./dto"
1518
1533
  }
1519
1534
  }
1520
1535
  ]
@@ -1614,21 +1629,6 @@
1614
1629
  }
1615
1630
  ]
1616
1631
  },
1617
- {
1618
- "kind": "javascript-module",
1619
- "path": "src/mappers/index.ts",
1620
- "declarations": [],
1621
- "exports": [
1622
- {
1623
- "kind": "js",
1624
- "name": "*",
1625
- "declaration": {
1626
- "name": "*",
1627
- "package": "./dto"
1628
- }
1629
- }
1630
- ]
1631
- },
1632
1632
  {
1633
1633
  "kind": "javascript-module",
1634
1634
  "path": "src/promise/index.ts",
@@ -1685,6 +1685,21 @@
1685
1685
  }
1686
1686
  ]
1687
1687
  },
1688
+ {
1689
+ "kind": "javascript-module",
1690
+ "path": "src/serializers/index.ts",
1691
+ "declarations": [],
1692
+ "exports": [
1693
+ {
1694
+ "kind": "js",
1695
+ "name": "*",
1696
+ "declaration": {
1697
+ "name": "*",
1698
+ "package": "./json"
1699
+ }
1700
+ }
1701
+ ]
1702
+ },
1688
1703
  {
1689
1704
  "kind": "javascript-module",
1690
1705
  "path": "src/resource/index.ts",
@@ -1726,21 +1741,6 @@
1726
1741
  }
1727
1742
  ]
1728
1743
  },
1729
- {
1730
- "kind": "javascript-module",
1731
- "path": "src/serializers/index.ts",
1732
- "declarations": [],
1733
- "exports": [
1734
- {
1735
- "kind": "js",
1736
- "name": "*",
1737
- "declaration": {
1738
- "name": "*",
1739
- "package": "./json"
1740
- }
1741
- }
1742
- ]
1743
- },
1744
1744
  {
1745
1745
  "kind": "javascript-module",
1746
1746
  "path": "src/state/index.ts",
@@ -2744,6 +2744,106 @@
2744
2744
  }
2745
2745
  ]
2746
2746
  },
2747
+ {
2748
+ "kind": "javascript-module",
2749
+ "path": "src/mappers/dto/index.ts",
2750
+ "declarations": [],
2751
+ "exports": [
2752
+ {
2753
+ "kind": "js",
2754
+ "name": "*",
2755
+ "declaration": {
2756
+ "name": "*",
2757
+ "package": "./serverRow"
2758
+ }
2759
+ },
2760
+ {
2761
+ "kind": "js",
2762
+ "name": "*",
2763
+ "declaration": {
2764
+ "name": "*",
2765
+ "package": "./types"
2766
+ }
2767
+ }
2768
+ ]
2769
+ },
2770
+ {
2771
+ "kind": "javascript-module",
2772
+ "path": "src/mappers/dto/serverRow.ts",
2773
+ "declarations": [
2774
+ {
2775
+ "kind": "class",
2776
+ "description": "The default `ServerRowDTOMapper`.",
2777
+ "name": "DefaultServerRowDTOMapper",
2778
+ "members": [
2779
+ {
2780
+ "kind": "field",
2781
+ "name": "fromDTO",
2782
+ "description": "Converts a server row DTO to an entity.",
2783
+ "parameters": [
2784
+ {
2785
+ "description": "The DTO to convert.",
2786
+ "name": "dto"
2787
+ }
2788
+ ],
2789
+ "return": {
2790
+ "type": {
2791
+ "text": ""
2792
+ }
2793
+ },
2794
+ "privacy": "public"
2795
+ },
2796
+ {
2797
+ "kind": "field",
2798
+ "name": "toDTO",
2799
+ "description": "Converts a server row entity to a DTO.",
2800
+ "parameters": [
2801
+ {
2802
+ "description": "The entity to convert.",
2803
+ "name": "entity"
2804
+ }
2805
+ ],
2806
+ "return": {
2807
+ "type": {
2808
+ "text": ""
2809
+ }
2810
+ },
2811
+ "privacy": "public"
2812
+ }
2813
+ ]
2814
+ },
2815
+ {
2816
+ "kind": "variable",
2817
+ "name": "ServerRowDTOMapper",
2818
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2819
+ "privacy": "public"
2820
+ }
2821
+ ],
2822
+ "exports": [
2823
+ {
2824
+ "kind": "js",
2825
+ "name": "DefaultServerRowDTOMapper",
2826
+ "declaration": {
2827
+ "name": "DefaultServerRowDTOMapper",
2828
+ "module": "src/mappers/dto/serverRow.ts"
2829
+ }
2830
+ },
2831
+ {
2832
+ "kind": "js",
2833
+ "name": "ServerRowDTOMapper",
2834
+ "declaration": {
2835
+ "name": "ServerRowDTOMapper",
2836
+ "module": "src/mappers/dto/serverRow.ts"
2837
+ }
2838
+ }
2839
+ ]
2840
+ },
2841
+ {
2842
+ "kind": "javascript-module",
2843
+ "path": "src/mappers/dto/types.ts",
2844
+ "declarations": [],
2845
+ "exports": []
2846
+ },
2747
2847
  {
2748
2848
  "kind": "javascript-module",
2749
2849
  "path": "src/mixins/lifecycle/index.ts",
@@ -2955,106 +3055,6 @@
2955
3055
  }
2956
3056
  ]
2957
3057
  },
2958
- {
2959
- "kind": "javascript-module",
2960
- "path": "src/mappers/dto/index.ts",
2961
- "declarations": [],
2962
- "exports": [
2963
- {
2964
- "kind": "js",
2965
- "name": "*",
2966
- "declaration": {
2967
- "name": "*",
2968
- "package": "./serverRow"
2969
- }
2970
- },
2971
- {
2972
- "kind": "js",
2973
- "name": "*",
2974
- "declaration": {
2975
- "name": "*",
2976
- "package": "./types"
2977
- }
2978
- }
2979
- ]
2980
- },
2981
- {
2982
- "kind": "javascript-module",
2983
- "path": "src/mappers/dto/serverRow.ts",
2984
- "declarations": [
2985
- {
2986
- "kind": "class",
2987
- "description": "The default `ServerRowDTOMapper`.",
2988
- "name": "DefaultServerRowDTOMapper",
2989
- "members": [
2990
- {
2991
- "kind": "field",
2992
- "name": "fromDTO",
2993
- "description": "Converts a server row DTO to an entity.",
2994
- "parameters": [
2995
- {
2996
- "description": "The DTO to convert.",
2997
- "name": "dto"
2998
- }
2999
- ],
3000
- "return": {
3001
- "type": {
3002
- "text": ""
3003
- }
3004
- },
3005
- "privacy": "public"
3006
- },
3007
- {
3008
- "kind": "field",
3009
- "name": "toDTO",
3010
- "description": "Converts a server row entity to a DTO.",
3011
- "parameters": [
3012
- {
3013
- "description": "The entity to convert.",
3014
- "name": "entity"
3015
- }
3016
- ],
3017
- "return": {
3018
- "type": {
3019
- "text": ""
3020
- }
3021
- },
3022
- "privacy": "public"
3023
- }
3024
- ]
3025
- },
3026
- {
3027
- "kind": "variable",
3028
- "name": "ServerRowDTOMapper",
3029
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
3030
- "privacy": "public"
3031
- }
3032
- ],
3033
- "exports": [
3034
- {
3035
- "kind": "js",
3036
- "name": "DefaultServerRowDTOMapper",
3037
- "declaration": {
3038
- "name": "DefaultServerRowDTOMapper",
3039
- "module": "src/mappers/dto/serverRow.ts"
3040
- }
3041
- },
3042
- {
3043
- "kind": "js",
3044
- "name": "ServerRowDTOMapper",
3045
- "declaration": {
3046
- "name": "ServerRowDTOMapper",
3047
- "module": "src/mappers/dto/serverRow.ts"
3048
- }
3049
- }
3050
- ]
3051
- },
3052
- {
3053
- "kind": "javascript-module",
3054
- "path": "src/mappers/dto/types.ts",
3055
- "declarations": [],
3056
- "exports": []
3057
- },
3058
3058
  {
3059
3059
  "kind": "javascript-module",
3060
3060
  "path": "src/serializers/json/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.254.0",
4
+ "version": "14.255.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.254.0",
31
- "@genesislcap/genx": "14.254.0",
32
- "@genesislcap/rollup-builder": "14.254.0",
33
- "@genesislcap/ts-builder": "14.254.0",
34
- "@genesislcap/uvu-playwright-builder": "14.254.0",
35
- "@genesislcap/vite-builder": "14.254.0",
36
- "@genesislcap/webpack-builder": "14.254.0",
30
+ "@genesislcap/foundation-testing": "14.255.0",
31
+ "@genesislcap/genx": "14.255.0",
32
+ "@genesislcap/rollup-builder": "14.255.0",
33
+ "@genesislcap/ts-builder": "14.255.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.255.0",
35
+ "@genesislcap/vite-builder": "14.255.0",
36
+ "@genesislcap/webpack-builder": "14.255.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.254.0",
40
+ "@genesislcap/foundation-logger": "14.255.0",
41
41
  "@microsoft/fast-components": "2.30.6",
42
42
  "@microsoft/fast-element": "1.14.0",
43
43
  "@microsoft/fast-foundation": "2.49.6",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "de0da7f3f592bd417917da9dc7b163e57984ea7c"
58
+ "gitHead": "0138f4ab8d5257e8ffcc6f744c5524a8beb6e11c"
59
59
  }