Skip to content

Commit

Permalink
fix: Add missing repliesPolicy to List
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Jan 22, 2023
1 parent ef46bf3 commit 25dc358
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/mastodon/v1/entities/list.ts
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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;
}

0 comments on commit 25dc358

Please sign in to comment.