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:
@@ -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;
|
||||
|
||||
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user