refactor: clean up unused imports and dead code across commands, services, and tests.

This commit is contained in:
syntaxbullet
2025-12-24 11:02:13 +01:00
parent f39ccee0d3
commit 1189483244
21 changed files with 16 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
import { describe, it, expect, mock, beforeEach, afterEach } from "bun:test";
import { describe, it, expect, mock, beforeEach } from "bun:test";
import { userService } from "./user.service";
// Define mock functions outside so we can control them in tests

View File

@@ -1,5 +1,5 @@
import { users } from "@/db/schema";
import { eq, sql } from "drizzle-orm";
import { eq } from "drizzle-orm";
import { DrizzleClient } from "@/lib/DrizzleClient";
export const userService = {

View File

@@ -1,5 +1,5 @@
import { userTimers } from "@/db/schema";
import { eq, and, lt } from "drizzle-orm";
import { eq, and } from "drizzle-orm";
import { DrizzleClient } from "@/lib/DrizzleClient";
export type TimerType = 'COOLDOWN' | 'EFFECT' | 'ACCESS';