@genesislcap/foundation-utils 14.114.0 → 14.114.2-alpha-a278302.0
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.
- package/dist/custom-elements.json +198 -198
- package/package.json +5 -5
|
@@ -143,204 +143,6 @@
|
|
|
143
143
|
}
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
|
-
{
|
|
147
|
-
"kind": "javascript-module",
|
|
148
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
149
|
-
"declarations": [
|
|
150
|
-
{
|
|
151
|
-
"kind": "class",
|
|
152
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
153
|
-
"name": "InMemoryDatabase",
|
|
154
|
-
"members": [
|
|
155
|
-
{
|
|
156
|
-
"kind": "field",
|
|
157
|
-
"name": "isWorking",
|
|
158
|
-
"type": {
|
|
159
|
-
"text": "boolean"
|
|
160
|
-
},
|
|
161
|
-
"privacy": "public",
|
|
162
|
-
"default": "false"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"kind": "field",
|
|
166
|
-
"name": "records",
|
|
167
|
-
"type": {
|
|
168
|
-
"text": "Record<string, T>"
|
|
169
|
-
},
|
|
170
|
-
"privacy": "private",
|
|
171
|
-
"default": "{}"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"kind": "field",
|
|
175
|
-
"name": "beforeUpdateListeners",
|
|
176
|
-
"privacy": "private"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"kind": "field",
|
|
180
|
-
"name": "afterUpdateListeners",
|
|
181
|
-
"privacy": "private"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"kind": "method",
|
|
185
|
-
"name": "create",
|
|
186
|
-
"privacy": "public",
|
|
187
|
-
"return": {
|
|
188
|
-
"type": {
|
|
189
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
"parameters": [
|
|
193
|
-
{
|
|
194
|
-
"name": "newValue",
|
|
195
|
-
"type": {
|
|
196
|
-
"text": "Omit<T, 'id'>"
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"kind": "method",
|
|
203
|
-
"name": "read",
|
|
204
|
-
"privacy": "public",
|
|
205
|
-
"return": {
|
|
206
|
-
"type": {
|
|
207
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"parameters": [
|
|
211
|
-
{
|
|
212
|
-
"name": "id",
|
|
213
|
-
"type": {
|
|
214
|
-
"text": "string"
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"kind": "method",
|
|
221
|
-
"name": "update",
|
|
222
|
-
"privacy": "public",
|
|
223
|
-
"return": {
|
|
224
|
-
"type": {
|
|
225
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"parameters": [
|
|
229
|
-
{
|
|
230
|
-
"name": "id",
|
|
231
|
-
"type": {
|
|
232
|
-
"text": "string"
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"name": "newValue",
|
|
237
|
-
"type": {
|
|
238
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"kind": "method",
|
|
245
|
-
"name": "delete",
|
|
246
|
-
"privacy": "public",
|
|
247
|
-
"return": {
|
|
248
|
-
"type": {
|
|
249
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"parameters": [
|
|
253
|
-
{
|
|
254
|
-
"name": "id",
|
|
255
|
-
"type": {
|
|
256
|
-
"text": "string"
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
]
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"kind": "method",
|
|
263
|
-
"name": "visit",
|
|
264
|
-
"privacy": "public",
|
|
265
|
-
"return": {
|
|
266
|
-
"type": {
|
|
267
|
-
"text": "Promise<void>"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
"parameters": [
|
|
271
|
-
{
|
|
272
|
-
"name": "visitor",
|
|
273
|
-
"type": {
|
|
274
|
-
"text": "(record: T) => void"
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"kind": "method",
|
|
281
|
-
"name": "onBeforeUpdate",
|
|
282
|
-
"privacy": "public",
|
|
283
|
-
"return": {
|
|
284
|
-
"type": {
|
|
285
|
-
"text": "() => void"
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
"parameters": [
|
|
289
|
-
{
|
|
290
|
-
"name": "listener",
|
|
291
|
-
"type": {
|
|
292
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
]
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"kind": "method",
|
|
299
|
-
"name": "onAfterUpdate",
|
|
300
|
-
"privacy": "public",
|
|
301
|
-
"return": {
|
|
302
|
-
"type": {
|
|
303
|
-
"text": "() => void"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"parameters": [
|
|
307
|
-
{
|
|
308
|
-
"name": "listener",
|
|
309
|
-
"type": {
|
|
310
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
]
|
|
314
|
-
}
|
|
315
|
-
]
|
|
316
|
-
}
|
|
317
|
-
],
|
|
318
|
-
"exports": [
|
|
319
|
-
{
|
|
320
|
-
"kind": "js",
|
|
321
|
-
"name": "InMemoryDatabase",
|
|
322
|
-
"declaration": {
|
|
323
|
-
"name": "InMemoryDatabase",
|
|
324
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
]
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"kind": "javascript-module",
|
|
331
|
-
"path": "src/data/index.ts",
|
|
332
|
-
"declarations": [],
|
|
333
|
-
"exports": [
|
|
334
|
-
{
|
|
335
|
-
"kind": "js",
|
|
336
|
-
"name": "*",
|
|
337
|
-
"declaration": {
|
|
338
|
-
"name": "*",
|
|
339
|
-
"package": "./inMemoryDatabase"
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
]
|
|
343
|
-
},
|
|
344
146
|
{
|
|
345
147
|
"kind": "javascript-module",
|
|
346
148
|
"path": "src/decorators/index.ts",
|
|
@@ -689,6 +491,204 @@
|
|
|
689
491
|
}
|
|
690
492
|
]
|
|
691
493
|
},
|
|
494
|
+
{
|
|
495
|
+
"kind": "javascript-module",
|
|
496
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
497
|
+
"declarations": [
|
|
498
|
+
{
|
|
499
|
+
"kind": "class",
|
|
500
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
501
|
+
"name": "InMemoryDatabase",
|
|
502
|
+
"members": [
|
|
503
|
+
{
|
|
504
|
+
"kind": "field",
|
|
505
|
+
"name": "isWorking",
|
|
506
|
+
"type": {
|
|
507
|
+
"text": "boolean"
|
|
508
|
+
},
|
|
509
|
+
"privacy": "public",
|
|
510
|
+
"default": "false"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"kind": "field",
|
|
514
|
+
"name": "records",
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "Record<string, T>"
|
|
517
|
+
},
|
|
518
|
+
"privacy": "private",
|
|
519
|
+
"default": "{}"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"kind": "field",
|
|
523
|
+
"name": "beforeUpdateListeners",
|
|
524
|
+
"privacy": "private"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"kind": "field",
|
|
528
|
+
"name": "afterUpdateListeners",
|
|
529
|
+
"privacy": "private"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"kind": "method",
|
|
533
|
+
"name": "create",
|
|
534
|
+
"privacy": "public",
|
|
535
|
+
"return": {
|
|
536
|
+
"type": {
|
|
537
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"parameters": [
|
|
541
|
+
{
|
|
542
|
+
"name": "newValue",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "Omit<T, 'id'>"
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
]
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"kind": "method",
|
|
551
|
+
"name": "read",
|
|
552
|
+
"privacy": "public",
|
|
553
|
+
"return": {
|
|
554
|
+
"type": {
|
|
555
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"parameters": [
|
|
559
|
+
{
|
|
560
|
+
"name": "id",
|
|
561
|
+
"type": {
|
|
562
|
+
"text": "string"
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"kind": "method",
|
|
569
|
+
"name": "update",
|
|
570
|
+
"privacy": "public",
|
|
571
|
+
"return": {
|
|
572
|
+
"type": {
|
|
573
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"parameters": [
|
|
577
|
+
{
|
|
578
|
+
"name": "id",
|
|
579
|
+
"type": {
|
|
580
|
+
"text": "string"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "newValue",
|
|
585
|
+
"type": {
|
|
586
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
]
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"kind": "method",
|
|
593
|
+
"name": "delete",
|
|
594
|
+
"privacy": "public",
|
|
595
|
+
"return": {
|
|
596
|
+
"type": {
|
|
597
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"parameters": [
|
|
601
|
+
{
|
|
602
|
+
"name": "id",
|
|
603
|
+
"type": {
|
|
604
|
+
"text": "string"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"kind": "method",
|
|
611
|
+
"name": "visit",
|
|
612
|
+
"privacy": "public",
|
|
613
|
+
"return": {
|
|
614
|
+
"type": {
|
|
615
|
+
"text": "Promise<void>"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"parameters": [
|
|
619
|
+
{
|
|
620
|
+
"name": "visitor",
|
|
621
|
+
"type": {
|
|
622
|
+
"text": "(record: T) => void"
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"kind": "method",
|
|
629
|
+
"name": "onBeforeUpdate",
|
|
630
|
+
"privacy": "public",
|
|
631
|
+
"return": {
|
|
632
|
+
"type": {
|
|
633
|
+
"text": "() => void"
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"parameters": [
|
|
637
|
+
{
|
|
638
|
+
"name": "listener",
|
|
639
|
+
"type": {
|
|
640
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
]
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"kind": "method",
|
|
647
|
+
"name": "onAfterUpdate",
|
|
648
|
+
"privacy": "public",
|
|
649
|
+
"return": {
|
|
650
|
+
"type": {
|
|
651
|
+
"text": "() => void"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"parameters": [
|
|
655
|
+
{
|
|
656
|
+
"name": "listener",
|
|
657
|
+
"type": {
|
|
658
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
}
|
|
663
|
+
]
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
"exports": [
|
|
667
|
+
{
|
|
668
|
+
"kind": "js",
|
|
669
|
+
"name": "InMemoryDatabase",
|
|
670
|
+
"declaration": {
|
|
671
|
+
"name": "InMemoryDatabase",
|
|
672
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
]
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"kind": "javascript-module",
|
|
679
|
+
"path": "src/data/index.ts",
|
|
680
|
+
"declarations": [],
|
|
681
|
+
"exports": [
|
|
682
|
+
{
|
|
683
|
+
"kind": "js",
|
|
684
|
+
"name": "*",
|
|
685
|
+
"declaration": {
|
|
686
|
+
"name": "*",
|
|
687
|
+
"package": "./inMemoryDatabase"
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
]
|
|
691
|
+
},
|
|
692
692
|
{
|
|
693
693
|
"kind": "javascript-module",
|
|
694
694
|
"path": "src/error/errorMap.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.114.0",
|
|
4
|
+
"version": "14.114.2-alpha-a278302.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.114.0",
|
|
23
|
-
"@genesislcap/genx": "14.114.0",
|
|
22
|
+
"@genesislcap/foundation-testing": "14.114.2-alpha-a278302.0",
|
|
23
|
+
"@genesislcap/genx": "14.114.2-alpha-a278302.0",
|
|
24
24
|
"rimraf": "^3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@genesislcap/foundation-logger": "14.114.0",
|
|
27
|
+
"@genesislcap/foundation-logger": "14.114.2-alpha-a278302.0",
|
|
28
28
|
"@microsoft/fast-components": "^2.21.3",
|
|
29
29
|
"@microsoft/fast-element": "^1.7.0",
|
|
30
30
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"customElements": "dist/custom-elements.json",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "38e827c3dd919626c745411ee2f1c883a1334767"
|
|
46
46
|
}
|