@genesislcap/foundation-utils 14.168.0 → 14.170.0-genxgit.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 +251 -251
  2. package/package.json +10 -10
@@ -159,204 +159,6 @@
159
159
  }
160
160
  ]
161
161
  },
162
- {
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
- ],
334
- "exports": [
335
- {
336
- "kind": "js",
337
- "name": "InMemoryDatabase",
338
- "declaration": {
339
- "name": "InMemoryDatabase",
340
- "module": "src/data/inMemoryDatabase.ts"
341
- }
342
- }
343
- ]
344
- },
345
- {
346
- "kind": "javascript-module",
347
- "path": "src/data/index.ts",
348
- "declarations": [],
349
- "exports": [
350
- {
351
- "kind": "js",
352
- "name": "*",
353
- "declaration": {
354
- "name": "*",
355
- "package": "./inMemoryDatabase"
356
- }
357
- }
358
- ]
359
- },
360
162
  {
361
163
  "kind": "javascript-module",
362
164
  "path": "src/design-system/design-system.ts",
@@ -430,59 +232,6 @@
430
232
  }
431
233
  ]
432
234
  },
433
- {
434
- "kind": "javascript-module",
435
- "path": "src/decorators/index.ts",
436
- "declarations": [],
437
- "exports": [
438
- {
439
- "kind": "js",
440
- "name": "*",
441
- "declaration": {
442
- "name": "*",
443
- "package": "./renderOnChange"
444
- }
445
- }
446
- ]
447
- },
448
- {
449
- "kind": "javascript-module",
450
- "path": "src/decorators/renderOnChange.ts",
451
- "declarations": [
452
- {
453
- "kind": "function",
454
- "name": "renderOnChange",
455
- "parameters": [
456
- {
457
- "name": "target",
458
- "type": {
459
- "text": "FASTElement & { render(): void }"
460
- },
461
- "description": "The target to define the property change handler on."
462
- },
463
- {
464
- "name": "name",
465
- "type": {
466
- "text": "string"
467
- },
468
- "description": "The property name."
469
- }
470
- ],
471
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
472
- "privacy": "public"
473
- }
474
- ],
475
- "exports": [
476
- {
477
- "kind": "js",
478
- "name": "renderOnChange",
479
- "declaration": {
480
- "name": "renderOnChange",
481
- "module": "src/decorators/renderOnChange.ts"
482
- }
483
- }
484
- ]
485
- },
486
235
  {
487
236
  "kind": "javascript-module",
488
237
  "path": "src/env/index.ts",
@@ -905,6 +654,257 @@
905
654
  }
906
655
  ]
907
656
  },
657
+ {
658
+ "kind": "javascript-module",
659
+ "path": "src/data/inMemoryDatabase.ts",
660
+ "declarations": [
661
+ {
662
+ "kind": "class",
663
+ "description": "An in memory database of specific DatabaseRecord types.",
664
+ "name": "InMemoryDatabase",
665
+ "members": [
666
+ {
667
+ "kind": "field",
668
+ "name": "isWorking",
669
+ "type": {
670
+ "text": "boolean"
671
+ },
672
+ "privacy": "public",
673
+ "default": "false"
674
+ },
675
+ {
676
+ "kind": "field",
677
+ "name": "records",
678
+ "type": {
679
+ "text": "Record<string, T>"
680
+ },
681
+ "privacy": "private",
682
+ "default": "{}"
683
+ },
684
+ {
685
+ "kind": "field",
686
+ "name": "beforeUpdateListeners",
687
+ "privacy": "private"
688
+ },
689
+ {
690
+ "kind": "field",
691
+ "name": "afterUpdateListeners",
692
+ "privacy": "private"
693
+ },
694
+ {
695
+ "kind": "method",
696
+ "name": "create",
697
+ "privacy": "public",
698
+ "return": {
699
+ "type": {
700
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
701
+ }
702
+ },
703
+ "parameters": [
704
+ {
705
+ "name": "newValue",
706
+ "type": {
707
+ "text": "Omit<T, 'id'>"
708
+ }
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "kind": "method",
714
+ "name": "read",
715
+ "privacy": "public",
716
+ "return": {
717
+ "type": {
718
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
719
+ }
720
+ },
721
+ "parameters": [
722
+ {
723
+ "name": "id",
724
+ "type": {
725
+ "text": "string"
726
+ }
727
+ }
728
+ ]
729
+ },
730
+ {
731
+ "kind": "method",
732
+ "name": "update",
733
+ "privacy": "public",
734
+ "return": {
735
+ "type": {
736
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
737
+ }
738
+ },
739
+ "parameters": [
740
+ {
741
+ "name": "id",
742
+ "type": {
743
+ "text": "string"
744
+ }
745
+ },
746
+ {
747
+ "name": "newValue",
748
+ "type": {
749
+ "text": "Omit<Partial<T>, 'id'>"
750
+ }
751
+ }
752
+ ]
753
+ },
754
+ {
755
+ "kind": "method",
756
+ "name": "delete",
757
+ "privacy": "public",
758
+ "return": {
759
+ "type": {
760
+ "text": "Promise<DatabaseAccessResult.Delete>"
761
+ }
762
+ },
763
+ "parameters": [
764
+ {
765
+ "name": "id",
766
+ "type": {
767
+ "text": "string"
768
+ }
769
+ }
770
+ ]
771
+ },
772
+ {
773
+ "kind": "method",
774
+ "name": "visit",
775
+ "privacy": "public",
776
+ "return": {
777
+ "type": {
778
+ "text": "Promise<void>"
779
+ }
780
+ },
781
+ "parameters": [
782
+ {
783
+ "name": "visitor",
784
+ "type": {
785
+ "text": "(record: T) => void"
786
+ }
787
+ }
788
+ ]
789
+ },
790
+ {
791
+ "kind": "method",
792
+ "name": "onBeforeUpdate",
793
+ "privacy": "public",
794
+ "return": {
795
+ "type": {
796
+ "text": "() => void"
797
+ }
798
+ },
799
+ "parameters": [
800
+ {
801
+ "name": "listener",
802
+ "type": {
803
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
804
+ }
805
+ }
806
+ ]
807
+ },
808
+ {
809
+ "kind": "method",
810
+ "name": "onAfterUpdate",
811
+ "privacy": "public",
812
+ "return": {
813
+ "type": {
814
+ "text": "() => void"
815
+ }
816
+ },
817
+ "parameters": [
818
+ {
819
+ "name": "listener",
820
+ "type": {
821
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
822
+ }
823
+ }
824
+ ]
825
+ }
826
+ ]
827
+ }
828
+ ],
829
+ "exports": [
830
+ {
831
+ "kind": "js",
832
+ "name": "InMemoryDatabase",
833
+ "declaration": {
834
+ "name": "InMemoryDatabase",
835
+ "module": "src/data/inMemoryDatabase.ts"
836
+ }
837
+ }
838
+ ]
839
+ },
840
+ {
841
+ "kind": "javascript-module",
842
+ "path": "src/data/index.ts",
843
+ "declarations": [],
844
+ "exports": [
845
+ {
846
+ "kind": "js",
847
+ "name": "*",
848
+ "declaration": {
849
+ "name": "*",
850
+ "package": "./inMemoryDatabase"
851
+ }
852
+ }
853
+ ]
854
+ },
855
+ {
856
+ "kind": "javascript-module",
857
+ "path": "src/decorators/index.ts",
858
+ "declarations": [],
859
+ "exports": [
860
+ {
861
+ "kind": "js",
862
+ "name": "*",
863
+ "declaration": {
864
+ "name": "*",
865
+ "package": "./renderOnChange"
866
+ }
867
+ }
868
+ ]
869
+ },
870
+ {
871
+ "kind": "javascript-module",
872
+ "path": "src/decorators/renderOnChange.ts",
873
+ "declarations": [
874
+ {
875
+ "kind": "function",
876
+ "name": "renderOnChange",
877
+ "parameters": [
878
+ {
879
+ "name": "target",
880
+ "type": {
881
+ "text": "FASTElement & { render(): void }"
882
+ },
883
+ "description": "The target to define the property change handler on."
884
+ },
885
+ {
886
+ "name": "name",
887
+ "type": {
888
+ "text": "string"
889
+ },
890
+ "description": "The property name."
891
+ }
892
+ ],
893
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
894
+ "privacy": "public"
895
+ }
896
+ ],
897
+ "exports": [
898
+ {
899
+ "kind": "js",
900
+ "name": "renderOnChange",
901
+ "declaration": {
902
+ "name": "renderOnChange",
903
+ "module": "src/decorators/renderOnChange.ts"
904
+ }
905
+ }
906
+ ]
907
+ },
908
908
  {
909
909
  "kind": "javascript-module",
910
910
  "path": "src/formatters/datetime.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.168.0",
4
+ "version": "14.170.0-genxgit.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.168.0",
23
- "@genesislcap/genx": "14.168.0",
24
- "@genesislcap/rollup-builder": "14.168.0",
25
- "@genesislcap/ts-builder": "14.168.0",
26
- "@genesislcap/uvu-playwright-builder": "14.168.0",
27
- "@genesislcap/vite-builder": "14.168.0",
28
- "@genesislcap/webpack-builder": "14.168.0",
22
+ "@genesislcap/foundation-testing": "14.170.0-genxgit.1",
23
+ "@genesislcap/genx": "14.170.0-genxgit.1",
24
+ "@genesislcap/rollup-builder": "14.170.0-genxgit.1",
25
+ "@genesislcap/ts-builder": "14.170.0-genxgit.1",
26
+ "@genesislcap/uvu-playwright-builder": "14.170.0-genxgit.1",
27
+ "@genesislcap/vite-builder": "14.170.0-genxgit.1",
28
+ "@genesislcap/webpack-builder": "14.170.0-genxgit.1",
29
29
  "rimraf": "^3.0.2"
30
30
  },
31
31
  "dependencies": {
32
- "@genesislcap/foundation-logger": "14.168.0",
32
+ "@genesislcap/foundation-logger": "14.170.0-genxgit.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": "5c2dfe8431713254545105d0ce1da29bc62ff483"
50
+ "gitHead": "63c42feb1ea6f7bc16d8bd50ae4d90af80b7a9e5"
51
51
  }