fix: resolve Sharp 0.35.1 and BullMQ type incompatibilities after dep bumps

Sharp 0.35.1 moved FormatEnum to a namespace export and removed "avif"
from FormatEnum (now a separate literal in toFormat). BullMQ 5.78.1
bundles ioredis 5.10.1 while we have 5.11.1, causing structural type
mismatch. Also fixes new Biome 1.9 lint rules.
This commit is contained in:
SnapOtter
2026-06-15 15:20:16 +08:00
parent 9a61cb6af1
commit b76dc68682
18 changed files with 62 additions and 50 deletions
+7 -1
View File
@@ -1,4 +1,10 @@
import { AUDIO_INPUTS, IMAGE_INPUTS, MODALITY_URL_SLUG, SUBTITLE_INPUTS, VIDEO_INPUTS } from "./modality.js";
import {
AUDIO_INPUTS,
IMAGE_INPUTS,
MODALITY_URL_SLUG,
SUBTITLE_INPUTS,
VIDEO_INPUTS,
} from "./modality.js";
import type { CategoryInfo, SocialMediaPreset, Tool } from "./types.js";
export const CATEGORIES: CategoryInfo[] = [