@autofleet/sadot 0.3.0-beta.8 → 0.3.0

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