refactor: reorganize project structure by migrating engine and geometry utilities into a structured map directory

This commit is contained in:
taDuc
2026-05-12 04:43:50 +07:00
parent 6076f098fa
commit 16fce9da7a
42 changed files with 65 additions and 65 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { EntityGeometryPreset } from "@/uhm/lib/entityTypeOptions";
import type { EntityGeometryPreset } from "@/uhm/lib/utils/entityTypeOptions";
export type EditorMode =
| "idle"
@@ -2,7 +2,7 @@ import { useState } from "react";
import {
BackgroundLayerVisibility,
HIDDEN_BACKGROUND_LAYER_VISIBILITY,
} from "@/uhm/lib/backgroundLayers";
} from "@/uhm/lib/map/styles/backgroundLayers";
export function useBackgroundSessionState() {
// Trạng thái bật/tắt layer nền (khởi tạo default hidden; sẽ load từ storage ở page).
@@ -1,6 +1,6 @@
import { useState } from "react";
import type { TimelineRange } from "@/uhm/lib/editor/session/sessionTypes";
import { clampYearValue } from "@/uhm/lib/timeline";
import { clampYearValue } from "@/uhm/lib/utils/timeline";
type Options = {
currentYear: number;