@queuert/dashboard
createDashboard
Section titled “createDashboard”const dashboard = await createDashboard({ client: Client, // Queuert client from createClient() basePath?: string, // Mount prefix without trailing slash (e.g. '/internal/queuert')});// Returns:// {// fetch: (request: Request) => Response | Promise<Response>// }The fetch handler serves both API routes and the pre-built SolidJS frontend. Mount it on any server runtime that accepts a standard fetch handler (Node.js, Bun, Deno).
The state adapter must implement dashboard listing methods (listJobChains, listJobs, listBlockedJobs). The PostgreSQL and SQLite adapters support these.
options.basePath
Section titled “options.basePath”Mount prefix for sub-path deployments. Set this when the dashboard is served behind a reverse proxy or framework router at a path other than /. The value should not include a trailing slash.
const dashboard = await createDashboard({ client, basePath: "/internal/queuert",});Performance
Section titled “Performance”Chain listing joins each root row with the last job in the chain. Filtering by status is not optimized — always pass typeName to narrow the scan. See Performance considerations.
See Also
Section titled “See Also”- Dashboard — Integration guide for the dashboard