implement

This commit is contained in:
2026-02-17 00:48:28 +01:00
parent 0119c7a737
commit 5c7909034f
57 changed files with 1676 additions and 114 deletions

View File

@@ -1,6 +1,7 @@
import {type WhiteboardJoinPolicy, WhiteboardState} from "@/enums";
export interface User {
userId: string
username: string
email: string
}

View File

@@ -39,4 +39,11 @@ export interface Whiteboard {
textShapes: TextShape[]
}
export type ShapeTool = 'rectangle' | 'arrow' | 'line' | 'text'
export interface MoveShapeCommand {
shapeId: string
newPositionX: number
newPositionY: number
}
export type ShapeTool = 'hand' | 'rectangle' | 'arrow' | 'line' | 'text'
export type ShapeType = 'rectangle' | 'arrow' | 'line' | 'textShape'