From ffbf816f912c9a5d96d5b12d4cba8a26b15be233 Mon Sep 17 00:00:00 2001 From: Brandon Chung Date: Wed, 27 May 2026 13:00:28 -0400 Subject: [PATCH 1/4] diff --- plugin-api-standalone.d.ts | 159 ++++++++++++++++++++++++++++++++++--- plugin-api.d.ts | 159 ++++++++++++++++++++++++++++++++++--- 2 files changed, 294 insertions(+), 24 deletions(-) diff --git a/plugin-api-standalone.d.ts b/plugin-api-standalone.d.ts index 9cbf04c..51c4472 100644 --- a/plugin-api-standalone.d.ts +++ b/plugin-api-standalone.d.ts @@ -445,6 +445,7 @@ interface PluginAPI { * This API is only available in Buzz. * * This property contains methods to work in Buzz. + * */ readonly buzz: BuzzAPI /** @@ -1451,6 +1452,7 @@ interface PluginAPI { * ### Change file extension * * For plugins our default template puts your code in a `code.ts` file. You should rename this to `code.tsx` so that you can use jsx in your plugin. + * */ createNodeFromJSXAsync(jsx: any): Promise /** @@ -1548,6 +1550,7 @@ interface PluginAPI { * * Note: `getSelectionColors()` returns `null` if there is no selection, or * if there are too many colors in the selection (>1000). + * */ getSelectionColors(): null | { paints: Paint[] @@ -1698,6 +1701,7 @@ interface PluginAPI { * The `data` passed in must be encoded as a .MP4, .MOV, or .WebM. Videos have a maximum size of 100MB. Invalid videos will throw an error. * * Video can only be added to files in a paid Education, Professional, and Organization team. Plugins running on files in free Starter teams can edit existing video in a file but not upload video to it. + * */ createVideoAsync(data: Uint8Array): Promise