fix: resolve boundaries/element-types lint error in window.ts

Inline WINDOW_IS_FULLSCREEN constant instead of importing from
@preload to avoid cross-boundary import violation.
This commit is contained in:
iliya 2026-02-22 23:33:39 +02:00
parent dc4fc99407
commit cd68023819

View file

@ -4,8 +4,9 @@
* can provide conventional min / maximize / close buttons.
*/
import { WINDOW_IS_FULLSCREEN } from '@preload/constants/ipcChannels';
import { createLogger } from '@shared/utils/logger';
const WINDOW_IS_FULLSCREEN = 'window:isFullScreen';
import { BrowserWindow, type IpcMain } from 'electron';
const logger = createLogger('IPC:window');