Variable adminCohortSchemaConst
adminCohortSchema: ObjectSchema<
{
data: ArraySchema<
ObjectSchema<
{
date: SchemaWithPipe<
readonly [StringSchema<undefined>, RegexAction<string, undefined>],
>;
rate: NumberSchema<undefined>;
value: SchemaWithPipe<
readonly [UnknownSchema, TransformAction<any, number>],
>;
},
undefined,
>,
undefined,
>;
frequency: PicklistSchema<["day", "month"], undefined>;
period: SchemaWithPipe<
readonly [StringSchema<undefined>, RegexAction<string, undefined>],
>;
},
undefined,
> = ...
See
https://docs.joinmastodon.org/entities/Admin_Cohort/