@queuedash/ui 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +15 -15
- package/dist/main.mjs +3884 -3858
- package/dist/src/components/Button.d.ts.map +1 -1
- package/dist/src/components/JobActionMenu.d.ts +3 -2
- package/dist/src/components/JobActionMenu.d.ts.map +1 -1
- package/dist/src/components/JobModal.d.ts.map +1 -1
- package/dist/src/components/QueueActionMenu.d.ts.map +1 -1
- package/dist/src/components/QueueStatusTabs.d.ts.map +1 -1
- package/dist/src/components/SchedulerTable.d.ts.map +1 -1
- package/dist/src/components/TableRow.d.ts +1 -1
- package/dist/src/components/TableRow.d.ts.map +1 -1
- package/dist/src/utils/trpc.d.ts +50 -440
- package/dist/src/utils/trpc.d.ts.map +1 -1
- package/dist/styles.css +439 -21
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/src/utils/trpc.d.ts
CHANGED
|
@@ -20,182 +20,42 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
20
20
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
21
21
|
retry: import("@trpc/server").TRPCMutationProcedure<{
|
|
22
22
|
input: {
|
|
23
|
-
queueName: string;
|
|
24
23
|
jobId: string;
|
|
24
|
+
queueName: string;
|
|
25
25
|
};
|
|
26
|
-
output:
|
|
27
|
-
id: string;
|
|
28
|
-
name: string;
|
|
29
|
-
data: object;
|
|
30
|
-
opts: {
|
|
31
|
-
priority?: number;
|
|
32
|
-
delay?: number;
|
|
33
|
-
attempts?: number;
|
|
34
|
-
backoff?: number;
|
|
35
|
-
lifo?: boolean;
|
|
36
|
-
timeout?: number;
|
|
37
|
-
removeOnComplete?: boolean | number;
|
|
38
|
-
removeOnFail?: boolean | number;
|
|
39
|
-
stackTraceLimit?: number;
|
|
40
|
-
preventParsingData?: boolean;
|
|
41
|
-
repeat?: {
|
|
42
|
-
offset: number;
|
|
43
|
-
tz: string;
|
|
44
|
-
pattern: string;
|
|
45
|
-
count: number;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
createdAt: Date;
|
|
49
|
-
processedAt: Date | null;
|
|
50
|
-
finishedAt: Date | null;
|
|
51
|
-
failedReason?: string;
|
|
52
|
-
stacktrace?: string[];
|
|
53
|
-
retriedAt: Date | null;
|
|
54
|
-
};
|
|
26
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
55
27
|
meta: object;
|
|
56
28
|
}>;
|
|
57
29
|
discard: import("@trpc/server").TRPCMutationProcedure<{
|
|
58
30
|
input: {
|
|
59
|
-
queueName: string;
|
|
60
31
|
jobId: string;
|
|
32
|
+
queueName: string;
|
|
61
33
|
};
|
|
62
|
-
output:
|
|
63
|
-
id: string;
|
|
64
|
-
name: string;
|
|
65
|
-
data: object;
|
|
66
|
-
opts: {
|
|
67
|
-
priority?: number;
|
|
68
|
-
delay?: number;
|
|
69
|
-
attempts?: number;
|
|
70
|
-
backoff?: number;
|
|
71
|
-
lifo?: boolean;
|
|
72
|
-
timeout?: number;
|
|
73
|
-
removeOnComplete?: boolean | number;
|
|
74
|
-
removeOnFail?: boolean | number;
|
|
75
|
-
stackTraceLimit?: number;
|
|
76
|
-
preventParsingData?: boolean;
|
|
77
|
-
repeat?: {
|
|
78
|
-
offset: number;
|
|
79
|
-
tz: string;
|
|
80
|
-
pattern: string;
|
|
81
|
-
count: number;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
createdAt: Date;
|
|
85
|
-
processedAt: Date | null;
|
|
86
|
-
finishedAt: Date | null;
|
|
87
|
-
failedReason?: string;
|
|
88
|
-
stacktrace?: string[];
|
|
89
|
-
retriedAt: Date | null;
|
|
90
|
-
};
|
|
34
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
91
35
|
meta: object;
|
|
92
36
|
}>;
|
|
93
37
|
rerun: import("@trpc/server").TRPCMutationProcedure<{
|
|
94
38
|
input: {
|
|
95
|
-
queueName: string;
|
|
96
39
|
jobId: string;
|
|
40
|
+
queueName: string;
|
|
97
41
|
};
|
|
98
|
-
output:
|
|
99
|
-
id: string;
|
|
100
|
-
name: string;
|
|
101
|
-
data: object;
|
|
102
|
-
opts: {
|
|
103
|
-
priority?: number;
|
|
104
|
-
delay?: number;
|
|
105
|
-
attempts?: number;
|
|
106
|
-
backoff?: number;
|
|
107
|
-
lifo?: boolean;
|
|
108
|
-
timeout?: number;
|
|
109
|
-
removeOnComplete?: boolean | number;
|
|
110
|
-
removeOnFail?: boolean | number;
|
|
111
|
-
stackTraceLimit?: number;
|
|
112
|
-
preventParsingData?: boolean;
|
|
113
|
-
repeat?: {
|
|
114
|
-
offset: number;
|
|
115
|
-
tz: string;
|
|
116
|
-
pattern: string;
|
|
117
|
-
count: number;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
createdAt: Date;
|
|
121
|
-
processedAt: Date | null;
|
|
122
|
-
finishedAt: Date | null;
|
|
123
|
-
failedReason?: string;
|
|
124
|
-
stacktrace?: string[];
|
|
125
|
-
retriedAt: Date | null;
|
|
126
|
-
};
|
|
42
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
127
43
|
meta: object;
|
|
128
44
|
}>;
|
|
129
45
|
promote: import("@trpc/server").TRPCMutationProcedure<{
|
|
130
46
|
input: {
|
|
131
|
-
queueName: string;
|
|
132
47
|
jobId: string;
|
|
48
|
+
queueName: string;
|
|
133
49
|
};
|
|
134
|
-
output:
|
|
135
|
-
id: string;
|
|
136
|
-
name: string;
|
|
137
|
-
data: object;
|
|
138
|
-
opts: {
|
|
139
|
-
priority?: number;
|
|
140
|
-
delay?: number;
|
|
141
|
-
attempts?: number;
|
|
142
|
-
backoff?: number;
|
|
143
|
-
lifo?: boolean;
|
|
144
|
-
timeout?: number;
|
|
145
|
-
removeOnComplete?: boolean | number;
|
|
146
|
-
removeOnFail?: boolean | number;
|
|
147
|
-
stackTraceLimit?: number;
|
|
148
|
-
preventParsingData?: boolean;
|
|
149
|
-
repeat?: {
|
|
150
|
-
offset: number;
|
|
151
|
-
tz: string;
|
|
152
|
-
pattern: string;
|
|
153
|
-
count: number;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
createdAt: Date;
|
|
157
|
-
processedAt: Date | null;
|
|
158
|
-
finishedAt: Date | null;
|
|
159
|
-
failedReason?: string;
|
|
160
|
-
stacktrace?: string[];
|
|
161
|
-
retriedAt: Date | null;
|
|
162
|
-
};
|
|
50
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
163
51
|
meta: object;
|
|
164
52
|
}>;
|
|
165
53
|
remove: import("@trpc/server").TRPCMutationProcedure<{
|
|
166
54
|
input: {
|
|
167
|
-
queueName: string;
|
|
168
55
|
jobId: string;
|
|
56
|
+
queueName: string;
|
|
169
57
|
};
|
|
170
|
-
output:
|
|
171
|
-
id: string;
|
|
172
|
-
name: string;
|
|
173
|
-
data: object;
|
|
174
|
-
opts: {
|
|
175
|
-
priority?: number;
|
|
176
|
-
delay?: number;
|
|
177
|
-
attempts?: number;
|
|
178
|
-
backoff?: number;
|
|
179
|
-
lifo?: boolean;
|
|
180
|
-
timeout?: number;
|
|
181
|
-
removeOnComplete?: boolean | number;
|
|
182
|
-
removeOnFail?: boolean | number;
|
|
183
|
-
stackTraceLimit?: number;
|
|
184
|
-
preventParsingData?: boolean;
|
|
185
|
-
repeat?: {
|
|
186
|
-
offset: number;
|
|
187
|
-
tz: string;
|
|
188
|
-
pattern: string;
|
|
189
|
-
count: number;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
createdAt: Date;
|
|
193
|
-
processedAt: Date | null;
|
|
194
|
-
finishedAt: Date | null;
|
|
195
|
-
failedReason?: string;
|
|
196
|
-
stacktrace?: string[];
|
|
197
|
-
retriedAt: Date | null;
|
|
198
|
-
};
|
|
58
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
199
59
|
meta: object;
|
|
200
60
|
}>;
|
|
201
61
|
bulkRemove: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -203,85 +63,29 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
203
63
|
queueName: string;
|
|
204
64
|
jobIds: string[];
|
|
205
65
|
};
|
|
206
|
-
output:
|
|
207
|
-
id: string;
|
|
208
|
-
name: string;
|
|
209
|
-
data: object;
|
|
210
|
-
opts: {
|
|
211
|
-
priority?: number;
|
|
212
|
-
delay?: number;
|
|
213
|
-
attempts?: number;
|
|
214
|
-
backoff?: number;
|
|
215
|
-
lifo?: boolean;
|
|
216
|
-
timeout?: number;
|
|
217
|
-
removeOnComplete?: boolean | number;
|
|
218
|
-
removeOnFail?: boolean | number;
|
|
219
|
-
stackTraceLimit?: number;
|
|
220
|
-
preventParsingData?: boolean;
|
|
221
|
-
repeat?: {
|
|
222
|
-
offset: number;
|
|
223
|
-
tz: string;
|
|
224
|
-
pattern: string;
|
|
225
|
-
count: number;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
createdAt: Date;
|
|
229
|
-
processedAt: Date | null;
|
|
230
|
-
finishedAt: Date | null;
|
|
231
|
-
failedReason?: string;
|
|
232
|
-
stacktrace?: string[];
|
|
233
|
-
retriedAt: Date | null;
|
|
234
|
-
}[];
|
|
66
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob[];
|
|
235
67
|
meta: object;
|
|
236
68
|
}>;
|
|
237
69
|
logs: import("@trpc/server").TRPCQueryProcedure<{
|
|
238
70
|
input: {
|
|
239
|
-
queueName: string;
|
|
240
71
|
jobId: string;
|
|
72
|
+
queueName: string;
|
|
241
73
|
};
|
|
242
74
|
output: string[] | null;
|
|
243
75
|
meta: object;
|
|
244
76
|
}>;
|
|
245
77
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
246
78
|
input: {
|
|
247
|
-
status: "completed" | "failed" | "delayed" | "active" | "prioritized" | "waiting" | "waiting-children" | "paused";
|
|
248
|
-
queueName: string;
|
|
249
79
|
limit: number;
|
|
80
|
+
status: "completed" | "failed" | "delayed" | "active" | "waiting" | "paused" | "waiting-children" | "prioritized";
|
|
81
|
+
queueName: string;
|
|
250
82
|
cursor?: number | undefined;
|
|
251
83
|
};
|
|
252
84
|
output: {
|
|
253
85
|
totalCount: number;
|
|
254
86
|
numOfPages: number;
|
|
255
87
|
nextCursor: number | undefined;
|
|
256
|
-
jobs:
|
|
257
|
-
id: string;
|
|
258
|
-
name: string;
|
|
259
|
-
data: object;
|
|
260
|
-
opts: {
|
|
261
|
-
priority?: number;
|
|
262
|
-
delay?: number;
|
|
263
|
-
attempts?: number;
|
|
264
|
-
backoff?: number;
|
|
265
|
-
lifo?: boolean;
|
|
266
|
-
timeout?: number;
|
|
267
|
-
removeOnComplete?: boolean | number;
|
|
268
|
-
removeOnFail?: boolean | number;
|
|
269
|
-
stackTraceLimit?: number;
|
|
270
|
-
preventParsingData?: boolean;
|
|
271
|
-
repeat?: {
|
|
272
|
-
offset: number;
|
|
273
|
-
tz: string;
|
|
274
|
-
pattern: string;
|
|
275
|
-
count: number;
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
createdAt: Date;
|
|
279
|
-
processedAt: Date | null;
|
|
280
|
-
finishedAt: Date | null;
|
|
281
|
-
failedReason?: string;
|
|
282
|
-
stacktrace?: string[];
|
|
283
|
-
retriedAt: Date | null;
|
|
284
|
-
}[];
|
|
88
|
+
jobs: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob[];
|
|
285
89
|
};
|
|
286
90
|
meta: object;
|
|
287
91
|
}>;
|
|
@@ -294,7 +98,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
294
98
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
295
99
|
clean: import("@trpc/server").TRPCMutationProcedure<{
|
|
296
100
|
input: {
|
|
297
|
-
status:
|
|
101
|
+
status: string;
|
|
298
102
|
queueName: string;
|
|
299
103
|
};
|
|
300
104
|
output: {
|
|
@@ -361,8 +165,8 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
361
165
|
};
|
|
362
166
|
opts?: {
|
|
363
167
|
every?: number | undefined;
|
|
364
|
-
pattern?: string | undefined;
|
|
365
168
|
tz?: string | undefined;
|
|
169
|
+
pattern?: string | undefined;
|
|
366
170
|
} | undefined;
|
|
367
171
|
};
|
|
368
172
|
output: {
|
|
@@ -379,15 +183,16 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
379
183
|
name: string;
|
|
380
184
|
paused: boolean;
|
|
381
185
|
type: "bull" | "bullmq" | "bee" | "groupmq";
|
|
186
|
+
supports: import("@queuedash/api/dist/src/queue-adapters/base.adapter").FeatureSupport<string>;
|
|
382
187
|
counts: {
|
|
383
|
-
paused: number;
|
|
384
|
-
"waiting-children"?: number | undefined;
|
|
385
|
-
waiting: number;
|
|
386
|
-
prioritized?: number | undefined;
|
|
387
188
|
active: number;
|
|
388
189
|
completed: number;
|
|
389
190
|
delayed: number;
|
|
390
191
|
failed: number;
|
|
192
|
+
waiting: number;
|
|
193
|
+
prioritized: number;
|
|
194
|
+
"waiting-children": number;
|
|
195
|
+
paused: number;
|
|
391
196
|
};
|
|
392
197
|
client: {
|
|
393
198
|
usedMemoryPercentage: number;
|
|
@@ -421,7 +226,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
421
226
|
input: {
|
|
422
227
|
queueName: string;
|
|
423
228
|
};
|
|
424
|
-
output: import("@queuedash/api/dist/src/
|
|
229
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
425
230
|
meta: object;
|
|
426
231
|
}>;
|
|
427
232
|
add: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -430,8 +235,8 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
430
235
|
data: Record<string, any>;
|
|
431
236
|
jobName: string;
|
|
432
237
|
every?: number | undefined;
|
|
433
|
-
pattern?: string | undefined;
|
|
434
238
|
tz?: string | undefined;
|
|
239
|
+
pattern?: string | undefined;
|
|
435
240
|
};
|
|
436
241
|
output: {
|
|
437
242
|
success: boolean;
|
|
@@ -453,7 +258,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
453
258
|
queueName: string;
|
|
454
259
|
jobSchedulerIds: string[];
|
|
455
260
|
};
|
|
456
|
-
output: import("@queuedash/api/dist/src/
|
|
261
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
457
262
|
meta: object;
|
|
458
263
|
}>;
|
|
459
264
|
}>>;
|
|
@@ -471,182 +276,42 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
471
276
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
472
277
|
retry: import("@trpc/server").TRPCMutationProcedure<{
|
|
473
278
|
input: {
|
|
474
|
-
queueName: string;
|
|
475
279
|
jobId: string;
|
|
280
|
+
queueName: string;
|
|
476
281
|
};
|
|
477
|
-
output:
|
|
478
|
-
id: string;
|
|
479
|
-
name: string;
|
|
480
|
-
data: object;
|
|
481
|
-
opts: {
|
|
482
|
-
priority?: number;
|
|
483
|
-
delay?: number;
|
|
484
|
-
attempts?: number;
|
|
485
|
-
backoff?: number;
|
|
486
|
-
lifo?: boolean;
|
|
487
|
-
timeout?: number;
|
|
488
|
-
removeOnComplete?: boolean | number;
|
|
489
|
-
removeOnFail?: boolean | number;
|
|
490
|
-
stackTraceLimit?: number;
|
|
491
|
-
preventParsingData?: boolean;
|
|
492
|
-
repeat?: {
|
|
493
|
-
offset: number;
|
|
494
|
-
tz: string;
|
|
495
|
-
pattern: string;
|
|
496
|
-
count: number;
|
|
497
|
-
};
|
|
498
|
-
};
|
|
499
|
-
createdAt: Date;
|
|
500
|
-
processedAt: Date | null;
|
|
501
|
-
finishedAt: Date | null;
|
|
502
|
-
failedReason?: string;
|
|
503
|
-
stacktrace?: string[];
|
|
504
|
-
retriedAt: Date | null;
|
|
505
|
-
};
|
|
282
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
506
283
|
meta: object;
|
|
507
284
|
}>;
|
|
508
285
|
discard: import("@trpc/server").TRPCMutationProcedure<{
|
|
509
286
|
input: {
|
|
510
|
-
queueName: string;
|
|
511
287
|
jobId: string;
|
|
288
|
+
queueName: string;
|
|
512
289
|
};
|
|
513
|
-
output:
|
|
514
|
-
id: string;
|
|
515
|
-
name: string;
|
|
516
|
-
data: object;
|
|
517
|
-
opts: {
|
|
518
|
-
priority?: number;
|
|
519
|
-
delay?: number;
|
|
520
|
-
attempts?: number;
|
|
521
|
-
backoff?: number;
|
|
522
|
-
lifo?: boolean;
|
|
523
|
-
timeout?: number;
|
|
524
|
-
removeOnComplete?: boolean | number;
|
|
525
|
-
removeOnFail?: boolean | number;
|
|
526
|
-
stackTraceLimit?: number;
|
|
527
|
-
preventParsingData?: boolean;
|
|
528
|
-
repeat?: {
|
|
529
|
-
offset: number;
|
|
530
|
-
tz: string;
|
|
531
|
-
pattern: string;
|
|
532
|
-
count: number;
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
createdAt: Date;
|
|
536
|
-
processedAt: Date | null;
|
|
537
|
-
finishedAt: Date | null;
|
|
538
|
-
failedReason?: string;
|
|
539
|
-
stacktrace?: string[];
|
|
540
|
-
retriedAt: Date | null;
|
|
541
|
-
};
|
|
290
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
542
291
|
meta: object;
|
|
543
292
|
}>;
|
|
544
293
|
rerun: import("@trpc/server").TRPCMutationProcedure<{
|
|
545
294
|
input: {
|
|
546
|
-
queueName: string;
|
|
547
295
|
jobId: string;
|
|
296
|
+
queueName: string;
|
|
548
297
|
};
|
|
549
|
-
output:
|
|
550
|
-
id: string;
|
|
551
|
-
name: string;
|
|
552
|
-
data: object;
|
|
553
|
-
opts: {
|
|
554
|
-
priority?: number;
|
|
555
|
-
delay?: number;
|
|
556
|
-
attempts?: number;
|
|
557
|
-
backoff?: number;
|
|
558
|
-
lifo?: boolean;
|
|
559
|
-
timeout?: number;
|
|
560
|
-
removeOnComplete?: boolean | number;
|
|
561
|
-
removeOnFail?: boolean | number;
|
|
562
|
-
stackTraceLimit?: number;
|
|
563
|
-
preventParsingData?: boolean;
|
|
564
|
-
repeat?: {
|
|
565
|
-
offset: number;
|
|
566
|
-
tz: string;
|
|
567
|
-
pattern: string;
|
|
568
|
-
count: number;
|
|
569
|
-
};
|
|
570
|
-
};
|
|
571
|
-
createdAt: Date;
|
|
572
|
-
processedAt: Date | null;
|
|
573
|
-
finishedAt: Date | null;
|
|
574
|
-
failedReason?: string;
|
|
575
|
-
stacktrace?: string[];
|
|
576
|
-
retriedAt: Date | null;
|
|
577
|
-
};
|
|
298
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
578
299
|
meta: object;
|
|
579
300
|
}>;
|
|
580
301
|
promote: import("@trpc/server").TRPCMutationProcedure<{
|
|
581
302
|
input: {
|
|
582
|
-
queueName: string;
|
|
583
303
|
jobId: string;
|
|
304
|
+
queueName: string;
|
|
584
305
|
};
|
|
585
|
-
output:
|
|
586
|
-
id: string;
|
|
587
|
-
name: string;
|
|
588
|
-
data: object;
|
|
589
|
-
opts: {
|
|
590
|
-
priority?: number;
|
|
591
|
-
delay?: number;
|
|
592
|
-
attempts?: number;
|
|
593
|
-
backoff?: number;
|
|
594
|
-
lifo?: boolean;
|
|
595
|
-
timeout?: number;
|
|
596
|
-
removeOnComplete?: boolean | number;
|
|
597
|
-
removeOnFail?: boolean | number;
|
|
598
|
-
stackTraceLimit?: number;
|
|
599
|
-
preventParsingData?: boolean;
|
|
600
|
-
repeat?: {
|
|
601
|
-
offset: number;
|
|
602
|
-
tz: string;
|
|
603
|
-
pattern: string;
|
|
604
|
-
count: number;
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
createdAt: Date;
|
|
608
|
-
processedAt: Date | null;
|
|
609
|
-
finishedAt: Date | null;
|
|
610
|
-
failedReason?: string;
|
|
611
|
-
stacktrace?: string[];
|
|
612
|
-
retriedAt: Date | null;
|
|
613
|
-
};
|
|
306
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
614
307
|
meta: object;
|
|
615
308
|
}>;
|
|
616
309
|
remove: import("@trpc/server").TRPCMutationProcedure<{
|
|
617
310
|
input: {
|
|
618
|
-
queueName: string;
|
|
619
311
|
jobId: string;
|
|
312
|
+
queueName: string;
|
|
620
313
|
};
|
|
621
|
-
output:
|
|
622
|
-
id: string;
|
|
623
|
-
name: string;
|
|
624
|
-
data: object;
|
|
625
|
-
opts: {
|
|
626
|
-
priority?: number;
|
|
627
|
-
delay?: number;
|
|
628
|
-
attempts?: number;
|
|
629
|
-
backoff?: number;
|
|
630
|
-
lifo?: boolean;
|
|
631
|
-
timeout?: number;
|
|
632
|
-
removeOnComplete?: boolean | number;
|
|
633
|
-
removeOnFail?: boolean | number;
|
|
634
|
-
stackTraceLimit?: number;
|
|
635
|
-
preventParsingData?: boolean;
|
|
636
|
-
repeat?: {
|
|
637
|
-
offset: number;
|
|
638
|
-
tz: string;
|
|
639
|
-
pattern: string;
|
|
640
|
-
count: number;
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
createdAt: Date;
|
|
644
|
-
processedAt: Date | null;
|
|
645
|
-
finishedAt: Date | null;
|
|
646
|
-
failedReason?: string;
|
|
647
|
-
stacktrace?: string[];
|
|
648
|
-
retriedAt: Date | null;
|
|
649
|
-
};
|
|
314
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
650
315
|
meta: object;
|
|
651
316
|
}>;
|
|
652
317
|
bulkRemove: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -654,85 +319,29 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
654
319
|
queueName: string;
|
|
655
320
|
jobIds: string[];
|
|
656
321
|
};
|
|
657
|
-
output:
|
|
658
|
-
id: string;
|
|
659
|
-
name: string;
|
|
660
|
-
data: object;
|
|
661
|
-
opts: {
|
|
662
|
-
priority?: number;
|
|
663
|
-
delay?: number;
|
|
664
|
-
attempts?: number;
|
|
665
|
-
backoff?: number;
|
|
666
|
-
lifo?: boolean;
|
|
667
|
-
timeout?: number;
|
|
668
|
-
removeOnComplete?: boolean | number;
|
|
669
|
-
removeOnFail?: boolean | number;
|
|
670
|
-
stackTraceLimit?: number;
|
|
671
|
-
preventParsingData?: boolean;
|
|
672
|
-
repeat?: {
|
|
673
|
-
offset: number;
|
|
674
|
-
tz: string;
|
|
675
|
-
pattern: string;
|
|
676
|
-
count: number;
|
|
677
|
-
};
|
|
678
|
-
};
|
|
679
|
-
createdAt: Date;
|
|
680
|
-
processedAt: Date | null;
|
|
681
|
-
finishedAt: Date | null;
|
|
682
|
-
failedReason?: string;
|
|
683
|
-
stacktrace?: string[];
|
|
684
|
-
retriedAt: Date | null;
|
|
685
|
-
}[];
|
|
322
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob[];
|
|
686
323
|
meta: object;
|
|
687
324
|
}>;
|
|
688
325
|
logs: import("@trpc/server").TRPCQueryProcedure<{
|
|
689
326
|
input: {
|
|
690
|
-
queueName: string;
|
|
691
327
|
jobId: string;
|
|
328
|
+
queueName: string;
|
|
692
329
|
};
|
|
693
330
|
output: string[] | null;
|
|
694
331
|
meta: object;
|
|
695
332
|
}>;
|
|
696
333
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
697
334
|
input: {
|
|
698
|
-
status: "completed" | "failed" | "delayed" | "active" | "prioritized" | "waiting" | "waiting-children" | "paused";
|
|
699
|
-
queueName: string;
|
|
700
335
|
limit: number;
|
|
336
|
+
status: "completed" | "failed" | "delayed" | "active" | "waiting" | "paused" | "waiting-children" | "prioritized";
|
|
337
|
+
queueName: string;
|
|
701
338
|
cursor?: number | undefined;
|
|
702
339
|
};
|
|
703
340
|
output: {
|
|
704
341
|
totalCount: number;
|
|
705
342
|
numOfPages: number;
|
|
706
343
|
nextCursor: number | undefined;
|
|
707
|
-
jobs:
|
|
708
|
-
id: string;
|
|
709
|
-
name: string;
|
|
710
|
-
data: object;
|
|
711
|
-
opts: {
|
|
712
|
-
priority?: number;
|
|
713
|
-
delay?: number;
|
|
714
|
-
attempts?: number;
|
|
715
|
-
backoff?: number;
|
|
716
|
-
lifo?: boolean;
|
|
717
|
-
timeout?: number;
|
|
718
|
-
removeOnComplete?: boolean | number;
|
|
719
|
-
removeOnFail?: boolean | number;
|
|
720
|
-
stackTraceLimit?: number;
|
|
721
|
-
preventParsingData?: boolean;
|
|
722
|
-
repeat?: {
|
|
723
|
-
offset: number;
|
|
724
|
-
tz: string;
|
|
725
|
-
pattern: string;
|
|
726
|
-
count: number;
|
|
727
|
-
};
|
|
728
|
-
};
|
|
729
|
-
createdAt: Date;
|
|
730
|
-
processedAt: Date | null;
|
|
731
|
-
finishedAt: Date | null;
|
|
732
|
-
failedReason?: string;
|
|
733
|
-
stacktrace?: string[];
|
|
734
|
-
retriedAt: Date | null;
|
|
735
|
-
}[];
|
|
344
|
+
jobs: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob[];
|
|
736
345
|
};
|
|
737
346
|
meta: object;
|
|
738
347
|
}>;
|
|
@@ -745,7 +354,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
745
354
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
746
355
|
clean: import("@trpc/server").TRPCMutationProcedure<{
|
|
747
356
|
input: {
|
|
748
|
-
status:
|
|
357
|
+
status: string;
|
|
749
358
|
queueName: string;
|
|
750
359
|
};
|
|
751
360
|
output: {
|
|
@@ -812,8 +421,8 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
812
421
|
};
|
|
813
422
|
opts?: {
|
|
814
423
|
every?: number | undefined;
|
|
815
|
-
pattern?: string | undefined;
|
|
816
424
|
tz?: string | undefined;
|
|
425
|
+
pattern?: string | undefined;
|
|
817
426
|
} | undefined;
|
|
818
427
|
};
|
|
819
428
|
output: {
|
|
@@ -830,15 +439,16 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
830
439
|
name: string;
|
|
831
440
|
paused: boolean;
|
|
832
441
|
type: "bull" | "bullmq" | "bee" | "groupmq";
|
|
442
|
+
supports: import("@queuedash/api/dist/src/queue-adapters/base.adapter").FeatureSupport<string>;
|
|
833
443
|
counts: {
|
|
834
|
-
paused: number;
|
|
835
|
-
"waiting-children"?: number | undefined;
|
|
836
|
-
waiting: number;
|
|
837
|
-
prioritized?: number | undefined;
|
|
838
444
|
active: number;
|
|
839
445
|
completed: number;
|
|
840
446
|
delayed: number;
|
|
841
447
|
failed: number;
|
|
448
|
+
waiting: number;
|
|
449
|
+
prioritized: number;
|
|
450
|
+
"waiting-children": number;
|
|
451
|
+
paused: number;
|
|
842
452
|
};
|
|
843
453
|
client: {
|
|
844
454
|
usedMemoryPercentage: number;
|
|
@@ -872,7 +482,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
872
482
|
input: {
|
|
873
483
|
queueName: string;
|
|
874
484
|
};
|
|
875
|
-
output: import("@queuedash/api/dist/src/
|
|
485
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
876
486
|
meta: object;
|
|
877
487
|
}>;
|
|
878
488
|
add: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -881,8 +491,8 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
881
491
|
data: Record<string, any>;
|
|
882
492
|
jobName: string;
|
|
883
493
|
every?: number | undefined;
|
|
884
|
-
pattern?: string | undefined;
|
|
885
494
|
tz?: string | undefined;
|
|
495
|
+
pattern?: string | undefined;
|
|
886
496
|
};
|
|
887
497
|
output: {
|
|
888
498
|
success: boolean;
|
|
@@ -904,7 +514,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
904
514
|
queueName: string;
|
|
905
515
|
jobSchedulerIds: string[];
|
|
906
516
|
};
|
|
907
|
-
output: import("@queuedash/api/dist/src/
|
|
517
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
908
518
|
meta: object;
|
|
909
519
|
}>;
|
|
910
520
|
}>>;
|