From bf84be508aa415b45a51fc0fe007a0879f7bfab7 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 3 Mar 2025 18:15:47 +0100 Subject: nodepage in player and tags --- common/src/lib.rs | 2 ++ common/src/stream.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/src/lib.rs b/common/src/lib.rs index ce333eb..7685027 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -50,6 +50,8 @@ pub struct Node { pub ratings: BTreeMap, pub federated: Option, #[serde(default)] + pub tags: BTreeSet, + #[serde(default)] pub people: BTreeMap>, #[serde(default)] pub external_ids: BTreeMap, diff --git a/common/src/stream.rs b/common/src/stream.rs index 3e227e1..1c285b3 100644 --- a/common/src/stream.rs +++ b/common/src/stream.rs @@ -1,9 +1,9 @@ -use bincode::{Decode, Encode}; /* This file is part of jellything (https://codeberg.org/metamuffin/jellything) which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2025 metamuffin */ +use bincode::{Decode, Encode}; #[cfg(feature = "rocket")] use rocket::{FromForm, FromFormField, UriDisplayQuery}; use serde::{Deserialize, Serialize}; -- cgit v1.2.3-70-g09d2