Refactor utils imports and move utility files to utils/

Moved CommonUtils.js, ImageUtils.js, and LoggerUtils.js to a new utils/ directory and updated all import paths accordingly throughout the codebase. Also increased the default canvas width in Canvas.js from 512 to 1024.
This commit is contained in:
Dariusz L
2025-06-26 03:44:21 +02:00
parent a20a47b4c1
commit c892f93c35
14 changed files with 23 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
import {getCanvasState, setCanvasState, removeCanvasState, saveImage, getImage, removeImage} from "./db.js";
import {createModuleLogger} from "./LoggerUtils.js";
import {generateUUID, cloneLayers, getStateSignature, debounce} from "./CommonUtils.js";
import {createModuleLogger} from "./utils/LoggerUtils.js";
import {generateUUID, cloneLayers, getStateSignature, debounce} from "./utils/CommonUtils.js";
import {withErrorHandling, safeExecute} from "./ErrorHandler.js";
// Inicjalizacja loggera dla modułu CanvasState