@genesislcap/foundation-utils 14.225.2-alpha-9256cb8.0 → 14.225.2-alpha-a585c9d.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +303 -303
  2. package/package.json +10 -10
@@ -161,307 +161,6 @@
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
- },
362
- {
363
- "kind": "javascript-module",
364
- "path": "src/decorators/index.ts",
365
- "declarations": [],
366
- "exports": [
367
- {
368
- "kind": "js",
369
- "name": "*",
370
- "declaration": {
371
- "name": "*",
372
- "package": "./renderOnChange"
373
- }
374
- }
375
- ]
376
- },
377
- {
378
- "kind": "javascript-module",
379
- "path": "src/decorators/renderOnChange.ts",
380
- "declarations": [
381
- {
382
- "kind": "function",
383
- "name": "renderOnChange",
384
- "parameters": [
385
- {
386
- "name": "target",
387
- "type": {
388
- "text": "FASTElement & { render(): void }"
389
- },
390
- "description": "The target to define the property change handler on."
391
- },
392
- {
393
- "name": "name",
394
- "type": {
395
- "text": "string"
396
- },
397
- "description": "The property name."
398
- }
399
- ],
400
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
401
- "privacy": "public"
402
- }
403
- ],
404
- "exports": [
405
- {
406
- "kind": "js",
407
- "name": "renderOnChange",
408
- "declaration": {
409
- "name": "renderOnChange",
410
- "module": "src/decorators/renderOnChange.ts"
411
- }
412
- }
413
- ]
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
- },
465
164
  {
466
165
  "kind": "javascript-module",
467
166
  "path": "src/directives/index.ts",
@@ -909,7 +608,57 @@
909
608
  },
910
609
  {
911
610
  "kind": "javascript-module",
912
- "path": "src/error/index.ts",
611
+ "path": "src/error/index.ts",
612
+ "declarations": [],
613
+ "exports": [
614
+ {
615
+ "kind": "js",
616
+ "name": "*",
617
+ "declaration": {
618
+ "name": "*",
619
+ "package": "./errorMap"
620
+ }
621
+ }
622
+ ]
623
+ },
624
+ {
625
+ "kind": "javascript-module",
626
+ "path": "src/design-system/design-system.ts",
627
+ "declarations": [
628
+ {
629
+ "kind": "function",
630
+ "name": "assureDesignSystem",
631
+ "return": {
632
+ "type": {
633
+ "text": "DesignSystemModule"
634
+ }
635
+ },
636
+ "parameters": [
637
+ {
638
+ "name": "module",
639
+ "type": {
640
+ "text": "DesignSystemModule"
641
+ }
642
+ }
643
+ ],
644
+ "description": "assureDesignSystem.",
645
+ "privacy": "public"
646
+ }
647
+ ],
648
+ "exports": [
649
+ {
650
+ "kind": "js",
651
+ "name": "assureDesignSystem",
652
+ "declaration": {
653
+ "name": "assureDesignSystem",
654
+ "module": "src/design-system/design-system.ts"
655
+ }
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "kind": "javascript-module",
661
+ "path": "src/design-system/index.ts",
913
662
  "declarations": [],
914
663
  "exports": [
915
664
  {
@@ -917,7 +666,7 @@
917
666
  "name": "*",
918
667
  "declaration": {
919
668
  "name": "*",
920
- "package": "./errorMap"
669
+ "package": "./design-system"
921
670
  }
922
671
  }
923
672
  ]
@@ -1207,6 +956,257 @@
1207
956
  }
1208
957
  ]
1209
958
  },
959
+ {
960
+ "kind": "javascript-module",
961
+ "path": "src/decorators/index.ts",
962
+ "declarations": [],
963
+ "exports": [
964
+ {
965
+ "kind": "js",
966
+ "name": "*",
967
+ "declaration": {
968
+ "name": "*",
969
+ "package": "./renderOnChange"
970
+ }
971
+ }
972
+ ]
973
+ },
974
+ {
975
+ "kind": "javascript-module",
976
+ "path": "src/decorators/renderOnChange.ts",
977
+ "declarations": [
978
+ {
979
+ "kind": "function",
980
+ "name": "renderOnChange",
981
+ "parameters": [
982
+ {
983
+ "name": "target",
984
+ "type": {
985
+ "text": "FASTElement & { render(): void }"
986
+ },
987
+ "description": "The target to define the property change handler on."
988
+ },
989
+ {
990
+ "name": "name",
991
+ "type": {
992
+ "text": "string"
993
+ },
994
+ "description": "The property name."
995
+ }
996
+ ],
997
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
998
+ "privacy": "public"
999
+ }
1000
+ ],
1001
+ "exports": [
1002
+ {
1003
+ "kind": "js",
1004
+ "name": "renderOnChange",
1005
+ "declaration": {
1006
+ "name": "renderOnChange",
1007
+ "module": "src/decorators/renderOnChange.ts"
1008
+ }
1009
+ }
1010
+ ]
1011
+ },
1012
+ {
1013
+ "kind": "javascript-module",
1014
+ "path": "src/data/inMemoryDatabase.ts",
1015
+ "declarations": [
1016
+ {
1017
+ "kind": "class",
1018
+ "description": "An in memory database of specific DatabaseRecord types.",
1019
+ "name": "InMemoryDatabase",
1020
+ "members": [
1021
+ {
1022
+ "kind": "field",
1023
+ "name": "isWorking",
1024
+ "type": {
1025
+ "text": "boolean"
1026
+ },
1027
+ "privacy": "public",
1028
+ "default": "false"
1029
+ },
1030
+ {
1031
+ "kind": "field",
1032
+ "name": "records",
1033
+ "type": {
1034
+ "text": "Record<string, T>"
1035
+ },
1036
+ "privacy": "private",
1037
+ "default": "{}"
1038
+ },
1039
+ {
1040
+ "kind": "field",
1041
+ "name": "beforeUpdateListeners",
1042
+ "privacy": "private"
1043
+ },
1044
+ {
1045
+ "kind": "field",
1046
+ "name": "afterUpdateListeners",
1047
+ "privacy": "private"
1048
+ },
1049
+ {
1050
+ "kind": "method",
1051
+ "name": "create",
1052
+ "privacy": "public",
1053
+ "return": {
1054
+ "type": {
1055
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
1056
+ }
1057
+ },
1058
+ "parameters": [
1059
+ {
1060
+ "name": "newValue",
1061
+ "type": {
1062
+ "text": "Omit<T, 'id'>"
1063
+ }
1064
+ }
1065
+ ]
1066
+ },
1067
+ {
1068
+ "kind": "method",
1069
+ "name": "read",
1070
+ "privacy": "public",
1071
+ "return": {
1072
+ "type": {
1073
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
1074
+ }
1075
+ },
1076
+ "parameters": [
1077
+ {
1078
+ "name": "id",
1079
+ "type": {
1080
+ "text": "string"
1081
+ }
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "kind": "method",
1087
+ "name": "update",
1088
+ "privacy": "public",
1089
+ "return": {
1090
+ "type": {
1091
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
1092
+ }
1093
+ },
1094
+ "parameters": [
1095
+ {
1096
+ "name": "id",
1097
+ "type": {
1098
+ "text": "string"
1099
+ }
1100
+ },
1101
+ {
1102
+ "name": "newValue",
1103
+ "type": {
1104
+ "text": "Omit<Partial<T>, 'id'>"
1105
+ }
1106
+ }
1107
+ ]
1108
+ },
1109
+ {
1110
+ "kind": "method",
1111
+ "name": "delete",
1112
+ "privacy": "public",
1113
+ "return": {
1114
+ "type": {
1115
+ "text": "Promise<DatabaseAccessResult.Delete>"
1116
+ }
1117
+ },
1118
+ "parameters": [
1119
+ {
1120
+ "name": "id",
1121
+ "type": {
1122
+ "text": "string"
1123
+ }
1124
+ }
1125
+ ]
1126
+ },
1127
+ {
1128
+ "kind": "method",
1129
+ "name": "visit",
1130
+ "privacy": "public",
1131
+ "return": {
1132
+ "type": {
1133
+ "text": "Promise<void>"
1134
+ }
1135
+ },
1136
+ "parameters": [
1137
+ {
1138
+ "name": "visitor",
1139
+ "type": {
1140
+ "text": "(record: T) => void"
1141
+ }
1142
+ }
1143
+ ]
1144
+ },
1145
+ {
1146
+ "kind": "method",
1147
+ "name": "onBeforeUpdate",
1148
+ "privacy": "public",
1149
+ "return": {
1150
+ "type": {
1151
+ "text": "() => void"
1152
+ }
1153
+ },
1154
+ "parameters": [
1155
+ {
1156
+ "name": "listener",
1157
+ "type": {
1158
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1159
+ }
1160
+ }
1161
+ ]
1162
+ },
1163
+ {
1164
+ "kind": "method",
1165
+ "name": "onAfterUpdate",
1166
+ "privacy": "public",
1167
+ "return": {
1168
+ "type": {
1169
+ "text": "() => void"
1170
+ }
1171
+ },
1172
+ "parameters": [
1173
+ {
1174
+ "name": "listener",
1175
+ "type": {
1176
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1177
+ }
1178
+ }
1179
+ ]
1180
+ }
1181
+ ]
1182
+ }
1183
+ ],
1184
+ "exports": [
1185
+ {
1186
+ "kind": "js",
1187
+ "name": "InMemoryDatabase",
1188
+ "declaration": {
1189
+ "name": "InMemoryDatabase",
1190
+ "module": "src/data/inMemoryDatabase.ts"
1191
+ }
1192
+ }
1193
+ ]
1194
+ },
1195
+ {
1196
+ "kind": "javascript-module",
1197
+ "path": "src/data/index.ts",
1198
+ "declarations": [],
1199
+ "exports": [
1200
+ {
1201
+ "kind": "js",
1202
+ "name": "*",
1203
+ "declaration": {
1204
+ "name": "*",
1205
+ "package": "./inMemoryDatabase"
1206
+ }
1207
+ }
1208
+ ]
1209
+ },
1210
1210
  {
1211
1211
  "kind": "javascript-module",
1212
1212
  "path": "src/logger/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.225.2-alpha-9256cb8.0",
4
+ "version": "14.225.2-alpha-a585c9d.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-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",
30
+ "@genesislcap/foundation-testing": "14.225.2-alpha-a585c9d.0",
31
+ "@genesislcap/genx": "14.225.2-alpha-a585c9d.0",
32
+ "@genesislcap/rollup-builder": "14.225.2-alpha-a585c9d.0",
33
+ "@genesislcap/ts-builder": "14.225.2-alpha-a585c9d.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.225.2-alpha-a585c9d.0",
35
+ "@genesislcap/vite-builder": "14.225.2-alpha-a585c9d.0",
36
+ "@genesislcap/webpack-builder": "14.225.2-alpha-a585c9d.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.225.2-alpha-9256cb8.0",
40
+ "@genesislcap/foundation-logger": "14.225.2-alpha-a585c9d.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": "0ff7bf51c67a95415ea9ba050104add9e4e62283"
58
+ "gitHead": "a2583c43700e7ab484fa6d6c57d3a674547d0937"
59
59
  }