@genesislcap/foundation-utils 14.222.0 → 14.223.1-alpha-96ec959.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +457 -457
- package/package.json +11 -11
@@ -169,205 +169,30 @@
|
|
169
169
|
},
|
170
170
|
{
|
171
171
|
"kind": "javascript-module",
|
172
|
-
"path": "src/
|
173
|
-
"declarations": [
|
174
|
-
{
|
175
|
-
"kind": "class",
|
176
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
177
|
-
"name": "InMemoryDatabase",
|
178
|
-
"members": [
|
179
|
-
{
|
180
|
-
"kind": "field",
|
181
|
-
"name": "isWorking",
|
182
|
-
"type": {
|
183
|
-
"text": "boolean"
|
184
|
-
},
|
185
|
-
"privacy": "public",
|
186
|
-
"default": "false"
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"kind": "field",
|
190
|
-
"name": "records",
|
191
|
-
"type": {
|
192
|
-
"text": "Record<string, T>"
|
193
|
-
},
|
194
|
-
"privacy": "private",
|
195
|
-
"default": "{}"
|
196
|
-
},
|
197
|
-
{
|
198
|
-
"kind": "field",
|
199
|
-
"name": "beforeUpdateListeners",
|
200
|
-
"privacy": "private"
|
201
|
-
},
|
202
|
-
{
|
203
|
-
"kind": "field",
|
204
|
-
"name": "afterUpdateListeners",
|
205
|
-
"privacy": "private"
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"kind": "method",
|
209
|
-
"name": "create",
|
210
|
-
"privacy": "public",
|
211
|
-
"return": {
|
212
|
-
"type": {
|
213
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
214
|
-
}
|
215
|
-
},
|
216
|
-
"parameters": [
|
217
|
-
{
|
218
|
-
"name": "newValue",
|
219
|
-
"type": {
|
220
|
-
"text": "Omit<T, 'id'>"
|
221
|
-
}
|
222
|
-
}
|
223
|
-
]
|
224
|
-
},
|
225
|
-
{
|
226
|
-
"kind": "method",
|
227
|
-
"name": "read",
|
228
|
-
"privacy": "public",
|
229
|
-
"return": {
|
230
|
-
"type": {
|
231
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
232
|
-
}
|
233
|
-
},
|
234
|
-
"parameters": [
|
235
|
-
{
|
236
|
-
"name": "id",
|
237
|
-
"type": {
|
238
|
-
"text": "string"
|
239
|
-
}
|
240
|
-
}
|
241
|
-
]
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"kind": "method",
|
245
|
-
"name": "update",
|
246
|
-
"privacy": "public",
|
247
|
-
"return": {
|
248
|
-
"type": {
|
249
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
250
|
-
}
|
251
|
-
},
|
252
|
-
"parameters": [
|
253
|
-
{
|
254
|
-
"name": "id",
|
255
|
-
"type": {
|
256
|
-
"text": "string"
|
257
|
-
}
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "newValue",
|
261
|
-
"type": {
|
262
|
-
"text": "Omit<Partial<T>, 'id'>"
|
263
|
-
}
|
264
|
-
}
|
265
|
-
]
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"kind": "method",
|
269
|
-
"name": "delete",
|
270
|
-
"privacy": "public",
|
271
|
-
"return": {
|
272
|
-
"type": {
|
273
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
274
|
-
}
|
275
|
-
},
|
276
|
-
"parameters": [
|
277
|
-
{
|
278
|
-
"name": "id",
|
279
|
-
"type": {
|
280
|
-
"text": "string"
|
281
|
-
}
|
282
|
-
}
|
283
|
-
]
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"kind": "method",
|
287
|
-
"name": "visit",
|
288
|
-
"privacy": "public",
|
289
|
-
"return": {
|
290
|
-
"type": {
|
291
|
-
"text": "Promise<void>"
|
292
|
-
}
|
293
|
-
},
|
294
|
-
"parameters": [
|
295
|
-
{
|
296
|
-
"name": "visitor",
|
297
|
-
"type": {
|
298
|
-
"text": "(record: T) => void"
|
299
|
-
}
|
300
|
-
}
|
301
|
-
]
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"kind": "method",
|
305
|
-
"name": "onBeforeUpdate",
|
306
|
-
"privacy": "public",
|
307
|
-
"return": {
|
308
|
-
"type": {
|
309
|
-
"text": "() => void"
|
310
|
-
}
|
311
|
-
},
|
312
|
-
"parameters": [
|
313
|
-
{
|
314
|
-
"name": "listener",
|
315
|
-
"type": {
|
316
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
317
|
-
}
|
318
|
-
}
|
319
|
-
]
|
320
|
-
},
|
321
|
-
{
|
322
|
-
"kind": "method",
|
323
|
-
"name": "onAfterUpdate",
|
324
|
-
"privacy": "public",
|
325
|
-
"return": {
|
326
|
-
"type": {
|
327
|
-
"text": "() => void"
|
328
|
-
}
|
329
|
-
},
|
330
|
-
"parameters": [
|
331
|
-
{
|
332
|
-
"name": "listener",
|
333
|
-
"type": {
|
334
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
335
|
-
}
|
336
|
-
}
|
337
|
-
]
|
338
|
-
}
|
339
|
-
]
|
340
|
-
}
|
341
|
-
],
|
172
|
+
"path": "src/directives/index.ts",
|
173
|
+
"declarations": [],
|
342
174
|
"exports": [
|
343
175
|
{
|
344
176
|
"kind": "js",
|
345
|
-
"name": "
|
177
|
+
"name": "*",
|
346
178
|
"declaration": {
|
347
|
-
"name": "
|
348
|
-
"
|
179
|
+
"name": "*",
|
180
|
+
"package": "./sync"
|
349
181
|
}
|
350
|
-
}
|
351
|
-
]
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"kind": "javascript-module",
|
355
|
-
"path": "src/data/index.ts",
|
356
|
-
"declarations": [],
|
357
|
-
"exports": [
|
182
|
+
},
|
358
183
|
{
|
359
184
|
"kind": "js",
|
360
185
|
"name": "*",
|
361
186
|
"declaration": {
|
362
187
|
"name": "*",
|
363
|
-
"package": "./
|
188
|
+
"package": "./when-else"
|
364
189
|
}
|
365
190
|
}
|
366
191
|
]
|
367
192
|
},
|
368
193
|
{
|
369
194
|
"kind": "javascript-module",
|
370
|
-
"path": "src/
|
195
|
+
"path": "src/env/index.ts",
|
371
196
|
"declarations": [],
|
372
197
|
"exports": [
|
373
198
|
{
|
@@ -375,7 +200,7 @@
|
|
375
200
|
"name": "*",
|
376
201
|
"declaration": {
|
377
202
|
"name": "*",
|
378
|
-
"package": "./
|
203
|
+
"package": "./is-dev"
|
379
204
|
}
|
380
205
|
},
|
381
206
|
{
|
@@ -383,57 +208,222 @@
|
|
383
208
|
"name": "*",
|
384
209
|
"declaration": {
|
385
210
|
"name": "*",
|
386
|
-
"package": "./
|
211
|
+
"package": "./variables"
|
387
212
|
}
|
388
213
|
}
|
389
214
|
]
|
390
215
|
},
|
391
216
|
{
|
392
217
|
"kind": "javascript-module",
|
393
|
-
"path": "src/
|
218
|
+
"path": "src/env/is-dev.ts",
|
394
219
|
"declarations": [
|
395
220
|
{
|
396
221
|
"kind": "function",
|
397
|
-
"name": "
|
398
|
-
"
|
399
|
-
|
400
|
-
|
401
|
-
|
222
|
+
"name": "isDev",
|
223
|
+
"description": "Determines if the current environment is a development environment.",
|
224
|
+
"privacy": "public"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"exports": [
|
228
|
+
{
|
229
|
+
"kind": "js",
|
230
|
+
"name": "isDev",
|
231
|
+
"declaration": {
|
232
|
+
"name": "isDev",
|
233
|
+
"module": "src/env/is-dev.ts"
|
234
|
+
}
|
235
|
+
}
|
236
|
+
]
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"kind": "javascript-module",
|
240
|
+
"path": "src/env/variables.ts",
|
241
|
+
"declarations": [
|
242
|
+
{
|
243
|
+
"kind": "variable",
|
244
|
+
"name": "SOCKET_EXT",
|
245
|
+
"type": {
|
246
|
+
"text": "string"
|
247
|
+
}
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"kind": "variable",
|
251
|
+
"name": "_SOCKET_EXT",
|
252
|
+
"type": {
|
253
|
+
"text": "string"
|
402
254
|
},
|
403
|
-
"
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
255
|
+
"default": "'gwf'",
|
256
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
257
|
+
"privacy": "public"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"kind": "variable",
|
261
|
+
"name": "FORCE_HTTP",
|
262
|
+
"type": {
|
263
|
+
"text": "string"
|
264
|
+
}
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"kind": "variable",
|
268
|
+
"name": "_FORCE_HTTP",
|
269
|
+
"type": {
|
270
|
+
"text": "string"
|
271
|
+
},
|
272
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
273
|
+
"privacy": "public"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"kind": "variable",
|
277
|
+
"name": "GENESIS_SOCKET_URL",
|
278
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
279
|
+
"description": "Genesis Socket URL",
|
280
|
+
"privacy": "public"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"kind": "variable",
|
284
|
+
"name": "API_HOST",
|
285
|
+
"type": {
|
286
|
+
"text": "string"
|
287
|
+
}
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"kind": "variable",
|
291
|
+
"name": "_API_HOST",
|
292
|
+
"type": {
|
293
|
+
"text": "string"
|
294
|
+
},
|
295
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
296
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
297
|
+
"privacy": "public"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"kind": "variable",
|
301
|
+
"name": "HTTP_CONFIG",
|
302
|
+
"type": {
|
303
|
+
"text": "string"
|
304
|
+
}
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"kind": "variable",
|
308
|
+
"name": "_HTTP_CONFIG",
|
309
|
+
"type": {
|
310
|
+
"text": "string"
|
311
|
+
},
|
312
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
313
|
+
"privacy": "public"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"kind": "variable",
|
317
|
+
"name": "DEFAULT_ORGANISATION",
|
318
|
+
"type": {
|
319
|
+
"text": "string"
|
320
|
+
}
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"kind": "variable",
|
324
|
+
"name": "_DEFAULT_ORGANISATION",
|
325
|
+
"type": {
|
326
|
+
"text": "string"
|
327
|
+
},
|
328
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
329
|
+
"privacy": "public"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"kind": "variable",
|
333
|
+
"name": "DEFAULT_PASSWORD",
|
334
|
+
"type": {
|
335
|
+
"text": "string"
|
336
|
+
}
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"kind": "variable",
|
340
|
+
"name": "_DEFAULT_PASSWORD",
|
341
|
+
"type": {
|
342
|
+
"text": "string"
|
343
|
+
},
|
344
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
345
|
+
"privacy": "public"
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"kind": "variable",
|
349
|
+
"name": "DEFAULT_USER",
|
350
|
+
"type": {
|
351
|
+
"text": "string"
|
352
|
+
}
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"kind": "variable",
|
356
|
+
"name": "_DEFAULT_USER",
|
357
|
+
"type": {
|
358
|
+
"text": "string"
|
359
|
+
},
|
360
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
412
361
|
"privacy": "public"
|
413
362
|
}
|
414
363
|
],
|
415
364
|
"exports": [
|
416
365
|
{
|
417
366
|
"kind": "js",
|
418
|
-
"name": "
|
367
|
+
"name": "SOCKET_EXT",
|
419
368
|
"declaration": {
|
420
|
-
"name": "
|
421
|
-
"module": "src/
|
369
|
+
"name": "_SOCKET_EXT",
|
370
|
+
"module": "src/env/variables.ts"
|
371
|
+
}
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"kind": "js",
|
375
|
+
"name": "FORCE_HTTP",
|
376
|
+
"declaration": {
|
377
|
+
"name": "_FORCE_HTTP",
|
378
|
+
"module": "src/env/variables.ts"
|
379
|
+
}
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"kind": "js",
|
383
|
+
"name": "GENESIS_SOCKET_URL",
|
384
|
+
"declaration": {
|
385
|
+
"name": "GENESIS_SOCKET_URL",
|
386
|
+
"module": "src/env/variables.ts"
|
387
|
+
}
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"kind": "js",
|
391
|
+
"name": "API_HOST",
|
392
|
+
"declaration": {
|
393
|
+
"name": "_API_HOST",
|
394
|
+
"module": "src/env/variables.ts"
|
395
|
+
}
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"kind": "js",
|
399
|
+
"name": "HTTP_CONFIG",
|
400
|
+
"declaration": {
|
401
|
+
"name": "_HTTP_CONFIG",
|
402
|
+
"module": "src/env/variables.ts"
|
403
|
+
}
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"kind": "js",
|
407
|
+
"name": "DEFAULT_ORGANISATION",
|
408
|
+
"declaration": {
|
409
|
+
"name": "_DEFAULT_ORGANISATION",
|
410
|
+
"module": "src/env/variables.ts"
|
411
|
+
}
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"kind": "js",
|
415
|
+
"name": "DEFAULT_PASSWORD",
|
416
|
+
"declaration": {
|
417
|
+
"name": "_DEFAULT_PASSWORD",
|
418
|
+
"module": "src/env/variables.ts"
|
422
419
|
}
|
423
|
-
}
|
424
|
-
]
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"kind": "javascript-module",
|
428
|
-
"path": "src/design-system/index.ts",
|
429
|
-
"declarations": [],
|
430
|
-
"exports": [
|
420
|
+
},
|
431
421
|
{
|
432
422
|
"kind": "js",
|
433
|
-
"name": "
|
423
|
+
"name": "DEFAULT_USER",
|
434
424
|
"declaration": {
|
435
|
-
"name": "
|
436
|
-
"
|
425
|
+
"name": "_DEFAULT_USER",
|
426
|
+
"module": "src/env/variables.ts"
|
437
427
|
}
|
438
428
|
}
|
439
429
|
]
|
@@ -678,252 +668,14 @@
|
|
678
668
|
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
679
669
|
"privacy": "public"
|
680
670
|
}
|
681
|
-
],
|
682
|
-
"exports": [
|
683
|
-
{
|
684
|
-
"kind": "js",
|
685
|
-
"name": "renderOnChange",
|
686
|
-
"declaration": {
|
687
|
-
"name": "renderOnChange",
|
688
|
-
"module": "src/decorators/renderOnChange.ts"
|
689
|
-
}
|
690
|
-
}
|
691
|
-
]
|
692
|
-
},
|
693
|
-
{
|
694
|
-
"kind": "javascript-module",
|
695
|
-
"path": "src/env/index.ts",
|
696
|
-
"declarations": [],
|
697
|
-
"exports": [
|
698
|
-
{
|
699
|
-
"kind": "js",
|
700
|
-
"name": "*",
|
701
|
-
"declaration": {
|
702
|
-
"name": "*",
|
703
|
-
"package": "./is-dev"
|
704
|
-
}
|
705
|
-
},
|
706
|
-
{
|
707
|
-
"kind": "js",
|
708
|
-
"name": "*",
|
709
|
-
"declaration": {
|
710
|
-
"name": "*",
|
711
|
-
"package": "./variables"
|
712
|
-
}
|
713
|
-
}
|
714
|
-
]
|
715
|
-
},
|
716
|
-
{
|
717
|
-
"kind": "javascript-module",
|
718
|
-
"path": "src/env/is-dev.ts",
|
719
|
-
"declarations": [
|
720
|
-
{
|
721
|
-
"kind": "function",
|
722
|
-
"name": "isDev",
|
723
|
-
"description": "Determines if the current environment is a development environment.",
|
724
|
-
"privacy": "public"
|
725
|
-
}
|
726
|
-
],
|
727
|
-
"exports": [
|
728
|
-
{
|
729
|
-
"kind": "js",
|
730
|
-
"name": "isDev",
|
731
|
-
"declaration": {
|
732
|
-
"name": "isDev",
|
733
|
-
"module": "src/env/is-dev.ts"
|
734
|
-
}
|
735
|
-
}
|
736
|
-
]
|
737
|
-
},
|
738
|
-
{
|
739
|
-
"kind": "javascript-module",
|
740
|
-
"path": "src/env/variables.ts",
|
741
|
-
"declarations": [
|
742
|
-
{
|
743
|
-
"kind": "variable",
|
744
|
-
"name": "SOCKET_EXT",
|
745
|
-
"type": {
|
746
|
-
"text": "string"
|
747
|
-
}
|
748
|
-
},
|
749
|
-
{
|
750
|
-
"kind": "variable",
|
751
|
-
"name": "_SOCKET_EXT",
|
752
|
-
"type": {
|
753
|
-
"text": "string"
|
754
|
-
},
|
755
|
-
"default": "'gwf'",
|
756
|
-
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
757
|
-
"privacy": "public"
|
758
|
-
},
|
759
|
-
{
|
760
|
-
"kind": "variable",
|
761
|
-
"name": "FORCE_HTTP",
|
762
|
-
"type": {
|
763
|
-
"text": "string"
|
764
|
-
}
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"kind": "variable",
|
768
|
-
"name": "_FORCE_HTTP",
|
769
|
-
"type": {
|
770
|
-
"text": "string"
|
771
|
-
},
|
772
|
-
"description": "The path to a JSON config file for the HTTP mode.",
|
773
|
-
"privacy": "public"
|
774
|
-
},
|
775
|
-
{
|
776
|
-
"kind": "variable",
|
777
|
-
"name": "GENESIS_SOCKET_URL",
|
778
|
-
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
779
|
-
"description": "Genesis Socket URL",
|
780
|
-
"privacy": "public"
|
781
|
-
},
|
782
|
-
{
|
783
|
-
"kind": "variable",
|
784
|
-
"name": "API_HOST",
|
785
|
-
"type": {
|
786
|
-
"text": "string"
|
787
|
-
}
|
788
|
-
},
|
789
|
-
{
|
790
|
-
"kind": "variable",
|
791
|
-
"name": "_API_HOST",
|
792
|
-
"type": {
|
793
|
-
"text": "string"
|
794
|
-
},
|
795
|
-
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
796
|
-
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
797
|
-
"privacy": "public"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"kind": "variable",
|
801
|
-
"name": "HTTP_CONFIG",
|
802
|
-
"type": {
|
803
|
-
"text": "string"
|
804
|
-
}
|
805
|
-
},
|
806
|
-
{
|
807
|
-
"kind": "variable",
|
808
|
-
"name": "_HTTP_CONFIG",
|
809
|
-
"type": {
|
810
|
-
"text": "string"
|
811
|
-
},
|
812
|
-
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
813
|
-
"privacy": "public"
|
814
|
-
},
|
815
|
-
{
|
816
|
-
"kind": "variable",
|
817
|
-
"name": "DEFAULT_ORGANISATION",
|
818
|
-
"type": {
|
819
|
-
"text": "string"
|
820
|
-
}
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"kind": "variable",
|
824
|
-
"name": "_DEFAULT_ORGANISATION",
|
825
|
-
"type": {
|
826
|
-
"text": "string"
|
827
|
-
},
|
828
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
829
|
-
"privacy": "public"
|
830
|
-
},
|
831
|
-
{
|
832
|
-
"kind": "variable",
|
833
|
-
"name": "DEFAULT_PASSWORD",
|
834
|
-
"type": {
|
835
|
-
"text": "string"
|
836
|
-
}
|
837
|
-
},
|
838
|
-
{
|
839
|
-
"kind": "variable",
|
840
|
-
"name": "_DEFAULT_PASSWORD",
|
841
|
-
"type": {
|
842
|
-
"text": "string"
|
843
|
-
},
|
844
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
845
|
-
"privacy": "public"
|
846
|
-
},
|
847
|
-
{
|
848
|
-
"kind": "variable",
|
849
|
-
"name": "DEFAULT_USER",
|
850
|
-
"type": {
|
851
|
-
"text": "string"
|
852
|
-
}
|
853
|
-
},
|
854
|
-
{
|
855
|
-
"kind": "variable",
|
856
|
-
"name": "_DEFAULT_USER",
|
857
|
-
"type": {
|
858
|
-
"text": "string"
|
859
|
-
},
|
860
|
-
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
861
|
-
"privacy": "public"
|
862
|
-
}
|
863
|
-
],
|
864
|
-
"exports": [
|
865
|
-
{
|
866
|
-
"kind": "js",
|
867
|
-
"name": "SOCKET_EXT",
|
868
|
-
"declaration": {
|
869
|
-
"name": "_SOCKET_EXT",
|
870
|
-
"module": "src/env/variables.ts"
|
871
|
-
}
|
872
|
-
},
|
873
|
-
{
|
874
|
-
"kind": "js",
|
875
|
-
"name": "FORCE_HTTP",
|
876
|
-
"declaration": {
|
877
|
-
"name": "_FORCE_HTTP",
|
878
|
-
"module": "src/env/variables.ts"
|
879
|
-
}
|
880
|
-
},
|
881
|
-
{
|
882
|
-
"kind": "js",
|
883
|
-
"name": "GENESIS_SOCKET_URL",
|
884
|
-
"declaration": {
|
885
|
-
"name": "GENESIS_SOCKET_URL",
|
886
|
-
"module": "src/env/variables.ts"
|
887
|
-
}
|
888
|
-
},
|
889
|
-
{
|
890
|
-
"kind": "js",
|
891
|
-
"name": "API_HOST",
|
892
|
-
"declaration": {
|
893
|
-
"name": "_API_HOST",
|
894
|
-
"module": "src/env/variables.ts"
|
895
|
-
}
|
896
|
-
},
|
897
|
-
{
|
898
|
-
"kind": "js",
|
899
|
-
"name": "HTTP_CONFIG",
|
900
|
-
"declaration": {
|
901
|
-
"name": "_HTTP_CONFIG",
|
902
|
-
"module": "src/env/variables.ts"
|
903
|
-
}
|
904
|
-
},
|
905
|
-
{
|
906
|
-
"kind": "js",
|
907
|
-
"name": "DEFAULT_ORGANISATION",
|
908
|
-
"declaration": {
|
909
|
-
"name": "_DEFAULT_ORGANISATION",
|
910
|
-
"module": "src/env/variables.ts"
|
911
|
-
}
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"kind": "js",
|
915
|
-
"name": "DEFAULT_PASSWORD",
|
916
|
-
"declaration": {
|
917
|
-
"name": "_DEFAULT_PASSWORD",
|
918
|
-
"module": "src/env/variables.ts"
|
919
|
-
}
|
920
|
-
},
|
671
|
+
],
|
672
|
+
"exports": [
|
921
673
|
{
|
922
674
|
"kind": "js",
|
923
|
-
"name": "
|
675
|
+
"name": "renderOnChange",
|
924
676
|
"declaration": {
|
925
|
-
"name": "
|
926
|
-
"module": "src/
|
677
|
+
"name": "renderOnChange",
|
678
|
+
"module": "src/decorators/renderOnChange.ts"
|
927
679
|
}
|
928
680
|
}
|
929
681
|
]
|
@@ -1213,6 +965,254 @@
|
|
1213
965
|
}
|
1214
966
|
]
|
1215
967
|
},
|
968
|
+
{
|
969
|
+
"kind": "javascript-module",
|
970
|
+
"path": "src/design-system/design-system.ts",
|
971
|
+
"declarations": [
|
972
|
+
{
|
973
|
+
"kind": "function",
|
974
|
+
"name": "assureDesignSystem",
|
975
|
+
"return": {
|
976
|
+
"type": {
|
977
|
+
"text": "DesignSystemModule"
|
978
|
+
}
|
979
|
+
},
|
980
|
+
"parameters": [
|
981
|
+
{
|
982
|
+
"name": "module",
|
983
|
+
"type": {
|
984
|
+
"text": "DesignSystemModule"
|
985
|
+
}
|
986
|
+
}
|
987
|
+
],
|
988
|
+
"description": "assureDesignSystem.",
|
989
|
+
"privacy": "public"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"exports": [
|
993
|
+
{
|
994
|
+
"kind": "js",
|
995
|
+
"name": "assureDesignSystem",
|
996
|
+
"declaration": {
|
997
|
+
"name": "assureDesignSystem",
|
998
|
+
"module": "src/design-system/design-system.ts"
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
]
|
1002
|
+
},
|
1003
|
+
{
|
1004
|
+
"kind": "javascript-module",
|
1005
|
+
"path": "src/design-system/index.ts",
|
1006
|
+
"declarations": [],
|
1007
|
+
"exports": [
|
1008
|
+
{
|
1009
|
+
"kind": "js",
|
1010
|
+
"name": "*",
|
1011
|
+
"declaration": {
|
1012
|
+
"name": "*",
|
1013
|
+
"package": "./design-system"
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
]
|
1017
|
+
},
|
1018
|
+
{
|
1019
|
+
"kind": "javascript-module",
|
1020
|
+
"path": "src/data/inMemoryDatabase.ts",
|
1021
|
+
"declarations": [
|
1022
|
+
{
|
1023
|
+
"kind": "class",
|
1024
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
1025
|
+
"name": "InMemoryDatabase",
|
1026
|
+
"members": [
|
1027
|
+
{
|
1028
|
+
"kind": "field",
|
1029
|
+
"name": "isWorking",
|
1030
|
+
"type": {
|
1031
|
+
"text": "boolean"
|
1032
|
+
},
|
1033
|
+
"privacy": "public",
|
1034
|
+
"default": "false"
|
1035
|
+
},
|
1036
|
+
{
|
1037
|
+
"kind": "field",
|
1038
|
+
"name": "records",
|
1039
|
+
"type": {
|
1040
|
+
"text": "Record<string, T>"
|
1041
|
+
},
|
1042
|
+
"privacy": "private",
|
1043
|
+
"default": "{}"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"kind": "field",
|
1047
|
+
"name": "beforeUpdateListeners",
|
1048
|
+
"privacy": "private"
|
1049
|
+
},
|
1050
|
+
{
|
1051
|
+
"kind": "field",
|
1052
|
+
"name": "afterUpdateListeners",
|
1053
|
+
"privacy": "private"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"kind": "method",
|
1057
|
+
"name": "create",
|
1058
|
+
"privacy": "public",
|
1059
|
+
"return": {
|
1060
|
+
"type": {
|
1061
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
1062
|
+
}
|
1063
|
+
},
|
1064
|
+
"parameters": [
|
1065
|
+
{
|
1066
|
+
"name": "newValue",
|
1067
|
+
"type": {
|
1068
|
+
"text": "Omit<T, 'id'>"
|
1069
|
+
}
|
1070
|
+
}
|
1071
|
+
]
|
1072
|
+
},
|
1073
|
+
{
|
1074
|
+
"kind": "method",
|
1075
|
+
"name": "read",
|
1076
|
+
"privacy": "public",
|
1077
|
+
"return": {
|
1078
|
+
"type": {
|
1079
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
1080
|
+
}
|
1081
|
+
},
|
1082
|
+
"parameters": [
|
1083
|
+
{
|
1084
|
+
"name": "id",
|
1085
|
+
"type": {
|
1086
|
+
"text": "string"
|
1087
|
+
}
|
1088
|
+
}
|
1089
|
+
]
|
1090
|
+
},
|
1091
|
+
{
|
1092
|
+
"kind": "method",
|
1093
|
+
"name": "update",
|
1094
|
+
"privacy": "public",
|
1095
|
+
"return": {
|
1096
|
+
"type": {
|
1097
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
1098
|
+
}
|
1099
|
+
},
|
1100
|
+
"parameters": [
|
1101
|
+
{
|
1102
|
+
"name": "id",
|
1103
|
+
"type": {
|
1104
|
+
"text": "string"
|
1105
|
+
}
|
1106
|
+
},
|
1107
|
+
{
|
1108
|
+
"name": "newValue",
|
1109
|
+
"type": {
|
1110
|
+
"text": "Omit<Partial<T>, 'id'>"
|
1111
|
+
}
|
1112
|
+
}
|
1113
|
+
]
|
1114
|
+
},
|
1115
|
+
{
|
1116
|
+
"kind": "method",
|
1117
|
+
"name": "delete",
|
1118
|
+
"privacy": "public",
|
1119
|
+
"return": {
|
1120
|
+
"type": {
|
1121
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
1122
|
+
}
|
1123
|
+
},
|
1124
|
+
"parameters": [
|
1125
|
+
{
|
1126
|
+
"name": "id",
|
1127
|
+
"type": {
|
1128
|
+
"text": "string"
|
1129
|
+
}
|
1130
|
+
}
|
1131
|
+
]
|
1132
|
+
},
|
1133
|
+
{
|
1134
|
+
"kind": "method",
|
1135
|
+
"name": "visit",
|
1136
|
+
"privacy": "public",
|
1137
|
+
"return": {
|
1138
|
+
"type": {
|
1139
|
+
"text": "Promise<void>"
|
1140
|
+
}
|
1141
|
+
},
|
1142
|
+
"parameters": [
|
1143
|
+
{
|
1144
|
+
"name": "visitor",
|
1145
|
+
"type": {
|
1146
|
+
"text": "(record: T) => void"
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
]
|
1150
|
+
},
|
1151
|
+
{
|
1152
|
+
"kind": "method",
|
1153
|
+
"name": "onBeforeUpdate",
|
1154
|
+
"privacy": "public",
|
1155
|
+
"return": {
|
1156
|
+
"type": {
|
1157
|
+
"text": "() => void"
|
1158
|
+
}
|
1159
|
+
},
|
1160
|
+
"parameters": [
|
1161
|
+
{
|
1162
|
+
"name": "listener",
|
1163
|
+
"type": {
|
1164
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
1165
|
+
}
|
1166
|
+
}
|
1167
|
+
]
|
1168
|
+
},
|
1169
|
+
{
|
1170
|
+
"kind": "method",
|
1171
|
+
"name": "onAfterUpdate",
|
1172
|
+
"privacy": "public",
|
1173
|
+
"return": {
|
1174
|
+
"type": {
|
1175
|
+
"text": "() => void"
|
1176
|
+
}
|
1177
|
+
},
|
1178
|
+
"parameters": [
|
1179
|
+
{
|
1180
|
+
"name": "listener",
|
1181
|
+
"type": {
|
1182
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
1183
|
+
}
|
1184
|
+
}
|
1185
|
+
]
|
1186
|
+
}
|
1187
|
+
]
|
1188
|
+
}
|
1189
|
+
],
|
1190
|
+
"exports": [
|
1191
|
+
{
|
1192
|
+
"kind": "js",
|
1193
|
+
"name": "InMemoryDatabase",
|
1194
|
+
"declaration": {
|
1195
|
+
"name": "InMemoryDatabase",
|
1196
|
+
"module": "src/data/inMemoryDatabase.ts"
|
1197
|
+
}
|
1198
|
+
}
|
1199
|
+
]
|
1200
|
+
},
|
1201
|
+
{
|
1202
|
+
"kind": "javascript-module",
|
1203
|
+
"path": "src/data/index.ts",
|
1204
|
+
"declarations": [],
|
1205
|
+
"exports": [
|
1206
|
+
{
|
1207
|
+
"kind": "js",
|
1208
|
+
"name": "*",
|
1209
|
+
"declaration": {
|
1210
|
+
"name": "*",
|
1211
|
+
"package": "./inMemoryDatabase"
|
1212
|
+
}
|
1213
|
+
}
|
1214
|
+
]
|
1215
|
+
},
|
1216
1216
|
{
|
1217
1217
|
"kind": "javascript-module",
|
1218
1218
|
"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.
|
4
|
+
"version": "14.223.1-alpha-96ec959.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,20 +27,20 @@
|
|
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.223.1-alpha-96ec959.0",
|
31
|
+
"@genesislcap/genx": "14.223.1-alpha-96ec959.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.223.1-alpha-96ec959.0",
|
33
|
+
"@genesislcap/ts-builder": "14.223.1-alpha-96ec959.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.223.1-alpha-96ec959.0",
|
35
|
+
"@genesislcap/vite-builder": "14.223.1-alpha-96ec959.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.223.1-alpha-96ec959.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.223.1-alpha-96ec959.0",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.0",
|
43
|
-
"@microsoft/fast-foundation": "2.49.
|
43
|
+
"@microsoft/fast-foundation": "2.49.5",
|
44
44
|
"lossless-json": "^2.0.11",
|
45
45
|
"numeral": "2.0.6",
|
46
46
|
"tslib": "^2.3.1",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "6b618f4aa58da9d5c4a3c701895321cb4d13efef"
|
59
59
|
}
|