@genesislcap/foundation-utils 14.409.0-FUI-2495.8 → 14.409.0-FUI-2495.10

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 +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",
@@ -370,6 +568,59 @@
370
568
  }
371
569
  ]
372
570
  },
571
+ {
572
+ "kind": "javascript-module",
573
+ "path": "src/decorators/index.ts",
574
+ "declarations": [],
575
+ "exports": [
576
+ {
577
+ "kind": "js",
578
+ "name": "*",
579
+ "declaration": {
580
+ "name": "*",
581
+ "package": "./renderOnChange"
582
+ }
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ "kind": "javascript-module",
588
+ "path": "src/decorators/renderOnChange.ts",
589
+ "declarations": [
590
+ {
591
+ "kind": "function",
592
+ "name": "renderOnChange",
593
+ "parameters": [
594
+ {
595
+ "name": "target",
596
+ "type": {
597
+ "text": "FASTElement & { render(): void }"
598
+ },
599
+ "description": "The target to define the property change handler on."
600
+ },
601
+ {
602
+ "name": "name",
603
+ "type": {
604
+ "text": "string"
605
+ },
606
+ "description": "The property name."
607
+ }
608
+ ],
609
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
610
+ "privacy": "public"
611
+ }
612
+ ],
613
+ "exports": [
614
+ {
615
+ "kind": "js",
616
+ "name": "renderOnChange",
617
+ "declaration": {
618
+ "name": "renderOnChange",
619
+ "module": "src/decorators/renderOnChange.ts"
620
+ }
621
+ }
622
+ ]
623
+ },
373
624
  {
374
625
  "kind": "javascript-module",
375
626
  "path": "src/directives/index.ts",
@@ -883,257 +1134,6 @@
883
1134
  }
884
1135
  ]
885
1136
  },
886
- {
887
- "kind": "javascript-module",
888
- "path": "src/data/inMemoryDatabase.ts",
889
- "declarations": [
890
- {
891
- "kind": "class",
892
- "description": "An in memory database of specific DatabaseRecord types.",
893
- "name": "InMemoryDatabase",
894
- "members": [
895
- {
896
- "kind": "field",
897
- "name": "isWorking",
898
- "type": {
899
- "text": "boolean"
900
- },
901
- "privacy": "public",
902
- "default": "false"
903
- },
904
- {
905
- "kind": "field",
906
- "name": "records",
907
- "type": {
908
- "text": "Record<string, T>"
909
- },
910
- "privacy": "private",
911
- "default": "{}"
912
- },
913
- {
914
- "kind": "field",
915
- "name": "beforeUpdateListeners",
916
- "privacy": "private"
917
- },
918
- {
919
- "kind": "field",
920
- "name": "afterUpdateListeners",
921
- "privacy": "private"
922
- },
923
- {
924
- "kind": "method",
925
- "name": "create",
926
- "privacy": "public",
927
- "return": {
928
- "type": {
929
- "text": "Promise<DatabaseAccessResult.Create<T>>"
930
- }
931
- },
932
- "parameters": [
933
- {
934
- "name": "newValue",
935
- "type": {
936
- "text": "Omit<T, 'id'>"
937
- }
938
- }
939
- ]
940
- },
941
- {
942
- "kind": "method",
943
- "name": "read",
944
- "privacy": "public",
945
- "return": {
946
- "type": {
947
- "text": "Promise<DatabaseAccessResult.Read<T>>"
948
- }
949
- },
950
- "parameters": [
951
- {
952
- "name": "id",
953
- "type": {
954
- "text": "string"
955
- }
956
- }
957
- ]
958
- },
959
- {
960
- "kind": "method",
961
- "name": "update",
962
- "privacy": "public",
963
- "return": {
964
- "type": {
965
- "text": "Promise<DatabaseAccessResult.Update<T>>"
966
- }
967
- },
968
- "parameters": [
969
- {
970
- "name": "id",
971
- "type": {
972
- "text": "string"
973
- }
974
- },
975
- {
976
- "name": "newValue",
977
- "type": {
978
- "text": "Omit<Partial<T>, 'id'>"
979
- }
980
- }
981
- ]
982
- },
983
- {
984
- "kind": "method",
985
- "name": "delete",
986
- "privacy": "public",
987
- "return": {
988
- "type": {
989
- "text": "Promise<DatabaseAccessResult.Delete>"
990
- }
991
- },
992
- "parameters": [
993
- {
994
- "name": "id",
995
- "type": {
996
- "text": "string"
997
- }
998
- }
999
- ]
1000
- },
1001
- {
1002
- "kind": "method",
1003
- "name": "visit",
1004
- "privacy": "public",
1005
- "return": {
1006
- "type": {
1007
- "text": "Promise<void>"
1008
- }
1009
- },
1010
- "parameters": [
1011
- {
1012
- "name": "visitor",
1013
- "type": {
1014
- "text": "(record: T) => void"
1015
- }
1016
- }
1017
- ]
1018
- },
1019
- {
1020
- "kind": "method",
1021
- "name": "onBeforeUpdate",
1022
- "privacy": "public",
1023
- "return": {
1024
- "type": {
1025
- "text": "() => void"
1026
- }
1027
- },
1028
- "parameters": [
1029
- {
1030
- "name": "listener",
1031
- "type": {
1032
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1033
- }
1034
- }
1035
- ]
1036
- },
1037
- {
1038
- "kind": "method",
1039
- "name": "onAfterUpdate",
1040
- "privacy": "public",
1041
- "return": {
1042
- "type": {
1043
- "text": "() => void"
1044
- }
1045
- },
1046
- "parameters": [
1047
- {
1048
- "name": "listener",
1049
- "type": {
1050
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1051
- }
1052
- }
1053
- ]
1054
- }
1055
- ]
1056
- }
1057
- ],
1058
- "exports": [
1059
- {
1060
- "kind": "js",
1061
- "name": "InMemoryDatabase",
1062
- "declaration": {
1063
- "name": "InMemoryDatabase",
1064
- "module": "src/data/inMemoryDatabase.ts"
1065
- }
1066
- }
1067
- ]
1068
- },
1069
- {
1070
- "kind": "javascript-module",
1071
- "path": "src/data/index.ts",
1072
- "declarations": [],
1073
- "exports": [
1074
- {
1075
- "kind": "js",
1076
- "name": "*",
1077
- "declaration": {
1078
- "name": "*",
1079
- "package": "./inMemoryDatabase"
1080
- }
1081
- }
1082
- ]
1083
- },
1084
- {
1085
- "kind": "javascript-module",
1086
- "path": "src/decorators/index.ts",
1087
- "declarations": [],
1088
- "exports": [
1089
- {
1090
- "kind": "js",
1091
- "name": "*",
1092
- "declaration": {
1093
- "name": "*",
1094
- "package": "./renderOnChange"
1095
- }
1096
- }
1097
- ]
1098
- },
1099
- {
1100
- "kind": "javascript-module",
1101
- "path": "src/decorators/renderOnChange.ts",
1102
- "declarations": [
1103
- {
1104
- "kind": "function",
1105
- "name": "renderOnChange",
1106
- "parameters": [
1107
- {
1108
- "name": "target",
1109
- "type": {
1110
- "text": "FASTElement & { render(): void }"
1111
- },
1112
- "description": "The target to define the property change handler on."
1113
- },
1114
- {
1115
- "name": "name",
1116
- "type": {
1117
- "text": "string"
1118
- },
1119
- "description": "The property name."
1120
- }
1121
- ],
1122
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1123
- "privacy": "public"
1124
- }
1125
- ],
1126
- "exports": [
1127
- {
1128
- "kind": "js",
1129
- "name": "renderOnChange",
1130
- "declaration": {
1131
- "name": "renderOnChange",
1132
- "module": "src/decorators/renderOnChange.ts"
1133
- }
1134
- }
1135
- ]
1136
- },
1137
1137
  {
1138
1138
  "kind": "javascript-module",
1139
1139
  "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.409.0-FUI-2495.8",
4
+ "version": "14.409.0-FUI-2495.10",
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.409.0-FUI-2495.8",
33
- "@genesislcap/genx": "14.409.0-FUI-2495.8",
34
- "@genesislcap/rollup-builder": "14.409.0-FUI-2495.8",
35
- "@genesislcap/ts-builder": "14.409.0-FUI-2495.8",
36
- "@genesislcap/uvu-playwright-builder": "14.409.0-FUI-2495.8",
37
- "@genesislcap/vite-builder": "14.409.0-FUI-2495.8",
38
- "@genesislcap/webpack-builder": "14.409.0-FUI-2495.8",
32
+ "@genesislcap/foundation-testing": "14.409.0-FUI-2495.10",
33
+ "@genesislcap/genx": "14.409.0-FUI-2495.10",
34
+ "@genesislcap/rollup-builder": "14.409.0-FUI-2495.10",
35
+ "@genesislcap/ts-builder": "14.409.0-FUI-2495.10",
36
+ "@genesislcap/uvu-playwright-builder": "14.409.0-FUI-2495.10",
37
+ "@genesislcap/vite-builder": "14.409.0-FUI-2495.10",
38
+ "@genesislcap/webpack-builder": "14.409.0-FUI-2495.10",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.409.0-FUI-2495.8",
43
- "@genesislcap/foundation-logger": "14.409.0-FUI-2495.8",
42
+ "@genesislcap/expression-builder": "14.409.0-FUI-2495.10",
43
+ "@genesislcap/foundation-logger": "14.409.0-FUI-2495.10",
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": "812966c213d406bf4a31c74a54287ed1f98539c8"
61
+ "gitHead": "039676fd99a30533b83b083203961daa05baeb97"
62
62
  }