ruleSchema: SchemaWithPipe<
readonly [
AnySchema,
TransformAction<any, any>,
ObjectSchema<
{
hint: SchemaWithFallback<StringSchema<undefined>, "">;
id: StringSchema<undefined>;
text: SchemaWithFallback<StringSchema<undefined>, "">;
translations: OptionalSchema<
RecordSchema<
StringSchema<undefined>,
ObjectSchema<
{
hint: SchemaWithFallback<StringSchema<undefined>, "">;
text: SchemaWithFallback<StringSchema<undefined>, "">;
},
undefined,
>,
undefined,
>,
undefined,
>;
},
undefined,
>,
],
> = ...
See
https://docs.joinmastodon.org/entities/Rule/