Variable adminMeasureSchemaConst
adminMeasureSchema: ObjectSchema<
{
data: ArraySchema<
ObjectSchema<
{
date: SchemaWithPipe<
readonly [
StringSchema<undefined>,
TransformAction<string, string>,
RegexAction<string, undefined>,
],
>;
value: SchemaWithPipe<
readonly [UnknownSchema, TransformAction<any, number>],
>;
},
undefined,
>,
undefined,
>;
human_value: SchemaWithFallback<
OptionalSchema<StringSchema<undefined>, undefined>,
undefined,
>;
key: StringSchema<undefined>;
previous_total: SchemaWithFallback<
OptionalSchema<
SchemaWithPipe<
readonly [UnknownSchema, TransformAction<any, number>],
>,
undefined,
>,
undefined,
>;
total: SchemaWithPipe<
readonly [UnknownSchema, TransformAction<any, number>],
>;
unit: SchemaWithFallback<
NullableSchema<StringSchema<undefined>, undefined>,
null,
>;
},
undefined,
> = ...
See
https://docs.joinmastodon.org/entities/Admin_Measure/