Skip to content

StorageConfig

Defined in: src/cli/index.ts:219

The resolved settings a driver factory receives (connection strings are never logged). An optional field is undefined when neither its env var nor the role’s defaults set it (“no default given”). A field the role gives a default for is always set.

Property Type Description Defined in
driver string - src/cli/index.ts:220
env Env - src/cli/index.ts:239
fileDir string | undefined - src/cli/index.ts:238
libsqlAuthToken string | undefined LIBSQL_AUTH_TOKEN. src/cli/index.ts:237
libsqlUrl string | undefined - src/cli/index.ts:235
mongoCollection string | undefined - src/cli/index.ts:231
mongoDb string | undefined - src/cli/index.ts:230
mongoUrl string MONGO_URL (default mongodb://localhost:27017). src/cli/index.ts:229
pgTable string | undefined - src/cli/index.ts:227
postgresUrl string DATABASE_URL, else POSTGRES_URL (default postgres://localhost:5432/postgres). src/cli/index.ts:226
prefix string | undefined - src/cli/index.ts:224
redisUrl string REDIS_URL (default redis://localhost:6379). src/cli/index.ts:223
role string - src/cli/index.ts:221
sqlitePath string | undefined - src/cli/index.ts:232
sqliteTable string | undefined <ROLE>_SQLITE_TABLE: the sqlite and libsql table. src/cli/index.ts:234