diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-04 20:41:59 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-04 20:41:59 +0200 |
commit | 347274afb36e926b328e799ca8004fc874ffe4cb (patch) | |
tree | 8c7ec38938e3673ce5752bffa9442daa9f589f3d /common/src/lib.rs | |
parent | 4095a8804c17c3ec12706f00d3694f564afc0b95 (diff) | |
download | jellything-347274afb36e926b328e799ca8004fc874ffe4cb.tar jellything-347274afb36e926b328e799ca8004fc874ffe4cb.tar.bz2 jellything-347274afb36e926b328e799ca8004fc874ffe4cb.tar.zst |
more permission stuff
Diffstat (limited to 'common/src/lib.rs')
-rw-r--r-- | common/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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<String>, + #[serde(default)] pub id: Option<String>, + #[serde(default)] pub path: Vec<String>, #[serde(default)] pub children: Vec<String>, #[serde(default)] pub tagline: Option<String>, #[serde(default)] pub description: Option<String>, |