Skip to content

Commit

Permalink
feat: add banNote
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Mar 13, 2021
1 parent 35a38b2 commit 6892f44
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 @@ -62,6 +62,7 @@ export interface VoteableData extends ContentData {
authorPremium: boolean;
bannedAtUtc: number | null;
bannedBy: string | null;
banNote?: string;
canGild: boolean;
canModPost: boolean;
distinguished: "admin" | "moderator" | null;
Expand Down Expand Up @@ -106,6 +107,7 @@ export default abstract class Voteable extends Content implements VoteableData {
authorPremium: boolean;
bannedAtUtc: number | null;
bannedBy: string | null;
banNote?: string;
canGild: boolean;
canModPost: boolean;
distinguished: "admin" | "moderator" | null;
Expand Down Expand Up @@ -153,6 +155,7 @@ export default abstract class Voteable extends Content implements VoteableData {
this.authorPremium = data.authorPremium;
this.bannedAtUtc = data.bannedAtUtc;
this.bannedBy = data.bannedBy;
this.banNote = data.banNote;
this.canGild = data.canGild;
this.canModPost = data.canModPost;
this.distinguished = data.distinguished;
Expand Down

0 comments on commit 6892f44

Please sign in to comment.