@sanity/routes
    Preparing search index...

    Interface RoutesPluginOptions

    Options for the routes plugin.

    interface RoutesPluginOptions {
        types?: string[];
    }
    Index

    Properties

    Properties

    types?: string[]

    The document type names that can appear in route maps. These are passed to the route map schema's doc reference field so Sanity knows which types are valid reference targets.

    ['article', 'blogPost']