Variable translationSchemaConst
translationSchema: SchemaWithPipe<
readonly [
AnySchema,
TransformAction<any, any>,
ObjectSchema<
{
content: SchemaWithFallback<StringSchema<undefined>, "">;
detected_source_language: StringSchema<undefined>;
id: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
media_attachments: SchemaWithPipe<
readonly [
SchemaWithFallback<ArraySchema<AnySchema, undefined>, readonly []>,
TransformAction<any[], { description: string; id: string }[]>,
],
>;
poll: SchemaWithFallback<
OptionalSchema<
ObjectSchema<
{
id: StringSchema<undefined>;
options: ArraySchema<
ObjectSchema<{ title: ... }, undefined>,
undefined,
>;
},
undefined,
>,
undefined,
>,
undefined,
>;
provider: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
spoiler_text: SchemaWithFallback<StringSchema<undefined>, "">;
},
undefined,
>,
],
> = ...
See
https://docs.joinmastodon.org/entities/Translation/