From 25dc358b9e3e728f4d8a71c34dd91ca1322d20ce Mon Sep 17 00:00:00 2001 From: Ryo Igarashi Date: Sun, 22 Jan 2023 21:10:36 +0900 Subject: [PATCH] fix: Add missing repliesPolicy to List --- src/mastodon/v1/entities/list.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/mastodon/v1/entities/list.ts b/src/mastodon/v1/entities/list.ts index 5d43c3d5d..3cc16f201 100644 --- a/src/mastodon/v1/entities/list.ts +++ b/src/mastodon/v1/entities/list.ts @@ -1,3 +1,5 @@ +export type ListRepliesPolicy = 'followed' | 'list' | 'none'; + /** * Represents a list of some users that the authenticated user follows. * @see https://docs.joinmastodon.org/entities/list/ @@ -7,4 +9,14 @@ export interface List { id: string; /** The user-defined title of the list. */ title: string; + /** + * Which replies should be shown in the list. + * + * `followed` = Show replies to any followed user + * + * `list` = Show replies to members of the list + * + * `none` = Show replies to no one + */ + repliesPolicy: ListRepliesPolicy; }