pl-api: support exclude_reblogs

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-08-16 18:05:47 +02:00
parent 105e20e046
commit 374ee67094
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ type GetAccountParams = WithMutedParam;
interface GetAccountStatusesParams extends PaginationParams, WithMutedParam, OnlyEventsParam, OnlyMediaParam, LanguageParam { interface GetAccountStatusesParams extends PaginationParams, WithMutedParam, OnlyEventsParam, OnlyMediaParam, LanguageParam {
/** Boolean. Filter out statuses in reply to a different account. */ /** Boolean. Filter out statuses in reply to a different account. */
exclude_replies?: boolean; exclude_replies?: boolean;
/** Boolean. Filter out boosts from the response. */
exclude_reblogs?: boolean;
/** Boolean. Filter for pinned statuses only. Defaults to false, which includes all statuses. Pinned statuses do not receive special priority in the order of the returned results. */ /** Boolean. Filter for pinned statuses only. Defaults to false, which includes all statuses. Pinned statuses do not receive special priority in the order of the returned results. */
pinned?: boolean; pinned?: boolean;
/** String. Filter for statuses using a specific hashtag. */ /** String. Filter for statuses using a specific hashtag. */

View File

@ -1,6 +1,6 @@
{ {
"name": "pl-api", "name": "pl-api",
"version": "1.0.0-rc.89", "version": "1.0.0-rc.91",
"type": "module", "type": "module",
"homepage": "https://codeberg.org/mkljczk/pl-fe/src/branch/develop/packages/pl-api", "homepage": "https://codeberg.org/mkljczk/pl-fe/src/branch/develop/packages/pl-api",
"repository": { "repository": {