Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...

    Interface FetchStatskontoretCachedOptions

    interface FetchStatskontoretCachedOptions {
    ย ย ย ย cacheTtlMs?: number;
    ย ย ย ย cacheRoot?: string;
    ย ย ย ย clientConfig?: StatskontoretClientConfig;
    }
    Index
    cacheTtlMs?: number

    Override the 30-day TTL (milliseconds). Mainly for testing.

    cacheRoot?: string

    Override the cache root directory. Mainly for testing.

    Override the StatskontoretClient configuration (e.g. inject a mock fetch).