fix: adapt code to modernized libraries

- Migrate validation.ts from class-transformer/class-validator to Zod
- Apply Biome auto-fixes (import sorting, nodejs protocol)
- Fix duplicate type identifier in validation.ts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-15 04:25:06 +07:00
co-authored by Claude Opus 4.7
parent 203aa9a589
commit 29fcde69e4
10 changed files with 74 additions and 49 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
import fs from "node:fs";
import http from "node:http";
import path from "node:path";
import type { Client } from "discord.js-selfbot-v13";
import express from "express";
import fs from "fs";
import helmet from "helmet";
import http from "http";
import path from "path";
import * as prism from "prism-media";
import { WebSocketServer } from "ws";
import { AppError } from "./errors";