feat: make queues durable by default and add seed helpers
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wrnexus/styles",
|
||||
"version": "0.8.17",
|
||||
"version": "0.8.18",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
"exports": {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user