Skip to content

Commit

Permalink
feat: add dismissedUserReports
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Mar 13, 2021
1 parent 6892f44 commit daa9aac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/objects/voteable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export interface VoteableData extends ContentData {
banNote?: string;
canGild: boolean;
canModPost: boolean;
dismissedUserReports?: string[];
distinguished: "admin" | "moderator" | null;
edited: number | boolean;
gilded: number;
Expand Down Expand Up @@ -110,6 +111,7 @@ export default abstract class Voteable extends Content implements VoteableData {
banNote?: string;
canGild: boolean;
canModPost: boolean;
dismissedUserReports?: string[];
distinguished: "admin" | "moderator" | null;
edited: number | boolean;
gilded: number;
Expand Down Expand Up @@ -158,6 +160,7 @@ export default abstract class Voteable extends Content implements VoteableData {
this.banNote = data.banNote;
this.canGild = data.canGild;
this.canModPost = data.canModPost;
this.dismissedUserReports = data.dismissedUserReports;
this.distinguished = data.distinguished;
this.edited = data.edited;
this.gilded = data.gilded;
Expand Down

0 comments on commit daa9aac

Please sign in to comment.