UseTimeSeriesStoreOptions
Defined in: hooks/useTimeSeriesStore.ts:29
Type Parameters
Section titled “Type Parameters”T extends TimePoint
Properties
Section titled “Properties”coldRefreshEveryN?
Section titled “coldRefreshEveryN?”
optionalcoldRefreshEveryN:number
Defined in: hooks/useTimeSeriesStore.ts:40
Run cold (full downsampled) refresh every Nth tick (default: 20).
compactEveryN?
Section titled “compactEveryN?”
optionalcompactEveryN:number
Defined in: hooks/useTimeSeriesStore.ts:44
Run compaction check every Nth cold refresh (default: 5).
compactOptions?
Section titled “compactOptions?”
optionalcompactOptions:CompactOptions
Defined in: hooks/useTimeSeriesStore.ts:46
Compaction configuration (default: COMPACT_DEFAULTS).
conn:
AsyncDuckDBConnection|null
Defined in: hooks/useTimeSeriesStore.ts:30
hotRowBudget?
Section titled “hotRowBudget?”
optionalhotRowBudget:number
Defined in: hooks/useTimeSeriesStore.ts:42
Trigger cold refresh when hot buffer exceeds this many rows (default: 500).
ingestBufferRef
Section titled “ingestBufferRef”ingestBufferRef:
RefObject<IngestBuffer<T>>
Defined in: hooks/useTimeSeriesStore.ts:32
maxPoints?
Section titled “maxPoints?”
optionalmaxPoints:number
Defined in: hooks/useTimeSeriesStore.ts:36
Maximum number of points to display (default: DISPLAY_MAX_POINTS).
schema
Section titled “schema”schema:
TableSchema<T>
Defined in: hooks/useTimeSeriesStore.ts:31
tickInterval?
Section titled “tickInterval?”
optionaltickInterval:number
Defined in: hooks/useTimeSeriesStore.ts:38
Polling interval in ms for realtime mode (default: 250).
timeRange?
Section titled “timeRange?”
optionaltimeRange:TimeRange
Defined in: hooks/useTimeSeriesStore.ts:34
Show only last N seconds of data, or null for all history.