Skip to content

describeStorage

function describeStorage(role, options?): Promise<string>;

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

A log-safe description of where a role persists data, for the startup banner: file and SQLite paths are resolved to absolute paths; drivers with a connection string print only their name (never the URL, which may carry credentials).

Parameter Type
role StorageRole
options? { allowed?: readonly string[]; env?: Env; }
options.allowed? readonly string[]
options.env? Env

Promise<string>