diff --git a/plugin-api-standalone.d.ts b/plugin-api-standalone.d.ts index e252e67..d72e479 100644 --- a/plugin-api-standalone.d.ts +++ b/plugin-api-standalone.d.ts @@ -1,10 +1,10 @@ -/* plugin-typings are auto-generated. Do not update them directly. See plugin-docs/ for instructions. */ +/* plugin-typings are auto-generated. Do not update them directly. See developer-docs/ for instructions. */ /** * NOTE: This file is useful if you want to import specific types eg. * import type { SceneNode } from "@figma/plugin-typings/plugin-api-standalone" */ /** - * @see https://www.figma.com/plugin-docs/api/properties/figma-on + * @see https://developers.figma.com/docs/plugins/api/properties/figma-on */ declare type ArgFreeEventType = | 'selectionchange' @@ -17,7 +17,7 @@ declare type ArgFreeEventType = | 'timeradjust' | 'timerdone' /** - * @see https://www.figma.com/plugin-docs/api/figma + * @see https://developers.figma.com/docs/plugins/api/figma */ interface PluginAPI { /** @@ -25,11 +25,11 @@ interface PluginAPI { */ readonly apiVersion: '1.0.0' /** - * The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://www.figma.com/plugin-docs/manifest)). If the plugin does not have any menu item, this property is undefined. + * The currently executing command from the `manifest.json` file. It is the command string in the `ManifestMenuItem` (more details in the [manifest guide](https://developers.figma.com/docs/plugins/manifest)). If the plugin does not have any menu item, this property is undefined. */ readonly command: string /** - * The current editor type this plugin is running in. See also [Setting editor type](https://www.figma.com/plugin-docs/setting-editor-type/). + * The current editor type this plugin is running in. See also [Setting editor type](https://developers.figma.com/docs/plugins/setting-editor-type). */ readonly editorType: 'figma' | 'figjam' | 'dev' | 'slides' /** @@ -117,13 +117,13 @@ interface PluginAPI { * * This property contains methods used to read, set, and modify the built in FigJam timer. * - * Read more in the [timer section](https://www.figma.com/plugin-docs/api/figma-timer). + * Read more in the [timer section](https://developers.figma.com/docs/plugins/api/figma-timer). */ readonly timer?: TimerAPI /** * This property contains methods used to read and set the viewport, the user-visible area of the current page. * - * Read more in the [viewport section](https://www.figma.com/plugin-docs/api/figma-viewport). + * Read more in the [viewport section](https://developers.figma.com/docs/plugins/api/figma-viewport). */ readonly viewport: ViewportAPI /** @@ -149,13 +149,13 @@ interface PluginAPI { /** * This property contains methods used to integrate with the Dev Mode codegen functionality. * - * Read more in the [codegen section](https://www.figma.com/plugin-docs/api/figma-codegen). + * Read more in the [codegen section](https://developers.figma.com/docs/plugins/api/figma-codegen). */ readonly codegen: CodegenAPI /** * This property contains methods used to integrate with the Figma for VS Code extension. If `undefined`, the plugin is not running in VS Code. * - * Read more in [Dev Mode plugins in Visual Studio Code](https://www.figma.com/plugin-docs/working-in-dev-mode/#dev-mode-plugins-in-visual-studio-code) + * Read more in [Dev Mode plugins in Visual Studio Code](https://developers.figma.com/docs/plugins/working-in-dev-mode#dev-mode-plugins-in-visual-studio-code) */ readonly vscode?: VSCodeAPI /** @@ -346,26 +346,26 @@ interface PluginAPI { * * @remarks * - * In the VS Code Extension, this API is required to open a url in the browser. Read more in [Dev Mode plugins in Visual Studio Code](https://www.figma.com/plugin-docs/working-in-dev-mode/#dev-mode-plugins-in-visual-studio-code). + * In the VS Code Extension, this API is required to open a url in the browser. Read more in [Dev Mode plugins in Visual Studio Code](https://developers.figma.com/docs/plugins/working-in-dev-mode#dev-mode-plugins-in-visual-studio-code). */ openExternal(url: string): void /** * Enables you to render UI to interact with the user, or simply to access browser APIs. This function creates a modal dialog with an `