@genesislcap/foundation-utils 14.202.1-alpha-34c59e8.0 → 14.202.1-alpha-77ef7ac.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +453 -453
  2. package/package.json +10 -10
@@ -161,205 +161,30 @@
161
161
  },
162
162
  {
163
163
  "kind": "javascript-module",
164
- "path": "src/data/inMemoryDatabase.ts",
165
- "declarations": [
166
- {
167
- "kind": "class",
168
- "description": "An in memory database of specific DatabaseRecord types.",
169
- "name": "InMemoryDatabase",
170
- "members": [
171
- {
172
- "kind": "field",
173
- "name": "isWorking",
174
- "type": {
175
- "text": "boolean"
176
- },
177
- "privacy": "public",
178
- "default": "false"
179
- },
180
- {
181
- "kind": "field",
182
- "name": "records",
183
- "type": {
184
- "text": "Record<string, T>"
185
- },
186
- "privacy": "private",
187
- "default": "{}"
188
- },
189
- {
190
- "kind": "field",
191
- "name": "beforeUpdateListeners",
192
- "privacy": "private"
193
- },
194
- {
195
- "kind": "field",
196
- "name": "afterUpdateListeners",
197
- "privacy": "private"
198
- },
199
- {
200
- "kind": "method",
201
- "name": "create",
202
- "privacy": "public",
203
- "return": {
204
- "type": {
205
- "text": "Promise<DatabaseAccessResult.Create<T>>"
206
- }
207
- },
208
- "parameters": [
209
- {
210
- "name": "newValue",
211
- "type": {
212
- "text": "Omit<T, 'id'>"
213
- }
214
- }
215
- ]
216
- },
217
- {
218
- "kind": "method",
219
- "name": "read",
220
- "privacy": "public",
221
- "return": {
222
- "type": {
223
- "text": "Promise<DatabaseAccessResult.Read<T>>"
224
- }
225
- },
226
- "parameters": [
227
- {
228
- "name": "id",
229
- "type": {
230
- "text": "string"
231
- }
232
- }
233
- ]
234
- },
235
- {
236
- "kind": "method",
237
- "name": "update",
238
- "privacy": "public",
239
- "return": {
240
- "type": {
241
- "text": "Promise<DatabaseAccessResult.Update<T>>"
242
- }
243
- },
244
- "parameters": [
245
- {
246
- "name": "id",
247
- "type": {
248
- "text": "string"
249
- }
250
- },
251
- {
252
- "name": "newValue",
253
- "type": {
254
- "text": "Omit<Partial<T>, 'id'>"
255
- }
256
- }
257
- ]
258
- },
259
- {
260
- "kind": "method",
261
- "name": "delete",
262
- "privacy": "public",
263
- "return": {
264
- "type": {
265
- "text": "Promise<DatabaseAccessResult.Delete>"
266
- }
267
- },
268
- "parameters": [
269
- {
270
- "name": "id",
271
- "type": {
272
- "text": "string"
273
- }
274
- }
275
- ]
276
- },
277
- {
278
- "kind": "method",
279
- "name": "visit",
280
- "privacy": "public",
281
- "return": {
282
- "type": {
283
- "text": "Promise<void>"
284
- }
285
- },
286
- "parameters": [
287
- {
288
- "name": "visitor",
289
- "type": {
290
- "text": "(record: T) => void"
291
- }
292
- }
293
- ]
294
- },
295
- {
296
- "kind": "method",
297
- "name": "onBeforeUpdate",
298
- "privacy": "public",
299
- "return": {
300
- "type": {
301
- "text": "() => void"
302
- }
303
- },
304
- "parameters": [
305
- {
306
- "name": "listener",
307
- "type": {
308
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
309
- }
310
- }
311
- ]
312
- },
313
- {
314
- "kind": "method",
315
- "name": "onAfterUpdate",
316
- "privacy": "public",
317
- "return": {
318
- "type": {
319
- "text": "() => void"
320
- }
321
- },
322
- "parameters": [
323
- {
324
- "name": "listener",
325
- "type": {
326
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
327
- }
328
- }
329
- ]
330
- }
331
- ]
332
- }
333
- ],
164
+ "path": "src/directives/index.ts",
165
+ "declarations": [],
334
166
  "exports": [
335
167
  {
336
168
  "kind": "js",
337
- "name": "InMemoryDatabase",
169
+ "name": "*",
338
170
  "declaration": {
339
- "name": "InMemoryDatabase",
340
- "module": "src/data/inMemoryDatabase.ts"
171
+ "name": "*",
172
+ "package": "./sync"
341
173
  }
342
- }
343
- ]
344
- },
345
- {
346
- "kind": "javascript-module",
347
- "path": "src/data/index.ts",
348
- "declarations": [],
349
- "exports": [
174
+ },
350
175
  {
351
176
  "kind": "js",
352
177
  "name": "*",
353
178
  "declaration": {
354
179
  "name": "*",
355
- "package": "./inMemoryDatabase"
180
+ "package": "./when-else"
356
181
  }
357
182
  }
358
183
  ]
359
184
  },
360
185
  {
361
186
  "kind": "javascript-module",
362
- "path": "src/decorators/index.ts",
187
+ "path": "src/env/index.ts",
363
188
  "declarations": [],
364
189
  "exports": [
365
190
  {
@@ -367,118 +192,230 @@
367
192
  "name": "*",
368
193
  "declaration": {
369
194
  "name": "*",
370
- "package": "./renderOnChange"
195
+ "package": "./is-dev"
196
+ }
197
+ },
198
+ {
199
+ "kind": "js",
200
+ "name": "*",
201
+ "declaration": {
202
+ "name": "*",
203
+ "package": "./variables"
371
204
  }
372
205
  }
373
206
  ]
374
207
  },
375
208
  {
376
209
  "kind": "javascript-module",
377
- "path": "src/decorators/renderOnChange.ts",
210
+ "path": "src/env/is-dev.ts",
378
211
  "declarations": [
379
212
  {
380
213
  "kind": "function",
381
- "name": "renderOnChange",
382
- "parameters": [
383
- {
384
- "name": "target",
385
- "type": {
386
- "text": "FASTElement & { render(): void }"
387
- },
388
- "description": "The target to define the property change handler on."
389
- },
390
- {
391
- "name": "name",
392
- "type": {
393
- "text": "string"
394
- },
395
- "description": "The property name."
396
- }
397
- ],
398
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
214
+ "name": "isDev",
215
+ "description": "Determines if the current environment is a development environment.",
399
216
  "privacy": "public"
400
217
  }
401
218
  ],
402
219
  "exports": [
403
220
  {
404
221
  "kind": "js",
405
- "name": "renderOnChange",
222
+ "name": "isDev",
406
223
  "declaration": {
407
- "name": "renderOnChange",
408
- "module": "src/decorators/renderOnChange.ts"
224
+ "name": "isDev",
225
+ "module": "src/env/is-dev.ts"
409
226
  }
410
227
  }
411
228
  ]
412
229
  },
413
230
  {
414
231
  "kind": "javascript-module",
415
- "path": "src/design-system/design-system.ts",
232
+ "path": "src/env/variables.ts",
416
233
  "declarations": [
417
234
  {
418
- "kind": "function",
419
- "name": "assureDesignSystem",
420
- "return": {
421
- "type": {
422
- "text": "DesignSystemModule"
423
- }
235
+ "kind": "variable",
236
+ "name": "SOCKET_EXT",
237
+ "type": {
238
+ "text": "string"
239
+ }
240
+ },
241
+ {
242
+ "kind": "variable",
243
+ "name": "_SOCKET_EXT",
244
+ "type": {
245
+ "text": "string"
424
246
  },
425
- "parameters": [
426
- {
427
- "name": "module",
428
- "type": {
429
- "text": "DesignSystemModule"
430
- }
431
- }
432
- ],
433
- "description": "assureDesignSystem.",
247
+ "default": "'gwf'",
248
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
249
+ "privacy": "public"
250
+ },
251
+ {
252
+ "kind": "variable",
253
+ "name": "FORCE_HTTP",
254
+ "type": {
255
+ "text": "string"
256
+ }
257
+ },
258
+ {
259
+ "kind": "variable",
260
+ "name": "_FORCE_HTTP",
261
+ "type": {
262
+ "text": "string"
263
+ },
264
+ "description": "The path to a JSON config file for the HTTP mode.",
265
+ "privacy": "public"
266
+ },
267
+ {
268
+ "kind": "variable",
269
+ "name": "GENESIS_SOCKET_URL",
270
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
271
+ "description": "Genesis Socket URL",
272
+ "privacy": "public"
273
+ },
274
+ {
275
+ "kind": "variable",
276
+ "name": "API_HOST",
277
+ "type": {
278
+ "text": "string"
279
+ }
280
+ },
281
+ {
282
+ "kind": "variable",
283
+ "name": "_API_HOST",
284
+ "type": {
285
+ "text": "string"
286
+ },
287
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
288
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
289
+ "privacy": "public"
290
+ },
291
+ {
292
+ "kind": "variable",
293
+ "name": "HTTP_CONFIG",
294
+ "type": {
295
+ "text": "string"
296
+ }
297
+ },
298
+ {
299
+ "kind": "variable",
300
+ "name": "_HTTP_CONFIG",
301
+ "type": {
302
+ "text": "string"
303
+ },
304
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
305
+ "privacy": "public"
306
+ },
307
+ {
308
+ "kind": "variable",
309
+ "name": "DEFAULT_ORGANISATION",
310
+ "type": {
311
+ "text": "string"
312
+ }
313
+ },
314
+ {
315
+ "kind": "variable",
316
+ "name": "_DEFAULT_ORGANISATION",
317
+ "type": {
318
+ "text": "string"
319
+ },
320
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
321
+ "privacy": "public"
322
+ },
323
+ {
324
+ "kind": "variable",
325
+ "name": "DEFAULT_PASSWORD",
326
+ "type": {
327
+ "text": "string"
328
+ }
329
+ },
330
+ {
331
+ "kind": "variable",
332
+ "name": "_DEFAULT_PASSWORD",
333
+ "type": {
334
+ "text": "string"
335
+ },
336
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
337
+ "privacy": "public"
338
+ },
339
+ {
340
+ "kind": "variable",
341
+ "name": "DEFAULT_USER",
342
+ "type": {
343
+ "text": "string"
344
+ }
345
+ },
346
+ {
347
+ "kind": "variable",
348
+ "name": "_DEFAULT_USER",
349
+ "type": {
350
+ "text": "string"
351
+ },
352
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
434
353
  "privacy": "public"
435
354
  }
436
355
  ],
437
356
  "exports": [
438
357
  {
439
358
  "kind": "js",
440
- "name": "assureDesignSystem",
359
+ "name": "SOCKET_EXT",
360
+ "declaration": {
361
+ "name": "_SOCKET_EXT",
362
+ "module": "src/env/variables.ts"
363
+ }
364
+ },
365
+ {
366
+ "kind": "js",
367
+ "name": "FORCE_HTTP",
368
+ "declaration": {
369
+ "name": "_FORCE_HTTP",
370
+ "module": "src/env/variables.ts"
371
+ }
372
+ },
373
+ {
374
+ "kind": "js",
375
+ "name": "GENESIS_SOCKET_URL",
376
+ "declaration": {
377
+ "name": "GENESIS_SOCKET_URL",
378
+ "module": "src/env/variables.ts"
379
+ }
380
+ },
381
+ {
382
+ "kind": "js",
383
+ "name": "API_HOST",
384
+ "declaration": {
385
+ "name": "_API_HOST",
386
+ "module": "src/env/variables.ts"
387
+ }
388
+ },
389
+ {
390
+ "kind": "js",
391
+ "name": "HTTP_CONFIG",
441
392
  "declaration": {
442
- "name": "assureDesignSystem",
443
- "module": "src/design-system/design-system.ts"
393
+ "name": "_HTTP_CONFIG",
394
+ "module": "src/env/variables.ts"
444
395
  }
445
- }
446
- ]
447
- },
448
- {
449
- "kind": "javascript-module",
450
- "path": "src/design-system/index.ts",
451
- "declarations": [],
452
- "exports": [
396
+ },
453
397
  {
454
398
  "kind": "js",
455
- "name": "*",
399
+ "name": "DEFAULT_ORGANISATION",
456
400
  "declaration": {
457
- "name": "*",
458
- "package": "./design-system"
401
+ "name": "_DEFAULT_ORGANISATION",
402
+ "module": "src/env/variables.ts"
459
403
  }
460
- }
461
- ]
462
- },
463
- {
464
- "kind": "javascript-module",
465
- "path": "src/directives/index.ts",
466
- "declarations": [],
467
- "exports": [
404
+ },
468
405
  {
469
406
  "kind": "js",
470
- "name": "*",
407
+ "name": "DEFAULT_PASSWORD",
471
408
  "declaration": {
472
- "name": "*",
473
- "package": "./sync"
409
+ "name": "_DEFAULT_PASSWORD",
410
+ "module": "src/env/variables.ts"
474
411
  }
475
412
  },
476
413
  {
477
414
  "kind": "js",
478
- "name": "*",
415
+ "name": "DEFAULT_USER",
479
416
  "declaration": {
480
- "name": "*",
481
- "package": "./when-else"
417
+ "name": "_DEFAULT_USER",
418
+ "module": "src/env/variables.ts"
482
419
  }
483
420
  }
484
421
  ]
@@ -684,7 +621,7 @@
684
621
  },
685
622
  {
686
623
  "kind": "javascript-module",
687
- "path": "src/env/index.ts",
624
+ "path": "src/decorators/index.ts",
688
625
  "declarations": [],
689
626
  "exports": [
690
627
  {
@@ -692,230 +629,95 @@
692
629
  "name": "*",
693
630
  "declaration": {
694
631
  "name": "*",
695
- "package": "./is-dev"
696
- }
697
- },
698
- {
699
- "kind": "js",
700
- "name": "*",
701
- "declaration": {
702
- "name": "*",
703
- "package": "./variables"
632
+ "package": "./renderOnChange"
704
633
  }
705
634
  }
706
635
  ]
707
636
  },
708
637
  {
709
638
  "kind": "javascript-module",
710
- "path": "src/env/is-dev.ts",
639
+ "path": "src/decorators/renderOnChange.ts",
711
640
  "declarations": [
712
641
  {
713
642
  "kind": "function",
714
- "name": "isDev",
715
- "description": "Determines if the current environment is a development environment.",
716
- "privacy": "public"
717
- }
718
- ],
719
- "exports": [
720
- {
721
- "kind": "js",
722
- "name": "isDev",
723
- "declaration": {
724
- "name": "isDev",
725
- "module": "src/env/is-dev.ts"
726
- }
727
- }
728
- ]
729
- },
730
- {
731
- "kind": "javascript-module",
732
- "path": "src/env/variables.ts",
733
- "declarations": [
734
- {
735
- "kind": "variable",
736
- "name": "SOCKET_EXT",
737
- "type": {
738
- "text": "string"
739
- }
740
- },
741
- {
742
- "kind": "variable",
743
- "name": "_SOCKET_EXT",
744
- "type": {
745
- "text": "string"
746
- },
747
- "default": "'gwf'",
748
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
749
- "privacy": "public"
750
- },
751
- {
752
- "kind": "variable",
753
- "name": "FORCE_HTTP",
754
- "type": {
755
- "text": "string"
756
- }
757
- },
758
- {
759
- "kind": "variable",
760
- "name": "_FORCE_HTTP",
761
- "type": {
762
- "text": "string"
763
- },
764
- "description": "The path to a JSON config file for the HTTP mode.",
765
- "privacy": "public"
766
- },
767
- {
768
- "kind": "variable",
769
- "name": "GENESIS_SOCKET_URL",
770
- "default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
771
- "description": "Genesis Socket URL",
772
- "privacy": "public"
773
- },
774
- {
775
- "kind": "variable",
776
- "name": "API_HOST",
777
- "type": {
778
- "text": "string"
779
- }
780
- },
781
- {
782
- "kind": "variable",
783
- "name": "_API_HOST",
784
- "type": {
785
- "text": "string"
786
- },
787
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
788
- "description": "The Genesis Server URL (WebSocket or HTTP).",
789
- "privacy": "public"
790
- },
791
- {
792
- "kind": "variable",
793
- "name": "HTTP_CONFIG",
794
- "type": {
795
- "text": "string"
796
- }
797
- },
798
- {
799
- "kind": "variable",
800
- "name": "_HTTP_CONFIG",
801
- "type": {
802
- "text": "string"
803
- },
804
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
805
- "privacy": "public"
806
- },
807
- {
808
- "kind": "variable",
809
- "name": "DEFAULT_ORGANISATION",
810
- "type": {
811
- "text": "string"
812
- }
813
- },
814
- {
815
- "kind": "variable",
816
- "name": "_DEFAULT_ORGANISATION",
817
- "type": {
818
- "text": "string"
819
- },
820
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
821
- "privacy": "public"
822
- },
823
- {
824
- "kind": "variable",
825
- "name": "DEFAULT_PASSWORD",
826
- "type": {
827
- "text": "string"
828
- }
829
- },
830
- {
831
- "kind": "variable",
832
- "name": "_DEFAULT_PASSWORD",
833
- "type": {
834
- "text": "string"
835
- },
836
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
837
- "privacy": "public"
838
- },
839
- {
840
- "kind": "variable",
841
- "name": "DEFAULT_USER",
842
- "type": {
843
- "text": "string"
844
- }
845
- },
846
- {
847
- "kind": "variable",
848
- "name": "_DEFAULT_USER",
849
- "type": {
850
- "text": "string"
851
- },
852
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
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.",
853
661
  "privacy": "public"
854
662
  }
855
- ],
856
- "exports": [
857
- {
858
- "kind": "js",
859
- "name": "SOCKET_EXT",
860
- "declaration": {
861
- "name": "_SOCKET_EXT",
862
- "module": "src/env/variables.ts"
863
- }
864
- },
865
- {
866
- "kind": "js",
867
- "name": "FORCE_HTTP",
868
- "declaration": {
869
- "name": "_FORCE_HTTP",
870
- "module": "src/env/variables.ts"
871
- }
872
- },
873
- {
874
- "kind": "js",
875
- "name": "GENESIS_SOCKET_URL",
876
- "declaration": {
877
- "name": "GENESIS_SOCKET_URL",
878
- "module": "src/env/variables.ts"
879
- }
880
- },
881
- {
882
- "kind": "js",
883
- "name": "API_HOST",
884
- "declaration": {
885
- "name": "_API_HOST",
886
- "module": "src/env/variables.ts"
887
- }
888
- },
889
- {
890
- "kind": "js",
891
- "name": "HTTP_CONFIG",
892
- "declaration": {
893
- "name": "_HTTP_CONFIG",
894
- "module": "src/env/variables.ts"
895
- }
896
- },
663
+ ],
664
+ "exports": [
897
665
  {
898
666
  "kind": "js",
899
- "name": "DEFAULT_ORGANISATION",
667
+ "name": "renderOnChange",
900
668
  "declaration": {
901
- "name": "_DEFAULT_ORGANISATION",
902
- "module": "src/env/variables.ts"
669
+ "name": "renderOnChange",
670
+ "module": "src/decorators/renderOnChange.ts"
903
671
  }
904
- },
672
+ }
673
+ ]
674
+ },
675
+ {
676
+ "kind": "javascript-module",
677
+ "path": "src/design-system/design-system.ts",
678
+ "declarations": [
679
+ {
680
+ "kind": "function",
681
+ "name": "assureDesignSystem",
682
+ "return": {
683
+ "type": {
684
+ "text": "DesignSystemModule"
685
+ }
686
+ },
687
+ "parameters": [
688
+ {
689
+ "name": "module",
690
+ "type": {
691
+ "text": "DesignSystemModule"
692
+ }
693
+ }
694
+ ],
695
+ "description": "assureDesignSystem.",
696
+ "privacy": "public"
697
+ }
698
+ ],
699
+ "exports": [
905
700
  {
906
701
  "kind": "js",
907
- "name": "DEFAULT_PASSWORD",
702
+ "name": "assureDesignSystem",
908
703
  "declaration": {
909
- "name": "_DEFAULT_PASSWORD",
910
- "module": "src/env/variables.ts"
704
+ "name": "assureDesignSystem",
705
+ "module": "src/design-system/design-system.ts"
911
706
  }
912
- },
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "kind": "javascript-module",
712
+ "path": "src/design-system/index.ts",
713
+ "declarations": [],
714
+ "exports": [
913
715
  {
914
716
  "kind": "js",
915
- "name": "DEFAULT_USER",
717
+ "name": "*",
916
718
  "declaration": {
917
- "name": "_DEFAULT_USER",
918
- "module": "src/env/variables.ts"
719
+ "name": "*",
720
+ "package": "./design-system"
919
721
  }
920
722
  }
921
723
  ]
@@ -1457,6 +1259,204 @@
1457
1259
  }
1458
1260
  ]
1459
1261
  },
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-34c59e8.0",
4
+ "version": "14.202.1-alpha-77ef7ac.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-34c59e8.0",
31
- "@genesislcap/genx": "14.202.1-alpha-34c59e8.0",
32
- "@genesislcap/rollup-builder": "14.202.1-alpha-34c59e8.0",
33
- "@genesislcap/ts-builder": "14.202.1-alpha-34c59e8.0",
34
- "@genesislcap/uvu-playwright-builder": "14.202.1-alpha-34c59e8.0",
35
- "@genesislcap/vite-builder": "14.202.1-alpha-34c59e8.0",
36
- "@genesislcap/webpack-builder": "14.202.1-alpha-34c59e8.0",
30
+ "@genesislcap/foundation-testing": "14.202.1-alpha-77ef7ac.0",
31
+ "@genesislcap/genx": "14.202.1-alpha-77ef7ac.0",
32
+ "@genesislcap/rollup-builder": "14.202.1-alpha-77ef7ac.0",
33
+ "@genesislcap/ts-builder": "14.202.1-alpha-77ef7ac.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.202.1-alpha-77ef7ac.0",
35
+ "@genesislcap/vite-builder": "14.202.1-alpha-77ef7ac.0",
36
+ "@genesislcap/webpack-builder": "14.202.1-alpha-77ef7ac.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.202.1-alpha-34c59e8.0",
40
+ "@genesislcap/foundation-logger": "14.202.1-alpha-77ef7ac.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": "f8ccd0ab71ae20e61ce39f02dd1905b2676e2898"
58
+ "gitHead": "5396ccdfe1b0add8cf3e96be9f3c7f63350ace86"
59
59
  }