chore: fix lint errors — duplicate import, unused imports, formatting
Deploy FileDrop / deploy (push) Successful in 45s

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude
2026-07-28 20:09:42 +07:00
parent 002492626b
commit 667921b100
41 changed files with 241 additions and 238 deletions
+2 -2
View File
@@ -1,11 +1,12 @@
import { nanoid } from 'nanoid';
import { type Context, Telegraf } from 'telegraf';
import { config } from '../../env';
import type { NewFile } from '../../domain/entities/file';
import type { IFileRepository } from '../../domain/ports/file-repository';
import type { ITelegramService } from '../../domain/ports/telegram-service';
import { config } from '../../env';
import { DrizzleFileRepository } from '../../infrastructure/persistence/repositories/file-repository';
import { botPool } from '../../infrastructure/telegram/bot-pool';
import logger from '../../shared/logger/index';
import {
detectFileType,
extractFileFromMessage,
@@ -13,7 +14,6 @@ import {
getFileSizeLimit,
type TelegramMediaMessage,
} from '../../shared/utils/file';
import logger from '../../shared/logger/index';
/**
* Minimal bot context shape used by the media event handler.