export interface ListRepliesPolicyRegistry { followed: never; list: never; none: never; } export type ListRepliesPolicy = keyof ListRepliesPolicyRegistry; /** * Represents a list of some users that the authenticated user follows. * @see https://docs.joinmastodon.org/entities/list/ */ export interface List { /** The internal database ID of the 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; /** https://github.com/mastodon/mastodon/pull/22048/files */ exclusive: boolean; }