mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-21 06:02:34 -05:00
feat(plugin-types): add root shape reference to the pages
This commit is contained in:
parent
25887786a6
commit
c7127597b8
1 changed files with 6 additions and 0 deletions
6
libs/plugin-types/index.d.ts
vendored
6
libs/plugin-types/index.d.ts
vendored
|
@ -215,6 +215,12 @@ export interface PenpotPage extends PenpotPluginData {
|
|||
* The `name` property is the name of the page.
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* The root shape of the current page. Will be the parent shape of all the shapes inside the document.
|
||||
*/
|
||||
root: PenpotShape;
|
||||
|
||||
/**
|
||||
* Retrieves a shape by its unique identifier.
|
||||
* @param id The unique identifier of the shape.
|
||||
|
|
Loading…
Add table
Reference in a new issue