@epsilon-asi/foundation 0.0.1-testing

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 (71) hide show
  1. package/.npm/_logs/2026-05-02T22_04_53_277Z-debug-0.log +22 -0
  2. package/.npm/_logs/2026-05-02T22_04_53_601Z-debug-0.log +18 -0
  3. package/.npm/_logs/2026-05-02T22_04_58_522Z-debug-0.log +18 -0
  4. package/.npm/_logs/2026-05-02T22_05_00_812Z-debug-0.log +19 -0
  5. package/.npm/_logs/2026-05-02T22_05_00_961Z-debug-0.log +14 -0
  6. package/build/decorators/factory/clone.d.ts +3 -0
  7. package/build/decorators/factory/clone.js +85 -0
  8. package/build/decorators/factory/decoratorRegistry.d.ts +2 -0
  9. package/build/decorators/factory/decoratorRegistry.js +213 -0
  10. package/build/decorators/factory/examples/accessors.d.ts +25 -0
  11. package/build/decorators/factory/examples/accessors.js +87 -0
  12. package/build/decorators/factory/examples/crud.d.ts +50 -0
  13. package/build/decorators/factory/examples/crud.js +120 -0
  14. package/build/decorators/factory/examples/orm.d.ts +45 -0
  15. package/build/decorators/factory/examples/orm.js +107 -0
  16. package/build/decorators/factory/examples/routing.d.ts +43 -0
  17. package/build/decorators/factory/examples/routing.js +112 -0
  18. package/build/decorators/factory/examples/runExamples.d.ts +1 -0
  19. package/build/decorators/factory/examples/runExamples.js +22 -0
  20. package/build/decorators/factory/examples/serialization.d.ts +24 -0
  21. package/build/decorators/factory/examples/serialization.js +79 -0
  22. package/build/decorators/factory/index.d.ts +3 -0
  23. package/build/decorators/factory/index.js +8 -0
  24. package/build/decorators/factory/snapshot.d.ts +2 -0
  25. package/build/decorators/factory/snapshot.js +75 -0
  26. package/build/decorators/factory/symbolMetadata.d.ts +2 -0
  27. package/build/decorators/factory/symbolMetadata.js +17 -0
  28. package/build/decorators/factory/types.d.ts +123 -0
  29. package/build/decorators/factory/types.js +2 -0
  30. package/build/decorators/validation/validatable.d.ts +0 -0
  31. package/build/decorators/validation/validatable.js +64 -0
  32. package/build/index.d.ts +5 -0
  33. package/build/index.js +12 -0
  34. package/build/package.json +49 -0
  35. package/coverage/clover.xml +220 -0
  36. package/coverage/coverage-final.json +6 -0
  37. package/coverage/lcov-report/base.css +224 -0
  38. package/coverage/lcov-report/block-navigation.js +87 -0
  39. package/coverage/lcov-report/clone.ts.html +352 -0
  40. package/coverage/lcov-report/decoratorRegistry.ts.html +1183 -0
  41. package/coverage/lcov-report/favicon.png +0 -0
  42. package/coverage/lcov-report/index.html +176 -0
  43. package/coverage/lcov-report/index.ts.html +145 -0
  44. package/coverage/lcov-report/prettify.css +1 -0
  45. package/coverage/lcov-report/prettify.js +2 -0
  46. package/coverage/lcov-report/snapshot.ts.html +370 -0
  47. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  48. package/coverage/lcov-report/sorter.js +210 -0
  49. package/coverage/lcov-report/symbolMetadata.ts.html +145 -0
  50. package/coverage/lcov.info +490 -0
  51. package/package.json +47 -0
  52. package/src/decorators/factory/__tests__/cloneAndSnapshot.test.ts +223 -0
  53. package/src/decorators/factory/__tests__/decoratorRegistry.test.ts +292 -0
  54. package/src/decorators/factory/__tests__/decoratorRegistryEdges.test.ts +262 -0
  55. package/src/decorators/factory/clone.ts +89 -0
  56. package/src/decorators/factory/decoratorRegistry.ts +366 -0
  57. package/src/decorators/factory/examples/accessors.ts +38 -0
  58. package/src/decorators/factory/examples/crud.ts +82 -0
  59. package/src/decorators/factory/examples/orm.ts +83 -0
  60. package/src/decorators/factory/examples/routing.ts +70 -0
  61. package/src/decorators/factory/examples/runExamples.ts +22 -0
  62. package/src/decorators/factory/examples/serialization.ts +47 -0
  63. package/src/decorators/factory/index.ts +20 -0
  64. package/src/decorators/factory/snapshot.ts +95 -0
  65. package/src/decorators/factory/symbolMetadata.ts +20 -0
  66. package/src/decorators/factory/type-tests/decoratorRegistry.type-test.ts +302 -0
  67. package/src/decorators/factory/types.ts +259 -0
  68. package/src/decorators/validation/validatable.ts +63 -0
  69. package/src/index.ts +9 -0
  70. package/tsconfig.json +19 -0
  71. package/tsconfig.type-tests.json +8 -0
@@ -0,0 +1,145 @@
1
+
2
+ <!doctype html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <title>Code coverage report for symbolMetadata.ts</title>
7
+ <meta charset="utf-8" />
8
+ <link rel="stylesheet" href="prettify.css" />
9
+ <link rel="stylesheet" href="base.css" />
10
+ <link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
11
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
12
+ <style type='text/css'>
13
+ .coverage-summary .sorter {
14
+ background-image: url(sort-arrow-sprite.png);
15
+ }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <div class='wrapper'>
21
+ <div class='pad1'>
22
+ <h1><a href="index.html">All files</a> symbolMetadata.ts</h1>
23
+ <div class='clearfix'>
24
+
25
+ <div class='fl pad1y space-right2'>
26
+ <span class="strong">100% </span>
27
+ <span class="quiet">Statements</span>
28
+ <span class='fraction'>6/6</span>
29
+ </div>
30
+
31
+
32
+ <div class='fl pad1y space-right2'>
33
+ <span class="strong">100% </span>
34
+ <span class="quiet">Branches</span>
35
+ <span class='fraction'>2/2</span>
36
+ </div>
37
+
38
+
39
+ <div class='fl pad1y space-right2'>
40
+ <span class="strong">100% </span>
41
+ <span class="quiet">Functions</span>
42
+ <span class='fraction'>1/1</span>
43
+ </div>
44
+
45
+
46
+ <div class='fl pad1y space-right2'>
47
+ <span class="strong">100% </span>
48
+ <span class="quiet">Lines</span>
49
+ <span class='fraction'>6/6</span>
50
+ </div>
51
+
52
+
53
+ </div>
54
+ <p class="quiet">
55
+ Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56
+ </p>
57
+ <template id="filterTemplate">
58
+ <div class="quiet">
59
+ Filter:
60
+ <input type="search" id="fileSearch">
61
+ </div>
62
+ </template>
63
+ </div>
64
+ <div class='status-line high'></div>
65
+ <pre><table class="coverage">
66
+ <tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
67
+ <a name='L2'></a><a href='#L2'>2</a>
68
+ <a name='L3'></a><a href='#L3'>3</a>
69
+ <a name='L4'></a><a href='#L4'>4</a>
70
+ <a name='L5'></a><a href='#L5'>5</a>
71
+ <a name='L6'></a><a href='#L6'>6</a>
72
+ <a name='L7'></a><a href='#L7'>7</a>
73
+ <a name='L8'></a><a href='#L8'>8</a>
74
+ <a name='L9'></a><a href='#L9'>9</a>
75
+ <a name='L10'></a><a href='#L10'>10</a>
76
+ <a name='L11'></a><a href='#L11'>11</a>
77
+ <a name='L12'></a><a href='#L12'>12</a>
78
+ <a name='L13'></a><a href='#L13'>13</a>
79
+ <a name='L14'></a><a href='#L14'>14</a>
80
+ <a name='L15'></a><a href='#L15'>15</a>
81
+ <a name='L16'></a><a href='#L16'>16</a>
82
+ <a name='L17'></a><a href='#L17'>17</a>
83
+ <a name='L18'></a><a href='#L18'>18</a>
84
+ <a name='L19'></a><a href='#L19'>19</a>
85
+ <a name='L20'></a><a href='#L20'>20</a>
86
+ <a name='L21'></a><a href='#L21'>21</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
87
+ <span class="cline-any cline-neutral">&nbsp;</span>
88
+ <span class="cline-any cline-neutral">&nbsp;</span>
89
+ <span class="cline-any cline-neutral">&nbsp;</span>
90
+ <span class="cline-any cline-yes">2x</span>
91
+ <span class="cline-any cline-yes">4x</span>
92
+ <span class="cline-any cline-neutral">&nbsp;</span>
93
+ <span class="cline-any cline-yes">4x</span>
94
+ <span class="cline-any cline-yes">2x</span>
95
+ <span class="cline-any cline-neutral">&nbsp;</span>
96
+ <span class="cline-any cline-neutral">&nbsp;</span>
97
+ <span class="cline-any cline-neutral">&nbsp;</span>
98
+ <span class="cline-any cline-neutral">&nbsp;</span>
99
+ <span class="cline-any cline-neutral">&nbsp;</span>
100
+ <span class="cline-any cline-neutral">&nbsp;</span>
101
+ <span class="cline-any cline-neutral">&nbsp;</span>
102
+ <span class="cline-any cline-yes">4x</span>
103
+ <span class="cline-any cline-neutral">&nbsp;</span>
104
+ <span class="cline-any cline-neutral">&nbsp;</span>
105
+ <span class="cline-any cline-yes">2x</span>
106
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">type SymbolConstructorWithMetadata = SymbolConstructor &amp; {
107
+ metadata?: symbol;
108
+ };
109
+ &nbsp;
110
+ export function ensureSymbolMetadata(): symbol {
111
+ const symbolConstructor = Symbol as SymbolConstructorWithMetadata;
112
+ &nbsp;
113
+ if (symbolConstructor.metadata === undefined) {
114
+ Object.defineProperty(symbolConstructor, 'metadata', {
115
+ configurable: false,
116
+ enumerable: false,
117
+ writable: false,
118
+ value: Symbol('Symbol.metadata'),
119
+ });
120
+ }
121
+ &nbsp;
122
+ return symbolConstructor.metadata;
123
+ }
124
+ &nbsp;
125
+ export const symbolMetadata = ensureSymbolMetadata();
126
+ &nbsp;</pre></td></tr></table></pre>
127
+
128
+ <div class='push'></div><!-- for sticky footer -->
129
+ </div><!-- /wrapper -->
130
+ <div class='footer quiet pad2 space-top1 center small'>
131
+ Code coverage generated by
132
+ <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
133
+ at 2026-05-02T22:04:58.391Z
134
+ </div>
135
+ <script src="prettify.js"></script>
136
+ <script>
137
+ window.onload = function () {
138
+ prettyPrint();
139
+ };
140
+ </script>
141
+ <script src="sorter.js"></script>
142
+ <script src="block-navigation.js"></script>
143
+ </body>
144
+ </html>
145
+
@@ -0,0 +1,490 @@
1
+ TN:
2
+ SF:src/decorators/factory/clone.ts
3
+ FN:1,isObjectLike
4
+ FN:5,cloneDeep
5
+ FN:63,deepFreeze
6
+ FN:87,immutableClone
7
+ FNF:4
8
+ FNH:4
9
+ FNDA:181,isObjectLike
10
+ FNDA:94,cloneDeep
11
+ FNDA:87,deepFreeze
12
+ FNDA:31,immutableClone
13
+ DA:2,181
14
+ DA:5,3
15
+ DA:6,94
16
+ DA:8,45
17
+ DA:10,44
18
+ DA:11,44
19
+ DA:13,43
20
+ DA:14,1
21
+ DA:17,42
22
+ DA:18,1
23
+ DA:21,41
24
+ DA:22,1
25
+ DA:23,1
26
+ DA:24,1
27
+ DA:25,1
28
+ DA:27,1
29
+ DA:30,40
30
+ DA:31,1
31
+ DA:32,1
32
+ DA:33,1
33
+ DA:34,1
34
+ DA:36,1
35
+ DA:39,39
36
+ DA:40,2
37
+ DA:41,2
38
+ DA:42,2
39
+ DA:43,2
40
+ DA:46,37
41
+ DA:47,37
42
+ DA:49,37
43
+ DA:50,53
44
+ DA:51,53
45
+ DA:53,53
46
+ DA:54,52
47
+ DA:57,53
48
+ DA:60,37
49
+ DA:63,3
50
+ DA:64,87
51
+ DA:65,41
52
+ DA:67,40
53
+ DA:69,40
54
+ DA:70,1
55
+ DA:71,1
56
+ DA:72,1
57
+ DA:74,39
58
+ DA:75,1
59
+ DA:76,1
60
+ DA:79,38
61
+ DA:80,51
62
+ DA:84,40
63
+ DA:87,3
64
+ DA:88,31
65
+ LF:52
66
+ LH:52
67
+ BRDA:2,0,0,181
68
+ BRDA:2,0,1,86
69
+ BRDA:2,0,2,96
70
+ BRDA:5,1,0,37
71
+ BRDA:6,2,0,49
72
+ BRDA:6,2,1,45
73
+ BRDA:8,3,0,1
74
+ BRDA:8,3,1,44
75
+ BRDA:11,4,0,1
76
+ BRDA:11,4,1,43
77
+ BRDA:13,5,0,1
78
+ BRDA:13,5,1,42
79
+ BRDA:17,6,0,1
80
+ BRDA:17,6,1,41
81
+ BRDA:21,7,0,1
82
+ BRDA:21,7,1,40
83
+ BRDA:30,8,0,1
84
+ BRDA:30,8,1,39
85
+ BRDA:39,9,0,2
86
+ BRDA:39,9,1,37
87
+ BRDA:51,10,0,0
88
+ BRDA:51,10,1,53
89
+ BRDA:53,11,0,52
90
+ BRDA:53,11,1,1
91
+ BRDA:63,12,0,33
92
+ BRDA:64,13,0,46
93
+ BRDA:64,13,1,41
94
+ BRDA:65,14,0,1
95
+ BRDA:65,14,1,40
96
+ BRDA:69,15,0,1
97
+ BRDA:69,15,1,39
98
+ BRDA:74,16,0,1
99
+ BRDA:74,16,1,38
100
+ BRF:33
101
+ BRH:32
102
+ end_of_record
103
+ TN:
104
+ SF:src/decorators/factory/decoratorRegistry.ts
105
+ FN:45,isPropertyKey
106
+ FN:49,assertPropertyKey
107
+ FN:56,parseDirectArgs
108
+ FN:71,parseOnArgs
109
+ FN:82,assertContextKind
110
+ FN:102,getTargetConstructor
111
+ FN:111,getConstructorChain
112
+ FN:125,getOwnMetadataObject
113
+ FN:134,samePropertyKey
114
+ FN:147,(anonymous_9)
115
+ FN:152,(anonymous_10)
116
+ FN:158,(anonymous_11)
117
+ FN:160,(anonymous_12)
118
+ FN:163,(anonymous_13)
119
+ FN:170,(anonymous_14)
120
+ FN:177,(anonymous_15)
121
+ FN:186,(anonymous_16)
122
+ FN:210,(anonymous_17)
123
+ FN:213,(anonymous_18)
124
+ FN:216,(anonymous_19)
125
+ FN:234,(anonymous_20)
126
+ FN:237,(anonymous_21)
127
+ FN:240,(anonymous_22)
128
+ FN:256,(anonymous_23)
129
+ FN:259,(anonymous_24)
130
+ FN:264,(anonymous_25)
131
+ FN:272,(anonymous_26)
132
+ FN:275,(anonymous_27)
133
+ FN:280,(anonymous_28)
134
+ FN:288,(anonymous_29)
135
+ FN:291,(anonymous_30)
136
+ FN:296,(anonymous_31)
137
+ FN:304,(anonymous_32)
138
+ FN:309,(anonymous_33)
139
+ FN:339,(anonymous_34)
140
+ FN:362,createDecoratorRegistry
141
+ FNF:36
142
+ FNH:35
143
+ FNDA:12,isPropertyKey
144
+ FNDA:12,assertPropertyKey
145
+ FNDA:25,parseDirectArgs
146
+ FNDA:7,parseOnArgs
147
+ FNDA:37,assertContextKind
148
+ FNDA:22,getTargetConstructor
149
+ FNDA:21,getConstructorChain
150
+ FNDA:22,getOwnMetadataObject
151
+ FNDA:10,samePropertyKey
152
+ FNDA:21,(anonymous_9)
153
+ FNDA:2,(anonymous_10)
154
+ FNDA:19,(anonymous_11)
155
+ FNDA:21,(anonymous_12)
156
+ FNDA:25,(anonymous_13)
157
+ FNDA:11,(anonymous_14)
158
+ FNDA:12,(anonymous_15)
159
+ FNDA:22,(anonymous_16)
160
+ FNDA:2,(anonymous_17)
161
+ FNDA:2,(anonymous_18)
162
+ FNDA:2,(anonymous_19)
163
+ FNDA:21,(anonymous_20)
164
+ FNDA:6,(anonymous_21)
165
+ FNDA:6,(anonymous_22)
166
+ FNDA:25,(anonymous_23)
167
+ FNDA:15,(anonymous_24)
168
+ FNDA:6,(anonymous_25)
169
+ FNDA:11,(anonymous_26)
170
+ FNDA:4,(anonymous_27)
171
+ FNDA:1,(anonymous_28)
172
+ FNDA:12,(anonymous_29)
173
+ FNDA:6,(anonymous_30)
174
+ FNDA:0,(anonymous_31)
175
+ FNDA:29,(anonymous_32)
176
+ FNDA:29,(anonymous_33)
177
+ FNDA:30,(anonymous_34)
178
+ FNDA:21,createDecoratorRegistry
179
+ DA:1,2
180
+ DA:2,2
181
+ DA:3,2
182
+ DA:46,12
183
+ DA:50,12
184
+ DA:51,2
185
+ DA:57,25
186
+ DA:58,1
187
+ DA:61,24
188
+ DA:62,18
189
+ DA:65,6
190
+ DA:72,7
191
+ DA:73,1
192
+ DA:76,6
193
+ DA:87,37
194
+ DA:88,30
195
+ DA:89,13
196
+ DA:90,9
197
+ DA:94,5
198
+ DA:97,4
199
+ DA:103,22
200
+ DA:104,20
201
+ DA:107,2
202
+ DA:108,2
203
+ DA:112,21
204
+ DA:114,20
205
+ DA:115,20
206
+ DA:117,20
207
+ DA:118,21
208
+ DA:119,21
209
+ DA:122,20
210
+ DA:126,22
211
+ DA:127,1
212
+ DA:130,21
213
+ DA:131,21
214
+ DA:135,10
215
+ DA:144,21
216
+ DA:145,21
217
+ DA:148,21
218
+ DA:149,21
219
+ DA:155,2
220
+ DA:159,19
221
+ DA:161,21
222
+ DA:164,25
223
+ DA:171,11
224
+ DA:178,12
225
+ DA:190,22
226
+ DA:191,22
227
+ DA:192,1
228
+ DA:195,21
229
+ DA:196,21
230
+ DA:197,21
231
+ DA:199,21
232
+ DA:200,22
233
+ DA:201,22
234
+ DA:203,21
235
+ DA:204,21
236
+ DA:207,21
237
+ DA:213,2
238
+ DA:214,2
239
+ DA:216,2
240
+ DA:220,2
241
+ DA:221,2
242
+ DA:231,2
243
+ DA:237,21
244
+ DA:238,6
245
+ DA:240,6
246
+ DA:244,6
247
+ DA:245,5
248
+ DA:259,25
249
+ DA:260,15
250
+ DA:261,14
251
+ DA:264,25
252
+ DA:265,6
253
+ DA:266,4
254
+ DA:269,25
255
+ DA:275,11
256
+ DA:276,4
257
+ DA:277,4
258
+ DA:280,11
259
+ DA:281,1
260
+ DA:282,1
261
+ DA:285,11
262
+ DA:291,12
263
+ DA:292,6
264
+ DA:293,6
265
+ DA:296,12
266
+ DA:297,0
267
+ DA:298,0
268
+ DA:301,12
269
+ DA:309,29
270
+ DA:310,29
271
+ DA:312,26
272
+ DA:313,1
273
+ DA:320,25
274
+ DA:321,2
275
+ DA:328,23
276
+ DA:343,30
277
+ DA:344,30
278
+ DA:346,30
279
+ DA:353,30
280
+ DA:354,30
281
+ DA:355,15
282
+ DA:357,15
283
+ DA:362,2
284
+ DA:365,21
285
+ LF:106
286
+ LH:104
287
+ BRDA:46,0,0,12
288
+ BRDA:46,0,1,2
289
+ BRDA:50,1,0,10
290
+ BRDA:50,1,1,2
291
+ BRDA:57,2,0,1
292
+ BRDA:57,2,1,24
293
+ BRDA:61,3,0,18
294
+ BRDA:61,3,1,6
295
+ BRDA:72,4,0,1
296
+ BRDA:72,4,1,6
297
+ BRDA:78,5,0,3
298
+ BRDA:78,5,1,2
299
+ BRDA:87,6,0,7
300
+ BRDA:87,6,1,30
301
+ BRDA:87,7,0,37
302
+ BRDA:87,7,1,8
303
+ BRDA:88,8,0,17
304
+ BRDA:88,8,1,13
305
+ BRDA:88,9,0,30
306
+ BRDA:88,9,1,18
307
+ BRDA:89,10,0,4
308
+ BRDA:89,10,1,9
309
+ BRDA:89,11,0,13
310
+ BRDA:89,11,1,5
311
+ BRDA:90,12,0,5
312
+ BRDA:90,12,1,4
313
+ BRDA:91,13,0,9
314
+ BRDA:91,13,1,6
315
+ BRDA:91,13,2,5
316
+ BRDA:91,13,3,3
317
+ BRDA:103,14,0,20
318
+ BRDA:103,14,1,2
319
+ BRDA:108,15,0,1
320
+ BRDA:108,15,1,1
321
+ BRDA:112,16,0,1
322
+ BRDA:112,16,1,20
323
+ BRDA:117,17,0,41
324
+ BRDA:117,17,1,41
325
+ BRDA:126,18,0,1
326
+ BRDA:126,18,1,21
327
+ BRDA:131,19,0,21
328
+ BRDA:131,19,1,0
329
+ BRDA:131,20,0,21
330
+ BRDA:131,20,1,21
331
+ BRDA:147,21,0,0
332
+ BRDA:148,22,0,20
333
+ BRDA:148,22,1,1
334
+ BRDA:148,23,0,21
335
+ BRDA:148,23,1,21
336
+ BRDA:149,24,0,2
337
+ BRDA:149,24,1,19
338
+ BRDA:149,25,0,21
339
+ BRDA:149,25,1,21
340
+ BRDA:188,26,0,21
341
+ BRDA:191,27,0,1
342
+ BRDA:191,27,1,21
343
+ BRDA:195,28,0,1
344
+ BRDA:195,28,1,20
345
+ BRDA:195,29,0,21
346
+ BRDA:195,29,1,21
347
+ BRDA:201,30,0,1
348
+ BRDA:201,30,1,21
349
+ BRDA:204,31,0,21
350
+ BRDA:204,31,1,0
351
+ BRDA:214,32,0,1
352
+ BRDA:214,32,1,1
353
+ BRDA:238,33,0,0
354
+ BRDA:238,33,1,6
355
+ BRDA:312,34,0,1
356
+ BRDA:312,34,1,25
357
+ BRDA:312,35,0,26
358
+ BRDA:312,35,1,3
359
+ BRDA:320,36,0,2
360
+ BRDA:320,36,1,23
361
+ BRDA:320,37,0,25
362
+ BRDA:320,37,1,10
363
+ BRDA:354,38,0,15
364
+ BRDA:354,38,1,15
365
+ BRDA:363,39,0,1
366
+ BRF:79
367
+ BRH:75
368
+ end_of_record
369
+ TN:
370
+ SF:src/decorators/factory/index.ts
371
+ FN:1,(anonymous_0)
372
+ FN:2,(anonymous_1)
373
+ FN:2,(anonymous_2)
374
+ FNF:3
375
+ FNH:1
376
+ FNDA:21,(anonymous_0)
377
+ FNDA:0,(anonymous_1)
378
+ FNDA:0,(anonymous_2)
379
+ DA:1,23
380
+ DA:2,2
381
+ LF:2
382
+ LH:2
383
+ BRF:0
384
+ BRH:0
385
+ end_of_record
386
+ TN:
387
+ SF:src/decorators/factory/snapshot.ts
388
+ FN:3,cloneRecords
389
+ FN:7,filterRecords
390
+ FN:13,(anonymous_2)
391
+ FN:20,memberMap
392
+ FN:48,createSnapshot
393
+ FN:49,(anonymous_5)
394
+ FN:63,(anonymous_6)
395
+ FN:64,(anonymous_7)
396
+ FN:67,(anonymous_8)
397
+ FN:71,(anonymous_9)
398
+ FN:75,(anonymous_10)
399
+ FN:79,(anonymous_11)
400
+ FN:83,(anonymous_12)
401
+ FN:87,(anonymous_13)
402
+ FN:91,(anonymous_14)
403
+ FNF:15
404
+ FNH:15
405
+ FNDA:24,cloneRecords
406
+ FNDA:119,filterRecords
407
+ FNDA:262,(anonymous_2)
408
+ FNDA:18,memberMap
409
+ FNDA:24,createSnapshot
410
+ FNDA:31,(anonymous_5)
411
+ FNDA:7,(anonymous_6)
412
+ FNDA:8,(anonymous_7)
413
+ FNDA:4,(anonymous_8)
414
+ FNDA:12,(anonymous_9)
415
+ FNDA:4,(anonymous_10)
416
+ FNDA:3,(anonymous_11)
417
+ FNDA:9,(anonymous_12)
418
+ FNDA:5,(anonymous_13)
419
+ FNDA:4,(anonymous_14)
420
+ DA:4,24
421
+ DA:12,119
422
+ DA:14,262
423
+ DA:15,78
424
+ DA:25,18
425
+ DA:27,18
426
+ DA:28,79
427
+ DA:29,29
428
+ DA:30,21
429
+ DA:32,20
430
+ DA:33,20
431
+ DA:34,19
432
+ DA:36,1
433
+ DA:40,18
434
+ DA:41,18
435
+ DA:42,19
436
+ DA:45,18
437
+ DA:48,3
438
+ DA:49,31
439
+ DA:50,24
440
+ DA:51,24
441
+ DA:52,24
442
+ DA:53,24
443
+ DA:54,24
444
+ DA:56,24
445
+ DA:64,8
446
+ DA:68,4
447
+ DA:72,12
448
+ DA:76,4
449
+ DA:80,3
450
+ DA:84,9
451
+ DA:88,5
452
+ DA:92,4
453
+ LF:33
454
+ LH:33
455
+ BRDA:14,0,0,184
456
+ BRDA:14,0,1,78
457
+ BRDA:15,1,0,78
458
+ BRDA:15,1,1,24
459
+ BRDA:28,2,0,50
460
+ BRDA:28,2,1,29
461
+ BRDA:29,3,0,8
462
+ BRDA:29,3,1,21
463
+ BRDA:29,4,0,29
464
+ BRDA:29,4,1,25
465
+ BRDA:30,5,0,1
466
+ BRDA:30,5,1,20
467
+ BRDA:33,6,0,19
468
+ BRDA:33,6,1,1
469
+ BRF:14
470
+ BRH:14
471
+ end_of_record
472
+ TN:
473
+ SF:src/decorators/factory/symbolMetadata.ts
474
+ FN:5,ensureSymbolMetadata
475
+ FNF:1
476
+ FNH:1
477
+ FNDA:4,ensureSymbolMetadata
478
+ DA:5,2
479
+ DA:6,4
480
+ DA:8,4
481
+ DA:9,2
482
+ DA:17,4
483
+ DA:20,2
484
+ LF:6
485
+ LH:6
486
+ BRDA:8,0,0,2
487
+ BRDA:8,0,1,2
488
+ BRF:2
489
+ BRH:2
490
+ end_of_record
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@epsilon-asi/foundation",
3
+ "version": "0.0.1-testing",
4
+ "description": "",
5
+ "mainDir": "./",
6
+ "scripts": {
7
+ "build": "tsc && cp package.json ./build",
8
+ "build:clean": "rm -rf ./build && npm run build",
9
+ "typecheck": "tsc --noEmit",
10
+ "typecheck:tests": "tsc -p tsconfig.type-tests.json --noEmit",
11
+ "examples": "npm run build && node build/decorators/factory/examples/runExamples.js",
12
+ "start:dev": "npx nodemon --exec \"npx tsc\" --watch src -e ts",
13
+ "test": "export IS_TEST='true' && jest --clearCache && jest --coverage --detectOpenHandles",
14
+ "test:watch": "export IS_TEST='true' && jest --clearCache && jest --coverage --detectOpenHandles --watchAll",
15
+ "verify": "npm run typecheck && npm run typecheck:tests && npm run examples && npm run test && npm run build"
16
+ },
17
+ "jest": {
18
+ "clearMocks": true,
19
+ "maxWorkers": 1,
20
+ "preset": "ts-jest",
21
+ "testEnvironment": "node",
22
+ "coverageThreshold": {
23
+ "global": {
24
+ "branches": 80,
25
+ "functions": 80,
26
+ "lines": 80,
27
+ "statements": 80
28
+ }
29
+ },
30
+ "testMatch": [
31
+ "**/**/*.test.ts"
32
+ ],
33
+ "collectCoverageFrom": [
34
+ "src/**/*.ts",
35
+ "!src/**/*.test.ts",
36
+ "!src/**/*.type-test.ts",
37
+ "!src/**/__tests__/**",
38
+ "!src/type-tests/**",
39
+ "!src/examples/**",
40
+ "!src/decorators/factory/examples/**",
41
+ "!src/index.ts"
42
+ ]
43
+ },
44
+ "author": "",
45
+ "license": "ISC",
46
+ "dependencies": {}
47
+ }