@sanity/routes
    Preparing search index...

    Interface RouteMapShard

    Pre-computed route map shard stored in Content Lake.

    Each shard contains all URL entries for a single document type in a channel. Shards are created by buildRouteMap() or the sync Function handler. Used by the static resolver for fast lookups without GROQ evaluation.

    Shard IDs follow the convention routes-{channel}-{type} (or routes-{channel}-{type}-{locale} for i18n routes).

    interface RouteMapShard {
        _id: string;
        _type: "routes.map";
        basePath: string;
        channel: string;
        documentType: string;
        entries: RouteMapEntry[];
    }
    Index

    Properties

    _id: string
    _type: "routes.map"
    basePath: string
    channel: string
    documentType: string
    entries: RouteMapEntry[]