@genesislcap/foundation-utils 15.32.0 → 15.32.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 +251 -251
  2. package/package.json +10 -10
@@ -209,6 +209,204 @@
209
209
  }
210
210
  ]
211
211
  },
212
+ {
213
+ "kind": "javascript-module",
214
+ "path": "src/data/inMemoryDatabase.ts",
215
+ "declarations": [
216
+ {
217
+ "kind": "class",
218
+ "description": "An in memory database of specific DatabaseRecord types.",
219
+ "name": "InMemoryDatabase",
220
+ "members": [
221
+ {
222
+ "kind": "field",
223
+ "name": "isWorking",
224
+ "type": {
225
+ "text": "boolean"
226
+ },
227
+ "privacy": "public",
228
+ "default": "false"
229
+ },
230
+ {
231
+ "kind": "field",
232
+ "name": "records",
233
+ "type": {
234
+ "text": "Record<string, T>"
235
+ },
236
+ "privacy": "private",
237
+ "default": "{}"
238
+ },
239
+ {
240
+ "kind": "field",
241
+ "name": "beforeUpdateListeners",
242
+ "privacy": "private"
243
+ },
244
+ {
245
+ "kind": "field",
246
+ "name": "afterUpdateListeners",
247
+ "privacy": "private"
248
+ },
249
+ {
250
+ "kind": "method",
251
+ "name": "create",
252
+ "privacy": "public",
253
+ "return": {
254
+ "type": {
255
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
256
+ }
257
+ },
258
+ "parameters": [
259
+ {
260
+ "name": "newValue",
261
+ "type": {
262
+ "text": "Omit<T, 'id'>"
263
+ }
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "kind": "method",
269
+ "name": "read",
270
+ "privacy": "public",
271
+ "return": {
272
+ "type": {
273
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
274
+ }
275
+ },
276
+ "parameters": [
277
+ {
278
+ "name": "id",
279
+ "type": {
280
+ "text": "string"
281
+ }
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "kind": "method",
287
+ "name": "update",
288
+ "privacy": "public",
289
+ "return": {
290
+ "type": {
291
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
292
+ }
293
+ },
294
+ "parameters": [
295
+ {
296
+ "name": "id",
297
+ "type": {
298
+ "text": "string"
299
+ }
300
+ },
301
+ {
302
+ "name": "newValue",
303
+ "type": {
304
+ "text": "Omit<Partial<T>, 'id'>"
305
+ }
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "kind": "method",
311
+ "name": "delete",
312
+ "privacy": "public",
313
+ "return": {
314
+ "type": {
315
+ "text": "Promise<DatabaseAccessResult.Delete>"
316
+ }
317
+ },
318
+ "parameters": [
319
+ {
320
+ "name": "id",
321
+ "type": {
322
+ "text": "string"
323
+ }
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "kind": "method",
329
+ "name": "visit",
330
+ "privacy": "public",
331
+ "return": {
332
+ "type": {
333
+ "text": "Promise<void>"
334
+ }
335
+ },
336
+ "parameters": [
337
+ {
338
+ "name": "visitor",
339
+ "type": {
340
+ "text": "(record: T) => void"
341
+ }
342
+ }
343
+ ]
344
+ },
345
+ {
346
+ "kind": "method",
347
+ "name": "onBeforeUpdate",
348
+ "privacy": "public",
349
+ "return": {
350
+ "type": {
351
+ "text": "() => void"
352
+ }
353
+ },
354
+ "parameters": [
355
+ {
356
+ "name": "listener",
357
+ "type": {
358
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
359
+ }
360
+ }
361
+ ]
362
+ },
363
+ {
364
+ "kind": "method",
365
+ "name": "onAfterUpdate",
366
+ "privacy": "public",
367
+ "return": {
368
+ "type": {
369
+ "text": "() => void"
370
+ }
371
+ },
372
+ "parameters": [
373
+ {
374
+ "name": "listener",
375
+ "type": {
376
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
377
+ }
378
+ }
379
+ ]
380
+ }
381
+ ]
382
+ }
383
+ ],
384
+ "exports": [
385
+ {
386
+ "kind": "js",
387
+ "name": "InMemoryDatabase",
388
+ "declaration": {
389
+ "name": "InMemoryDatabase",
390
+ "module": "src/data/inMemoryDatabase.ts"
391
+ }
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "kind": "javascript-module",
397
+ "path": "src/data/index.ts",
398
+ "declarations": [],
399
+ "exports": [
400
+ {
401
+ "kind": "js",
402
+ "name": "*",
403
+ "declaration": {
404
+ "name": "*",
405
+ "package": "./inMemoryDatabase"
406
+ }
407
+ }
408
+ ]
409
+ },
212
410
  {
213
411
  "kind": "javascript-module",
214
412
  "path": "src/converters/index.ts",
@@ -250,6 +448,59 @@
250
448
  }
251
449
  ]
252
450
  },
451
+ {
452
+ "kind": "javascript-module",
453
+ "path": "src/decorators/index.ts",
454
+ "declarations": [],
455
+ "exports": [
456
+ {
457
+ "kind": "js",
458
+ "name": "*",
459
+ "declaration": {
460
+ "name": "*",
461
+ "package": "./renderOnChange"
462
+ }
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "kind": "javascript-module",
468
+ "path": "src/decorators/renderOnChange.ts",
469
+ "declarations": [
470
+ {
471
+ "kind": "function",
472
+ "name": "renderOnChange",
473
+ "parameters": [
474
+ {
475
+ "name": "target",
476
+ "type": {
477
+ "text": "FASTElement & { render(): void }"
478
+ },
479
+ "description": "The target to define the property change handler on."
480
+ },
481
+ {
482
+ "name": "name",
483
+ "type": {
484
+ "text": "string"
485
+ },
486
+ "description": "The property name."
487
+ }
488
+ ],
489
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
490
+ "privacy": "public"
491
+ }
492
+ ],
493
+ "exports": [
494
+ {
495
+ "kind": "js",
496
+ "name": "renderOnChange",
497
+ "declaration": {
498
+ "name": "renderOnChange",
499
+ "module": "src/decorators/renderOnChange.ts"
500
+ }
501
+ }
502
+ ]
503
+ },
253
504
  {
254
505
  "kind": "javascript-module",
255
506
  "path": "src/design-system/design-system.ts",
@@ -475,204 +726,6 @@
475
726
  }
476
727
  ]
477
728
  },
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
729
  {
677
730
  "kind": "javascript-module",
678
731
  "path": "src/encoding/index.ts",
@@ -688,59 +741,6 @@
688
741
  }
689
742
  ]
690
743
  },
691
- {
692
- "kind": "javascript-module",
693
- "path": "src/decorators/index.ts",
694
- "declarations": [],
695
- "exports": [
696
- {
697
- "kind": "js",
698
- "name": "*",
699
- "declaration": {
700
- "name": "*",
701
- "package": "./renderOnChange"
702
- }
703
- }
704
- ]
705
- },
706
- {
707
- "kind": "javascript-module",
708
- "path": "src/decorators/renderOnChange.ts",
709
- "declarations": [
710
- {
711
- "kind": "function",
712
- "name": "renderOnChange",
713
- "parameters": [
714
- {
715
- "name": "target",
716
- "type": {
717
- "text": "FASTElement & { render(): void }"
718
- },
719
- "description": "The target to define the property change handler on."
720
- },
721
- {
722
- "name": "name",
723
- "type": {
724
- "text": "string"
725
- },
726
- "description": "The property name."
727
- }
728
- ],
729
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
730
- "privacy": "public"
731
- }
732
- ],
733
- "exports": [
734
- {
735
- "kind": "js",
736
- "name": "renderOnChange",
737
- "declaration": {
738
- "name": "renderOnChange",
739
- "module": "src/decorators/renderOnChange.ts"
740
- }
741
- }
742
- ]
743
- },
744
744
  {
745
745
  "kind": "javascript-module",
746
746
  "path": "src/env/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": "15.32.0",
4
+ "version": "15.32.1",
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": "15.32.0",
33
- "@genesislcap/genx": "15.32.0",
34
- "@genesislcap/rollup-builder": "15.32.0",
35
- "@genesislcap/ts-builder": "15.32.0",
36
- "@genesislcap/uvu-playwright-builder": "15.32.0",
37
- "@genesislcap/vite-builder": "15.32.0",
38
- "@genesislcap/webpack-builder": "15.32.0",
32
+ "@genesislcap/foundation-testing": "15.32.1",
33
+ "@genesislcap/genx": "15.32.1",
34
+ "@genesislcap/rollup-builder": "15.32.1",
35
+ "@genesislcap/ts-builder": "15.32.1",
36
+ "@genesislcap/uvu-playwright-builder": "15.32.1",
37
+ "@genesislcap/vite-builder": "15.32.1",
38
+ "@genesislcap/webpack-builder": "15.32.1",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "15.32.0",
43
- "@genesislcap/foundation-logger": "15.32.0",
42
+ "@genesislcap/expression-builder": "15.32.1",
43
+ "@genesislcap/foundation-logger": "15.32.1",
44
44
  "@microsoft/fast-components": "2.30.6",
45
45
  "@microsoft/fast-element": "1.14.0",
46
46
  "@microsoft/fast-foundation": "2.50.0",