@genesislcap/foundation-utils 14.221.0 → 14.222.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 +459 -459
  2. package/package.json +10 -10
@@ -169,30 +169,205 @@
169
169
  },
170
170
  {
171
171
  "kind": "javascript-module",
172
- "path": "src/directives/index.ts",
173
- "declarations": [],
172
+ "path": "src/data/inMemoryDatabase.ts",
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
+ ],
174
342
  "exports": [
175
343
  {
176
344
  "kind": "js",
177
- "name": "*",
345
+ "name": "InMemoryDatabase",
178
346
  "declaration": {
179
- "name": "*",
180
- "package": "./sync"
347
+ "name": "InMemoryDatabase",
348
+ "module": "src/data/inMemoryDatabase.ts"
181
349
  }
182
- },
350
+ }
351
+ ]
352
+ },
353
+ {
354
+ "kind": "javascript-module",
355
+ "path": "src/data/index.ts",
356
+ "declarations": [],
357
+ "exports": [
183
358
  {
184
359
  "kind": "js",
185
360
  "name": "*",
186
361
  "declaration": {
187
362
  "name": "*",
188
- "package": "./when-else"
363
+ "package": "./inMemoryDatabase"
189
364
  }
190
365
  }
191
366
  ]
192
367
  },
193
368
  {
194
369
  "kind": "javascript-module",
195
- "path": "src/env/index.ts",
370
+ "path": "src/directives/index.ts",
196
371
  "declarations": [],
197
372
  "exports": [
198
373
  {
@@ -200,7 +375,7 @@
200
375
  "name": "*",
201
376
  "declaration": {
202
377
  "name": "*",
203
- "package": "./is-dev"
378
+ "package": "./sync"
204
379
  }
205
380
  },
206
381
  {
@@ -208,222 +383,57 @@
208
383
  "name": "*",
209
384
  "declaration": {
210
385
  "name": "*",
211
- "package": "./variables"
386
+ "package": "./when-else"
212
387
  }
213
388
  }
214
389
  ]
215
390
  },
216
391
  {
217
392
  "kind": "javascript-module",
218
- "path": "src/env/is-dev.ts",
393
+ "path": "src/design-system/design-system.ts",
219
394
  "declarations": [
220
395
  {
221
396
  "kind": "function",
222
- "name": "isDev",
223
- "description": "Determines if the current environment is a development environment.",
397
+ "name": "assureDesignSystem",
398
+ "return": {
399
+ "type": {
400
+ "text": "DesignSystemModule"
401
+ }
402
+ },
403
+ "parameters": [
404
+ {
405
+ "name": "module",
406
+ "type": {
407
+ "text": "DesignSystemModule"
408
+ }
409
+ }
410
+ ],
411
+ "description": "assureDesignSystem.",
224
412
  "privacy": "public"
225
413
  }
226
414
  ],
227
415
  "exports": [
228
416
  {
229
417
  "kind": "js",
230
- "name": "isDev",
418
+ "name": "assureDesignSystem",
231
419
  "declaration": {
232
- "name": "isDev",
233
- "module": "src/env/is-dev.ts"
420
+ "name": "assureDesignSystem",
421
+ "module": "src/design-system/design-system.ts"
234
422
  }
235
423
  }
236
424
  ]
237
425
  },
238
426
  {
239
427
  "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"
254
- },
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).",
361
- "privacy": "public"
362
- }
363
- ],
428
+ "path": "src/design-system/index.ts",
429
+ "declarations": [],
364
430
  "exports": [
365
431
  {
366
432
  "kind": "js",
367
- "name": "SOCKET_EXT",
368
- "declaration": {
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"
419
- }
420
- },
421
- {
422
- "kind": "js",
423
- "name": "DEFAULT_USER",
433
+ "name": "*",
424
434
  "declaration": {
425
- "name": "_DEFAULT_USER",
426
- "module": "src/env/variables.ts"
435
+ "name": "*",
436
+ "package": "./design-system"
427
437
  }
428
438
  }
429
439
  ]
@@ -629,103 +639,291 @@
629
639
  },
630
640
  {
631
641
  "kind": "javascript-module",
632
- "path": "src/design-system/design-system.ts",
642
+ "path": "src/decorators/index.ts",
643
+ "declarations": [],
644
+ "exports": [
645
+ {
646
+ "kind": "js",
647
+ "name": "*",
648
+ "declaration": {
649
+ "name": "*",
650
+ "package": "./renderOnChange"
651
+ }
652
+ }
653
+ ]
654
+ },
655
+ {
656
+ "kind": "javascript-module",
657
+ "path": "src/decorators/renderOnChange.ts",
633
658
  "declarations": [
634
659
  {
635
660
  "kind": "function",
636
- "name": "assureDesignSystem",
637
- "return": {
638
- "type": {
639
- "text": "DesignSystemModule"
640
- }
641
- },
661
+ "name": "renderOnChange",
642
662
  "parameters": [
643
663
  {
644
- "name": "module",
664
+ "name": "target",
645
665
  "type": {
646
- "text": "DesignSystemModule"
647
- }
666
+ "text": "FASTElement & { render(): void }"
667
+ },
668
+ "description": "The target to define the property change handler on."
669
+ },
670
+ {
671
+ "name": "name",
672
+ "type": {
673
+ "text": "string"
674
+ },
675
+ "description": "The property name."
648
676
  }
649
677
  ],
650
- "description": "assureDesignSystem.",
678
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
651
679
  "privacy": "public"
652
680
  }
653
681
  ],
654
682
  "exports": [
655
683
  {
656
684
  "kind": "js",
657
- "name": "assureDesignSystem",
685
+ "name": "renderOnChange",
658
686
  "declaration": {
659
- "name": "assureDesignSystem",
660
- "module": "src/design-system/design-system.ts"
687
+ "name": "renderOnChange",
688
+ "module": "src/decorators/renderOnChange.ts"
661
689
  }
662
690
  }
663
691
  ]
664
692
  },
665
693
  {
666
694
  "kind": "javascript-module",
667
- "path": "src/design-system/index.ts",
695
+ "path": "src/env/index.ts",
668
696
  "declarations": [],
669
697
  "exports": [
670
698
  {
671
699
  "kind": "js",
672
700
  "name": "*",
673
701
  "declaration": {
674
- "name": "*",
675
- "package": "./design-system"
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"
676
911
  }
677
- }
678
- ]
679
- },
680
- {
681
- "kind": "javascript-module",
682
- "path": "src/decorators/index.ts",
683
- "declarations": [],
684
- "exports": [
912
+ },
685
913
  {
686
914
  "kind": "js",
687
- "name": "*",
915
+ "name": "DEFAULT_PASSWORD",
688
916
  "declaration": {
689
- "name": "*",
690
- "package": "./renderOnChange"
917
+ "name": "_DEFAULT_PASSWORD",
918
+ "module": "src/env/variables.ts"
691
919
  }
692
- }
693
- ]
694
- },
695
- {
696
- "kind": "javascript-module",
697
- "path": "src/decorators/renderOnChange.ts",
698
- "declarations": [
699
- {
700
- "kind": "function",
701
- "name": "renderOnChange",
702
- "parameters": [
703
- {
704
- "name": "target",
705
- "type": {
706
- "text": "FASTElement & { render(): void }"
707
- },
708
- "description": "The target to define the property change handler on."
709
- },
710
- {
711
- "name": "name",
712
- "type": {
713
- "text": "string"
714
- },
715
- "description": "The property name."
716
- }
717
- ],
718
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
719
- "privacy": "public"
720
- }
721
- ],
722
- "exports": [
920
+ },
723
921
  {
724
922
  "kind": "js",
725
- "name": "renderOnChange",
923
+ "name": "DEFAULT_USER",
726
924
  "declaration": {
727
- "name": "renderOnChange",
728
- "module": "src/decorators/renderOnChange.ts"
925
+ "name": "_DEFAULT_USER",
926
+ "module": "src/env/variables.ts"
729
927
  }
730
928
  }
731
929
  ]
@@ -1015,204 +1213,6 @@
1015
1213
  }
1016
1214
  ]
1017
1215
  },
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.221.0",
4
+ "version": "14.222.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.221.0",
31
- "@genesislcap/genx": "14.221.0",
32
- "@genesislcap/rollup-builder": "14.221.0",
33
- "@genesislcap/ts-builder": "14.221.0",
34
- "@genesislcap/uvu-playwright-builder": "14.221.0",
35
- "@genesislcap/vite-builder": "14.221.0",
36
- "@genesislcap/webpack-builder": "14.221.0",
30
+ "@genesislcap/foundation-testing": "14.222.0",
31
+ "@genesislcap/genx": "14.222.0",
32
+ "@genesislcap/rollup-builder": "14.222.0",
33
+ "@genesislcap/ts-builder": "14.222.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.222.0",
35
+ "@genesislcap/vite-builder": "14.222.0",
36
+ "@genesislcap/webpack-builder": "14.222.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.221.0",
40
+ "@genesislcap/foundation-logger": "14.222.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.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": "74cb1a2eb7b1b23c6c56f8852db7b8254968b88b"
58
+ "gitHead": "d123c20ba58c810e8ca64c1be44d349e6db79487"
59
59
  }