@genesislcap/foundation-utils 14.202.1-alpha-77ef7ac.0 → 14.202.1-alpha-271f747.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +251 -251
- package/package.json +10 -10
@@ -182,6 +182,204 @@
|
|
182
182
|
}
|
183
183
|
]
|
184
184
|
},
|
185
|
+
{
|
186
|
+
"kind": "javascript-module",
|
187
|
+
"path": "src/data/inMemoryDatabase.ts",
|
188
|
+
"declarations": [
|
189
|
+
{
|
190
|
+
"kind": "class",
|
191
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
192
|
+
"name": "InMemoryDatabase",
|
193
|
+
"members": [
|
194
|
+
{
|
195
|
+
"kind": "field",
|
196
|
+
"name": "isWorking",
|
197
|
+
"type": {
|
198
|
+
"text": "boolean"
|
199
|
+
},
|
200
|
+
"privacy": "public",
|
201
|
+
"default": "false"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"kind": "field",
|
205
|
+
"name": "records",
|
206
|
+
"type": {
|
207
|
+
"text": "Record<string, T>"
|
208
|
+
},
|
209
|
+
"privacy": "private",
|
210
|
+
"default": "{}"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"kind": "field",
|
214
|
+
"name": "beforeUpdateListeners",
|
215
|
+
"privacy": "private"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"kind": "field",
|
219
|
+
"name": "afterUpdateListeners",
|
220
|
+
"privacy": "private"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"kind": "method",
|
224
|
+
"name": "create",
|
225
|
+
"privacy": "public",
|
226
|
+
"return": {
|
227
|
+
"type": {
|
228
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
229
|
+
}
|
230
|
+
},
|
231
|
+
"parameters": [
|
232
|
+
{
|
233
|
+
"name": "newValue",
|
234
|
+
"type": {
|
235
|
+
"text": "Omit<T, 'id'>"
|
236
|
+
}
|
237
|
+
}
|
238
|
+
]
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"kind": "method",
|
242
|
+
"name": "read",
|
243
|
+
"privacy": "public",
|
244
|
+
"return": {
|
245
|
+
"type": {
|
246
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
247
|
+
}
|
248
|
+
},
|
249
|
+
"parameters": [
|
250
|
+
{
|
251
|
+
"name": "id",
|
252
|
+
"type": {
|
253
|
+
"text": "string"
|
254
|
+
}
|
255
|
+
}
|
256
|
+
]
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"kind": "method",
|
260
|
+
"name": "update",
|
261
|
+
"privacy": "public",
|
262
|
+
"return": {
|
263
|
+
"type": {
|
264
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
265
|
+
}
|
266
|
+
},
|
267
|
+
"parameters": [
|
268
|
+
{
|
269
|
+
"name": "id",
|
270
|
+
"type": {
|
271
|
+
"text": "string"
|
272
|
+
}
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"name": "newValue",
|
276
|
+
"type": {
|
277
|
+
"text": "Omit<Partial<T>, 'id'>"
|
278
|
+
}
|
279
|
+
}
|
280
|
+
]
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"kind": "method",
|
284
|
+
"name": "delete",
|
285
|
+
"privacy": "public",
|
286
|
+
"return": {
|
287
|
+
"type": {
|
288
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"parameters": [
|
292
|
+
{
|
293
|
+
"name": "id",
|
294
|
+
"type": {
|
295
|
+
"text": "string"
|
296
|
+
}
|
297
|
+
}
|
298
|
+
]
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"kind": "method",
|
302
|
+
"name": "visit",
|
303
|
+
"privacy": "public",
|
304
|
+
"return": {
|
305
|
+
"type": {
|
306
|
+
"text": "Promise<void>"
|
307
|
+
}
|
308
|
+
},
|
309
|
+
"parameters": [
|
310
|
+
{
|
311
|
+
"name": "visitor",
|
312
|
+
"type": {
|
313
|
+
"text": "(record: T) => void"
|
314
|
+
}
|
315
|
+
}
|
316
|
+
]
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"kind": "method",
|
320
|
+
"name": "onBeforeUpdate",
|
321
|
+
"privacy": "public",
|
322
|
+
"return": {
|
323
|
+
"type": {
|
324
|
+
"text": "() => void"
|
325
|
+
}
|
326
|
+
},
|
327
|
+
"parameters": [
|
328
|
+
{
|
329
|
+
"name": "listener",
|
330
|
+
"type": {
|
331
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
332
|
+
}
|
333
|
+
}
|
334
|
+
]
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"kind": "method",
|
338
|
+
"name": "onAfterUpdate",
|
339
|
+
"privacy": "public",
|
340
|
+
"return": {
|
341
|
+
"type": {
|
342
|
+
"text": "() => void"
|
343
|
+
}
|
344
|
+
},
|
345
|
+
"parameters": [
|
346
|
+
{
|
347
|
+
"name": "listener",
|
348
|
+
"type": {
|
349
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
350
|
+
}
|
351
|
+
}
|
352
|
+
]
|
353
|
+
}
|
354
|
+
]
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"exports": [
|
358
|
+
{
|
359
|
+
"kind": "js",
|
360
|
+
"name": "InMemoryDatabase",
|
361
|
+
"declaration": {
|
362
|
+
"name": "InMemoryDatabase",
|
363
|
+
"module": "src/data/inMemoryDatabase.ts"
|
364
|
+
}
|
365
|
+
}
|
366
|
+
]
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"kind": "javascript-module",
|
370
|
+
"path": "src/data/index.ts",
|
371
|
+
"declarations": [],
|
372
|
+
"exports": [
|
373
|
+
{
|
374
|
+
"kind": "js",
|
375
|
+
"name": "*",
|
376
|
+
"declaration": {
|
377
|
+
"name": "*",
|
378
|
+
"package": "./inMemoryDatabase"
|
379
|
+
}
|
380
|
+
}
|
381
|
+
]
|
382
|
+
},
|
185
383
|
{
|
186
384
|
"kind": "javascript-module",
|
187
385
|
"path": "src/env/index.ts",
|
@@ -420,6 +618,59 @@
|
|
420
618
|
}
|
421
619
|
]
|
422
620
|
},
|
621
|
+
{
|
622
|
+
"kind": "javascript-module",
|
623
|
+
"path": "src/decorators/index.ts",
|
624
|
+
"declarations": [],
|
625
|
+
"exports": [
|
626
|
+
{
|
627
|
+
"kind": "js",
|
628
|
+
"name": "*",
|
629
|
+
"declaration": {
|
630
|
+
"name": "*",
|
631
|
+
"package": "./renderOnChange"
|
632
|
+
}
|
633
|
+
}
|
634
|
+
]
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"kind": "javascript-module",
|
638
|
+
"path": "src/decorators/renderOnChange.ts",
|
639
|
+
"declarations": [
|
640
|
+
{
|
641
|
+
"kind": "function",
|
642
|
+
"name": "renderOnChange",
|
643
|
+
"parameters": [
|
644
|
+
{
|
645
|
+
"name": "target",
|
646
|
+
"type": {
|
647
|
+
"text": "FASTElement & { render(): void }"
|
648
|
+
},
|
649
|
+
"description": "The target to define the property change handler on."
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"name": "name",
|
653
|
+
"type": {
|
654
|
+
"text": "string"
|
655
|
+
},
|
656
|
+
"description": "The property name."
|
657
|
+
}
|
658
|
+
],
|
659
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
660
|
+
"privacy": "public"
|
661
|
+
}
|
662
|
+
],
|
663
|
+
"exports": [
|
664
|
+
{
|
665
|
+
"kind": "js",
|
666
|
+
"name": "renderOnChange",
|
667
|
+
"declaration": {
|
668
|
+
"name": "renderOnChange",
|
669
|
+
"module": "src/decorators/renderOnChange.ts"
|
670
|
+
}
|
671
|
+
}
|
672
|
+
]
|
673
|
+
},
|
423
674
|
{
|
424
675
|
"kind": "javascript-module",
|
425
676
|
"path": "src/error/errorMap.ts",
|
@@ -619,59 +870,6 @@
|
|
619
870
|
}
|
620
871
|
]
|
621
872
|
},
|
622
|
-
{
|
623
|
-
"kind": "javascript-module",
|
624
|
-
"path": "src/decorators/index.ts",
|
625
|
-
"declarations": [],
|
626
|
-
"exports": [
|
627
|
-
{
|
628
|
-
"kind": "js",
|
629
|
-
"name": "*",
|
630
|
-
"declaration": {
|
631
|
-
"name": "*",
|
632
|
-
"package": "./renderOnChange"
|
633
|
-
}
|
634
|
-
}
|
635
|
-
]
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"kind": "javascript-module",
|
639
|
-
"path": "src/decorators/renderOnChange.ts",
|
640
|
-
"declarations": [
|
641
|
-
{
|
642
|
-
"kind": "function",
|
643
|
-
"name": "renderOnChange",
|
644
|
-
"parameters": [
|
645
|
-
{
|
646
|
-
"name": "target",
|
647
|
-
"type": {
|
648
|
-
"text": "FASTElement & { render(): void }"
|
649
|
-
},
|
650
|
-
"description": "The target to define the property change handler on."
|
651
|
-
},
|
652
|
-
{
|
653
|
-
"name": "name",
|
654
|
-
"type": {
|
655
|
-
"text": "string"
|
656
|
-
},
|
657
|
-
"description": "The property name."
|
658
|
-
}
|
659
|
-
],
|
660
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
661
|
-
"privacy": "public"
|
662
|
-
}
|
663
|
-
],
|
664
|
-
"exports": [
|
665
|
-
{
|
666
|
-
"kind": "js",
|
667
|
-
"name": "renderOnChange",
|
668
|
-
"declaration": {
|
669
|
-
"name": "renderOnChange",
|
670
|
-
"module": "src/decorators/renderOnChange.ts"
|
671
|
-
}
|
672
|
-
}
|
673
|
-
]
|
674
|
-
},
|
675
873
|
{
|
676
874
|
"kind": "javascript-module",
|
677
875
|
"path": "src/design-system/design-system.ts",
|
@@ -1259,204 +1457,6 @@
|
|
1259
1457
|
}
|
1260
1458
|
]
|
1261
1459
|
},
|
1262
|
-
{
|
1263
|
-
"kind": "javascript-module",
|
1264
|
-
"path": "src/data/inMemoryDatabase.ts",
|
1265
|
-
"declarations": [
|
1266
|
-
{
|
1267
|
-
"kind": "class",
|
1268
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
1269
|
-
"name": "InMemoryDatabase",
|
1270
|
-
"members": [
|
1271
|
-
{
|
1272
|
-
"kind": "field",
|
1273
|
-
"name": "isWorking",
|
1274
|
-
"type": {
|
1275
|
-
"text": "boolean"
|
1276
|
-
},
|
1277
|
-
"privacy": "public",
|
1278
|
-
"default": "false"
|
1279
|
-
},
|
1280
|
-
{
|
1281
|
-
"kind": "field",
|
1282
|
-
"name": "records",
|
1283
|
-
"type": {
|
1284
|
-
"text": "Record<string, T>"
|
1285
|
-
},
|
1286
|
-
"privacy": "private",
|
1287
|
-
"default": "{}"
|
1288
|
-
},
|
1289
|
-
{
|
1290
|
-
"kind": "field",
|
1291
|
-
"name": "beforeUpdateListeners",
|
1292
|
-
"privacy": "private"
|
1293
|
-
},
|
1294
|
-
{
|
1295
|
-
"kind": "field",
|
1296
|
-
"name": "afterUpdateListeners",
|
1297
|
-
"privacy": "private"
|
1298
|
-
},
|
1299
|
-
{
|
1300
|
-
"kind": "method",
|
1301
|
-
"name": "create",
|
1302
|
-
"privacy": "public",
|
1303
|
-
"return": {
|
1304
|
-
"type": {
|
1305
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
1306
|
-
}
|
1307
|
-
},
|
1308
|
-
"parameters": [
|
1309
|
-
{
|
1310
|
-
"name": "newValue",
|
1311
|
-
"type": {
|
1312
|
-
"text": "Omit<T, 'id'>"
|
1313
|
-
}
|
1314
|
-
}
|
1315
|
-
]
|
1316
|
-
},
|
1317
|
-
{
|
1318
|
-
"kind": "method",
|
1319
|
-
"name": "read",
|
1320
|
-
"privacy": "public",
|
1321
|
-
"return": {
|
1322
|
-
"type": {
|
1323
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
1324
|
-
}
|
1325
|
-
},
|
1326
|
-
"parameters": [
|
1327
|
-
{
|
1328
|
-
"name": "id",
|
1329
|
-
"type": {
|
1330
|
-
"text": "string"
|
1331
|
-
}
|
1332
|
-
}
|
1333
|
-
]
|
1334
|
-
},
|
1335
|
-
{
|
1336
|
-
"kind": "method",
|
1337
|
-
"name": "update",
|
1338
|
-
"privacy": "public",
|
1339
|
-
"return": {
|
1340
|
-
"type": {
|
1341
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
1342
|
-
}
|
1343
|
-
},
|
1344
|
-
"parameters": [
|
1345
|
-
{
|
1346
|
-
"name": "id",
|
1347
|
-
"type": {
|
1348
|
-
"text": "string"
|
1349
|
-
}
|
1350
|
-
},
|
1351
|
-
{
|
1352
|
-
"name": "newValue",
|
1353
|
-
"type": {
|
1354
|
-
"text": "Omit<Partial<T>, 'id'>"
|
1355
|
-
}
|
1356
|
-
}
|
1357
|
-
]
|
1358
|
-
},
|
1359
|
-
{
|
1360
|
-
"kind": "method",
|
1361
|
-
"name": "delete",
|
1362
|
-
"privacy": "public",
|
1363
|
-
"return": {
|
1364
|
-
"type": {
|
1365
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
1366
|
-
}
|
1367
|
-
},
|
1368
|
-
"parameters": [
|
1369
|
-
{
|
1370
|
-
"name": "id",
|
1371
|
-
"type": {
|
1372
|
-
"text": "string"
|
1373
|
-
}
|
1374
|
-
}
|
1375
|
-
]
|
1376
|
-
},
|
1377
|
-
{
|
1378
|
-
"kind": "method",
|
1379
|
-
"name": "visit",
|
1380
|
-
"privacy": "public",
|
1381
|
-
"return": {
|
1382
|
-
"type": {
|
1383
|
-
"text": "Promise<void>"
|
1384
|
-
}
|
1385
|
-
},
|
1386
|
-
"parameters": [
|
1387
|
-
{
|
1388
|
-
"name": "visitor",
|
1389
|
-
"type": {
|
1390
|
-
"text": "(record: T) => void"
|
1391
|
-
}
|
1392
|
-
}
|
1393
|
-
]
|
1394
|
-
},
|
1395
|
-
{
|
1396
|
-
"kind": "method",
|
1397
|
-
"name": "onBeforeUpdate",
|
1398
|
-
"privacy": "public",
|
1399
|
-
"return": {
|
1400
|
-
"type": {
|
1401
|
-
"text": "() => void"
|
1402
|
-
}
|
1403
|
-
},
|
1404
|
-
"parameters": [
|
1405
|
-
{
|
1406
|
-
"name": "listener",
|
1407
|
-
"type": {
|
1408
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
1409
|
-
}
|
1410
|
-
}
|
1411
|
-
]
|
1412
|
-
},
|
1413
|
-
{
|
1414
|
-
"kind": "method",
|
1415
|
-
"name": "onAfterUpdate",
|
1416
|
-
"privacy": "public",
|
1417
|
-
"return": {
|
1418
|
-
"type": {
|
1419
|
-
"text": "() => void"
|
1420
|
-
}
|
1421
|
-
},
|
1422
|
-
"parameters": [
|
1423
|
-
{
|
1424
|
-
"name": "listener",
|
1425
|
-
"type": {
|
1426
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
1427
|
-
}
|
1428
|
-
}
|
1429
|
-
]
|
1430
|
-
}
|
1431
|
-
]
|
1432
|
-
}
|
1433
|
-
],
|
1434
|
-
"exports": [
|
1435
|
-
{
|
1436
|
-
"kind": "js",
|
1437
|
-
"name": "InMemoryDatabase",
|
1438
|
-
"declaration": {
|
1439
|
-
"name": "InMemoryDatabase",
|
1440
|
-
"module": "src/data/inMemoryDatabase.ts"
|
1441
|
-
}
|
1442
|
-
}
|
1443
|
-
]
|
1444
|
-
},
|
1445
|
-
{
|
1446
|
-
"kind": "javascript-module",
|
1447
|
-
"path": "src/data/index.ts",
|
1448
|
-
"declarations": [],
|
1449
|
-
"exports": [
|
1450
|
-
{
|
1451
|
-
"kind": "js",
|
1452
|
-
"name": "*",
|
1453
|
-
"declaration": {
|
1454
|
-
"name": "*",
|
1455
|
-
"package": "./inMemoryDatabase"
|
1456
|
-
}
|
1457
|
-
}
|
1458
|
-
]
|
1459
|
-
},
|
1460
1460
|
{
|
1461
1461
|
"kind": "javascript-module",
|
1462
1462
|
"path": "src/resource/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.202.1-alpha-
|
4
|
+
"version": "14.202.1-alpha-271f747.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.202.1-alpha-
|
31
|
-
"@genesislcap/genx": "14.202.1-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.202.1-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.202.1-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.202.1-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.202.1-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.202.1-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.202.1-alpha-271f747.0",
|
31
|
+
"@genesislcap/genx": "14.202.1-alpha-271f747.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.202.1-alpha-271f747.0",
|
33
|
+
"@genesislcap/ts-builder": "14.202.1-alpha-271f747.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.202.1-alpha-271f747.0",
|
35
|
+
"@genesislcap/vite-builder": "14.202.1-alpha-271f747.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.202.1-alpha-271f747.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.202.1-alpha-
|
40
|
+
"@genesislcap/foundation-logger": "14.202.1-alpha-271f747.0",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.0",
|
43
43
|
"@microsoft/fast-foundation": "^2.49.4",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "b5bf689b2c306d4fd5f04e2e1d403ec43cac828a"
|
59
59
|
}
|