From aa2a81e35402dc88ae3f3b91e6dac1fa8db2c393 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 10 Mar 2026 00:00:40 +0300 Subject: [PATCH] pinakes-plugin-api: add widgets field to manifest UI section Signed-off-by: NotAShelf Change-Id: I6fae2dc3c09702aa5a54d1e17a8175516a6a6964 --- crates/pinakes-plugin-api/src/manifest.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/pinakes-plugin-api/src/manifest.rs b/crates/pinakes-plugin-api/src/manifest.rs index c611546..49c5748 100644 --- a/crates/pinakes-plugin-api/src/manifest.rs +++ b/crates/pinakes-plugin-api/src/manifest.rs @@ -11,6 +11,7 @@ use crate::{ FilesystemCapability, NetworkCapability, UiPage, + UiWidget, }; /// Plugin manifest file format (TOML) @@ -35,6 +36,10 @@ pub struct UiSection { /// UI pages defined by this plugin #[serde(default)] pub pages: Vec, + + /// Widgets to inject into existing host pages + #[serde(default)] + pub widgets: Vec, } /// Entry for a UI page in the manifest - can be inline or file reference