@genesislcap/foundation-utils 14.429.1 → 14.429.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.
- package/dist/custom-elements.json +198 -198
- package/package.json +11 -11
|
@@ -250,6 +250,204 @@
|
|
|
250
250
|
}
|
|
251
251
|
]
|
|
252
252
|
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "javascript-module",
|
|
255
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
256
|
+
"declarations": [
|
|
257
|
+
{
|
|
258
|
+
"kind": "class",
|
|
259
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
260
|
+
"name": "InMemoryDatabase",
|
|
261
|
+
"members": [
|
|
262
|
+
{
|
|
263
|
+
"kind": "field",
|
|
264
|
+
"name": "isWorking",
|
|
265
|
+
"type": {
|
|
266
|
+
"text": "boolean"
|
|
267
|
+
},
|
|
268
|
+
"privacy": "public",
|
|
269
|
+
"default": "false"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "field",
|
|
273
|
+
"name": "records",
|
|
274
|
+
"type": {
|
|
275
|
+
"text": "Record<string, T>"
|
|
276
|
+
},
|
|
277
|
+
"privacy": "private",
|
|
278
|
+
"default": "{}"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "field",
|
|
282
|
+
"name": "beforeUpdateListeners",
|
|
283
|
+
"privacy": "private"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"kind": "field",
|
|
287
|
+
"name": "afterUpdateListeners",
|
|
288
|
+
"privacy": "private"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"kind": "method",
|
|
292
|
+
"name": "create",
|
|
293
|
+
"privacy": "public",
|
|
294
|
+
"return": {
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"parameters": [
|
|
300
|
+
{
|
|
301
|
+
"name": "newValue",
|
|
302
|
+
"type": {
|
|
303
|
+
"text": "Omit<T, 'id'>"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"kind": "method",
|
|
310
|
+
"name": "read",
|
|
311
|
+
"privacy": "public",
|
|
312
|
+
"return": {
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"parameters": [
|
|
318
|
+
{
|
|
319
|
+
"name": "id",
|
|
320
|
+
"type": {
|
|
321
|
+
"text": "string"
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"kind": "method",
|
|
328
|
+
"name": "update",
|
|
329
|
+
"privacy": "public",
|
|
330
|
+
"return": {
|
|
331
|
+
"type": {
|
|
332
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"parameters": [
|
|
336
|
+
{
|
|
337
|
+
"name": "id",
|
|
338
|
+
"type": {
|
|
339
|
+
"text": "string"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "newValue",
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"kind": "method",
|
|
352
|
+
"name": "delete",
|
|
353
|
+
"privacy": "public",
|
|
354
|
+
"return": {
|
|
355
|
+
"type": {
|
|
356
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"parameters": [
|
|
360
|
+
{
|
|
361
|
+
"name": "id",
|
|
362
|
+
"type": {
|
|
363
|
+
"text": "string"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
]
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"kind": "method",
|
|
370
|
+
"name": "visit",
|
|
371
|
+
"privacy": "public",
|
|
372
|
+
"return": {
|
|
373
|
+
"type": {
|
|
374
|
+
"text": "Promise<void>"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"parameters": [
|
|
378
|
+
{
|
|
379
|
+
"name": "visitor",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "(record: T) => void"
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"kind": "method",
|
|
388
|
+
"name": "onBeforeUpdate",
|
|
389
|
+
"privacy": "public",
|
|
390
|
+
"return": {
|
|
391
|
+
"type": {
|
|
392
|
+
"text": "() => void"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"parameters": [
|
|
396
|
+
{
|
|
397
|
+
"name": "listener",
|
|
398
|
+
"type": {
|
|
399
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "method",
|
|
406
|
+
"name": "onAfterUpdate",
|
|
407
|
+
"privacy": "public",
|
|
408
|
+
"return": {
|
|
409
|
+
"type": {
|
|
410
|
+
"text": "() => void"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"parameters": [
|
|
414
|
+
{
|
|
415
|
+
"name": "listener",
|
|
416
|
+
"type": {
|
|
417
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"exports": [
|
|
426
|
+
{
|
|
427
|
+
"kind": "js",
|
|
428
|
+
"name": "InMemoryDatabase",
|
|
429
|
+
"declaration": {
|
|
430
|
+
"name": "InMemoryDatabase",
|
|
431
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"kind": "javascript-module",
|
|
438
|
+
"path": "src/data/index.ts",
|
|
439
|
+
"declarations": [],
|
|
440
|
+
"exports": [
|
|
441
|
+
{
|
|
442
|
+
"kind": "js",
|
|
443
|
+
"name": "*",
|
|
444
|
+
"declaration": {
|
|
445
|
+
"name": "*",
|
|
446
|
+
"package": "./inMemoryDatabase"
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
},
|
|
253
451
|
{
|
|
254
452
|
"kind": "javascript-module",
|
|
255
453
|
"path": "src/design-system/design-system.ts",
|
|
@@ -452,204 +650,6 @@
|
|
|
452
650
|
}
|
|
453
651
|
]
|
|
454
652
|
},
|
|
455
|
-
{
|
|
456
|
-
"kind": "javascript-module",
|
|
457
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
458
|
-
"declarations": [
|
|
459
|
-
{
|
|
460
|
-
"kind": "class",
|
|
461
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
462
|
-
"name": "InMemoryDatabase",
|
|
463
|
-
"members": [
|
|
464
|
-
{
|
|
465
|
-
"kind": "field",
|
|
466
|
-
"name": "isWorking",
|
|
467
|
-
"type": {
|
|
468
|
-
"text": "boolean"
|
|
469
|
-
},
|
|
470
|
-
"privacy": "public",
|
|
471
|
-
"default": "false"
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"kind": "field",
|
|
475
|
-
"name": "records",
|
|
476
|
-
"type": {
|
|
477
|
-
"text": "Record<string, T>"
|
|
478
|
-
},
|
|
479
|
-
"privacy": "private",
|
|
480
|
-
"default": "{}"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"kind": "field",
|
|
484
|
-
"name": "beforeUpdateListeners",
|
|
485
|
-
"privacy": "private"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"kind": "field",
|
|
489
|
-
"name": "afterUpdateListeners",
|
|
490
|
-
"privacy": "private"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"kind": "method",
|
|
494
|
-
"name": "create",
|
|
495
|
-
"privacy": "public",
|
|
496
|
-
"return": {
|
|
497
|
-
"type": {
|
|
498
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
"parameters": [
|
|
502
|
-
{
|
|
503
|
-
"name": "newValue",
|
|
504
|
-
"type": {
|
|
505
|
-
"text": "Omit<T, 'id'>"
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
]
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"kind": "method",
|
|
512
|
-
"name": "read",
|
|
513
|
-
"privacy": "public",
|
|
514
|
-
"return": {
|
|
515
|
-
"type": {
|
|
516
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
517
|
-
}
|
|
518
|
-
},
|
|
519
|
-
"parameters": [
|
|
520
|
-
{
|
|
521
|
-
"name": "id",
|
|
522
|
-
"type": {
|
|
523
|
-
"text": "string"
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
]
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"kind": "method",
|
|
530
|
-
"name": "update",
|
|
531
|
-
"privacy": "public",
|
|
532
|
-
"return": {
|
|
533
|
-
"type": {
|
|
534
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
"parameters": [
|
|
538
|
-
{
|
|
539
|
-
"name": "id",
|
|
540
|
-
"type": {
|
|
541
|
-
"text": "string"
|
|
542
|
-
}
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"name": "newValue",
|
|
546
|
-
"type": {
|
|
547
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
]
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"kind": "method",
|
|
554
|
-
"name": "delete",
|
|
555
|
-
"privacy": "public",
|
|
556
|
-
"return": {
|
|
557
|
-
"type": {
|
|
558
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
"parameters": [
|
|
562
|
-
{
|
|
563
|
-
"name": "id",
|
|
564
|
-
"type": {
|
|
565
|
-
"text": "string"
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
]
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"kind": "method",
|
|
572
|
-
"name": "visit",
|
|
573
|
-
"privacy": "public",
|
|
574
|
-
"return": {
|
|
575
|
-
"type": {
|
|
576
|
-
"text": "Promise<void>"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
"parameters": [
|
|
580
|
-
{
|
|
581
|
-
"name": "visitor",
|
|
582
|
-
"type": {
|
|
583
|
-
"text": "(record: T) => void"
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
]
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
"kind": "method",
|
|
590
|
-
"name": "onBeforeUpdate",
|
|
591
|
-
"privacy": "public",
|
|
592
|
-
"return": {
|
|
593
|
-
"type": {
|
|
594
|
-
"text": "() => void"
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
"parameters": [
|
|
598
|
-
{
|
|
599
|
-
"name": "listener",
|
|
600
|
-
"type": {
|
|
601
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
]
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"kind": "method",
|
|
608
|
-
"name": "onAfterUpdate",
|
|
609
|
-
"privacy": "public",
|
|
610
|
-
"return": {
|
|
611
|
-
"type": {
|
|
612
|
-
"text": "() => void"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
"parameters": [
|
|
616
|
-
{
|
|
617
|
-
"name": "listener",
|
|
618
|
-
"type": {
|
|
619
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
]
|
|
623
|
-
}
|
|
624
|
-
]
|
|
625
|
-
}
|
|
626
|
-
],
|
|
627
|
-
"exports": [
|
|
628
|
-
{
|
|
629
|
-
"kind": "js",
|
|
630
|
-
"name": "InMemoryDatabase",
|
|
631
|
-
"declaration": {
|
|
632
|
-
"name": "InMemoryDatabase",
|
|
633
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
]
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"kind": "javascript-module",
|
|
640
|
-
"path": "src/data/index.ts",
|
|
641
|
-
"declarations": [],
|
|
642
|
-
"exports": [
|
|
643
|
-
{
|
|
644
|
-
"kind": "js",
|
|
645
|
-
"name": "*",
|
|
646
|
-
"declaration": {
|
|
647
|
-
"name": "*",
|
|
648
|
-
"package": "./inMemoryDatabase"
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
]
|
|
652
|
-
},
|
|
653
653
|
{
|
|
654
654
|
"kind": "javascript-module",
|
|
655
655
|
"path": "src/directives/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.429.
|
|
4
|
+
"version": "14.429.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.429.
|
|
33
|
-
"@genesislcap/genx": "14.429.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.429.
|
|
35
|
-
"@genesislcap/ts-builder": "14.429.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.429.
|
|
37
|
-
"@genesislcap/vite-builder": "14.429.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.429.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.429.2",
|
|
33
|
+
"@genesislcap/genx": "14.429.2",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.429.2",
|
|
35
|
+
"@genesislcap/ts-builder": "14.429.2",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.429.2",
|
|
37
|
+
"@genesislcap/vite-builder": "14.429.2",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.429.2",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.429.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.429.
|
|
42
|
+
"@genesislcap/expression-builder": "14.429.2",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.429.2",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "a795b9d02c1c1c19770200fcc26201e171306306"
|
|
62
62
|
}
|