fix: LOW issues #37-#50 — remove mock data, type auth functions, ImageElement interface, remove dead code, implement zoom/format/search, cleanup

This commit is contained in:
A0 Orchestrator
2026-06-30 14:37:59 +02:00
parent ee664750e6
commit b503f75fe2
9 changed files with 164 additions and 74 deletions
+8
View File
@@ -54,6 +54,14 @@ export interface CADElement {
properties: CADProperties;
}
/** Image element extending base CADElement with image-specific fields */
export interface ImageElement extends CADElement {
type: 'image';
properties: CADProperties & {
src: string;
};
}
export interface BlockDefinition {
id: string;
name: string;
+1
View File
@@ -124,6 +124,7 @@ export interface CanvasAreaProps {
onZoomIn: () => void;
onZoomOut: () => void;
onZoomFit: () => void;
zoomCommand?: 'in' | 'out' | 'fit' | '100' | null;
onTextEdit?: (el: CADElement) => void;
onCommandTrigger?: (msg: string) => void;
blocks?: BlockDefinition[];