@sanity/routes
    Preparing search index...

    Variable routeConfigConst

    routeConfig: { name: "routes.config"; type: "document" } & Omit<
        DocumentDefinition,
        "preview",
    > & { preview?: PreviewConfig<{ channel: string }, Record<"channel", any>> } = ...

    Schema type definition for route configuration documents.

    Each document represents a "channel" (e.g. "web", "app") and contains:

    • baseUrls: environment-specific base URLs
    • routes: mapping from document types to URL patterns