Skip to content

Commit

Permalink
feat: Add type field to FetchNotificationsParams
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Apr 3, 2022
1 parent 44edad9 commit 7e44e22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/repositories/notification-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { Paginator } from '../paginator';
import { DefaultPaginationParams, Repository } from '../repository';

export interface FetchNotificationsParams extends DefaultPaginationParams {
/** Instead of specifying every known type to exclude, you can specify only the types you want. */
readonly types?: NotificationType[] | null;
/** ID of the account */
readonly accountId?: string | null;
/** Array of notifications to exclude (Allowed values: "follow", "favourite", "reblog", "mention") */
Expand Down

0 comments on commit 7e44e22

Please sign in to comment.