@motiadev/plugin-bullmq 0.14.0-beta.165-076789 → 0.14.0-beta.165-573784
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.
- package/dist/index.css +0 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1126 -1030
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -123,17 +123,21 @@ const queryClient = new QueryClient({ defaultOptions: { queries: {
|
|
|
123
123
|
retry: 1
|
|
124
124
|
} } });
|
|
125
125
|
const QueryProvider = (t0) => {
|
|
126
|
-
const $ = c(
|
|
126
|
+
const $ = c(3);
|
|
127
|
+
if ($[0] !== "72268343e8809a517b650d94aea39cf9f299784a2a89cdc3b8e9a0d84a7244b8") {
|
|
128
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
129
|
+
$[0] = "72268343e8809a517b650d94aea39cf9f299784a2a89cdc3b8e9a0d84a7244b8";
|
|
130
|
+
}
|
|
127
131
|
const { children } = t0;
|
|
128
132
|
let t1;
|
|
129
|
-
if ($[
|
|
133
|
+
if ($[1] !== children) {
|
|
130
134
|
t1 = /* @__PURE__ */ jsx(QueryClientProvider, {
|
|
131
135
|
client: queryClient,
|
|
132
136
|
children
|
|
133
137
|
});
|
|
134
|
-
$[
|
|
135
|
-
$[
|
|
136
|
-
} else t1 = $[
|
|
138
|
+
$[1] = children;
|
|
139
|
+
$[2] = t1;
|
|
140
|
+
} else t1 = $[2];
|
|
137
141
|
return t1;
|
|
138
142
|
};
|
|
139
143
|
|
|
@@ -158,207 +162,231 @@ const clearDLQFn = async ({ queueName }) => {
|
|
|
158
162
|
if (!(await fetch(`/__motia/bullmq/dlq/${encodeURIComponent(queueName)}/clear`, { method: "POST" })).ok) throw new Error("Failed to clear DLQ");
|
|
159
163
|
};
|
|
160
164
|
const useRetryJob = () => {
|
|
161
|
-
const $ = c(
|
|
165
|
+
const $ = c(8);
|
|
166
|
+
if ($[0] !== "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177") {
|
|
167
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
168
|
+
$[0] = "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177";
|
|
169
|
+
}
|
|
162
170
|
const queryClient$1 = useQueryClient();
|
|
163
171
|
const setError = useBullMQStore(_temp$7);
|
|
164
172
|
let t0;
|
|
165
|
-
if ($[
|
|
173
|
+
if ($[1] !== queryClient$1) {
|
|
166
174
|
t0 = (_, t1$1) => {
|
|
167
175
|
const { queueName } = t1$1;
|
|
168
176
|
queryClient$1.invalidateQueries({ queryKey: ["jobs", queueName] });
|
|
169
177
|
};
|
|
170
|
-
$[
|
|
171
|
-
$[
|
|
172
|
-
} else t0 = $[
|
|
178
|
+
$[1] = queryClient$1;
|
|
179
|
+
$[2] = t0;
|
|
180
|
+
} else t0 = $[2];
|
|
173
181
|
let t1;
|
|
174
|
-
if ($[
|
|
182
|
+
if ($[3] !== setError) {
|
|
175
183
|
t1 = (error) => {
|
|
176
184
|
setError(error instanceof Error ? error.message : "Failed to retry job");
|
|
177
185
|
};
|
|
178
|
-
$[
|
|
179
|
-
$[
|
|
180
|
-
} else t1 = $[
|
|
186
|
+
$[3] = setError;
|
|
187
|
+
$[4] = t1;
|
|
188
|
+
} else t1 = $[4];
|
|
181
189
|
let t2;
|
|
182
|
-
if ($[
|
|
190
|
+
if ($[5] !== t0 || $[6] !== t1) {
|
|
183
191
|
t2 = {
|
|
184
192
|
mutationFn: retryJobFn,
|
|
185
193
|
onSuccess: t0,
|
|
186
194
|
onError: t1
|
|
187
195
|
};
|
|
188
|
-
$[
|
|
189
|
-
$[
|
|
190
|
-
$[
|
|
191
|
-
} else t2 = $[
|
|
196
|
+
$[5] = t0;
|
|
197
|
+
$[6] = t1;
|
|
198
|
+
$[7] = t2;
|
|
199
|
+
} else t2 = $[7];
|
|
192
200
|
return useMutation(t2);
|
|
193
201
|
};
|
|
194
202
|
const useRemoveJob = () => {
|
|
195
|
-
const $ = c(
|
|
203
|
+
const $ = c(8);
|
|
204
|
+
if ($[0] !== "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177") {
|
|
205
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
206
|
+
$[0] = "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177";
|
|
207
|
+
}
|
|
196
208
|
const queryClient$1 = useQueryClient();
|
|
197
209
|
const setError = useBullMQStore(_temp2$7);
|
|
198
210
|
let t0;
|
|
199
|
-
if ($[
|
|
211
|
+
if ($[1] !== queryClient$1) {
|
|
200
212
|
t0 = (_, t1$1) => {
|
|
201
213
|
const { queueName } = t1$1;
|
|
202
214
|
queryClient$1.invalidateQueries({ queryKey: ["jobs", queueName] });
|
|
203
215
|
};
|
|
204
|
-
$[
|
|
205
|
-
$[
|
|
206
|
-
} else t0 = $[
|
|
216
|
+
$[1] = queryClient$1;
|
|
217
|
+
$[2] = t0;
|
|
218
|
+
} else t0 = $[2];
|
|
207
219
|
let t1;
|
|
208
|
-
if ($[
|
|
220
|
+
if ($[3] !== setError) {
|
|
209
221
|
t1 = (error) => {
|
|
210
222
|
setError(error instanceof Error ? error.message : "Failed to remove job");
|
|
211
223
|
};
|
|
212
|
-
$[
|
|
213
|
-
$[
|
|
214
|
-
} else t1 = $[
|
|
224
|
+
$[3] = setError;
|
|
225
|
+
$[4] = t1;
|
|
226
|
+
} else t1 = $[4];
|
|
215
227
|
let t2;
|
|
216
|
-
if ($[
|
|
228
|
+
if ($[5] !== t0 || $[6] !== t1) {
|
|
217
229
|
t2 = {
|
|
218
230
|
mutationFn: removeJobFn,
|
|
219
231
|
onSuccess: t0,
|
|
220
232
|
onError: t1
|
|
221
233
|
};
|
|
222
|
-
$[
|
|
223
|
-
$[
|
|
224
|
-
$[
|
|
225
|
-
} else t2 = $[
|
|
234
|
+
$[5] = t0;
|
|
235
|
+
$[6] = t1;
|
|
236
|
+
$[7] = t2;
|
|
237
|
+
} else t2 = $[7];
|
|
226
238
|
return useMutation(t2);
|
|
227
239
|
};
|
|
228
240
|
const usePromoteJob = () => {
|
|
229
|
-
const $ = c(
|
|
241
|
+
const $ = c(8);
|
|
242
|
+
if ($[0] !== "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177") {
|
|
243
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
244
|
+
$[0] = "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177";
|
|
245
|
+
}
|
|
230
246
|
const queryClient$1 = useQueryClient();
|
|
231
247
|
const setError = useBullMQStore(_temp3$4);
|
|
232
248
|
let t0;
|
|
233
|
-
if ($[
|
|
249
|
+
if ($[1] !== queryClient$1) {
|
|
234
250
|
t0 = (_, t1$1) => {
|
|
235
251
|
const { queueName } = t1$1;
|
|
236
252
|
queryClient$1.invalidateQueries({ queryKey: ["jobs", queueName] });
|
|
237
253
|
};
|
|
238
|
-
$[
|
|
239
|
-
$[
|
|
240
|
-
} else t0 = $[
|
|
254
|
+
$[1] = queryClient$1;
|
|
255
|
+
$[2] = t0;
|
|
256
|
+
} else t0 = $[2];
|
|
241
257
|
let t1;
|
|
242
|
-
if ($[
|
|
258
|
+
if ($[3] !== setError) {
|
|
243
259
|
t1 = (error) => {
|
|
244
260
|
setError(error instanceof Error ? error.message : "Failed to promote job");
|
|
245
261
|
};
|
|
246
|
-
$[
|
|
247
|
-
$[
|
|
248
|
-
} else t1 = $[
|
|
262
|
+
$[3] = setError;
|
|
263
|
+
$[4] = t1;
|
|
264
|
+
} else t1 = $[4];
|
|
249
265
|
let t2;
|
|
250
|
-
if ($[
|
|
266
|
+
if ($[5] !== t0 || $[6] !== t1) {
|
|
251
267
|
t2 = {
|
|
252
268
|
mutationFn: promoteJobFn,
|
|
253
269
|
onSuccess: t0,
|
|
254
270
|
onError: t1
|
|
255
271
|
};
|
|
256
|
-
$[
|
|
257
|
-
$[
|
|
258
|
-
$[
|
|
259
|
-
} else t2 = $[
|
|
272
|
+
$[5] = t0;
|
|
273
|
+
$[6] = t1;
|
|
274
|
+
$[7] = t2;
|
|
275
|
+
} else t2 = $[7];
|
|
260
276
|
return useMutation(t2);
|
|
261
277
|
};
|
|
262
278
|
const useRetryFromDLQ = () => {
|
|
263
|
-
const $ = c(
|
|
279
|
+
const $ = c(8);
|
|
280
|
+
if ($[0] !== "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177") {
|
|
281
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
282
|
+
$[0] = "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177";
|
|
283
|
+
}
|
|
264
284
|
const queryClient$1 = useQueryClient();
|
|
265
285
|
const setError = useBullMQStore(_temp4$3);
|
|
266
286
|
let t0;
|
|
267
|
-
if ($[
|
|
287
|
+
if ($[1] !== queryClient$1) {
|
|
268
288
|
t0 = (_, t1$1) => {
|
|
269
289
|
const { queueName } = t1$1;
|
|
270
290
|
queryClient$1.invalidateQueries({ queryKey: ["dlq-jobs", queueName] });
|
|
271
291
|
};
|
|
272
|
-
$[
|
|
273
|
-
$[
|
|
274
|
-
} else t0 = $[
|
|
292
|
+
$[1] = queryClient$1;
|
|
293
|
+
$[2] = t0;
|
|
294
|
+
} else t0 = $[2];
|
|
275
295
|
let t1;
|
|
276
|
-
if ($[
|
|
296
|
+
if ($[3] !== setError) {
|
|
277
297
|
t1 = (error) => {
|
|
278
298
|
setError(error instanceof Error ? error.message : "Failed to retry from DLQ");
|
|
279
299
|
};
|
|
280
|
-
$[
|
|
281
|
-
$[
|
|
282
|
-
} else t1 = $[
|
|
300
|
+
$[3] = setError;
|
|
301
|
+
$[4] = t1;
|
|
302
|
+
} else t1 = $[4];
|
|
283
303
|
let t2;
|
|
284
|
-
if ($[
|
|
304
|
+
if ($[5] !== t0 || $[6] !== t1) {
|
|
285
305
|
t2 = {
|
|
286
306
|
mutationFn: retryFromDLQFn,
|
|
287
307
|
onSuccess: t0,
|
|
288
308
|
onError: t1
|
|
289
309
|
};
|
|
290
|
-
$[
|
|
291
|
-
$[
|
|
292
|
-
$[
|
|
293
|
-
} else t2 = $[
|
|
310
|
+
$[5] = t0;
|
|
311
|
+
$[6] = t1;
|
|
312
|
+
$[7] = t2;
|
|
313
|
+
} else t2 = $[7];
|
|
294
314
|
return useMutation(t2);
|
|
295
315
|
};
|
|
296
316
|
const useRetryAllFromDLQ = () => {
|
|
297
|
-
const $ = c(
|
|
317
|
+
const $ = c(8);
|
|
318
|
+
if ($[0] !== "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177") {
|
|
319
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
320
|
+
$[0] = "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177";
|
|
321
|
+
}
|
|
298
322
|
const queryClient$1 = useQueryClient();
|
|
299
323
|
const setError = useBullMQStore(_temp5$3);
|
|
300
324
|
let t0;
|
|
301
|
-
if ($[
|
|
325
|
+
if ($[1] !== queryClient$1) {
|
|
302
326
|
t0 = (_, t1$1) => {
|
|
303
327
|
const { queueName } = t1$1;
|
|
304
328
|
queryClient$1.invalidateQueries({ queryKey: ["dlq-jobs", queueName] });
|
|
305
329
|
};
|
|
306
|
-
$[
|
|
307
|
-
$[
|
|
308
|
-
} else t0 = $[
|
|
330
|
+
$[1] = queryClient$1;
|
|
331
|
+
$[2] = t0;
|
|
332
|
+
} else t0 = $[2];
|
|
309
333
|
let t1;
|
|
310
|
-
if ($[
|
|
334
|
+
if ($[3] !== setError) {
|
|
311
335
|
t1 = (error) => {
|
|
312
336
|
setError(error instanceof Error ? error.message : "Failed to retry all from DLQ");
|
|
313
337
|
};
|
|
314
|
-
$[
|
|
315
|
-
$[
|
|
316
|
-
} else t1 = $[
|
|
338
|
+
$[3] = setError;
|
|
339
|
+
$[4] = t1;
|
|
340
|
+
} else t1 = $[4];
|
|
317
341
|
let t2;
|
|
318
|
-
if ($[
|
|
342
|
+
if ($[5] !== t0 || $[6] !== t1) {
|
|
319
343
|
t2 = {
|
|
320
344
|
mutationFn: retryAllFromDLQFn,
|
|
321
345
|
onSuccess: t0,
|
|
322
346
|
onError: t1
|
|
323
347
|
};
|
|
324
|
-
$[
|
|
325
|
-
$[
|
|
326
|
-
$[
|
|
327
|
-
} else t2 = $[
|
|
348
|
+
$[5] = t0;
|
|
349
|
+
$[6] = t1;
|
|
350
|
+
$[7] = t2;
|
|
351
|
+
} else t2 = $[7];
|
|
328
352
|
return useMutation(t2);
|
|
329
353
|
};
|
|
330
354
|
const useClearDLQ = () => {
|
|
331
|
-
const $ = c(
|
|
355
|
+
const $ = c(8);
|
|
356
|
+
if ($[0] !== "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177") {
|
|
357
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
358
|
+
$[0] = "dda4e584b854b7387aa6e222ff1915ce152f6bfdf2fc4ff1beda4b29692e9177";
|
|
359
|
+
}
|
|
332
360
|
const queryClient$1 = useQueryClient();
|
|
333
361
|
const setError = useBullMQStore(_temp6$1);
|
|
334
362
|
let t0;
|
|
335
|
-
if ($[
|
|
363
|
+
if ($[1] !== queryClient$1) {
|
|
336
364
|
t0 = (_, t1$1) => {
|
|
337
365
|
const { queueName } = t1$1;
|
|
338
366
|
queryClient$1.invalidateQueries({ queryKey: ["dlq-jobs", queueName] });
|
|
339
367
|
};
|
|
340
|
-
$[
|
|
341
|
-
$[
|
|
342
|
-
} else t0 = $[
|
|
368
|
+
$[1] = queryClient$1;
|
|
369
|
+
$[2] = t0;
|
|
370
|
+
} else t0 = $[2];
|
|
343
371
|
let t1;
|
|
344
|
-
if ($[
|
|
372
|
+
if ($[3] !== setError) {
|
|
345
373
|
t1 = (error) => {
|
|
346
374
|
setError(error instanceof Error ? error.message : "Failed to clear DLQ");
|
|
347
375
|
};
|
|
348
|
-
$[
|
|
349
|
-
$[
|
|
350
|
-
} else t1 = $[
|
|
376
|
+
$[3] = setError;
|
|
377
|
+
$[4] = t1;
|
|
378
|
+
} else t1 = $[4];
|
|
351
379
|
let t2;
|
|
352
|
-
if ($[
|
|
380
|
+
if ($[5] !== t0 || $[6] !== t1) {
|
|
353
381
|
t2 = {
|
|
354
382
|
mutationFn: clearDLQFn,
|
|
355
383
|
onSuccess: t0,
|
|
356
384
|
onError: t1
|
|
357
385
|
};
|
|
358
|
-
$[
|
|
359
|
-
$[
|
|
360
|
-
$[
|
|
361
|
-
} else t2 = $[
|
|
386
|
+
$[5] = t0;
|
|
387
|
+
$[6] = t1;
|
|
388
|
+
$[7] = t2;
|
|
389
|
+
} else t2 = $[7];
|
|
362
390
|
return useMutation(t2);
|
|
363
391
|
};
|
|
364
392
|
function _temp$7(state) {
|
|
@@ -402,80 +430,88 @@ const fetchDLQJobs = async (queueName, start = 0, end = 100) => {
|
|
|
402
430
|
return (await response.json()).jobs;
|
|
403
431
|
};
|
|
404
432
|
const useJobsQuery = () => {
|
|
405
|
-
const $ = c(
|
|
433
|
+
const $ = c(14);
|
|
434
|
+
if ($[0] !== "62345f058f3013b9a25310d4c1435bcda4709648cddbee0fee4472c79e98da42") {
|
|
435
|
+
for (let $i = 0; $i < 14; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
436
|
+
$[0] = "62345f058f3013b9a25310d4c1435bcda4709648cddbee0fee4472c79e98da42";
|
|
437
|
+
}
|
|
406
438
|
const selectedQueue = useBullMQStore(_temp$6);
|
|
407
439
|
const selectedStatus = useBullMQStore(_temp2$6);
|
|
408
440
|
const queueName = selectedQueue?.name;
|
|
409
441
|
let t0;
|
|
410
|
-
if ($[
|
|
442
|
+
if ($[1] !== selectedQueue) {
|
|
411
443
|
t0 = selectedQueue ? JSON.stringify(selectedQueue.stats) : null;
|
|
412
|
-
$[
|
|
413
|
-
$[
|
|
414
|
-
} else t0 = $[
|
|
444
|
+
$[1] = selectedQueue;
|
|
445
|
+
$[2] = t0;
|
|
446
|
+
} else t0 = $[2];
|
|
415
447
|
const statsKey = t0;
|
|
416
448
|
let t1;
|
|
417
|
-
if ($[
|
|
449
|
+
if ($[3] !== queueName || $[4] !== selectedStatus || $[5] !== statsKey) {
|
|
418
450
|
t1 = [
|
|
419
451
|
"jobs",
|
|
420
452
|
queueName,
|
|
421
453
|
selectedStatus,
|
|
422
454
|
statsKey
|
|
423
455
|
];
|
|
424
|
-
$[
|
|
425
|
-
$[
|
|
426
|
-
$[
|
|
427
|
-
$[
|
|
428
|
-
} else t1 = $[
|
|
456
|
+
$[3] = queueName;
|
|
457
|
+
$[4] = selectedStatus;
|
|
458
|
+
$[5] = statsKey;
|
|
459
|
+
$[6] = t1;
|
|
460
|
+
} else t1 = $[6];
|
|
429
461
|
let t2;
|
|
430
|
-
if ($[
|
|
462
|
+
if ($[7] !== queueName || $[8] !== selectedStatus) {
|
|
431
463
|
t2 = () => fetchJobs(queueName, selectedStatus);
|
|
432
|
-
$[
|
|
433
|
-
$[
|
|
434
|
-
$[
|
|
435
|
-
} else t2 = $[
|
|
464
|
+
$[7] = queueName;
|
|
465
|
+
$[8] = selectedStatus;
|
|
466
|
+
$[9] = t2;
|
|
467
|
+
} else t2 = $[9];
|
|
436
468
|
const t3 = !!queueName;
|
|
437
469
|
let t4;
|
|
438
|
-
if ($[
|
|
470
|
+
if ($[10] !== t1 || $[11] !== t2 || $[12] !== t3) {
|
|
439
471
|
t4 = {
|
|
440
472
|
queryKey: t1,
|
|
441
473
|
queryFn: t2,
|
|
442
474
|
enabled: t3,
|
|
443
475
|
staleTime: 5e3
|
|
444
476
|
};
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
$[
|
|
448
|
-
$[
|
|
449
|
-
} else t4 = $[
|
|
477
|
+
$[10] = t1;
|
|
478
|
+
$[11] = t2;
|
|
479
|
+
$[12] = t3;
|
|
480
|
+
$[13] = t4;
|
|
481
|
+
} else t4 = $[13];
|
|
450
482
|
return useQuery(t4);
|
|
451
483
|
};
|
|
452
484
|
const useDLQJobsQuery = (queueName) => {
|
|
453
|
-
const $ = c(
|
|
485
|
+
const $ = c(8);
|
|
486
|
+
if ($[0] !== "62345f058f3013b9a25310d4c1435bcda4709648cddbee0fee4472c79e98da42") {
|
|
487
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
488
|
+
$[0] = "62345f058f3013b9a25310d4c1435bcda4709648cddbee0fee4472c79e98da42";
|
|
489
|
+
}
|
|
454
490
|
let t0;
|
|
455
491
|
let t1;
|
|
456
|
-
if ($[
|
|
492
|
+
if ($[1] !== queueName) {
|
|
457
493
|
t0 = ["dlq-jobs", queueName];
|
|
458
494
|
t1 = () => fetchDLQJobs(queueName);
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
495
|
+
$[1] = queueName;
|
|
496
|
+
$[2] = t0;
|
|
497
|
+
$[3] = t1;
|
|
462
498
|
} else {
|
|
463
|
-
t0 = $[
|
|
464
|
-
t1 = $[
|
|
499
|
+
t0 = $[2];
|
|
500
|
+
t1 = $[3];
|
|
465
501
|
}
|
|
466
502
|
const t2 = !!queueName;
|
|
467
503
|
let t3;
|
|
468
|
-
if ($[
|
|
504
|
+
if ($[4] !== t0 || $[5] !== t1 || $[6] !== t2) {
|
|
469
505
|
t3 = {
|
|
470
506
|
queryKey: t0,
|
|
471
507
|
queryFn: t1,
|
|
472
508
|
enabled: t2
|
|
473
509
|
};
|
|
474
|
-
$[
|
|
475
|
-
$[
|
|
476
|
-
$[
|
|
477
|
-
$[
|
|
478
|
-
} else t3 = $[
|
|
510
|
+
$[4] = t0;
|
|
511
|
+
$[5] = t1;
|
|
512
|
+
$[6] = t2;
|
|
513
|
+
$[7] = t3;
|
|
514
|
+
} else t3 = $[7];
|
|
479
515
|
return useQuery(t3);
|
|
480
516
|
};
|
|
481
517
|
function _temp$6(state) {
|
|
@@ -488,15 +524,19 @@ function _temp2$6(state_0) {
|
|
|
488
524
|
//#endregion
|
|
489
525
|
//#region src/components/dlq-panel.tsx
|
|
490
526
|
const DLQJobDetailContent = memo((t0) => {
|
|
491
|
-
const $ = c(
|
|
527
|
+
const $ = c(30);
|
|
528
|
+
if ($[0] !== "9c642c700580e607dc6114475cae1bdbb21b1057857ec3c5d1e46ac6c107027a") {
|
|
529
|
+
for (let $i = 0; $i < 30; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
530
|
+
$[0] = "9c642c700580e607dc6114475cae1bdbb21b1057857ec3c5d1e46ac6c107027a";
|
|
531
|
+
}
|
|
492
532
|
const { job, onRetry } = t0;
|
|
493
533
|
let t1;
|
|
494
|
-
if ($[
|
|
534
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
495
535
|
t1 = /* @__PURE__ */ jsx(RefreshCw, { className: "mr-2 h-4 w-4" });
|
|
496
|
-
$[
|
|
497
|
-
} else t1 = $[
|
|
536
|
+
$[1] = t1;
|
|
537
|
+
} else t1 = $[1];
|
|
498
538
|
let t2;
|
|
499
|
-
if ($[
|
|
539
|
+
if ($[2] !== onRetry) {
|
|
500
540
|
t2 = /* @__PURE__ */ jsx("div", {
|
|
501
541
|
className: "flex gap-2",
|
|
502
542
|
children: /* @__PURE__ */ jsxs(Button, {
|
|
@@ -506,83 +546,83 @@ const DLQJobDetailContent = memo((t0) => {
|
|
|
506
546
|
children: [t1, "Retry"]
|
|
507
547
|
})
|
|
508
548
|
});
|
|
509
|
-
$[
|
|
510
|
-
$[
|
|
511
|
-
} else t2 = $[
|
|
549
|
+
$[2] = onRetry;
|
|
550
|
+
$[3] = t2;
|
|
551
|
+
} else t2 = $[3];
|
|
512
552
|
let t3;
|
|
513
|
-
if ($[
|
|
553
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
514
554
|
t3 = /* @__PURE__ */ jsx("span", {
|
|
515
555
|
className: "text-muted-foreground",
|
|
516
556
|
children: "Job ID"
|
|
517
557
|
});
|
|
518
|
-
$[
|
|
519
|
-
} else t3 = $[
|
|
558
|
+
$[4] = t3;
|
|
559
|
+
} else t3 = $[4];
|
|
520
560
|
let t4;
|
|
521
|
-
if ($[
|
|
561
|
+
if ($[5] !== job.id) {
|
|
522
562
|
t4 = /* @__PURE__ */ jsxs("div", { children: [t3, /* @__PURE__ */ jsx("div", {
|
|
523
563
|
className: "font-mono text-xs",
|
|
524
564
|
children: job.id
|
|
525
565
|
})] });
|
|
526
|
-
$[
|
|
527
|
-
$[
|
|
528
|
-
} else t4 = $[
|
|
566
|
+
$[5] = job.id;
|
|
567
|
+
$[6] = t4;
|
|
568
|
+
} else t4 = $[6];
|
|
529
569
|
let t5;
|
|
530
|
-
if ($[
|
|
570
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
531
571
|
t5 = /* @__PURE__ */ jsx("span", {
|
|
532
572
|
className: "text-muted-foreground",
|
|
533
573
|
children: "Original Job ID"
|
|
534
574
|
});
|
|
535
|
-
$[
|
|
536
|
-
} else t5 = $[
|
|
575
|
+
$[7] = t5;
|
|
576
|
+
} else t5 = $[7];
|
|
537
577
|
const t6 = job.originalJobId || "-";
|
|
538
578
|
let t7;
|
|
539
|
-
if ($[
|
|
579
|
+
if ($[8] !== t6) {
|
|
540
580
|
t7 = /* @__PURE__ */ jsxs("div", { children: [t5, /* @__PURE__ */ jsx("div", {
|
|
541
581
|
className: "font-mono text-xs",
|
|
542
582
|
children: t6
|
|
543
583
|
})] });
|
|
544
|
-
$[
|
|
545
|
-
$[
|
|
546
|
-
} else t7 = $[
|
|
584
|
+
$[8] = t6;
|
|
585
|
+
$[9] = t7;
|
|
586
|
+
} else t7 = $[9];
|
|
547
587
|
let t8;
|
|
548
|
-
if ($[
|
|
588
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
549
589
|
t8 = /* @__PURE__ */ jsx("span", {
|
|
550
590
|
className: "text-muted-foreground",
|
|
551
591
|
children: "Attempts Made"
|
|
552
592
|
});
|
|
553
|
-
$[
|
|
554
|
-
} else t8 = $[
|
|
593
|
+
$[10] = t8;
|
|
594
|
+
} else t8 = $[10];
|
|
555
595
|
let t9;
|
|
556
|
-
if ($[
|
|
596
|
+
if ($[11] !== job.attemptsMade) {
|
|
557
597
|
t9 = /* @__PURE__ */ jsxs("div", { children: [t8, /* @__PURE__ */ jsx("div", {
|
|
558
598
|
className: "font-semibold",
|
|
559
599
|
children: job.attemptsMade
|
|
560
600
|
})] });
|
|
561
|
-
$[
|
|
562
|
-
$[
|
|
563
|
-
} else t9 = $[
|
|
601
|
+
$[11] = job.attemptsMade;
|
|
602
|
+
$[12] = t9;
|
|
603
|
+
} else t9 = $[12];
|
|
564
604
|
let t10;
|
|
565
|
-
if ($[
|
|
605
|
+
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
566
606
|
t10 = /* @__PURE__ */ jsx("span", {
|
|
567
607
|
className: "text-muted-foreground",
|
|
568
608
|
children: "Failed At"
|
|
569
609
|
});
|
|
570
|
-
$[
|
|
571
|
-
} else t10 = $[
|
|
610
|
+
$[13] = t10;
|
|
611
|
+
} else t10 = $[13];
|
|
572
612
|
let t11;
|
|
573
|
-
if ($[
|
|
613
|
+
if ($[14] !== job.failureTimestamp) {
|
|
574
614
|
t11 = formatDistanceToNow(job.failureTimestamp, { addSuffix: true });
|
|
575
|
-
$[
|
|
576
|
-
$[
|
|
577
|
-
} else t11 = $[
|
|
615
|
+
$[14] = job.failureTimestamp;
|
|
616
|
+
$[15] = t11;
|
|
617
|
+
} else t11 = $[15];
|
|
578
618
|
let t12;
|
|
579
|
-
if ($[
|
|
619
|
+
if ($[16] !== t11) {
|
|
580
620
|
t12 = /* @__PURE__ */ jsxs("div", { children: [t10, /* @__PURE__ */ jsx("div", { children: t11 })] });
|
|
581
|
-
$[
|
|
582
|
-
$[
|
|
583
|
-
} else t12 = $[
|
|
621
|
+
$[16] = t11;
|
|
622
|
+
$[17] = t12;
|
|
623
|
+
} else t12 = $[17];
|
|
584
624
|
let t13;
|
|
585
|
-
if ($[
|
|
625
|
+
if ($[18] !== t12 || $[19] !== t4 || $[20] !== t7 || $[21] !== t9) {
|
|
586
626
|
t13 = /* @__PURE__ */ jsxs("div", {
|
|
587
627
|
className: "grid grid-cols-2 gap-4 text-sm",
|
|
588
628
|
children: [
|
|
@@ -592,31 +632,31 @@ const DLQJobDetailContent = memo((t0) => {
|
|
|
592
632
|
t12
|
|
593
633
|
]
|
|
594
634
|
});
|
|
595
|
-
$[
|
|
596
|
-
$[
|
|
597
|
-
$[
|
|
598
|
-
$[
|
|
599
|
-
$[
|
|
600
|
-
} else t13 = $[
|
|
635
|
+
$[18] = t12;
|
|
636
|
+
$[19] = t4;
|
|
637
|
+
$[20] = t7;
|
|
638
|
+
$[21] = t9;
|
|
639
|
+
$[22] = t13;
|
|
640
|
+
} else t13 = $[22];
|
|
601
641
|
let t14;
|
|
602
|
-
if ($[
|
|
642
|
+
if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
603
643
|
t14 = /* @__PURE__ */ jsx("div", {
|
|
604
644
|
className: "text-sm font-semibold text-destructive mb-2",
|
|
605
645
|
children: "Failure Reason"
|
|
606
646
|
});
|
|
607
|
-
$[
|
|
608
|
-
} else t14 = $[
|
|
647
|
+
$[23] = t14;
|
|
648
|
+
} else t14 = $[23];
|
|
609
649
|
let t15;
|
|
610
|
-
if ($[
|
|
650
|
+
if ($[24] !== job.failureReason) {
|
|
611
651
|
t15 = /* @__PURE__ */ jsxs("div", { children: [t14, /* @__PURE__ */ jsx("div", {
|
|
612
652
|
className: "font-mono text-sm bg-destructive/10 p-3 rounded text-destructive",
|
|
613
653
|
children: job.failureReason
|
|
614
654
|
})] });
|
|
615
|
-
$[
|
|
616
|
-
$[
|
|
617
|
-
} else t15 = $[
|
|
655
|
+
$[24] = job.failureReason;
|
|
656
|
+
$[25] = t15;
|
|
657
|
+
} else t15 = $[25];
|
|
618
658
|
let t16;
|
|
619
|
-
if ($[
|
|
659
|
+
if ($[26] !== t13 || $[27] !== t15 || $[28] !== t2) {
|
|
620
660
|
t16 = /* @__PURE__ */ jsxs("div", {
|
|
621
661
|
className: "space-y-4",
|
|
622
662
|
children: [
|
|
@@ -625,20 +665,24 @@ const DLQJobDetailContent = memo((t0) => {
|
|
|
625
665
|
t15
|
|
626
666
|
]
|
|
627
667
|
});
|
|
628
|
-
$[
|
|
629
|
-
$[
|
|
630
|
-
$[
|
|
631
|
-
$[
|
|
632
|
-
} else t16 = $[
|
|
668
|
+
$[26] = t13;
|
|
669
|
+
$[27] = t15;
|
|
670
|
+
$[28] = t2;
|
|
671
|
+
$[29] = t16;
|
|
672
|
+
} else t16 = $[29];
|
|
633
673
|
return t16;
|
|
634
674
|
});
|
|
635
675
|
DLQJobDetailContent.displayName = "DLQJobDetailContent";
|
|
636
676
|
const DLQJobDataTab = memo((t0) => {
|
|
637
|
-
const $ = c(
|
|
677
|
+
const $ = c(3);
|
|
678
|
+
if ($[0] !== "9c642c700580e607dc6114475cae1bdbb21b1057857ec3c5d1e46ac6c107027a") {
|
|
679
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
680
|
+
$[0] = "9c642c700580e607dc6114475cae1bdbb21b1057857ec3c5d1e46ac6c107027a";
|
|
681
|
+
}
|
|
638
682
|
const { data } = t0;
|
|
639
683
|
const t1 = data;
|
|
640
684
|
let t2;
|
|
641
|
-
if ($[
|
|
685
|
+
if ($[1] !== t1) {
|
|
642
686
|
t2 = /* @__PURE__ */ jsx("div", {
|
|
643
687
|
className: "bg-muted/30 p-4 rounded overflow-auto max-h-[400px]",
|
|
644
688
|
children: /* @__PURE__ */ jsx(JsonView, {
|
|
@@ -647,29 +691,33 @@ const DLQJobDataTab = memo((t0) => {
|
|
|
647
691
|
collapsed: 2
|
|
648
692
|
})
|
|
649
693
|
});
|
|
650
|
-
$[
|
|
651
|
-
$[
|
|
652
|
-
} else t2 = $[
|
|
694
|
+
$[1] = t1;
|
|
695
|
+
$[2] = t2;
|
|
696
|
+
} else t2 = $[2];
|
|
653
697
|
return t2;
|
|
654
698
|
});
|
|
655
699
|
DLQJobDataTab.displayName = "DLQJobDataTab";
|
|
656
700
|
const DLQPanel = memo(() => {
|
|
657
|
-
const $ = c(
|
|
701
|
+
const $ = c(66);
|
|
702
|
+
if ($[0] !== "9c642c700580e607dc6114475cae1bdbb21b1057857ec3c5d1e46ac6c107027a") {
|
|
703
|
+
for (let $i = 0; $i < 66; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
704
|
+
$[0] = "9c642c700580e607dc6114475cae1bdbb21b1057857ec3c5d1e46ac6c107027a";
|
|
705
|
+
}
|
|
658
706
|
const selectedQueue = useBullMQStore(_temp$5);
|
|
659
707
|
const { data: t0, isLoading, refetch } = useDLQJobsQuery(selectedQueue?.isDLQ ? selectedQueue.name : void 0);
|
|
660
708
|
let t1;
|
|
661
|
-
if ($[
|
|
709
|
+
if ($[1] !== t0) {
|
|
662
710
|
t1 = t0 === void 0 ? [] : t0;
|
|
663
|
-
$[
|
|
664
|
-
$[
|
|
665
|
-
} else t1 = $[
|
|
711
|
+
$[1] = t0;
|
|
712
|
+
$[2] = t1;
|
|
713
|
+
} else t1 = $[2];
|
|
666
714
|
const dlqJobs = t1;
|
|
667
715
|
const retryFromDLQMutation = useRetryFromDLQ();
|
|
668
716
|
const retryAllFromDLQMutation = useRetryAllFromDLQ();
|
|
669
717
|
const clearDLQMutation = useClearDLQ();
|
|
670
718
|
const [selectedDlqJob, setSelectedDlqJob] = useState(null);
|
|
671
719
|
let t2;
|
|
672
|
-
if ($[
|
|
720
|
+
if ($[3] !== retryFromDLQMutation || $[4] !== selectedQueue) {
|
|
673
721
|
t2 = (jobId) => {
|
|
674
722
|
if (!selectedQueue) return;
|
|
675
723
|
retryFromDLQMutation.mutate({
|
|
@@ -677,67 +725,67 @@ const DLQPanel = memo(() => {
|
|
|
677
725
|
jobId
|
|
678
726
|
});
|
|
679
727
|
};
|
|
680
|
-
$[
|
|
681
|
-
$[
|
|
682
|
-
$[
|
|
683
|
-
} else t2 = $[
|
|
728
|
+
$[3] = retryFromDLQMutation;
|
|
729
|
+
$[4] = selectedQueue;
|
|
730
|
+
$[5] = t2;
|
|
731
|
+
} else t2 = $[5];
|
|
684
732
|
const handleRetry = t2;
|
|
685
733
|
let t3;
|
|
686
|
-
if ($[
|
|
734
|
+
if ($[6] !== retryAllFromDLQMutation || $[7] !== selectedQueue) {
|
|
687
735
|
t3 = () => {
|
|
688
736
|
if (!selectedQueue) return;
|
|
689
737
|
retryAllFromDLQMutation.mutate({ queueName: selectedQueue.name });
|
|
690
738
|
};
|
|
691
|
-
$[
|
|
692
|
-
$[
|
|
693
|
-
$[
|
|
694
|
-
} else t3 = $[
|
|
739
|
+
$[6] = retryAllFromDLQMutation;
|
|
740
|
+
$[7] = selectedQueue;
|
|
741
|
+
$[8] = t3;
|
|
742
|
+
} else t3 = $[8];
|
|
695
743
|
const handleRetryAll = t3;
|
|
696
744
|
let t4;
|
|
697
|
-
if ($[
|
|
745
|
+
if ($[9] !== clearDLQMutation || $[10] !== selectedQueue) {
|
|
698
746
|
t4 = () => {
|
|
699
747
|
if (!selectedQueue) return;
|
|
700
748
|
clearDLQMutation.mutate({ queueName: selectedQueue.name });
|
|
701
749
|
};
|
|
702
|
-
$[
|
|
703
|
-
$[
|
|
704
|
-
$[
|
|
705
|
-
} else t4 = $[
|
|
750
|
+
$[9] = clearDLQMutation;
|
|
751
|
+
$[10] = selectedQueue;
|
|
752
|
+
$[11] = t4;
|
|
753
|
+
} else t4 = $[11];
|
|
706
754
|
const handleClear = t4;
|
|
707
755
|
let t5;
|
|
708
|
-
if ($[
|
|
756
|
+
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
709
757
|
t5 = () => {
|
|
710
758
|
setSelectedDlqJob(null);
|
|
711
759
|
};
|
|
712
|
-
$[
|
|
713
|
-
} else t5 = $[
|
|
760
|
+
$[12] = t5;
|
|
761
|
+
} else t5 = $[12];
|
|
714
762
|
const handleCloseSidePanel = t5;
|
|
715
763
|
let t6;
|
|
716
|
-
if ($[
|
|
764
|
+
if ($[13] !== handleRetry || $[14] !== selectedDlqJob) {
|
|
717
765
|
t6 = () => {
|
|
718
766
|
if (selectedDlqJob) {
|
|
719
767
|
handleRetry(selectedDlqJob.id);
|
|
720
768
|
setSelectedDlqJob(null);
|
|
721
769
|
}
|
|
722
770
|
};
|
|
723
|
-
$[
|
|
724
|
-
$[
|
|
725
|
-
$[
|
|
726
|
-
} else t6 = $[
|
|
771
|
+
$[13] = handleRetry;
|
|
772
|
+
$[14] = selectedDlqJob;
|
|
773
|
+
$[15] = t6;
|
|
774
|
+
} else t6 = $[15];
|
|
727
775
|
const handleRetryAndClose = t6;
|
|
728
776
|
if (!selectedQueue?.isDLQ) return null;
|
|
729
777
|
let t7;
|
|
730
|
-
if ($[
|
|
778
|
+
if ($[16] !== selectedQueue.displayName) {
|
|
731
779
|
t7 = /* @__PURE__ */ jsx("h2", {
|
|
732
780
|
className: "font-semibold text-lg",
|
|
733
781
|
children: selectedQueue.displayName
|
|
734
782
|
});
|
|
735
|
-
$[
|
|
736
|
-
$[
|
|
737
|
-
} else t7 = $[
|
|
783
|
+
$[16] = selectedQueue.displayName;
|
|
784
|
+
$[17] = t7;
|
|
785
|
+
} else t7 = $[17];
|
|
738
786
|
const t8 = dlqJobs.length !== 1 ? "s" : "";
|
|
739
787
|
let t9;
|
|
740
|
-
if ($[
|
|
788
|
+
if ($[18] !== dlqJobs.length || $[19] !== t8) {
|
|
741
789
|
t9 = /* @__PURE__ */ jsxs("p", {
|
|
742
790
|
className: "text-sm text-muted-foreground",
|
|
743
791
|
children: [
|
|
@@ -747,32 +795,32 @@ const DLQPanel = memo(() => {
|
|
|
747
795
|
" in dead letter queue"
|
|
748
796
|
]
|
|
749
797
|
});
|
|
750
|
-
$[
|
|
751
|
-
$[
|
|
752
|
-
$[
|
|
753
|
-
} else t9 = $[
|
|
798
|
+
$[18] = dlqJobs.length;
|
|
799
|
+
$[19] = t8;
|
|
800
|
+
$[20] = t9;
|
|
801
|
+
} else t9 = $[20];
|
|
754
802
|
let t10;
|
|
755
|
-
if ($[
|
|
803
|
+
if ($[21] !== t7 || $[22] !== t9) {
|
|
756
804
|
t10 = /* @__PURE__ */ jsxs("div", { children: [t7, t9] });
|
|
757
|
-
$[
|
|
758
|
-
$[
|
|
759
|
-
$[
|
|
760
|
-
} else t10 = $[
|
|
805
|
+
$[21] = t7;
|
|
806
|
+
$[22] = t9;
|
|
807
|
+
$[23] = t10;
|
|
808
|
+
} else t10 = $[23];
|
|
761
809
|
let t11;
|
|
762
|
-
if ($[
|
|
810
|
+
if ($[24] !== refetch) {
|
|
763
811
|
t11 = () => refetch();
|
|
764
|
-
$[
|
|
765
|
-
$[
|
|
766
|
-
} else t11 = $[
|
|
812
|
+
$[24] = refetch;
|
|
813
|
+
$[25] = t11;
|
|
814
|
+
} else t11 = $[25];
|
|
767
815
|
const t12 = `h-4 w-4 ${isLoading ? "animate-spin" : ""}`;
|
|
768
816
|
let t13;
|
|
769
|
-
if ($[
|
|
817
|
+
if ($[26] !== t12) {
|
|
770
818
|
t13 = /* @__PURE__ */ jsx(RefreshCw, { className: t12 });
|
|
771
|
-
$[
|
|
772
|
-
$[
|
|
773
|
-
} else t13 = $[
|
|
819
|
+
$[26] = t12;
|
|
820
|
+
$[27] = t13;
|
|
821
|
+
} else t13 = $[27];
|
|
774
822
|
let t14;
|
|
775
|
-
if ($[
|
|
823
|
+
if ($[28] !== isLoading || $[29] !== t11 || $[30] !== t13) {
|
|
776
824
|
t14 = /* @__PURE__ */ jsx(TooltipTrigger, {
|
|
777
825
|
asChild: true,
|
|
778
826
|
children: /* @__PURE__ */ jsx(Button, {
|
|
@@ -783,30 +831,30 @@ const DLQPanel = memo(() => {
|
|
|
783
831
|
children: t13
|
|
784
832
|
})
|
|
785
833
|
});
|
|
786
|
-
$[
|
|
787
|
-
$[
|
|
788
|
-
$[
|
|
789
|
-
$[
|
|
790
|
-
} else t14 = $[
|
|
834
|
+
$[28] = isLoading;
|
|
835
|
+
$[29] = t11;
|
|
836
|
+
$[30] = t13;
|
|
837
|
+
$[31] = t14;
|
|
838
|
+
} else t14 = $[31];
|
|
791
839
|
let t15;
|
|
792
|
-
if ($[
|
|
840
|
+
if ($[32] === Symbol.for("react.memo_cache_sentinel")) {
|
|
793
841
|
t15 = /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Refresh DLQ jobs list" }) });
|
|
794
|
-
$[
|
|
795
|
-
} else t15 = $[
|
|
842
|
+
$[32] = t15;
|
|
843
|
+
} else t15 = $[32];
|
|
796
844
|
let t16;
|
|
797
|
-
if ($[
|
|
845
|
+
if ($[33] !== t14) {
|
|
798
846
|
t16 = /* @__PURE__ */ jsxs(Tooltip, { children: [t14, t15] });
|
|
799
|
-
$[
|
|
800
|
-
$[
|
|
801
|
-
} else t16 = $[
|
|
847
|
+
$[33] = t14;
|
|
848
|
+
$[34] = t16;
|
|
849
|
+
} else t16 = $[34];
|
|
802
850
|
const t17 = dlqJobs.length === 0;
|
|
803
851
|
let t18;
|
|
804
|
-
if ($[
|
|
852
|
+
if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
|
|
805
853
|
t18 = /* @__PURE__ */ jsx(RefreshCw, { className: "mr-2 h-4 w-4" });
|
|
806
|
-
$[
|
|
807
|
-
} else t18 = $[
|
|
854
|
+
$[35] = t18;
|
|
855
|
+
} else t18 = $[35];
|
|
808
856
|
let t19;
|
|
809
|
-
if ($[
|
|
857
|
+
if ($[36] !== handleRetryAll || $[37] !== t17) {
|
|
810
858
|
t19 = /* @__PURE__ */ jsx(TooltipTrigger, {
|
|
811
859
|
asChild: true,
|
|
812
860
|
children: /* @__PURE__ */ jsxs(Button, {
|
|
@@ -817,29 +865,29 @@ const DLQPanel = memo(() => {
|
|
|
817
865
|
children: [t18, "Retry All"]
|
|
818
866
|
})
|
|
819
867
|
});
|
|
820
|
-
$[
|
|
821
|
-
$[
|
|
822
|
-
$[
|
|
823
|
-
} else t19 = $[
|
|
868
|
+
$[36] = handleRetryAll;
|
|
869
|
+
$[37] = t17;
|
|
870
|
+
$[38] = t19;
|
|
871
|
+
} else t19 = $[38];
|
|
824
872
|
let t20;
|
|
825
|
-
if ($[
|
|
873
|
+
if ($[39] === Symbol.for("react.memo_cache_sentinel")) {
|
|
826
874
|
t20 = /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Re-queue all failed jobs to the original queue" }) });
|
|
827
|
-
$[
|
|
828
|
-
} else t20 = $[
|
|
875
|
+
$[39] = t20;
|
|
876
|
+
} else t20 = $[39];
|
|
829
877
|
let t21;
|
|
830
|
-
if ($[
|
|
878
|
+
if ($[40] !== t19) {
|
|
831
879
|
t21 = /* @__PURE__ */ jsxs(Tooltip, { children: [t19, t20] });
|
|
832
|
-
$[
|
|
833
|
-
$[
|
|
834
|
-
} else t21 = $[
|
|
880
|
+
$[40] = t19;
|
|
881
|
+
$[41] = t21;
|
|
882
|
+
} else t21 = $[41];
|
|
835
883
|
const t22 = dlqJobs.length === 0;
|
|
836
884
|
let t23;
|
|
837
|
-
if ($[
|
|
885
|
+
if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
|
|
838
886
|
t23 = /* @__PURE__ */ jsx(Trash, { className: "mr-2 h-4 w-4" });
|
|
839
|
-
$[
|
|
840
|
-
} else t23 = $[
|
|
887
|
+
$[42] = t23;
|
|
888
|
+
} else t23 = $[42];
|
|
841
889
|
let t24;
|
|
842
|
-
if ($[
|
|
890
|
+
if ($[43] !== handleClear || $[44] !== t22) {
|
|
843
891
|
t24 = /* @__PURE__ */ jsx(TooltipTrigger, {
|
|
844
892
|
asChild: true,
|
|
845
893
|
children: /* @__PURE__ */ jsxs(Button, {
|
|
@@ -851,23 +899,23 @@ const DLQPanel = memo(() => {
|
|
|
851
899
|
children: [t23, "Clear All"]
|
|
852
900
|
})
|
|
853
901
|
});
|
|
854
|
-
$[
|
|
855
|
-
$[
|
|
856
|
-
$[
|
|
857
|
-
} else t24 = $[
|
|
902
|
+
$[43] = handleClear;
|
|
903
|
+
$[44] = t22;
|
|
904
|
+
$[45] = t24;
|
|
905
|
+
} else t24 = $[45];
|
|
858
906
|
let t25;
|
|
859
|
-
if ($[
|
|
907
|
+
if ($[46] === Symbol.for("react.memo_cache_sentinel")) {
|
|
860
908
|
t25 = /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Permanently delete all jobs from DLQ" }) });
|
|
861
|
-
$[
|
|
862
|
-
} else t25 = $[
|
|
909
|
+
$[46] = t25;
|
|
910
|
+
} else t25 = $[46];
|
|
863
911
|
let t26;
|
|
864
|
-
if ($[
|
|
912
|
+
if ($[47] !== t24) {
|
|
865
913
|
t26 = /* @__PURE__ */ jsxs(Tooltip, { children: [t24, t25] });
|
|
866
|
-
$[
|
|
867
|
-
$[
|
|
868
|
-
} else t26 = $[
|
|
914
|
+
$[47] = t24;
|
|
915
|
+
$[48] = t26;
|
|
916
|
+
} else t26 = $[48];
|
|
869
917
|
let t27;
|
|
870
|
-
if ($[
|
|
918
|
+
if ($[49] !== t16 || $[50] !== t21 || $[51] !== t26) {
|
|
871
919
|
t27 = /* @__PURE__ */ jsxs("div", {
|
|
872
920
|
className: "flex items-center gap-2",
|
|
873
921
|
children: [
|
|
@@ -876,23 +924,23 @@ const DLQPanel = memo(() => {
|
|
|
876
924
|
t26
|
|
877
925
|
]
|
|
878
926
|
});
|
|
879
|
-
$[
|
|
880
|
-
$[
|
|
881
|
-
$[
|
|
882
|
-
$[
|
|
883
|
-
} else t27 = $[
|
|
927
|
+
$[49] = t16;
|
|
928
|
+
$[50] = t21;
|
|
929
|
+
$[51] = t26;
|
|
930
|
+
$[52] = t27;
|
|
931
|
+
} else t27 = $[52];
|
|
884
932
|
let t28;
|
|
885
|
-
if ($[
|
|
933
|
+
if ($[53] !== t10 || $[54] !== t27) {
|
|
886
934
|
t28 = /* @__PURE__ */ jsxs("div", {
|
|
887
935
|
className: "flex items-center justify-between p-3 border-b border-border",
|
|
888
936
|
children: [t10, t27]
|
|
889
937
|
});
|
|
890
|
-
$[
|
|
891
|
-
$[
|
|
892
|
-
$[
|
|
893
|
-
} else t28 = $[
|
|
938
|
+
$[53] = t10;
|
|
939
|
+
$[54] = t27;
|
|
940
|
+
$[55] = t28;
|
|
941
|
+
} else t28 = $[55];
|
|
894
942
|
let t29;
|
|
895
|
-
if ($[
|
|
943
|
+
if ($[56] !== dlqJobs || $[57] !== handleRetry) {
|
|
896
944
|
t29 = dlqJobs.length === 0 ? /* @__PURE__ */ jsx("div", {
|
|
897
945
|
className: "flex items-center justify-center flex-1 text-muted-foreground",
|
|
898
946
|
children: "No jobs in dead letter queue"
|
|
@@ -959,12 +1007,12 @@ const DLQPanel = memo(() => {
|
|
|
959
1007
|
]
|
|
960
1008
|
}, job.id)) })] })
|
|
961
1009
|
});
|
|
962
|
-
$[
|
|
963
|
-
$[
|
|
964
|
-
$[
|
|
965
|
-
} else t29 = $[
|
|
1010
|
+
$[56] = dlqJobs;
|
|
1011
|
+
$[57] = handleRetry;
|
|
1012
|
+
$[58] = t29;
|
|
1013
|
+
} else t29 = $[58];
|
|
966
1014
|
let t30;
|
|
967
|
-
if ($[
|
|
1015
|
+
if ($[59] !== handleRetryAndClose || $[60] !== selectedDlqJob) {
|
|
968
1016
|
t30 = selectedDlqJob && /* @__PURE__ */ jsx(Sidebar, {
|
|
969
1017
|
onClose: handleCloseSidePanel,
|
|
970
1018
|
title: "Dead Letter Job",
|
|
@@ -985,12 +1033,12 @@ const DLQPanel = memo(() => {
|
|
|
985
1033
|
label: "Close"
|
|
986
1034
|
}]
|
|
987
1035
|
});
|
|
988
|
-
$[
|
|
989
|
-
$[
|
|
990
|
-
$[
|
|
991
|
-
} else t30 = $[
|
|
1036
|
+
$[59] = handleRetryAndClose;
|
|
1037
|
+
$[60] = selectedDlqJob;
|
|
1038
|
+
$[61] = t30;
|
|
1039
|
+
} else t30 = $[61];
|
|
992
1040
|
let t31;
|
|
993
|
-
if ($[
|
|
1041
|
+
if ($[62] !== t28 || $[63] !== t29 || $[64] !== t30) {
|
|
994
1042
|
t31 = /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs("div", {
|
|
995
1043
|
className: "flex flex-col h-full",
|
|
996
1044
|
children: [
|
|
@@ -999,11 +1047,11 @@ const DLQPanel = memo(() => {
|
|
|
999
1047
|
t30
|
|
1000
1048
|
]
|
|
1001
1049
|
}) });
|
|
1002
|
-
$[
|
|
1003
|
-
$[
|
|
1004
|
-
$[
|
|
1005
|
-
$[
|
|
1006
|
-
} else t31 = $[
|
|
1050
|
+
$[62] = t28;
|
|
1051
|
+
$[63] = t29;
|
|
1052
|
+
$[64] = t30;
|
|
1053
|
+
$[65] = t31;
|
|
1054
|
+
} else t31 = $[65];
|
|
1007
1055
|
return t31;
|
|
1008
1056
|
});
|
|
1009
1057
|
DLQPanel.displayName = "DLQPanel";
|
|
@@ -1017,11 +1065,15 @@ function _temp2$5(e) {
|
|
|
1017
1065
|
//#endregion
|
|
1018
1066
|
//#region src/components/job-detail.tsx
|
|
1019
1067
|
const JobDataTab = memo((t0) => {
|
|
1020
|
-
const $ = c(
|
|
1068
|
+
const $ = c(3);
|
|
1069
|
+
if ($[0] !== "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd") {
|
|
1070
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1071
|
+
$[0] = "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd";
|
|
1072
|
+
}
|
|
1021
1073
|
const { data } = t0;
|
|
1022
1074
|
const t1 = data;
|
|
1023
1075
|
let t2;
|
|
1024
|
-
if ($[
|
|
1076
|
+
if ($[1] !== t1) {
|
|
1025
1077
|
t2 = /* @__PURE__ */ jsx("div", {
|
|
1026
1078
|
className: "bg-muted/30 p-4 rounded",
|
|
1027
1079
|
children: /* @__PURE__ */ jsx(JsonView, {
|
|
@@ -1030,17 +1082,21 @@ const JobDataTab = memo((t0) => {
|
|
|
1030
1082
|
collapsed: 2
|
|
1031
1083
|
})
|
|
1032
1084
|
});
|
|
1033
|
-
$[
|
|
1034
|
-
$[
|
|
1035
|
-
} else t2 = $[
|
|
1085
|
+
$[1] = t1;
|
|
1086
|
+
$[2] = t2;
|
|
1087
|
+
} else t2 = $[2];
|
|
1036
1088
|
return t2;
|
|
1037
1089
|
});
|
|
1038
1090
|
JobDataTab.displayName = "JobDataTab";
|
|
1039
1091
|
const JobOptionsTab = memo((t0) => {
|
|
1040
|
-
const $ = c(
|
|
1092
|
+
const $ = c(3);
|
|
1093
|
+
if ($[0] !== "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd") {
|
|
1094
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1095
|
+
$[0] = "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd";
|
|
1096
|
+
}
|
|
1041
1097
|
const { opts } = t0;
|
|
1042
1098
|
let t1;
|
|
1043
|
-
if ($[
|
|
1099
|
+
if ($[1] !== opts) {
|
|
1044
1100
|
t1 = /* @__PURE__ */ jsx("div", {
|
|
1045
1101
|
className: "bg-muted/30 p-4 rounded",
|
|
1046
1102
|
children: /* @__PURE__ */ jsx(JsonView, {
|
|
@@ -1049,18 +1105,22 @@ const JobOptionsTab = memo((t0) => {
|
|
|
1049
1105
|
collapsed: 2
|
|
1050
1106
|
})
|
|
1051
1107
|
});
|
|
1052
|
-
$[
|
|
1053
|
-
$[
|
|
1054
|
-
} else t1 = $[
|
|
1108
|
+
$[1] = opts;
|
|
1109
|
+
$[2] = t1;
|
|
1110
|
+
} else t1 = $[2];
|
|
1055
1111
|
return t1;
|
|
1056
1112
|
});
|
|
1057
1113
|
JobOptionsTab.displayName = "JobOptionsTab";
|
|
1058
1114
|
const JobResultTab = memo((t0) => {
|
|
1059
|
-
const $ = c(
|
|
1115
|
+
const $ = c(3);
|
|
1116
|
+
if ($[0] !== "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd") {
|
|
1117
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1118
|
+
$[0] = "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd";
|
|
1119
|
+
}
|
|
1060
1120
|
const { returnvalue } = t0;
|
|
1061
1121
|
const t1 = returnvalue;
|
|
1062
1122
|
let t2;
|
|
1063
|
-
if ($[
|
|
1123
|
+
if ($[1] !== t1) {
|
|
1064
1124
|
t2 = /* @__PURE__ */ jsx("div", {
|
|
1065
1125
|
className: "bg-muted/30 p-4 rounded",
|
|
1066
1126
|
children: /* @__PURE__ */ jsx(JsonView, {
|
|
@@ -1069,34 +1129,38 @@ const JobResultTab = memo((t0) => {
|
|
|
1069
1129
|
collapsed: 2
|
|
1070
1130
|
})
|
|
1071
1131
|
});
|
|
1072
|
-
$[
|
|
1073
|
-
$[
|
|
1074
|
-
} else t2 = $[
|
|
1132
|
+
$[1] = t1;
|
|
1133
|
+
$[2] = t2;
|
|
1134
|
+
} else t2 = $[2];
|
|
1075
1135
|
return t2;
|
|
1076
1136
|
});
|
|
1077
1137
|
JobResultTab.displayName = "JobResultTab";
|
|
1078
1138
|
const JobErrorTab = memo((t0) => {
|
|
1079
|
-
const $ = c(
|
|
1139
|
+
const $ = c(9);
|
|
1140
|
+
if ($[0] !== "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd") {
|
|
1141
|
+
for (let $i = 0; $i < 9; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1142
|
+
$[0] = "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd";
|
|
1143
|
+
}
|
|
1080
1144
|
const { failedReason, stacktrace } = t0;
|
|
1081
1145
|
let t1;
|
|
1082
|
-
if ($[
|
|
1146
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1083
1147
|
t1 = /* @__PURE__ */ jsx("div", {
|
|
1084
1148
|
className: "text-sm font-semibold text-destructive mb-1",
|
|
1085
1149
|
children: "Error Message"
|
|
1086
1150
|
});
|
|
1087
|
-
$[
|
|
1088
|
-
} else t1 = $[
|
|
1151
|
+
$[1] = t1;
|
|
1152
|
+
} else t1 = $[1];
|
|
1089
1153
|
let t2;
|
|
1090
|
-
if ($[
|
|
1154
|
+
if ($[2] !== failedReason) {
|
|
1091
1155
|
t2 = /* @__PURE__ */ jsxs("div", { children: [t1, /* @__PURE__ */ jsx("div", {
|
|
1092
1156
|
className: "font-mono text-sm bg-destructive/10 p-3 rounded text-destructive",
|
|
1093
1157
|
children: failedReason
|
|
1094
1158
|
})] });
|
|
1095
|
-
$[
|
|
1096
|
-
$[
|
|
1097
|
-
} else t2 = $[
|
|
1159
|
+
$[2] = failedReason;
|
|
1160
|
+
$[3] = t2;
|
|
1161
|
+
} else t2 = $[3];
|
|
1098
1162
|
let t3;
|
|
1099
|
-
if ($[
|
|
1163
|
+
if ($[4] !== stacktrace) {
|
|
1100
1164
|
t3 = stacktrace && stacktrace.length > 0 && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
|
|
1101
1165
|
className: "text-sm font-semibold text-muted-foreground mb-1",
|
|
1102
1166
|
children: "Stack Trace"
|
|
@@ -1104,24 +1168,28 @@ const JobErrorTab = memo((t0) => {
|
|
|
1104
1168
|
className: "font-mono text-xs bg-muted p-3 rounded overflow-auto max-h-[300px]",
|
|
1105
1169
|
children: stacktrace.join("\n")
|
|
1106
1170
|
})] });
|
|
1107
|
-
$[
|
|
1108
|
-
$[
|
|
1109
|
-
} else t3 = $[
|
|
1171
|
+
$[4] = stacktrace;
|
|
1172
|
+
$[5] = t3;
|
|
1173
|
+
} else t3 = $[5];
|
|
1110
1174
|
let t4;
|
|
1111
|
-
if ($[
|
|
1175
|
+
if ($[6] !== t2 || $[7] !== t3) {
|
|
1112
1176
|
t4 = /* @__PURE__ */ jsxs("div", {
|
|
1113
1177
|
className: "space-y-4",
|
|
1114
1178
|
children: [t2, t3]
|
|
1115
1179
|
});
|
|
1116
|
-
$[
|
|
1117
|
-
$[
|
|
1118
|
-
$[
|
|
1119
|
-
} else t4 = $[
|
|
1180
|
+
$[6] = t2;
|
|
1181
|
+
$[7] = t3;
|
|
1182
|
+
$[8] = t4;
|
|
1183
|
+
} else t4 = $[8];
|
|
1120
1184
|
return t4;
|
|
1121
1185
|
});
|
|
1122
1186
|
JobErrorTab.displayName = "JobErrorTab";
|
|
1123
1187
|
const JobDetail = memo(() => {
|
|
1124
|
-
const $ = c(
|
|
1188
|
+
const $ = c(92);
|
|
1189
|
+
if ($[0] !== "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd") {
|
|
1190
|
+
for (let $i = 0; $i < 92; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1191
|
+
$[0] = "3b06a00e91af27c8dc4dbe23232bee1ad67432d0e4c5ed3ab9b136e6d2a7a3cd";
|
|
1192
|
+
}
|
|
1125
1193
|
const selectedJob = useBullMQStore(_temp$4);
|
|
1126
1194
|
const selectedQueue = useBullMQStore(_temp2$4);
|
|
1127
1195
|
const jobDetailOpen = useBullMQStore(_temp3$3);
|
|
@@ -1131,18 +1199,18 @@ const JobDetail = memo(() => {
|
|
|
1131
1199
|
const removeJobMutation = useRemoveJob();
|
|
1132
1200
|
const promoteJobMutation = usePromoteJob();
|
|
1133
1201
|
let t0;
|
|
1134
|
-
if ($[
|
|
1202
|
+
if ($[1] !== setJobDetailOpen || $[2] !== setSelectedJob) {
|
|
1135
1203
|
t0 = () => {
|
|
1136
1204
|
setJobDetailOpen(false);
|
|
1137
1205
|
setSelectedJob(null);
|
|
1138
1206
|
};
|
|
1139
|
-
$[
|
|
1140
|
-
$[
|
|
1141
|
-
$[
|
|
1142
|
-
} else t0 = $[
|
|
1207
|
+
$[1] = setJobDetailOpen;
|
|
1208
|
+
$[2] = setSelectedJob;
|
|
1209
|
+
$[3] = t0;
|
|
1210
|
+
} else t0 = $[3];
|
|
1143
1211
|
const handleClose = t0;
|
|
1144
1212
|
let t1;
|
|
1145
|
-
if ($[
|
|
1213
|
+
if ($[4] !== handleClose || $[5] !== retryJobMutation || $[6] !== selectedJob || $[7] !== selectedQueue) {
|
|
1146
1214
|
t1 = () => {
|
|
1147
1215
|
if (!selectedQueue || !selectedJob) return;
|
|
1148
1216
|
retryJobMutation.mutate({
|
|
@@ -1151,15 +1219,15 @@ const JobDetail = memo(() => {
|
|
|
1151
1219
|
});
|
|
1152
1220
|
handleClose();
|
|
1153
1221
|
};
|
|
1154
|
-
$[
|
|
1155
|
-
$[
|
|
1156
|
-
$[
|
|
1157
|
-
$[
|
|
1158
|
-
$[
|
|
1159
|
-
} else t1 = $[
|
|
1222
|
+
$[4] = handleClose;
|
|
1223
|
+
$[5] = retryJobMutation;
|
|
1224
|
+
$[6] = selectedJob;
|
|
1225
|
+
$[7] = selectedQueue;
|
|
1226
|
+
$[8] = t1;
|
|
1227
|
+
} else t1 = $[8];
|
|
1160
1228
|
const handleRetry = t1;
|
|
1161
1229
|
let t2;
|
|
1162
|
-
if ($[
|
|
1230
|
+
if ($[9] !== handleClose || $[10] !== removeJobMutation || $[11] !== selectedJob || $[12] !== selectedQueue) {
|
|
1163
1231
|
t2 = () => {
|
|
1164
1232
|
if (!selectedQueue || !selectedJob) return;
|
|
1165
1233
|
removeJobMutation.mutate({
|
|
@@ -1168,15 +1236,15 @@ const JobDetail = memo(() => {
|
|
|
1168
1236
|
});
|
|
1169
1237
|
handleClose();
|
|
1170
1238
|
};
|
|
1171
|
-
$[
|
|
1172
|
-
$[
|
|
1173
|
-
$[
|
|
1174
|
-
$[
|
|
1175
|
-
$[
|
|
1176
|
-
} else t2 = $[
|
|
1239
|
+
$[9] = handleClose;
|
|
1240
|
+
$[10] = removeJobMutation;
|
|
1241
|
+
$[11] = selectedJob;
|
|
1242
|
+
$[12] = selectedQueue;
|
|
1243
|
+
$[13] = t2;
|
|
1244
|
+
} else t2 = $[13];
|
|
1177
1245
|
const handleRemove = t2;
|
|
1178
1246
|
let t3;
|
|
1179
|
-
if ($[
|
|
1247
|
+
if ($[14] !== handleClose || $[15] !== promoteJobMutation || $[16] !== selectedJob || $[17] !== selectedQueue) {
|
|
1180
1248
|
t3 = () => {
|
|
1181
1249
|
if (!selectedQueue || !selectedJob) return;
|
|
1182
1250
|
promoteJobMutation.mutate({
|
|
@@ -1185,47 +1253,47 @@ const JobDetail = memo(() => {
|
|
|
1185
1253
|
});
|
|
1186
1254
|
handleClose();
|
|
1187
1255
|
};
|
|
1188
|
-
$[
|
|
1189
|
-
$[
|
|
1190
|
-
$[
|
|
1191
|
-
$[
|
|
1192
|
-
$[
|
|
1193
|
-
} else t3 = $[
|
|
1256
|
+
$[14] = handleClose;
|
|
1257
|
+
$[15] = promoteJobMutation;
|
|
1258
|
+
$[16] = selectedJob;
|
|
1259
|
+
$[17] = selectedQueue;
|
|
1260
|
+
$[18] = t3;
|
|
1261
|
+
} else t3 = $[18];
|
|
1194
1262
|
const handlePromote = t3;
|
|
1195
1263
|
if (!jobDetailOpen || !selectedJob || !selectedQueue) return null;
|
|
1196
1264
|
const hasError = !!selectedJob.failedReason;
|
|
1197
1265
|
const isDelayed = selectedJob.delay && selectedJob.delay > 0;
|
|
1198
1266
|
const hasReturnValue = selectedJob.returnvalue !== void 0 && selectedJob.returnvalue !== null;
|
|
1199
1267
|
let t4;
|
|
1200
|
-
if ($[
|
|
1268
|
+
if ($[19] !== selectedJob.data) {
|
|
1201
1269
|
t4 = {
|
|
1202
1270
|
label: "Data",
|
|
1203
1271
|
content: /* @__PURE__ */ jsx(JobDataTab, { data: selectedJob.data })
|
|
1204
1272
|
};
|
|
1205
|
-
$[
|
|
1206
|
-
$[
|
|
1207
|
-
} else t4 = $[
|
|
1273
|
+
$[19] = selectedJob.data;
|
|
1274
|
+
$[20] = t4;
|
|
1275
|
+
} else t4 = $[20];
|
|
1208
1276
|
let t5;
|
|
1209
|
-
if ($[
|
|
1277
|
+
if ($[21] !== selectedJob.opts) {
|
|
1210
1278
|
t5 = {
|
|
1211
1279
|
label: "Options",
|
|
1212
1280
|
content: /* @__PURE__ */ jsx(JobOptionsTab, { opts: selectedJob.opts })
|
|
1213
1281
|
};
|
|
1214
|
-
$[
|
|
1215
|
-
$[
|
|
1216
|
-
} else t5 = $[
|
|
1282
|
+
$[21] = selectedJob.opts;
|
|
1283
|
+
$[22] = t5;
|
|
1284
|
+
} else t5 = $[22];
|
|
1217
1285
|
let t6;
|
|
1218
|
-
if ($[
|
|
1286
|
+
if ($[23] !== hasReturnValue || $[24] !== selectedJob.returnvalue) {
|
|
1219
1287
|
t6 = hasReturnValue ? [{
|
|
1220
1288
|
label: "Result",
|
|
1221
1289
|
content: /* @__PURE__ */ jsx(JobResultTab, { returnvalue: selectedJob.returnvalue })
|
|
1222
1290
|
}] : [];
|
|
1223
|
-
$[
|
|
1224
|
-
$[
|
|
1225
|
-
$[
|
|
1226
|
-
} else t6 = $[
|
|
1291
|
+
$[23] = hasReturnValue;
|
|
1292
|
+
$[24] = selectedJob.returnvalue;
|
|
1293
|
+
$[25] = t6;
|
|
1294
|
+
} else t6 = $[25];
|
|
1227
1295
|
let t7;
|
|
1228
|
-
if ($[
|
|
1296
|
+
if ($[26] !== hasError || $[27] !== selectedJob.failedReason || $[28] !== selectedJob.stacktrace) {
|
|
1229
1297
|
t7 = hasError ? [{
|
|
1230
1298
|
label: "Error",
|
|
1231
1299
|
content: /* @__PURE__ */ jsx(JobErrorTab, {
|
|
@@ -1233,28 +1301,28 @@ const JobDetail = memo(() => {
|
|
|
1233
1301
|
stacktrace: selectedJob.stacktrace
|
|
1234
1302
|
})
|
|
1235
1303
|
}] : [];
|
|
1236
|
-
$[
|
|
1237
|
-
$[
|
|
1238
|
-
$[
|
|
1239
|
-
$[
|
|
1240
|
-
} else t7 = $[
|
|
1304
|
+
$[26] = hasError;
|
|
1305
|
+
$[27] = selectedJob.failedReason;
|
|
1306
|
+
$[28] = selectedJob.stacktrace;
|
|
1307
|
+
$[29] = t7;
|
|
1308
|
+
} else t7 = $[29];
|
|
1241
1309
|
let t8;
|
|
1242
|
-
if ($[
|
|
1310
|
+
if ($[30] !== t4 || $[31] !== t5 || $[32] !== t6 || $[33] !== t7) {
|
|
1243
1311
|
t8 = [
|
|
1244
1312
|
t4,
|
|
1245
1313
|
t5,
|
|
1246
1314
|
...t6,
|
|
1247
1315
|
...t7
|
|
1248
1316
|
];
|
|
1249
|
-
$[
|
|
1250
|
-
$[
|
|
1251
|
-
$[
|
|
1252
|
-
$[
|
|
1253
|
-
$[
|
|
1254
|
-
} else t8 = $[
|
|
1317
|
+
$[30] = t4;
|
|
1318
|
+
$[31] = t5;
|
|
1319
|
+
$[32] = t6;
|
|
1320
|
+
$[33] = t7;
|
|
1321
|
+
$[34] = t8;
|
|
1322
|
+
} else t8 = $[34];
|
|
1255
1323
|
const tabs = t8;
|
|
1256
1324
|
let t9;
|
|
1257
|
-
if ($[
|
|
1325
|
+
if ($[35] !== hasError || $[36] !== isDelayed || $[37] !== selectedJob.finishedOn || $[38] !== selectedJob.processedOn) {
|
|
1258
1326
|
t9 = hasError ? /* @__PURE__ */ jsx("span", {
|
|
1259
1327
|
className: "text-destructive",
|
|
1260
1328
|
children: "Failed"
|
|
@@ -1271,60 +1339,60 @@ const JobDetail = memo(() => {
|
|
|
1271
1339
|
className: "text-blue-500",
|
|
1272
1340
|
children: "Waiting"
|
|
1273
1341
|
});
|
|
1274
|
-
$[
|
|
1275
|
-
$[
|
|
1276
|
-
$[
|
|
1277
|
-
$[
|
|
1278
|
-
$[
|
|
1279
|
-
} else t9 = $[
|
|
1342
|
+
$[35] = hasError;
|
|
1343
|
+
$[36] = isDelayed;
|
|
1344
|
+
$[37] = selectedJob.finishedOn;
|
|
1345
|
+
$[38] = selectedJob.processedOn;
|
|
1346
|
+
$[39] = t9;
|
|
1347
|
+
} else t9 = $[39];
|
|
1280
1348
|
const statusElement = t9;
|
|
1281
1349
|
const t10 = selectedJob.name;
|
|
1282
1350
|
let t11;
|
|
1283
|
-
if ($[
|
|
1351
|
+
if ($[40] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1284
1352
|
t11 = /* @__PURE__ */ jsx(X, {});
|
|
1285
|
-
$[
|
|
1286
|
-
} else t11 = $[
|
|
1353
|
+
$[40] = t11;
|
|
1354
|
+
} else t11 = $[40];
|
|
1287
1355
|
let t12;
|
|
1288
|
-
if ($[
|
|
1356
|
+
if ($[41] !== handleClose) {
|
|
1289
1357
|
t12 = [{
|
|
1290
1358
|
icon: t11,
|
|
1291
1359
|
onClick: handleClose,
|
|
1292
1360
|
label: "Close"
|
|
1293
1361
|
}];
|
|
1294
|
-
$[
|
|
1295
|
-
$[
|
|
1296
|
-
} else t12 = $[
|
|
1362
|
+
$[41] = handleClose;
|
|
1363
|
+
$[42] = t12;
|
|
1364
|
+
} else t12 = $[42];
|
|
1297
1365
|
let t13;
|
|
1298
|
-
if ($[
|
|
1366
|
+
if ($[43] !== handleRetry || $[44] !== hasError) {
|
|
1299
1367
|
t13 = hasError && /* @__PURE__ */ jsxs(Button, {
|
|
1300
1368
|
variant: "outline",
|
|
1301
1369
|
size: "sm",
|
|
1302
1370
|
onClick: handleRetry,
|
|
1303
1371
|
children: [/* @__PURE__ */ jsx(RefreshCw, { className: "mr-2 h-4 w-4" }), "Retry"]
|
|
1304
1372
|
});
|
|
1305
|
-
$[
|
|
1306
|
-
$[
|
|
1307
|
-
$[
|
|
1308
|
-
} else t13 = $[
|
|
1373
|
+
$[43] = handleRetry;
|
|
1374
|
+
$[44] = hasError;
|
|
1375
|
+
$[45] = t13;
|
|
1376
|
+
} else t13 = $[45];
|
|
1309
1377
|
let t14;
|
|
1310
|
-
if ($[
|
|
1378
|
+
if ($[46] !== handlePromote || $[47] !== isDelayed) {
|
|
1311
1379
|
t14 = isDelayed && /* @__PURE__ */ jsxs(Button, {
|
|
1312
1380
|
variant: "outline",
|
|
1313
1381
|
size: "sm",
|
|
1314
1382
|
onClick: handlePromote,
|
|
1315
1383
|
children: [/* @__PURE__ */ jsx(ArrowUpRight, { className: "mr-2 h-4 w-4" }), "Promote"]
|
|
1316
1384
|
});
|
|
1317
|
-
$[
|
|
1318
|
-
$[
|
|
1319
|
-
$[
|
|
1320
|
-
} else t14 = $[
|
|
1385
|
+
$[46] = handlePromote;
|
|
1386
|
+
$[47] = isDelayed;
|
|
1387
|
+
$[48] = t14;
|
|
1388
|
+
} else t14 = $[48];
|
|
1321
1389
|
let t15;
|
|
1322
|
-
if ($[
|
|
1390
|
+
if ($[49] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1323
1391
|
t15 = /* @__PURE__ */ jsx(Trash, { className: "mr-2 h-4 w-4" });
|
|
1324
|
-
$[
|
|
1325
|
-
} else t15 = $[
|
|
1392
|
+
$[49] = t15;
|
|
1393
|
+
} else t15 = $[49];
|
|
1326
1394
|
let t16;
|
|
1327
|
-
if ($[
|
|
1395
|
+
if ($[50] !== handleRemove) {
|
|
1328
1396
|
t16 = /* @__PURE__ */ jsxs(Button, {
|
|
1329
1397
|
variant: "outline",
|
|
1330
1398
|
size: "sm",
|
|
@@ -1332,11 +1400,11 @@ const JobDetail = memo(() => {
|
|
|
1332
1400
|
className: "text-destructive",
|
|
1333
1401
|
children: [t15, "Remove"]
|
|
1334
1402
|
});
|
|
1335
|
-
$[
|
|
1336
|
-
$[
|
|
1337
|
-
} else t16 = $[
|
|
1403
|
+
$[50] = handleRemove;
|
|
1404
|
+
$[51] = t16;
|
|
1405
|
+
} else t16 = $[51];
|
|
1338
1406
|
let t17;
|
|
1339
|
-
if ($[
|
|
1407
|
+
if ($[52] !== t13 || $[53] !== t14 || $[54] !== t16) {
|
|
1340
1408
|
t17 = /* @__PURE__ */ jsxs("div", {
|
|
1341
1409
|
className: "flex gap-2",
|
|
1342
1410
|
children: [
|
|
@@ -1345,120 +1413,120 @@ const JobDetail = memo(() => {
|
|
|
1345
1413
|
t16
|
|
1346
1414
|
]
|
|
1347
1415
|
});
|
|
1348
|
-
$[
|
|
1349
|
-
$[
|
|
1350
|
-
$[
|
|
1351
|
-
$[
|
|
1352
|
-
} else t17 = $[
|
|
1416
|
+
$[52] = t13;
|
|
1417
|
+
$[53] = t14;
|
|
1418
|
+
$[54] = t16;
|
|
1419
|
+
$[55] = t17;
|
|
1420
|
+
} else t17 = $[55];
|
|
1353
1421
|
let t18;
|
|
1354
|
-
if ($[
|
|
1422
|
+
if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1355
1423
|
t18 = /* @__PURE__ */ jsx("span", {
|
|
1356
1424
|
className: "text-muted-foreground",
|
|
1357
1425
|
children: "Job ID"
|
|
1358
1426
|
});
|
|
1359
|
-
$[
|
|
1360
|
-
} else t18 = $[
|
|
1427
|
+
$[56] = t18;
|
|
1428
|
+
} else t18 = $[56];
|
|
1361
1429
|
let t19;
|
|
1362
|
-
if ($[
|
|
1430
|
+
if ($[57] !== selectedJob.id) {
|
|
1363
1431
|
t19 = /* @__PURE__ */ jsxs("div", { children: [t18, /* @__PURE__ */ jsx("div", {
|
|
1364
1432
|
className: "font-mono text-xs",
|
|
1365
1433
|
children: selectedJob.id
|
|
1366
1434
|
})] });
|
|
1367
|
-
$[
|
|
1368
|
-
$[
|
|
1369
|
-
} else t19 = $[
|
|
1435
|
+
$[57] = selectedJob.id;
|
|
1436
|
+
$[58] = t19;
|
|
1437
|
+
} else t19 = $[58];
|
|
1370
1438
|
let t20;
|
|
1371
|
-
if ($[
|
|
1439
|
+
if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1372
1440
|
t20 = /* @__PURE__ */ jsx("span", {
|
|
1373
1441
|
className: "text-muted-foreground",
|
|
1374
1442
|
children: "Status"
|
|
1375
1443
|
});
|
|
1376
|
-
$[
|
|
1377
|
-
} else t20 = $[
|
|
1444
|
+
$[59] = t20;
|
|
1445
|
+
} else t20 = $[59];
|
|
1378
1446
|
let t21;
|
|
1379
|
-
if ($[
|
|
1447
|
+
if ($[60] !== statusElement) {
|
|
1380
1448
|
t21 = /* @__PURE__ */ jsxs("div", { children: [t20, /* @__PURE__ */ jsx("div", {
|
|
1381
1449
|
className: "font-semibold",
|
|
1382
1450
|
children: statusElement
|
|
1383
1451
|
})] });
|
|
1384
|
-
$[
|
|
1385
|
-
$[
|
|
1386
|
-
} else t21 = $[
|
|
1452
|
+
$[60] = statusElement;
|
|
1453
|
+
$[61] = t21;
|
|
1454
|
+
} else t21 = $[61];
|
|
1387
1455
|
let t22;
|
|
1388
|
-
if ($[
|
|
1456
|
+
if ($[62] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1389
1457
|
t22 = /* @__PURE__ */ jsx("span", {
|
|
1390
1458
|
className: "text-muted-foreground",
|
|
1391
1459
|
children: "Created"
|
|
1392
1460
|
});
|
|
1393
|
-
$[
|
|
1394
|
-
} else t22 = $[
|
|
1461
|
+
$[62] = t22;
|
|
1462
|
+
} else t22 = $[62];
|
|
1395
1463
|
let t23;
|
|
1396
|
-
if ($[
|
|
1464
|
+
if ($[63] !== selectedJob.timestamp) {
|
|
1397
1465
|
t23 = formatDistanceToNow(selectedJob.timestamp, { addSuffix: true });
|
|
1398
|
-
$[
|
|
1399
|
-
$[
|
|
1400
|
-
} else t23 = $[
|
|
1466
|
+
$[63] = selectedJob.timestamp;
|
|
1467
|
+
$[64] = t23;
|
|
1468
|
+
} else t23 = $[64];
|
|
1401
1469
|
let t24;
|
|
1402
|
-
if ($[
|
|
1470
|
+
if ($[65] !== t23) {
|
|
1403
1471
|
t24 = /* @__PURE__ */ jsxs("div", { children: [t22, /* @__PURE__ */ jsx("div", { children: t23 })] });
|
|
1404
|
-
$[
|
|
1405
|
-
$[
|
|
1406
|
-
} else t24 = $[
|
|
1472
|
+
$[65] = t23;
|
|
1473
|
+
$[66] = t24;
|
|
1474
|
+
} else t24 = $[66];
|
|
1407
1475
|
let t25;
|
|
1408
|
-
if ($[
|
|
1476
|
+
if ($[67] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1409
1477
|
t25 = /* @__PURE__ */ jsx("span", {
|
|
1410
1478
|
className: "text-muted-foreground",
|
|
1411
1479
|
children: "Attempts"
|
|
1412
1480
|
});
|
|
1413
|
-
$[
|
|
1414
|
-
} else t25 = $[
|
|
1481
|
+
$[67] = t25;
|
|
1482
|
+
} else t25 = $[67];
|
|
1415
1483
|
let t26;
|
|
1416
|
-
if ($[
|
|
1484
|
+
if ($[68] !== selectedJob.attemptsMade) {
|
|
1417
1485
|
t26 = /* @__PURE__ */ jsxs("div", { children: [t25, /* @__PURE__ */ jsx("div", {
|
|
1418
1486
|
className: "font-semibold",
|
|
1419
1487
|
children: selectedJob.attemptsMade
|
|
1420
1488
|
})] });
|
|
1421
|
-
$[
|
|
1422
|
-
$[
|
|
1423
|
-
} else t26 = $[
|
|
1489
|
+
$[68] = selectedJob.attemptsMade;
|
|
1490
|
+
$[69] = t26;
|
|
1491
|
+
} else t26 = $[69];
|
|
1424
1492
|
let t27;
|
|
1425
|
-
if ($[
|
|
1493
|
+
if ($[70] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1426
1494
|
t27 = /* @__PURE__ */ jsx("span", {
|
|
1427
1495
|
className: "text-muted-foreground",
|
|
1428
1496
|
children: "Progress"
|
|
1429
1497
|
});
|
|
1430
|
-
$[
|
|
1431
|
-
} else t27 = $[
|
|
1498
|
+
$[70] = t27;
|
|
1499
|
+
} else t27 = $[70];
|
|
1432
1500
|
const t28 = typeof selectedJob.progress === "number" ? `${selectedJob.progress}%` : "-";
|
|
1433
1501
|
let t29;
|
|
1434
|
-
if ($[
|
|
1502
|
+
if ($[71] !== t28) {
|
|
1435
1503
|
t29 = /* @__PURE__ */ jsxs("div", { children: [t27, /* @__PURE__ */ jsx("div", {
|
|
1436
1504
|
className: "font-semibold",
|
|
1437
1505
|
children: t28
|
|
1438
1506
|
})] });
|
|
1439
|
-
$[
|
|
1440
|
-
$[
|
|
1441
|
-
} else t29 = $[
|
|
1507
|
+
$[71] = t28;
|
|
1508
|
+
$[72] = t29;
|
|
1509
|
+
} else t29 = $[72];
|
|
1442
1510
|
let t30;
|
|
1443
|
-
if ($[
|
|
1511
|
+
if ($[73] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1444
1512
|
t30 = /* @__PURE__ */ jsx("span", {
|
|
1445
1513
|
className: "text-muted-foreground",
|
|
1446
1514
|
children: "Delay"
|
|
1447
1515
|
});
|
|
1448
|
-
$[
|
|
1449
|
-
} else t30 = $[
|
|
1516
|
+
$[73] = t30;
|
|
1517
|
+
} else t30 = $[73];
|
|
1450
1518
|
const t31 = selectedJob.delay ? `${selectedJob.delay}ms` : "-";
|
|
1451
1519
|
let t32;
|
|
1452
|
-
if ($[
|
|
1520
|
+
if ($[74] !== t31) {
|
|
1453
1521
|
t32 = /* @__PURE__ */ jsxs("div", { children: [t30, /* @__PURE__ */ jsx("div", {
|
|
1454
1522
|
className: "font-semibold",
|
|
1455
1523
|
children: t31
|
|
1456
1524
|
})] });
|
|
1457
|
-
$[
|
|
1458
|
-
$[
|
|
1459
|
-
} else t32 = $[
|
|
1525
|
+
$[74] = t31;
|
|
1526
|
+
$[75] = t32;
|
|
1527
|
+
} else t32 = $[75];
|
|
1460
1528
|
let t33;
|
|
1461
|
-
if ($[
|
|
1529
|
+
if ($[76] !== t19 || $[77] !== t21 || $[78] !== t24 || $[79] !== t26 || $[80] !== t29 || $[81] !== t32) {
|
|
1462
1530
|
t33 = /* @__PURE__ */ jsxs("div", {
|
|
1463
1531
|
className: "grid grid-cols-2 gap-4 text-sm",
|
|
1464
1532
|
children: [
|
|
@@ -1470,26 +1538,26 @@ const JobDetail = memo(() => {
|
|
|
1470
1538
|
t32
|
|
1471
1539
|
]
|
|
1472
1540
|
});
|
|
1473
|
-
$[
|
|
1474
|
-
$[
|
|
1475
|
-
$[
|
|
1476
|
-
$[
|
|
1477
|
-
$[
|
|
1478
|
-
$[
|
|
1479
|
-
$[
|
|
1480
|
-
} else t33 = $[
|
|
1541
|
+
$[76] = t19;
|
|
1542
|
+
$[77] = t21;
|
|
1543
|
+
$[78] = t24;
|
|
1544
|
+
$[79] = t26;
|
|
1545
|
+
$[80] = t29;
|
|
1546
|
+
$[81] = t32;
|
|
1547
|
+
$[82] = t33;
|
|
1548
|
+
} else t33 = $[82];
|
|
1481
1549
|
let t34;
|
|
1482
|
-
if ($[
|
|
1550
|
+
if ($[83] !== t17 || $[84] !== t33) {
|
|
1483
1551
|
t34 = /* @__PURE__ */ jsxs("div", {
|
|
1484
1552
|
className: "space-y-4",
|
|
1485
1553
|
children: [t17, t33]
|
|
1486
1554
|
});
|
|
1487
|
-
$[
|
|
1488
|
-
$[
|
|
1489
|
-
$[
|
|
1490
|
-
} else t34 = $[
|
|
1555
|
+
$[83] = t17;
|
|
1556
|
+
$[84] = t33;
|
|
1557
|
+
$[85] = t34;
|
|
1558
|
+
} else t34 = $[85];
|
|
1491
1559
|
let t35;
|
|
1492
|
-
if ($[
|
|
1560
|
+
if ($[86] !== handleClose || $[87] !== selectedJob.name || $[88] !== t12 || $[89] !== t34 || $[90] !== tabs) {
|
|
1493
1561
|
t35 = /* @__PURE__ */ jsx(Sidebar, {
|
|
1494
1562
|
onClose: handleClose,
|
|
1495
1563
|
title: t10,
|
|
@@ -1498,13 +1566,13 @@ const JobDetail = memo(() => {
|
|
|
1498
1566
|
actions: t12,
|
|
1499
1567
|
children: t34
|
|
1500
1568
|
});
|
|
1501
|
-
$[
|
|
1502
|
-
$[
|
|
1503
|
-
$[
|
|
1504
|
-
$[
|
|
1505
|
-
$[
|
|
1506
|
-
$[
|
|
1507
|
-
} else t35 = $[
|
|
1569
|
+
$[86] = handleClose;
|
|
1570
|
+
$[87] = selectedJob.name;
|
|
1571
|
+
$[88] = t12;
|
|
1572
|
+
$[89] = t34;
|
|
1573
|
+
$[90] = tabs;
|
|
1574
|
+
$[91] = t35;
|
|
1575
|
+
} else t35 = $[91];
|
|
1508
1576
|
return t35;
|
|
1509
1577
|
});
|
|
1510
1578
|
JobDetail.displayName = "JobDetail";
|
|
@@ -1527,13 +1595,17 @@ function _temp5$2(state_3) {
|
|
|
1527
1595
|
//#endregion
|
|
1528
1596
|
//#region src/components/jobs-table.tsx
|
|
1529
1597
|
const JobRow = memo((t0) => {
|
|
1530
|
-
const $ = c(
|
|
1598
|
+
const $ = c(50);
|
|
1599
|
+
if ($[0] !== "35e57f18a759ee630724f8001ffcc43b791357fe1eb5c9a6692b76ef0e6628e1") {
|
|
1600
|
+
for (let $i = 0; $i < 50; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1601
|
+
$[0] = "35e57f18a759ee630724f8001ffcc43b791357fe1eb5c9a6692b76ef0e6628e1";
|
|
1602
|
+
}
|
|
1531
1603
|
const { job, queueName, onSelect, isSelected } = t0;
|
|
1532
1604
|
const retryJobMutation = useRetryJob();
|
|
1533
1605
|
const removeJobMutation = useRemoveJob();
|
|
1534
1606
|
const promoteJobMutation = usePromoteJob();
|
|
1535
1607
|
let t1;
|
|
1536
|
-
if ($[
|
|
1608
|
+
if ($[1] !== job.id || $[2] !== queueName || $[3] !== retryJobMutation) {
|
|
1537
1609
|
t1 = (e) => {
|
|
1538
1610
|
e.stopPropagation();
|
|
1539
1611
|
retryJobMutation.mutate({
|
|
@@ -1541,14 +1613,14 @@ const JobRow = memo((t0) => {
|
|
|
1541
1613
|
jobId: job.id
|
|
1542
1614
|
});
|
|
1543
1615
|
};
|
|
1544
|
-
$[
|
|
1545
|
-
$[
|
|
1546
|
-
$[
|
|
1547
|
-
$[
|
|
1548
|
-
} else t1 = $[
|
|
1616
|
+
$[1] = job.id;
|
|
1617
|
+
$[2] = queueName;
|
|
1618
|
+
$[3] = retryJobMutation;
|
|
1619
|
+
$[4] = t1;
|
|
1620
|
+
} else t1 = $[4];
|
|
1549
1621
|
const handleRetry = t1;
|
|
1550
1622
|
let t2;
|
|
1551
|
-
if ($[
|
|
1623
|
+
if ($[5] !== job.id || $[6] !== queueName || $[7] !== removeJobMutation) {
|
|
1552
1624
|
t2 = (e_0) => {
|
|
1553
1625
|
e_0.stopPropagation();
|
|
1554
1626
|
removeJobMutation.mutate({
|
|
@@ -1556,14 +1628,14 @@ const JobRow = memo((t0) => {
|
|
|
1556
1628
|
jobId: job.id
|
|
1557
1629
|
});
|
|
1558
1630
|
};
|
|
1559
|
-
$[
|
|
1560
|
-
$[
|
|
1561
|
-
$[
|
|
1562
|
-
$[
|
|
1563
|
-
} else t2 = $[
|
|
1631
|
+
$[5] = job.id;
|
|
1632
|
+
$[6] = queueName;
|
|
1633
|
+
$[7] = removeJobMutation;
|
|
1634
|
+
$[8] = t2;
|
|
1635
|
+
} else t2 = $[8];
|
|
1564
1636
|
const handleRemove = t2;
|
|
1565
1637
|
let t3;
|
|
1566
|
-
if ($[
|
|
1638
|
+
if ($[9] !== job.id || $[10] !== promoteJobMutation || $[11] !== queueName) {
|
|
1567
1639
|
t3 = (e_1) => {
|
|
1568
1640
|
e_1.stopPropagation();
|
|
1569
1641
|
promoteJobMutation.mutate({
|
|
@@ -1571,63 +1643,63 @@ const JobRow = memo((t0) => {
|
|
|
1571
1643
|
jobId: job.id
|
|
1572
1644
|
});
|
|
1573
1645
|
};
|
|
1574
|
-
$[
|
|
1575
|
-
$[
|
|
1576
|
-
$[
|
|
1577
|
-
$[
|
|
1578
|
-
} else t3 = $[
|
|
1646
|
+
$[9] = job.id;
|
|
1647
|
+
$[10] = promoteJobMutation;
|
|
1648
|
+
$[11] = queueName;
|
|
1649
|
+
$[12] = t3;
|
|
1650
|
+
} else t3 = $[12];
|
|
1579
1651
|
const handlePromote = t3;
|
|
1580
1652
|
const t4 = isSelected ? "bg-muted-foreground/10 hover:bg-muted-foreground/20" : "hover:bg-muted-foreground/10";
|
|
1581
1653
|
let t5;
|
|
1582
|
-
if ($[
|
|
1654
|
+
if ($[13] !== t4) {
|
|
1583
1655
|
t5 = cn("cursor-pointer border-0", t4);
|
|
1584
|
-
$[
|
|
1585
|
-
$[
|
|
1586
|
-
} else t5 = $[
|
|
1656
|
+
$[13] = t4;
|
|
1657
|
+
$[14] = t5;
|
|
1658
|
+
} else t5 = $[14];
|
|
1587
1659
|
let t6;
|
|
1588
|
-
if ($[
|
|
1660
|
+
if ($[15] !== job.id) {
|
|
1589
1661
|
t6 = /* @__PURE__ */ jsx(TableCell, {
|
|
1590
1662
|
className: "font-mono text-xs",
|
|
1591
1663
|
children: job.id
|
|
1592
1664
|
});
|
|
1593
|
-
$[
|
|
1594
|
-
$[
|
|
1595
|
-
} else t6 = $[
|
|
1665
|
+
$[15] = job.id;
|
|
1666
|
+
$[16] = t6;
|
|
1667
|
+
} else t6 = $[16];
|
|
1596
1668
|
let t7;
|
|
1597
|
-
if ($[
|
|
1669
|
+
if ($[17] !== job.name) {
|
|
1598
1670
|
t7 = /* @__PURE__ */ jsx(TableCell, {
|
|
1599
1671
|
className: "font-medium",
|
|
1600
1672
|
children: job.name
|
|
1601
1673
|
});
|
|
1602
|
-
$[
|
|
1603
|
-
$[
|
|
1604
|
-
} else t7 = $[
|
|
1674
|
+
$[17] = job.name;
|
|
1675
|
+
$[18] = t7;
|
|
1676
|
+
} else t7 = $[18];
|
|
1605
1677
|
let t8;
|
|
1606
|
-
if ($[
|
|
1678
|
+
if ($[19] !== job.timestamp) {
|
|
1607
1679
|
t8 = formatDistanceToNow(job.timestamp, { addSuffix: true });
|
|
1608
|
-
$[
|
|
1609
|
-
$[
|
|
1610
|
-
} else t8 = $[
|
|
1680
|
+
$[19] = job.timestamp;
|
|
1681
|
+
$[20] = t8;
|
|
1682
|
+
} else t8 = $[20];
|
|
1611
1683
|
let t9;
|
|
1612
|
-
if ($[
|
|
1684
|
+
if ($[21] !== t8) {
|
|
1613
1685
|
t9 = /* @__PURE__ */ jsx(TableCell, {
|
|
1614
1686
|
className: "text-xs text-muted-foreground",
|
|
1615
1687
|
children: t8
|
|
1616
1688
|
});
|
|
1617
|
-
$[
|
|
1618
|
-
$[
|
|
1619
|
-
} else t9 = $[
|
|
1689
|
+
$[21] = t8;
|
|
1690
|
+
$[22] = t9;
|
|
1691
|
+
} else t9 = $[22];
|
|
1620
1692
|
let t10;
|
|
1621
|
-
if ($[
|
|
1693
|
+
if ($[23] !== job.attemptsMade) {
|
|
1622
1694
|
t10 = /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", {
|
|
1623
1695
|
className: "text-xs",
|
|
1624
1696
|
children: job.attemptsMade
|
|
1625
1697
|
}) });
|
|
1626
|
-
$[
|
|
1627
|
-
$[
|
|
1628
|
-
} else t10 = $[
|
|
1698
|
+
$[23] = job.attemptsMade;
|
|
1699
|
+
$[24] = t10;
|
|
1700
|
+
} else t10 = $[24];
|
|
1629
1701
|
let t11;
|
|
1630
|
-
if ($[
|
|
1702
|
+
if ($[25] !== job.progress) {
|
|
1631
1703
|
t11 = /* @__PURE__ */ jsx(TableCell, { children: typeof job.progress === "number" ? /* @__PURE__ */ jsxs("div", {
|
|
1632
1704
|
className: "flex items-center gap-2",
|
|
1633
1705
|
children: [/* @__PURE__ */ jsx("div", {
|
|
@@ -1644,11 +1716,11 @@ const JobRow = memo((t0) => {
|
|
|
1644
1716
|
className: "text-xs text-muted-foreground",
|
|
1645
1717
|
children: "-"
|
|
1646
1718
|
}) });
|
|
1647
|
-
$[
|
|
1648
|
-
$[
|
|
1649
|
-
} else t11 = $[
|
|
1719
|
+
$[25] = job.progress;
|
|
1720
|
+
$[26] = t11;
|
|
1721
|
+
} else t11 = $[26];
|
|
1650
1722
|
let t12;
|
|
1651
|
-
if ($[
|
|
1723
|
+
if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1652
1724
|
t12 = /* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
1653
1725
|
asChild: true,
|
|
1654
1726
|
children: /* @__PURE__ */ jsx(Button, {
|
|
@@ -1658,45 +1730,45 @@ const JobRow = memo((t0) => {
|
|
|
1658
1730
|
children: /* @__PURE__ */ jsx(MoreVertical, { className: "h-4 w-4" })
|
|
1659
1731
|
})
|
|
1660
1732
|
});
|
|
1661
|
-
$[
|
|
1662
|
-
} else t12 = $[
|
|
1733
|
+
$[27] = t12;
|
|
1734
|
+
} else t12 = $[27];
|
|
1663
1735
|
let t13;
|
|
1664
|
-
if ($[
|
|
1736
|
+
if ($[28] !== handleRetry || $[29] !== job.failedReason) {
|
|
1665
1737
|
t13 = job.failedReason && /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
1666
1738
|
onClick: handleRetry,
|
|
1667
1739
|
children: [/* @__PURE__ */ jsx(RefreshCw, { className: "mr-2 h-4 w-4" }), "Retry"]
|
|
1668
1740
|
});
|
|
1669
|
-
$[
|
|
1670
|
-
$[
|
|
1671
|
-
$[
|
|
1672
|
-
} else t13 = $[
|
|
1741
|
+
$[28] = handleRetry;
|
|
1742
|
+
$[29] = job.failedReason;
|
|
1743
|
+
$[30] = t13;
|
|
1744
|
+
} else t13 = $[30];
|
|
1673
1745
|
let t14;
|
|
1674
|
-
if ($[
|
|
1746
|
+
if ($[31] !== handlePromote || $[32] !== job.delay) {
|
|
1675
1747
|
t14 = job.delay && job.delay > 0 && /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
1676
1748
|
onClick: handlePromote,
|
|
1677
1749
|
children: [/* @__PURE__ */ jsx(ArrowUpRight, { className: "mr-2 h-4 w-4" }), "Promote"]
|
|
1678
1750
|
});
|
|
1679
|
-
$[
|
|
1680
|
-
$[
|
|
1681
|
-
$[
|
|
1682
|
-
} else t14 = $[
|
|
1751
|
+
$[31] = handlePromote;
|
|
1752
|
+
$[32] = job.delay;
|
|
1753
|
+
$[33] = t14;
|
|
1754
|
+
} else t14 = $[33];
|
|
1683
1755
|
let t15;
|
|
1684
|
-
if ($[
|
|
1756
|
+
if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1685
1757
|
t15 = /* @__PURE__ */ jsx(Trash, { className: "mr-2 h-4 w-4" });
|
|
1686
|
-
$[
|
|
1687
|
-
} else t15 = $[
|
|
1758
|
+
$[34] = t15;
|
|
1759
|
+
} else t15 = $[34];
|
|
1688
1760
|
let t16;
|
|
1689
|
-
if ($[
|
|
1761
|
+
if ($[35] !== handleRemove) {
|
|
1690
1762
|
t16 = /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
1691
1763
|
onClick: handleRemove,
|
|
1692
1764
|
className: "text-destructive",
|
|
1693
1765
|
children: [t15, "Remove"]
|
|
1694
1766
|
});
|
|
1695
|
-
$[
|
|
1696
|
-
$[
|
|
1697
|
-
} else t16 = $[
|
|
1767
|
+
$[35] = handleRemove;
|
|
1768
|
+
$[36] = t16;
|
|
1769
|
+
} else t16 = $[36];
|
|
1698
1770
|
let t17;
|
|
1699
|
-
if ($[
|
|
1771
|
+
if ($[37] !== t13 || $[38] !== t14 || $[39] !== t16) {
|
|
1700
1772
|
t17 = /* @__PURE__ */ jsx(TableCell, {
|
|
1701
1773
|
onClick: _temp$3,
|
|
1702
1774
|
children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [t12, /* @__PURE__ */ jsxs(DropdownMenuContent, {
|
|
@@ -1709,13 +1781,13 @@ const JobRow = memo((t0) => {
|
|
|
1709
1781
|
]
|
|
1710
1782
|
})] })
|
|
1711
1783
|
});
|
|
1712
|
-
$[
|
|
1713
|
-
$[
|
|
1714
|
-
$[
|
|
1715
|
-
$[
|
|
1716
|
-
} else t17 = $[
|
|
1784
|
+
$[37] = t13;
|
|
1785
|
+
$[38] = t14;
|
|
1786
|
+
$[39] = t16;
|
|
1787
|
+
$[40] = t17;
|
|
1788
|
+
} else t17 = $[40];
|
|
1717
1789
|
let t18;
|
|
1718
|
-
if ($[
|
|
1790
|
+
if ($[41] !== onSelect || $[42] !== t10 || $[43] !== t11 || $[44] !== t17 || $[45] !== t5 || $[46] !== t6 || $[47] !== t7 || $[48] !== t9) {
|
|
1719
1791
|
t18 = /* @__PURE__ */ jsxs(TableRow, {
|
|
1720
1792
|
onClick: onSelect,
|
|
1721
1793
|
className: t5,
|
|
@@ -1728,79 +1800,83 @@ const JobRow = memo((t0) => {
|
|
|
1728
1800
|
t17
|
|
1729
1801
|
]
|
|
1730
1802
|
});
|
|
1731
|
-
$[
|
|
1732
|
-
$[
|
|
1733
|
-
$[
|
|
1734
|
-
$[
|
|
1735
|
-
$[
|
|
1736
|
-
$[
|
|
1737
|
-
$[
|
|
1738
|
-
$[
|
|
1739
|
-
$[
|
|
1740
|
-
} else t18 = $[
|
|
1803
|
+
$[41] = onSelect;
|
|
1804
|
+
$[42] = t10;
|
|
1805
|
+
$[43] = t11;
|
|
1806
|
+
$[44] = t17;
|
|
1807
|
+
$[45] = t5;
|
|
1808
|
+
$[46] = t6;
|
|
1809
|
+
$[47] = t7;
|
|
1810
|
+
$[48] = t9;
|
|
1811
|
+
$[49] = t18;
|
|
1812
|
+
} else t18 = $[49];
|
|
1741
1813
|
return t18;
|
|
1742
1814
|
});
|
|
1743
1815
|
JobRow.displayName = "JobRow";
|
|
1744
1816
|
const JobsTable = memo(() => {
|
|
1745
|
-
const $ = c(
|
|
1817
|
+
const $ = c(21);
|
|
1818
|
+
if ($[0] !== "35e57f18a759ee630724f8001ffcc43b791357fe1eb5c9a6692b76ef0e6628e1") {
|
|
1819
|
+
for (let $i = 0; $i < 21; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1820
|
+
$[0] = "35e57f18a759ee630724f8001ffcc43b791357fe1eb5c9a6692b76ef0e6628e1";
|
|
1821
|
+
}
|
|
1746
1822
|
const { data: t0, isLoading } = useJobsQuery();
|
|
1747
1823
|
let t1;
|
|
1748
|
-
if ($[
|
|
1824
|
+
if ($[1] !== t0) {
|
|
1749
1825
|
t1 = t0 === void 0 ? [] : t0;
|
|
1750
|
-
$[
|
|
1751
|
-
$[
|
|
1752
|
-
} else t1 = $[
|
|
1826
|
+
$[1] = t0;
|
|
1827
|
+
$[2] = t1;
|
|
1828
|
+
} else t1 = $[2];
|
|
1753
1829
|
const jobs = t1;
|
|
1754
1830
|
const selectedQueue = useBullMQStore(_temp2$3);
|
|
1755
1831
|
const selectedJob = useBullMQStore(_temp3$2);
|
|
1756
1832
|
const setSelectedJob = useBullMQStore(_temp4$1);
|
|
1757
1833
|
const setJobDetailOpen = useBullMQStore(_temp5$1);
|
|
1758
1834
|
let t2;
|
|
1759
|
-
if ($[
|
|
1835
|
+
if ($[3] !== setJobDetailOpen || $[4] !== setSelectedJob) {
|
|
1760
1836
|
t2 = (job) => {
|
|
1761
1837
|
setSelectedJob(job);
|
|
1762
1838
|
setJobDetailOpen(true);
|
|
1763
1839
|
};
|
|
1764
|
-
$[
|
|
1765
|
-
$[
|
|
1766
|
-
$[
|
|
1767
|
-
} else t2 = $[
|
|
1840
|
+
$[3] = setJobDetailOpen;
|
|
1841
|
+
$[4] = setSelectedJob;
|
|
1842
|
+
$[5] = t2;
|
|
1843
|
+
} else t2 = $[5];
|
|
1768
1844
|
const handleSelectJob = t2;
|
|
1769
1845
|
if (!selectedQueue) {
|
|
1770
1846
|
let t3$1;
|
|
1771
|
-
if ($[
|
|
1847
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1772
1848
|
t3$1 = /* @__PURE__ */ jsx("div", {
|
|
1773
1849
|
className: "flex items-center justify-center h-full text-muted-foreground",
|
|
1774
1850
|
children: "Select a queue to view jobs"
|
|
1775
1851
|
});
|
|
1776
|
-
$[
|
|
1777
|
-
} else t3$1 = $[
|
|
1852
|
+
$[6] = t3$1;
|
|
1853
|
+
} else t3$1 = $[6];
|
|
1778
1854
|
return t3$1;
|
|
1779
1855
|
}
|
|
1780
1856
|
if (isLoading) {
|
|
1781
1857
|
let t3$1;
|
|
1782
|
-
if ($[
|
|
1858
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1783
1859
|
t3$1 = /* @__PURE__ */ jsx("div", {
|
|
1784
1860
|
className: "flex items-center justify-center h-full text-muted-foreground",
|
|
1785
1861
|
children: "Loading jobs..."
|
|
1786
1862
|
});
|
|
1787
|
-
$[
|
|
1788
|
-
} else t3$1 = $[
|
|
1863
|
+
$[7] = t3$1;
|
|
1864
|
+
} else t3$1 = $[7];
|
|
1789
1865
|
return t3$1;
|
|
1790
1866
|
}
|
|
1791
1867
|
if (jobs.length === 0) {
|
|
1792
1868
|
let t3$1;
|
|
1793
|
-
if ($[
|
|
1869
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1794
1870
|
t3$1 = /* @__PURE__ */ jsx("div", {
|
|
1795
1871
|
className: "flex items-center justify-center h-full text-muted-foreground",
|
|
1796
1872
|
children: "No jobs in this status"
|
|
1797
1873
|
});
|
|
1798
|
-
$[
|
|
1799
|
-
} else t3$1 = $[
|
|
1874
|
+
$[8] = t3$1;
|
|
1875
|
+
} else t3$1 = $[8];
|
|
1800
1876
|
return t3$1;
|
|
1801
1877
|
}
|
|
1802
1878
|
let t3;
|
|
1803
|
-
if ($[
|
|
1879
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1804
1880
|
t3 = /* @__PURE__ */ jsx(TableHeader, {
|
|
1805
1881
|
className: "sticky top-0 bg-background/95 backdrop-blur-sm",
|
|
1806
1882
|
children: /* @__PURE__ */ jsxs(TableRow, { children: [
|
|
@@ -1827,36 +1903,36 @@ const JobsTable = memo(() => {
|
|
|
1827
1903
|
})
|
|
1828
1904
|
] })
|
|
1829
1905
|
});
|
|
1830
|
-
$[
|
|
1831
|
-
} else t3 = $[
|
|
1906
|
+
$[9] = t3;
|
|
1907
|
+
} else t3 = $[9];
|
|
1832
1908
|
let t4;
|
|
1833
|
-
if ($[
|
|
1909
|
+
if ($[10] !== handleSelectJob || $[11] !== jobs || $[12] !== selectedJob?.id || $[13] !== selectedQueue) {
|
|
1834
1910
|
let t5$1;
|
|
1835
|
-
if ($[
|
|
1911
|
+
if ($[15] !== handleSelectJob || $[16] !== selectedJob?.id || $[17] !== selectedQueue) {
|
|
1836
1912
|
t5$1 = (job_0) => /* @__PURE__ */ jsx(JobRow, {
|
|
1837
1913
|
job: job_0,
|
|
1838
1914
|
queueName: selectedQueue.name,
|
|
1839
1915
|
onSelect: () => handleSelectJob(job_0),
|
|
1840
1916
|
isSelected: selectedJob?.id === job_0.id
|
|
1841
1917
|
}, job_0.id);
|
|
1842
|
-
$[
|
|
1843
|
-
$[
|
|
1844
|
-
$[
|
|
1845
|
-
$[
|
|
1846
|
-
} else t5$1 = $[
|
|
1918
|
+
$[15] = handleSelectJob;
|
|
1919
|
+
$[16] = selectedJob?.id;
|
|
1920
|
+
$[17] = selectedQueue;
|
|
1921
|
+
$[18] = t5$1;
|
|
1922
|
+
} else t5$1 = $[18];
|
|
1847
1923
|
t4 = jobs.map(t5$1);
|
|
1848
|
-
$[
|
|
1849
|
-
$[
|
|
1850
|
-
$[
|
|
1851
|
-
$[
|
|
1852
|
-
$[
|
|
1853
|
-
} else t4 = $[
|
|
1924
|
+
$[10] = handleSelectJob;
|
|
1925
|
+
$[11] = jobs;
|
|
1926
|
+
$[12] = selectedJob?.id;
|
|
1927
|
+
$[13] = selectedQueue;
|
|
1928
|
+
$[14] = t4;
|
|
1929
|
+
} else t4 = $[14];
|
|
1854
1930
|
let t5;
|
|
1855
|
-
if ($[
|
|
1931
|
+
if ($[19] !== t4) {
|
|
1856
1932
|
t5 = /* @__PURE__ */ jsxs(Table, { children: [t3, /* @__PURE__ */ jsx(TableBody, { children: t4 })] });
|
|
1857
|
-
$[
|
|
1858
|
-
$[
|
|
1859
|
-
} else t5 = $[
|
|
1933
|
+
$[19] = t4;
|
|
1934
|
+
$[20] = t5;
|
|
1935
|
+
} else t5 = $[20];
|
|
1860
1936
|
return t5;
|
|
1861
1937
|
});
|
|
1862
1938
|
JobsTable.displayName = "JobsTable";
|
|
@@ -1901,124 +1977,128 @@ const STATUS_TABS = [
|
|
|
1901
1977
|
}
|
|
1902
1978
|
];
|
|
1903
1979
|
const QueueDetail = memo(() => {
|
|
1904
|
-
const $ = c(
|
|
1980
|
+
const $ = c(115);
|
|
1981
|
+
if ($[0] !== "ec763ba5d94c93fbec6c5d401f02a104160374351538eec66a12a09486a09276") {
|
|
1982
|
+
for (let $i = 0; $i < 115; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
1983
|
+
$[0] = "ec763ba5d94c93fbec6c5d401f02a104160374351538eec66a12a09486a09276";
|
|
1984
|
+
}
|
|
1905
1985
|
const queryClient$1 = useQueryClient();
|
|
1906
1986
|
const selectedQueue = useBullMQStore(_temp$2);
|
|
1907
1987
|
const selectedStatus = useBullMQStore(_temp2$2);
|
|
1908
1988
|
const setSelectedStatus = useBullMQStore(_temp3$1);
|
|
1909
1989
|
const { pauseQueue, resumeQueue, cleanQueue, drainQueue } = useQueues();
|
|
1910
1990
|
let t0;
|
|
1911
|
-
if ($[
|
|
1991
|
+
if ($[1] !== pauseQueue || $[2] !== selectedQueue) {
|
|
1912
1992
|
t0 = async () => {
|
|
1913
1993
|
if (!selectedQueue) return;
|
|
1914
1994
|
await pauseQueue(selectedQueue.name);
|
|
1915
1995
|
};
|
|
1916
|
-
$[
|
|
1917
|
-
$[
|
|
1918
|
-
$[
|
|
1919
|
-
} else t0 = $[
|
|
1996
|
+
$[1] = pauseQueue;
|
|
1997
|
+
$[2] = selectedQueue;
|
|
1998
|
+
$[3] = t0;
|
|
1999
|
+
} else t0 = $[3];
|
|
1920
2000
|
const handlePause = t0;
|
|
1921
2001
|
let t1;
|
|
1922
|
-
if ($[
|
|
2002
|
+
if ($[4] !== resumeQueue || $[5] !== selectedQueue) {
|
|
1923
2003
|
t1 = async () => {
|
|
1924
2004
|
if (!selectedQueue) return;
|
|
1925
2005
|
await resumeQueue(selectedQueue.name);
|
|
1926
2006
|
};
|
|
1927
|
-
$[
|
|
1928
|
-
$[
|
|
1929
|
-
$[
|
|
1930
|
-
} else t1 = $[
|
|
2007
|
+
$[4] = resumeQueue;
|
|
2008
|
+
$[5] = selectedQueue;
|
|
2009
|
+
$[6] = t1;
|
|
2010
|
+
} else t1 = $[6];
|
|
1931
2011
|
const handleResume = t1;
|
|
1932
2012
|
let t2;
|
|
1933
|
-
if ($[
|
|
2013
|
+
if ($[7] !== cleanQueue || $[8] !== selectedQueue) {
|
|
1934
2014
|
t2 = async () => {
|
|
1935
2015
|
if (!selectedQueue) return;
|
|
1936
2016
|
await cleanQueue(selectedQueue.name, "completed", 0, 1e3);
|
|
1937
2017
|
};
|
|
1938
|
-
$[
|
|
1939
|
-
$[
|
|
1940
|
-
$[
|
|
1941
|
-
} else t2 = $[
|
|
2018
|
+
$[7] = cleanQueue;
|
|
2019
|
+
$[8] = selectedQueue;
|
|
2020
|
+
$[9] = t2;
|
|
2021
|
+
} else t2 = $[9];
|
|
1942
2022
|
const handleCleanCompleted = t2;
|
|
1943
2023
|
let t3;
|
|
1944
|
-
if ($[
|
|
2024
|
+
if ($[10] !== cleanQueue || $[11] !== selectedQueue) {
|
|
1945
2025
|
t3 = async () => {
|
|
1946
2026
|
if (!selectedQueue) return;
|
|
1947
2027
|
await cleanQueue(selectedQueue.name, "failed", 0, 1e3);
|
|
1948
2028
|
};
|
|
1949
|
-
$[
|
|
1950
|
-
$[
|
|
1951
|
-
$[
|
|
1952
|
-
} else t3 = $[
|
|
2029
|
+
$[10] = cleanQueue;
|
|
2030
|
+
$[11] = selectedQueue;
|
|
2031
|
+
$[12] = t3;
|
|
2032
|
+
} else t3 = $[12];
|
|
1953
2033
|
const handleCleanFailed = t3;
|
|
1954
2034
|
let t4;
|
|
1955
|
-
if ($[
|
|
2035
|
+
if ($[13] !== drainQueue || $[14] !== selectedQueue) {
|
|
1956
2036
|
t4 = async () => {
|
|
1957
2037
|
if (!selectedQueue) return;
|
|
1958
2038
|
await drainQueue(selectedQueue.name);
|
|
1959
2039
|
};
|
|
1960
|
-
$[
|
|
1961
|
-
$[
|
|
1962
|
-
$[
|
|
1963
|
-
} else t4 = $[
|
|
2040
|
+
$[13] = drainQueue;
|
|
2041
|
+
$[14] = selectedQueue;
|
|
2042
|
+
$[15] = t4;
|
|
2043
|
+
} else t4 = $[15];
|
|
1964
2044
|
const handleDrain = t4;
|
|
1965
2045
|
let t5;
|
|
1966
|
-
if ($[
|
|
2046
|
+
if ($[16] !== queryClient$1 || $[17] !== selectedQueue) {
|
|
1967
2047
|
t5 = () => {
|
|
1968
2048
|
if (!selectedQueue) return;
|
|
1969
2049
|
queryClient$1.invalidateQueries({ queryKey: ["jobs", selectedQueue.name] });
|
|
1970
2050
|
};
|
|
1971
|
-
$[
|
|
1972
|
-
$[
|
|
1973
|
-
$[
|
|
1974
|
-
} else t5 = $[
|
|
2051
|
+
$[16] = queryClient$1;
|
|
2052
|
+
$[17] = selectedQueue;
|
|
2053
|
+
$[18] = t5;
|
|
2054
|
+
} else t5 = $[18];
|
|
1975
2055
|
const handleRefresh = t5;
|
|
1976
2056
|
if (!selectedQueue) {
|
|
1977
2057
|
let t6$1;
|
|
1978
|
-
if ($[
|
|
2058
|
+
if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1979
2059
|
t6$1 = /* @__PURE__ */ jsx("div", {
|
|
1980
2060
|
className: "flex items-center justify-center h-full text-muted-foreground",
|
|
1981
2061
|
children: "Select a queue from the list to view details"
|
|
1982
2062
|
});
|
|
1983
|
-
$[
|
|
1984
|
-
} else t6$1 = $[
|
|
2063
|
+
$[19] = t6$1;
|
|
2064
|
+
} else t6$1 = $[19];
|
|
1985
2065
|
return t6$1;
|
|
1986
2066
|
}
|
|
1987
2067
|
let t6;
|
|
1988
|
-
if ($[
|
|
2068
|
+
if ($[20] !== selectedQueue.displayName) {
|
|
1989
2069
|
t6 = /* @__PURE__ */ jsx("h2", {
|
|
1990
2070
|
className: "font-semibold text-lg",
|
|
1991
2071
|
children: selectedQueue.displayName
|
|
1992
2072
|
});
|
|
1993
|
-
$[
|
|
1994
|
-
$[
|
|
1995
|
-
} else t6 = $[
|
|
2073
|
+
$[20] = selectedQueue.displayName;
|
|
2074
|
+
$[21] = t6;
|
|
2075
|
+
} else t6 = $[21];
|
|
1996
2076
|
let t7;
|
|
1997
|
-
if ($[
|
|
2077
|
+
if ($[22] !== selectedQueue.isPaused) {
|
|
1998
2078
|
t7 = selectedQueue.isPaused && /* @__PURE__ */ jsx("span", {
|
|
1999
2079
|
className: "px-2 py-0.5 text-xs rounded bg-yellow-500/20 text-yellow-600",
|
|
2000
2080
|
children: "Paused"
|
|
2001
2081
|
});
|
|
2002
|
-
$[
|
|
2003
|
-
$[
|
|
2004
|
-
} else t7 = $[
|
|
2082
|
+
$[22] = selectedQueue.isPaused;
|
|
2083
|
+
$[23] = t7;
|
|
2084
|
+
} else t7 = $[23];
|
|
2005
2085
|
let t8;
|
|
2006
|
-
if ($[
|
|
2086
|
+
if ($[24] !== t6 || $[25] !== t7) {
|
|
2007
2087
|
t8 = /* @__PURE__ */ jsxs("div", {
|
|
2008
2088
|
className: "flex items-center gap-3",
|
|
2009
2089
|
children: [t6, t7]
|
|
2010
2090
|
});
|
|
2011
|
-
$[
|
|
2012
|
-
$[
|
|
2013
|
-
$[
|
|
2014
|
-
} else t8 = $[
|
|
2091
|
+
$[24] = t6;
|
|
2092
|
+
$[25] = t7;
|
|
2093
|
+
$[26] = t8;
|
|
2094
|
+
} else t8 = $[26];
|
|
2015
2095
|
let t9;
|
|
2016
|
-
if ($[
|
|
2096
|
+
if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2017
2097
|
t9 = /* @__PURE__ */ jsx(RefreshCw, { className: "h-4 w-4" });
|
|
2018
|
-
$[
|
|
2019
|
-
} else t9 = $[
|
|
2098
|
+
$[27] = t9;
|
|
2099
|
+
} else t9 = $[27];
|
|
2020
2100
|
let t10;
|
|
2021
|
-
if ($[
|
|
2101
|
+
if ($[28] !== handleRefresh) {
|
|
2022
2102
|
t10 = /* @__PURE__ */ jsx(TooltipTrigger, {
|
|
2023
2103
|
asChild: true,
|
|
2024
2104
|
children: /* @__PURE__ */ jsx(Button, {
|
|
@@ -2028,22 +2108,22 @@ const QueueDetail = memo(() => {
|
|
|
2028
2108
|
children: t9
|
|
2029
2109
|
})
|
|
2030
2110
|
});
|
|
2031
|
-
$[
|
|
2032
|
-
$[
|
|
2033
|
-
} else t10 = $[
|
|
2111
|
+
$[28] = handleRefresh;
|
|
2112
|
+
$[29] = t10;
|
|
2113
|
+
} else t10 = $[29];
|
|
2034
2114
|
let t11;
|
|
2035
|
-
if ($[
|
|
2115
|
+
if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2036
2116
|
t11 = /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Refresh queue stats and jobs list" }) });
|
|
2037
|
-
$[
|
|
2038
|
-
} else t11 = $[
|
|
2117
|
+
$[30] = t11;
|
|
2118
|
+
} else t11 = $[30];
|
|
2039
2119
|
let t12;
|
|
2040
|
-
if ($[
|
|
2120
|
+
if ($[31] !== t10) {
|
|
2041
2121
|
t12 = /* @__PURE__ */ jsxs(Tooltip, { children: [t10, t11] });
|
|
2042
|
-
$[
|
|
2043
|
-
$[
|
|
2044
|
-
} else t12 = $[
|
|
2122
|
+
$[31] = t10;
|
|
2123
|
+
$[32] = t12;
|
|
2124
|
+
} else t12 = $[32];
|
|
2045
2125
|
let t13;
|
|
2046
|
-
if ($[
|
|
2126
|
+
if ($[33] !== handlePause || $[34] !== handleResume || $[35] !== selectedQueue.isPaused) {
|
|
2047
2127
|
t13 = selectedQueue.isPaused ? /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
2048
2128
|
asChild: true,
|
|
2049
2129
|
children: /* @__PURE__ */ jsxs(Button, {
|
|
@@ -2061,13 +2141,13 @@ const QueueDetail = memo(() => {
|
|
|
2061
2141
|
children: [/* @__PURE__ */ jsx(Pause, { className: "mr-2 h-4 w-4" }), "Pause"]
|
|
2062
2142
|
})
|
|
2063
2143
|
}), /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Stop workers from picking up new jobs" }) })] });
|
|
2064
|
-
$[
|
|
2065
|
-
$[
|
|
2066
|
-
$[
|
|
2067
|
-
$[
|
|
2068
|
-
} else t13 = $[
|
|
2144
|
+
$[33] = handlePause;
|
|
2145
|
+
$[34] = handleResume;
|
|
2146
|
+
$[35] = selectedQueue.isPaused;
|
|
2147
|
+
$[36] = t13;
|
|
2148
|
+
} else t13 = $[36];
|
|
2069
2149
|
let t14;
|
|
2070
|
-
if ($[
|
|
2150
|
+
if ($[37] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2071
2151
|
t14 = /* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
2072
2152
|
asChild: true,
|
|
2073
2153
|
children: /* @__PURE__ */ jsx(Button, {
|
|
@@ -2076,58 +2156,58 @@ const QueueDetail = memo(() => {
|
|
|
2076
2156
|
children: /* @__PURE__ */ jsx(MoreVertical, { className: "h-4 w-4" })
|
|
2077
2157
|
})
|
|
2078
2158
|
});
|
|
2079
|
-
$[
|
|
2080
|
-
} else t14 = $[
|
|
2159
|
+
$[37] = t14;
|
|
2160
|
+
} else t14 = $[37];
|
|
2081
2161
|
let t15;
|
|
2082
|
-
if ($[
|
|
2162
|
+
if ($[38] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2083
2163
|
t15 = /* @__PURE__ */ jsx(Trash, { className: "mr-2 h-4 w-4" });
|
|
2084
|
-
$[
|
|
2085
|
-
} else t15 = $[
|
|
2164
|
+
$[38] = t15;
|
|
2165
|
+
} else t15 = $[38];
|
|
2086
2166
|
let t16;
|
|
2087
|
-
if ($[
|
|
2167
|
+
if ($[39] !== handleCleanCompleted) {
|
|
2088
2168
|
t16 = /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
2089
2169
|
onClick: handleCleanCompleted,
|
|
2090
2170
|
children: [t15, "Clean Completed"]
|
|
2091
2171
|
});
|
|
2092
|
-
$[
|
|
2093
|
-
$[
|
|
2094
|
-
} else t16 = $[
|
|
2172
|
+
$[39] = handleCleanCompleted;
|
|
2173
|
+
$[40] = t16;
|
|
2174
|
+
} else t16 = $[40];
|
|
2095
2175
|
let t17;
|
|
2096
|
-
if ($[
|
|
2176
|
+
if ($[41] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2097
2177
|
t17 = /* @__PURE__ */ jsx(Trash, { className: "mr-2 h-4 w-4" });
|
|
2098
|
-
$[
|
|
2099
|
-
} else t17 = $[
|
|
2178
|
+
$[41] = t17;
|
|
2179
|
+
} else t17 = $[41];
|
|
2100
2180
|
let t18;
|
|
2101
|
-
if ($[
|
|
2181
|
+
if ($[42] !== handleCleanFailed) {
|
|
2102
2182
|
t18 = /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
2103
2183
|
onClick: handleCleanFailed,
|
|
2104
2184
|
children: [t17, "Clean Failed"]
|
|
2105
2185
|
});
|
|
2106
|
-
$[
|
|
2107
|
-
$[
|
|
2108
|
-
} else t18 = $[
|
|
2186
|
+
$[42] = handleCleanFailed;
|
|
2187
|
+
$[43] = t18;
|
|
2188
|
+
} else t18 = $[43];
|
|
2109
2189
|
let t19;
|
|
2110
|
-
if ($[
|
|
2190
|
+
if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2111
2191
|
t19 = /* @__PURE__ */ jsx(DropdownMenuSeparator, {});
|
|
2112
|
-
$[
|
|
2113
|
-
} else t19 = $[
|
|
2192
|
+
$[44] = t19;
|
|
2193
|
+
} else t19 = $[44];
|
|
2114
2194
|
let t20;
|
|
2115
|
-
if ($[
|
|
2195
|
+
if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2116
2196
|
t20 = /* @__PURE__ */ jsx(Trash, { className: "mr-2 h-4 w-4" });
|
|
2117
|
-
$[
|
|
2118
|
-
} else t20 = $[
|
|
2197
|
+
$[45] = t20;
|
|
2198
|
+
} else t20 = $[45];
|
|
2119
2199
|
let t21;
|
|
2120
|
-
if ($[
|
|
2200
|
+
if ($[46] !== handleDrain) {
|
|
2121
2201
|
t21 = /* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
2122
2202
|
onClick: handleDrain,
|
|
2123
2203
|
className: "text-destructive",
|
|
2124
2204
|
children: [t20, "Drain Queue"]
|
|
2125
2205
|
});
|
|
2126
|
-
$[
|
|
2127
|
-
$[
|
|
2128
|
-
} else t21 = $[
|
|
2206
|
+
$[46] = handleDrain;
|
|
2207
|
+
$[47] = t21;
|
|
2208
|
+
} else t21 = $[47];
|
|
2129
2209
|
let t22;
|
|
2130
|
-
if ($[
|
|
2210
|
+
if ($[48] !== t16 || $[49] !== t18 || $[50] !== t21) {
|
|
2131
2211
|
t22 = /* @__PURE__ */ jsx(TooltipTrigger, {
|
|
2132
2212
|
asChild: true,
|
|
2133
2213
|
children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [t14, /* @__PURE__ */ jsxs(DropdownMenuContent, {
|
|
@@ -2141,24 +2221,24 @@ const QueueDetail = memo(() => {
|
|
|
2141
2221
|
]
|
|
2142
2222
|
})] })
|
|
2143
2223
|
});
|
|
2144
|
-
$[
|
|
2145
|
-
$[
|
|
2146
|
-
$[
|
|
2147
|
-
$[
|
|
2148
|
-
} else t22 = $[
|
|
2224
|
+
$[48] = t16;
|
|
2225
|
+
$[49] = t18;
|
|
2226
|
+
$[50] = t21;
|
|
2227
|
+
$[51] = t22;
|
|
2228
|
+
} else t22 = $[51];
|
|
2149
2229
|
let t23;
|
|
2150
|
-
if ($[
|
|
2230
|
+
if ($[52] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2151
2231
|
t23 = /* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "More actions" }) });
|
|
2152
|
-
$[
|
|
2153
|
-
} else t23 = $[
|
|
2232
|
+
$[52] = t23;
|
|
2233
|
+
} else t23 = $[52];
|
|
2154
2234
|
let t24;
|
|
2155
|
-
if ($[
|
|
2235
|
+
if ($[53] !== t22) {
|
|
2156
2236
|
t24 = /* @__PURE__ */ jsxs(Tooltip, { children: [t22, t23] });
|
|
2157
|
-
$[
|
|
2158
|
-
$[
|
|
2159
|
-
} else t24 = $[
|
|
2237
|
+
$[53] = t22;
|
|
2238
|
+
$[54] = t24;
|
|
2239
|
+
} else t24 = $[54];
|
|
2160
2240
|
let t25;
|
|
2161
|
-
if ($[
|
|
2241
|
+
if ($[55] !== t12 || $[56] !== t13 || $[57] !== t24) {
|
|
2162
2242
|
t25 = /* @__PURE__ */ jsxs("div", {
|
|
2163
2243
|
className: "flex items-center gap-2",
|
|
2164
2244
|
children: [
|
|
@@ -2167,161 +2247,161 @@ const QueueDetail = memo(() => {
|
|
|
2167
2247
|
t24
|
|
2168
2248
|
]
|
|
2169
2249
|
});
|
|
2170
|
-
$[
|
|
2171
|
-
$[
|
|
2172
|
-
$[
|
|
2173
|
-
$[
|
|
2174
|
-
} else t25 = $[
|
|
2250
|
+
$[55] = t12;
|
|
2251
|
+
$[56] = t13;
|
|
2252
|
+
$[57] = t24;
|
|
2253
|
+
$[58] = t25;
|
|
2254
|
+
} else t25 = $[58];
|
|
2175
2255
|
let t26;
|
|
2176
|
-
if ($[
|
|
2256
|
+
if ($[59] !== t25 || $[60] !== t8) {
|
|
2177
2257
|
t26 = /* @__PURE__ */ jsxs("div", {
|
|
2178
2258
|
className: "flex items-center justify-between p-3 border-b border-border",
|
|
2179
2259
|
children: [t8, t25]
|
|
2180
2260
|
});
|
|
2181
|
-
$[
|
|
2182
|
-
$[
|
|
2183
|
-
$[
|
|
2184
|
-
} else t26 = $[
|
|
2261
|
+
$[59] = t25;
|
|
2262
|
+
$[60] = t8;
|
|
2263
|
+
$[61] = t26;
|
|
2264
|
+
} else t26 = $[61];
|
|
2185
2265
|
let t27;
|
|
2186
|
-
if ($[
|
|
2266
|
+
if ($[62] !== selectedQueue.stats.waiting) {
|
|
2187
2267
|
t27 = /* @__PURE__ */ jsx("div", {
|
|
2188
2268
|
className: "text-2xl font-bold text-blue-500",
|
|
2189
2269
|
children: selectedQueue.stats.waiting
|
|
2190
2270
|
});
|
|
2191
|
-
$[
|
|
2192
|
-
$[
|
|
2193
|
-
} else t27 = $[
|
|
2271
|
+
$[62] = selectedQueue.stats.waiting;
|
|
2272
|
+
$[63] = t27;
|
|
2273
|
+
} else t27 = $[63];
|
|
2194
2274
|
let t28;
|
|
2195
|
-
if ($[
|
|
2275
|
+
if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2196
2276
|
t28 = /* @__PURE__ */ jsx("div", {
|
|
2197
2277
|
className: "text-xs text-muted-foreground",
|
|
2198
2278
|
children: "Waiting"
|
|
2199
2279
|
});
|
|
2200
|
-
$[
|
|
2201
|
-
} else t28 = $[
|
|
2280
|
+
$[64] = t28;
|
|
2281
|
+
} else t28 = $[64];
|
|
2202
2282
|
let t29;
|
|
2203
|
-
if ($[
|
|
2283
|
+
if ($[65] !== t27) {
|
|
2204
2284
|
t29 = /* @__PURE__ */ jsxs("div", { children: [t27, t28] });
|
|
2205
|
-
$[
|
|
2206
|
-
$[
|
|
2207
|
-
} else t29 = $[
|
|
2285
|
+
$[65] = t27;
|
|
2286
|
+
$[66] = t29;
|
|
2287
|
+
} else t29 = $[66];
|
|
2208
2288
|
let t30;
|
|
2209
|
-
if ($[
|
|
2289
|
+
if ($[67] !== selectedQueue.stats.active) {
|
|
2210
2290
|
t30 = /* @__PURE__ */ jsx("div", {
|
|
2211
2291
|
className: "text-2xl font-bold text-yellow-500",
|
|
2212
2292
|
children: selectedQueue.stats.active
|
|
2213
2293
|
});
|
|
2214
|
-
$[
|
|
2215
|
-
$[
|
|
2216
|
-
} else t30 = $[
|
|
2294
|
+
$[67] = selectedQueue.stats.active;
|
|
2295
|
+
$[68] = t30;
|
|
2296
|
+
} else t30 = $[68];
|
|
2217
2297
|
let t31;
|
|
2218
|
-
if ($[
|
|
2298
|
+
if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2219
2299
|
t31 = /* @__PURE__ */ jsx("div", {
|
|
2220
2300
|
className: "text-xs text-muted-foreground",
|
|
2221
2301
|
children: "Active"
|
|
2222
2302
|
});
|
|
2223
|
-
$[
|
|
2224
|
-
} else t31 = $[
|
|
2303
|
+
$[69] = t31;
|
|
2304
|
+
} else t31 = $[69];
|
|
2225
2305
|
let t32;
|
|
2226
|
-
if ($[
|
|
2306
|
+
if ($[70] !== t30) {
|
|
2227
2307
|
t32 = /* @__PURE__ */ jsxs("div", { children: [t30, t31] });
|
|
2228
|
-
$[
|
|
2229
|
-
$[
|
|
2230
|
-
} else t32 = $[
|
|
2308
|
+
$[70] = t30;
|
|
2309
|
+
$[71] = t32;
|
|
2310
|
+
} else t32 = $[71];
|
|
2231
2311
|
let t33;
|
|
2232
|
-
if ($[
|
|
2312
|
+
if ($[72] !== selectedQueue.stats.completed) {
|
|
2233
2313
|
t33 = /* @__PURE__ */ jsx("div", {
|
|
2234
2314
|
className: "text-2xl font-bold text-green-500",
|
|
2235
2315
|
children: selectedQueue.stats.completed
|
|
2236
2316
|
});
|
|
2237
|
-
$[
|
|
2238
|
-
$[
|
|
2239
|
-
} else t33 = $[
|
|
2317
|
+
$[72] = selectedQueue.stats.completed;
|
|
2318
|
+
$[73] = t33;
|
|
2319
|
+
} else t33 = $[73];
|
|
2240
2320
|
let t34;
|
|
2241
|
-
if ($[
|
|
2321
|
+
if ($[74] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2242
2322
|
t34 = /* @__PURE__ */ jsx("div", {
|
|
2243
2323
|
className: "text-xs text-muted-foreground",
|
|
2244
2324
|
children: "Completed"
|
|
2245
2325
|
});
|
|
2246
|
-
$[
|
|
2247
|
-
} else t34 = $[
|
|
2326
|
+
$[74] = t34;
|
|
2327
|
+
} else t34 = $[74];
|
|
2248
2328
|
let t35;
|
|
2249
|
-
if ($[
|
|
2329
|
+
if ($[75] !== t33) {
|
|
2250
2330
|
t35 = /* @__PURE__ */ jsxs("div", { children: [t33, t34] });
|
|
2251
|
-
$[
|
|
2252
|
-
$[
|
|
2253
|
-
} else t35 = $[
|
|
2331
|
+
$[75] = t33;
|
|
2332
|
+
$[76] = t35;
|
|
2333
|
+
} else t35 = $[76];
|
|
2254
2334
|
let t36;
|
|
2255
|
-
if ($[
|
|
2335
|
+
if ($[77] !== selectedQueue.stats.failed) {
|
|
2256
2336
|
t36 = /* @__PURE__ */ jsx("div", {
|
|
2257
2337
|
className: "text-2xl font-bold text-destructive",
|
|
2258
2338
|
children: selectedQueue.stats.failed
|
|
2259
2339
|
});
|
|
2260
|
-
$[
|
|
2261
|
-
$[
|
|
2262
|
-
} else t36 = $[
|
|
2340
|
+
$[77] = selectedQueue.stats.failed;
|
|
2341
|
+
$[78] = t36;
|
|
2342
|
+
} else t36 = $[78];
|
|
2263
2343
|
let t37;
|
|
2264
|
-
if ($[
|
|
2344
|
+
if ($[79] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2265
2345
|
t37 = /* @__PURE__ */ jsx("div", {
|
|
2266
2346
|
className: "text-xs text-muted-foreground",
|
|
2267
2347
|
children: "Failed"
|
|
2268
2348
|
});
|
|
2269
|
-
$[
|
|
2270
|
-
} else t37 = $[
|
|
2349
|
+
$[79] = t37;
|
|
2350
|
+
} else t37 = $[79];
|
|
2271
2351
|
let t38;
|
|
2272
|
-
if ($[
|
|
2352
|
+
if ($[80] !== t36) {
|
|
2273
2353
|
t38 = /* @__PURE__ */ jsxs("div", { children: [t36, t37] });
|
|
2274
|
-
$[
|
|
2275
|
-
$[
|
|
2276
|
-
} else t38 = $[
|
|
2354
|
+
$[80] = t36;
|
|
2355
|
+
$[81] = t38;
|
|
2356
|
+
} else t38 = $[81];
|
|
2277
2357
|
let t39;
|
|
2278
|
-
if ($[
|
|
2358
|
+
if ($[82] !== selectedQueue.stats.delayed) {
|
|
2279
2359
|
t39 = /* @__PURE__ */ jsx("div", {
|
|
2280
2360
|
className: "text-2xl font-bold text-purple-500",
|
|
2281
2361
|
children: selectedQueue.stats.delayed
|
|
2282
2362
|
});
|
|
2283
|
-
$[
|
|
2284
|
-
$[
|
|
2285
|
-
} else t39 = $[
|
|
2363
|
+
$[82] = selectedQueue.stats.delayed;
|
|
2364
|
+
$[83] = t39;
|
|
2365
|
+
} else t39 = $[83];
|
|
2286
2366
|
let t40;
|
|
2287
|
-
if ($[
|
|
2367
|
+
if ($[84] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2288
2368
|
t40 = /* @__PURE__ */ jsx("div", {
|
|
2289
2369
|
className: "text-xs text-muted-foreground",
|
|
2290
2370
|
children: "Delayed"
|
|
2291
2371
|
});
|
|
2292
|
-
$[
|
|
2293
|
-
} else t40 = $[
|
|
2372
|
+
$[84] = t40;
|
|
2373
|
+
} else t40 = $[84];
|
|
2294
2374
|
let t41;
|
|
2295
|
-
if ($[
|
|
2375
|
+
if ($[85] !== t39) {
|
|
2296
2376
|
t41 = /* @__PURE__ */ jsxs("div", { children: [t39, t40] });
|
|
2297
|
-
$[
|
|
2298
|
-
$[
|
|
2299
|
-
} else t41 = $[
|
|
2377
|
+
$[85] = t39;
|
|
2378
|
+
$[86] = t41;
|
|
2379
|
+
} else t41 = $[86];
|
|
2300
2380
|
let t42;
|
|
2301
|
-
if ($[
|
|
2381
|
+
if ($[87] !== selectedQueue.stats.paused) {
|
|
2302
2382
|
t42 = /* @__PURE__ */ jsx("div", {
|
|
2303
2383
|
className: "text-2xl font-bold text-muted-foreground",
|
|
2304
2384
|
children: selectedQueue.stats.paused
|
|
2305
2385
|
});
|
|
2306
|
-
$[
|
|
2307
|
-
$[
|
|
2308
|
-
} else t42 = $[
|
|
2386
|
+
$[87] = selectedQueue.stats.paused;
|
|
2387
|
+
$[88] = t42;
|
|
2388
|
+
} else t42 = $[88];
|
|
2309
2389
|
let t43;
|
|
2310
|
-
if ($[
|
|
2390
|
+
if ($[89] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2311
2391
|
t43 = /* @__PURE__ */ jsx("div", {
|
|
2312
2392
|
className: "text-xs text-muted-foreground",
|
|
2313
2393
|
children: "Paused"
|
|
2314
2394
|
});
|
|
2315
|
-
$[
|
|
2316
|
-
} else t43 = $[
|
|
2395
|
+
$[89] = t43;
|
|
2396
|
+
} else t43 = $[89];
|
|
2317
2397
|
let t44;
|
|
2318
|
-
if ($[
|
|
2398
|
+
if ($[90] !== t42) {
|
|
2319
2399
|
t44 = /* @__PURE__ */ jsxs("div", { children: [t42, t43] });
|
|
2320
|
-
$[
|
|
2321
|
-
$[
|
|
2322
|
-
} else t44 = $[
|
|
2400
|
+
$[90] = t42;
|
|
2401
|
+
$[91] = t44;
|
|
2402
|
+
} else t44 = $[91];
|
|
2323
2403
|
let t45;
|
|
2324
|
-
if ($[
|
|
2404
|
+
if ($[92] !== t29 || $[93] !== t32 || $[94] !== t35 || $[95] !== t38 || $[96] !== t41 || $[97] !== t44) {
|
|
2325
2405
|
t45 = /* @__PURE__ */ jsx("div", {
|
|
2326
2406
|
className: "p-3 border-b border-border",
|
|
2327
2407
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -2336,22 +2416,22 @@ const QueueDetail = memo(() => {
|
|
|
2336
2416
|
]
|
|
2337
2417
|
})
|
|
2338
2418
|
});
|
|
2339
|
-
$[
|
|
2340
|
-
$[
|
|
2341
|
-
$[
|
|
2342
|
-
$[
|
|
2343
|
-
$[
|
|
2344
|
-
$[
|
|
2345
|
-
$[
|
|
2346
|
-
} else t45 = $[
|
|
2419
|
+
$[92] = t29;
|
|
2420
|
+
$[93] = t32;
|
|
2421
|
+
$[94] = t35;
|
|
2422
|
+
$[95] = t38;
|
|
2423
|
+
$[96] = t41;
|
|
2424
|
+
$[97] = t44;
|
|
2425
|
+
$[98] = t45;
|
|
2426
|
+
} else t45 = $[98];
|
|
2347
2427
|
let t46;
|
|
2348
|
-
if ($[
|
|
2428
|
+
if ($[99] !== setSelectedStatus) {
|
|
2349
2429
|
t46 = (v) => setSelectedStatus(v);
|
|
2350
|
-
$[
|
|
2351
|
-
$[
|
|
2352
|
-
} else t46 = $[
|
|
2430
|
+
$[99] = setSelectedStatus;
|
|
2431
|
+
$[100] = t46;
|
|
2432
|
+
} else t46 = $[100];
|
|
2353
2433
|
let t47;
|
|
2354
|
-
if ($[
|
|
2434
|
+
if ($[101] !== selectedQueue.stats || $[102] !== selectedStatus) {
|
|
2355
2435
|
t47 = STATUS_TABS.map((tab) => /* @__PURE__ */ jsxs(TabsTrigger, {
|
|
2356
2436
|
value: tab.value,
|
|
2357
2437
|
className: cn("relative", selectedStatus === tab.value && "after:absolute after:bottom-0 after:left-0 after:right-0 after:h-0.5 after:bg-primary"),
|
|
@@ -2360,42 +2440,42 @@ const QueueDetail = memo(() => {
|
|
|
2360
2440
|
children: selectedQueue.stats[tab.value]
|
|
2361
2441
|
})]
|
|
2362
2442
|
}, tab.value));
|
|
2363
|
-
$[
|
|
2364
|
-
$[
|
|
2365
|
-
$[
|
|
2366
|
-
} else t47 = $[
|
|
2443
|
+
$[101] = selectedQueue.stats;
|
|
2444
|
+
$[102] = selectedStatus;
|
|
2445
|
+
$[103] = t47;
|
|
2446
|
+
} else t47 = $[103];
|
|
2367
2447
|
let t48;
|
|
2368
|
-
if ($[
|
|
2448
|
+
if ($[104] !== t47) {
|
|
2369
2449
|
t48 = /* @__PURE__ */ jsx("div", {
|
|
2370
2450
|
className: "px-3 pt-2 border-b border-border",
|
|
2371
2451
|
children: /* @__PURE__ */ jsx(TabsList, { children: t47 })
|
|
2372
2452
|
});
|
|
2373
|
-
$[
|
|
2374
|
-
$[
|
|
2375
|
-
} else t48 = $[
|
|
2453
|
+
$[104] = t47;
|
|
2454
|
+
$[105] = t48;
|
|
2455
|
+
} else t48 = $[105];
|
|
2376
2456
|
let t49;
|
|
2377
|
-
if ($[
|
|
2457
|
+
if ($[106] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2378
2458
|
t49 = /* @__PURE__ */ jsx("div", {
|
|
2379
2459
|
className: "flex-1 overflow-auto",
|
|
2380
2460
|
children: /* @__PURE__ */ jsx(JobsTable, {})
|
|
2381
2461
|
});
|
|
2382
|
-
$[
|
|
2383
|
-
} else t49 = $[
|
|
2462
|
+
$[106] = t49;
|
|
2463
|
+
} else t49 = $[106];
|
|
2384
2464
|
let t50;
|
|
2385
|
-
if ($[
|
|
2465
|
+
if ($[107] !== selectedStatus || $[108] !== t46 || $[109] !== t48) {
|
|
2386
2466
|
t50 = /* @__PURE__ */ jsxs(Tabs, {
|
|
2387
2467
|
value: selectedStatus,
|
|
2388
2468
|
onValueChange: t46,
|
|
2389
2469
|
className: "flex-1 flex flex-col",
|
|
2390
2470
|
children: [t48, t49]
|
|
2391
2471
|
});
|
|
2392
|
-
$[
|
|
2393
|
-
$[
|
|
2394
|
-
$[
|
|
2395
|
-
$[
|
|
2396
|
-
} else t50 = $[
|
|
2472
|
+
$[107] = selectedStatus;
|
|
2473
|
+
$[108] = t46;
|
|
2474
|
+
$[109] = t48;
|
|
2475
|
+
$[110] = t50;
|
|
2476
|
+
} else t50 = $[110];
|
|
2397
2477
|
let t51;
|
|
2398
|
-
if ($[
|
|
2478
|
+
if ($[111] !== t26 || $[112] !== t45 || $[113] !== t50) {
|
|
2399
2479
|
t51 = /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs("div", {
|
|
2400
2480
|
className: "flex flex-col h-full",
|
|
2401
2481
|
children: [
|
|
@@ -2404,11 +2484,11 @@ const QueueDetail = memo(() => {
|
|
|
2404
2484
|
t50
|
|
2405
2485
|
]
|
|
2406
2486
|
}) });
|
|
2407
|
-
$[
|
|
2408
|
-
$[
|
|
2409
|
-
$[
|
|
2410
|
-
$[
|
|
2411
|
-
} else t51 = $[
|
|
2487
|
+
$[111] = t26;
|
|
2488
|
+
$[112] = t45;
|
|
2489
|
+
$[113] = t50;
|
|
2490
|
+
$[114] = t51;
|
|
2491
|
+
} else t51 = $[114];
|
|
2412
2492
|
return t51;
|
|
2413
2493
|
});
|
|
2414
2494
|
QueueDetail.displayName = "QueueDetail";
|
|
@@ -2425,46 +2505,50 @@ function _temp3$1(state_1) {
|
|
|
2425
2505
|
//#endregion
|
|
2426
2506
|
//#region src/components/queue-list.tsx
|
|
2427
2507
|
const QueueItem = memo((t0) => {
|
|
2428
|
-
const $ = c(
|
|
2508
|
+
const $ = c(54);
|
|
2509
|
+
if ($[0] !== "44e6229799ef8371f1e191c6f3e3ef70ea83c9489840337cf1d87e846b1bcc7c") {
|
|
2510
|
+
for (let $i = 0; $i < 54; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
2511
|
+
$[0] = "44e6229799ef8371f1e191c6f3e3ef70ea83c9489840337cf1d87e846b1bcc7c";
|
|
2512
|
+
}
|
|
2429
2513
|
const { queue, isSelected, onClick } = t0;
|
|
2430
2514
|
const totalJobs = queue.stats.waiting + queue.stats.active + queue.stats.delayed + queue.stats.prioritized;
|
|
2431
2515
|
const hasFailedJobs = queue.stats.failed > 0;
|
|
2432
2516
|
const t1 = isSelected ? "bg-muted-foreground/10" : "hover:bg-muted/70";
|
|
2433
2517
|
let t2;
|
|
2434
|
-
if ($[
|
|
2518
|
+
if ($[1] !== t1) {
|
|
2435
2519
|
t2 = cn("w-full text-left p-3 transition-colors border-b border-border", t1);
|
|
2436
|
-
$[
|
|
2437
|
-
$[
|
|
2438
|
-
} else t2 = $[
|
|
2520
|
+
$[1] = t1;
|
|
2521
|
+
$[2] = t2;
|
|
2522
|
+
} else t2 = $[2];
|
|
2439
2523
|
let t3;
|
|
2440
|
-
if ($[
|
|
2524
|
+
if ($[3] !== queue.isDLQ) {
|
|
2441
2525
|
t3 = queue.isDLQ ? /* @__PURE__ */ jsx(Skull, { className: "w-4 h-4 text-destructive" }) : /* @__PURE__ */ jsx(Layers, { className: "w-4 h-4 text-muted-foreground" });
|
|
2442
|
-
$[
|
|
2443
|
-
$[
|
|
2444
|
-
} else t3 = $[
|
|
2526
|
+
$[3] = queue.isDLQ;
|
|
2527
|
+
$[4] = t3;
|
|
2528
|
+
} else t3 = $[4];
|
|
2445
2529
|
let t4;
|
|
2446
|
-
if ($[
|
|
2530
|
+
if ($[5] !== queue.displayName) {
|
|
2447
2531
|
t4 = /* @__PURE__ */ jsx("span", {
|
|
2448
2532
|
className: "font-semibold text-sm truncate flex-1",
|
|
2449
2533
|
children: queue.displayName
|
|
2450
2534
|
});
|
|
2451
|
-
$[
|
|
2452
|
-
$[
|
|
2453
|
-
} else t4 = $[
|
|
2535
|
+
$[5] = queue.displayName;
|
|
2536
|
+
$[6] = t4;
|
|
2537
|
+
} else t4 = $[6];
|
|
2454
2538
|
let t5;
|
|
2455
|
-
if ($[
|
|
2539
|
+
if ($[7] !== queue.isPaused) {
|
|
2456
2540
|
t5 = queue.isPaused && /* @__PURE__ */ jsx(Pause, { className: "w-3 h-3 text-yellow-500" });
|
|
2457
|
-
$[
|
|
2458
|
-
$[
|
|
2459
|
-
} else t5 = $[
|
|
2541
|
+
$[7] = queue.isPaused;
|
|
2542
|
+
$[8] = t5;
|
|
2543
|
+
} else t5 = $[8];
|
|
2460
2544
|
let t6;
|
|
2461
|
-
if ($[
|
|
2545
|
+
if ($[9] !== hasFailedJobs) {
|
|
2462
2546
|
t6 = hasFailedJobs && /* @__PURE__ */ jsx(AlertTriangle, { className: "w-3 h-3 text-destructive" });
|
|
2463
|
-
$[
|
|
2464
|
-
$[
|
|
2465
|
-
} else t6 = $[
|
|
2547
|
+
$[9] = hasFailedJobs;
|
|
2548
|
+
$[10] = t6;
|
|
2549
|
+
} else t6 = $[10];
|
|
2466
2550
|
let t7;
|
|
2467
|
-
if ($[
|
|
2551
|
+
if ($[11] !== t3 || $[12] !== t4 || $[13] !== t5 || $[14] !== t6) {
|
|
2468
2552
|
t7 = /* @__PURE__ */ jsxs("div", {
|
|
2469
2553
|
className: "flex items-center gap-2 mb-1",
|
|
2470
2554
|
children: [
|
|
@@ -2474,29 +2558,29 @@ const QueueItem = memo((t0) => {
|
|
|
2474
2558
|
t6
|
|
2475
2559
|
]
|
|
2476
2560
|
});
|
|
2477
|
-
$[
|
|
2478
|
-
$[
|
|
2479
|
-
$[
|
|
2480
|
-
$[
|
|
2481
|
-
$[
|
|
2482
|
-
} else t7 = $[
|
|
2561
|
+
$[11] = t3;
|
|
2562
|
+
$[12] = t4;
|
|
2563
|
+
$[13] = t5;
|
|
2564
|
+
$[14] = t6;
|
|
2565
|
+
$[15] = t7;
|
|
2566
|
+
} else t7 = $[15];
|
|
2483
2567
|
let t8;
|
|
2484
|
-
if ($[
|
|
2568
|
+
if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2485
2569
|
t8 = /* @__PURE__ */ jsx("span", {
|
|
2486
2570
|
className: "text-muted-foreground",
|
|
2487
2571
|
children: "Wait"
|
|
2488
2572
|
});
|
|
2489
|
-
$[
|
|
2490
|
-
} else t8 = $[
|
|
2573
|
+
$[16] = t8;
|
|
2574
|
+
} else t8 = $[16];
|
|
2491
2575
|
const t9 = queue.stats.waiting > 0 && "text-blue-500";
|
|
2492
2576
|
let t10;
|
|
2493
|
-
if ($[
|
|
2577
|
+
if ($[17] !== t9) {
|
|
2494
2578
|
t10 = cn("font-mono", t9);
|
|
2495
|
-
$[
|
|
2496
|
-
$[
|
|
2497
|
-
} else t10 = $[
|
|
2579
|
+
$[17] = t9;
|
|
2580
|
+
$[18] = t10;
|
|
2581
|
+
} else t10 = $[18];
|
|
2498
2582
|
let t11;
|
|
2499
|
-
if ($[
|
|
2583
|
+
if ($[19] !== queue.stats.waiting || $[20] !== t10) {
|
|
2500
2584
|
t11 = /* @__PURE__ */ jsxs("div", {
|
|
2501
2585
|
className: "flex flex-col",
|
|
2502
2586
|
children: [t8, /* @__PURE__ */ jsx("span", {
|
|
@@ -2504,27 +2588,27 @@ const QueueItem = memo((t0) => {
|
|
|
2504
2588
|
children: queue.stats.waiting
|
|
2505
2589
|
})]
|
|
2506
2590
|
});
|
|
2507
|
-
$[
|
|
2508
|
-
$[
|
|
2509
|
-
$[
|
|
2510
|
-
} else t11 = $[
|
|
2591
|
+
$[19] = queue.stats.waiting;
|
|
2592
|
+
$[20] = t10;
|
|
2593
|
+
$[21] = t11;
|
|
2594
|
+
} else t11 = $[21];
|
|
2511
2595
|
let t12;
|
|
2512
|
-
if ($[
|
|
2596
|
+
if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2513
2597
|
t12 = /* @__PURE__ */ jsx("span", {
|
|
2514
2598
|
className: "text-muted-foreground",
|
|
2515
2599
|
children: "Active"
|
|
2516
2600
|
});
|
|
2517
|
-
$[
|
|
2518
|
-
} else t12 = $[
|
|
2601
|
+
$[22] = t12;
|
|
2602
|
+
} else t12 = $[22];
|
|
2519
2603
|
const t13 = queue.stats.active > 0 && "text-yellow-500";
|
|
2520
2604
|
let t14;
|
|
2521
|
-
if ($[
|
|
2605
|
+
if ($[23] !== t13) {
|
|
2522
2606
|
t14 = cn("font-mono", t13);
|
|
2523
|
-
$[
|
|
2524
|
-
$[
|
|
2525
|
-
} else t14 = $[
|
|
2607
|
+
$[23] = t13;
|
|
2608
|
+
$[24] = t14;
|
|
2609
|
+
} else t14 = $[24];
|
|
2526
2610
|
let t15;
|
|
2527
|
-
if ($[
|
|
2611
|
+
if ($[25] !== queue.stats.active || $[26] !== t14) {
|
|
2528
2612
|
t15 = /* @__PURE__ */ jsxs("div", {
|
|
2529
2613
|
className: "flex flex-col",
|
|
2530
2614
|
children: [t12, /* @__PURE__ */ jsx("span", {
|
|
@@ -2532,27 +2616,27 @@ const QueueItem = memo((t0) => {
|
|
|
2532
2616
|
children: queue.stats.active
|
|
2533
2617
|
})]
|
|
2534
2618
|
});
|
|
2535
|
-
$[
|
|
2536
|
-
$[
|
|
2537
|
-
$[
|
|
2538
|
-
} else t15 = $[
|
|
2619
|
+
$[25] = queue.stats.active;
|
|
2620
|
+
$[26] = t14;
|
|
2621
|
+
$[27] = t15;
|
|
2622
|
+
} else t15 = $[27];
|
|
2539
2623
|
let t16;
|
|
2540
|
-
if ($[
|
|
2624
|
+
if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2541
2625
|
t16 = /* @__PURE__ */ jsx("span", {
|
|
2542
2626
|
className: "text-muted-foreground",
|
|
2543
2627
|
children: "Done"
|
|
2544
2628
|
});
|
|
2545
|
-
$[
|
|
2546
|
-
} else t16 = $[
|
|
2629
|
+
$[28] = t16;
|
|
2630
|
+
} else t16 = $[28];
|
|
2547
2631
|
const t17 = queue.stats.completed > 0 && "text-green-500";
|
|
2548
2632
|
let t18;
|
|
2549
|
-
if ($[
|
|
2633
|
+
if ($[29] !== t17) {
|
|
2550
2634
|
t18 = cn("font-mono", t17);
|
|
2551
|
-
$[
|
|
2552
|
-
$[
|
|
2553
|
-
} else t18 = $[
|
|
2635
|
+
$[29] = t17;
|
|
2636
|
+
$[30] = t18;
|
|
2637
|
+
} else t18 = $[30];
|
|
2554
2638
|
let t19;
|
|
2555
|
-
if ($[
|
|
2639
|
+
if ($[31] !== queue.stats.completed || $[32] !== t18) {
|
|
2556
2640
|
t19 = /* @__PURE__ */ jsxs("div", {
|
|
2557
2641
|
className: "flex flex-col",
|
|
2558
2642
|
children: [t16, /* @__PURE__ */ jsx("span", {
|
|
@@ -2560,27 +2644,27 @@ const QueueItem = memo((t0) => {
|
|
|
2560
2644
|
children: queue.stats.completed
|
|
2561
2645
|
})]
|
|
2562
2646
|
});
|
|
2563
|
-
$[
|
|
2564
|
-
$[
|
|
2565
|
-
$[
|
|
2566
|
-
} else t19 = $[
|
|
2647
|
+
$[31] = queue.stats.completed;
|
|
2648
|
+
$[32] = t18;
|
|
2649
|
+
$[33] = t19;
|
|
2650
|
+
} else t19 = $[33];
|
|
2567
2651
|
let t20;
|
|
2568
|
-
if ($[
|
|
2652
|
+
if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2569
2653
|
t20 = /* @__PURE__ */ jsx("span", {
|
|
2570
2654
|
className: "text-muted-foreground",
|
|
2571
2655
|
children: "Failed"
|
|
2572
2656
|
});
|
|
2573
|
-
$[
|
|
2574
|
-
} else t20 = $[
|
|
2657
|
+
$[34] = t20;
|
|
2658
|
+
} else t20 = $[34];
|
|
2575
2659
|
const t21 = queue.stats.failed > 0 && "text-destructive";
|
|
2576
2660
|
let t22;
|
|
2577
|
-
if ($[
|
|
2661
|
+
if ($[35] !== t21) {
|
|
2578
2662
|
t22 = cn("font-mono", t21);
|
|
2579
|
-
$[
|
|
2580
|
-
$[
|
|
2581
|
-
} else t22 = $[
|
|
2663
|
+
$[35] = t21;
|
|
2664
|
+
$[36] = t22;
|
|
2665
|
+
} else t22 = $[36];
|
|
2582
2666
|
let t23;
|
|
2583
|
-
if ($[
|
|
2667
|
+
if ($[37] !== queue.stats.failed || $[38] !== t22) {
|
|
2584
2668
|
t23 = /* @__PURE__ */ jsxs("div", {
|
|
2585
2669
|
className: "flex flex-col",
|
|
2586
2670
|
children: [t20, /* @__PURE__ */ jsx("span", {
|
|
@@ -2588,12 +2672,12 @@ const QueueItem = memo((t0) => {
|
|
|
2588
2672
|
children: queue.stats.failed
|
|
2589
2673
|
})]
|
|
2590
2674
|
});
|
|
2591
|
-
$[
|
|
2592
|
-
$[
|
|
2593
|
-
$[
|
|
2594
|
-
} else t23 = $[
|
|
2675
|
+
$[37] = queue.stats.failed;
|
|
2676
|
+
$[38] = t22;
|
|
2677
|
+
$[39] = t23;
|
|
2678
|
+
} else t23 = $[39];
|
|
2595
2679
|
let t24;
|
|
2596
|
-
if ($[
|
|
2680
|
+
if ($[40] !== t11 || $[41] !== t15 || $[42] !== t19 || $[43] !== t23) {
|
|
2597
2681
|
t24 = /* @__PURE__ */ jsxs("div", {
|
|
2598
2682
|
className: "grid grid-cols-4 gap-1 text-xs",
|
|
2599
2683
|
children: [
|
|
@@ -2603,14 +2687,14 @@ const QueueItem = memo((t0) => {
|
|
|
2603
2687
|
t23
|
|
2604
2688
|
]
|
|
2605
2689
|
});
|
|
2606
|
-
$[
|
|
2607
|
-
$[
|
|
2608
|
-
$[
|
|
2609
|
-
$[
|
|
2610
|
-
$[
|
|
2611
|
-
} else t24 = $[
|
|
2690
|
+
$[40] = t11;
|
|
2691
|
+
$[41] = t15;
|
|
2692
|
+
$[42] = t19;
|
|
2693
|
+
$[43] = t23;
|
|
2694
|
+
$[44] = t24;
|
|
2695
|
+
} else t24 = $[44];
|
|
2612
2696
|
let t25;
|
|
2613
|
-
if ($[
|
|
2697
|
+
if ($[45] !== queue.stats.delayed || $[46] !== totalJobs) {
|
|
2614
2698
|
t25 = (queue.stats.delayed > 0 || totalJobs > 0) && /* @__PURE__ */ jsxs("div", {
|
|
2615
2699
|
className: "flex gap-2 mt-1 text-xs text-muted-foreground",
|
|
2616
2700
|
children: [queue.stats.delayed > 0 && /* @__PURE__ */ jsxs("span", { children: [queue.stats.delayed, " delayed"] }), totalJobs > 0 && /* @__PURE__ */ jsxs("span", {
|
|
@@ -2618,12 +2702,12 @@ const QueueItem = memo((t0) => {
|
|
|
2618
2702
|
children: [totalJobs, " pending"]
|
|
2619
2703
|
})]
|
|
2620
2704
|
});
|
|
2621
|
-
$[
|
|
2622
|
-
$[
|
|
2623
|
-
$[
|
|
2624
|
-
} else t25 = $[
|
|
2705
|
+
$[45] = queue.stats.delayed;
|
|
2706
|
+
$[46] = totalJobs;
|
|
2707
|
+
$[47] = t25;
|
|
2708
|
+
} else t25 = $[47];
|
|
2625
2709
|
let t26;
|
|
2626
|
-
if ($[
|
|
2710
|
+
if ($[48] !== onClick || $[49] !== t2 || $[50] !== t24 || $[51] !== t25 || $[52] !== t7) {
|
|
2627
2711
|
t26 = /* @__PURE__ */ jsxs("button", {
|
|
2628
2712
|
type: "button",
|
|
2629
2713
|
onClick,
|
|
@@ -2634,18 +2718,22 @@ const QueueItem = memo((t0) => {
|
|
|
2634
2718
|
t25
|
|
2635
2719
|
]
|
|
2636
2720
|
});
|
|
2637
|
-
$[
|
|
2638
|
-
$[
|
|
2639
|
-
$[
|
|
2640
|
-
$[
|
|
2641
|
-
$[
|
|
2642
|
-
$[
|
|
2643
|
-
} else t26 = $[
|
|
2721
|
+
$[48] = onClick;
|
|
2722
|
+
$[49] = t2;
|
|
2723
|
+
$[50] = t24;
|
|
2724
|
+
$[51] = t25;
|
|
2725
|
+
$[52] = t7;
|
|
2726
|
+
$[53] = t26;
|
|
2727
|
+
} else t26 = $[53];
|
|
2644
2728
|
return t26;
|
|
2645
2729
|
});
|
|
2646
2730
|
QueueItem.displayName = "QueueItem";
|
|
2647
2731
|
const QueueList = memo(() => {
|
|
2648
|
-
const $ = c(
|
|
2732
|
+
const $ = c(38);
|
|
2733
|
+
if ($[0] !== "44e6229799ef8371f1e191c6f3e3ef70ea83c9489840337cf1d87e846b1bcc7c") {
|
|
2734
|
+
for (let $i = 0; $i < 38; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
2735
|
+
$[0] = "44e6229799ef8371f1e191c6f3e3ef70ea83c9489840337cf1d87e846b1bcc7c";
|
|
2736
|
+
}
|
|
2649
2737
|
const queues = useBullMQStore(_temp$1);
|
|
2650
2738
|
const selectedQueue = useBullMQStore(_temp2$1);
|
|
2651
2739
|
const setSelectedQueue = useBullMQStore(_temp3);
|
|
@@ -2658,38 +2746,38 @@ const QueueList = memo(() => {
|
|
|
2658
2746
|
break bb0;
|
|
2659
2747
|
}
|
|
2660
2748
|
let t1$1;
|
|
2661
|
-
if ($[
|
|
2749
|
+
if ($[1] !== queues || $[2] !== searchQuery) {
|
|
2662
2750
|
const query = searchQuery.toLowerCase();
|
|
2663
2751
|
t1$1 = queues.filter((q) => q.name.toLowerCase().includes(query) || q.displayName.toLowerCase().includes(query));
|
|
2664
|
-
$[
|
|
2665
|
-
$[
|
|
2666
|
-
$[
|
|
2667
|
-
} else t1$1 = $[
|
|
2752
|
+
$[1] = queues;
|
|
2753
|
+
$[2] = searchQuery;
|
|
2754
|
+
$[3] = t1$1;
|
|
2755
|
+
} else t1$1 = $[3];
|
|
2668
2756
|
t0 = t1$1;
|
|
2669
2757
|
}
|
|
2670
2758
|
const filteredQueues = t0;
|
|
2671
2759
|
let t1;
|
|
2672
|
-
if ($[
|
|
2760
|
+
if ($[4] !== filteredQueues) {
|
|
2673
2761
|
t1 = filteredQueues.filter(_temp6);
|
|
2674
|
-
$[
|
|
2675
|
-
$[
|
|
2676
|
-
} else t1 = $[
|
|
2762
|
+
$[4] = filteredQueues;
|
|
2763
|
+
$[5] = t1;
|
|
2764
|
+
} else t1 = $[5];
|
|
2677
2765
|
const regularQueues = t1;
|
|
2678
2766
|
let t2;
|
|
2679
|
-
if ($[
|
|
2767
|
+
if ($[6] !== filteredQueues) {
|
|
2680
2768
|
t2 = filteredQueues.filter(_temp7);
|
|
2681
|
-
$[
|
|
2682
|
-
$[
|
|
2683
|
-
} else t2 = $[
|
|
2769
|
+
$[6] = filteredQueues;
|
|
2770
|
+
$[7] = t2;
|
|
2771
|
+
} else t2 = $[7];
|
|
2684
2772
|
const dlqQueues = t2;
|
|
2685
2773
|
let t3;
|
|
2686
|
-
if ($[
|
|
2774
|
+
if ($[8] !== setSearchQuery) {
|
|
2687
2775
|
t3 = (e) => setSearchQuery(e.target.value);
|
|
2688
|
-
$[
|
|
2689
|
-
$[
|
|
2690
|
-
} else t3 = $[
|
|
2776
|
+
$[8] = setSearchQuery;
|
|
2777
|
+
$[9] = t3;
|
|
2778
|
+
} else t3 = $[9];
|
|
2691
2779
|
let t4;
|
|
2692
|
-
if ($[
|
|
2780
|
+
if ($[10] !== searchQuery || $[11] !== t3) {
|
|
2693
2781
|
t4 = /* @__PURE__ */ jsx(Input, {
|
|
2694
2782
|
variant: "shade",
|
|
2695
2783
|
value: searchQuery,
|
|
@@ -2697,27 +2785,27 @@ const QueueList = memo(() => {
|
|
|
2697
2785
|
className: "px-9! font-medium text-sm",
|
|
2698
2786
|
placeholder: "Search queues..."
|
|
2699
2787
|
});
|
|
2700
|
-
$[
|
|
2701
|
-
$[
|
|
2702
|
-
$[
|
|
2703
|
-
} else t4 = $[
|
|
2788
|
+
$[10] = searchQuery;
|
|
2789
|
+
$[11] = t3;
|
|
2790
|
+
$[12] = t4;
|
|
2791
|
+
} else t4 = $[12];
|
|
2704
2792
|
let t5;
|
|
2705
|
-
if ($[
|
|
2793
|
+
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2706
2794
|
t5 = /* @__PURE__ */ jsx(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground/50" });
|
|
2707
|
-
$[
|
|
2708
|
-
} else t5 = $[
|
|
2795
|
+
$[13] = t5;
|
|
2796
|
+
} else t5 = $[13];
|
|
2709
2797
|
let t6;
|
|
2710
|
-
if ($[
|
|
2798
|
+
if ($[14] !== searchQuery || $[15] !== setSearchQuery) {
|
|
2711
2799
|
t6 = searchQuery && /* @__PURE__ */ jsx(X, {
|
|
2712
2800
|
className: "cursor-pointer absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground/50 hover:text-muted-foreground",
|
|
2713
2801
|
onClick: () => setSearchQuery("")
|
|
2714
2802
|
});
|
|
2715
|
-
$[
|
|
2716
|
-
$[
|
|
2717
|
-
$[
|
|
2718
|
-
} else t6 = $[
|
|
2803
|
+
$[14] = searchQuery;
|
|
2804
|
+
$[15] = setSearchQuery;
|
|
2805
|
+
$[16] = t6;
|
|
2806
|
+
} else t6 = $[16];
|
|
2719
2807
|
let t7;
|
|
2720
|
-
if ($[
|
|
2808
|
+
if ($[17] !== t4 || $[18] !== t6) {
|
|
2721
2809
|
t7 = /* @__PURE__ */ jsx("div", {
|
|
2722
2810
|
className: "p-2 border-b border-border",
|
|
2723
2811
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -2729,12 +2817,12 @@ const QueueList = memo(() => {
|
|
|
2729
2817
|
]
|
|
2730
2818
|
})
|
|
2731
2819
|
});
|
|
2732
|
-
$[
|
|
2733
|
-
$[
|
|
2734
|
-
$[
|
|
2735
|
-
} else t7 = $[
|
|
2820
|
+
$[17] = t4;
|
|
2821
|
+
$[18] = t6;
|
|
2822
|
+
$[19] = t7;
|
|
2823
|
+
} else t7 = $[19];
|
|
2736
2824
|
let t8;
|
|
2737
|
-
if ($[
|
|
2825
|
+
if ($[20] !== regularQueues || $[21] !== selectedQueue?.name || $[22] !== setSelectedQueue) {
|
|
2738
2826
|
t8 = regularQueues.length > 0 && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
|
|
2739
2827
|
className: "px-3 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wider bg-muted/30",
|
|
2740
2828
|
children: [
|
|
@@ -2747,13 +2835,13 @@ const QueueList = memo(() => {
|
|
|
2747
2835
|
isSelected: selectedQueue?.name === queue.name,
|
|
2748
2836
|
onClick: () => setSelectedQueue(queue)
|
|
2749
2837
|
}, queue.name))] });
|
|
2750
|
-
$[
|
|
2751
|
-
$[
|
|
2752
|
-
$[
|
|
2753
|
-
$[
|
|
2754
|
-
} else t8 = $[
|
|
2838
|
+
$[20] = regularQueues;
|
|
2839
|
+
$[21] = selectedQueue?.name;
|
|
2840
|
+
$[22] = setSelectedQueue;
|
|
2841
|
+
$[23] = t8;
|
|
2842
|
+
} else t8 = $[23];
|
|
2755
2843
|
let t9;
|
|
2756
|
-
if ($[
|
|
2844
|
+
if ($[24] !== dlqQueues || $[25] !== selectedQueue?.name || $[26] !== setSelectedQueue) {
|
|
2757
2845
|
t9 = dlqQueues.length > 0 && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
|
|
2758
2846
|
className: "px-3 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wider bg-destructive/10",
|
|
2759
2847
|
children: [
|
|
@@ -2766,23 +2854,23 @@ const QueueList = memo(() => {
|
|
|
2766
2854
|
isSelected: selectedQueue?.name === queue_0.name,
|
|
2767
2855
|
onClick: () => setSelectedQueue(queue_0)
|
|
2768
2856
|
}, queue_0.name))] });
|
|
2769
|
-
$[
|
|
2770
|
-
$[
|
|
2771
|
-
$[
|
|
2772
|
-
$[
|
|
2773
|
-
} else t9 = $[
|
|
2857
|
+
$[24] = dlqQueues;
|
|
2858
|
+
$[25] = selectedQueue?.name;
|
|
2859
|
+
$[26] = setSelectedQueue;
|
|
2860
|
+
$[27] = t9;
|
|
2861
|
+
} else t9 = $[27];
|
|
2774
2862
|
let t10;
|
|
2775
|
-
if ($[
|
|
2863
|
+
if ($[28] !== filteredQueues.length || $[29] !== searchQuery) {
|
|
2776
2864
|
t10 = filteredQueues.length === 0 && /* @__PURE__ */ jsx("div", {
|
|
2777
2865
|
className: "p-4 text-center text-muted-foreground text-sm",
|
|
2778
2866
|
children: searchQuery ? "No queues match your search" : "No queues found"
|
|
2779
2867
|
});
|
|
2780
|
-
$[
|
|
2781
|
-
$[
|
|
2782
|
-
$[
|
|
2783
|
-
} else t10 = $[
|
|
2868
|
+
$[28] = filteredQueues.length;
|
|
2869
|
+
$[29] = searchQuery;
|
|
2870
|
+
$[30] = t10;
|
|
2871
|
+
} else t10 = $[30];
|
|
2784
2872
|
let t11;
|
|
2785
|
-
if ($[
|
|
2873
|
+
if ($[31] !== t10 || $[32] !== t8 || $[33] !== t9) {
|
|
2786
2874
|
t11 = /* @__PURE__ */ jsxs("div", {
|
|
2787
2875
|
className: "flex-1 overflow-auto",
|
|
2788
2876
|
children: [
|
|
@@ -2791,21 +2879,21 @@ const QueueList = memo(() => {
|
|
|
2791
2879
|
t10
|
|
2792
2880
|
]
|
|
2793
2881
|
});
|
|
2794
|
-
$[
|
|
2795
|
-
$[
|
|
2796
|
-
$[
|
|
2797
|
-
$[
|
|
2798
|
-
} else t11 = $[
|
|
2882
|
+
$[31] = t10;
|
|
2883
|
+
$[32] = t8;
|
|
2884
|
+
$[33] = t9;
|
|
2885
|
+
$[34] = t11;
|
|
2886
|
+
} else t11 = $[34];
|
|
2799
2887
|
let t12;
|
|
2800
|
-
if ($[
|
|
2888
|
+
if ($[35] !== t11 || $[36] !== t7) {
|
|
2801
2889
|
t12 = /* @__PURE__ */ jsxs("div", {
|
|
2802
2890
|
className: "flex flex-col h-full",
|
|
2803
2891
|
children: [t7, t11]
|
|
2804
2892
|
});
|
|
2805
|
-
$[
|
|
2806
|
-
$[
|
|
2807
|
-
$[
|
|
2808
|
-
} else t12 = $[
|
|
2893
|
+
$[35] = t11;
|
|
2894
|
+
$[36] = t7;
|
|
2895
|
+
$[37] = t12;
|
|
2896
|
+
} else t12 = $[37];
|
|
2809
2897
|
return t12;
|
|
2810
2898
|
});
|
|
2811
2899
|
QueueList.displayName = "QueueList";
|
|
@@ -2834,13 +2922,17 @@ function _temp7(q_1) {
|
|
|
2834
2922
|
//#endregion
|
|
2835
2923
|
//#region src/components/queues-page.tsx
|
|
2836
2924
|
const QueuesPageContent = memo(() => {
|
|
2837
|
-
const $ = c(
|
|
2925
|
+
const $ = c(12);
|
|
2926
|
+
if ($[0] !== "d90f8688a2f661493c4a0312f1c954fe541dc3821309a6ba650a56e59fcac492") {
|
|
2927
|
+
for (let $i = 0; $i < 12; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
2928
|
+
$[0] = "d90f8688a2f661493c4a0312f1c954fe541dc3821309a6ba650a56e59fcac492";
|
|
2929
|
+
}
|
|
2838
2930
|
const selectedQueue = useBullMQStore(_temp);
|
|
2839
2931
|
const updateSelectedQueueStats = useBullMQStore(_temp2);
|
|
2840
2932
|
const { queues } = useQueues();
|
|
2841
2933
|
let t0;
|
|
2842
2934
|
let t1;
|
|
2843
|
-
if ($[
|
|
2935
|
+
if ($[1] !== queues || $[2] !== selectedQueue || $[3] !== updateSelectedQueueStats) {
|
|
2844
2936
|
t0 = () => {
|
|
2845
2937
|
if (selectedQueue) {
|
|
2846
2938
|
const updatedQueue = queues.find((q) => q.name === selectedQueue.name);
|
|
@@ -2852,40 +2944,40 @@ const QueuesPageContent = memo(() => {
|
|
|
2852
2944
|
selectedQueue,
|
|
2853
2945
|
updateSelectedQueueStats
|
|
2854
2946
|
];
|
|
2855
|
-
$[
|
|
2856
|
-
$[
|
|
2857
|
-
$[
|
|
2858
|
-
$[
|
|
2859
|
-
$[
|
|
2947
|
+
$[1] = queues;
|
|
2948
|
+
$[2] = selectedQueue;
|
|
2949
|
+
$[3] = updateSelectedQueueStats;
|
|
2950
|
+
$[4] = t0;
|
|
2951
|
+
$[5] = t1;
|
|
2860
2952
|
} else {
|
|
2861
|
-
t0 = $[
|
|
2862
|
-
t1 = $[
|
|
2953
|
+
t0 = $[4];
|
|
2954
|
+
t1 = $[5];
|
|
2863
2955
|
}
|
|
2864
2956
|
useEffect(t0, t1);
|
|
2865
2957
|
let t2;
|
|
2866
|
-
if ($[
|
|
2958
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2867
2959
|
t2 = /* @__PURE__ */ jsx("div", {
|
|
2868
2960
|
className: "border-r border-border overflow-hidden",
|
|
2869
2961
|
children: /* @__PURE__ */ jsx(QueueList, {})
|
|
2870
2962
|
});
|
|
2871
|
-
$[
|
|
2872
|
-
} else t2 = $[
|
|
2963
|
+
$[6] = t2;
|
|
2964
|
+
} else t2 = $[6];
|
|
2873
2965
|
let t3;
|
|
2874
|
-
if ($[
|
|
2966
|
+
if ($[7] !== selectedQueue?.isDLQ) {
|
|
2875
2967
|
t3 = /* @__PURE__ */ jsx("div", {
|
|
2876
2968
|
className: "overflow-hidden",
|
|
2877
2969
|
children: selectedQueue?.isDLQ ? /* @__PURE__ */ jsx(DLQPanel, {}) : /* @__PURE__ */ jsx(QueueDetail, {})
|
|
2878
2970
|
});
|
|
2879
|
-
$[
|
|
2880
|
-
$[
|
|
2881
|
-
} else t3 = $[
|
|
2971
|
+
$[7] = selectedQueue?.isDLQ;
|
|
2972
|
+
$[8] = t3;
|
|
2973
|
+
} else t3 = $[8];
|
|
2882
2974
|
let t4;
|
|
2883
|
-
if ($[
|
|
2975
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2884
2976
|
t4 = /* @__PURE__ */ jsx(JobDetail, {});
|
|
2885
|
-
$[
|
|
2886
|
-
} else t4 = $[
|
|
2977
|
+
$[9] = t4;
|
|
2978
|
+
} else t4 = $[9];
|
|
2887
2979
|
let t5;
|
|
2888
|
-
if ($[
|
|
2980
|
+
if ($[10] !== t3) {
|
|
2889
2981
|
t5 = /* @__PURE__ */ jsxs("div", {
|
|
2890
2982
|
className: "grid grid-cols-[300px_1fr] h-full overflow-hidden",
|
|
2891
2983
|
children: [
|
|
@@ -2894,19 +2986,23 @@ const QueuesPageContent = memo(() => {
|
|
|
2894
2986
|
t4
|
|
2895
2987
|
]
|
|
2896
2988
|
});
|
|
2897
|
-
$[
|
|
2898
|
-
$[
|
|
2899
|
-
} else t5 = $[
|
|
2989
|
+
$[10] = t3;
|
|
2990
|
+
$[11] = t5;
|
|
2991
|
+
} else t5 = $[11];
|
|
2900
2992
|
return t5;
|
|
2901
2993
|
});
|
|
2902
2994
|
QueuesPageContent.displayName = "QueuesPageContent";
|
|
2903
2995
|
const QueuesPage = memo(() => {
|
|
2904
|
-
const $ = c(
|
|
2996
|
+
const $ = c(2);
|
|
2997
|
+
if ($[0] !== "d90f8688a2f661493c4a0312f1c954fe541dc3821309a6ba650a56e59fcac492") {
|
|
2998
|
+
for (let $i = 0; $i < 2; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
2999
|
+
$[0] = "d90f8688a2f661493c4a0312f1c954fe541dc3821309a6ba650a56e59fcac492";
|
|
3000
|
+
}
|
|
2905
3001
|
let t0;
|
|
2906
|
-
if ($[
|
|
3002
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2907
3003
|
t0 = /* @__PURE__ */ jsx(QueryProvider, { children: /* @__PURE__ */ jsx(QueuesPageContent, {}) });
|
|
2908
|
-
$[
|
|
2909
|
-
} else t0 = $[
|
|
3004
|
+
$[1] = t0;
|
|
3005
|
+
} else t0 = $[1];
|
|
2910
3006
|
return t0;
|
|
2911
3007
|
});
|
|
2912
3008
|
QueuesPage.displayName = "QueuesPage";
|