feat: make queues durable by default and add seed helpers
This commit is contained in:
@@ -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