refactor: move constants to domain modules

This commit is contained in:
Maze Winther
2026-04-14 18:17:14 +02:00
parent 34c67ef8e8
commit 6de6c7fd95
98 changed files with 230 additions and 386 deletions
@@ -11,7 +11,7 @@ import { BlurBackgroundNode } from "./nodes/blur-background-node";
import { EffectLayerNode } from "./nodes/effect-layer-node";
import type { AnyBaseNode } from "./nodes/base-node";
import type { TBackground, TCanvasSize } from "@/lib/project/types";
import { DEFAULT_BACKGROUND_BLUR_INTENSITY } from "@/lib/background/constants";
import { DEFAULT_BACKGROUND_BLUR_INTENSITY } from "@/lib/background/blur";
const PREVIEW_MAX_IMAGE_SIZE = 2048;