@genesislcap/foundation-utils 14.225.2-alpha-968f711.0 → 14.225.2-alpha-9256cb8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +248 -248
- package/package.json +10 -10
@@ -161,6 +161,204 @@
|
|
161
161
|
}
|
162
162
|
]
|
163
163
|
},
|
164
|
+
{
|
165
|
+
"kind": "javascript-module",
|
166
|
+
"path": "src/data/inMemoryDatabase.ts",
|
167
|
+
"declarations": [
|
168
|
+
{
|
169
|
+
"kind": "class",
|
170
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
171
|
+
"name": "InMemoryDatabase",
|
172
|
+
"members": [
|
173
|
+
{
|
174
|
+
"kind": "field",
|
175
|
+
"name": "isWorking",
|
176
|
+
"type": {
|
177
|
+
"text": "boolean"
|
178
|
+
},
|
179
|
+
"privacy": "public",
|
180
|
+
"default": "false"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"kind": "field",
|
184
|
+
"name": "records",
|
185
|
+
"type": {
|
186
|
+
"text": "Record<string, T>"
|
187
|
+
},
|
188
|
+
"privacy": "private",
|
189
|
+
"default": "{}"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"kind": "field",
|
193
|
+
"name": "beforeUpdateListeners",
|
194
|
+
"privacy": "private"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"kind": "field",
|
198
|
+
"name": "afterUpdateListeners",
|
199
|
+
"privacy": "private"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"kind": "method",
|
203
|
+
"name": "create",
|
204
|
+
"privacy": "public",
|
205
|
+
"return": {
|
206
|
+
"type": {
|
207
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
208
|
+
}
|
209
|
+
},
|
210
|
+
"parameters": [
|
211
|
+
{
|
212
|
+
"name": "newValue",
|
213
|
+
"type": {
|
214
|
+
"text": "Omit<T, 'id'>"
|
215
|
+
}
|
216
|
+
}
|
217
|
+
]
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"kind": "method",
|
221
|
+
"name": "read",
|
222
|
+
"privacy": "public",
|
223
|
+
"return": {
|
224
|
+
"type": {
|
225
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
226
|
+
}
|
227
|
+
},
|
228
|
+
"parameters": [
|
229
|
+
{
|
230
|
+
"name": "id",
|
231
|
+
"type": {
|
232
|
+
"text": "string"
|
233
|
+
}
|
234
|
+
}
|
235
|
+
]
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"kind": "method",
|
239
|
+
"name": "update",
|
240
|
+
"privacy": "public",
|
241
|
+
"return": {
|
242
|
+
"type": {
|
243
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
244
|
+
}
|
245
|
+
},
|
246
|
+
"parameters": [
|
247
|
+
{
|
248
|
+
"name": "id",
|
249
|
+
"type": {
|
250
|
+
"text": "string"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"name": "newValue",
|
255
|
+
"type": {
|
256
|
+
"text": "Omit<Partial<T>, 'id'>"
|
257
|
+
}
|
258
|
+
}
|
259
|
+
]
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"kind": "method",
|
263
|
+
"name": "delete",
|
264
|
+
"privacy": "public",
|
265
|
+
"return": {
|
266
|
+
"type": {
|
267
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"parameters": [
|
271
|
+
{
|
272
|
+
"name": "id",
|
273
|
+
"type": {
|
274
|
+
"text": "string"
|
275
|
+
}
|
276
|
+
}
|
277
|
+
]
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"kind": "method",
|
281
|
+
"name": "visit",
|
282
|
+
"privacy": "public",
|
283
|
+
"return": {
|
284
|
+
"type": {
|
285
|
+
"text": "Promise<void>"
|
286
|
+
}
|
287
|
+
},
|
288
|
+
"parameters": [
|
289
|
+
{
|
290
|
+
"name": "visitor",
|
291
|
+
"type": {
|
292
|
+
"text": "(record: T) => void"
|
293
|
+
}
|
294
|
+
}
|
295
|
+
]
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"kind": "method",
|
299
|
+
"name": "onBeforeUpdate",
|
300
|
+
"privacy": "public",
|
301
|
+
"return": {
|
302
|
+
"type": {
|
303
|
+
"text": "() => void"
|
304
|
+
}
|
305
|
+
},
|
306
|
+
"parameters": [
|
307
|
+
{
|
308
|
+
"name": "listener",
|
309
|
+
"type": {
|
310
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
311
|
+
}
|
312
|
+
}
|
313
|
+
]
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"kind": "method",
|
317
|
+
"name": "onAfterUpdate",
|
318
|
+
"privacy": "public",
|
319
|
+
"return": {
|
320
|
+
"type": {
|
321
|
+
"text": "() => void"
|
322
|
+
}
|
323
|
+
},
|
324
|
+
"parameters": [
|
325
|
+
{
|
326
|
+
"name": "listener",
|
327
|
+
"type": {
|
328
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
329
|
+
}
|
330
|
+
}
|
331
|
+
]
|
332
|
+
}
|
333
|
+
]
|
334
|
+
}
|
335
|
+
],
|
336
|
+
"exports": [
|
337
|
+
{
|
338
|
+
"kind": "js",
|
339
|
+
"name": "InMemoryDatabase",
|
340
|
+
"declaration": {
|
341
|
+
"name": "InMemoryDatabase",
|
342
|
+
"module": "src/data/inMemoryDatabase.ts"
|
343
|
+
}
|
344
|
+
}
|
345
|
+
]
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"kind": "javascript-module",
|
349
|
+
"path": "src/data/index.ts",
|
350
|
+
"declarations": [],
|
351
|
+
"exports": [
|
352
|
+
{
|
353
|
+
"kind": "js",
|
354
|
+
"name": "*",
|
355
|
+
"declaration": {
|
356
|
+
"name": "*",
|
357
|
+
"package": "./inMemoryDatabase"
|
358
|
+
}
|
359
|
+
}
|
360
|
+
]
|
361
|
+
},
|
164
362
|
{
|
165
363
|
"kind": "javascript-module",
|
166
364
|
"path": "src/decorators/index.ts",
|
@@ -214,6 +412,56 @@
|
|
214
412
|
}
|
215
413
|
]
|
216
414
|
},
|
415
|
+
{
|
416
|
+
"kind": "javascript-module",
|
417
|
+
"path": "src/design-system/design-system.ts",
|
418
|
+
"declarations": [
|
419
|
+
{
|
420
|
+
"kind": "function",
|
421
|
+
"name": "assureDesignSystem",
|
422
|
+
"return": {
|
423
|
+
"type": {
|
424
|
+
"text": "DesignSystemModule"
|
425
|
+
}
|
426
|
+
},
|
427
|
+
"parameters": [
|
428
|
+
{
|
429
|
+
"name": "module",
|
430
|
+
"type": {
|
431
|
+
"text": "DesignSystemModule"
|
432
|
+
}
|
433
|
+
}
|
434
|
+
],
|
435
|
+
"description": "assureDesignSystem.",
|
436
|
+
"privacy": "public"
|
437
|
+
}
|
438
|
+
],
|
439
|
+
"exports": [
|
440
|
+
{
|
441
|
+
"kind": "js",
|
442
|
+
"name": "assureDesignSystem",
|
443
|
+
"declaration": {
|
444
|
+
"name": "assureDesignSystem",
|
445
|
+
"module": "src/design-system/design-system.ts"
|
446
|
+
}
|
447
|
+
}
|
448
|
+
]
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"kind": "javascript-module",
|
452
|
+
"path": "src/design-system/index.ts",
|
453
|
+
"declarations": [],
|
454
|
+
"exports": [
|
455
|
+
{
|
456
|
+
"kind": "js",
|
457
|
+
"name": "*",
|
458
|
+
"declaration": {
|
459
|
+
"name": "*",
|
460
|
+
"package": "./design-system"
|
461
|
+
}
|
462
|
+
}
|
463
|
+
]
|
464
|
+
},
|
217
465
|
{
|
218
466
|
"kind": "javascript-module",
|
219
467
|
"path": "src/directives/index.ts",
|
@@ -475,254 +723,6 @@
|
|
475
723
|
}
|
476
724
|
]
|
477
725
|
},
|
478
|
-
{
|
479
|
-
"kind": "javascript-module",
|
480
|
-
"path": "src/data/inMemoryDatabase.ts",
|
481
|
-
"declarations": [
|
482
|
-
{
|
483
|
-
"kind": "class",
|
484
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
485
|
-
"name": "InMemoryDatabase",
|
486
|
-
"members": [
|
487
|
-
{
|
488
|
-
"kind": "field",
|
489
|
-
"name": "isWorking",
|
490
|
-
"type": {
|
491
|
-
"text": "boolean"
|
492
|
-
},
|
493
|
-
"privacy": "public",
|
494
|
-
"default": "false"
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"kind": "field",
|
498
|
-
"name": "records",
|
499
|
-
"type": {
|
500
|
-
"text": "Record<string, T>"
|
501
|
-
},
|
502
|
-
"privacy": "private",
|
503
|
-
"default": "{}"
|
504
|
-
},
|
505
|
-
{
|
506
|
-
"kind": "field",
|
507
|
-
"name": "beforeUpdateListeners",
|
508
|
-
"privacy": "private"
|
509
|
-
},
|
510
|
-
{
|
511
|
-
"kind": "field",
|
512
|
-
"name": "afterUpdateListeners",
|
513
|
-
"privacy": "private"
|
514
|
-
},
|
515
|
-
{
|
516
|
-
"kind": "method",
|
517
|
-
"name": "create",
|
518
|
-
"privacy": "public",
|
519
|
-
"return": {
|
520
|
-
"type": {
|
521
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
522
|
-
}
|
523
|
-
},
|
524
|
-
"parameters": [
|
525
|
-
{
|
526
|
-
"name": "newValue",
|
527
|
-
"type": {
|
528
|
-
"text": "Omit<T, 'id'>"
|
529
|
-
}
|
530
|
-
}
|
531
|
-
]
|
532
|
-
},
|
533
|
-
{
|
534
|
-
"kind": "method",
|
535
|
-
"name": "read",
|
536
|
-
"privacy": "public",
|
537
|
-
"return": {
|
538
|
-
"type": {
|
539
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
540
|
-
}
|
541
|
-
},
|
542
|
-
"parameters": [
|
543
|
-
{
|
544
|
-
"name": "id",
|
545
|
-
"type": {
|
546
|
-
"text": "string"
|
547
|
-
}
|
548
|
-
}
|
549
|
-
]
|
550
|
-
},
|
551
|
-
{
|
552
|
-
"kind": "method",
|
553
|
-
"name": "update",
|
554
|
-
"privacy": "public",
|
555
|
-
"return": {
|
556
|
-
"type": {
|
557
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
558
|
-
}
|
559
|
-
},
|
560
|
-
"parameters": [
|
561
|
-
{
|
562
|
-
"name": "id",
|
563
|
-
"type": {
|
564
|
-
"text": "string"
|
565
|
-
}
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"name": "newValue",
|
569
|
-
"type": {
|
570
|
-
"text": "Omit<Partial<T>, 'id'>"
|
571
|
-
}
|
572
|
-
}
|
573
|
-
]
|
574
|
-
},
|
575
|
-
{
|
576
|
-
"kind": "method",
|
577
|
-
"name": "delete",
|
578
|
-
"privacy": "public",
|
579
|
-
"return": {
|
580
|
-
"type": {
|
581
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
582
|
-
}
|
583
|
-
},
|
584
|
-
"parameters": [
|
585
|
-
{
|
586
|
-
"name": "id",
|
587
|
-
"type": {
|
588
|
-
"text": "string"
|
589
|
-
}
|
590
|
-
}
|
591
|
-
]
|
592
|
-
},
|
593
|
-
{
|
594
|
-
"kind": "method",
|
595
|
-
"name": "visit",
|
596
|
-
"privacy": "public",
|
597
|
-
"return": {
|
598
|
-
"type": {
|
599
|
-
"text": "Promise<void>"
|
600
|
-
}
|
601
|
-
},
|
602
|
-
"parameters": [
|
603
|
-
{
|
604
|
-
"name": "visitor",
|
605
|
-
"type": {
|
606
|
-
"text": "(record: T) => void"
|
607
|
-
}
|
608
|
-
}
|
609
|
-
]
|
610
|
-
},
|
611
|
-
{
|
612
|
-
"kind": "method",
|
613
|
-
"name": "onBeforeUpdate",
|
614
|
-
"privacy": "public",
|
615
|
-
"return": {
|
616
|
-
"type": {
|
617
|
-
"text": "() => void"
|
618
|
-
}
|
619
|
-
},
|
620
|
-
"parameters": [
|
621
|
-
{
|
622
|
-
"name": "listener",
|
623
|
-
"type": {
|
624
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
625
|
-
}
|
626
|
-
}
|
627
|
-
]
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"kind": "method",
|
631
|
-
"name": "onAfterUpdate",
|
632
|
-
"privacy": "public",
|
633
|
-
"return": {
|
634
|
-
"type": {
|
635
|
-
"text": "() => void"
|
636
|
-
}
|
637
|
-
},
|
638
|
-
"parameters": [
|
639
|
-
{
|
640
|
-
"name": "listener",
|
641
|
-
"type": {
|
642
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
643
|
-
}
|
644
|
-
}
|
645
|
-
]
|
646
|
-
}
|
647
|
-
]
|
648
|
-
}
|
649
|
-
],
|
650
|
-
"exports": [
|
651
|
-
{
|
652
|
-
"kind": "js",
|
653
|
-
"name": "InMemoryDatabase",
|
654
|
-
"declaration": {
|
655
|
-
"name": "InMemoryDatabase",
|
656
|
-
"module": "src/data/inMemoryDatabase.ts"
|
657
|
-
}
|
658
|
-
}
|
659
|
-
]
|
660
|
-
},
|
661
|
-
{
|
662
|
-
"kind": "javascript-module",
|
663
|
-
"path": "src/data/index.ts",
|
664
|
-
"declarations": [],
|
665
|
-
"exports": [
|
666
|
-
{
|
667
|
-
"kind": "js",
|
668
|
-
"name": "*",
|
669
|
-
"declaration": {
|
670
|
-
"name": "*",
|
671
|
-
"package": "./inMemoryDatabase"
|
672
|
-
}
|
673
|
-
}
|
674
|
-
]
|
675
|
-
},
|
676
|
-
{
|
677
|
-
"kind": "javascript-module",
|
678
|
-
"path": "src/design-system/design-system.ts",
|
679
|
-
"declarations": [
|
680
|
-
{
|
681
|
-
"kind": "function",
|
682
|
-
"name": "assureDesignSystem",
|
683
|
-
"return": {
|
684
|
-
"type": {
|
685
|
-
"text": "DesignSystemModule"
|
686
|
-
}
|
687
|
-
},
|
688
|
-
"parameters": [
|
689
|
-
{
|
690
|
-
"name": "module",
|
691
|
-
"type": {
|
692
|
-
"text": "DesignSystemModule"
|
693
|
-
}
|
694
|
-
}
|
695
|
-
],
|
696
|
-
"description": "assureDesignSystem.",
|
697
|
-
"privacy": "public"
|
698
|
-
}
|
699
|
-
],
|
700
|
-
"exports": [
|
701
|
-
{
|
702
|
-
"kind": "js",
|
703
|
-
"name": "assureDesignSystem",
|
704
|
-
"declaration": {
|
705
|
-
"name": "assureDesignSystem",
|
706
|
-
"module": "src/design-system/design-system.ts"
|
707
|
-
}
|
708
|
-
}
|
709
|
-
]
|
710
|
-
},
|
711
|
-
{
|
712
|
-
"kind": "javascript-module",
|
713
|
-
"path": "src/design-system/index.ts",
|
714
|
-
"declarations": [],
|
715
|
-
"exports": [
|
716
|
-
{
|
717
|
-
"kind": "js",
|
718
|
-
"name": "*",
|
719
|
-
"declaration": {
|
720
|
-
"name": "*",
|
721
|
-
"package": "./design-system"
|
722
|
-
}
|
723
|
-
}
|
724
|
-
]
|
725
|
-
},
|
726
726
|
{
|
727
727
|
"kind": "javascript-module",
|
728
728
|
"path": "src/error/errorMap.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.225.2-alpha-
|
4
|
+
"version": "14.225.2-alpha-9256cb8.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.225.2-alpha-
|
31
|
-
"@genesislcap/genx": "14.225.2-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.225.2-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.225.2-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.225.2-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.225.2-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.225.2-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.225.2-alpha-9256cb8.0",
|
31
|
+
"@genesislcap/genx": "14.225.2-alpha-9256cb8.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.225.2-alpha-9256cb8.0",
|
33
|
+
"@genesislcap/ts-builder": "14.225.2-alpha-9256cb8.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.225.2-alpha-9256cb8.0",
|
35
|
+
"@genesislcap/vite-builder": "14.225.2-alpha-9256cb8.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.225.2-alpha-9256cb8.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.225.2-alpha-
|
40
|
+
"@genesislcap/foundation-logger": "14.225.2-alpha-9256cb8.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": "
|
58
|
+
"gitHead": "0ff7bf51c67a95415ea9ba050104add9e4e62283"
|
59
59
|
}
|