@genesislcap/foundation-utils 14.230.2 → 14.231.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +440 -440
- package/package.json +10 -10
@@ -171,190 +171,30 @@
|
|
171
171
|
},
|
172
172
|
{
|
173
173
|
"kind": "javascript-module",
|
174
|
-
"path": "src/
|
175
|
-
"declarations": [
|
176
|
-
{
|
177
|
-
"kind": "class",
|
178
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
179
|
-
"name": "InMemoryDatabase",
|
180
|
-
"members": [
|
181
|
-
{
|
182
|
-
"kind": "field",
|
183
|
-
"name": "isWorking",
|
184
|
-
"type": {
|
185
|
-
"text": "boolean"
|
186
|
-
},
|
187
|
-
"privacy": "public",
|
188
|
-
"default": "false"
|
189
|
-
},
|
190
|
-
{
|
191
|
-
"kind": "field",
|
192
|
-
"name": "records",
|
193
|
-
"type": {
|
194
|
-
"text": "Record<string, T>"
|
195
|
-
},
|
196
|
-
"privacy": "private",
|
197
|
-
"default": "{}"
|
198
|
-
},
|
199
|
-
{
|
200
|
-
"kind": "field",
|
201
|
-
"name": "beforeUpdateListeners",
|
202
|
-
"privacy": "private"
|
203
|
-
},
|
204
|
-
{
|
205
|
-
"kind": "field",
|
206
|
-
"name": "afterUpdateListeners",
|
207
|
-
"privacy": "private"
|
208
|
-
},
|
209
|
-
{
|
210
|
-
"kind": "method",
|
211
|
-
"name": "create",
|
212
|
-
"privacy": "public",
|
213
|
-
"return": {
|
214
|
-
"type": {
|
215
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
216
|
-
}
|
217
|
-
},
|
218
|
-
"parameters": [
|
219
|
-
{
|
220
|
-
"name": "newValue",
|
221
|
-
"type": {
|
222
|
-
"text": "Omit<T, 'id'>"
|
223
|
-
}
|
224
|
-
}
|
225
|
-
]
|
226
|
-
},
|
227
|
-
{
|
228
|
-
"kind": "method",
|
229
|
-
"name": "read",
|
230
|
-
"privacy": "public",
|
231
|
-
"return": {
|
232
|
-
"type": {
|
233
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
234
|
-
}
|
235
|
-
},
|
236
|
-
"parameters": [
|
237
|
-
{
|
238
|
-
"name": "id",
|
239
|
-
"type": {
|
240
|
-
"text": "string"
|
241
|
-
}
|
242
|
-
}
|
243
|
-
]
|
244
|
-
},
|
245
|
-
{
|
246
|
-
"kind": "method",
|
247
|
-
"name": "update",
|
248
|
-
"privacy": "public",
|
249
|
-
"return": {
|
250
|
-
"type": {
|
251
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
252
|
-
}
|
253
|
-
},
|
254
|
-
"parameters": [
|
255
|
-
{
|
256
|
-
"name": "id",
|
257
|
-
"type": {
|
258
|
-
"text": "string"
|
259
|
-
}
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"name": "newValue",
|
263
|
-
"type": {
|
264
|
-
"text": "Omit<Partial<T>, 'id'>"
|
265
|
-
}
|
266
|
-
}
|
267
|
-
]
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"kind": "method",
|
271
|
-
"name": "delete",
|
272
|
-
"privacy": "public",
|
273
|
-
"return": {
|
274
|
-
"type": {
|
275
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
276
|
-
}
|
277
|
-
},
|
278
|
-
"parameters": [
|
279
|
-
{
|
280
|
-
"name": "id",
|
281
|
-
"type": {
|
282
|
-
"text": "string"
|
283
|
-
}
|
284
|
-
}
|
285
|
-
]
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"kind": "method",
|
289
|
-
"name": "visit",
|
290
|
-
"privacy": "public",
|
291
|
-
"return": {
|
292
|
-
"type": {
|
293
|
-
"text": "Promise<void>"
|
294
|
-
}
|
295
|
-
},
|
296
|
-
"parameters": [
|
297
|
-
{
|
298
|
-
"name": "visitor",
|
299
|
-
"type": {
|
300
|
-
"text": "(record: T) => void"
|
301
|
-
}
|
302
|
-
}
|
303
|
-
]
|
304
|
-
},
|
305
|
-
{
|
306
|
-
"kind": "method",
|
307
|
-
"name": "onBeforeUpdate",
|
308
|
-
"privacy": "public",
|
309
|
-
"return": {
|
310
|
-
"type": {
|
311
|
-
"text": "() => void"
|
312
|
-
}
|
313
|
-
},
|
314
|
-
"parameters": [
|
315
|
-
{
|
316
|
-
"name": "listener",
|
317
|
-
"type": {
|
318
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
319
|
-
}
|
320
|
-
}
|
321
|
-
]
|
322
|
-
},
|
323
|
-
{
|
324
|
-
"kind": "method",
|
325
|
-
"name": "onAfterUpdate",
|
326
|
-
"privacy": "public",
|
327
|
-
"return": {
|
328
|
-
"type": {
|
329
|
-
"text": "() => void"
|
330
|
-
}
|
331
|
-
},
|
332
|
-
"parameters": [
|
333
|
-
{
|
334
|
-
"name": "listener",
|
335
|
-
"type": {
|
336
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
337
|
-
}
|
338
|
-
}
|
339
|
-
]
|
340
|
-
}
|
341
|
-
]
|
342
|
-
}
|
343
|
-
],
|
174
|
+
"path": "src/directives/index.ts",
|
175
|
+
"declarations": [],
|
344
176
|
"exports": [
|
345
177
|
{
|
346
178
|
"kind": "js",
|
347
|
-
"name": "
|
179
|
+
"name": "*",
|
348
180
|
"declaration": {
|
349
|
-
"name": "
|
350
|
-
"
|
181
|
+
"name": "*",
|
182
|
+
"package": "./sync"
|
183
|
+
}
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"kind": "js",
|
187
|
+
"name": "*",
|
188
|
+
"declaration": {
|
189
|
+
"name": "*",
|
190
|
+
"package": "./when-else"
|
351
191
|
}
|
352
192
|
}
|
353
193
|
]
|
354
194
|
},
|
355
195
|
{
|
356
196
|
"kind": "javascript-module",
|
357
|
-
"path": "src/
|
197
|
+
"path": "src/encoding/index.ts",
|
358
198
|
"declarations": [],
|
359
199
|
"exports": [
|
360
200
|
{
|
@@ -362,14 +202,14 @@
|
|
362
202
|
"name": "*",
|
363
203
|
"declaration": {
|
364
204
|
"name": "*",
|
365
|
-
"package": "./
|
205
|
+
"package": "./base64"
|
366
206
|
}
|
367
207
|
}
|
368
208
|
]
|
369
209
|
},
|
370
210
|
{
|
371
211
|
"kind": "javascript-module",
|
372
|
-
"path": "src/
|
212
|
+
"path": "src/env/index.ts",
|
373
213
|
"declarations": [],
|
374
214
|
"exports": [
|
375
215
|
{
|
@@ -377,7 +217,7 @@
|
|
377
217
|
"name": "*",
|
378
218
|
"declaration": {
|
379
219
|
"name": "*",
|
380
|
-
"package": "./
|
220
|
+
"package": "./is-dev"
|
381
221
|
}
|
382
222
|
},
|
383
223
|
{
|
@@ -385,185 +225,44 @@
|
|
385
225
|
"name": "*",
|
386
226
|
"declaration": {
|
387
227
|
"name": "*",
|
388
|
-
"package": "./
|
228
|
+
"package": "./variables"
|
389
229
|
}
|
390
230
|
}
|
391
231
|
]
|
392
232
|
},
|
393
233
|
{
|
394
234
|
"kind": "javascript-module",
|
395
|
-
"path": "src/
|
235
|
+
"path": "src/env/is-dev.ts",
|
396
236
|
"declarations": [
|
397
237
|
{
|
398
238
|
"kind": "function",
|
399
|
-
"name": "
|
400
|
-
"
|
401
|
-
"type": {
|
402
|
-
"text": "DesignSystemModule"
|
403
|
-
}
|
404
|
-
},
|
405
|
-
"parameters": [
|
406
|
-
{
|
407
|
-
"name": "module",
|
408
|
-
"type": {
|
409
|
-
"text": "DesignSystemModule"
|
410
|
-
}
|
411
|
-
}
|
412
|
-
],
|
413
|
-
"description": "assureDesignSystem.",
|
239
|
+
"name": "isDev",
|
240
|
+
"description": "Determines if the current environment is a development environment.",
|
414
241
|
"privacy": "public"
|
415
242
|
}
|
416
243
|
],
|
417
244
|
"exports": [
|
418
245
|
{
|
419
246
|
"kind": "js",
|
420
|
-
"name": "
|
247
|
+
"name": "isDev",
|
421
248
|
"declaration": {
|
422
|
-
"name": "
|
423
|
-
"module": "src/
|
249
|
+
"name": "isDev",
|
250
|
+
"module": "src/env/is-dev.ts"
|
424
251
|
}
|
425
252
|
}
|
426
253
|
]
|
427
254
|
},
|
428
255
|
{
|
429
256
|
"kind": "javascript-module",
|
430
|
-
"path": "src/
|
431
|
-
"declarations": [
|
432
|
-
"exports": [
|
257
|
+
"path": "src/env/variables.ts",
|
258
|
+
"declarations": [
|
433
259
|
{
|
434
|
-
"kind": "
|
435
|
-
"name": "
|
436
|
-
"
|
437
|
-
"
|
438
|
-
"package": "./design-system"
|
260
|
+
"kind": "variable",
|
261
|
+
"name": "BUILDER",
|
262
|
+
"type": {
|
263
|
+
"text": "string"
|
439
264
|
}
|
440
|
-
}
|
441
|
-
]
|
442
|
-
},
|
443
|
-
{
|
444
|
-
"kind": "javascript-module",
|
445
|
-
"path": "src/decorators/index.ts",
|
446
|
-
"declarations": [],
|
447
|
-
"exports": [
|
448
|
-
{
|
449
|
-
"kind": "js",
|
450
|
-
"name": "*",
|
451
|
-
"declaration": {
|
452
|
-
"name": "*",
|
453
|
-
"package": "./renderOnChange"
|
454
|
-
}
|
455
|
-
}
|
456
|
-
]
|
457
|
-
},
|
458
|
-
{
|
459
|
-
"kind": "javascript-module",
|
460
|
-
"path": "src/decorators/renderOnChange.ts",
|
461
|
-
"declarations": [
|
462
|
-
{
|
463
|
-
"kind": "function",
|
464
|
-
"name": "renderOnChange",
|
465
|
-
"parameters": [
|
466
|
-
{
|
467
|
-
"name": "target",
|
468
|
-
"type": {
|
469
|
-
"text": "FASTElement & { render(): void }"
|
470
|
-
},
|
471
|
-
"description": "The target to define the property change handler on."
|
472
|
-
},
|
473
|
-
{
|
474
|
-
"name": "name",
|
475
|
-
"type": {
|
476
|
-
"text": "string"
|
477
|
-
},
|
478
|
-
"description": "The property name."
|
479
|
-
}
|
480
|
-
],
|
481
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
482
|
-
"privacy": "public"
|
483
|
-
}
|
484
|
-
],
|
485
|
-
"exports": [
|
486
|
-
{
|
487
|
-
"kind": "js",
|
488
|
-
"name": "renderOnChange",
|
489
|
-
"declaration": {
|
490
|
-
"name": "renderOnChange",
|
491
|
-
"module": "src/decorators/renderOnChange.ts"
|
492
|
-
}
|
493
|
-
}
|
494
|
-
]
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"kind": "javascript-module",
|
498
|
-
"path": "src/encoding/index.ts",
|
499
|
-
"declarations": [],
|
500
|
-
"exports": [
|
501
|
-
{
|
502
|
-
"kind": "js",
|
503
|
-
"name": "*",
|
504
|
-
"declaration": {
|
505
|
-
"name": "*",
|
506
|
-
"package": "./base64"
|
507
|
-
}
|
508
|
-
}
|
509
|
-
]
|
510
|
-
},
|
511
|
-
{
|
512
|
-
"kind": "javascript-module",
|
513
|
-
"path": "src/env/index.ts",
|
514
|
-
"declarations": [],
|
515
|
-
"exports": [
|
516
|
-
{
|
517
|
-
"kind": "js",
|
518
|
-
"name": "*",
|
519
|
-
"declaration": {
|
520
|
-
"name": "*",
|
521
|
-
"package": "./is-dev"
|
522
|
-
}
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"kind": "js",
|
526
|
-
"name": "*",
|
527
|
-
"declaration": {
|
528
|
-
"name": "*",
|
529
|
-
"package": "./variables"
|
530
|
-
}
|
531
|
-
}
|
532
|
-
]
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"kind": "javascript-module",
|
536
|
-
"path": "src/env/is-dev.ts",
|
537
|
-
"declarations": [
|
538
|
-
{
|
539
|
-
"kind": "function",
|
540
|
-
"name": "isDev",
|
541
|
-
"description": "Determines if the current environment is a development environment.",
|
542
|
-
"privacy": "public"
|
543
|
-
}
|
544
|
-
],
|
545
|
-
"exports": [
|
546
|
-
{
|
547
|
-
"kind": "js",
|
548
|
-
"name": "isDev",
|
549
|
-
"declaration": {
|
550
|
-
"name": "isDev",
|
551
|
-
"module": "src/env/is-dev.ts"
|
552
|
-
}
|
553
|
-
}
|
554
|
-
]
|
555
|
-
},
|
556
|
-
{
|
557
|
-
"kind": "javascript-module",
|
558
|
-
"path": "src/env/variables.ts",
|
559
|
-
"declarations": [
|
560
|
-
{
|
561
|
-
"kind": "variable",
|
562
|
-
"name": "BUILDER",
|
563
|
-
"type": {
|
564
|
-
"text": "string"
|
565
|
-
}
|
566
|
-
},
|
265
|
+
},
|
567
266
|
{
|
568
267
|
"kind": "variable",
|
569
268
|
"name": "_BUILDER",
|
@@ -716,82 +415,333 @@
|
|
716
415
|
"exports": [
|
717
416
|
{
|
718
417
|
"kind": "js",
|
719
|
-
"name": "BUILDER",
|
720
|
-
"declaration": {
|
721
|
-
"name": "_BUILDER",
|
722
|
-
"module": "src/env/variables.ts"
|
723
|
-
}
|
724
|
-
},
|
725
|
-
{
|
726
|
-
"kind": "js",
|
727
|
-
"name": "PUBLIC_PATH",
|
728
|
-
"declaration": {
|
729
|
-
"name": "_PUBLIC_PATH",
|
730
|
-
"module": "src/env/variables.ts"
|
731
|
-
}
|
732
|
-
},
|
733
|
-
{
|
734
|
-
"kind": "js",
|
735
|
-
"name": "SOCKET_EXT",
|
736
|
-
"declaration": {
|
737
|
-
"name": "_SOCKET_EXT",
|
738
|
-
"module": "src/env/variables.ts"
|
739
|
-
}
|
740
|
-
},
|
741
|
-
{
|
742
|
-
"kind": "js",
|
743
|
-
"name": "FORCE_HTTP",
|
744
|
-
"declaration": {
|
745
|
-
"name": "_FORCE_HTTP",
|
746
|
-
"module": "src/env/variables.ts"
|
747
|
-
}
|
748
|
-
},
|
749
|
-
{
|
750
|
-
"kind": "js",
|
751
|
-
"name": "GENESIS_SOCKET_URL",
|
752
|
-
"declaration": {
|
753
|
-
"name": "GENESIS_SOCKET_URL",
|
754
|
-
"module": "src/env/variables.ts"
|
755
|
-
}
|
756
|
-
},
|
757
|
-
{
|
758
|
-
"kind": "js",
|
759
|
-
"name": "API_HOST",
|
760
|
-
"declaration": {
|
761
|
-
"name": "_API_HOST",
|
762
|
-
"module": "src/env/variables.ts"
|
763
|
-
}
|
764
|
-
},
|
765
|
-
{
|
766
|
-
"kind": "js",
|
767
|
-
"name": "HTTP_CONFIG",
|
768
|
-
"declaration": {
|
769
|
-
"name": "_HTTP_CONFIG",
|
770
|
-
"module": "src/env/variables.ts"
|
771
|
-
}
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"kind": "js",
|
775
|
-
"name": "DEFAULT_ORGANISATION",
|
776
|
-
"declaration": {
|
777
|
-
"name": "_DEFAULT_ORGANISATION",
|
778
|
-
"module": "src/env/variables.ts"
|
779
|
-
}
|
780
|
-
},
|
781
|
-
{
|
782
|
-
"kind": "js",
|
783
|
-
"name": "DEFAULT_PASSWORD",
|
418
|
+
"name": "BUILDER",
|
419
|
+
"declaration": {
|
420
|
+
"name": "_BUILDER",
|
421
|
+
"module": "src/env/variables.ts"
|
422
|
+
}
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"kind": "js",
|
426
|
+
"name": "PUBLIC_PATH",
|
427
|
+
"declaration": {
|
428
|
+
"name": "_PUBLIC_PATH",
|
429
|
+
"module": "src/env/variables.ts"
|
430
|
+
}
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"kind": "js",
|
434
|
+
"name": "SOCKET_EXT",
|
435
|
+
"declaration": {
|
436
|
+
"name": "_SOCKET_EXT",
|
437
|
+
"module": "src/env/variables.ts"
|
438
|
+
}
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"kind": "js",
|
442
|
+
"name": "FORCE_HTTP",
|
443
|
+
"declaration": {
|
444
|
+
"name": "_FORCE_HTTP",
|
445
|
+
"module": "src/env/variables.ts"
|
446
|
+
}
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"kind": "js",
|
450
|
+
"name": "GENESIS_SOCKET_URL",
|
451
|
+
"declaration": {
|
452
|
+
"name": "GENESIS_SOCKET_URL",
|
453
|
+
"module": "src/env/variables.ts"
|
454
|
+
}
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"kind": "js",
|
458
|
+
"name": "API_HOST",
|
459
|
+
"declaration": {
|
460
|
+
"name": "_API_HOST",
|
461
|
+
"module": "src/env/variables.ts"
|
462
|
+
}
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"kind": "js",
|
466
|
+
"name": "HTTP_CONFIG",
|
467
|
+
"declaration": {
|
468
|
+
"name": "_HTTP_CONFIG",
|
469
|
+
"module": "src/env/variables.ts"
|
470
|
+
}
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"kind": "js",
|
474
|
+
"name": "DEFAULT_ORGANISATION",
|
475
|
+
"declaration": {
|
476
|
+
"name": "_DEFAULT_ORGANISATION",
|
477
|
+
"module": "src/env/variables.ts"
|
478
|
+
}
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"kind": "js",
|
482
|
+
"name": "DEFAULT_PASSWORD",
|
483
|
+
"declaration": {
|
484
|
+
"name": "_DEFAULT_PASSWORD",
|
485
|
+
"module": "src/env/variables.ts"
|
486
|
+
}
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"kind": "js",
|
490
|
+
"name": "DEFAULT_USER",
|
491
|
+
"declaration": {
|
492
|
+
"name": "_DEFAULT_USER",
|
493
|
+
"module": "src/env/variables.ts"
|
494
|
+
}
|
495
|
+
}
|
496
|
+
]
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"kind": "javascript-module",
|
500
|
+
"path": "src/decorators/index.ts",
|
501
|
+
"declarations": [],
|
502
|
+
"exports": [
|
503
|
+
{
|
504
|
+
"kind": "js",
|
505
|
+
"name": "*",
|
506
|
+
"declaration": {
|
507
|
+
"name": "*",
|
508
|
+
"package": "./renderOnChange"
|
509
|
+
}
|
510
|
+
}
|
511
|
+
]
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"kind": "javascript-module",
|
515
|
+
"path": "src/decorators/renderOnChange.ts",
|
516
|
+
"declarations": [
|
517
|
+
{
|
518
|
+
"kind": "function",
|
519
|
+
"name": "renderOnChange",
|
520
|
+
"parameters": [
|
521
|
+
{
|
522
|
+
"name": "target",
|
523
|
+
"type": {
|
524
|
+
"text": "FASTElement & { render(): void }"
|
525
|
+
},
|
526
|
+
"description": "The target to define the property change handler on."
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"name": "name",
|
530
|
+
"type": {
|
531
|
+
"text": "string"
|
532
|
+
},
|
533
|
+
"description": "The property name."
|
534
|
+
}
|
535
|
+
],
|
536
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
537
|
+
"privacy": "public"
|
538
|
+
}
|
539
|
+
],
|
540
|
+
"exports": [
|
541
|
+
{
|
542
|
+
"kind": "js",
|
543
|
+
"name": "renderOnChange",
|
544
|
+
"declaration": {
|
545
|
+
"name": "renderOnChange",
|
546
|
+
"module": "src/decorators/renderOnChange.ts"
|
547
|
+
}
|
548
|
+
}
|
549
|
+
]
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"kind": "javascript-module",
|
553
|
+
"path": "src/data/inMemoryDatabase.ts",
|
554
|
+
"declarations": [
|
555
|
+
{
|
556
|
+
"kind": "class",
|
557
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
558
|
+
"name": "InMemoryDatabase",
|
559
|
+
"members": [
|
560
|
+
{
|
561
|
+
"kind": "field",
|
562
|
+
"name": "isWorking",
|
563
|
+
"type": {
|
564
|
+
"text": "boolean"
|
565
|
+
},
|
566
|
+
"privacy": "public",
|
567
|
+
"default": "false"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"kind": "field",
|
571
|
+
"name": "records",
|
572
|
+
"type": {
|
573
|
+
"text": "Record<string, T>"
|
574
|
+
},
|
575
|
+
"privacy": "private",
|
576
|
+
"default": "{}"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"kind": "field",
|
580
|
+
"name": "beforeUpdateListeners",
|
581
|
+
"privacy": "private"
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"kind": "field",
|
585
|
+
"name": "afterUpdateListeners",
|
586
|
+
"privacy": "private"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"kind": "method",
|
590
|
+
"name": "create",
|
591
|
+
"privacy": "public",
|
592
|
+
"return": {
|
593
|
+
"type": {
|
594
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
595
|
+
}
|
596
|
+
},
|
597
|
+
"parameters": [
|
598
|
+
{
|
599
|
+
"name": "newValue",
|
600
|
+
"type": {
|
601
|
+
"text": "Omit<T, 'id'>"
|
602
|
+
}
|
603
|
+
}
|
604
|
+
]
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"kind": "method",
|
608
|
+
"name": "read",
|
609
|
+
"privacy": "public",
|
610
|
+
"return": {
|
611
|
+
"type": {
|
612
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
613
|
+
}
|
614
|
+
},
|
615
|
+
"parameters": [
|
616
|
+
{
|
617
|
+
"name": "id",
|
618
|
+
"type": {
|
619
|
+
"text": "string"
|
620
|
+
}
|
621
|
+
}
|
622
|
+
]
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"kind": "method",
|
626
|
+
"name": "update",
|
627
|
+
"privacy": "public",
|
628
|
+
"return": {
|
629
|
+
"type": {
|
630
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
631
|
+
}
|
632
|
+
},
|
633
|
+
"parameters": [
|
634
|
+
{
|
635
|
+
"name": "id",
|
636
|
+
"type": {
|
637
|
+
"text": "string"
|
638
|
+
}
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"name": "newValue",
|
642
|
+
"type": {
|
643
|
+
"text": "Omit<Partial<T>, 'id'>"
|
644
|
+
}
|
645
|
+
}
|
646
|
+
]
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"kind": "method",
|
650
|
+
"name": "delete",
|
651
|
+
"privacy": "public",
|
652
|
+
"return": {
|
653
|
+
"type": {
|
654
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
655
|
+
}
|
656
|
+
},
|
657
|
+
"parameters": [
|
658
|
+
{
|
659
|
+
"name": "id",
|
660
|
+
"type": {
|
661
|
+
"text": "string"
|
662
|
+
}
|
663
|
+
}
|
664
|
+
]
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"kind": "method",
|
668
|
+
"name": "visit",
|
669
|
+
"privacy": "public",
|
670
|
+
"return": {
|
671
|
+
"type": {
|
672
|
+
"text": "Promise<void>"
|
673
|
+
}
|
674
|
+
},
|
675
|
+
"parameters": [
|
676
|
+
{
|
677
|
+
"name": "visitor",
|
678
|
+
"type": {
|
679
|
+
"text": "(record: T) => void"
|
680
|
+
}
|
681
|
+
}
|
682
|
+
]
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"kind": "method",
|
686
|
+
"name": "onBeforeUpdate",
|
687
|
+
"privacy": "public",
|
688
|
+
"return": {
|
689
|
+
"type": {
|
690
|
+
"text": "() => void"
|
691
|
+
}
|
692
|
+
},
|
693
|
+
"parameters": [
|
694
|
+
{
|
695
|
+
"name": "listener",
|
696
|
+
"type": {
|
697
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
698
|
+
}
|
699
|
+
}
|
700
|
+
]
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"kind": "method",
|
704
|
+
"name": "onAfterUpdate",
|
705
|
+
"privacy": "public",
|
706
|
+
"return": {
|
707
|
+
"type": {
|
708
|
+
"text": "() => void"
|
709
|
+
}
|
710
|
+
},
|
711
|
+
"parameters": [
|
712
|
+
{
|
713
|
+
"name": "listener",
|
714
|
+
"type": {
|
715
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
716
|
+
}
|
717
|
+
}
|
718
|
+
]
|
719
|
+
}
|
720
|
+
]
|
721
|
+
}
|
722
|
+
],
|
723
|
+
"exports": [
|
724
|
+
{
|
725
|
+
"kind": "js",
|
726
|
+
"name": "InMemoryDatabase",
|
784
727
|
"declaration": {
|
785
|
-
"name": "
|
786
|
-
"module": "src/
|
728
|
+
"name": "InMemoryDatabase",
|
729
|
+
"module": "src/data/inMemoryDatabase.ts"
|
787
730
|
}
|
788
|
-
}
|
731
|
+
}
|
732
|
+
]
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"kind": "javascript-module",
|
736
|
+
"path": "src/data/index.ts",
|
737
|
+
"declarations": [],
|
738
|
+
"exports": [
|
789
739
|
{
|
790
740
|
"kind": "js",
|
791
|
-
"name": "
|
741
|
+
"name": "*",
|
792
742
|
"declaration": {
|
793
|
-
"name": "
|
794
|
-
"
|
743
|
+
"name": "*",
|
744
|
+
"package": "./inMemoryDatabase"
|
795
745
|
}
|
796
746
|
}
|
797
747
|
]
|
@@ -995,6 +945,56 @@
|
|
995
945
|
}
|
996
946
|
]
|
997
947
|
},
|
948
|
+
{
|
949
|
+
"kind": "javascript-module",
|
950
|
+
"path": "src/design-system/design-system.ts",
|
951
|
+
"declarations": [
|
952
|
+
{
|
953
|
+
"kind": "function",
|
954
|
+
"name": "assureDesignSystem",
|
955
|
+
"return": {
|
956
|
+
"type": {
|
957
|
+
"text": "DesignSystemModule"
|
958
|
+
}
|
959
|
+
},
|
960
|
+
"parameters": [
|
961
|
+
{
|
962
|
+
"name": "module",
|
963
|
+
"type": {
|
964
|
+
"text": "DesignSystemModule"
|
965
|
+
}
|
966
|
+
}
|
967
|
+
],
|
968
|
+
"description": "assureDesignSystem.",
|
969
|
+
"privacy": "public"
|
970
|
+
}
|
971
|
+
],
|
972
|
+
"exports": [
|
973
|
+
{
|
974
|
+
"kind": "js",
|
975
|
+
"name": "assureDesignSystem",
|
976
|
+
"declaration": {
|
977
|
+
"name": "assureDesignSystem",
|
978
|
+
"module": "src/design-system/design-system.ts"
|
979
|
+
}
|
980
|
+
}
|
981
|
+
]
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"kind": "javascript-module",
|
985
|
+
"path": "src/design-system/index.ts",
|
986
|
+
"declarations": [],
|
987
|
+
"exports": [
|
988
|
+
{
|
989
|
+
"kind": "js",
|
990
|
+
"name": "*",
|
991
|
+
"declaration": {
|
992
|
+
"name": "*",
|
993
|
+
"package": "./design-system"
|
994
|
+
}
|
995
|
+
}
|
996
|
+
]
|
997
|
+
},
|
998
998
|
{
|
999
999
|
"kind": "javascript-module",
|
1000
1000
|
"path": "src/formatters/datetime.ts",
|
@@ -1714,6 +1714,43 @@
|
|
1714
1714
|
}
|
1715
1715
|
]
|
1716
1716
|
},
|
1717
|
+
{
|
1718
|
+
"kind": "javascript-module",
|
1719
|
+
"path": "src/utils/index.ts",
|
1720
|
+
"declarations": [],
|
1721
|
+
"exports": [
|
1722
|
+
{
|
1723
|
+
"kind": "js",
|
1724
|
+
"name": "*",
|
1725
|
+
"declaration": {
|
1726
|
+
"name": "*",
|
1727
|
+
"package": "./logger"
|
1728
|
+
}
|
1729
|
+
}
|
1730
|
+
]
|
1731
|
+
},
|
1732
|
+
{
|
1733
|
+
"kind": "javascript-module",
|
1734
|
+
"path": "src/utils/logger.ts",
|
1735
|
+
"declarations": [
|
1736
|
+
{
|
1737
|
+
"kind": "variable",
|
1738
|
+
"name": "logger",
|
1739
|
+
"description": "Logger for the foundation-utils package",
|
1740
|
+
"privacy": "public"
|
1741
|
+
}
|
1742
|
+
],
|
1743
|
+
"exports": [
|
1744
|
+
{
|
1745
|
+
"kind": "js",
|
1746
|
+
"name": "logger",
|
1747
|
+
"declaration": {
|
1748
|
+
"name": "logger",
|
1749
|
+
"module": "src/utils/logger.ts"
|
1750
|
+
}
|
1751
|
+
}
|
1752
|
+
]
|
1753
|
+
},
|
1717
1754
|
{
|
1718
1755
|
"kind": "javascript-module",
|
1719
1756
|
"path": "src/styles/color.ts",
|
@@ -2061,43 +2098,6 @@
|
|
2061
2098
|
}
|
2062
2099
|
]
|
2063
2100
|
},
|
2064
|
-
{
|
2065
|
-
"kind": "javascript-module",
|
2066
|
-
"path": "src/utils/index.ts",
|
2067
|
-
"declarations": [],
|
2068
|
-
"exports": [
|
2069
|
-
{
|
2070
|
-
"kind": "js",
|
2071
|
-
"name": "*",
|
2072
|
-
"declaration": {
|
2073
|
-
"name": "*",
|
2074
|
-
"package": "./logger"
|
2075
|
-
}
|
2076
|
-
}
|
2077
|
-
]
|
2078
|
-
},
|
2079
|
-
{
|
2080
|
-
"kind": "javascript-module",
|
2081
|
-
"path": "src/utils/logger.ts",
|
2082
|
-
"declarations": [
|
2083
|
-
{
|
2084
|
-
"kind": "variable",
|
2085
|
-
"name": "logger",
|
2086
|
-
"description": "Logger for the foundation-utils package",
|
2087
|
-
"privacy": "public"
|
2088
|
-
}
|
2089
|
-
],
|
2090
|
-
"exports": [
|
2091
|
-
{
|
2092
|
-
"kind": "js",
|
2093
|
-
"name": "logger",
|
2094
|
-
"declaration": {
|
2095
|
-
"name": "logger",
|
2096
|
-
"module": "src/utils/logger.ts"
|
2097
|
-
}
|
2098
|
-
}
|
2099
|
-
]
|
2100
|
-
},
|
2101
2101
|
{
|
2102
2102
|
"kind": "javascript-module",
|
2103
2103
|
"path": "src/uuid/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.
|
4
|
+
"version": "14.231.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.
|
31
|
-
"@genesislcap/genx": "14.
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
33
|
-
"@genesislcap/ts-builder": "14.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
35
|
-
"@genesislcap/vite-builder": "14.
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
30
|
+
"@genesislcap/foundation-testing": "14.231.0",
|
31
|
+
"@genesislcap/genx": "14.231.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.231.0",
|
33
|
+
"@genesislcap/ts-builder": "14.231.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.231.0",
|
35
|
+
"@genesislcap/vite-builder": "14.231.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.231.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.231.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": "
|
58
|
+
"gitHead": "b4ddb9e18fda1457d7d5f77783580c55e6b9967f"
|
59
59
|
}
|