@queuedash/ui 3.8.0 → 3.10.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 +5219 -5094
- 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/MetricsCard.d.ts +12 -0
- package/dist/src/components/MetricsCard.d.ts.map +1 -0
- package/dist/src/components/MetricsSection.d.ts +6 -0
- package/dist/src/components/MetricsSection.d.ts.map +1 -0
- 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/pages/QueuePage.d.ts.map +1 -1
- package/dist/src/utils/trpc.d.ts +70 -440
- package/dist/src/utils/trpc.d.ts.map +1 -1
- package/dist/styles.css +521 -19
- 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;
|
|
@@ -410,6 +215,16 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
410
215
|
}[];
|
|
411
216
|
meta: object;
|
|
412
217
|
}>;
|
|
218
|
+
metrics: import("@trpc/server").TRPCQueryProcedure<{
|
|
219
|
+
input: {
|
|
220
|
+
type: "completed" | "failed";
|
|
221
|
+
queueName: string;
|
|
222
|
+
start: number;
|
|
223
|
+
end: number;
|
|
224
|
+
};
|
|
225
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").QueueMetrics;
|
|
226
|
+
meta: object;
|
|
227
|
+
}>;
|
|
413
228
|
}>>;
|
|
414
229
|
scheduler: import("@trpc/server").TRPCBuiltRouter<{
|
|
415
230
|
ctx: import("@queuedash/api").Context;
|
|
@@ -421,7 +236,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
421
236
|
input: {
|
|
422
237
|
queueName: string;
|
|
423
238
|
};
|
|
424
|
-
output: import("@queuedash/api/dist/src/
|
|
239
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
425
240
|
meta: object;
|
|
426
241
|
}>;
|
|
427
242
|
add: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -430,8 +245,8 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
430
245
|
data: Record<string, any>;
|
|
431
246
|
jobName: string;
|
|
432
247
|
every?: number | undefined;
|
|
433
|
-
pattern?: string | undefined;
|
|
434
248
|
tz?: string | undefined;
|
|
249
|
+
pattern?: string | undefined;
|
|
435
250
|
};
|
|
436
251
|
output: {
|
|
437
252
|
success: boolean;
|
|
@@ -453,7 +268,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
453
268
|
queueName: string;
|
|
454
269
|
jobSchedulerIds: string[];
|
|
455
270
|
};
|
|
456
|
-
output: import("@queuedash/api/dist/src/
|
|
271
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
457
272
|
meta: object;
|
|
458
273
|
}>;
|
|
459
274
|
}>>;
|
|
@@ -471,182 +286,42 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
471
286
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
472
287
|
retry: import("@trpc/server").TRPCMutationProcedure<{
|
|
473
288
|
input: {
|
|
474
|
-
queueName: string;
|
|
475
289
|
jobId: string;
|
|
290
|
+
queueName: string;
|
|
476
291
|
};
|
|
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
|
-
};
|
|
292
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
506
293
|
meta: object;
|
|
507
294
|
}>;
|
|
508
295
|
discard: import("@trpc/server").TRPCMutationProcedure<{
|
|
509
296
|
input: {
|
|
510
|
-
queueName: string;
|
|
511
297
|
jobId: string;
|
|
298
|
+
queueName: string;
|
|
512
299
|
};
|
|
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
|
-
};
|
|
300
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
542
301
|
meta: object;
|
|
543
302
|
}>;
|
|
544
303
|
rerun: import("@trpc/server").TRPCMutationProcedure<{
|
|
545
304
|
input: {
|
|
546
|
-
queueName: string;
|
|
547
305
|
jobId: string;
|
|
306
|
+
queueName: string;
|
|
548
307
|
};
|
|
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
|
-
};
|
|
308
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
578
309
|
meta: object;
|
|
579
310
|
}>;
|
|
580
311
|
promote: import("@trpc/server").TRPCMutationProcedure<{
|
|
581
312
|
input: {
|
|
582
|
-
queueName: string;
|
|
583
313
|
jobId: string;
|
|
314
|
+
queueName: string;
|
|
584
315
|
};
|
|
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
|
-
};
|
|
316
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
614
317
|
meta: object;
|
|
615
318
|
}>;
|
|
616
319
|
remove: import("@trpc/server").TRPCMutationProcedure<{
|
|
617
320
|
input: {
|
|
618
|
-
queueName: string;
|
|
619
321
|
jobId: string;
|
|
322
|
+
queueName: string;
|
|
620
323
|
};
|
|
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
|
-
};
|
|
324
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob;
|
|
650
325
|
meta: object;
|
|
651
326
|
}>;
|
|
652
327
|
bulkRemove: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -654,85 +329,29 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
654
329
|
queueName: string;
|
|
655
330
|
jobIds: string[];
|
|
656
331
|
};
|
|
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
|
-
}[];
|
|
332
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob[];
|
|
686
333
|
meta: object;
|
|
687
334
|
}>;
|
|
688
335
|
logs: import("@trpc/server").TRPCQueryProcedure<{
|
|
689
336
|
input: {
|
|
690
|
-
queueName: string;
|
|
691
337
|
jobId: string;
|
|
338
|
+
queueName: string;
|
|
692
339
|
};
|
|
693
340
|
output: string[] | null;
|
|
694
341
|
meta: object;
|
|
695
342
|
}>;
|
|
696
343
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
697
344
|
input: {
|
|
698
|
-
status: "completed" | "failed" | "delayed" | "active" | "prioritized" | "waiting" | "waiting-children" | "paused";
|
|
699
|
-
queueName: string;
|
|
700
345
|
limit: number;
|
|
346
|
+
status: "completed" | "failed" | "delayed" | "active" | "waiting" | "paused" | "waiting-children" | "prioritized";
|
|
347
|
+
queueName: string;
|
|
701
348
|
cursor?: number | undefined;
|
|
702
349
|
};
|
|
703
350
|
output: {
|
|
704
351
|
totalCount: number;
|
|
705
352
|
numOfPages: number;
|
|
706
353
|
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
|
-
}[];
|
|
354
|
+
jobs: import("@queuedash/api/dist/src/queue-adapters/base.adapter").AdaptedJob[];
|
|
736
355
|
};
|
|
737
356
|
meta: object;
|
|
738
357
|
}>;
|
|
@@ -745,7 +364,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
745
364
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
746
365
|
clean: import("@trpc/server").TRPCMutationProcedure<{
|
|
747
366
|
input: {
|
|
748
|
-
status:
|
|
367
|
+
status: string;
|
|
749
368
|
queueName: string;
|
|
750
369
|
};
|
|
751
370
|
output: {
|
|
@@ -812,8 +431,8 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
812
431
|
};
|
|
813
432
|
opts?: {
|
|
814
433
|
every?: number | undefined;
|
|
815
|
-
pattern?: string | undefined;
|
|
816
434
|
tz?: string | undefined;
|
|
435
|
+
pattern?: string | undefined;
|
|
817
436
|
} | undefined;
|
|
818
437
|
};
|
|
819
438
|
output: {
|
|
@@ -830,15 +449,16 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
830
449
|
name: string;
|
|
831
450
|
paused: boolean;
|
|
832
451
|
type: "bull" | "bullmq" | "bee" | "groupmq";
|
|
452
|
+
supports: import("@queuedash/api/dist/src/queue-adapters/base.adapter").FeatureSupport<string>;
|
|
833
453
|
counts: {
|
|
834
|
-
paused: number;
|
|
835
|
-
"waiting-children"?: number | undefined;
|
|
836
|
-
waiting: number;
|
|
837
|
-
prioritized?: number | undefined;
|
|
838
454
|
active: number;
|
|
839
455
|
completed: number;
|
|
840
456
|
delayed: number;
|
|
841
457
|
failed: number;
|
|
458
|
+
waiting: number;
|
|
459
|
+
prioritized: number;
|
|
460
|
+
"waiting-children": number;
|
|
461
|
+
paused: number;
|
|
842
462
|
};
|
|
843
463
|
client: {
|
|
844
464
|
usedMemoryPercentage: number;
|
|
@@ -861,6 +481,16 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
861
481
|
}[];
|
|
862
482
|
meta: object;
|
|
863
483
|
}>;
|
|
484
|
+
metrics: import("@trpc/server").TRPCQueryProcedure<{
|
|
485
|
+
input: {
|
|
486
|
+
type: "completed" | "failed";
|
|
487
|
+
queueName: string;
|
|
488
|
+
start: number;
|
|
489
|
+
end: number;
|
|
490
|
+
};
|
|
491
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").QueueMetrics;
|
|
492
|
+
meta: object;
|
|
493
|
+
}>;
|
|
864
494
|
}>>;
|
|
865
495
|
scheduler: import("@trpc/server").TRPCBuiltRouter<{
|
|
866
496
|
ctx: import("@queuedash/api").Context;
|
|
@@ -872,7 +502,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
872
502
|
input: {
|
|
873
503
|
queueName: string;
|
|
874
504
|
};
|
|
875
|
-
output: import("@queuedash/api/dist/src/
|
|
505
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
876
506
|
meta: object;
|
|
877
507
|
}>;
|
|
878
508
|
add: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -881,8 +511,8 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
881
511
|
data: Record<string, any>;
|
|
882
512
|
jobName: string;
|
|
883
513
|
every?: number | undefined;
|
|
884
|
-
pattern?: string | undefined;
|
|
885
514
|
tz?: string | undefined;
|
|
515
|
+
pattern?: string | undefined;
|
|
886
516
|
};
|
|
887
517
|
output: {
|
|
888
518
|
success: boolean;
|
|
@@ -904,7 +534,7 @@ export declare const trpc: import("@trpc/react-query").CreateTRPCReactBase<impor
|
|
|
904
534
|
queueName: string;
|
|
905
535
|
jobSchedulerIds: string[];
|
|
906
536
|
};
|
|
907
|
-
output: import("@queuedash/api/dist/src/
|
|
537
|
+
output: import("@queuedash/api/dist/src/queue-adapters/base.adapter").SchedulerInfo[];
|
|
908
538
|
meta: object;
|
|
909
539
|
}>;
|
|
910
540
|
}>>;
|