Variable scheduledStatusSchemaConst
scheduledStatusSchema: ObjectSchema<
{
id: StringSchema<undefined>;
media_attachments: SchemaWithPipe<
readonly [
SchemaWithFallback<ArraySchema<AnySchema, undefined>, readonly []>,
TransformAction<
any[],
(
| {
blurhash: null
| string;
description: string;
id: string;
meta: {
focus?: { x: ...; y: ... };
original?: { aspect: ...; height: ...; size: ...; width: ... };
small?: { aspect: ...; height: ...; size: ...; width: ... };
};
mime_type: null
| string;
preview_url: string;
remote_url: null | string;
type: "image";
url: string;
}
| {
blurhash: null
| string;
description: string;
id: string;
meta: {
duration?: number;
original?: {
aspect: ...;
duration: ...;
frame_rate: ...;
height: ...;
size: ...;
width: ...;
};
small?: { aspect: ...; height: ...; size: ...; width: ... };
};
mime_type: null
| string;
preview_url: string;
remote_url: null | string;
type: "video";
url: string;
}
| {
blurhash: null
| string;
description: string;
id: string;
meta: {
duration?: number;
focus?: { x: ...; y: ... };
original?: { aspect: ...; height: ...; size: ...; width: ... };
};
mime_type: null
| string;
preview_url: string;
remote_url: null | string;
type: "gifv";
url: string;
}
| {
blurhash: null
| string;
description: string;
id: string;
meta: {
colors?: {
accent?: ...;
background?: ...;
duration?: ...;
foreground?: ...;
};
duration?: number;
original?: { bitrate?: ...; duration?: ... };
};
mime_type: null
| string;
preview_url: string;
remote_url: null | string;
type: "audio";
url: string;
}
| {
blurhash: null
| string;
description: string;
id: string;
mime_type: null | string;
preview_url: string;
remote_url: null | string;
type: "unknown";
url: string;
}
)[],
>,
],
>;
params: ObjectSchema<
{
application_id: SchemaWithFallback<
NullableSchema<
SchemaWithPipe<
readonly [
NumberSchema<undefined>,
IntegerAction<number, undefined>,
],
>,
undefined,
>,
null,
>;
expires_in: SchemaWithFallback<
NullableSchema<NumberSchema<undefined>, undefined>,
null,
>;
idempotency: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
in_reply_to_id: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
language: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
media_ids: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
poll: SchemaWithFallback<
NullableSchema<
ObjectSchema<
{
expires_in: SchemaWithPipe<
readonly [UnknownSchema, TransformAction<(...), (...)>],
>;
hide_totals: SchemaWithFallback<
OptionalSchema<BooleanSchema<(...)>, undefined>,
undefined,
>;
multiple: SchemaWithFallback<
OptionalSchema<BooleanSchema<(...)>, undefined>,
undefined,
>;
options: ArraySchema<StringSchema<undefined>, undefined>;
},
undefined,
>,
undefined,
>,
null,
>;
scheduled_at: SchemaWithFallback<
NullableSchema<
SchemaWithPipe<
readonly [StringSchema<undefined>, RegexAction<string, undefined>],
>,
undefined,
>,
null,
>;
sensitive: SchemaWithFallback<
NullableSchema<
SchemaWithPipe<
readonly [UnknownSchema, TransformAction<unknown, boolean>],
>,
undefined,
>,
null,
>;
spoiler_text: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
text: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
visibility: SchemaWithFallback<StringSchema<undefined>, "public">;
with_rate_limit: SchemaWithFallback<BooleanSchema<undefined>, false>;
},
undefined,
>;
scheduled_at: SchemaWithPipe<
readonly [StringSchema<undefined>, RegexAction<string, undefined>],
>;
},
undefined,
> = ...
See
https://docs.joinmastodon.org/entities/ScheduledStatus/