donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
18 lines • 746 B
TypeScript
import type { Request, Response } from 'express';
/**
* Admin endpoints for observing the local file upload queue. Used by the
* desktop app's quit flow: query status, surface to the user, let them
* decide between waiting for drain and quitting anyway.
*
* No mutating endpoint is needed — the worker is always trying to drain.
* Callers wanting a "wait for drain" UX poll this until the active count
* hits zero, then exit the backend.
*/
export declare class FileUploadsApi {
/**
* GET /api/uploads/status — returns total + per-platform counts of files
* pending upload, currently in-flight, or failed.
*/
getStatus(_req: Request, res: Response): Promise<void>;
}
//# sourceMappingURL=FileUploadsApi.d.ts.map