StorageRoleDefaults
Defined in: src/cli/index.ts:176
Per-role defaults. The persisted ones (table, db, collection, paths) are the product’s (ADR 0005).
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
driver? |
string |
Driver when the driver env var is unset. Default "file". |
src/cli/index.ts:178 |
fileDir? |
string |
File-driver directory (<ROLE>_FILE_DIR). |
src/cli/index.ts:198 |
libsqlUrl? |
string |
libSQL URL (<ROLE>_LIBSQL_URL, then LIBSQL_URL). |
src/cli/index.ts:196 |
mongoCollection? |
string |
Mongo collection (<ROLE>_MONGO_COLLECTION). |
src/cli/index.ts:186 |
mongoDb? |
string |
Mongo database (MONGO_DB). |
src/cli/index.ts:184 |
pgTable? |
string |
Postgres table (<ROLE>_PG_TABLE). |
src/cli/index.ts:182 |
prefix? |
string |
Redis key prefix (<ROLE>_PREFIX). |
src/cli/index.ts:180 |
sqlitePath? |
string |
SQLite file (<ROLE>_SQLITE_PATH). |
src/cli/index.ts:188 |
sqliteTable? |
string |
Table of the sqlite and libsql drivers (<ROLE>_SQLITE_TABLE). Without it the drivers use the kit’s neutral xtandard_kv and miss a product’s existing rows. |
src/cli/index.ts:194 |