@next-k8s/tickets 1.0.24 → 1.0.27

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 (38) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/coverage/clover.xml +158 -3
  3. package/coverage/coverage-final.json +12 -1
  4. package/coverage/lcov-report/index.html +101 -11
  5. package/coverage/lcov-report/src/app.ts.html +17 -17
  6. package/coverage/lcov-report/src/events/listeners/_queue-group-name.ts.html +88 -0
  7. package/coverage/lcov-report/src/events/listeners/index.html +131 -0
  8. package/coverage/lcov-report/src/events/listeners/order-created.ts.html +151 -0
  9. package/coverage/lcov-report/src/events/publishers/created.ts.html +106 -0
  10. package/coverage/lcov-report/src/events/publishers/index.html +131 -0
  11. package/coverage/lcov-report/src/events/publishers/updated.ts.html +106 -0
  12. package/coverage/lcov-report/src/index.html +1 -1
  13. package/coverage/lcov-report/src/models/index.html +5 -5
  14. package/coverage/lcov-report/src/models/ticket.ts.html +35 -11
  15. package/coverage/lcov-report/src/routes/create.ts.html +12 -12
  16. package/coverage/lcov-report/src/routes/find.ts.html +1 -1
  17. package/coverage/lcov-report/src/routes/get.ts.html +25 -10
  18. package/coverage/lcov-report/src/routes/index.html +8 -23
  19. package/coverage/lcov-report/src/routes/index.ts.html +8 -11
  20. package/coverage/lcov-report/src/routes/update.ts.html +13 -16
  21. package/coverage/lcov-report/src/test/index.html +1 -1
  22. package/coverage/lcov-report/src/test/utils.ts.html +3 -3
  23. package/coverage/lcov-report/ticket.ts.html +220 -0
  24. package/coverage/lcov.info +248 -0
  25. package/package.json +4 -3
  26. package/pnpm-lock.yaml +334 -18
  27. package/src/events/listeners/__test__/order-created.test.ts +44 -0
  28. package/src/events/listeners/_queue-group-name.ts +1 -0
  29. package/src/events/listeners/order-created.ts +22 -0
  30. package/src/models/__test__/ticket.test.ts +37 -0
  31. package/src/models/ticket.ts +11 -3
  32. package/src/routes/__test__/get.test.ts +15 -0
  33. package/src/routes/create.ts +2 -2
  34. package/src/routes/get.ts +5 -0
  35. package/src/routes/index.ts +1 -2
  36. package/src/routes/update.ts +2 -3
  37. package/src/routes/__test__/find.test.ts +0 -22
  38. package/src/routes/find.ts +0 -11
package/pnpm-lock.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  lockfileVersion: 5.4
2
2
 
3
3
  specifiers:
4
- '@next-k8s/common': ^0.1.30
4
+ '@next-k8s/common': ^0.1.34
5
5
  '@types/body-parser': ^1.19.2
6
6
  '@types/cookie-session': ^2.0.44
7
7
  '@types/express': ^4.17.13
@@ -19,6 +19,7 @@ specifiers:
19
19
  mongodb-memory-server: ^8.6.0
20
20
  mongoose: ^6.3.5
21
21
  mongoose-bcrypt: ^1.9.0
22
+ mongoose-update-if-current: ^1.4.0
22
23
  node-nats-streaming: ^0.3.2
23
24
  node-notifier: ^10.0.1
24
25
  supertest: ^6.2.3
@@ -27,7 +28,7 @@ specifiers:
27
28
  typescript: ^4.7.3
28
29
 
29
30
  dependencies:
30
- '@next-k8s/common': 0.1.30
31
+ '@next-k8s/common': 0.1.34
31
32
  '@types/cookie-session': 2.0.44
32
33
  '@types/express': 4.17.13
33
34
  '@types/jsonwebtoken': 8.5.8
@@ -39,8 +40,9 @@ dependencies:
39
40
  jsonwebtoken: 8.5.1
40
41
  mongoose: 6.3.5
41
42
  mongoose-bcrypt: 1.9.0
43
+ mongoose-update-if-current: 1.4.0_mongoose@6.3.5
42
44
  node-nats-streaming: 0.3.2
43
- ts-node-dev: 2.0.0_mdwa2u5d66aaselucuqqyziihu
45
+ ts-node-dev: 2.0.0_5wtkacxpinmhju6afgo34cxoce
44
46
  typescript: 4.7.3
45
47
 
46
48
  devDependencies:
@@ -48,11 +50,11 @@ devDependencies:
48
50
  '@types/jest': 28.1.1
49
51
  '@types/mongoose': 5.11.97
50
52
  '@types/supertest': 2.0.12
51
- jest: 28.1.1_dnk3gtlqhswgyp7ytm36pfjzga
53
+ jest: 28.1.1_65ilqje34s6uvyxfgxdqff5awq
52
54
  mongodb-memory-server: 8.6.0
53
55
  node-notifier: 10.0.1
54
56
  supertest: 6.2.3
55
- ts-jest: 28.0.4_ighm2axwo4w2kweegjclfnfl74
57
+ ts-jest: 28.0.4_ovsx25e2d2qwifjprag2mtiuhu
56
58
 
57
59
  packages:
58
60
 
@@ -71,11 +73,23 @@ packages:
71
73
  '@babel/highlight': 7.17.12
72
74
  dev: true
73
75
 
76
+ /@babel/code-frame/7.18.6:
77
+ resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==}
78
+ engines: {node: '>=6.9.0'}
79
+ dependencies:
80
+ '@babel/highlight': 7.18.6
81
+ dev: true
82
+
74
83
  /@babel/compat-data/7.17.10:
75
84
  resolution: {integrity: sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==}
76
85
  engines: {node: '>=6.9.0'}
77
86
  dev: true
78
87
 
88
+ /@babel/compat-data/7.18.8:
89
+ resolution: {integrity: sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ==}
90
+ engines: {node: '>=6.9.0'}
91
+ dev: true
92
+
79
93
  /@babel/core/7.18.2:
80
94
  resolution: {integrity: sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==}
81
95
  engines: {node: '>=6.9.0'}
@@ -99,6 +113,29 @@ packages:
99
113
  - supports-color
100
114
  dev: true
101
115
 
116
+ /@babel/core/7.18.6:
117
+ resolution: {integrity: sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==}
118
+ engines: {node: '>=6.9.0'}
119
+ dependencies:
120
+ '@ampproject/remapping': 2.2.0
121
+ '@babel/code-frame': 7.18.6
122
+ '@babel/generator': 7.18.7
123
+ '@babel/helper-compilation-targets': 7.18.6_@babel+core@7.18.6
124
+ '@babel/helper-module-transforms': 7.18.8
125
+ '@babel/helpers': 7.18.6
126
+ '@babel/parser': 7.18.8
127
+ '@babel/template': 7.18.6
128
+ '@babel/traverse': 7.18.8
129
+ '@babel/types': 7.18.8
130
+ convert-source-map: 1.8.0
131
+ debug: 4.3.4
132
+ gensync: 1.0.0-beta.2
133
+ json5: 2.2.1
134
+ semver: 6.3.0
135
+ transitivePeerDependencies:
136
+ - supports-color
137
+ dev: true
138
+
102
139
  /@babel/generator/7.18.2:
103
140
  resolution: {integrity: sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==}
104
141
  engines: {node: '>=6.9.0'}
@@ -108,6 +145,15 @@ packages:
108
145
  jsesc: 2.5.2
109
146
  dev: true
110
147
 
148
+ /@babel/generator/7.18.7:
149
+ resolution: {integrity: sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A==}
150
+ engines: {node: '>=6.9.0'}
151
+ dependencies:
152
+ '@babel/types': 7.18.8
153
+ '@jridgewell/gen-mapping': 0.3.2
154
+ jsesc: 2.5.2
155
+ dev: true
156
+
111
157
  /@babel/helper-compilation-targets/7.18.2_@babel+core@7.18.2:
112
158
  resolution: {integrity: sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==}
113
159
  engines: {node: '>=6.9.0'}
@@ -121,11 +167,29 @@ packages:
121
167
  semver: 6.3.0
122
168
  dev: true
123
169
 
170
+ /@babel/helper-compilation-targets/7.18.6_@babel+core@7.18.6:
171
+ resolution: {integrity: sha512-vFjbfhNCzqdeAtZflUFrG5YIFqGTqsctrtkZ1D/NB0mDW9TwW3GmmUepYY4G9wCET5rY5ugz4OGTcLd614IzQg==}
172
+ engines: {node: '>=6.9.0'}
173
+ peerDependencies:
174
+ '@babel/core': ^7.0.0
175
+ dependencies:
176
+ '@babel/compat-data': 7.18.8
177
+ '@babel/core': 7.18.6
178
+ '@babel/helper-validator-option': 7.18.6
179
+ browserslist: 4.21.1
180
+ semver: 6.3.0
181
+ dev: true
182
+
124
183
  /@babel/helper-environment-visitor/7.18.2:
125
184
  resolution: {integrity: sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==}
126
185
  engines: {node: '>=6.9.0'}
127
186
  dev: true
128
187
 
188
+ /@babel/helper-environment-visitor/7.18.6:
189
+ resolution: {integrity: sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q==}
190
+ engines: {node: '>=6.9.0'}
191
+ dev: true
192
+
129
193
  /@babel/helper-function-name/7.17.9:
130
194
  resolution: {integrity: sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==}
131
195
  engines: {node: '>=6.9.0'}
@@ -134,6 +198,14 @@ packages:
134
198
  '@babel/types': 7.18.4
135
199
  dev: true
136
200
 
201
+ /@babel/helper-function-name/7.18.6:
202
+ resolution: {integrity: sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw==}
203
+ engines: {node: '>=6.9.0'}
204
+ dependencies:
205
+ '@babel/template': 7.18.6
206
+ '@babel/types': 7.18.8
207
+ dev: true
208
+
137
209
  /@babel/helper-hoist-variables/7.16.7:
138
210
  resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==}
139
211
  engines: {node: '>=6.9.0'}
@@ -141,6 +213,13 @@ packages:
141
213
  '@babel/types': 7.18.4
142
214
  dev: true
143
215
 
216
+ /@babel/helper-hoist-variables/7.18.6:
217
+ resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==}
218
+ engines: {node: '>=6.9.0'}
219
+ dependencies:
220
+ '@babel/types': 7.18.8
221
+ dev: true
222
+
144
223
  /@babel/helper-module-imports/7.16.7:
145
224
  resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==}
146
225
  engines: {node: '>=6.9.0'}
@@ -148,6 +227,13 @@ packages:
148
227
  '@babel/types': 7.18.4
149
228
  dev: true
150
229
 
230
+ /@babel/helper-module-imports/7.18.6:
231
+ resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==}
232
+ engines: {node: '>=6.9.0'}
233
+ dependencies:
234
+ '@babel/types': 7.18.8
235
+ dev: true
236
+
151
237
  /@babel/helper-module-transforms/7.18.0:
152
238
  resolution: {integrity: sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==}
153
239
  engines: {node: '>=6.9.0'}
@@ -164,6 +250,22 @@ packages:
164
250
  - supports-color
165
251
  dev: true
166
252
 
253
+ /@babel/helper-module-transforms/7.18.8:
254
+ resolution: {integrity: sha512-che3jvZwIcZxrwh63VfnFTUzcAM9v/lznYkkRxIBGMPt1SudOKHAEec0SIRCfiuIzTcF7VGj/CaTT6gY4eWxvA==}
255
+ engines: {node: '>=6.9.0'}
256
+ dependencies:
257
+ '@babel/helper-environment-visitor': 7.18.6
258
+ '@babel/helper-module-imports': 7.18.6
259
+ '@babel/helper-simple-access': 7.18.6
260
+ '@babel/helper-split-export-declaration': 7.18.6
261
+ '@babel/helper-validator-identifier': 7.18.6
262
+ '@babel/template': 7.18.6
263
+ '@babel/traverse': 7.18.8
264
+ '@babel/types': 7.18.8
265
+ transitivePeerDependencies:
266
+ - supports-color
267
+ dev: true
268
+
167
269
  /@babel/helper-plugin-utils/7.17.12:
168
270
  resolution: {integrity: sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==}
169
271
  engines: {node: '>=6.9.0'}
@@ -176,6 +278,13 @@ packages:
176
278
  '@babel/types': 7.18.4
177
279
  dev: true
178
280
 
281
+ /@babel/helper-simple-access/7.18.6:
282
+ resolution: {integrity: sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==}
283
+ engines: {node: '>=6.9.0'}
284
+ dependencies:
285
+ '@babel/types': 7.18.8
286
+ dev: true
287
+
179
288
  /@babel/helper-split-export-declaration/7.16.7:
180
289
  resolution: {integrity: sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==}
181
290
  engines: {node: '>=6.9.0'}
@@ -183,16 +292,33 @@ packages:
183
292
  '@babel/types': 7.18.4
184
293
  dev: true
185
294
 
295
+ /@babel/helper-split-export-declaration/7.18.6:
296
+ resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==}
297
+ engines: {node: '>=6.9.0'}
298
+ dependencies:
299
+ '@babel/types': 7.18.8
300
+ dev: true
301
+
186
302
  /@babel/helper-validator-identifier/7.16.7:
187
303
  resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==}
188
304
  engines: {node: '>=6.9.0'}
189
305
  dev: true
190
306
 
307
+ /@babel/helper-validator-identifier/7.18.6:
308
+ resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==}
309
+ engines: {node: '>=6.9.0'}
310
+ dev: true
311
+
191
312
  /@babel/helper-validator-option/7.16.7:
192
313
  resolution: {integrity: sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==}
193
314
  engines: {node: '>=6.9.0'}
194
315
  dev: true
195
316
 
317
+ /@babel/helper-validator-option/7.18.6:
318
+ resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==}
319
+ engines: {node: '>=6.9.0'}
320
+ dev: true
321
+
196
322
  /@babel/helpers/7.18.2:
197
323
  resolution: {integrity: sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==}
198
324
  engines: {node: '>=6.9.0'}
@@ -204,6 +330,17 @@ packages:
204
330
  - supports-color
205
331
  dev: true
206
332
 
333
+ /@babel/helpers/7.18.6:
334
+ resolution: {integrity: sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ==}
335
+ engines: {node: '>=6.9.0'}
336
+ dependencies:
337
+ '@babel/template': 7.18.6
338
+ '@babel/traverse': 7.18.8
339
+ '@babel/types': 7.18.8
340
+ transitivePeerDependencies:
341
+ - supports-color
342
+ dev: true
343
+
207
344
  /@babel/highlight/7.17.12:
208
345
  resolution: {integrity: sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==}
209
346
  engines: {node: '>=6.9.0'}
@@ -213,6 +350,15 @@ packages:
213
350
  js-tokens: 4.0.0
214
351
  dev: true
215
352
 
353
+ /@babel/highlight/7.18.6:
354
+ resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==}
355
+ engines: {node: '>=6.9.0'}
356
+ dependencies:
357
+ '@babel/helper-validator-identifier': 7.18.6
358
+ chalk: 2.4.2
359
+ js-tokens: 4.0.0
360
+ dev: true
361
+
216
362
  /@babel/parser/7.18.4:
217
363
  resolution: {integrity: sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==}
218
364
  engines: {node: '>=6.0.0'}
@@ -221,6 +367,14 @@ packages:
221
367
  '@babel/types': 7.18.4
222
368
  dev: true
223
369
 
370
+ /@babel/parser/7.18.8:
371
+ resolution: {integrity: sha512-RSKRfYX20dyH+elbJK2uqAkVyucL+xXzhqlMD5/ZXx+dAAwpyB7HsvnHe/ZUGOF+xLr5Wx9/JoXVTj6BQE2/oA==}
372
+ engines: {node: '>=6.0.0'}
373
+ hasBin: true
374
+ dependencies:
375
+ '@babel/types': 7.18.8
376
+ dev: true
377
+
224
378
  /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.18.2:
225
379
  resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==}
226
380
  peerDependencies:
@@ -349,6 +503,15 @@ packages:
349
503
  '@babel/types': 7.18.4
350
504
  dev: true
351
505
 
506
+ /@babel/template/7.18.6:
507
+ resolution: {integrity: sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw==}
508
+ engines: {node: '>=6.9.0'}
509
+ dependencies:
510
+ '@babel/code-frame': 7.18.6
511
+ '@babel/parser': 7.18.8
512
+ '@babel/types': 7.18.8
513
+ dev: true
514
+
352
515
  /@babel/traverse/7.18.2:
353
516
  resolution: {integrity: sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==}
354
517
  engines: {node: '>=6.9.0'}
@@ -367,6 +530,24 @@ packages:
367
530
  - supports-color
368
531
  dev: true
369
532
 
533
+ /@babel/traverse/7.18.8:
534
+ resolution: {integrity: sha512-UNg/AcSySJYR/+mIcJQDCv00T+AqRO7j/ZEJLzpaYtgM48rMg5MnkJgyNqkzo88+p4tfRvZJCEiwwfG6h4jkRg==}
535
+ engines: {node: '>=6.9.0'}
536
+ dependencies:
537
+ '@babel/code-frame': 7.18.6
538
+ '@babel/generator': 7.18.7
539
+ '@babel/helper-environment-visitor': 7.18.6
540
+ '@babel/helper-function-name': 7.18.6
541
+ '@babel/helper-hoist-variables': 7.18.6
542
+ '@babel/helper-split-export-declaration': 7.18.6
543
+ '@babel/parser': 7.18.8
544
+ '@babel/types': 7.18.8
545
+ debug: 4.3.4
546
+ globals: 11.12.0
547
+ transitivePeerDependencies:
548
+ - supports-color
549
+ dev: true
550
+
370
551
  /@babel/types/7.18.4:
371
552
  resolution: {integrity: sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==}
372
553
  engines: {node: '>=6.9.0'}
@@ -375,6 +556,14 @@ packages:
375
556
  to-fast-properties: 2.0.0
376
557
  dev: true
377
558
 
559
+ /@babel/types/7.18.8:
560
+ resolution: {integrity: sha512-qwpdsmraq0aJ3osLJRApsc2ouSJCdnMeZwB0DhbtHAtRpZNZCdlbRnHIgcRKzdE1g0iOGg644fzjOBcdOz9cPw==}
561
+ engines: {node: '>=6.9.0'}
562
+ dependencies:
563
+ '@babel/helper-validator-identifier': 7.18.6
564
+ to-fast-properties: 2.0.0
565
+ dev: true
566
+
378
567
  /@bcoe/v8-coverage/0.2.3:
379
568
  resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
380
569
  dev: true
@@ -635,26 +824,56 @@ packages:
635
824
  '@jridgewell/trace-mapping': 0.3.9
636
825
  dev: true
637
826
 
827
+ /@jridgewell/gen-mapping/0.3.2:
828
+ resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==}
829
+ engines: {node: '>=6.0.0'}
830
+ dependencies:
831
+ '@jridgewell/set-array': 1.1.2
832
+ '@jridgewell/sourcemap-codec': 1.4.14
833
+ '@jridgewell/trace-mapping': 0.3.14
834
+ dev: true
835
+
638
836
  /@jridgewell/resolve-uri/3.0.7:
639
837
  resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==}
640
838
  engines: {node: '>=6.0.0'}
641
839
 
840
+ /@jridgewell/resolve-uri/3.1.0:
841
+ resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==}
842
+ engines: {node: '>=6.0.0'}
843
+ dev: true
844
+
642
845
  /@jridgewell/set-array/1.1.1:
643
846
  resolution: {integrity: sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==}
644
847
  engines: {node: '>=6.0.0'}
645
848
  dev: true
646
849
 
850
+ /@jridgewell/set-array/1.1.2:
851
+ resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==}
852
+ engines: {node: '>=6.0.0'}
853
+ dev: true
854
+
647
855
  /@jridgewell/sourcemap-codec/1.4.13:
648
856
  resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==}
649
857
 
858
+ /@jridgewell/sourcemap-codec/1.4.14:
859
+ resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}
860
+ dev: true
861
+
862
+ /@jridgewell/trace-mapping/0.3.14:
863
+ resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==}
864
+ dependencies:
865
+ '@jridgewell/resolve-uri': 3.1.0
866
+ '@jridgewell/sourcemap-codec': 1.4.14
867
+ dev: true
868
+
650
869
  /@jridgewell/trace-mapping/0.3.9:
651
870
  resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}
652
871
  dependencies:
653
872
  '@jridgewell/resolve-uri': 3.0.7
654
873
  '@jridgewell/sourcemap-codec': 1.4.13
655
874
 
656
- /@next-k8s/common/0.1.30:
657
- resolution: {integrity: sha512-weuxOM1+zCGCSgIjYa1dAyRgJISRODxl5tolxE/yeEorVoykI+UgHUEA1y60UprnjX+BBRvujuDzBtwAsnOIng==}
875
+ /@next-k8s/common/0.1.34:
876
+ resolution: {integrity: sha512-4Gz5RXxCtudcEIaPi+DuUO+YxYunSp6capFqowLf8l7RQ36nSbf1dcV56VZPEQTmTaYzuV9flVrXTrtaQmAhSA==}
658
877
  dependencies:
659
878
  cookie-session: 2.0.0
660
879
  express: 4.18.1
@@ -820,6 +1039,9 @@ packages:
820
1039
  /@types/node/17.0.40:
821
1040
  resolution: {integrity: sha512-UXdBxNGqTMtm7hCwh9HtncFVLrXoqA3oJW30j6XWp5BH/wu3mVeaxo7cq5benFdBw34HB3XDT2TRPI7rXZ+mDg==}
822
1041
 
1042
+ /@types/node/18.0.3:
1043
+ resolution: {integrity: sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==}
1044
+
823
1045
  /@types/prettier/2.6.3:
824
1046
  resolution: {integrity: sha512-ymZk3LEC/fsut+/Q5qejp6R9O1rMxz3XaRHDV6kX8MrGAhOSPqVARbDi+EZvInBpw+BnCX3TD240byVkOfQsHg==}
825
1047
  dev: true
@@ -1120,6 +1342,17 @@ packages:
1120
1342
  picocolors: 1.0.0
1121
1343
  dev: true
1122
1344
 
1345
+ /browserslist/4.21.1:
1346
+ resolution: {integrity: sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==}
1347
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
1348
+ hasBin: true
1349
+ dependencies:
1350
+ caniuse-lite: 1.0.30001365
1351
+ electron-to-chromium: 1.4.186
1352
+ node-releases: 2.0.6
1353
+ update-browserslist-db: 1.0.4_browserslist@4.21.1
1354
+ dev: true
1355
+
1123
1356
  /bs-logger/0.2.6:
1124
1357
  resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==}
1125
1358
  engines: {node: '>= 6'}
@@ -1186,6 +1419,10 @@ packages:
1186
1419
  resolution: {integrity: sha512-GUgH8w6YergqPQDGWhJGt8GDRnY0L/iJVQcU3eJ46GYf52R8tk0Wxp0PymuFVZboJYXGiCqwozAYZNRjVj6IcA==}
1187
1420
  dev: true
1188
1421
 
1422
+ /caniuse-lite/1.0.30001365:
1423
+ resolution: {integrity: sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==}
1424
+ dev: true
1425
+
1189
1426
  /chalk/2.4.2:
1190
1427
  resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
1191
1428
  engines: {node: '>=4'}
@@ -1338,6 +1575,11 @@ packages:
1338
1575
  keygrip: 1.1.0
1339
1576
  dev: false
1340
1577
 
1578
+ /core-js/3.23.4:
1579
+ resolution: {integrity: sha512-vjsKqRc1RyAJC3Ye2kYqgfdThb3zYnx9CrqoCcjMOENMtQPC7ZViBvlDxwYU/2z2NI/IPuiXw5mT4hWhddqjzQ==}
1580
+ requiresBuild: true
1581
+ dev: false
1582
+
1341
1583
  /create-require/1.1.1:
1342
1584
  resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}
1343
1585
  dev: false
@@ -1459,6 +1701,10 @@ packages:
1459
1701
  resolution: {integrity: sha512-XaG2LpZi9fdiWYOqJh0dJy4SlVywCvpgYXhzOlZTp4JqSKqxn5URqOjbm9OMYB3aInA2GuHQiem1QUOc1yT0Pw==}
1460
1702
  dev: true
1461
1703
 
1704
+ /electron-to-chromium/1.4.186:
1705
+ resolution: {integrity: sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==}
1706
+ dev: true
1707
+
1462
1708
  /emittery/0.10.2:
1463
1709
  resolution: {integrity: sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==}
1464
1710
  engines: {node: '>=12'}
@@ -2015,7 +2261,7 @@ packages:
2015
2261
  - supports-color
2016
2262
  dev: true
2017
2263
 
2018
- /jest-cli/28.1.1_dnk3gtlqhswgyp7ytm36pfjzga:
2264
+ /jest-cli/28.1.1_65ilqje34s6uvyxfgxdqff5awq:
2019
2265
  resolution: {integrity: sha512-+sUfVbJqb1OjBZ0OdBbI6OWfYM1i7bSfzYy6gze1F1w3OKWq8ZTEKkZ8a7ZQPq6G/G1qMh/uKqpdWhgl11NFQQ==}
2020
2266
  engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
2021
2267
  hasBin: true
@@ -2032,7 +2278,7 @@ packages:
2032
2278
  exit: 0.1.2
2033
2279
  graceful-fs: 4.2.10
2034
2280
  import-local: 3.1.0
2035
- jest-config: 28.1.1_@types+node@17.0.40
2281
+ jest-config: 28.1.1_@types+node@18.0.3
2036
2282
  jest-util: 28.1.1
2037
2283
  jest-validate: 28.1.1
2038
2284
  node-notifier: 10.0.1
@@ -2083,6 +2329,45 @@ packages:
2083
2329
  - supports-color
2084
2330
  dev: true
2085
2331
 
2332
+ /jest-config/28.1.1_@types+node@18.0.3:
2333
+ resolution: {integrity: sha512-tASynMhS+jVV85zKvjfbJ8nUyJS/jUSYZ5KQxLUN2ZCvcQc/OmhQl2j6VEL3ezQkNofxn5pQ3SPYWPHb0unTZA==}
2334
+ engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
2335
+ peerDependencies:
2336
+ '@types/node': '*'
2337
+ ts-node: '>=9.0.0'
2338
+ peerDependenciesMeta:
2339
+ '@types/node':
2340
+ optional: true
2341
+ ts-node:
2342
+ optional: true
2343
+ dependencies:
2344
+ '@babel/core': 7.18.2
2345
+ '@jest/test-sequencer': 28.1.1
2346
+ '@jest/types': 28.1.1
2347
+ '@types/node': 18.0.3
2348
+ babel-jest: 28.1.1_@babel+core@7.18.2
2349
+ chalk: 4.1.2
2350
+ ci-info: 3.3.1
2351
+ deepmerge: 4.2.2
2352
+ glob: 7.2.3
2353
+ graceful-fs: 4.2.10
2354
+ jest-circus: 28.1.1
2355
+ jest-environment-node: 28.1.1
2356
+ jest-get-type: 28.0.2
2357
+ jest-regex-util: 28.0.2
2358
+ jest-resolve: 28.1.1
2359
+ jest-runner: 28.1.1
2360
+ jest-util: 28.1.1
2361
+ jest-validate: 28.1.1
2362
+ micromatch: 4.0.5
2363
+ parse-json: 5.2.0
2364
+ pretty-format: 28.1.1
2365
+ slash: 3.0.0
2366
+ strip-json-comments: 3.1.1
2367
+ transitivePeerDependencies:
2368
+ - supports-color
2369
+ dev: true
2370
+
2086
2371
  /jest-diff/27.5.1:
2087
2372
  resolution: {integrity: sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==}
2088
2373
  engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
@@ -2392,7 +2677,7 @@ packages:
2392
2677
  supports-color: 8.1.1
2393
2678
  dev: true
2394
2679
 
2395
- /jest/28.1.1_dnk3gtlqhswgyp7ytm36pfjzga:
2680
+ /jest/28.1.1_65ilqje34s6uvyxfgxdqff5awq:
2396
2681
  resolution: {integrity: sha512-qw9YHBnjt6TCbIDMPMpJZqf9E12rh6869iZaN08/vpOGgHJSAaLLUn6H8W3IAEuy34Ls3rct064mZLETkxJ2XA==}
2397
2682
  engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
2398
2683
  hasBin: true
@@ -2405,7 +2690,7 @@ packages:
2405
2690
  '@jest/core': 28.1.1_node-notifier@10.0.1
2406
2691
  '@jest/types': 28.1.1
2407
2692
  import-local: 3.1.0
2408
- jest-cli: 28.1.1_dnk3gtlqhswgyp7ytm36pfjzga
2693
+ jest-cli: 28.1.1_65ilqje34s6uvyxfgxdqff5awq
2409
2694
  node-notifier: 10.0.1
2410
2695
  transitivePeerDependencies:
2411
2696
  - '@types/node'
@@ -2700,6 +2985,18 @@ packages:
2700
2985
  - supports-color
2701
2986
  dev: false
2702
2987
 
2988
+ /mongoose-update-if-current/1.4.0_mongoose@6.3.5:
2989
+ resolution: {integrity: sha512-Rau2nvdiLExqXrSOwMMgDYQgf/fwTJQpPidTcT7C9UMQ282gTKXjDuh5vrjVvVQpfuvkiPis0tGHdXffaD54bg==}
2990
+ engines: {node: '>=8.0.0'}
2991
+ peerDependencies:
2992
+ mongoose: '>=5.0.0'
2993
+ dependencies:
2994
+ core-js: 3.23.4
2995
+ kareem: 2.3.5
2996
+ mongoose: 6.3.5
2997
+ regenerator-runtime: 0.13.9
2998
+ dev: false
2999
+
2703
3000
  /mongoose/6.3.5:
2704
3001
  resolution: {integrity: sha512-Ho3b/MK3lFyb87NjzyVwrjCqQ5DuLsIPSMFYDuZjaIJNhZfHNPQIcUDR1RLZ0/l+uznwo0VBu3WSwdu8EfAZTA==}
2705
3002
  engines: {node: '>=12.0.0'}
@@ -2792,6 +3089,10 @@ packages:
2792
3089
  resolution: {integrity: sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==}
2793
3090
  dev: true
2794
3091
 
3092
+ /node-releases/2.0.6:
3093
+ resolution: {integrity: sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==}
3094
+ dev: true
3095
+
2795
3096
  /normalize-path/3.0.0:
2796
3097
  resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
2797
3098
  engines: {node: '>=0.10.0'}
@@ -3003,6 +3304,10 @@ packages:
3003
3304
  picomatch: 2.3.1
3004
3305
  dev: false
3005
3306
 
3307
+ /regenerator-runtime/0.13.9:
3308
+ resolution: {integrity: sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==}
3309
+ dev: false
3310
+
3006
3311
  /require-directory/2.1.1:
3007
3312
  resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
3008
3313
  engines: {node: '>=0.10.0'}
@@ -3396,7 +3701,7 @@ packages:
3396
3701
  hasBin: true
3397
3702
  dev: false
3398
3703
 
3399
- /ts-jest/28.0.4_ighm2axwo4w2kweegjclfnfl74:
3704
+ /ts-jest/28.0.4_ovsx25e2d2qwifjprag2mtiuhu:
3400
3705
  resolution: {integrity: sha512-S6uRDDdCJBvnZqyGjB4VCnwbQrbgdL8WPeP4jevVSpYsBaeGRQAIS08o3Svav2Ex+oXwLgJ/m7F24TNq62kA1A==}
3401
3706
  engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
3402
3707
  hasBin: true
@@ -3414,10 +3719,10 @@ packages:
3414
3719
  esbuild:
3415
3720
  optional: true
3416
3721
  dependencies:
3417
- '@babel/core': 7.18.2
3722
+ '@babel/core': 7.18.6
3418
3723
  bs-logger: 0.2.6
3419
3724
  fast-json-stable-stringify: 2.1.0
3420
- jest: 28.1.1_dnk3gtlqhswgyp7ytm36pfjzga
3725
+ jest: 28.1.1_65ilqje34s6uvyxfgxdqff5awq
3421
3726
  jest-util: 28.1.1
3422
3727
  json5: 2.2.1
3423
3728
  lodash.memoize: 4.1.2
@@ -3433,7 +3738,7 @@ packages:
3433
3738
  tweetnacl: 1.0.3
3434
3739
  dev: false
3435
3740
 
3436
- /ts-node-dev/2.0.0_mdwa2u5d66aaselucuqqyziihu:
3741
+ /ts-node-dev/2.0.0_5wtkacxpinmhju6afgo34cxoce:
3437
3742
  resolution: {integrity: sha512-ywMrhCfH6M75yftYvrvNarLEY+SUXtUvU8/0Z6llrHQVBx12GiFk5sStF8UdfE/yfzk9IAq7O5EEbTQsxlBI8w==}
3438
3743
  engines: {node: '>=0.8.0'}
3439
3744
  hasBin: true
@@ -3453,7 +3758,7 @@ packages:
3453
3758
  rimraf: 2.7.1
3454
3759
  source-map-support: 0.5.21
3455
3760
  tree-kill: 1.2.2
3456
- ts-node: 10.8.1_fvkldoeufjjq5mlpfdkzhuqzdy
3761
+ ts-node: 10.8.1_whnhcsqzfmpkcjocawaar7phpy
3457
3762
  tsconfig: 7.0.0
3458
3763
  typescript: 4.7.3
3459
3764
  transitivePeerDependencies:
@@ -3462,7 +3767,7 @@ packages:
3462
3767
  - '@types/node'
3463
3768
  dev: false
3464
3769
 
3465
- /ts-node/10.8.1_fvkldoeufjjq5mlpfdkzhuqzdy:
3770
+ /ts-node/10.8.1_whnhcsqzfmpkcjocawaar7phpy:
3466
3771
  resolution: {integrity: sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g==}
3467
3772
  hasBin: true
3468
3773
  peerDependencies:
@@ -3481,7 +3786,7 @@ packages:
3481
3786
  '@tsconfig/node12': 1.0.9
3482
3787
  '@tsconfig/node14': 1.0.1
3483
3788
  '@tsconfig/node16': 1.0.2
3484
- '@types/node': 17.0.40
3789
+ '@types/node': 18.0.3
3485
3790
  acorn: 8.7.1
3486
3791
  acorn-walk: 8.2.0
3487
3792
  arg: 4.1.3
@@ -3543,6 +3848,17 @@ packages:
3543
3848
  engines: {node: '>= 0.8'}
3544
3849
  dev: false
3545
3850
 
3851
+ /update-browserslist-db/1.0.4_browserslist@4.21.1:
3852
+ resolution: {integrity: sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==}
3853
+ hasBin: true
3854
+ peerDependencies:
3855
+ browserslist: '>= 4.21.0'
3856
+ dependencies:
3857
+ browserslist: 4.21.1
3858
+ escalade: 3.1.1
3859
+ picocolors: 1.0.0
3860
+ dev: true
3861
+
3546
3862
  /util-deprecate/1.0.2:
3547
3863
  resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=}
3548
3864
  dev: true