Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add updates for v1.102 #314

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading