Skip to content

StorageRole

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

A storage role: STORAGE, QUEUE, SOURCE, RUNTIME, COUNTERS…

Property Type Description Defined in
defaults? StorageRoleDefaults - src/cli/index.ts:211
driverEnv? string The env var naming the driver. Default: STORAGE_DRIVER for the STORAGE role, <NAME>_STORAGE_DRIVER otherwise (webhooks QUEUE_STORAGE_DRIVER, flags SOURCE_STORAGE_DRIVER). src/cli/index.ts:210
name string The env-var prefix of the role’s settings, e.g. "QUEUE" → QUEUE_PG_TABLE. src/cli/index.ts:204