import { type Admin, type Status, type TrendLink } from "../../../entities/v1/index.js"; import { type Method } from "../../../method.js"; import { type Paginator } from "../../../paginator.js"; /** https://github.com/mastodon/mastodon/pull/24257 */ export interface TrendsLinks$SelectResource { approve: Method; reject: Method; } export interface TrendsLinksPublishers$SelectResource { approve: Method; reject: Method; } /** https://github.com/mastodon/mastodon/pull/24257 */ export interface TrendsLinksPublishersResource { $select(id: string): TrendsLinksPublishers$SelectResource; list: Method>; } export interface TrendsLinksResource { $select(id: string): TrendsLinks$SelectResource; publishers: TrendsLinksPublishersResource; /** * Links that have been shared more than others, including unapproved and unreviewed links. * @see https://docs.joinmastodon.org/methods/admin/trends/#links */ list: Method>; } /** https://github.com/mastodon/mastodon/pull/24257 */ export interface TrendsStatuses$SelectResource { approve: Method; reject: Method; } export interface TrendsStatusesResource { $select(id: string): TrendsStatuses$SelectResource; /** * Statuses that have been interacted with more than others, including unapproved and unreviewed statuses. * @see https://docs.joinmastodon.org/methods/admin/trends/#statuses */ list: Method>; } /** https://github.com/mastodon/mastodon/pull/24257 */ export interface TrendsTags$SelectResource { approve: Method; reject: Method; } export interface TrendsTagsResource { $select(id: string): TrendsTags$SelectResource; /** * Tags that are being used more frequently within the past week, including unapproved and unreviewed tags. * @see https://docs.joinmastodon.org/methods/admin/trends/#tags */ list: Method>; } export interface TrendsResource { links: TrendsLinksResource; statuses: TrendsStatusesResource; tags: TrendsTagsResource; } /** @deprecated Use `TrendsResource` instead */ export type TrendRepository = TrendsResource;