aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/ViewBoxInterface.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-26 21:41:50 -0500
committerbobzel <zzzman@gmail.com>2025-02-26 21:41:50 -0500
commit2a71391a44eddcc438a5b8ae7d7c2d873f8adcfc (patch)
treef0de4225a7d24c24bd8fc8a4972c2c8da38250d8 /src/client/views/ViewBoxInterface.ts
parenta9a1a6a507616a77f70d6525dab5027f5b7a60e6 (diff)
made regenerate ai show up next to image doc. show ai prompt for firefly in gptpopup .
Diffstat (limited to 'src/client/views/ViewBoxInterface.ts')
-rw-r--r--src/client/views/ViewBoxInterface.ts1
1 files changed, 1 insertions, 0 deletions
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<P> extends ObservableReactComponent<React
promoteCollection?: () => void; // moves contents of collection to parent
hasChildDocs?: () => Doc[];
docEditorView?: () => void;
+ showSmartDraw?: (x: number, y: number, regenerate?: boolean) => void;
updateIcon?: (usePanelDimensions?: boolean) => Promise<void>; // 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