From 1fd04859371c0264a0909476dd0c67ec5f41ace9 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Fri, 8 May 2026 21:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=BE=D0=B5=20=D0=BF=D0=BE=D0=BB=D0=B5,=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8=D0=BB=20=D1=82=D0=B8?= =?UTF-8?q?=D0=BF=D1=8B=20=D0=BF=D0=BE=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api.ts | 1 + app/classes/blacklistItem.ts | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/api.ts b/app/api.ts index e7b1a62..f8abed9 100644 --- a/app/api.ts +++ b/app/api.ts @@ -20,6 +20,7 @@ const getReportData = (data: AxiosResponse): BlacklistItem[] => { value.griefer, value.toxic, value.useless, + value.smurf ); blacklistItems.push(blacklistItem); } diff --git a/app/classes/blacklistItem.ts b/app/classes/blacklistItem.ts index 1e438d3..1c7fcf8 100644 --- a/app/classes/blacklistItem.ts +++ b/app/classes/blacklistItem.ts @@ -2,13 +2,14 @@ export class BlacklistItem { link: string; nicknames: string[]; comments: string[]; - afk: boolean; - cheater: boolean; - griefer: boolean; - toxic: boolean; - useless: boolean; + afk: number; + cheater: number; + griefer: number; + toxic: number; + useless: number; + smurf: number; - constructor(link: string, nicknames: string[], comments: string[], afk: boolean, cheater: boolean, griefer: boolean, toxic: boolean, useless: boolean) { + constructor(link: string, nicknames: string[], comments: string[], afk: number, cheater: number, griefer: number, toxic: number, useless: number, smurf: number) { this.link = link; this.nicknames = nicknames; this.comments = comments; @@ -17,5 +18,6 @@ export class BlacklistItem { this.griefer = griefer; this.toxic = toxic; this.useless = useless; + this.smurf = smurf; } } \ No newline at end of file