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