From b54edb3ede183c64950d39af03a26d7fd7dc1df1 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 11 Jul 2024 13:38:25 +0200 Subject: [PATCH] feat(plugin-types): add pages info to the file --- libs/plugin-types/index.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/libs/plugin-types/index.d.ts b/libs/plugin-types/index.d.ts index 65ae76a..2b5a0c2 100644 --- a/libs/plugin-types/index.d.ts +++ b/libs/plugin-types/index.d.ts @@ -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[]; } /**