Variable notificationPolicySchemaConst
notificationPolicySchema: ObjectSchema<
{
for_limited_accounts: PicklistSchema<
["accept", "filter", "drop"],
undefined,
>;
for_new_accounts: PicklistSchema<["accept", "filter", "drop"], undefined>;
for_not_followers: PicklistSchema<["accept", "filter", "drop"], undefined>;
for_not_following: PicklistSchema<["accept", "filter", "drop"], undefined>;
for_private_mentions: PicklistSchema<
["accept", "filter", "drop"],
undefined,
>;
summary: ObjectSchema<
{
pending_notifications_count: SchemaWithPipe<
readonly [NumberSchema<undefined>, IntegerAction<number, undefined>],
>;
pending_requests_count: SchemaWithPipe<
readonly [NumberSchema<undefined>, IntegerAction<number, undefined>],
>;
},
undefined,
>;
},
undefined,
> = ...
See
https://docs.joinmastodon.org/entities/NotificationPolicy