GitHub

DaffRouteWithSeoData

A type that describes the special data that Daffodil will store for SEO purposes on an external resolved route.

import { DaffRouteWithSeoData } from '@daffodil/external-router'
type DaffRouteWithSeoData = Route & {
    data: Record<string, any> & {
        daffSeoData: DaffRouteData;
    };
}
Type Options
DaffRouteWithSeoData Route & { data: Record & { daffSeoData: DaffRouteData; }; }