Files
MajoorWaldi-ComfyUI-Majoor-…/js/features/dnd/utils/constants.js
T
Ewald 4ed61dd0e7 feat: Enhance metadata enrichment and audio handling
- Implemented a pause mechanism for enrichment processes in search routes to improve performance and user experience.
- Added new toast notifications for metadata enrichment completion and database restore events.
- Updated internationalization (i18n) files to include new toast messages for enrichment and database operations.
- Refactored drag-and-drop functionality to support audio files alongside video files, including new utility functions for audio path detection.
- Improved grid view loading overlays and asset handling to prevent stale data issues during updates.
- Added tests for audio metadata extraction and prompt graph preservation to ensure robustness in audio processing features.
- Updated requirements to include static analysis tools for better code quality.
2026-02-11 09:44:00 +01:00

7 lines
309 B
JavaScript

export const DND_MIME = "application/x-mjr-asset";
export const VIDEO_EXTS = new Set([".mp4", ".mov", ".mkv", ".webm", ".avi"]);
export const AUDIO_EXTS = new Set([".wav", ".mp3", ".flac", ".ogg", ".m4a", ".aac", ".opus"]);
export const DND_GLOBAL_KEY = "__MJR_DND__";
export const DND_INSTANCE_VERSION = 2;