Variable trendsLinkSchemaConst
trendsLinkSchema: SchemaWithPipe<
readonly [
AnySchema,
TransformAction<any, any>,
ObjectSchema<
{
author_name: SchemaWithFallback<StringSchema<undefined>, "">;
author_url: SchemaWithFallback<StringSchema<undefined>, "">;
blurhash: SchemaWithFallback<
NullableSchema<
SchemaWithPipe<
readonly [
StringSchema<undefined>,
CheckAction<string, "invalid blurhash">,
],
>,
undefined,
>,
null,
>;
description: SchemaWithFallback<StringSchema<undefined>, "">;
embed_url: SchemaWithFallback<StringSchema<undefined>, "">;
height: SchemaWithFallback<
NullableSchema<NumberSchema<undefined>, undefined>,
null,
>;
history: SchemaWithFallback<
NullableSchema<
ArraySchema<
ObjectSchema<
{
accounts: SchemaWithPipe<readonly [(...), (...)]>;
day: SchemaWithPipe<readonly [(...), (...)]>;
uses: SchemaWithPipe<readonly [(...), (...)]>;
},
undefined,
>,
undefined,
>,
undefined,
>,
null,
>;
html: SchemaWithFallback<StringSchema<undefined>, "">;
id: SchemaWithFallback<StringSchema<undefined>, "">;
image: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
image_description: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
provider_name: SchemaWithFallback<StringSchema<undefined>, "">;
provider_url: SchemaWithFallback<StringSchema<undefined>, "">;
title: SchemaWithFallback<StringSchema<undefined>, "">;
type: SchemaWithFallback<
PicklistSchema<["link", "photo", "video", "rich"], undefined>,
"link",
>;
url: SchemaWithFallback<
SchemaWithPipe<
readonly [StringSchema<undefined>, UrlAction<string, undefined>],
>,
"",
>;
width: SchemaWithFallback<
NullableSchema<NumberSchema<undefined>, undefined>,
null,
>;
},
undefined,
>,
],
> = ...
See
https://docs.joinmastodon.org/entities/PreviewCard/#trends-link