DevtoolsOptions
Defined in: packages/devtools/src/types.ts:8
Configuration shared by every framework adapter.
Properties
Section titled “Properties”capture?
Section titled “capture?”
readonlyoptionalcapture?:CaptureOptions|DiagnosticCapture
Defined in: packages/devtools/src/types.ts:24
Capture bounds/redaction, or an existing capture store for migration.
enabled?
Section titled “enabled?”
readonlyoptionalenabled?:boolean
Defined in: packages/devtools/src/types.ts:10
Disables collection and mounting. Defaults to true in development.
filter?
Section titled “filter?”
readonlyoptionalfilter?: (event) =>boolean
Defined in: packages/devtools/src/types.ts:28
Optional event filter applied before retention.
Parameters
Section titled “Parameters”DiagnosticEvent
Returns
Section titled “Returns”boolean
initialIsOpen?
Section titled “initialIsOpen?”
readonlyoptionalinitialIsOpen?:boolean
Defined in: packages/devtools/src/types.ts:12
Initial panel visibility. Defaults to false.
maxActivityEvents?
Section titled “maxActivityEvents?”
readonlyoptionalmaxActivityEvents?:number
Defined in: packages/devtools/src/types.ts:18
Recent metadata events retained across clients. Defaults to 100.
maxRequestEvents?
Section titled “maxRequestEvents?”
readonlyoptionalmaxRequestEvents?:number
Defined in: packages/devtools/src/types.ts:20
Metadata events retained for request history. Evicts whole requests; a single oversized request keeps its latest events. Defaults to 1000.
maxSessions?
Section titled “maxSessions?”
readonlyoptionalmaxSessions?:number
Defined in: packages/devtools/src/types.ts:22
Maximum retained client lifetimes. Defaults to 16.
position?
Section titled “position?”
readonlyoptionalposition?:"bottom-left"|"bottom-right"|"top-left"|"top-right"
Defined in: packages/devtools/src/types.ts:14
Trigger corner. Defaults to bottom-right.
redact?
Section titled “redact?”
readonlyoptionalredact?: (value) =>unknown
Defined in: packages/devtools/src/types.ts:26
Redacts all metadata, snapshots, imported files, and explicit content.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”unknown
telemetry?
Section titled “telemetry?”
readonlyoptionaltelemetry?:Pick<Telemetry,"getSnapshot">
Defined in: packages/devtools/src/types.ts:35
Application-owned synchronous telemetry reader. The visible Telemetry tab reads immediately and every second, retaining up to 120 local samples until unmount. Reader changes, resets, failures, and pauses break rate continuity. No exporter lifecycle or recording access is granted.
theme?
Section titled “theme?”
readonlyoptionaltheme?:"system"|"light"|"dark"
Defined in: packages/devtools/src/types.ts:16
Color scheme. Defaults to system.