Interface WidgetSourceOptions

interface WidgetSourceOptions {
    analyticsSource?: AnalyticsSourceDescriptor;
    cache?: WidgetSourceCacheHints;
    freshness?: SourceFreshnessContract;
    maxClientRows?: number;
    realtime?: boolean;
    ttlMs?: number;
}

Properties

analyticsSource?: AnalyticsSourceDescriptor

Optional warehouse/indexed descriptor used for cache identity and degradation reporting.

Freshness contract that permits cache reuse for realtime result widgets.

maxClientRows?: number

Maximum rows a client-side fallback may materialize.

10000
realtime?: boolean

Set true for realtime feeds so widget result caches are disabled by default.

ttlMs?: number

Default TTL advertised in response cache metadata.