implement
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {type WhiteboardJoinPolicy, WhiteboardState} from "@/enums";
|
||||
|
||||
export interface User {
|
||||
userId: string
|
||||
username: string
|
||||
email: string
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user