slab type

This commit is contained in:
wass08
2026-01-27 07:05:37 +09:00
parent 374860f4de
commit 8b1fbb4c1d
5 changed files with 32 additions and 5 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
import type { ThreeEvent } from '@react-three/fiber'
import mitt from 'mitt'
import type { BuildingNode, ItemNode, WallNode, ZoneNode } from '../schema'
import type { BuildingNode, ItemNode, SlabNode, WallNode, ZoneNode } from '../schema'
import type { AnyNode } from '../schema/types'
// Base event interfaces
@@ -22,6 +22,7 @@ export type WallEvent = NodeEvent<WallNode>
export type ItemEvent = NodeEvent<ItemNode>
export type BuildingEvent = NodeEvent<BuildingNode>
export type ZoneEvent = NodeEvent<ZoneNode>
export type SlabEvent = NodeEvent<SlabNode>
// Event suffixes - exported for use in hooks
export const eventSuffixes = [