@genesislcap/foundation-utils 14.234.0 → 14.234.2-FUI-2287.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +325 -325
  2. package/package.json +10 -10
@@ -169,204 +169,6 @@
169
169
  }
170
170
  ]
171
171
  },
172
- {
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",
358
- "declarations": [],
359
- "exports": [
360
- {
361
- "kind": "js",
362
- "name": "*",
363
- "declaration": {
364
- "name": "*",
365
- "package": "./inMemoryDatabase"
366
- }
367
- }
368
- ]
369
- },
370
172
  {
371
173
  "kind": "javascript-module",
372
174
  "path": "src/decorators/index.ts",
@@ -443,56 +245,6 @@
443
245
  }
444
246
  ]
445
247
  },
446
- {
447
- "kind": "javascript-module",
448
- "path": "src/design-system/design-system.ts",
449
- "declarations": [
450
- {
451
- "kind": "function",
452
- "name": "assureDesignSystem",
453
- "return": {
454
- "type": {
455
- "text": "DesignSystemModule"
456
- }
457
- },
458
- "parameters": [
459
- {
460
- "name": "module",
461
- "type": {
462
- "text": "DesignSystemModule"
463
- }
464
- }
465
- ],
466
- "description": "assureDesignSystem.",
467
- "privacy": "public"
468
- }
469
- ],
470
- "exports": [
471
- {
472
- "kind": "js",
473
- "name": "assureDesignSystem",
474
- "declaration": {
475
- "name": "assureDesignSystem",
476
- "module": "src/design-system/design-system.ts"
477
- }
478
- }
479
- ]
480
- },
481
- {
482
- "kind": "javascript-module",
483
- "path": "src/design-system/index.ts",
484
- "declarations": [],
485
- "exports": [
486
- {
487
- "kind": "js",
488
- "name": "*",
489
- "declaration": {
490
- "name": "*",
491
- "package": "./design-system"
492
- }
493
- }
494
- ]
495
- },
496
248
  {
497
249
  "kind": "javascript-module",
498
250
  "path": "src/encoding/index.ts",
@@ -716,82 +468,330 @@
716
468
  "exports": [
717
469
  {
718
470
  "kind": "js",
719
- "name": "BUILDER",
720
- "declaration": {
721
- "name": "_BUILDER",
722
- "module": "src/env/variables.ts"
723
- }
724
- },
725
- {
726
- "kind": "js",
727
- "name": "PUBLIC_PATH",
728
- "declaration": {
729
- "name": "_PUBLIC_PATH",
730
- "module": "src/env/variables.ts"
731
- }
732
- },
733
- {
734
- "kind": "js",
735
- "name": "SOCKET_EXT",
736
- "declaration": {
737
- "name": "_SOCKET_EXT",
738
- "module": "src/env/variables.ts"
739
- }
740
- },
741
- {
742
- "kind": "js",
743
- "name": "FORCE_HTTP",
744
- "declaration": {
745
- "name": "_FORCE_HTTP",
746
- "module": "src/env/variables.ts"
747
- }
748
- },
749
- {
750
- "kind": "js",
751
- "name": "GENESIS_SOCKET_URL",
752
- "declaration": {
753
- "name": "GENESIS_SOCKET_URL",
754
- "module": "src/env/variables.ts"
755
- }
756
- },
757
- {
758
- "kind": "js",
759
- "name": "API_HOST",
471
+ "name": "BUILDER",
472
+ "declaration": {
473
+ "name": "_BUILDER",
474
+ "module": "src/env/variables.ts"
475
+ }
476
+ },
477
+ {
478
+ "kind": "js",
479
+ "name": "PUBLIC_PATH",
480
+ "declaration": {
481
+ "name": "_PUBLIC_PATH",
482
+ "module": "src/env/variables.ts"
483
+ }
484
+ },
485
+ {
486
+ "kind": "js",
487
+ "name": "SOCKET_EXT",
488
+ "declaration": {
489
+ "name": "_SOCKET_EXT",
490
+ "module": "src/env/variables.ts"
491
+ }
492
+ },
493
+ {
494
+ "kind": "js",
495
+ "name": "FORCE_HTTP",
496
+ "declaration": {
497
+ "name": "_FORCE_HTTP",
498
+ "module": "src/env/variables.ts"
499
+ }
500
+ },
501
+ {
502
+ "kind": "js",
503
+ "name": "GENESIS_SOCKET_URL",
504
+ "declaration": {
505
+ "name": "GENESIS_SOCKET_URL",
506
+ "module": "src/env/variables.ts"
507
+ }
508
+ },
509
+ {
510
+ "kind": "js",
511
+ "name": "API_HOST",
512
+ "declaration": {
513
+ "name": "_API_HOST",
514
+ "module": "src/env/variables.ts"
515
+ }
516
+ },
517
+ {
518
+ "kind": "js",
519
+ "name": "HTTP_CONFIG",
520
+ "declaration": {
521
+ "name": "_HTTP_CONFIG",
522
+ "module": "src/env/variables.ts"
523
+ }
524
+ },
525
+ {
526
+ "kind": "js",
527
+ "name": "DEFAULT_ORGANISATION",
528
+ "declaration": {
529
+ "name": "_DEFAULT_ORGANISATION",
530
+ "module": "src/env/variables.ts"
531
+ }
532
+ },
533
+ {
534
+ "kind": "js",
535
+ "name": "DEFAULT_PASSWORD",
536
+ "declaration": {
537
+ "name": "_DEFAULT_PASSWORD",
538
+ "module": "src/env/variables.ts"
539
+ }
540
+ },
541
+ {
542
+ "kind": "js",
543
+ "name": "DEFAULT_USER",
544
+ "declaration": {
545
+ "name": "_DEFAULT_USER",
546
+ "module": "src/env/variables.ts"
547
+ }
548
+ }
549
+ ]
550
+ },
551
+ {
552
+ "kind": "javascript-module",
553
+ "path": "src/data/inMemoryDatabase.ts",
554
+ "declarations": [
555
+ {
556
+ "kind": "class",
557
+ "description": "An in memory database of specific DatabaseRecord types.",
558
+ "name": "InMemoryDatabase",
559
+ "members": [
560
+ {
561
+ "kind": "field",
562
+ "name": "isWorking",
563
+ "type": {
564
+ "text": "boolean"
565
+ },
566
+ "privacy": "public",
567
+ "default": "false"
568
+ },
569
+ {
570
+ "kind": "field",
571
+ "name": "records",
572
+ "type": {
573
+ "text": "Record<string, T>"
574
+ },
575
+ "privacy": "private",
576
+ "default": "{}"
577
+ },
578
+ {
579
+ "kind": "field",
580
+ "name": "beforeUpdateListeners",
581
+ "privacy": "private"
582
+ },
583
+ {
584
+ "kind": "field",
585
+ "name": "afterUpdateListeners",
586
+ "privacy": "private"
587
+ },
588
+ {
589
+ "kind": "method",
590
+ "name": "create",
591
+ "privacy": "public",
592
+ "return": {
593
+ "type": {
594
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
595
+ }
596
+ },
597
+ "parameters": [
598
+ {
599
+ "name": "newValue",
600
+ "type": {
601
+ "text": "Omit<T, 'id'>"
602
+ }
603
+ }
604
+ ]
605
+ },
606
+ {
607
+ "kind": "method",
608
+ "name": "read",
609
+ "privacy": "public",
610
+ "return": {
611
+ "type": {
612
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
613
+ }
614
+ },
615
+ "parameters": [
616
+ {
617
+ "name": "id",
618
+ "type": {
619
+ "text": "string"
620
+ }
621
+ }
622
+ ]
623
+ },
624
+ {
625
+ "kind": "method",
626
+ "name": "update",
627
+ "privacy": "public",
628
+ "return": {
629
+ "type": {
630
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
631
+ }
632
+ },
633
+ "parameters": [
634
+ {
635
+ "name": "id",
636
+ "type": {
637
+ "text": "string"
638
+ }
639
+ },
640
+ {
641
+ "name": "newValue",
642
+ "type": {
643
+ "text": "Omit<Partial<T>, 'id'>"
644
+ }
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ "kind": "method",
650
+ "name": "delete",
651
+ "privacy": "public",
652
+ "return": {
653
+ "type": {
654
+ "text": "Promise<DatabaseAccessResult.Delete>"
655
+ }
656
+ },
657
+ "parameters": [
658
+ {
659
+ "name": "id",
660
+ "type": {
661
+ "text": "string"
662
+ }
663
+ }
664
+ ]
665
+ },
666
+ {
667
+ "kind": "method",
668
+ "name": "visit",
669
+ "privacy": "public",
670
+ "return": {
671
+ "type": {
672
+ "text": "Promise<void>"
673
+ }
674
+ },
675
+ "parameters": [
676
+ {
677
+ "name": "visitor",
678
+ "type": {
679
+ "text": "(record: T) => void"
680
+ }
681
+ }
682
+ ]
683
+ },
684
+ {
685
+ "kind": "method",
686
+ "name": "onBeforeUpdate",
687
+ "privacy": "public",
688
+ "return": {
689
+ "type": {
690
+ "text": "() => void"
691
+ }
692
+ },
693
+ "parameters": [
694
+ {
695
+ "name": "listener",
696
+ "type": {
697
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
698
+ }
699
+ }
700
+ ]
701
+ },
702
+ {
703
+ "kind": "method",
704
+ "name": "onAfterUpdate",
705
+ "privacy": "public",
706
+ "return": {
707
+ "type": {
708
+ "text": "() => void"
709
+ }
710
+ },
711
+ "parameters": [
712
+ {
713
+ "name": "listener",
714
+ "type": {
715
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
716
+ }
717
+ }
718
+ ]
719
+ }
720
+ ]
721
+ }
722
+ ],
723
+ "exports": [
724
+ {
725
+ "kind": "js",
726
+ "name": "InMemoryDatabase",
760
727
  "declaration": {
761
- "name": "_API_HOST",
762
- "module": "src/env/variables.ts"
728
+ "name": "InMemoryDatabase",
729
+ "module": "src/data/inMemoryDatabase.ts"
763
730
  }
764
- },
731
+ }
732
+ ]
733
+ },
734
+ {
735
+ "kind": "javascript-module",
736
+ "path": "src/data/index.ts",
737
+ "declarations": [],
738
+ "exports": [
765
739
  {
766
740
  "kind": "js",
767
- "name": "HTTP_CONFIG",
741
+ "name": "*",
768
742
  "declaration": {
769
- "name": "_HTTP_CONFIG",
770
- "module": "src/env/variables.ts"
743
+ "name": "*",
744
+ "package": "./inMemoryDatabase"
771
745
  }
772
- },
746
+ }
747
+ ]
748
+ },
749
+ {
750
+ "kind": "javascript-module",
751
+ "path": "src/design-system/design-system.ts",
752
+ "declarations": [
773
753
  {
774
- "kind": "js",
775
- "name": "DEFAULT_ORGANISATION",
776
- "declaration": {
777
- "name": "_DEFAULT_ORGANISATION",
778
- "module": "src/env/variables.ts"
779
- }
780
- },
754
+ "kind": "function",
755
+ "name": "assureDesignSystem",
756
+ "return": {
757
+ "type": {
758
+ "text": "DesignSystemModule"
759
+ }
760
+ },
761
+ "parameters": [
762
+ {
763
+ "name": "module",
764
+ "type": {
765
+ "text": "DesignSystemModule"
766
+ }
767
+ }
768
+ ],
769
+ "description": "assureDesignSystem.",
770
+ "privacy": "public"
771
+ }
772
+ ],
773
+ "exports": [
781
774
  {
782
775
  "kind": "js",
783
- "name": "DEFAULT_PASSWORD",
776
+ "name": "assureDesignSystem",
784
777
  "declaration": {
785
- "name": "_DEFAULT_PASSWORD",
786
- "module": "src/env/variables.ts"
778
+ "name": "assureDesignSystem",
779
+ "module": "src/design-system/design-system.ts"
787
780
  }
788
- },
781
+ }
782
+ ]
783
+ },
784
+ {
785
+ "kind": "javascript-module",
786
+ "path": "src/design-system/index.ts",
787
+ "declarations": [],
788
+ "exports": [
789
789
  {
790
790
  "kind": "js",
791
- "name": "DEFAULT_USER",
791
+ "name": "*",
792
792
  "declaration": {
793
- "name": "_DEFAULT_USER",
794
- "module": "src/env/variables.ts"
793
+ "name": "*",
794
+ "package": "./design-system"
795
795
  }
796
796
  }
797
797
  ]
@@ -1280,6 +1280,21 @@
1280
1280
  }
1281
1281
  ]
1282
1282
  },
1283
+ {
1284
+ "kind": "javascript-module",
1285
+ "path": "src/mappers/index.ts",
1286
+ "declarations": [],
1287
+ "exports": [
1288
+ {
1289
+ "kind": "js",
1290
+ "name": "*",
1291
+ "declaration": {
1292
+ "name": "*",
1293
+ "package": "./dto"
1294
+ }
1295
+ }
1296
+ ]
1297
+ },
1283
1298
  {
1284
1299
  "kind": "javascript-module",
1285
1300
  "path": "src/logger/index.ts",
@@ -1366,21 +1381,6 @@
1366
1381
  }
1367
1382
  ]
1368
1383
  },
1369
- {
1370
- "kind": "javascript-module",
1371
- "path": "src/mappers/index.ts",
1372
- "declarations": [],
1373
- "exports": [
1374
- {
1375
- "kind": "js",
1376
- "name": "*",
1377
- "declaration": {
1378
- "name": "*",
1379
- "package": "./dto"
1380
- }
1381
- }
1382
- ]
1383
- },
1384
1384
  {
1385
1385
  "kind": "javascript-module",
1386
1386
  "path": "src/mixins/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.234.0",
4
+ "version": "14.234.2-FUI-2287.1",
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.234.0",
31
- "@genesislcap/genx": "14.234.0",
32
- "@genesislcap/rollup-builder": "14.234.0",
33
- "@genesislcap/ts-builder": "14.234.0",
34
- "@genesislcap/uvu-playwright-builder": "14.234.0",
35
- "@genesislcap/vite-builder": "14.234.0",
36
- "@genesislcap/webpack-builder": "14.234.0",
30
+ "@genesislcap/foundation-testing": "14.234.2-FUI-2287.1",
31
+ "@genesislcap/genx": "14.234.2-FUI-2287.1",
32
+ "@genesislcap/rollup-builder": "14.234.2-FUI-2287.1",
33
+ "@genesislcap/ts-builder": "14.234.2-FUI-2287.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.234.2-FUI-2287.1",
35
+ "@genesislcap/vite-builder": "14.234.2-FUI-2287.1",
36
+ "@genesislcap/webpack-builder": "14.234.2-FUI-2287.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.234.0",
40
+ "@genesislcap/foundation-logger": "14.234.2-FUI-2287.1",
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": "e3a9483a85395d3322649f3b6bf2a712774040ce"
58
+ "gitHead": "468fa88bf46320932163001b770cc2236dc7ba08"
59
59
  }