@genesislcap/foundation-utils 14.176.1-alpha-ed9e3d4.0 → 14.177.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +569 -569
  2. package/package.json +10 -10
@@ -161,190 +161,42 @@
161
161
  },
162
162
  {
163
163
  "kind": "javascript-module",
164
- "path": "src/data/inMemoryDatabase.ts",
164
+ "path": "src/design-system/design-system.ts",
165
165
  "declarations": [
166
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
- },
167
+ "kind": "function",
168
+ "name": "assureDesignSystem",
169
+ "return": {
170
+ "type": {
171
+ "text": "DesignSystemModule"
172
+ }
173
+ },
174
+ "parameters": [
180
175
  {
181
- "kind": "field",
182
- "name": "records",
176
+ "name": "module",
183
177
  "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
- ]
178
+ "text": "DesignSystemModule"
179
+ }
330
180
  }
331
- ]
181
+ ],
182
+ "description": "assureDesignSystem.",
183
+ "privacy": "public"
332
184
  }
333
185
  ],
334
186
  "exports": [
335
187
  {
336
188
  "kind": "js",
337
- "name": "InMemoryDatabase",
189
+ "name": "assureDesignSystem",
338
190
  "declaration": {
339
- "name": "InMemoryDatabase",
340
- "module": "src/data/inMemoryDatabase.ts"
191
+ "name": "assureDesignSystem",
192
+ "module": "src/design-system/design-system.ts"
341
193
  }
342
194
  }
343
195
  ]
344
196
  },
345
197
  {
346
198
  "kind": "javascript-module",
347
- "path": "src/data/index.ts",
199
+ "path": "src/design-system/index.ts",
348
200
  "declarations": [],
349
201
  "exports": [
350
202
  {
@@ -352,14 +204,14 @@
352
204
  "name": "*",
353
205
  "declaration": {
354
206
  "name": "*",
355
- "package": "./inMemoryDatabase"
207
+ "package": "./design-system"
356
208
  }
357
209
  }
358
210
  ]
359
211
  },
360
212
  {
361
213
  "kind": "javascript-module",
362
- "path": "src/decorators/index.ts",
214
+ "path": "src/env/index.ts",
363
215
  "declarations": [],
364
216
  "exports": [
365
217
  {
@@ -367,118 +219,215 @@
367
219
  "name": "*",
368
220
  "declaration": {
369
221
  "name": "*",
370
- "package": "./renderOnChange"
222
+ "package": "./is-dev"
223
+ }
224
+ },
225
+ {
226
+ "kind": "js",
227
+ "name": "*",
228
+ "declaration": {
229
+ "name": "*",
230
+ "package": "./variables"
371
231
  }
372
232
  }
373
233
  ]
374
234
  },
375
235
  {
376
236
  "kind": "javascript-module",
377
- "path": "src/decorators/renderOnChange.ts",
237
+ "path": "src/env/is-dev.ts",
378
238
  "declarations": [
379
239
  {
380
240
  "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.",
241
+ "name": "isDev",
242
+ "description": "Determines if the current environment is a development environment.",
399
243
  "privacy": "public"
400
244
  }
401
245
  ],
402
246
  "exports": [
403
247
  {
404
248
  "kind": "js",
405
- "name": "renderOnChange",
249
+ "name": "isDev",
406
250
  "declaration": {
407
- "name": "renderOnChange",
408
- "module": "src/decorators/renderOnChange.ts"
251
+ "name": "isDev",
252
+ "module": "src/env/is-dev.ts"
409
253
  }
410
254
  }
411
255
  ]
412
256
  },
413
257
  {
414
258
  "kind": "javascript-module",
415
- "path": "src/design-system/design-system.ts",
259
+ "path": "src/env/variables.ts",
416
260
  "declarations": [
417
261
  {
418
- "kind": "function",
419
- "name": "assureDesignSystem",
420
- "return": {
421
- "type": {
422
- "text": "DesignSystemModule"
423
- }
262
+ "kind": "variable",
263
+ "name": "SOCKET_EXT",
264
+ "type": {
265
+ "text": "string"
266
+ }
267
+ },
268
+ {
269
+ "kind": "variable",
270
+ "name": "_SOCKET_EXT",
271
+ "type": {
272
+ "text": "string"
424
273
  },
425
- "parameters": [
426
- {
427
- "name": "module",
428
- "type": {
429
- "text": "DesignSystemModule"
430
- }
431
- }
432
- ],
433
- "description": "assureDesignSystem.",
274
+ "default": "'gwf'",
275
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
276
+ "privacy": "public"
277
+ },
278
+ {
279
+ "kind": "variable",
280
+ "name": "FORCE_HTTP",
281
+ "type": {
282
+ "text": "string"
283
+ }
284
+ },
285
+ {
286
+ "kind": "variable",
287
+ "name": "_FORCE_HTTP",
288
+ "type": {
289
+ "text": "string"
290
+ },
291
+ "description": "The path to a JSON config file for the HTTP mode.",
292
+ "privacy": "public"
293
+ },
294
+ {
295
+ "kind": "variable",
296
+ "name": "API_HOST",
297
+ "type": {
298
+ "text": "string"
299
+ }
300
+ },
301
+ {
302
+ "kind": "variable",
303
+ "name": "_API_HOST",
304
+ "type": {
305
+ "text": "string"
306
+ },
307
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
308
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
309
+ "privacy": "public"
310
+ },
311
+ {
312
+ "kind": "variable",
313
+ "name": "HTTP_CONFIG",
314
+ "type": {
315
+ "text": "string"
316
+ }
317
+ },
318
+ {
319
+ "kind": "variable",
320
+ "name": "_HTTP_CONFIG",
321
+ "type": {
322
+ "text": "string"
323
+ },
324
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
325
+ "privacy": "public"
326
+ },
327
+ {
328
+ "kind": "variable",
329
+ "name": "DEFAULT_ORGANISATION",
330
+ "type": {
331
+ "text": "string"
332
+ }
333
+ },
334
+ {
335
+ "kind": "variable",
336
+ "name": "_DEFAULT_ORGANISATION",
337
+ "type": {
338
+ "text": "string"
339
+ },
340
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
341
+ "privacy": "public"
342
+ },
343
+ {
344
+ "kind": "variable",
345
+ "name": "DEFAULT_PASSWORD",
346
+ "type": {
347
+ "text": "string"
348
+ }
349
+ },
350
+ {
351
+ "kind": "variable",
352
+ "name": "_DEFAULT_PASSWORD",
353
+ "type": {
354
+ "text": "string"
355
+ },
356
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
357
+ "privacy": "public"
358
+ },
359
+ {
360
+ "kind": "variable",
361
+ "name": "DEFAULT_USER",
362
+ "type": {
363
+ "text": "string"
364
+ }
365
+ },
366
+ {
367
+ "kind": "variable",
368
+ "name": "_DEFAULT_USER",
369
+ "type": {
370
+ "text": "string"
371
+ },
372
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
434
373
  "privacy": "public"
435
374
  }
436
375
  ],
437
376
  "exports": [
438
377
  {
439
378
  "kind": "js",
440
- "name": "assureDesignSystem",
379
+ "name": "SOCKET_EXT",
380
+ "declaration": {
381
+ "name": "_SOCKET_EXT",
382
+ "module": "src/env/variables.ts"
383
+ }
384
+ },
385
+ {
386
+ "kind": "js",
387
+ "name": "FORCE_HTTP",
388
+ "declaration": {
389
+ "name": "_FORCE_HTTP",
390
+ "module": "src/env/variables.ts"
391
+ }
392
+ },
393
+ {
394
+ "kind": "js",
395
+ "name": "API_HOST",
441
396
  "declaration": {
442
- "name": "assureDesignSystem",
443
- "module": "src/design-system/design-system.ts"
397
+ "name": "_API_HOST",
398
+ "module": "src/env/variables.ts"
444
399
  }
445
- }
446
- ]
447
- },
448
- {
449
- "kind": "javascript-module",
450
- "path": "src/design-system/index.ts",
451
- "declarations": [],
452
- "exports": [
400
+ },
453
401
  {
454
402
  "kind": "js",
455
- "name": "*",
403
+ "name": "HTTP_CONFIG",
456
404
  "declaration": {
457
- "name": "*",
458
- "package": "./design-system"
405
+ "name": "_HTTP_CONFIG",
406
+ "module": "src/env/variables.ts"
459
407
  }
460
- }
461
- ]
462
- },
463
- {
464
- "kind": "javascript-module",
465
- "path": "src/directives/index.ts",
466
- "declarations": [],
467
- "exports": [
408
+ },
468
409
  {
469
410
  "kind": "js",
470
- "name": "*",
411
+ "name": "DEFAULT_ORGANISATION",
471
412
  "declaration": {
472
- "name": "*",
473
- "package": "./sync"
413
+ "name": "_DEFAULT_ORGANISATION",
414
+ "module": "src/env/variables.ts"
474
415
  }
475
416
  },
476
417
  {
477
418
  "kind": "js",
478
- "name": "*",
419
+ "name": "DEFAULT_PASSWORD",
479
420
  "declaration": {
480
- "name": "*",
481
- "package": "./when-else"
421
+ "name": "_DEFAULT_PASSWORD",
422
+ "module": "src/env/variables.ts"
423
+ }
424
+ },
425
+ {
426
+ "kind": "js",
427
+ "name": "DEFAULT_USER",
428
+ "declaration": {
429
+ "name": "_DEFAULT_USER",
430
+ "module": "src/env/variables.ts"
482
431
  }
483
432
  }
484
433
  ]
@@ -684,7 +633,7 @@
684
633
  },
685
634
  {
686
635
  "kind": "javascript-module",
687
- "path": "src/env/index.ts",
636
+ "path": "src/directives/index.ts",
688
637
  "declarations": [],
689
638
  "exports": [
690
639
  {
@@ -692,7 +641,7 @@
692
641
  "name": "*",
693
642
  "declaration": {
694
643
  "name": "*",
695
- "package": "./is-dev"
644
+ "package": "./sync"
696
645
  }
697
646
  },
698
647
  {
@@ -700,207 +649,258 @@
700
649
  "name": "*",
701
650
  "declaration": {
702
651
  "name": "*",
703
- "package": "./variables"
652
+ "package": "./when-else"
704
653
  }
705
654
  }
706
655
  ]
707
656
  },
708
657
  {
709
658
  "kind": "javascript-module",
710
- "path": "src/env/is-dev.ts",
659
+ "path": "src/decorators/index.ts",
660
+ "declarations": [],
661
+ "exports": [
662
+ {
663
+ "kind": "js",
664
+ "name": "*",
665
+ "declaration": {
666
+ "name": "*",
667
+ "package": "./renderOnChange"
668
+ }
669
+ }
670
+ ]
671
+ },
672
+ {
673
+ "kind": "javascript-module",
674
+ "path": "src/decorators/renderOnChange.ts",
711
675
  "declarations": [
712
676
  {
713
677
  "kind": "function",
714
- "name": "isDev",
715
- "description": "Determines if the current environment is a development environment.",
678
+ "name": "renderOnChange",
679
+ "parameters": [
680
+ {
681
+ "name": "target",
682
+ "type": {
683
+ "text": "FASTElement & { render(): void }"
684
+ },
685
+ "description": "The target to define the property change handler on."
686
+ },
687
+ {
688
+ "name": "name",
689
+ "type": {
690
+ "text": "string"
691
+ },
692
+ "description": "The property name."
693
+ }
694
+ ],
695
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
716
696
  "privacy": "public"
717
697
  }
718
698
  ],
719
699
  "exports": [
720
700
  {
721
701
  "kind": "js",
722
- "name": "isDev",
702
+ "name": "renderOnChange",
703
+ "declaration": {
704
+ "name": "renderOnChange",
705
+ "module": "src/decorators/renderOnChange.ts"
706
+ }
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "kind": "javascript-module",
712
+ "path": "src/data/inMemoryDatabase.ts",
713
+ "declarations": [
714
+ {
715
+ "kind": "class",
716
+ "description": "An in memory database of specific DatabaseRecord types.",
717
+ "name": "InMemoryDatabase",
718
+ "members": [
719
+ {
720
+ "kind": "field",
721
+ "name": "isWorking",
722
+ "type": {
723
+ "text": "boolean"
724
+ },
725
+ "privacy": "public",
726
+ "default": "false"
727
+ },
728
+ {
729
+ "kind": "field",
730
+ "name": "records",
731
+ "type": {
732
+ "text": "Record<string, T>"
733
+ },
734
+ "privacy": "private",
735
+ "default": "{}"
736
+ },
737
+ {
738
+ "kind": "field",
739
+ "name": "beforeUpdateListeners",
740
+ "privacy": "private"
741
+ },
742
+ {
743
+ "kind": "field",
744
+ "name": "afterUpdateListeners",
745
+ "privacy": "private"
746
+ },
747
+ {
748
+ "kind": "method",
749
+ "name": "create",
750
+ "privacy": "public",
751
+ "return": {
752
+ "type": {
753
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
754
+ }
755
+ },
756
+ "parameters": [
757
+ {
758
+ "name": "newValue",
759
+ "type": {
760
+ "text": "Omit<T, 'id'>"
761
+ }
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "kind": "method",
767
+ "name": "read",
768
+ "privacy": "public",
769
+ "return": {
770
+ "type": {
771
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
772
+ }
773
+ },
774
+ "parameters": [
775
+ {
776
+ "name": "id",
777
+ "type": {
778
+ "text": "string"
779
+ }
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "kind": "method",
785
+ "name": "update",
786
+ "privacy": "public",
787
+ "return": {
788
+ "type": {
789
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
790
+ }
791
+ },
792
+ "parameters": [
793
+ {
794
+ "name": "id",
795
+ "type": {
796
+ "text": "string"
797
+ }
798
+ },
799
+ {
800
+ "name": "newValue",
801
+ "type": {
802
+ "text": "Omit<Partial<T>, 'id'>"
803
+ }
804
+ }
805
+ ]
806
+ },
807
+ {
808
+ "kind": "method",
809
+ "name": "delete",
810
+ "privacy": "public",
811
+ "return": {
812
+ "type": {
813
+ "text": "Promise<DatabaseAccessResult.Delete>"
814
+ }
815
+ },
816
+ "parameters": [
817
+ {
818
+ "name": "id",
819
+ "type": {
820
+ "text": "string"
821
+ }
822
+ }
823
+ ]
824
+ },
825
+ {
826
+ "kind": "method",
827
+ "name": "visit",
828
+ "privacy": "public",
829
+ "return": {
830
+ "type": {
831
+ "text": "Promise<void>"
832
+ }
833
+ },
834
+ "parameters": [
835
+ {
836
+ "name": "visitor",
837
+ "type": {
838
+ "text": "(record: T) => void"
839
+ }
840
+ }
841
+ ]
842
+ },
843
+ {
844
+ "kind": "method",
845
+ "name": "onBeforeUpdate",
846
+ "privacy": "public",
847
+ "return": {
848
+ "type": {
849
+ "text": "() => void"
850
+ }
851
+ },
852
+ "parameters": [
853
+ {
854
+ "name": "listener",
855
+ "type": {
856
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
857
+ }
858
+ }
859
+ ]
860
+ },
861
+ {
862
+ "kind": "method",
863
+ "name": "onAfterUpdate",
864
+ "privacy": "public",
865
+ "return": {
866
+ "type": {
867
+ "text": "() => void"
868
+ }
869
+ },
870
+ "parameters": [
871
+ {
872
+ "name": "listener",
873
+ "type": {
874
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
875
+ }
876
+ }
877
+ ]
878
+ }
879
+ ]
880
+ }
881
+ ],
882
+ "exports": [
883
+ {
884
+ "kind": "js",
885
+ "name": "InMemoryDatabase",
723
886
  "declaration": {
724
- "name": "isDev",
725
- "module": "src/env/is-dev.ts"
887
+ "name": "InMemoryDatabase",
888
+ "module": "src/data/inMemoryDatabase.ts"
726
889
  }
727
890
  }
728
891
  ]
729
892
  },
730
893
  {
731
894
  "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": "API_HOST",
770
- "type": {
771
- "text": "string"
772
- }
773
- },
774
- {
775
- "kind": "variable",
776
- "name": "_API_HOST",
777
- "type": {
778
- "text": "string"
779
- },
780
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
781
- "description": "The Genesis Server URL (WebSocket or HTTP).",
782
- "privacy": "public"
783
- },
784
- {
785
- "kind": "variable",
786
- "name": "HTTP_CONFIG",
787
- "type": {
788
- "text": "string"
789
- }
790
- },
791
- {
792
- "kind": "variable",
793
- "name": "_HTTP_CONFIG",
794
- "type": {
795
- "text": "string"
796
- },
797
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
798
- "privacy": "public"
799
- },
800
- {
801
- "kind": "variable",
802
- "name": "DEFAULT_ORGANISATION",
803
- "type": {
804
- "text": "string"
805
- }
806
- },
807
- {
808
- "kind": "variable",
809
- "name": "_DEFAULT_ORGANISATION",
810
- "type": {
811
- "text": "string"
812
- },
813
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
814
- "privacy": "public"
815
- },
816
- {
817
- "kind": "variable",
818
- "name": "DEFAULT_PASSWORD",
819
- "type": {
820
- "text": "string"
821
- }
822
- },
823
- {
824
- "kind": "variable",
825
- "name": "_DEFAULT_PASSWORD",
826
- "type": {
827
- "text": "string"
828
- },
829
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
830
- "privacy": "public"
831
- },
832
- {
833
- "kind": "variable",
834
- "name": "DEFAULT_USER",
835
- "type": {
836
- "text": "string"
837
- }
838
- },
839
- {
840
- "kind": "variable",
841
- "name": "_DEFAULT_USER",
842
- "type": {
843
- "text": "string"
844
- },
845
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
846
- "privacy": "public"
847
- }
848
- ],
895
+ "path": "src/data/index.ts",
896
+ "declarations": [],
849
897
  "exports": [
850
898
  {
851
899
  "kind": "js",
852
- "name": "SOCKET_EXT",
853
- "declaration": {
854
- "name": "_SOCKET_EXT",
855
- "module": "src/env/variables.ts"
856
- }
857
- },
858
- {
859
- "kind": "js",
860
- "name": "FORCE_HTTP",
861
- "declaration": {
862
- "name": "_FORCE_HTTP",
863
- "module": "src/env/variables.ts"
864
- }
865
- },
866
- {
867
- "kind": "js",
868
- "name": "API_HOST",
869
- "declaration": {
870
- "name": "_API_HOST",
871
- "module": "src/env/variables.ts"
872
- }
873
- },
874
- {
875
- "kind": "js",
876
- "name": "HTTP_CONFIG",
877
- "declaration": {
878
- "name": "_HTTP_CONFIG",
879
- "module": "src/env/variables.ts"
880
- }
881
- },
882
- {
883
- "kind": "js",
884
- "name": "DEFAULT_ORGANISATION",
885
- "declaration": {
886
- "name": "_DEFAULT_ORGANISATION",
887
- "module": "src/env/variables.ts"
888
- }
889
- },
890
- {
891
- "kind": "js",
892
- "name": "DEFAULT_PASSWORD",
893
- "declaration": {
894
- "name": "_DEFAULT_PASSWORD",
895
- "module": "src/env/variables.ts"
896
- }
897
- },
898
- {
899
- "kind": "js",
900
- "name": "DEFAULT_USER",
900
+ "name": "*",
901
901
  "declaration": {
902
- "name": "_DEFAULT_USER",
903
- "module": "src/env/variables.ts"
902
+ "name": "*",
903
+ "package": "./inMemoryDatabase"
904
904
  }
905
905
  }
906
906
  ]
@@ -1313,62 +1313,6 @@
1313
1313
  }
1314
1314
  ]
1315
1315
  },
1316
- {
1317
- "kind": "javascript-module",
1318
- "path": "src/resource/index.ts",
1319
- "declarations": [],
1320
- "exports": [
1321
- {
1322
- "kind": "js",
1323
- "name": "*",
1324
- "declaration": {
1325
- "name": "*",
1326
- "package": "./types"
1327
- }
1328
- }
1329
- ]
1330
- },
1331
- {
1332
- "kind": "javascript-module",
1333
- "path": "src/resource/types.ts",
1334
- "declarations": [
1335
- {
1336
- "kind": "variable",
1337
- "name": "ResourceType",
1338
- "type": {
1339
- "text": "{\n local: 'local',\n remote: 'remote',\n}"
1340
- },
1341
- "default": "{\n local: 'local',\n remote: 'remote',\n}",
1342
- "description": "An object that defines two resource types: \"local\" and \"remote\".",
1343
- "privacy": "public"
1344
- }
1345
- ],
1346
- "exports": [
1347
- {
1348
- "kind": "js",
1349
- "name": "ResourceType",
1350
- "declaration": {
1351
- "name": "ResourceType",
1352
- "module": "src/resource/types.ts"
1353
- }
1354
- }
1355
- ]
1356
- },
1357
- {
1358
- "kind": "javascript-module",
1359
- "path": "src/serializers/index.ts",
1360
- "declarations": [],
1361
- "exports": [
1362
- {
1363
- "kind": "js",
1364
- "name": "*",
1365
- "declaration": {
1366
- "name": "*",
1367
- "package": "./json"
1368
- }
1369
- }
1370
- ]
1371
- },
1372
1316
  {
1373
1317
  "kind": "javascript-module",
1374
1318
  "path": "src/promise/index.ts",
@@ -1425,6 +1369,62 @@
1425
1369
  }
1426
1370
  ]
1427
1371
  },
1372
+ {
1373
+ "kind": "javascript-module",
1374
+ "path": "src/resource/index.ts",
1375
+ "declarations": [],
1376
+ "exports": [
1377
+ {
1378
+ "kind": "js",
1379
+ "name": "*",
1380
+ "declaration": {
1381
+ "name": "*",
1382
+ "package": "./types"
1383
+ }
1384
+ }
1385
+ ]
1386
+ },
1387
+ {
1388
+ "kind": "javascript-module",
1389
+ "path": "src/resource/types.ts",
1390
+ "declarations": [
1391
+ {
1392
+ "kind": "variable",
1393
+ "name": "ResourceType",
1394
+ "type": {
1395
+ "text": "{\n local: 'local',\n remote: 'remote',\n}"
1396
+ },
1397
+ "default": "{\n local: 'local',\n remote: 'remote',\n}",
1398
+ "description": "An object that defines two resource types: \"local\" and \"remote\".",
1399
+ "privacy": "public"
1400
+ }
1401
+ ],
1402
+ "exports": [
1403
+ {
1404
+ "kind": "js",
1405
+ "name": "ResourceType",
1406
+ "declaration": {
1407
+ "name": "ResourceType",
1408
+ "module": "src/resource/types.ts"
1409
+ }
1410
+ }
1411
+ ]
1412
+ },
1413
+ {
1414
+ "kind": "javascript-module",
1415
+ "path": "src/serializers/index.ts",
1416
+ "declarations": [],
1417
+ "exports": [
1418
+ {
1419
+ "kind": "js",
1420
+ "name": "*",
1421
+ "declaration": {
1422
+ "name": "*",
1423
+ "package": "./json"
1424
+ }
1425
+ }
1426
+ ]
1427
+ },
1428
1428
  {
1429
1429
  "kind": "javascript-module",
1430
1430
  "path": "src/state/index.ts",
@@ -2272,106 +2272,6 @@
2272
2272
  }
2273
2273
  ]
2274
2274
  },
2275
- {
2276
- "kind": "javascript-module",
2277
- "path": "src/mappers/dto/index.ts",
2278
- "declarations": [],
2279
- "exports": [
2280
- {
2281
- "kind": "js",
2282
- "name": "*",
2283
- "declaration": {
2284
- "name": "*",
2285
- "package": "./serverRow"
2286
- }
2287
- },
2288
- {
2289
- "kind": "js",
2290
- "name": "*",
2291
- "declaration": {
2292
- "name": "*",
2293
- "package": "./types"
2294
- }
2295
- }
2296
- ]
2297
- },
2298
- {
2299
- "kind": "javascript-module",
2300
- "path": "src/mappers/dto/serverRow.ts",
2301
- "declarations": [
2302
- {
2303
- "kind": "class",
2304
- "description": "The default `ServerRowDTOMapper`.",
2305
- "name": "DefaultServerRowDTOMapper",
2306
- "members": [
2307
- {
2308
- "kind": "field",
2309
- "name": "fromDTO",
2310
- "description": "Converts a server row DTO to an entity.",
2311
- "parameters": [
2312
- {
2313
- "description": "The DTO to convert.",
2314
- "name": "dto"
2315
- }
2316
- ],
2317
- "return": {
2318
- "type": {
2319
- "text": ""
2320
- }
2321
- },
2322
- "privacy": "public"
2323
- },
2324
- {
2325
- "kind": "field",
2326
- "name": "toDTO",
2327
- "description": "Converts a server row entity to a DTO.",
2328
- "parameters": [
2329
- {
2330
- "description": "The entity to convert.",
2331
- "name": "entity"
2332
- }
2333
- ],
2334
- "return": {
2335
- "type": {
2336
- "text": ""
2337
- }
2338
- },
2339
- "privacy": "public"
2340
- }
2341
- ]
2342
- },
2343
- {
2344
- "kind": "variable",
2345
- "name": "ServerRowDTOMapper",
2346
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2347
- "privacy": "public"
2348
- }
2349
- ],
2350
- "exports": [
2351
- {
2352
- "kind": "js",
2353
- "name": "DefaultServerRowDTOMapper",
2354
- "declaration": {
2355
- "name": "DefaultServerRowDTOMapper",
2356
- "module": "src/mappers/dto/serverRow.ts"
2357
- }
2358
- },
2359
- {
2360
- "kind": "js",
2361
- "name": "ServerRowDTOMapper",
2362
- "declaration": {
2363
- "name": "ServerRowDTOMapper",
2364
- "module": "src/mappers/dto/serverRow.ts"
2365
- }
2366
- }
2367
- ]
2368
- },
2369
- {
2370
- "kind": "javascript-module",
2371
- "path": "src/mappers/dto/types.ts",
2372
- "declarations": [],
2373
- "exports": []
2374
- },
2375
2275
  {
2376
2276
  "kind": "javascript-module",
2377
2277
  "path": "src/mixins/lifecycle/index.ts",
@@ -2809,6 +2709,106 @@
2809
2709
  "path": "src/serializers/json/types.ts",
2810
2710
  "declarations": [],
2811
2711
  "exports": []
2712
+ },
2713
+ {
2714
+ "kind": "javascript-module",
2715
+ "path": "src/mappers/dto/index.ts",
2716
+ "declarations": [],
2717
+ "exports": [
2718
+ {
2719
+ "kind": "js",
2720
+ "name": "*",
2721
+ "declaration": {
2722
+ "name": "*",
2723
+ "package": "./serverRow"
2724
+ }
2725
+ },
2726
+ {
2727
+ "kind": "js",
2728
+ "name": "*",
2729
+ "declaration": {
2730
+ "name": "*",
2731
+ "package": "./types"
2732
+ }
2733
+ }
2734
+ ]
2735
+ },
2736
+ {
2737
+ "kind": "javascript-module",
2738
+ "path": "src/mappers/dto/serverRow.ts",
2739
+ "declarations": [
2740
+ {
2741
+ "kind": "class",
2742
+ "description": "The default `ServerRowDTOMapper`.",
2743
+ "name": "DefaultServerRowDTOMapper",
2744
+ "members": [
2745
+ {
2746
+ "kind": "field",
2747
+ "name": "fromDTO",
2748
+ "description": "Converts a server row DTO to an entity.",
2749
+ "parameters": [
2750
+ {
2751
+ "description": "The DTO to convert.",
2752
+ "name": "dto"
2753
+ }
2754
+ ],
2755
+ "return": {
2756
+ "type": {
2757
+ "text": ""
2758
+ }
2759
+ },
2760
+ "privacy": "public"
2761
+ },
2762
+ {
2763
+ "kind": "field",
2764
+ "name": "toDTO",
2765
+ "description": "Converts a server row entity to a DTO.",
2766
+ "parameters": [
2767
+ {
2768
+ "description": "The entity to convert.",
2769
+ "name": "entity"
2770
+ }
2771
+ ],
2772
+ "return": {
2773
+ "type": {
2774
+ "text": ""
2775
+ }
2776
+ },
2777
+ "privacy": "public"
2778
+ }
2779
+ ]
2780
+ },
2781
+ {
2782
+ "kind": "variable",
2783
+ "name": "ServerRowDTOMapper",
2784
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2785
+ "privacy": "public"
2786
+ }
2787
+ ],
2788
+ "exports": [
2789
+ {
2790
+ "kind": "js",
2791
+ "name": "DefaultServerRowDTOMapper",
2792
+ "declaration": {
2793
+ "name": "DefaultServerRowDTOMapper",
2794
+ "module": "src/mappers/dto/serverRow.ts"
2795
+ }
2796
+ },
2797
+ {
2798
+ "kind": "js",
2799
+ "name": "ServerRowDTOMapper",
2800
+ "declaration": {
2801
+ "name": "ServerRowDTOMapper",
2802
+ "module": "src/mappers/dto/serverRow.ts"
2803
+ }
2804
+ }
2805
+ ]
2806
+ },
2807
+ {
2808
+ "kind": "javascript-module",
2809
+ "path": "src/mappers/dto/types.ts",
2810
+ "declarations": [],
2811
+ "exports": []
2812
2812
  }
2813
2813
  ]
2814
2814
  }
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.176.1-alpha-ed9e3d4.0",
4
+ "version": "14.177.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -19,17 +19,17 @@
19
19
  "test": "genx test"
20
20
  },
21
21
  "devDependencies": {
22
- "@genesislcap/foundation-testing": "14.176.1-alpha-ed9e3d4.0",
23
- "@genesislcap/genx": "14.176.1-alpha-ed9e3d4.0",
24
- "@genesislcap/rollup-builder": "14.176.1-alpha-ed9e3d4.0",
25
- "@genesislcap/ts-builder": "14.176.1-alpha-ed9e3d4.0",
26
- "@genesislcap/uvu-playwright-builder": "14.176.1-alpha-ed9e3d4.0",
27
- "@genesislcap/vite-builder": "14.176.1-alpha-ed9e3d4.0",
28
- "@genesislcap/webpack-builder": "14.176.1-alpha-ed9e3d4.0",
22
+ "@genesislcap/foundation-testing": "14.177.1",
23
+ "@genesislcap/genx": "14.177.1",
24
+ "@genesislcap/rollup-builder": "14.177.1",
25
+ "@genesislcap/ts-builder": "14.177.1",
26
+ "@genesislcap/uvu-playwright-builder": "14.177.1",
27
+ "@genesislcap/vite-builder": "14.177.1",
28
+ "@genesislcap/webpack-builder": "14.177.1",
29
29
  "rimraf": "^3.0.2"
30
30
  },
31
31
  "dependencies": {
32
- "@genesislcap/foundation-logger": "14.176.1-alpha-ed9e3d4.0",
32
+ "@genesislcap/foundation-logger": "14.177.1",
33
33
  "@microsoft/fast-components": "^2.30.6",
34
34
  "@microsoft/fast-element": "^1.12.0",
35
35
  "@microsoft/fast-foundation": "^2.49.4",
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "customElements": "dist/custom-elements.json",
50
- "gitHead": "6445272a68d360b0f5bb97adc641df806470957e"
50
+ "gitHead": "c07c95144c7ef605e038161300877aea756dcc28"
51
51
  }