@figma/plugin-typings
Advanced tools
Comparing version 1.79.0 to 1.80.0
{ | ||
"name": "@figma/plugin-typings", | ||
"version": "1.79.0", | ||
"version": "1.80.0", | ||
"description": "Typings for the Figma Plugin API", | ||
@@ -5,0 +5,0 @@ "main": "", |
@@ -1208,2 +1208,5 @@ /* plugin-typings are auto-generated. Do not update them directly. See plugin-docs/ for instructions. */ | ||
} | ||
declare type DevStatus = { | ||
type: 'READY_FOR_DEV' | ||
} | null | ||
declare type Action = | ||
@@ -1413,2 +1416,5 @@ | { | ||
} | ||
interface DevStatusMixin { | ||
devStatus: DevStatus | ||
} | ||
interface SceneNodeMixin { | ||
@@ -1432,4 +1438,5 @@ visible: boolean | ||
} | ||
readonly textRangeFills?: VariableAlias[] | ||
} | ||
setBoundVariable(field: VariableBindableNodeField, variableId: string): void | ||
setBoundVariable(field: VariableBindableNodeField, variableId: string | null): void | ||
readonly inferredVariables?: { | ||
@@ -1655,3 +1662,4 @@ readonly [field in VariableBindableNodeField]?: VariableAlias[] | ||
IndividualStrokesMixin, | ||
AutoLayoutMixin { | ||
AutoLayoutMixin, | ||
DevStatusMixin { | ||
readonly detachedInfo: DetachedInfo | null | ||
@@ -1697,3 +1705,3 @@ layoutGrids: ReadonlyArray<LayoutGrid> | ||
} | ||
interface TextSublayerNode extends MinimalFillsMixin { | ||
interface NonResizableTextMixin { | ||
readonly hasMissingFont: boolean | ||
@@ -1769,2 +1777,3 @@ paragraphIndent: number | ||
} | ||
interface TextSublayerNode extends NonResizableTextMixin, MinimalFillsMixin {} | ||
interface DocumentNode extends BaseNodeMixin { | ||
@@ -1860,3 +1869,3 @@ readonly type: 'DOCUMENT' | ||
} | ||
interface TextNode extends DefaultShapeMixin, ConstraintMixin, TextSublayerNode { | ||
interface TextNode extends DefaultShapeMixin, ConstraintMixin, NonResizableTextMixin { | ||
readonly type: 'TEXT' | ||
@@ -1986,3 +1995,2 @@ clone(): TextNode | ||
CornerMixin, | ||
ReactionMixin, | ||
VectorLikeMixin, | ||
@@ -2098,3 +2106,3 @@ StickableMixin { | ||
declare type CodeSyntaxPlatform = 'WEB' | 'ANDROID' | 'iOS' | ||
interface Variable { | ||
interface Variable extends PluginDataMixin { | ||
readonly id: string | ||
@@ -2125,3 +2133,3 @@ name: string | ||
} | ||
interface VariableCollection { | ||
interface VariableCollection extends PluginDataMixin { | ||
readonly id: string | ||
@@ -2179,3 +2187,3 @@ name: string | ||
} | ||
interface EmbedNode extends OpaqueNodeMixin, SceneNodeMixin { | ||
interface EmbedNode extends OpaqueNodeMixin { | ||
readonly type: 'EMBED' | ||
@@ -2191,3 +2199,3 @@ readonly embedData: EmbedData | ||
} | ||
interface LinkUnfurlNode extends OpaqueNodeMixin, SceneNodeMixin { | ||
interface LinkUnfurlNode extends OpaqueNodeMixin { | ||
readonly type: 'LINK_UNFURL' | ||
@@ -2207,7 +2215,4 @@ readonly linkUnfurlData: LinkUnfurlData | ||
} | ||
interface SectionNode extends ChildrenMixin, MinimalFillsMixin, OpaqueNodeMixin { | ||
interface SectionNode extends ChildrenMixin, MinimalFillsMixin, OpaqueNodeMixin, DevStatusMixin { | ||
readonly type: 'SECTION' | ||
devStatus: { | ||
type: 'READY_FOR_DEV' | ||
} | null | ||
sectionContentsHidden: boolean | ||
@@ -2214,0 +2219,0 @@ clone(): SectionNode |
70790
2381