Skip to content

ShelfOptions

Defined in: packages/core/src/config.ts:395

Adapter and configuration options for creating the shelf router.

optional ai?: Ai

Defined in: packages/core/src/config.ts:405

AI insights surface (ADR 0016). Set ⇒ AI on site-wide; absent ⇒ off.


optional auth?: Auth

Defined in: packages/core/src/config.ts:403


optional config?: ShelfConfig

Defined in: packages/core/src/config.ts:412


database: DatabaseAdapter

Defined in: packages/core/src/config.ts:396


optional design?: DesignProvider[]

Defined in: packages/core/src/config.ts:407

Design-tool providers (Figma, …) that resolve links, metadata and previews.


optional logger?: Logger

Defined in: packages/core/src/config.ts:410


optional notifications?: ShelfNotificationsOptions

Defined in: packages/core/src/config.ts:409

Notification subsystem: providers, the email transport, and shared brand/sender settings.


optional observability?: ObservabilityHandle

Defined in: packages/core/src/config.ts:418

Externally-managed observability SDK handle (e.g. from initObservabilityFromEnv). Structural — core never imports the observability package. Flushed on app.lifecycle.teardown().


storage: StorageAdapter

Defined in: packages/core/src/config.ts:397


optional testing?: ShelfTestingOptions

Defined in: packages/core/src/config.ts:402

Testing (render + diff in the background). Absent means Storybook hosting only: no renderer, no queue, and the tuning below is unreachable rather than silently ignored.


optional ui?: UIConfig

Defined in: packages/core/src/config.ts:411