From 347274afb36e926b328e799ca8004fc874ffe4cb Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 4 Oct 2023 20:41:59 +0200 Subject: more permission stuff --- common/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/src/lib.rs') diff --git a/common/src/lib.rs b/common/src/lib.rs index c425c21..2bde0b9 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -37,7 +37,8 @@ pub struct NodePrivate { pub struct NodePublic { pub kind: NodeKind, pub title: String, - #[serde(default)] pub parent: Option, + #[serde(default)] pub id: Option, + #[serde(default)] pub path: Vec, #[serde(default)] pub children: Vec, #[serde(default)] pub tagline: Option, #[serde(default)] pub description: Option, -- cgit v1.2.3-70-g09d2