Merge branch 'main' into feature-whiteboards-recent-and-history

# Conflicts:
#	front/src/App.vue
This commit is contained in:
Veljko Tosic
2026-02-16 18:20:35 +01:00
38 changed files with 989 additions and 13 deletions

View File

@@ -0,0 +1,42 @@
export interface Position {
x: number
y: number
}
export interface Shape {
id: string
ownerId: string
position: Position
color: string
}
export interface Rectangle extends Shape {
endPosition: Position
borderThickness: number
}
export interface Arrow extends Shape {
endPosition: Position
thickness: number
}
export interface Line extends Shape {
endPosition: Position
thickness: number
}
export interface TextShape extends Shape {
textValue: string
textSize: number
}
export interface Whiteboard {
whiteboardId: string
ownerId: string
rectangles: Rectangle[]
arrows: Arrow[]
lines: Line[]
textShapes: TextShape[]
}
export type ShapeTool = 'rectangle' | 'arrow' | 'line' | 'text'