@genesislcap/foundation-utils 14.231.0 → 14.231.1-alpha-c5608c9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +506 -506
- package/package.json +10 -10
@@ -171,30 +171,190 @@
|
|
171
171
|
},
|
172
172
|
{
|
173
173
|
"kind": "javascript-module",
|
174
|
-
"path": "src/
|
175
|
-
"declarations": [
|
176
|
-
"exports": [
|
174
|
+
"path": "src/data/inMemoryDatabase.ts",
|
175
|
+
"declarations": [
|
177
176
|
{
|
178
|
-
"kind": "
|
179
|
-
"
|
180
|
-
"
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
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
|
+
],
|
344
|
+
"exports": [
|
185
345
|
{
|
186
346
|
"kind": "js",
|
187
|
-
"name": "
|
347
|
+
"name": "InMemoryDatabase",
|
188
348
|
"declaration": {
|
189
|
-
"name": "
|
190
|
-
"
|
349
|
+
"name": "InMemoryDatabase",
|
350
|
+
"module": "src/data/inMemoryDatabase.ts"
|
191
351
|
}
|
192
352
|
}
|
193
353
|
]
|
194
354
|
},
|
195
355
|
{
|
196
356
|
"kind": "javascript-module",
|
197
|
-
"path": "src/
|
357
|
+
"path": "src/data/index.ts",
|
198
358
|
"declarations": [],
|
199
359
|
"exports": [
|
200
360
|
{
|
@@ -202,14 +362,14 @@
|
|
202
362
|
"name": "*",
|
203
363
|
"declaration": {
|
204
364
|
"name": "*",
|
205
|
-
"package": "./
|
365
|
+
"package": "./inMemoryDatabase"
|
206
366
|
}
|
207
367
|
}
|
208
368
|
]
|
209
369
|
},
|
210
370
|
{
|
211
371
|
"kind": "javascript-module",
|
212
|
-
"path": "src/
|
372
|
+
"path": "src/decorators/index.ts",
|
213
373
|
"declarations": [],
|
214
374
|
"exports": [
|
215
375
|
{
|
@@ -217,65 +377,206 @@
|
|
217
377
|
"name": "*",
|
218
378
|
"declaration": {
|
219
379
|
"name": "*",
|
220
|
-
"package": "./
|
221
|
-
}
|
222
|
-
},
|
223
|
-
{
|
224
|
-
"kind": "js",
|
225
|
-
"name": "*",
|
226
|
-
"declaration": {
|
227
|
-
"name": "*",
|
228
|
-
"package": "./variables"
|
380
|
+
"package": "./renderOnChange"
|
229
381
|
}
|
230
382
|
}
|
231
383
|
]
|
232
384
|
},
|
233
385
|
{
|
234
386
|
"kind": "javascript-module",
|
235
|
-
"path": "src/
|
387
|
+
"path": "src/decorators/renderOnChange.ts",
|
236
388
|
"declarations": [
|
237
389
|
{
|
238
390
|
"kind": "function",
|
239
|
-
"name": "
|
240
|
-
"
|
391
|
+
"name": "renderOnChange",
|
392
|
+
"parameters": [
|
393
|
+
{
|
394
|
+
"name": "target",
|
395
|
+
"type": {
|
396
|
+
"text": "FASTElement & { render(): void }"
|
397
|
+
},
|
398
|
+
"description": "The target to define the property change handler on."
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"name": "name",
|
402
|
+
"type": {
|
403
|
+
"text": "string"
|
404
|
+
},
|
405
|
+
"description": "The property name."
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
241
409
|
"privacy": "public"
|
242
410
|
}
|
243
411
|
],
|
244
412
|
"exports": [
|
245
413
|
{
|
246
414
|
"kind": "js",
|
247
|
-
"name": "
|
415
|
+
"name": "renderOnChange",
|
248
416
|
"declaration": {
|
249
|
-
"name": "
|
250
|
-
"module": "src/
|
417
|
+
"name": "renderOnChange",
|
418
|
+
"module": "src/decorators/renderOnChange.ts"
|
251
419
|
}
|
252
420
|
}
|
253
421
|
]
|
254
422
|
},
|
255
423
|
{
|
256
424
|
"kind": "javascript-module",
|
257
|
-
"path": "src/
|
425
|
+
"path": "src/design-system/design-system.ts",
|
258
426
|
"declarations": [
|
259
427
|
{
|
260
|
-
"kind": "
|
261
|
-
"name": "
|
262
|
-
"
|
263
|
-
"
|
264
|
-
|
265
|
-
|
266
|
-
{
|
267
|
-
"kind": "variable",
|
268
|
-
"name": "_BUILDER",
|
269
|
-
"type": {
|
270
|
-
"text": "string"
|
428
|
+
"kind": "function",
|
429
|
+
"name": "assureDesignSystem",
|
430
|
+
"return": {
|
431
|
+
"type": {
|
432
|
+
"text": "DesignSystemModule"
|
433
|
+
}
|
271
434
|
},
|
272
|
-
"
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
435
|
+
"parameters": [
|
436
|
+
{
|
437
|
+
"name": "module",
|
438
|
+
"type": {
|
439
|
+
"text": "DesignSystemModule"
|
440
|
+
}
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"description": "assureDesignSystem.",
|
444
|
+
"privacy": "public"
|
445
|
+
}
|
446
|
+
],
|
447
|
+
"exports": [
|
448
|
+
{
|
449
|
+
"kind": "js",
|
450
|
+
"name": "assureDesignSystem",
|
451
|
+
"declaration": {
|
452
|
+
"name": "assureDesignSystem",
|
453
|
+
"module": "src/design-system/design-system.ts"
|
454
|
+
}
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"kind": "javascript-module",
|
460
|
+
"path": "src/design-system/index.ts",
|
461
|
+
"declarations": [],
|
462
|
+
"exports": [
|
463
|
+
{
|
464
|
+
"kind": "js",
|
465
|
+
"name": "*",
|
466
|
+
"declaration": {
|
467
|
+
"name": "*",
|
468
|
+
"package": "./design-system"
|
469
|
+
}
|
470
|
+
}
|
471
|
+
]
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"kind": "javascript-module",
|
475
|
+
"path": "src/directives/index.ts",
|
476
|
+
"declarations": [],
|
477
|
+
"exports": [
|
478
|
+
{
|
479
|
+
"kind": "js",
|
480
|
+
"name": "*",
|
481
|
+
"declaration": {
|
482
|
+
"name": "*",
|
483
|
+
"package": "./sync"
|
484
|
+
}
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"kind": "js",
|
488
|
+
"name": "*",
|
489
|
+
"declaration": {
|
490
|
+
"name": "*",
|
491
|
+
"package": "./when-else"
|
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
|
+
},
|
567
|
+
{
|
568
|
+
"kind": "variable",
|
569
|
+
"name": "_BUILDER",
|
570
|
+
"type": {
|
571
|
+
"text": "string"
|
572
|
+
},
|
573
|
+
"default": "'webpack'",
|
574
|
+
"description": "The builder aka file bundler.",
|
575
|
+
"privacy": "public"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"kind": "variable",
|
579
|
+
"name": "PUBLIC_PATH",
|
279
580
|
"type": {
|
280
581
|
"text": "string"
|
281
582
|
}
|
@@ -363,385 +664,134 @@
|
|
363
664
|
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
364
665
|
"privacy": "public"
|
365
666
|
},
|
366
|
-
{
|
367
|
-
"kind": "variable",
|
368
|
-
"name": "DEFAULT_ORGANISATION",
|
369
|
-
"type": {
|
370
|
-
"text": "string"
|
371
|
-
}
|
372
|
-
},
|
373
|
-
{
|
374
|
-
"kind": "variable",
|
375
|
-
"name": "_DEFAULT_ORGANISATION",
|
376
|
-
"type": {
|
377
|
-
"text": "string"
|
378
|
-
},
|
379
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
380
|
-
"privacy": "public"
|
381
|
-
},
|
382
|
-
{
|
383
|
-
"kind": "variable",
|
384
|
-
"name": "DEFAULT_PASSWORD",
|
385
|
-
"type": {
|
386
|
-
"text": "string"
|
387
|
-
}
|
388
|
-
},
|
389
|
-
{
|
390
|
-
"kind": "variable",
|
391
|
-
"name": "_DEFAULT_PASSWORD",
|
392
|
-
"type": {
|
393
|
-
"text": "string"
|
394
|
-
},
|
395
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
396
|
-
"privacy": "public"
|
397
|
-
},
|
398
|
-
{
|
399
|
-
"kind": "variable",
|
400
|
-
"name": "DEFAULT_USER",
|
401
|
-
"type": {
|
402
|
-
"text": "string"
|
403
|
-
}
|
404
|
-
},
|
405
|
-
{
|
406
|
-
"kind": "variable",
|
407
|
-
"name": "_DEFAULT_USER",
|
408
|
-
"type": {
|
409
|
-
"text": "string"
|
410
|
-
},
|
411
|
-
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
412
|
-
"privacy": "public"
|
413
|
-
}
|
414
|
-
],
|
415
|
-
"exports": [
|
416
|
-
{
|
417
|
-
"kind": "js",
|
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
|
-
]
|
667
|
+
{
|
668
|
+
"kind": "variable",
|
669
|
+
"name": "DEFAULT_ORGANISATION",
|
670
|
+
"type": {
|
671
|
+
"text": "string"
|
672
|
+
}
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"kind": "variable",
|
676
|
+
"name": "_DEFAULT_ORGANISATION",
|
677
|
+
"type": {
|
678
|
+
"text": "string"
|
679
|
+
},
|
680
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
681
|
+
"privacy": "public"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"kind": "variable",
|
685
|
+
"name": "DEFAULT_PASSWORD",
|
686
|
+
"type": {
|
687
|
+
"text": "string"
|
688
|
+
}
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"kind": "variable",
|
692
|
+
"name": "_DEFAULT_PASSWORD",
|
693
|
+
"type": {
|
694
|
+
"text": "string"
|
695
|
+
},
|
696
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
697
|
+
"privacy": "public"
|
698
|
+
},
|
699
|
+
{
|
700
|
+
"kind": "variable",
|
701
|
+
"name": "DEFAULT_USER",
|
702
|
+
"type": {
|
703
|
+
"text": "string"
|
704
|
+
}
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"kind": "variable",
|
708
|
+
"name": "_DEFAULT_USER",
|
709
|
+
"type": {
|
710
|
+
"text": "string"
|
711
|
+
},
|
712
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
713
|
+
"privacy": "public"
|
721
714
|
}
|
722
715
|
],
|
723
716
|
"exports": [
|
724
717
|
{
|
725
718
|
"kind": "js",
|
726
|
-
"name": "
|
719
|
+
"name": "BUILDER",
|
727
720
|
"declaration": {
|
728
|
-
"name": "
|
729
|
-
"module": "src/
|
721
|
+
"name": "_BUILDER",
|
722
|
+
"module": "src/env/variables.ts"
|
730
723
|
}
|
731
|
-
}
|
732
|
-
]
|
733
|
-
},
|
734
|
-
{
|
735
|
-
"kind": "javascript-module",
|
736
|
-
"path": "src/data/index.ts",
|
737
|
-
"declarations": [],
|
738
|
-
"exports": [
|
724
|
+
},
|
739
725
|
{
|
740
726
|
"kind": "js",
|
741
|
-
"name": "
|
727
|
+
"name": "PUBLIC_PATH",
|
742
728
|
"declaration": {
|
743
|
-
"name": "
|
744
|
-
"
|
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",
|
784
|
+
"declaration": {
|
785
|
+
"name": "_DEFAULT_PASSWORD",
|
786
|
+
"module": "src/env/variables.ts"
|
787
|
+
}
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"kind": "js",
|
791
|
+
"name": "DEFAULT_USER",
|
792
|
+
"declaration": {
|
793
|
+
"name": "_DEFAULT_USER",
|
794
|
+
"module": "src/env/variables.ts"
|
745
795
|
}
|
746
796
|
}
|
747
797
|
]
|
@@ -945,56 +995,6 @@
|
|
945
995
|
}
|
946
996
|
]
|
947
997
|
},
|
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,43 +1714,6 @@
|
|
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
|
-
},
|
1754
1717
|
{
|
1755
1718
|
"kind": "javascript-module",
|
1756
1719
|
"path": "src/styles/color.ts",
|
@@ -2098,6 +2061,43 @@
|
|
2098
2061
|
}
|
2099
2062
|
]
|
2100
2063
|
},
|
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.231.0",
|
4
|
+
"version": "14.231.1-alpha-c5608c9.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.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",
|
30
|
+
"@genesislcap/foundation-testing": "14.231.1-alpha-c5608c9.0",
|
31
|
+
"@genesislcap/genx": "14.231.1-alpha-c5608c9.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.231.1-alpha-c5608c9.0",
|
33
|
+
"@genesislcap/ts-builder": "14.231.1-alpha-c5608c9.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.231.1-alpha-c5608c9.0",
|
35
|
+
"@genesislcap/vite-builder": "14.231.1-alpha-c5608c9.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.231.1-alpha-c5608c9.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.231.0",
|
40
|
+
"@genesislcap/foundation-logger": "14.231.1-alpha-c5608c9.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": "ead3acfd7912356bb9f93a6bed80da6ab8d9981c"
|
59
59
|
}
|