AuthorProfile
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.
import type { AuthorProfile } from "ardo/ui"
type AuthorProfile = {
/** Registry key, supplied in resolved publication data. */
id?: string;
name: string;
avatar?: string;
description?: string;
title?: string;
/**
* Absolute `http://` or `https://` profile URL. Ardo links the author's name to it, uses it as
* the Atom author `<uri>`, and adds it to the post's `BlogPosting` structured data. Another
* value prints a build warning and is left out of the structured data.
*/
url?: string;
links?: Array<{
name: string;
url: string;
}>;
did?: string;
};
Properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | Registry key, supplied in resolved publication data. |
name | string | Yes | |
avatar | string | No | |
description | string | No | |
title | string | No | |
url | string | No | Absolute http:// or https:// profile URL. Ardo links the author's name to it, uses it asthe Atom author <uri>, and adds it to the post's BlogPosting structured data. Anothervalue prints a build warning and is left out of the structured data. |
links | Array<{ name: string; url: string }> | No | |
did | string | No |