@autofleet/rabbit 4.1.0-beta.0 → 4.1.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 (60) hide show
  1. package/dist/index.d.ts +81 -76
  2. package/dist/index.js +581 -472
  3. package/dist/index.js.map +1 -0
  4. package/dist/lib/celery.js +1 -0
  5. package/dist/lib/celery.js.map +1 -0
  6. package/dist/lib/consts.d.ts +12 -4
  7. package/dist/lib/consts.js +12 -3
  8. package/dist/lib/consts.js.map +1 -0
  9. package/dist/lib/rabbitError.js +1 -0
  10. package/dist/lib/rabbitError.js.map +1 -0
  11. package/dist/lib/redis.d.ts +2 -1
  12. package/dist/lib/redis.js +3 -8
  13. package/dist/lib/redis.js.map +1 -0
  14. package/dist/lib/types.d.ts +18 -5
  15. package/dist/lib/types.js +1 -0
  16. package/dist/lib/types.js.map +1 -0
  17. package/dist/lib/utils.d.ts +12 -3
  18. package/dist/lib/utils.js +23 -13
  19. package/dist/lib/utils.js.map +1 -0
  20. package/dist/logger.js +1 -0
  21. package/dist/logger.js.map +1 -0
  22. package/dist/{mock.d.ts → mock/index.d.ts} +1 -1
  23. package/dist/{mock.js → mock/index.js} +2 -1
  24. package/dist/mock/index.js.map +1 -0
  25. package/dist/mock/vitest.d.ts +13 -0
  26. package/dist/mock/vitest.js +18 -0
  27. package/dist/mock/vitest.js.map +1 -0
  28. package/package.json +24 -19
  29. package/src/index.ts +702 -591
  30. package/src/lib/consts.ts +17 -4
  31. package/src/lib/redis.ts +2 -7
  32. package/src/lib/types.ts +22 -7
  33. package/src/lib/utils.ts +35 -12
  34. package/src/{mock.ts → mock/index.ts} +2 -2
  35. package/src/mock/vitest.ts +24 -0
  36. package/src/redis-lock.d.ts +5 -3
  37. package/tsconfig.build.json +5 -0
  38. package/tsconfig.json +2 -2
  39. package/vitest.config.ts +17 -0
  40. package/coverage/clover.xml +0 -669
  41. package/coverage/coverage-final.json +0 -9
  42. package/coverage/lcov-report/base.css +0 -224
  43. package/coverage/lcov-report/block-navigation.js +0 -87
  44. package/coverage/lcov-report/favicon.png +0 -0
  45. package/coverage/lcov-report/index.html +0 -131
  46. package/coverage/lcov-report/prettify.css +0 -1
  47. package/coverage/lcov-report/prettify.js +0 -2
  48. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  49. package/coverage/lcov-report/sorter.js +0 -196
  50. package/coverage/lcov-report/src/index.html +0 -131
  51. package/coverage/lcov-report/src/index.ts.html +0 -3826
  52. package/coverage/lcov-report/src/lib/celery.ts.html +0 -352
  53. package/coverage/lcov-report/src/lib/consts.ts.html +0 -142
  54. package/coverage/lcov-report/src/lib/index.html +0 -191
  55. package/coverage/lcov-report/src/lib/rabbitError.ts.html +0 -103
  56. package/coverage/lcov-report/src/lib/redis.ts.html +0 -133
  57. package/coverage/lcov-report/src/lib/types.ts.html +0 -268
  58. package/coverage/lcov-report/src/lib/utils.ts.html +0 -142
  59. package/coverage/lcov-report/src/logger.ts.html +0 -100
  60. package/coverage/lcov.info +0 -1076
@@ -1,669 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1743080708380" clover="3.2.0">
3
- <project timestamp="1743080708380" name="All files">
4
- <metrics statements="633" coveredstatements="453" conditionals="187" coveredconditionals="122" methods="92" coveredmethods="72" elements="912" coveredelements="647" complexity="0" loc="633" ncloc="633" packages="2" files="8" classes="8"/>
5
- <package name="src">
6
- <metrics statements="585" coveredstatements="417" conditionals="177" coveredconditionals="116" methods="84" coveredmethods="65"/>
7
- <file name="index.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/index.ts">
8
- <metrics statements="582" coveredstatements="414" conditionals="177" coveredconditionals="116" methods="84" coveredmethods="65"/>
9
- <line num="3" count="1" type="stmt"/>
10
- <line num="4" count="1" type="stmt"/>
11
- <line num="5" count="1" type="stmt"/>
12
- <line num="6" count="1" type="stmt"/>
13
- <line num="7" count="1" type="stmt"/>
14
- <line num="13" count="1" type="stmt"/>
15
- <line num="16" count="1" type="stmt"/>
16
- <line num="17" count="1" type="stmt"/>
17
- <line num="18" count="1" type="stmt"/>
18
- <line num="19" count="1" type="stmt"/>
19
- <line num="20" count="1" type="stmt"/>
20
- <line num="21" count="1" type="stmt"/>
21
- <line num="22" count="1" type="stmt"/>
22
- <line num="33" count="1" type="stmt"/>
23
- <line num="47" count="1" type="stmt"/>
24
- <line num="49" count="1" type="stmt"/>
25
- <line num="105" count="1" type="stmt"/>
26
- <line num="109" count="57" type="stmt"/>
27
- <line num="110" count="57" type="stmt"/>
28
- <line num="112" count="57" type="stmt"/>
29
- <line num="113" count="57" type="stmt"/>
30
- <line num="116" count="57" type="stmt"/>
31
- <line num="123" count="217" type="cond" truecount="3" falsecount="0"/>
32
- <line num="124" count="1" type="stmt"/>
33
- <line num="129" count="56" type="stmt"/>
34
- <line num="130" count="56" type="stmt"/>
35
- <line num="131" count="56" type="stmt"/>
36
- <line num="132" count="56" type="stmt"/>
37
- <line num="133" count="56" type="stmt"/>
38
- <line num="145" count="4" type="stmt"/>
39
- <line num="147" count="4" type="stmt"/>
40
- <line num="178" count="4" type="stmt"/>
41
- <line num="180" count="4" type="stmt"/>
42
- <line num="206" count="4" type="stmt"/>
43
- <line num="209" count="4" type="stmt"/>
44
- <line num="210" count="4" type="stmt"/>
45
- <line num="211" count="4" type="stmt"/>
46
- <line num="212" count="4" type="stmt"/>
47
- <line num="213" count="4" type="stmt"/>
48
- <line num="214" count="4" type="stmt"/>
49
- <line num="215" count="4" type="stmt"/>
50
- <line num="216" count="4" type="stmt"/>
51
- <line num="217" count="4" type="stmt"/>
52
- <line num="218" count="4" type="stmt"/>
53
- <line num="219" count="4" type="stmt"/>
54
- <line num="221" count="4" type="cond" truecount="1" falsecount="0"/>
55
- <line num="223" count="4" type="stmt"/>
56
- <line num="226" count="4" type="cond" truecount="2" falsecount="0"/>
57
- <line num="227" count="4" type="cond" truecount="1" falsecount="0"/>
58
- <line num="228" count="4" type="stmt"/>
59
- <line num="230" count="4" type="stmt"/>
60
- <line num="231" count="4" type="stmt"/>
61
- <line num="232" count="4" type="cond" truecount="1" falsecount="0"/>
62
- <line num="233" count="4" type="stmt"/>
63
- <line num="234" count="0" type="stmt"/>
64
- <line num="236" count="4" type="stmt"/>
65
- <line num="237" count="0" type="stmt"/>
66
- <line num="242" count="4" type="stmt"/>
67
- <line num="243" count="4" type="stmt"/>
68
- <line num="244" count="4" type="stmt"/>
69
- <line num="245" count="4" type="stmt"/>
70
- <line num="246" count="4" type="stmt"/>
71
- <line num="247" count="4" type="stmt"/>
72
- <line num="248" count="4" type="stmt"/>
73
- <line num="249" count="4" type="stmt"/>
74
- <line num="250" count="4" type="stmt"/>
75
- <line num="251" count="4" type="stmt"/>
76
- <line num="252" count="4" type="stmt"/>
77
- <line num="255" count="4" type="stmt"/>
78
- <line num="256" count="78" type="cond" truecount="1" falsecount="0"/>
79
- <line num="257" count="74" type="stmt"/>
80
- <line num="260" count="4" type="cond" truecount="0" falsecount="1"/>
81
- <line num="261" count="0" type="stmt"/>
82
- <line num="264" count="4" type="stmt"/>
83
- <line num="265" count="4" type="stmt"/>
84
- <line num="271" count="4" type="cond" truecount="2" falsecount="1"/>
85
- <line num="273" count="4" type="stmt"/>
86
- <line num="274" count="4" type="stmt"/>
87
- <line num="276" count="4" type="cond" truecount="0" falsecount="1"/>
88
- <line num="277" count="0" type="stmt"/>
89
- <line num="280" count="4" type="stmt"/>
90
- <line num="281" count="4" type="stmt"/>
91
- <line num="284" count="0" type="cond" truecount="0" falsecount="3"/>
92
- <line num="285" count="0" type="stmt"/>
93
- <line num="286" count="0" type="stmt"/>
94
- <line num="294" count="0" type="stmt"/>
95
- <line num="295" count="0" type="stmt"/>
96
- <line num="296" count="0" type="stmt"/>
97
- <line num="298" count="0" type="stmt"/>
98
- <line num="299" count="0" type="stmt"/>
99
- <line num="303" count="0" type="stmt"/>
100
- <line num="304" count="0" type="stmt"/>
101
- <line num="308" count="4" type="stmt"/>
102
- <line num="309" count="44" type="cond" truecount="1" falsecount="0"/>
103
- <line num="310" count="44" type="stmt"/>
104
- <line num="311" count="44" type="stmt"/>
105
- <line num="313" count="44" type="cond" truecount="4" falsecount="0"/>
106
- <line num="314" count="7" type="stmt"/>
107
- <line num="315" count="7" type="cond" truecount="2" falsecount="0"/>
108
- <line num="317" count="37" type="stmt"/>
109
- <line num="319" count="0" type="stmt"/>
110
- <line num="322" count="31" type="cond" truecount="2" falsecount="0"/>
111
- <line num="323" count="31" type="cond" truecount="1" falsecount="0"/>
112
- <line num="324" count="31" type="stmt"/>
113
- <line num="325" count="31" type="stmt"/>
114
- <line num="326" count="31" type="stmt"/>
115
- <line num="327" count="31" type="stmt"/>
116
- <line num="329" count="31" type="cond" truecount="5" falsecount="0"/>
117
- <line num="330" count="4" type="stmt"/>
118
- <line num="331" count="4" type="stmt"/>
119
- <line num="332" count="4" type="stmt"/>
120
- <line num="337" count="4" type="stmt"/>
121
- <line num="344" count="13" type="stmt"/>
122
- <line num="350" count="13" type="stmt"/>
123
- <line num="351" count="13" type="cond" truecount="3" falsecount="1"/>
124
- <line num="352" count="13" type="cond" truecount="2" falsecount="0"/>
125
- <line num="359" count="6" type="stmt"/>
126
- <line num="366" count="7" type="stmt"/>
127
- <line num="367" count="7" type="stmt"/>
128
- <line num="374" count="13" type="stmt"/>
129
- <line num="375" count="13" type="stmt"/>
130
- <line num="377" count="0" type="stmt"/>
131
- <line num="384" count="34" type="stmt"/>
132
- <line num="385" count="34" type="cond" truecount="0" falsecount="1"/>
133
- <line num="386" count="0" type="stmt"/>
134
- <line num="389" count="0" type="stmt"/>
135
- <line num="391" count="34" type="cond" truecount="1" falsecount="0"/>
136
- <line num="392" count="30" type="cond" truecount="3" falsecount="0"/>
137
- <line num="393" count="30" type="stmt"/>
138
- <line num="396" count="30" type="stmt"/>
139
- <line num="398" count="0" type="stmt"/>
140
- <line num="400" count="4" type="cond" truecount="0" falsecount="1"/>
141
- <line num="401" count="0" type="stmt"/>
142
- <line num="402" count="0" type="stmt"/>
143
- <line num="403" count="0" type="stmt"/>
144
- <line num="404" count="0" type="stmt"/>
145
- <line num="406" count="4" type="stmt"/>
146
- <line num="407" count="4" type="stmt"/>
147
- <line num="412" count="4" type="stmt"/>
148
- <line num="413" count="9" type="cond" truecount="2" falsecount="0"/>
149
- <line num="414" count="9" type="cond" truecount="2" falsecount="0"/>
150
- <line num="415" count="9" type="cond" truecount="2" falsecount="1"/>
151
- <line num="417" count="9" type="stmt"/>
152
- <line num="418" count="9" type="stmt"/>
153
- <line num="421" count="4" type="stmt"/>
154
- <line num="422" count="4" type="stmt"/>
155
- <line num="426" count="4" type="stmt"/>
156
- <line num="427" count="4" type="stmt"/>
157
- <line num="428" count="0" type="stmt"/>
158
- <line num="429" count="0" type="cond" truecount="0" falsecount="1"/>
159
- <line num="430" count="0" type="stmt"/>
160
- <line num="431" count="0" type="stmt"/>
161
- <line num="432" count="0" type="stmt"/>
162
- <line num="436" count="4" type="stmt"/>
163
- <line num="437" count="0" type="stmt"/>
164
- <line num="438" count="0" type="stmt"/>
165
- <line num="439" count="0" type="cond" truecount="0" falsecount="1"/>
166
- <line num="440" count="0" type="stmt"/>
167
- <line num="441" count="0" type="stmt"/>
168
- <line num="442" count="0" type="stmt"/>
169
- <line num="446" count="4" type="stmt"/>
170
- <line num="448" count="1" type="stmt"/>
171
- <line num="449" count="1" type="stmt"/>
172
- <line num="450" count="1" type="cond" truecount="1" falsecount="1"/>
173
- <line num="451" count="0" type="cond" truecount="0" falsecount="2"/>
174
- <line num="452" count="0" type="stmt"/>
175
- <line num="454" count="1" type="cond" truecount="2" falsecount="0"/>
176
- <line num="458" count="4" type="stmt"/>
177
- <line num="459" count="4" type="stmt"/>
178
- <line num="460" count="4" type="stmt"/>
179
- <line num="461" count="4" type="stmt"/>
180
- <line num="462" count="4" type="stmt"/>
181
- <line num="463" count="4" type="stmt"/>
182
- <line num="470" count="34" type="stmt"/>
183
- <line num="471" count="34" type="stmt"/>
184
- <line num="473" count="0" type="stmt"/>
185
- <line num="474" count="0" type="stmt"/>
186
- <line num="476" count="34" type="stmt"/>
187
- <line num="477" count="34" type="stmt"/>
188
- <line num="478" count="0" type="stmt"/>
189
- <line num="479" count="0" type="stmt"/>
190
- <line num="481" count="34" type="stmt"/>
191
- <line num="482" count="34" type="stmt"/>
192
- <line num="483" count="34" type="stmt"/>
193
- <line num="484" count="34" type="stmt"/>
194
- <line num="486" count="0" type="stmt"/>
195
- <line num="487" count="0" type="stmt"/>
196
- <line num="492" count="24" type="cond" truecount="1" falsecount="0"/>
197
- <line num="493" count="4" type="stmt"/>
198
- <line num="494" count="4" type="cond" truecount="1" falsecount="2"/>
199
- <line num="495" count="0" type="stmt"/>
200
- <line num="498" count="4" type="stmt"/>
201
- <line num="499" count="4" type="stmt"/>
202
- <line num="500" count="4" type="stmt"/>
203
- <line num="501" count="0" type="stmt"/>
204
- <line num="503" count="4" type="stmt"/>
205
- <line num="504" count="4" type="stmt"/>
206
- <line num="506" count="0" type="stmt"/>
207
- <line num="510" count="24" type="stmt"/>
208
- <line num="514" count="0" type="stmt"/>
209
- <line num="516" count="0" type="cond" truecount="0" falsecount="1"/>
210
- <line num="517" count="0" type="stmt"/>
211
- <line num="518" count="0" type="stmt"/>
212
- <line num="521" count="0" type="cond" truecount="0" falsecount="1"/>
213
- <line num="522" count="0" type="stmt"/>
214
- <line num="525" count="0" type="stmt"/>
215
- <line num="526" count="0" type="stmt"/>
216
- <line num="527" count="0" type="stmt"/>
217
- <line num="532" count="8" type="stmt"/>
218
- <line num="533" count="8" type="stmt"/>
219
- <line num="534" count="8" type="cond" truecount="0" falsecount="1"/>
220
- <line num="535" count="0" type="stmt"/>
221
- <line num="537" count="8" type="stmt"/>
222
- <line num="538" count="8" type="stmt"/>
223
- <line num="542" count="0" type="stmt"/>
224
- <line num="543" count="0" type="stmt"/>
225
- <line num="544" count="0" type="stmt"/>
226
- <line num="545" count="0" type="stmt"/>
227
- <line num="546" count="0" type="stmt"/>
228
- <line num="547" count="0" type="stmt"/>
229
- <line num="552" count="1" type="stmt"/>
230
- <line num="553" count="1" type="stmt"/>
231
- <line num="554" count="1" type="stmt"/>
232
- <line num="559" count="21" type="stmt"/>
233
- <line num="568" count="21" type="stmt"/>
234
- <line num="569" count="21" type="stmt"/>
235
- <line num="570" count="21" type="stmt"/>
236
- <line num="571" count="21" type="stmt"/>
237
- <line num="572" count="22" type="stmt"/>
238
- <line num="574" count="21" type="stmt"/>
239
- <line num="575" count="21" type="stmt"/>
240
- <line num="577" count="0" type="stmt"/>
241
- <line num="578" count="0" type="cond" truecount="0" falsecount="2"/>
242
- <line num="579" count="0" type="stmt"/>
243
- <line num="580" count="0" type="stmt"/>
244
- <line num="581" count="0" type="stmt"/>
245
- <line num="583" count="0" type="stmt"/>
246
- <line num="584" count="0" type="stmt"/>
247
- <line num="585" count="0" type="stmt"/>
248
- <line num="586" count="0" type="stmt"/>
249
- <line num="588" count="0" type="stmt"/>
250
- <line num="592" count="21" type="stmt"/>
251
- <line num="593" count="21" type="stmt"/>
252
- <line num="598" count="26" type="stmt"/>
253
- <line num="600" count="26" type="cond" truecount="0" falsecount="1"/>
254
- <line num="601" count="0" type="stmt"/>
255
- <line num="604" count="26" type="cond" truecount="1" falsecount="0"/>
256
- <line num="605" count="24" type="stmt"/>
257
- <line num="606" count="24" type="stmt"/>
258
- <line num="609" count="2" type="stmt"/>
259
- <line num="613" count="26" type="stmt"/>
260
- <line num="614" count="26" type="cond" truecount="1" falsecount="0"/>
261
- <line num="615" count="5" type="stmt"/>
262
- <line num="616" count="5" type="stmt"/>
263
- <line num="619" count="21" type="cond" truecount="0" falsecount="1"/>
264
- <line num="620" count="0" type="stmt"/>
265
- <line num="623" count="21" type="stmt"/>
266
- <line num="624" count="21" type="stmt"/>
267
- <line num="628" count="250" type="stmt"/>
268
- <line num="629" count="30" type="cond" truecount="1" falsecount="0"/>
269
- <line num="630" count="21" type="stmt"/>
270
- <line num="631" count="21" type="stmt"/>
271
- <line num="641" count="12" type="stmt"/>
272
- <line num="643" count="12" type="stmt"/>
273
- <line num="644" count="12" type="stmt"/>
274
- <line num="649" count="21" type="stmt"/>
275
- <line num="654" count="21" type="stmt"/>
276
- <line num="658" count="44" type="stmt"/>
277
- <line num="659" count="44" type="stmt"/>
278
- <line num="660" count="44" type="stmt"/>
279
- <line num="662" count="44" type="cond" truecount="5" falsecount="0"/>
280
- <line num="663" count="4" type="stmt"/>
281
- <line num="668" count="44" type="stmt"/>
282
- <line num="672" count="20" type="cond" truecount="3" falsecount="0"/>
283
- <line num="673" count="4" type="stmt"/>
284
- <line num="678" count="21" type="stmt"/>
285
- <line num="679" count="21" type="stmt"/>
286
- <line num="680" count="21" type="stmt"/>
287
- <line num="681" count="21" type="stmt"/>
288
- <line num="684" count="21" type="stmt"/>
289
- <line num="685" count="21" type="cond" truecount="1" falsecount="0"/>
290
- <line num="686" count="2" type="cond" truecount="0" falsecount="1"/>
291
- <line num="687" count="0" type="stmt"/>
292
- <line num="689" count="2" type="stmt"/>
293
- <line num="691" count="21" type="stmt"/>
294
- <line num="692" count="21" type="stmt"/>
295
- <line num="693" count="22" type="stmt"/>
296
- <line num="694" count="22" type="stmt"/>
297
- <line num="695" count="22" type="stmt"/>
298
- <line num="698" count="5" type="cond" truecount="0" falsecount="1"/>
299
- <line num="699" count="0" type="stmt"/>
300
- <line num="702" count="5" type="stmt"/>
301
- <line num="703" count="5" type="stmt"/>
302
- <line num="704" count="5" type="stmt"/>
303
- <line num="705" count="5" type="stmt"/>
304
- <line num="706" count="5" type="stmt"/>
305
- <line num="707" count="5" type="stmt"/>
306
- <line num="709" count="5" type="stmt"/>
307
- <line num="712" count="5" type="cond" truecount="1" falsecount="2"/>
308
- <line num="713" count="0" type="stmt"/>
309
- <line num="714" count="0" type="stmt"/>
310
- <line num="719" count="0" type="stmt"/>
311
- <line num="720" count="0" type="stmt"/>
312
- <line num="724" count="5" type="cond" truecount="0" falsecount="1"/>
313
- <line num="725" count="0" type="stmt"/>
314
- <line num="726" count="0" type="stmt"/>
315
- <line num="729" count="5" type="cond" truecount="0" falsecount="1"/>
316
- <line num="730" count="0" type="stmt"/>
317
- <line num="735" count="5" type="stmt"/>
318
- <line num="736" count="5" type="cond" truecount="1" falsecount="0"/>
319
- <line num="737" count="2" type="stmt"/>
320
- <line num="738" count="2" type="stmt"/>
321
- <line num="741" count="3" type="stmt"/>
322
- <line num="744" count="3" type="stmt"/>
323
- <line num="745" count="3" type="cond" truecount="0" falsecount="1"/>
324
- <line num="746" count="0" type="stmt"/>
325
- <line num="748" count="3" type="stmt"/>
326
- <line num="749" count="3" type="stmt"/>
327
- <line num="752" count="3" type="cond" truecount="0" falsecount="1"/>
328
- <line num="753" count="0" type="cond" truecount="0" falsecount="1"/>
329
- <line num="754" count="0" type="stmt"/>
330
- <line num="756" count="0" type="stmt"/>
331
- <line num="757" count="0" type="stmt"/>
332
- <line num="758" count="0" type="stmt"/>
333
- <line num="761" count="3" type="stmt"/>
334
- <line num="762" count="3" type="stmt"/>
335
- <line num="768" count="0" type="stmt"/>
336
- <line num="772" count="22" type="cond" truecount="1" falsecount="1"/>
337
- <line num="773" count="0" type="stmt"/>
338
- <line num="775" count="22" type="stmt"/>
339
- <line num="776" count="22" type="stmt"/>
340
- <line num="783" count="9" type="stmt"/>
341
- <line num="784" count="9" type="stmt"/>
342
- <line num="785" count="9" type="stmt"/>
343
- <line num="786" count="9" type="stmt"/>
344
- <line num="787" count="9" type="stmt"/>
345
- <line num="788" count="9" type="stmt"/>
346
- <line num="789" count="9" type="stmt"/>
347
- <line num="791" count="9" type="stmt"/>
348
- <line num="792" count="9" type="stmt"/>
349
- <line num="793" count="9" type="stmt"/>
350
- <line num="794" count="9" type="stmt"/>
351
- <line num="795" count="9" type="stmt"/>
352
- <line num="796" count="9" type="stmt"/>
353
- <line num="807" count="9" type="stmt"/>
354
- <line num="808" count="9" type="stmt"/>
355
- <line num="809" count="9" type="stmt"/>
356
- <line num="810" count="9" type="stmt"/>
357
- <line num="811" count="9" type="stmt"/>
358
- <line num="812" count="9" type="stmt"/>
359
- <line num="813" count="9" type="stmt"/>
360
- <line num="814" count="9" type="stmt"/>
361
- <line num="828" count="14" type="stmt"/>
362
- <line num="829" count="14" type="stmt"/>
363
- <line num="830" count="14" type="stmt"/>
364
- <line num="831" count="13" type="stmt"/>
365
- <line num="832" count="13" type="stmt"/>
366
- <line num="833" count="13" type="stmt"/>
367
- <line num="847" count="43" type="stmt"/>
368
- <line num="848" count="43" type="stmt"/>
369
- <line num="849" count="43" type="stmt"/>
370
- <line num="851" count="0" type="stmt"/>
371
- <line num="852" count="0" type="stmt"/>
372
- <line num="855" count="43" type="stmt"/>
373
- <line num="856" count="43" type="stmt"/>
374
- <line num="857" count="43" type="stmt"/>
375
- <line num="859" count="0" type="stmt"/>
376
- <line num="860" count="0" type="stmt"/>
377
- <line num="863" count="43" type="stmt"/>
378
- <line num="864" count="43" type="stmt"/>
379
- <line num="867" count="43" type="stmt"/>
380
- <line num="868" count="43" type="stmt"/>
381
- <line num="870" count="0" type="stmt"/>
382
- <line num="871" count="0" type="stmt"/>
383
- <line num="872" count="0" type="stmt"/>
384
- <line num="878" count="0" type="stmt"/>
385
- <line num="879" count="0" type="stmt"/>
386
- <line num="880" count="0" type="cond" truecount="0" falsecount="1"/>
387
- <line num="881" count="0" type="stmt"/>
388
- <line num="882" count="0" type="stmt"/>
389
- <line num="884" count="0" type="stmt"/>
390
- <line num="885" count="0" type="stmt"/>
391
- <line num="886" count="0" type="stmt"/>
392
- <line num="888" count="0" type="stmt"/>
393
- <line num="891" count="0" type="stmt"/>
394
- <line num="892" count="0" type="stmt"/>
395
- <line num="894" count="0" type="stmt"/>
396
- <line num="895" count="0" type="stmt"/>
397
- <line num="900" count="3" type="stmt"/>
398
- <line num="901" count="3" type="stmt"/>
399
- <line num="902" count="18" type="stmt"/>
400
- <line num="903" count="18" type="stmt"/>
401
- <line num="905" count="3" type="stmt"/>
402
- <line num="906" count="3" type="stmt"/>
403
- <line num="907" count="3" type="stmt"/>
404
- <line num="908" count="36" type="stmt"/>
405
- <line num="909" count="3" type="cond" truecount="1" falsecount="1"/>
406
- <line num="910" count="0" type="stmt"/>
407
- <line num="912" count="3" type="stmt"/>
408
- <line num="917" count="21" type="stmt"/>
409
- <line num="918" count="21" type="stmt"/>
410
- <line num="919" count="21" type="stmt"/>
411
- <line num="920" count="21" type="stmt"/>
412
- <line num="923" count="21" type="stmt"/>
413
- <line num="924" count="21" type="cond" truecount="1" falsecount="0"/>
414
- <line num="925" count="2" type="cond" truecount="0" falsecount="1"/>
415
- <line num="926" count="0" type="stmt"/>
416
- <line num="928" count="2" type="stmt"/>
417
- <line num="930" count="21" type="stmt"/>
418
- <line num="931" count="21" type="stmt"/>
419
- <line num="932" count="22" type="stmt"/>
420
- <line num="933" count="22" type="stmt"/>
421
- <line num="934" count="22" type="stmt"/>
422
- <line num="937" count="39" type="cond" truecount="0" falsecount="1"/>
423
- <line num="938" count="0" type="stmt"/>
424
- <line num="941" count="39" type="stmt"/>
425
- <line num="942" count="39" type="stmt"/>
426
- <line num="943" count="39" type="stmt"/>
427
- <line num="944" count="39" type="stmt"/>
428
- <line num="945" count="39" type="stmt"/>
429
- <line num="946" count="39" type="stmt"/>
430
- <line num="948" count="39" type="stmt"/>
431
- <line num="951" count="39" type="cond" truecount="1" falsecount="2"/>
432
- <line num="952" count="0" type="stmt"/>
433
- <line num="953" count="0" type="stmt"/>
434
- <line num="958" count="0" type="stmt"/>
435
- <line num="959" count="0" type="stmt"/>
436
- <line num="963" count="39" type="cond" truecount="0" falsecount="1"/>
437
- <line num="964" count="0" type="stmt"/>
438
- <line num="965" count="0" type="stmt"/>
439
- <line num="968" count="39" type="cond" truecount="0" falsecount="1"/>
440
- <line num="969" count="0" type="stmt"/>
441
- <line num="974" count="39" type="stmt"/>
442
- <line num="975" count="39" type="cond" truecount="1" falsecount="0"/>
443
- <line num="976" count="1" type="stmt"/>
444
- <line num="977" count="1" type="stmt"/>
445
- <line num="980" count="38" type="stmt"/>
446
- <line num="983" count="38" type="stmt"/>
447
- <line num="984" count="29" type="cond" truecount="1" falsecount="0"/>
448
- <line num="985" count="4" type="stmt"/>
449
- <line num="987" count="25" type="stmt"/>
450
- <line num="988" count="25" type="stmt"/>
451
- <line num="991" count="38" type="cond" truecount="1" falsecount="0"/>
452
- <line num="992" count="17" type="cond" truecount="1" falsecount="0"/>
453
- <line num="993" count="4" type="stmt"/>
454
- <line num="995" count="13" type="stmt"/>
455
- <line num="996" count="13" type="stmt"/>
456
- <line num="997" count="13" type="stmt"/>
457
- <line num="1000" count="38" type="stmt"/>
458
- <line num="1001" count="38" type="stmt"/>
459
- <line num="1007" count="4" type="stmt"/>
460
- <line num="1011" count="22" type="cond" truecount="1" falsecount="1"/>
461
- <line num="1012" count="0" type="stmt"/>
462
- <line num="1014" count="22" type="stmt"/>
463
- <line num="1015" count="22" type="stmt"/>
464
- <line num="1023" count="34" type="stmt"/>
465
- <line num="1024" count="34" type="stmt"/>
466
- <line num="1026" count="0" type="stmt"/>
467
- <line num="1027" count="0" type="stmt"/>
468
- <line num="1029" count="34" type="stmt"/>
469
- <line num="1030" count="34" type="stmt"/>
470
- <line num="1031" count="0" type="stmt"/>
471
- <line num="1032" count="0" type="stmt"/>
472
- <line num="1034" count="34" type="stmt"/>
473
- <line num="1035" count="34" type="stmt"/>
474
- <line num="1036" count="34" type="stmt"/>
475
- <line num="1037" count="34" type="stmt"/>
476
- <line num="1039" count="0" type="stmt"/>
477
- <line num="1040" count="0" type="stmt"/>
478
- <line num="1045" count="34" type="stmt"/>
479
- <line num="1046" count="34" type="cond" truecount="0" falsecount="1"/>
480
- <line num="1047" count="0" type="stmt"/>
481
- <line num="1050" count="0" type="stmt"/>
482
- <line num="1052" count="34" type="cond" truecount="1" falsecount="0"/>
483
- <line num="1053" count="30" type="cond" truecount="3" falsecount="0"/>
484
- <line num="1054" count="30" type="stmt"/>
485
- <line num="1057" count="30" type="stmt"/>
486
- <line num="1059" count="0" type="stmt"/>
487
- <line num="1061" count="4" type="cond" truecount="0" falsecount="1"/>
488
- <line num="1062" count="0" type="stmt"/>
489
- <line num="1063" count="0" type="stmt"/>
490
- <line num="1064" count="0" type="stmt"/>
491
- <line num="1065" count="0" type="stmt"/>
492
- <line num="1067" count="4" type="stmt"/>
493
- <line num="1068" count="4" type="stmt"/>
494
- <line num="1073" count="4" type="stmt"/>
495
- <line num="1074" count="9" type="cond" truecount="2" falsecount="0"/>
496
- <line num="1075" count="9" type="cond" truecount="2" falsecount="0"/>
497
- <line num="1076" count="9" type="cond" truecount="2" falsecount="1"/>
498
- <line num="1078" count="9" type="stmt"/>
499
- <line num="1080" count="9" type="stmt"/>
500
- <line num="1083" count="4" type="stmt"/>
501
- <line num="1084" count="4" type="stmt"/>
502
- <line num="1088" count="4" type="stmt"/>
503
- <line num="1089" count="4" type="stmt"/>
504
- <line num="1090" count="0" type="stmt"/>
505
- <line num="1091" count="0" type="cond" truecount="0" falsecount="1"/>
506
- <line num="1092" count="0" type="stmt"/>
507
- <line num="1093" count="0" type="stmt"/>
508
- <line num="1094" count="0" type="stmt"/>
509
- <line num="1098" count="4" type="stmt"/>
510
- <line num="1099" count="0" type="stmt"/>
511
- <line num="1100" count="0" type="stmt"/>
512
- <line num="1101" count="0" type="cond" truecount="0" falsecount="1"/>
513
- <line num="1102" count="0" type="stmt"/>
514
- <line num="1103" count="0" type="stmt"/>
515
- <line num="1104" count="0" type="stmt"/>
516
- <line num="1108" count="4" type="stmt"/>
517
- <line num="1109" count="1" type="stmt"/>
518
- <line num="1110" count="1" type="stmt"/>
519
- <line num="1111" count="1" type="cond" truecount="1" falsecount="1"/>
520
- <line num="1112" count="0" type="cond" truecount="0" falsecount="2"/>
521
- <line num="1113" count="0" type="stmt"/>
522
- <line num="1115" count="1" type="cond" truecount="2" falsecount="0"/>
523
- <line num="1119" count="4" type="stmt"/>
524
- <line num="1120" count="4" type="stmt"/>
525
- <line num="1121" count="4" type="stmt"/>
526
- <line num="1122" count="4" type="stmt"/>
527
- <line num="1123" count="4" type="stmt"/>
528
- <line num="1124" count="4" type="stmt"/>
529
- <line num="1130" count="250" type="stmt"/>
530
- <line num="1131" count="30" type="cond" truecount="1" falsecount="0"/>
531
- <line num="1132" count="21" type="stmt"/>
532
- <line num="1133" count="21" type="stmt"/>
533
- <line num="1142" count="66" type="stmt"/>
534
- <line num="1143" count="66" type="cond" truecount="1" falsecount="0"/>
535
- <line num="1144" count="40" type="stmt"/>
536
- <line num="1145" count="40" type="stmt"/>
537
- <line num="1148" count="26" type="cond" truecount="0" falsecount="1"/>
538
- <line num="1149" count="0" type="stmt"/>
539
- <line num="1152" count="26" type="stmt"/>
540
- <line num="1153" count="26" type="stmt"/>
541
- <line num="1158" count="26" type="stmt"/>
542
- <line num="1159" count="26" type="stmt"/>
543
- <line num="1168" count="26" type="stmt"/>
544
- <line num="1169" count="26" type="stmt"/>
545
- <line num="1170" count="26" type="stmt"/>
546
- <line num="1171" count="27" type="stmt"/>
547
- <line num="1172" count="26" type="stmt"/>
548
- <line num="1173" count="26" type="stmt"/>
549
- <line num="1175" count="0" type="stmt"/>
550
- <line num="1176" count="0" type="cond" truecount="0" falsecount="2"/>
551
- <line num="1177" count="0" type="stmt"/>
552
- <line num="1178" count="0" type="stmt"/>
553
- <line num="1179" count="0" type="stmt"/>
554
- <line num="1181" count="0" type="stmt"/>
555
- <line num="1182" count="0" type="stmt"/>
556
- <line num="1183" count="0" type="stmt"/>
557
- <line num="1184" count="0" type="stmt"/>
558
- <line num="1186" count="0" type="stmt"/>
559
- <line num="1190" count="26" type="stmt"/>
560
- <line num="1191" count="26" type="stmt"/>
561
- <line num="1195" count="97" type="cond" truecount="1" falsecount="0"/>
562
- <line num="1196" count="4" type="stmt"/>
563
- <line num="1197" count="4" type="cond" truecount="1" falsecount="2"/>
564
- <line num="1198" count="0" type="stmt"/>
565
- <line num="1201" count="4" type="stmt"/>
566
- <line num="1202" count="4" type="stmt"/>
567
- <line num="1203" count="4" type="stmt"/>
568
- <line num="1204" count="0" type="stmt"/>
569
- <line num="1206" count="4" type="stmt"/>
570
- <line num="1207" count="4" type="stmt"/>
571
- <line num="1209" count="0" type="stmt"/>
572
- <line num="1213" count="97" type="stmt"/>
573
- <line num="1217" count="0" type="stmt"/>
574
- <line num="1218" count="0" type="stmt"/>
575
- <line num="1219" count="0" type="stmt"/>
576
- <line num="1220" count="0" type="stmt"/>
577
- <line num="1221" count="0" type="stmt"/>
578
- <line num="1222" count="0" type="stmt"/>
579
- <line num="1226" count="14" type="stmt"/>
580
- <line num="1228" count="14" type="cond" truecount="1" falsecount="0"/>
581
- <line num="1229" count="13" type="stmt"/>
582
- <line num="1230" count="13" type="stmt"/>
583
- <line num="1233" count="1" type="cond" truecount="0" falsecount="1"/>
584
- <line num="1234" count="0" type="stmt"/>
585
- <line num="1237" count="1" type="stmt"/>
586
- <line num="1238" count="1" type="stmt"/>
587
- <line num="1239" count="1" type="stmt"/>
588
- <line num="1243" count="1" type="stmt"/>
589
- <line num="1245" count="1" type="stmt"/>
590
- <line num="1246" count="1" type="stmt"/>
591
- </file>
592
- <file name="logger.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/logger.ts">
593
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
594
- <line num="1" count="1" type="stmt"/>
595
- <line num="3" count="1" type="stmt"/>
596
- <line num="5" count="1" type="stmt"/>
597
- </file>
598
- </package>
599
- <package name="src.lib">
600
- <metrics statements="48" coveredstatements="36" conditionals="10" coveredconditionals="6" methods="8" coveredmethods="7"/>
601
- <file name="celery.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/lib/celery.ts">
602
- <metrics statements="16" coveredstatements="4" conditionals="10" coveredconditionals="6" methods="1" coveredmethods="0"/>
603
- <line num="1" count="1" type="stmt"/>
604
- <line num="2" count="1" type="stmt"/>
605
- <line num="4" count="1" type="stmt"/>
606
- <line num="48" count="0" type="stmt"/>
607
- <line num="50" count="0" type="stmt"/>
608
- <line num="56" count="0" type="stmt"/>
609
- <line num="66" count="0" type="stmt"/>
610
- <line num="67" count="0" type="stmt"/>
611
- <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
612
- <line num="77" count="0" type="stmt"/>
613
- <line num="78" count="0" type="stmt"/>
614
- <line num="80" count="0" type="stmt"/>
615
- <line num="81" count="0" type="stmt"/>
616
- <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
617
- <line num="85" count="0" type="stmt"/>
618
- <line num="89" count="1" type="stmt"/>
619
- </file>
620
- <file name="consts.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/lib/consts.ts">
621
- <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
622
- <line num="1" count="1" type="stmt"/>
623
- <line num="2" count="1" type="stmt"/>
624
- <line num="3" count="1" type="stmt"/>
625
- <line num="4" count="1" type="stmt"/>
626
- <line num="5" count="1" type="stmt"/>
627
- <line num="6" count="1" type="stmt"/>
628
- <line num="7" count="1" type="stmt"/>
629
- <line num="8" count="1" type="stmt"/>
630
- <line num="9" count="1" type="stmt"/>
631
- <line num="10" count="1" type="stmt"/>
632
- <line num="11" count="1" type="stmt"/>
633
- </file>
634
- <file name="rabbitError.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/lib/rabbitError.ts">
635
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
636
- <line num="1" count="1" type="stmt"/>
637
- <line num="3" count="1" type="stmt"/>
638
- <line num="4" count="1" type="stmt"/>
639
- </file>
640
- <file name="redis.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/lib/redis.ts">
641
- <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
642
- <line num="1" count="1" type="stmt"/>
643
- <line num="3" count="1" type="stmt"/>
644
- <line num="5" count="1" type="stmt"/>
645
- <line num="6" count="1" type="stmt"/>
646
- <line num="14" count="4" type="stmt"/>
647
- <line num="16" count="1" type="stmt"/>
648
- </file>
649
- <file name="types.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/lib/types.ts">
650
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
651
- <line num="52" count="1" type="stmt"/>
652
- <line num="54" count="1" type="stmt"/>
653
- <line num="56" count="1" type="stmt"/>
654
- </file>
655
- <file name="utils.ts" path="/Users/danielmarmelshtein/Documents/Code/rabbit/src/lib/utils.ts">
656
- <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
657
- <line num="4" count="1" type="stmt"/>
658
- <line num="7" count="19" type="stmt"/>
659
- <line num="9" count="14" type="stmt"/>
660
- <line num="10" count="14" type="stmt"/>
661
- <line num="11" count="14" type="stmt"/>
662
- <line num="12" count="14" type="stmt"/>
663
- <line num="13" count="13" type="stmt"/>
664
- <line num="15" count="1" type="stmt"/>
665
- <line num="19" count="70" type="stmt"/>
666
- </file>
667
- </package>
668
- </project>
669
- </coverage>