Saltar al contenido
⌘K

PublicationIndexMetaArgs

Ver como Markdown
En esta página
Esta referencia de la API se genera a partir de los comentarios de TypeScript en inglés. Los nombres, las firmas y los ejemplos corresponden al paquete publicado.

What a publication route module's meta export receives. defaults are the descriptors Ardo would render without the export, a new list on every call; the returned list replaces them, so spread defaults to extend them. The publication, post, and tag data is frozen and shared with the page.

import type { PublicationIndexMetaArgs } from "ardo/ui"

type PublicationIndexMetaArgs = {
    publication: Publication;
    defaults: ArdoMetaDescriptor[];
};

Properties

NameTypeRequired
publicationPublicationYes
defaultsArdoMetaDescriptor[]Yes