refactor: remove unused imports and types across trade and economy modules

This commit is contained in:
syntaxbullet
2025-12-13 12:50:00 +01:00
parent 86cbe827a2
commit b33738aee3
4 changed files with 2 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
import { createCommand } from "@/lib/utils";
import { SlashCommandBuilder, EmbedBuilder } from "discord.js";
import { economyService } from "@/modules/economy/economy.service";
import { userService } from "@/modules/user/user.service";
import { createErrorEmbed, createWarningEmbed } from "@lib/embeds";
export const daily = createCommand({

View File

@@ -1,7 +1,6 @@
import { createCommand } from "@/lib/utils";
import { SlashCommandBuilder, EmbedBuilder, ChannelType, ActionRowBuilder, ButtonBuilder, ButtonStyle, ThreadAutoArchiveDuration } from "discord.js";
import { TradeService } from "@/modules/trade/trade.service";
import { updateTradeDashboard } from "@/modules/trade/trade.interaction";
import { createErrorEmbed, createWarningEmbed } from "@lib/embeds";
export const trade = createCommand({

View File

@@ -13,7 +13,6 @@ import {
TextInputStyle,
ThreadChannel,
TextChannel,
Colors
} from "discord.js";
import { TradeService } from "./trade.service";
import { inventoryService } from "@/modules/inventory/inventory.service";

View File

@@ -1,8 +1,8 @@
import type { TradeSession, TradeParticipant, TradeState } from "./trade.types";
import type { TradeSession, TradeParticipant } from "./trade.types";
import { DrizzleClient } from "@/lib/DrizzleClient";
import { economyService } from "@/modules/economy/economy.service";
import { inventoryService } from "@/modules/inventory/inventory.service";
import { itemTransactions, transactions } from "@/db/schema";
import { itemTransactions } from "@/db/schema";
export class TradeService {
private static sessions = new Map<string, TradeSession>();