From 2a71391a44eddcc438a5b8ae7d7c2d873f8adcfc Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 26 Feb 2025 21:41:50 -0500 Subject: made regenerate ai show up next to image doc. show ai prompt for firefly in gptpopup . --- src/client/views/ViewBoxInterface.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/views/ViewBoxInterface.ts') diff --git a/src/client/views/ViewBoxInterface.ts b/src/client/views/ViewBoxInterface.ts index b943259ff..0ddac8914 100644 --- a/src/client/views/ViewBoxInterface.ts +++ b/src/client/views/ViewBoxInterface.ts @@ -24,6 +24,7 @@ export abstract class ViewBoxInterface

extends ObservableReactComponent void; // moves contents of collection to parent hasChildDocs?: () => Doc[]; docEditorView?: () => void; + showSmartDraw?: (x: number, y: number, regenerate?: boolean) => void; updateIcon?: (usePanelDimensions?: boolean) => Promise; // updates the icon representation of the document getAnchor?: (addAsAnnotation: boolean, pinData?: PinProps) => Doc; // returns an Anchor Doc that represents the current state of the doc's componentview (e.g., the current playhead location of a an audio/video box) restoreView?: (viewSpec: Doc) => boolean; // DEPRECATED: do not use, it will go away. see PresBox.restoreTargetDocView -- cgit v1.2.3-70-g09d2