@autofleet/sadot 0.2.0-beta.0 → 0.2.0-beta.2

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 (72) hide show
  1. package/dist/hooks/enrich.js +1 -1
  2. package/dist/hooks/enrich.js.map +1 -1
  3. package/dist/repository/definition.js +9 -1
  4. package/dist/repository/definition.js.map +1 -1
  5. package/dist/repository/value.js +2 -0
  6. package/dist/repository/value.js.map +1 -1
  7. package/dist/tsconfig.tsbuildinfo +1 -1
  8. package/package.json +1 -1
  9. package/src/hooks/enrich.ts +2 -2
  10. package/src/repository/definition.ts +9 -0
  11. package/src/repository/value.ts +2 -0
  12. package/coverage/clover.xml +0 -780
  13. package/coverage/coverage-final.json +0 -35
  14. package/coverage/lcov-report/base.css +0 -224
  15. package/coverage/lcov-report/block-navigation.js +0 -87
  16. package/coverage/lcov-report/favicon.png +0 -0
  17. package/coverage/lcov-report/index.html +0 -341
  18. package/coverage/lcov-report/prettify.css +0 -1
  19. package/coverage/lcov-report/prettify.js +0 -2
  20. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  21. package/coverage/lcov-report/sorter.js +0 -196
  22. package/coverage/lcov-report/src/api/index.html +0 -116
  23. package/coverage/lcov-report/src/api/index.ts.html +0 -112
  24. package/coverage/lcov-report/src/api/v1/definition/index.html +0 -131
  25. package/coverage/lcov-report/src/api/v1/definition/index.ts.html +0 -394
  26. package/coverage/lcov-report/src/api/v1/definition/validations.ts.html +0 -190
  27. package/coverage/lcov-report/src/api/v1/errors.ts.html +0 -133
  28. package/coverage/lcov-report/src/api/v1/index.html +0 -131
  29. package/coverage/lcov-report/src/api/v1/index.ts.html +0 -112
  30. package/coverage/lcov-report/src/errors/index.html +0 -116
  31. package/coverage/lcov-report/src/errors/index.ts.html +0 -211
  32. package/coverage/lcov-report/src/events/index.html +0 -116
  33. package/coverage/lcov-report/src/events/index.ts.html +0 -169
  34. package/coverage/lcov-report/src/hooks/create.ts.html +0 -232
  35. package/coverage/lcov-report/src/hooks/enrich.ts.html +0 -400
  36. package/coverage/lcov-report/src/hooks/find.ts.html +0 -160
  37. package/coverage/lcov-report/src/hooks/index.html +0 -191
  38. package/coverage/lcov-report/src/hooks/index.ts.html +0 -130
  39. package/coverage/lcov-report/src/hooks/update.ts.html +0 -196
  40. package/coverage/lcov-report/src/hooks/workaround.ts.html +0 -226
  41. package/coverage/lcov-report/src/index.html +0 -116
  42. package/coverage/lcov-report/src/index.ts.html +0 -352
  43. package/coverage/lcov-report/src/models/CustomFieldDefinition.ts.html +0 -505
  44. package/coverage/lcov-report/src/models/CustomFieldValue.ts.html +0 -427
  45. package/coverage/lcov-report/src/models/index.html +0 -146
  46. package/coverage/lcov-report/src/models/index.ts.html +0 -259
  47. package/coverage/lcov-report/src/models/tests/AssociatedTestModel.ts.html +0 -256
  48. package/coverage/lcov-report/src/models/tests/TestModel.ts.html +0 -232
  49. package/coverage/lcov-report/src/models/tests/index.html +0 -131
  50. package/coverage/lcov-report/src/repository/definition.ts.html +0 -370
  51. package/coverage/lcov-report/src/repository/index.html +0 -131
  52. package/coverage/lcov-report/src/repository/value.ts.html +0 -379
  53. package/coverage/lcov-report/src/tests/api/index.html +0 -116
  54. package/coverage/lcov-report/src/tests/api/test-api.ts.html +0 -199
  55. package/coverage/lcov-report/src/tests/helpers/database-config.ts.html +0 -127
  56. package/coverage/lcov-report/src/tests/helpers/index.html +0 -131
  57. package/coverage/lcov-report/src/tests/helpers/index.ts.html +0 -130
  58. package/coverage/lcov-report/src/tests/mocks/definition.mock.ts.html +0 -292
  59. package/coverage/lcov-report/src/tests/mocks/events.mock.ts.html +0 -139
  60. package/coverage/lcov-report/src/tests/mocks/index.html +0 -146
  61. package/coverage/lcov-report/src/tests/mocks/testModel.ts.html +0 -196
  62. package/coverage/lcov-report/src/utils/db/index.html +0 -116
  63. package/coverage/lcov-report/src/utils/db/index.ts.html +0 -127
  64. package/coverage/lcov-report/src/utils/logger/index.html +0 -116
  65. package/coverage/lcov-report/src/utils/logger/index.ts.html +0 -97
  66. package/coverage/lcov-report/src/utils/validations/custom-fields.ts.html +0 -112
  67. package/coverage/lcov-report/src/utils/validations/custom.ts.html +0 -202
  68. package/coverage/lcov-report/src/utils/validations/index.html +0 -176
  69. package/coverage/lcov-report/src/utils/validations/index.ts.html +0 -142
  70. package/coverage/lcov-report/src/utils/validations/type.ts.html +0 -220
  71. package/coverage/lcov-report/src/utils/validations/validators.ts.html +0 -187
  72. package/coverage/lcov.info +0 -1533
@@ -1,780 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1684054457049" clover="3.2.0">
3
- <project timestamp="1684054457049" name="All files">
4
- <metrics statements="624" coveredstatements="536" conditionals="261" coveredconditionals="182" methods="171" coveredmethods="124" elements="1056" coveredelements="842" complexity="0" loc="624" ncloc="624" packages="16" files="34" classes="34"/>
5
- <package name="src">
6
- <metrics statements="50" coveredstatements="33" conditionals="4" coveredconditionals="1" methods="9" coveredmethods="5"/>
7
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/index.ts">
8
- <metrics statements="50" coveredstatements="33" conditionals="4" coveredconditionals="1" methods="9" coveredmethods="5"/>
9
- <line num="2" count="10" type="stmt"/>
10
- <line num="3" count="10" type="stmt"/>
11
- <line num="4" count="10" type="stmt"/>
12
- <line num="5" count="10" type="stmt"/>
13
- <line num="13" count="10" type="stmt"/>
14
- <line num="14" count="10" type="stmt"/>
15
- <line num="17" count="10" type="stmt"/>
16
- <line num="19" count="10" type="stmt"/>
17
- <line num="20" count="14" type="stmt"/>
18
- <line num="21" count="14" type="stmt"/>
19
- <line num="22" count="14" type="stmt"/>
20
- <line num="23" count="14" type="cond" truecount="0" falsecount="1"/>
21
- <line num="24" count="14" type="stmt"/>
22
- <line num="27" count="14" type="stmt"/>
23
- <line num="30" count="14" type="stmt"/>
24
- <line num="31" count="14" type="stmt"/>
25
- <line num="32" count="14" type="stmt"/>
26
- <line num="33" count="14" type="stmt"/>
27
- <line num="34" count="14" type="stmt"/>
28
- <line num="35" count="14" type="stmt"/>
29
- <line num="36" count="14" type="stmt"/>
30
- <line num="37" count="14" type="stmt"/>
31
- <line num="39" count="0" type="stmt"/>
32
- <line num="48" count="10" type="stmt"/>
33
- <line num="52" count="11" type="stmt"/>
34
- <line num="53" count="11" type="stmt"/>
35
- <line num="54" count="11" type="cond" truecount="1" falsecount="0"/>
36
- <line num="55" count="1" type="stmt"/>
37
- <line num="57" count="11" type="stmt"/>
38
- <line num="58" count="11" type="stmt"/>
39
- <line num="59" count="11" type="stmt"/>
40
- <line num="62" count="10" type="stmt"/>
41
- <line num="64" count="10" type="stmt"/>
42
- <line num="65" count="0" type="stmt"/>
43
- <line num="66" count="0" type="stmt"/>
44
- <line num="67" count="0" type="stmt"/>
45
- <line num="68" count="0" type="cond" truecount="0" falsecount="1"/>
46
- <line num="69" count="0" type="cond" truecount="0" falsecount="1"/>
47
- <line num="70" count="0" type="stmt"/>
48
- <line num="71" count="0" type="stmt"/>
49
- <line num="74" count="0" type="stmt"/>
50
- <line num="75" count="0" type="stmt"/>
51
- <line num="76" count="0" type="stmt"/>
52
- <line num="77" count="0" type="stmt"/>
53
- <line num="78" count="0" type="stmt"/>
54
- <line num="79" count="0" type="stmt"/>
55
- <line num="80" count="0" type="stmt"/>
56
- <line num="82" count="0" type="stmt"/>
57
- <line num="87" count="10" type="stmt"/>
58
- <line num="88" count="0" type="stmt"/>
59
- </file>
60
- </package>
61
- <package name="src.api">
62
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
63
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/api/index.ts">
64
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
65
- <line num="2" count="10" type="stmt"/>
66
- <line num="3" count="10" type="stmt"/>
67
- <line num="5" count="10" type="stmt"/>
68
- <line num="7" count="10" type="stmt"/>
69
- <line num="9" count="10" type="stmt"/>
70
- </file>
71
- </package>
72
- <package name="src.api.v1">
73
- <metrics statements="15" coveredstatements="14" conditionals="3" coveredconditionals="1" methods="1" coveredmethods="1"/>
74
- <file name="errors.ts" path="/Users/itayankri/Repos/sadot/src/api/v1/errors.ts">
75
- <metrics statements="10" coveredstatements="9" conditionals="3" coveredconditionals="1" methods="1" coveredmethods="1"/>
76
- <line num="1" count="10" type="stmt"/>
77
- <line num="2" count="10" type="stmt"/>
78
- <line num="3" count="10" type="stmt"/>
79
- <line num="5" count="10" type="cond" truecount="0" falsecount="1"/>
80
- <line num="6" count="4" type="stmt"/>
81
- <line num="7" count="4" type="cond" truecount="1" falsecount="0"/>
82
- <line num="8" count="2" type="stmt"/>
83
- <line num="11" count="4" type="cond" truecount="0" falsecount="1"/>
84
- <line num="12" count="0" type="stmt"/>
85
- <line num="15" count="4" type="stmt"/>
86
- </file>
87
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/api/v1/index.ts">
88
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
89
- <line num="1" count="10" type="stmt"/>
90
- <line num="3" count="10" type="stmt"/>
91
- <line num="5" count="10" type="stmt"/>
92
- <line num="7" count="10" type="stmt"/>
93
- <line num="9" count="10" type="stmt"/>
94
- </file>
95
- </package>
96
- <package name="src.api.v1.definition">
97
- <metrics statements="57" coveredstatements="55" conditionals="2" coveredconditionals="2" methods="12" coveredmethods="12"/>
98
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/api/v1/definition/index.ts">
99
- <metrics statements="48" coveredstatements="46" conditionals="2" coveredconditionals="2" methods="10" coveredmethods="10"/>
100
- <line num="1" count="10" type="stmt"/>
101
- <line num="2" count="10" type="stmt"/>
102
- <line num="4" count="10" type="stmt"/>
103
- <line num="5" count="10" type="stmt"/>
104
- <line num="7" count="10" type="stmt"/>
105
- <line num="8" count="10" type="stmt"/>
106
- <line num="10" count="10" type="stmt"/>
107
- <line num="11" count="10" type="stmt"/>
108
- <line num="13" count="22" type="stmt"/>
109
- <line num="18" count="10" type="stmt"/>
110
- <line num="19" count="7" type="stmt"/>
111
- <line num="20" count="7" type="stmt"/>
112
- <line num="21" count="7" type="stmt"/>
113
- <line num="22" count="7" type="stmt"/>
114
- <line num="25" count="6" type="stmt"/>
115
- <line num="29" count="6" type="stmt"/>
116
- <line num="31" count="1" type="stmt"/>
117
- <line num="32" count="1" type="stmt"/>
118
- <line num="39" count="10" type="stmt"/>
119
- <line num="40" count="2" type="stmt"/>
120
- <line num="41" count="2" type="stmt"/>
121
- <line num="42" count="2" type="stmt"/>
122
- <line num="44" count="2" type="cond" truecount="1" falsecount="0"/>
123
- <line num="45" count="1" type="stmt"/>
124
- <line num="48" count="1" type="stmt"/>
125
- <line num="50" count="1" type="stmt"/>
126
- <line num="51" count="1" type="stmt"/>
127
- <line num="58" count="10" type="stmt"/>
128
- <line num="59" count="1" type="stmt"/>
129
- <line num="60" count="1" type="stmt"/>
130
- <line num="61" count="1" type="stmt"/>
131
- <line num="62" count="1" type="stmt"/>
132
- <line num="65" count="1" type="stmt"/>
133
- <line num="67" count="0" type="stmt"/>
134
- <line num="68" count="0" type="stmt"/>
135
- <line num="75" count="10" type="stmt"/>
136
- <line num="76" count="3" type="stmt"/>
137
- <line num="77" count="3" type="stmt"/>
138
- <line num="78" count="3" type="stmt"/>
139
- <line num="80" count="3" type="stmt"/>
140
- <line num="82" count="2" type="stmt"/>
141
- <line num="87" count="2" type="cond" truecount="1" falsecount="0"/>
142
- <line num="88" count="1" type="stmt"/>
143
- <line num="91" count="1" type="stmt"/>
144
- <line num="96" count="1" type="stmt"/>
145
- <line num="98" count="2" type="stmt"/>
146
- <line num="99" count="2" type="stmt"/>
147
- <line num="103" count="10" type="stmt"/>
148
- </file>
149
- <file name="validations.ts" path="/Users/itayankri/Repos/sadot/src/api/v1/definition/validations.ts">
150
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
151
- <line num="1" count="10" type="stmt"/>
152
- <line num="2" count="10" type="stmt"/>
153
- <line num="4" count="10" type="stmt"/>
154
- <line num="10" count="10" type="stmt"/>
155
- <line num="22" count="10" type="stmt"/>
156
- <line num="31" count="10" type="stmt"/>
157
- <line num="32" count="7" type="stmt"/>
158
- <line num="34" count="10" type="stmt"/>
159
- <line num="35" count="3" type="stmt"/>
160
- </file>
161
- </package>
162
- <package name="src.errors">
163
- <metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
164
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/errors/index.ts">
165
- <metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
166
- <line num="2" count="10" type="stmt"/>
167
- <line num="4" count="10" type="stmt"/>
168
- <line num="6" count="4" type="stmt"/>
169
- <line num="7" count="4" type="stmt"/>
170
- <line num="8" count="4" type="stmt"/>
171
- <line num="12" count="10" type="stmt"/>
172
- <line num="14" count="1" type="stmt"/>
173
- <line num="15" count="1" type="stmt"/>
174
- <line num="16" count="1" type="stmt"/>
175
- <line num="20" count="10" type="stmt"/>
176
- <line num="22" count="2" type="stmt"/>
177
- <line num="23" count="2" type="stmt"/>
178
- <line num="24" count="2" type="stmt"/>
179
- <line num="28" count="10" type="stmt"/>
180
- <line num="30" count="26" type="stmt"/>
181
- <line num="31" count="26" type="stmt"/>
182
- <line num="32" count="26" type="stmt"/>
183
- <line num="36" count="10" type="stmt"/>
184
- <line num="38" count="2" type="stmt"/>
185
- <line num="39" count="2" type="stmt"/>
186
- <line num="40" count="2" type="stmt"/>
187
- </file>
188
- </package>
189
- <package name="src.events">
190
- <metrics statements="9" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
191
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/events/index.ts">
192
- <metrics statements="9" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
193
- <line num="1" count="10" type="stmt"/>
194
- <line num="2" count="10" type="stmt"/>
195
- <line num="4" count="10" type="stmt"/>
196
- <line num="6" count="10" type="stmt"/>
197
- <line num="17" count="10" type="stmt"/>
198
- <line num="18" count="1252" type="stmt"/>
199
- <line num="19" count="1252" type="cond" truecount="1" falsecount="0"/>
200
- <line num="20" count="1252" type="stmt"/>
201
- <line num="28" count="10" type="stmt"/>
202
- </file>
203
- </package>
204
- <package name="src.hooks">
205
- <metrics statements="125" coveredstatements="108" conditionals="76" coveredconditionals="63" methods="42" coveredmethods="36"/>
206
- <file name="create.ts" path="/Users/itayankri/Repos/sadot/src/hooks/create.ts">
207
- <metrics statements="22" coveredstatements="21" conditionals="14" coveredconditionals="12" methods="6" coveredmethods="5"/>
208
- <line num="1" count="10" type="stmt"/>
209
- <line num="2" count="10" type="stmt"/>
210
- <line num="3" count="10" type="stmt"/>
211
- <line num="8" count="10" type="stmt"/>
212
- <line num="11" count="0" type="stmt"/>
213
- <line num="17" count="14" type="stmt"/>
214
- <line num="20" count="147" type="stmt"/>
215
- <line num="21" count="147" type="stmt"/>
216
- <line num="22" count="147" type="stmt"/>
217
- <line num="23" count="147" type="stmt"/>
218
- <line num="25" count="147" type="stmt"/>
219
- <line num="28" count="147" type="stmt"/>
220
- <line num="29" count="147" type="stmt"/>
221
- <line num="30" count="147" type="cond" truecount="4" falsecount="0"/>
222
- <line num="31" count="14" type="stmt"/>
223
- <line num="32" count="14" type="stmt"/>
224
- <line num="33" count="14" type="cond" truecount="4" falsecount="1"/>
225
- <line num="34" count="2" type="stmt"/>
226
- <line num="37" count="12" type="stmt"/>
227
- <line num="45" count="12" type="stmt"/>
228
- <line num="46" count="133" type="cond" truecount="4" falsecount="1"/>
229
- <line num="47" count="2" type="stmt"/>
230
- </file>
231
- <file name="enrich.ts" path="/Users/itayankri/Repos/sadot/src/hooks/enrich.ts">
232
- <metrics statements="47" coveredstatements="47" conditionals="41" coveredconditionals="37" methods="17" coveredmethods="17"/>
233
- <line num="2" count="10" type="stmt"/>
234
- <line num="3" count="10" type="stmt"/>
235
- <line num="10" count="10" type="stmt"/>
236
- <line num="11" count="1605" type="stmt"/>
237
- <line num="15" count="147" type="stmt"/>
238
- <line num="20" count="42" type="stmt"/>
239
- <line num="23" count="252" type="stmt"/>
240
- <line num="24" count="252" type="cond" truecount="1" falsecount="0"/>
241
- <line num="28" count="2" type="stmt"/>
242
- <line num="31" count="250" type="stmt"/>
243
- <line num="32" count="250" type="cond" truecount="2" falsecount="0"/>
244
- <line num="36" count="317" type="stmt"/>
245
- <line num="38" count="250" type="stmt"/>
246
- <line num="39" count="317" type="stmt"/>
247
- <line num="40" count="317" type="stmt"/>
248
- <line num="42" count="250" type="stmt"/>
249
- <line num="43" count="250" type="stmt"/>
250
- <line num="47" count="250" type="stmt"/>
251
- <line num="51" count="250" type="stmt"/>
252
- <line num="52" count="33262" type="stmt"/>
253
- <line num="56" count="317" type="stmt"/>
254
- <line num="58" count="250" type="stmt"/>
255
- <line num="66" count="250" type="stmt"/>
256
- <line num="67" count="1605" type="stmt"/>
257
- <line num="68" count="1605" type="cond" truecount="1" falsecount="0"/>
258
- <line num="69" count="147" type="stmt"/>
259
- <line num="71" count="1605" type="stmt"/>
260
- <line num="72" count="1605" type="stmt"/>
261
- <line num="76" count="250" type="stmt"/>
262
- <line num="77" count="317" type="stmt"/>
263
- <line num="78" count="317" type="stmt"/>
264
- <line num="79" count="317" type="stmt"/>
265
- <line num="80" count="317" type="cond" truecount="1" falsecount="0"/>
266
- <line num="81" count="147" type="stmt"/>
267
- <line num="82" count="147" type="stmt"/>
268
- <line num="85" count="317" type="stmt"/>
269
- <line num="86" count="317" type="stmt"/>
270
- <line num="87" count="317" type="stmt"/>
271
- <line num="88" count="317" type="cond" truecount="4" falsecount="1"/>
272
- <line num="89" count="308" type="stmt"/>
273
- <line num="90" count="44879" type="cond" truecount="1" falsecount="0"/>
274
- <line num="91" count="43276" type="stmt"/>
275
- <line num="96" count="317" type="stmt"/>
276
- <line num="97" count="317" type="cond" truecount="8" falsecount="0"/>
277
- <line num="98" count="8" type="cond" truecount="4" falsecount="0"/>
278
- <line num="100" count="8" type="cond" truecount="3" falsecount="1"/>
279
- <line num="105" count="10" type="stmt"/>
280
- </file>
281
- <file name="find.ts" path="/Users/itayankri/Repos/sadot/src/hooks/find.ts">
282
- <metrics statements="13" coveredstatements="13" conditionals="15" coveredconditionals="13" methods="4" coveredmethods="4"/>
283
- <line num="3" count="10" type="stmt"/>
284
- <line num="7" count="6" type="stmt"/>
285
- <line num="8" count="6" type="stmt"/>
286
- <line num="9" count="6" type="cond" truecount="4" falsecount="1"/>
287
- <line num="10" count="4" type="stmt"/>
288
- <line num="12" count="6" type="stmt"/>
289
- <line num="16" count="14" type="stmt"/>
290
- <line num="17" count="31" type="stmt"/>
291
- <line num="18" count="31" type="cond" truecount="5" falsecount="0"/>
292
- <line num="19" count="6" type="stmt"/>
293
- <line num="20" count="6" type="cond" truecount="4" falsecount="1"/>
294
- <line num="21" count="4" type="stmt"/>
295
- <line num="22" count="4" type="stmt"/>
296
- </file>
297
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/hooks/index.ts">
298
- <metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
299
- <line num="1" count="10" type="stmt"/>
300
- <line num="2" count="10" type="stmt"/>
301
- <line num="3" count="10" type="stmt"/>
302
- <line num="4" count="10" type="stmt"/>
303
- <line num="5" count="10" type="stmt"/>
304
- <line num="8" count="10" type="stmt"/>
305
- <line num="9" count="24" type="stmt"/>
306
- <line num="10" count="24" type="stmt"/>
307
- <line num="11" count="24" type="stmt"/>
308
- <line num="12" count="24" type="stmt"/>
309
- <line num="13" count="24" type="stmt"/>
310
- <line num="14" count="10" type="stmt"/>
311
- </file>
312
- <file name="update.ts" path="/Users/itayankri/Repos/sadot/src/hooks/update.ts">
313
- <metrics statements="13" coveredstatements="13" conditionals="1" coveredconditionals="1" methods="5" coveredmethods="5"/>
314
- <line num="1" count="10" type="stmt"/>
315
- <line num="6" count="10" type="stmt"/>
316
- <line num="9" count="4" type="stmt"/>
317
- <line num="16" count="14" type="stmt"/>
318
- <line num="19" count="121" type="stmt"/>
319
- <line num="20" count="121" type="stmt"/>
320
- <line num="21" count="121" type="stmt"/>
321
- <line num="22" count="121" type="stmt"/>
322
- <line num="24" count="121" type="stmt"/>
323
- <line num="25" count="121" type="cond" truecount="1" falsecount="0"/>
324
- <line num="26" count="120" type="stmt"/>
325
- <line num="27" count="120" type="stmt"/>
326
- <line num="35" count="93" type="stmt"/>
327
- </file>
328
- <file name="workaround.ts" path="/Users/itayankri/Repos/sadot/src/hooks/workaround.ts">
329
- <metrics statements="18" coveredstatements="2" conditionals="5" coveredconditionals="0" methods="5" coveredmethods="0"/>
330
- <line num="10" count="10" type="cond" truecount="0" falsecount="1"/>
331
- <line num="11" count="0" type="cond" truecount="0" falsecount="1"/>
332
- <line num="13" count="0" type="cond" truecount="0" falsecount="1"/>
333
- <line num="14" count="0" type="stmt"/>
334
- <line num="15" count="0" type="stmt"/>
335
- <line num="16" count="0" type="stmt"/>
336
- <line num="24" count="0" type="stmt"/>
337
- <line num="25" count="0" type="stmt"/>
338
- <line num="31" count="0" type="cond" truecount="0" falsecount="1"/>
339
- <line num="32" count="0" type="stmt"/>
340
- <line num="35" count="0" type="stmt"/>
341
- <line num="36" count="0" type="stmt"/>
342
- <line num="37" count="0" type="stmt"/>
343
- <line num="39" count="0" type="cond" truecount="0" falsecount="1"/>
344
- <line num="40" count="0" type="stmt"/>
345
- <line num="41" count="0" type="stmt"/>
346
- <line num="44" count="0" type="stmt"/>
347
- <line num="47" count="10" type="stmt"/>
348
- </file>
349
- </package>
350
- <package name="src.models">
351
- <metrics statements="106" coveredstatements="91" conditionals="25" coveredconditionals="13" methods="19" coveredmethods="13"/>
352
- <file name="CustomFieldDefinition.ts" path="/Users/itayankri/Repos/sadot/src/models/CustomFieldDefinition.ts">
353
- <metrics statements="35" coveredstatements="34" conditionals="9" coveredconditionals="7" methods="7" coveredmethods="6"/>
354
- <line num="3" count="10" type="stmt"/>
355
- <line num="15" count="10" type="stmt"/>
356
- <line num="16" count="10" type="stmt"/>
357
- <line num="17" count="10" type="stmt"/>
358
- <line num="18" count="10" type="stmt"/>
359
- <line num="19" count="10" type="stmt"/>
360
- <line num="21" count="11" type="stmt"/>
361
- <line num="33" count="519" type="cond" truecount="1" falsecount="0"/>
362
- <line num="34" count="2" type="stmt"/>
363
- <line num="39" count="10" type="stmt"/>
364
- <line num="40" count="10" type="stmt"/>
365
- <line num="48" count="10" type="stmt"/>
366
- <line num="54" count="10" type="stmt"/>
367
- <line num="59" count="10" type="stmt"/>
368
- <line num="60" count="518" type="cond" truecount="1" falsecount="0"/>
369
- <line num="61" count="1" type="stmt"/>
370
- <line num="70" count="10" type="stmt"/>
371
- <line num="75" count="10" type="stmt"/>
372
- <line num="81" count="10" type="stmt"/>
373
- <line num="87" count="10" type="stmt"/>
374
- <line num="93" count="10" type="stmt"/>
375
- <line num="98" count="10" type="stmt"/>
376
- <line num="104" count="10" type="stmt"/>
377
- <line num="110" count="10" type="stmt"/>
378
- <line num="113" count="10" type="stmt"/>
379
- <line num="116" count="10" type="stmt"/>
380
- <line num="119" count="22" type="stmt"/>
381
- <line num="123" count="10" type="stmt"/>
382
- <line num="124" count="515" type="cond" truecount="4" falsecount="1"/>
383
- <line num="126" count="509" type="stmt"/>
384
- <line num="131" count="10" type="stmt"/>
385
- <line num="132" count="516" type="cond" truecount="1" falsecount="1"/>
386
- <line num="133" count="0" type="stmt"/>
387
- <line num="135" count="516" type="stmt"/>
388
- <line num="140" count="10" type="stmt"/>
389
- </file>
390
- <file name="CustomFieldValue.ts" path="/Users/itayankri/Repos/sadot/src/models/CustomFieldValue.ts">
391
- <metrics statements="39" coveredstatements="27" conditionals="7" coveredconditionals="2" methods="9" coveredmethods="4"/>
392
- <line num="3" count="10" type="stmt"/>
393
- <line num="19" count="10" type="stmt"/>
394
- <line num="20" count="10" type="stmt"/>
395
- <line num="21" count="10" type="stmt"/>
396
- <line num="22" count="10" type="stmt"/>
397
- <line num="24" count="10" type="stmt"/>
398
- <line num="29" count="10" type="stmt"/>
399
- <line num="30" count="10" type="stmt"/>
400
- <line num="37" count="10" type="stmt"/>
401
- <line num="38" count="22" type="stmt"/>
402
- <line num="45" count="10" type="stmt"/>
403
- <line num="51" count="10" type="stmt"/>
404
- <line num="54" count="10" type="stmt"/>
405
- <line num="57" count="10" type="stmt"/>
406
- <line num="60" count="272" type="stmt"/>
407
- <line num="65" count="10" type="stmt"/>
408
- <line num="66" count="0" type="stmt"/>
409
- <line num="67" count="0" type="stmt"/>
410
- <line num="68" count="0" type="stmt"/>
411
- <line num="73" count="0" type="cond" truecount="0" falsecount="3"/>
412
- <line num="74" count="0" type="stmt"/>
413
- <line num="77" count="0" type="stmt"/>
414
- <line num="81" count="0" type="stmt"/>
415
- <line num="82" count="0" type="stmt"/>
416
- <line num="83" count="0" type="stmt"/>
417
- <line num="84" count="0" type="cond" truecount="0" falsecount="1"/>
418
- <line num="85" count="0" type="stmt"/>
419
- <line num="93" count="10" type="stmt"/>
420
- <line num="94" count="762" type="stmt"/>
421
- <line num="96" count="762" type="stmt"/>
422
- <line num="97" count="762" type="stmt"/>
423
- <line num="98" count="762" type="stmt"/>
424
- <line num="99" count="762" type="cond" truecount="1" falsecount="0"/>
425
- <line num="100" count="26" type="stmt"/>
426
- <line num="105" count="10" type="stmt"/>
427
- <line num="106" count="736" type="cond" truecount="1" falsecount="1"/>
428
- <line num="107" count="0" type="stmt"/>
429
- <line num="109" count="736" type="stmt"/>
430
- <line num="114" count="10" type="stmt"/>
431
- </file>
432
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/models/index.ts">
433
- <metrics statements="32" coveredstatements="30" conditionals="9" coveredconditionals="4" methods="3" coveredmethods="3"/>
434
- <line num="3" count="10" type="stmt"/>
435
- <line num="4" count="10" type="stmt"/>
436
- <line num="5" count="10" type="stmt"/>
437
- <line num="6" count="10" type="stmt"/>
438
- <line num="7" count="10" type="stmt"/>
439
- <line num="9" count="10" type="stmt"/>
440
- <line num="10" count="10" type="stmt"/>
441
- <line num="12" count="11" type="stmt"/>
442
- <line num="13" count="11" type="stmt"/>
443
- <line num="16" count="11" type="cond" truecount="0" falsecount="1"/>
444
- <line num="17" count="0" type="stmt"/>
445
- <line num="20" count="11" type="cond" truecount="1" falsecount="1"/>
446
- <line num="22" count="11" type="stmt"/>
447
- <line num="23" count="11" type="stmt"/>
448
- <line num="24" count="11" type="stmt"/>
449
- <line num="25" count="11" type="stmt"/>
450
- <line num="26" count="1150" type="stmt"/>
451
- <line num="27" count="1150" type="cond" truecount="2" falsecount="3"/>
452
- <line num="28" count="0" type="stmt"/>
453
- <line num="38" count="1150" type="stmt"/>
454
- <line num="41" count="11" type="stmt"/>
455
- <line num="42" count="11" type="stmt"/>
456
- <line num="43" count="11" type="stmt"/>
457
- <line num="45" count="11" type="cond" truecount="1" falsecount="0"/>
458
- <line num="46" count="11" type="stmt"/>
459
- <line num="47" count="11" type="stmt"/>
460
- <line num="49" count="11" type="stmt"/>
461
- <line num="53" count="10" type="stmt"/>
462
- <line num="54" count="10" type="stmt"/>
463
- <line num="55" count="10" type="stmt"/>
464
- <line num="56" count="10" type="stmt"/>
465
- <line num="57" count="10" type="stmt"/>
466
- </file>
467
- </package>
468
- <package name="src.models.tests">
469
- <metrics statements="21" coveredstatements="21" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
470
- <file name="AssociatedTestModel.ts" path="/Users/itayankri/Repos/sadot/src/models/tests/AssociatedTestModel.ts">
471
- <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
472
- <line num="2" count="10" type="stmt"/>
473
- <line num="11" count="10" type="stmt"/>
474
- <line num="14" count="10" type="stmt"/>
475
- <line num="15" count="10" type="stmt"/>
476
- <line num="23" count="22" type="stmt"/>
477
- <line num="30" count="10" type="stmt"/>
478
- <line num="36" count="10" type="stmt"/>
479
- <line num="42" count="10" type="stmt"/>
480
- <line num="48" count="10" type="stmt"/>
481
- <line num="53" count="22" type="stmt"/>
482
- <line num="57" count="10" type="stmt"/>
483
- </file>
484
- <file name="TestModel.ts" path="/Users/itayankri/Repos/sadot/src/models/tests/TestModel.ts">
485
- <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
486
- <line num="2" count="10" type="stmt"/>
487
- <line num="10" count="10" type="stmt"/>
488
- <line num="13" count="10" type="stmt"/>
489
- <line num="14" count="10" type="stmt"/>
490
- <line num="22" count="10" type="stmt"/>
491
- <line num="28" count="10" type="stmt"/>
492
- <line num="34" count="10" type="stmt"/>
493
- <line num="40" count="10" type="stmt"/>
494
- <line num="45" count="22" type="stmt"/>
495
- <line num="49" count="10" type="stmt"/>
496
- </file>
497
- </package>
498
- <package name="src.repository">
499
- <metrics statements="74" coveredstatements="60" conditionals="34" coveredconditionals="14" methods="38" coveredmethods="22"/>
500
- <file name="definition.ts" path="/Users/itayankri/Repos/sadot/src/repository/definition.ts">
501
- <metrics statements="37" coveredstatements="30" conditionals="12" coveredconditionals="4" methods="16" coveredmethods="9"/>
502
- <line num="1" count="10" type="stmt"/>
503
- <line num="2" count="10" type="stmt"/>
504
- <line num="5" count="10" type="stmt"/>
505
- <line num="6" count="518" type="stmt"/>
506
- <line num="8" count="10" type="stmt"/>
507
- <line num="12" count="383" type="cond" truecount="1" falsecount="0"/>
508
- <line num="13" count="133" type="stmt"/>
509
- <line num="16" count="250" type="stmt"/>
510
- <line num="19" count="10" type="stmt"/>
511
- <line num="22" count="0" type="stmt"/>
512
- <line num="24" count="10" type="stmt"/>
513
- <line num="28" count="764" type="stmt"/>
514
- <line num="29" count="764" type="cond" truecount="1" falsecount="0"/>
515
- <line num="30" count="762" type="stmt"/>
516
- <line num="32" count="2" type="stmt"/>
517
- <line num="35" count="10" type="stmt"/>
518
- <line num="38" count="0" type="stmt"/>
519
- <line num="43" count="10" type="stmt"/>
520
- <line num="44" count="2" type="stmt"/>
521
- <line num="48" count="10" type="stmt"/>
522
- <line num="51" count="0" type="stmt"/>
523
- <line num="52" count="0" type="stmt"/>
524
- <line num="53" count="0" type="stmt"/>
525
- <line num="59" count="10" type="stmt"/>
526
- <line num="62" count="1" type="stmt"/>
527
- <line num="63" count="1" type="stmt"/>
528
- <line num="68" count="1" type="stmt"/>
529
- <line num="71" count="10" type="stmt"/>
530
- <line num="72" count="0" type="stmt"/>
531
- <line num="77" count="10" type="stmt"/>
532
- <line num="78" count="0" type="stmt"/>
533
- <line num="83" count="10" type="stmt"/>
534
- <line num="87" count="147" type="stmt"/>
535
- <line num="88" count="147" type="cond" truecount="1" falsecount="1"/>
536
- <line num="89" count="147" type="stmt"/>
537
- <line num="93" count="147" type="stmt"/>
538
- <line num="94" count="147" type="stmt"/>
539
- </file>
540
- <file name="value.ts" path="/Users/itayankri/Repos/sadot/src/repository/value.ts">
541
- <metrics statements="37" coveredstatements="30" conditionals="22" coveredconditionals="10" methods="22" coveredmethods="13"/>
542
- <line num="2" count="10" type="stmt"/>
543
- <line num="3" count="10" type="stmt"/>
544
- <line num="5" count="10" type="stmt"/>
545
- <line num="6" count="10" type="stmt"/>
546
- <line num="8" count="10" type="stmt"/>
547
- <line num="9" count="0" type="stmt"/>
548
- <line num="11" count="10" type="cond" truecount="0" falsecount="1"/>
549
- <line num="12" count="0" type="stmt"/>
550
- <line num="13" count="0" type="cond" truecount="0" falsecount="1"/>
551
- <line num="14" count="0" type="stmt"/>
552
- <line num="15" count="0" type="cond" truecount="0" falsecount="4"/>
553
- <line num="17" count="0" type="stmt"/>
554
- <line num="20" count="10" type="stmt"/>
555
- <line num="26" count="10" type="stmt"/>
556
- <line num="33" count="250" type="stmt"/>
557
- <line num="34" count="250" type="stmt"/>
558
- <line num="35" count="250" type="stmt"/>
559
- <line num="47" count="10" type="stmt"/>
560
- <line num="53" count="132" type="stmt"/>
561
- <line num="54" count="132" type="stmt"/>
562
- <line num="56" count="132" type="stmt"/>
563
- <line num="57" count="132" type="cond" truecount="1" falsecount="1"/>
564
- <line num="62" count="763" type="stmt"/>
565
- <line num="63" count="132" type="cond" truecount="1" falsecount="0"/>
566
- <line num="64" count="4" type="stmt"/>
567
- <line num="65" count="2" type="stmt"/>
568
- <line num="68" count="130" type="cond" truecount="4" falsecount="2"/>
569
- <line num="69" count="762" type="stmt"/>
570
- <line num="70" count="130" type="cond" truecount="4" falsecount="1"/>
571
- <line num="71" count="1" type="stmt"/>
572
- <line num="74" count="762" type="stmt"/>
573
- <line num="78" count="4595" type="stmt"/>
574
- <line num="81" count="762" type="stmt"/>
575
- <line num="82" count="762" type="stmt"/>
576
- <line num="85" count="736" type="stmt"/>
577
- <line num="89" count="10" type="stmt"/>
578
- <line num="92" count="0" type="stmt"/>
579
- </file>
580
- </package>
581
- <package name="src.tests.api">
582
- <metrics statements="22" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="8" coveredmethods="0"/>
583
- <file name="test-api.ts" path="/Users/itayankri/Repos/sadot/src/tests/api/test-api.ts">
584
- <metrics statements="22" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="8" coveredmethods="0"/>
585
- <line num="1" count="1" type="stmt"/>
586
- <line num="2" count="1" type="stmt"/>
587
- <line num="4" count="1" type="stmt"/>
588
- <line num="5" count="1" type="stmt"/>
589
- <line num="6" count="1" type="stmt"/>
590
- <line num="8" count="1" type="stmt"/>
591
- <line num="9" count="0" type="stmt"/>
592
- <line num="10" count="0" type="stmt"/>
593
- <line num="13" count="1" type="stmt"/>
594
- <line num="14" count="0" type="stmt"/>
595
- <line num="15" count="0" type="stmt"/>
596
- <line num="16" count="0" type="stmt"/>
597
- <line num="19" count="1" type="stmt"/>
598
- <line num="20" count="0" type="stmt"/>
599
- <line num="21" count="0" type="stmt"/>
600
- <line num="22" count="0" type="stmt"/>
601
- <line num="25" count="1" type="stmt"/>
602
- <line num="26" count="0" type="stmt"/>
603
- <line num="27" count="0" type="stmt"/>
604
- <line num="33" count="0" type="stmt"/>
605
- <line num="36" count="1" type="stmt"/>
606
- <line num="38" count="1" type="stmt"/>
607
- </file>
608
- </package>
609
- <package name="src.tests.helpers">
610
- <metrics statements="9" coveredstatements="9" conditionals="13" coveredconditionals="12" methods="3" coveredmethods="3"/>
611
- <file name="database-config.ts" path="/Users/itayankri/Repos/sadot/src/tests/helpers/database-config.ts">
612
- <metrics statements="1" coveredstatements="1" conditionals="10" coveredconditionals="10" methods="0" coveredmethods="0"/>
613
- <line num="1" count="10" type="stmt"/>
614
- </file>
615
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/tests/helpers/index.ts">
616
- <metrics statements="8" coveredstatements="8" conditionals="3" coveredconditionals="2" methods="3" coveredmethods="3"/>
617
- <line num="1" count="10" type="stmt"/>
618
- <line num="4" count="51" type="stmt"/>
619
- <line num="5" count="51" type="cond" truecount="2" falsecount="1"/>
620
- <line num="6" count="51" type="stmt"/>
621
- <line num="7" count="51" type="stmt"/>
622
- <line num="11" count="10" type="stmt"/>
623
- <line num="13" count="14" type="stmt"/>
624
- <line num="14" count="14" type="stmt"/>
625
- </file>
626
- </package>
627
- <package name="src.tests.mocks">
628
- <metrics statements="38" coveredstatements="35" conditionals="65" coveredconditionals="48" methods="21" coveredmethods="15"/>
629
- <file name="definition.mock.ts" path="/Users/itayankri/Repos/sadot/src/tests/mocks/definition.mock.ts">
630
- <metrics statements="10" coveredstatements="10" conditionals="61" coveredconditionals="47" methods="6" coveredmethods="5"/>
631
- <line num="1" count="9" type="stmt"/>
632
- <line num="4" count="9" type="stmt"/>
633
- <line num="12" count="9" type="stmt"/>
634
- <line num="17" count="9" type="stmt"/>
635
- <line num="22" count="9" type="stmt"/>
636
- <line num="30" count="9" type="stmt"/>
637
- <line num="39" count="9" type="stmt"/>
638
- <line num="51" count="19" type="stmt"/>
639
- <line num="59" count="9" type="stmt"/>
640
- <line num="63" count="464" type="stmt"/>
641
- </file>
642
- <file name="events.mock.ts" path="/Users/itayankri/Repos/sadot/src/tests/mocks/events.mock.ts">
643
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
644
- <line num="3" count="5" type="stmt"/>
645
- <line num="4" count="40" type="stmt"/>
646
- <line num="5" count="40" type="stmt"/>
647
- <line num="8" count="2219" type="stmt"/>
648
- <line num="9" count="40" type="stmt"/>
649
- <line num="14" count="5" type="stmt"/>
650
- <line num="15" count="21" type="stmt"/>
651
- <line num="17" count="5" type="stmt"/>
652
- <line num="18" count="19" type="stmt"/>
653
- </file>
654
- <file name="testModel.ts" path="/Users/itayankri/Repos/sadot/src/tests/mocks/testModel.ts">
655
- <metrics statements="19" coveredstatements="16" conditionals="4" coveredconditionals="1" methods="10" coveredmethods="5"/>
656
- <line num="1" count="9" type="stmt"/>
657
- <line num="3" count="147" type="cond" truecount="0" falsecount="1"/>
658
- <line num="5" count="9" type="stmt"/>
659
- <line num="6" count="4" type="stmt"/>
660
- <line num="7" count="4" type="stmt"/>
661
- <line num="8" count="110" type="stmt"/>
662
- <line num="10" count="4" type="stmt"/>
663
- <line num="13" count="9" type="stmt"/>
664
- <line num="15" count="9" type="stmt"/>
665
- <line num="17" count="9" type="stmt"/>
666
- <line num="20" count="24" type="stmt"/>
667
- <line num="22" count="9" type="stmt"/>
668
- <line num="24" count="3" type="stmt"/>
669
- <line num="26" count="9" type="stmt"/>
670
- <line num="29" count="9" type="stmt"/>
671
- <line num="30" count="0" type="stmt"/>
672
- <line num="31" count="0" type="stmt"/>
673
- <line num="32" count="0" type="stmt"/>
674
- <line num="35" count="9" type="cond" truecount="0" falsecount="1"/>
675
- </file>
676
- </package>
677
- <package name="src.utils.db">
678
- <metrics statements="9" coveredstatements="8" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
679
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/utils/db/index.ts">
680
- <metrics statements="9" coveredstatements="8" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
681
- <line num="1" count="10" type="stmt"/>
682
- <line num="3" count="10" type="stmt"/>
683
- <line num="4" count="11" type="stmt"/>
684
- <line num="5" count="11" type="cond" truecount="1" falsecount="1"/>
685
- <line num="6" count="11" type="stmt"/>
686
- <line num="8" count="11" type="cond" truecount="1" falsecount="1"/>
687
- <line num="9" count="0" type="stmt"/>
688
- <line num="11" count="11" type="stmt"/>
689
- <line num="13" count="11" type="stmt"/>
690
- </file>
691
- </package>
692
- <package name="src.utils.logger">
693
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
694
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/utils/logger/index.ts">
695
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
696
- <line num="2" count="10" type="stmt"/>
697
- <line num="4" count="10" type="stmt"/>
698
- </file>
699
- </package>
700
- <package name="src.utils.validations">
701
- <metrics statements="61" coveredstatements="54" conditionals="34" coveredconditionals="25" methods="8" coveredmethods="7"/>
702
- <file name="custom-fields.ts" path="/Users/itayankri/Repos/sadot/src/utils/validations/custom-fields.ts">
703
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
704
- <line num="2" count="10" type="stmt"/>
705
- <line num="4" count="10" type="stmt"/>
706
- <line num="9" count="10" type="stmt"/>
707
- </file>
708
- <file name="custom.ts" path="/Users/itayankri/Repos/sadot/src/utils/validations/custom.ts">
709
- <metrics statements="17" coveredstatements="16" conditionals="11" coveredconditionals="9" methods="2" coveredmethods="2"/>
710
- <line num="2" count="10" type="stmt"/>
711
- <line num="3" count="10" type="stmt"/>
712
- <line num="4" count="10" type="stmt"/>
713
- <line num="6" count="10" type="stmt"/>
714
- <line num="14" count="10" type="stmt"/>
715
- <line num="15" count="519" type="cond" truecount="1" falsecount="0"/>
716
- <line num="16" count="510" type="cond" truecount="1" falsecount="0"/>
717
- <line num="17" count="2" type="stmt"/>
718
- <line num="18" count="2" type="stmt"/>
719
- <line num="20" count="508" type="stmt"/>
720
- <line num="22" count="9" type="stmt"/>
721
- <line num="30" count="10" type="stmt"/>
722
- <line num="31" count="5" type="cond" truecount="3" falsecount="1"/>
723
- <line num="32" count="5" type="cond" truecount="2" falsecount="1"/>
724
- <line num="33" count="0" type="stmt"/>
725
- <line num="36" count="5" type="cond" truecount="2" falsecount="0"/>
726
- <line num="39" count="10" type="stmt"/>
727
- </file>
728
- <file name="index.ts" path="/Users/itayankri/Repos/sadot/src/utils/validations/index.ts">
729
- <metrics statements="9" coveredstatements="9" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
730
- <line num="1" count="10" type="stmt"/>
731
- <line num="2" count="10" type="stmt"/>
732
- <line num="4" count="10" type="stmt"/>
733
- <line num="5" count="762" type="cond" truecount="1" falsecount="0"/>
734
- <line num="6" count="23" type="stmt"/>
735
- <line num="8" count="739" type="cond" truecount="1" falsecount="0"/>
736
- <line num="9" count="5" type="stmt"/>
737
- <line num="16" count="734" type="stmt"/>
738
- <line num="19" count="10" type="stmt"/>
739
- </file>
740
- <file name="type.ts" path="/Users/itayankri/Repos/sadot/src/utils/validations/type.ts">
741
- <metrics statements="21" coveredstatements="19" conditionals="11" coveredconditionals="9" methods="2" coveredmethods="2"/>
742
- <line num="1" count="10" type="stmt"/>
743
- <line num="6" count="10" type="cond" truecount="2" falsecount="0"/>
744
- <line num="7" count="10" type="stmt"/>
745
- <line num="8" count="10" type="stmt"/>
746
- <line num="9" count="10" type="stmt"/>
747
- <line num="10" count="10" type="stmt"/>
748
- <line num="11" count="10" type="stmt"/>
749
- <line num="12" count="10" type="stmt"/>
750
- <line num="13" count="10" type="stmt"/>
751
- <line num="19" count="10" type="stmt"/>
752
- <line num="20" count="762" type="cond" truecount="0" falsecount="1"/>
753
- <line num="22" count="0" type="stmt"/>
754
- <line num="25" count="762" type="cond" truecount="7" falsecount="1"/>
755
- <line num="27" count="689" type="stmt"/>
756
- <line num="29" count="48" type="stmt"/>
757
- <line num="31" count="7" type="stmt"/>
758
- <line num="34" count="8" type="stmt"/>
759
- <line num="36" count="5" type="stmt"/>
760
- <line num="38" count="5" type="stmt"/>
761
- <line num="41" count="0" type="stmt"/>
762
- <line num="45" count="10" type="stmt"/>
763
- </file>
764
- <file name="validators.ts" path="/Users/itayankri/Repos/sadot/src/utils/validations/validators.ts">
765
- <metrics statements="11" coveredstatements="7" conditionals="10" coveredconditionals="5" methods="3" coveredmethods="2"/>
766
- <line num="2" count="10" type="cond" truecount="2" falsecount="0"/>
767
- <line num="3" count="10" type="stmt"/>
768
- <line num="4" count="10" type="stmt"/>
769
- <line num="11" count="10" type="cond" truecount="3" falsecount="0"/>
770
- <line num="18" count="10" type="stmt"/>
771
- <line num="19" count="0" type="stmt"/>
772
- <line num="20" count="0" type="cond" truecount="0" falsecount="3"/>
773
- <line num="21" count="0" type="stmt"/>
774
- <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
775
- <line num="29" count="10" type="stmt"/>
776
- <line num="34" count="10" type="stmt"/>
777
- </file>
778
- </package>
779
- </project>
780
- </coverage>