From 332b8f0c7367f6e992488f4167258f94731b9010 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Fri, 8 May 2026 00:55:38 +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=BA=D0=BB=D0=B0=D1=81=D1=81=D1=8B=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B8=D0=BD?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/classes/blacklistItem.ts | 21 +++++++++++++++++++++ app/classes/responseError.ts | 11 +++++++++++ 2 files changed, 32 insertions(+) create mode 100644 app/classes/blacklistItem.ts create mode 100644 app/classes/responseError.ts diff --git a/app/classes/blacklistItem.ts b/app/classes/blacklistItem.ts new file mode 100644 index 0000000..1e438d3 --- /dev/null +++ b/app/classes/blacklistItem.ts @@ -0,0 +1,21 @@ +export class BlacklistItem { + link: string; + nicknames: string[]; + comments: string[]; + afk: boolean; + cheater: boolean; + griefer: boolean; + toxic: boolean; + useless: boolean; + + constructor(link: string, nicknames: string[], comments: string[], afk: boolean, cheater: boolean, griefer: boolean, toxic: boolean, useless: boolean) { + this.link = link; + this.nicknames = nicknames; + this.comments = comments; + this.afk = afk; + this.cheater = cheater; + this.griefer = griefer; + this.toxic = toxic; + this.useless = useless; + } +} \ No newline at end of file diff --git a/app/classes/responseError.ts b/app/classes/responseError.ts new file mode 100644 index 0000000..7fcf5f6 --- /dev/null +++ b/app/classes/responseError.ts @@ -0,0 +1,11 @@ +export class ResponseError { + code: string; + status: number; + message: string; + + constructor(code: string, message: string, status: number) { + this.code = code; + this.status = status; + this.message = message; + }; +} \ No newline at end of file