Files
ncd-fe/packages/pl-api/lib/params/interaction-requests.ts
nicole mikołajczyk ad00129411 pl-api: migrate to oxfmt+oxlint
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-15 03:00:05 +01:00

18 lines
814 B
TypeScript

import { PaginationParams } from './common';
/**
* @category Request params
*/
interface GetInteractionRequestsParams extends PaginationParams {
/** If set, then only interactions targeting the given status_id will be included in the results. */
status_id?: string;
/** If true or not set, pending favourites will be included in the results. At least one of favourites, replies, and reblogs must be true. */
favourites?: boolean;
/** If true or not set, pending replies will be included in the results. At least one of favourites, replies, and reblogs must be true. */
replies?: boolean;
/** If true or not set, pending reblogs will be included in the results. At least one of favourites, replies, and reblogs must be true. */
reblogs?: boolean;
}
export type { GetInteractionRequestsParams };