Skip to content

Commit

Permalink
add updates for v1.102
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflee-figma committed Nov 22, 2024
1 parent 28e997d commit 4dcf762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin-api-standalone.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ interface PluginAPI {
createComponent(): ComponentNode
createComponentFromNode(node: SceneNode): ComponentNode
createPage(): PageNode
createPageDivider(dividerName?: string): PageNode
createSlice(): SliceNode
createSticky(): StickyNode
createConnector(): ConnectorNode
Expand Down Expand Up @@ -2046,6 +2047,7 @@ interface PageNode
backgrounds: ReadonlyArray<Paint>
prototypeBackgrounds: ReadonlyArray<Paint>
readonly prototypeStartNode: FrameNode | GroupNode | ComponentNode | InstanceNode | null
isPageDivider: boolean
loadAsync(): Promise<void>
on(type: 'nodechange', callback: (event: NodeChangeEvent) => void): void
once(type: 'nodechange', callback: (event: NodeChangeEvent) => void): void
Expand Down
2 changes: 2 additions & 0 deletions plugin-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ interface PluginAPI {
createComponent(): ComponentNode
createComponentFromNode(node: SceneNode): ComponentNode
createPage(): PageNode
createPageDivider(dividerName?: string): PageNode
createSlice(): SliceNode
createSticky(): StickyNode
createConnector(): ConnectorNode
Expand Down Expand Up @@ -2042,6 +2043,7 @@ interface PageNode
backgrounds: ReadonlyArray<Paint>
prototypeBackgrounds: ReadonlyArray<Paint>
readonly prototypeStartNode: FrameNode | GroupNode | ComponentNode | InstanceNode | null
isPageDivider: boolean
loadAsync(): Promise<void>
on(type: 'nodechange', callback: (event: NodeChangeEvent) => void): void
once(type: 'nodechange', callback: (event: NodeChangeEvent) => void): void
Expand Down

0 comments on commit 4dcf762

Please sign in to comment.