Refactor all the things
This commit is contained in:
+7
-2
@@ -1,16 +1,21 @@
|
||||
export type Message = {
|
||||
export type MQMessage = {
|
||||
id: string;
|
||||
queue: string;
|
||||
body: any;
|
||||
retries?: number;
|
||||
};
|
||||
|
||||
export type QueueStats = {
|
||||
export type MQStats = {
|
||||
queued: number;
|
||||
processing: number;
|
||||
dlq: number;
|
||||
};
|
||||
|
||||
export type MQSubscribeOptions = {
|
||||
batchSize?: number;
|
||||
pollInterval?: number;
|
||||
};
|
||||
|
||||
export type FileMeta = {
|
||||
name: string;
|
||||
lastModified: number;
|
||||
|
||||
Reference in New Issue
Block a user