diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-23 17:25:28 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-23 17:25:28 +0100 |
| commit | 064a7906f6c6e18ad4ce5fb5a19e5e3d02144358 (patch) | |
| tree | c7e62f961ab5638aa36b1c669bc49d03939bcc41 /common/src | |
| parent | 807cde3a096a6e87d13a98d2ee78578732b1fb45 (diff) | |
| download | jellything-064a7906f6c6e18ad4ce5fb5a19e5e3d02144358.tar jellything-064a7906f6c6e18ad4ce5fb5a19e5e3d02144358.tar.bz2 jellything-064a7906f6c6e18ad4ce5fb5a19e5e3d02144358.tar.zst | |
user settings page
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"; |