From 6de6c7fd95de1de9d8d3107eaf7ce1dd150ed094 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 14 Apr 2026 18:17:14 +0200 Subject: refactor: move constants to domain modules --- apps/web/src/stores/editor-store.ts | 2 +- apps/web/src/stores/panel-store.ts | 2 +- apps/web/src/stores/preview-store.ts | 2 +- apps/web/src/stores/stickers-store.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/web/src/stores') diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.ts index 50aa1b08..07cb433e 100644 --- a/apps/web/src/stores/editor-store.ts +++ b/apps/web/src/stores/editor-store.ts @@ -1,5 +1,5 @@ import { create } from "zustand"; -import { DEFAULT_CANVAS_PRESETS } from "@/lib/canvas/constants"; +import { DEFAULT_CANVAS_PRESETS } from "@/lib/canvas/sizes"; import type { TCanvasSize } from "@/lib/project/types"; interface EditorState { diff --git a/apps/web/src/stores/panel-store.ts b/apps/web/src/stores/panel-store.ts index 72f4e9bc..757a37a6 100644 --- a/apps/web/src/stores/panel-store.ts +++ b/apps/web/src/stores/panel-store.ts @@ -1,6 +1,6 @@ import { create } from "zustand"; import { persist } from "zustand/middleware"; -import { PANEL_CONFIG } from "@/lib/panels/constants"; +import { PANEL_CONFIG } from "@/lib/panels/layout"; export interface PanelSizes { tools: number; diff --git a/apps/web/src/stores/preview-store.ts b/apps/web/src/stores/preview-store.ts index d0489e3b..b5957cb5 100644 --- a/apps/web/src/stores/preview-store.ts +++ b/apps/web/src/stores/preview-store.ts @@ -1,7 +1,7 @@ import { create } from "zustand"; import { persist } from "zustand/middleware"; import { isGuideId, type GuideId } from "@/lib/guides"; -import { DEFAULT_GRID_CONFIG } from "@/constants/guide-constants"; +import { DEFAULT_GRID_CONFIG } from "@/lib/guides/grid"; import type { GridConfig } from "@/lib/guides/types"; interface PreviewOverlaysState { diff --git a/apps/web/src/stores/stickers-store.ts b/apps/web/src/stores/stickers-store.ts index 7a678084..191050dd 100644 --- a/apps/web/src/stores/stickers-store.ts +++ b/apps/web/src/stores/stickers-store.ts @@ -7,7 +7,7 @@ import { searchStickers as searchStickersFromProviders, } from "@/lib/stickers"; import type { StickerBrowseResult, StickerSearchResult } from "@/lib/stickers"; -import { STICKER_CATEGORIES } from "@/constants/sticker-constants"; +import { STICKER_CATEGORIES } from "@/lib/stickers/categories"; import type { StickerCategory } from "@/lib/stickers/types"; import { registerDefaultStickerProviders } from "@/lib/stickers/providers"; import { stickersRegistry } from "@/lib/stickers/registry"; -- cgit v1.3.1