1
0
silverbullet/plug-api/types.ts

22 lines
348 B
TypeScript
Raw Normal View History

2023-08-10 16:32:41 +00:00
export type Message = {
id: string;
queue: string;
body: any;
retries?: number;
};
2023-08-11 18:37:13 +00:00
export type QueueStats = {
queued: number;
processing: number;
dlq: number;
};
2023-08-20 15:51:00 +00:00
export type FileMeta = {
name: string;
lastModified: number;
contentType: string;
size: number;
perm: "ro" | "rw";
noSync?: boolean;
} & Record<string, any>;