src/mastodon/entities/v1/suggestion.ts
import { type Account } from "./account";
export type SuggestionSource = "staff" | "past_interactions" | "global";
/**
* Represents a suggested account to follow and an associated reason for the suggestion.
* @see https://docs.joinmastodon.org/entities/Suggestion/
*/
export interface Suggestion {
/**
* The reason this account is being suggested.
* `staff` = This account was manually recommended by your administration team
* `past_interactions` = You have interacted with this account previously
* `global` = This account has many reblogs, favourites, and active local followers within the last 30 days
*/
source: SuggestionSource;
/**
* The account being recommended to follow.
*/
account: Account;
}