Skip to content

Commit

Permalink
add createSlide and createSlideRow and add new node types to SceneNode
Browse files Browse the repository at this point in the history
  • Loading branch information
kauffecup committed Sep 25, 2024
1 parent 297c32a commit 8727bf0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugin-api-standalone.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ interface PluginAPI {
createComponentFromNode(node: SceneNode): ComponentNode
createPage(): PageNode
createSlice(): SliceNode
createSlide(row?: number, col?: number): SlideNode
createSlideRow(row?: number): SlideRowNode
createSticky(): StickyNode
createConnector(): ConnectorNode
createShapeWithText(): ShapeWithTextNode
Expand Down Expand Up @@ -2584,6 +2586,10 @@ declare type SceneNode =
| HighlightNode
| WashiTapeNode
| TableNode
| SlideNode
| SlideRowNode
| SlideGridNode
| InteractiveSlideElementNode
declare type NodeType = BaseNode['type']
declare type StyleType = 'PAINT' | 'TEXT' | 'EFFECT' | 'GRID'
declare type InheritedStyleField =
Expand Down
6 changes: 6 additions & 0 deletions plugin-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ interface PluginAPI {
createComponentFromNode(node: SceneNode): ComponentNode
createPage(): PageNode
createSlice(): SliceNode
createSlide(row?: number, col?: number): SlideNode
createSlideRow(row?: number): SlideRowNode
createSticky(): StickyNode
createConnector(): ConnectorNode
createShapeWithText(): ShapeWithTextNode
Expand Down Expand Up @@ -2580,6 +2582,10 @@ declare type SceneNode =
| HighlightNode
| WashiTapeNode
| TableNode
| SlideNode
| SlideRowNode
| SlideGridNode
| InteractiveSlideElementNode
declare type NodeType = BaseNode['type']
declare type StyleType = 'PAINT' | 'TEXT' | 'EFFECT' | 'GRID'
declare type InheritedStyleField =
Expand Down

0 comments on commit 8727bf0

Please sign in to comment.