0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-06 14:50:21 -05:00

feat(plugin-types): add pages info to the file

This commit is contained in:
alonso.torres 2024-07-11 13:38:25 +02:00 committed by Alonso Torres
parent 2b8a76b2b0
commit b54edb3ede

View file

@ -181,9 +181,25 @@ export interface PenpotPluginData {
* It includes properties for the file's identifier, name, and revision number.
*/
export interface PenpotFile extends PenpotPluginData {
/**
* The `id` property is a unique identifier for the file.
*/
id: string;
/**
* The `name` for the file
*/
name: string;
/**
* The `revn` will change for every document update
*/
revn: number;
/**
* List all the pages for the current file
*/
pages: PenpotPage[];
}
/**