diff options
Diffstat (limited to 'common/src')
| -rw-r--r-- | common/src/api.rs | 1 | ||||
| -rw-r--r-- | common/src/user.rs | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/common/src/api.rs b/common/src/api.rs index beccaa5..bec33ba 100644 --- a/common/src/api.rs +++ b/common/src/api.rs @@ -27,6 +27,7 @@ fields! { VIEW_ADMIN_IMPORT: Object = b"adim"; VIEW_ADMIN_INFO: Object = b"adin"; VIEW_ADMIN_LOG: Object = b"adlo"; + VIEW_USER_SETTINGS: Object = b"uset"; ADMIN_IMPORT_BUSY: () = b"busy"; ADMIN_IMPORT_ERROR: &str = b"erro"; // multi diff --git a/common/src/user.rs b/common/src/user.rs index fcb8eea..ccd9c5c 100644 --- a/common/src/user.rs +++ b/common/src/user.rs @@ -4,12 +4,13 @@ Copyright (C) 2026 metamuffin <metamuffin.org> */ -use jellyobject::fields; +use jellyobject::{enums, fields}; fields! { USER_LOGIN: &str = b"Ulgn"; USER_PASSWORD: &[u8] = b"Upwd"; USER_NAME: &str = b"Unam"; + USER_THEME: &str = b"Uthm"; USER_ADMIN: () = b"Uadm"; UDATA_WATCHED: () = b"Dwat"; |