@ecency/sdk 2.3.65 → 2.3.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser/index.d.ts
CHANGED
|
@@ -3239,12 +3239,21 @@ declare function getFollowingQueryOptions(follower: string, startFollowing: stri
|
|
|
3239
3239
|
};
|
|
3240
3240
|
|
|
3241
3241
|
/**
|
|
3242
|
-
* Get list of
|
|
3242
|
+
* Get the full list of accounts a user has muted.
|
|
3243
3243
|
*
|
|
3244
|
-
*
|
|
3245
|
-
*
|
|
3244
|
+
* Pages until the list is exhausted instead of taking the first N. That is
|
|
3245
|
+
* load-bearing: this result dims muted authors in feeds and collapses their
|
|
3246
|
+
* comments (`entry-list-item-muted-content`, `discussion-list`), so a truncated
|
|
3247
|
+
* list silently renders muted accounts as though they were never muted.
|
|
3248
|
+
*
|
|
3249
|
+
* Takes no limit, on purpose. `QueryKeys.accounts.mutedUsers` keys on the
|
|
3250
|
+
* username alone, so a limit parameter meant callers requesting different
|
|
3251
|
+
* amounts shared one cache entry and whichever mounted first decided how much
|
|
3252
|
+
* of the list every other caller saw.
|
|
3253
|
+
*
|
|
3254
|
+
* @param username - The account whose mute list to fetch
|
|
3246
3255
|
*/
|
|
3247
|
-
declare function getMutedUsersQueryOptions(username: string | undefined
|
|
3256
|
+
declare function getMutedUsersQueryOptions(username: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], string[]>, "queryFn"> & {
|
|
3248
3257
|
queryFn?: _tanstack_react_query.QueryFunction<string[], string[], never> | undefined;
|
|
3249
3258
|
} & {
|
|
3250
3259
|
queryKey: string[] & {
|