From 05e0afc832c95de9b154d00db8229c5b77c824a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Sun, 29 Sep 2024 13:14:48 +0200 Subject: [PATCH] chore: add parameter to interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way TypeScript can pick it up properly. Signed-off-by: André Jaenisch --- megalodon/src/megalodon.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/megalodon/src/megalodon.ts b/megalodon/src/megalodon.ts index 4ea9bc98..281a5a65 100644 --- a/megalodon/src/megalodon.ts +++ b/megalodon/src/megalodon.ts @@ -169,6 +169,7 @@ export interface MegalodonInterface { * @param options.exclude_replies Return statuses which exclude replies. * @param options.exclude_reblogs Return statuses which exclude reblogs. * @param options.only_media Show only statuses with media attached? Defaults to false. + * @param options.only_public Return statuses with public visibility only. * @return Account's statuses. */ getAccountStatuses( @@ -182,6 +183,7 @@ export interface MegalodonInterface { exclude_replies?: boolean exclude_reblogs?: boolean only_media?: boolean + only_public?: boolean } ): Promise>> /**