draft spatial grid

This commit is contained in:
wass08
2026-01-18 10:54:02 +09:00
parent 4994384db5
commit 8bf933ed36
13 changed files with 604 additions and 19 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ import {
} from "@pascal-app/core";
import { useViewer } from "@pascal-app/viewer";
import { create } from "zustand";
import { Asset } from "../../../packages/core/src/schema/nodes/item";
export type Phase = "site" | "structure" | "furnish";
@@ -54,8 +55,8 @@ type EditorState = {
setTool: (tool: Tool | null) => void;
catalogCategory: CatalogCategory | null;
setCatalogCategory: (category: CatalogCategory | null) => void;
selectedItem: AssetInput | null;
setSelectedItem: (item: AssetInput) => void;
selectedItem: Asset | null;
setSelectedItem: (item: Asset) => void;
};
const useEditor = create<EditorState>()((set, get) => ({