Variable mentionSchemaConst
mentionSchema: SchemaWithPipe<
readonly [
ObjectSchema<
{
acct: StringSchema<undefined>;
id: StringSchema<undefined>;
url: SchemaWithFallback<
SchemaWithPipe<
readonly [StringSchema<undefined>, UrlAction<string, undefined>],
>,
"",
>;
username: SchemaWithFallback<StringSchema<undefined>, "">;
},
undefined,
>,
TransformAction<
{ acct: string; id: string; url: string; username: string },
{ acct: string; id: string; url: string; username: string },
>,
],
> = ...
See
https://docs.joinmastodon.org/entities/Status/#Mention