@suluk/nano-stores - v0.1.3
    Preparing search index...

    Interface ApiStores

    interface ApiStores {
        fetchers: Record<string, FetcherFactory>;
        mutators: Record<string, MutatorInvoker>;
        ctx: {
            __unsafeOverruleSettings: (data: CommonSettings<unknown>) => void;
            invalidateKeys: (keySelector: KeySelector) => void;
            revalidateKeys: (keySelector: KeySelector) => void;
            mutateCache: (keySelector: KeySelector, data?: unknown) => void;
        };
        invalidate: (routeNameOrUrl: string) => void;
        warnings: string[];
    }
    Index

    Properties

    fetchers: Record<string, FetcherFactory>

    name → factory that, given path params, yields a lazy fetcher store.

    mutators: Record<string, MutatorInvoker>

    name → mutator store (POST/PUT/PATCH/DELETE/…).

    ctx: {
        __unsafeOverruleSettings: (data: CommonSettings<unknown>) => void;
        invalidateKeys: (keySelector: KeySelector) => void;
        revalidateKeys: (keySelector: KeySelector) => void;
        mutateCache: (keySelector: KeySelector, data?: unknown) => void;
    }

    The shared @nanostores/query context (invalidateKeys / revalidateKeys / mutateCache).

    invalidate: (routeNameOrUrl: string) => void

    Convenience over ctx.invalidateKeys: invalidate by route NAME (its built URLs) or by a raw URL/prefix.

    warnings: string[]

    Non-fatal projection losses (e.g. a GET with no response schema → unvalidated). Never thrown.