Stone.js API
    Preparing search index...

    Options common to every store, plus the driver selector. Driver-specific options live alongside.

    interface StoreConfig {
        driver: CacheDriver;
        name: string;
        prefix?: string;
        ttl?: number;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    Index
    driver: CacheDriver

    Which driver backs this store.

    name: string

    The store name, used to resolve it via cacheManager.store(name).

    prefix?: string

    A key prefix/namespace applied to every key in this store.

    ttl?: number

    Default TTL (seconds) applied when a write specifies none.