feat: make queues durable by default and add seed helpers
Quality / quality (ubuntu-latest) (push) Failing after 11m1s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-23 09:50:25 +05:30
parent 8fb96f521f
commit 46195462c3
22 changed files with 283 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@wrnexus/styles",
"version": "0.8.17",
"version": "0.8.18",
"type": "module",
"main": "src/index.ts",
"exports": {
+6
View File
@@ -300,6 +300,12 @@ export interface AppConfig {
};
/** Default database connection (driver + url); reached with `getDb()`. */
db?: { driver: "sqlite" | "postgres" | "mysql" | "mongo"; url: string };
/** Background-job persistence. Defaults to durable `.wrnexus/queue.sqlite`. */
queue?: {
storage?: "sqlite" | "database" | "memory";
databaseName?: string;
table?: string;
};
/**
* File-upload storage. Declare named stores (local dir or S3-compatible),
* upload with `handleUpload`/`upload` from `@wrnexus/uploader`, and serve