aboutsummaryrefslogtreecommitdiff
path: root/common/src/api.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-02-16 17:50:57 +0100
committermetamuffin <metamuffin@disroot.org>2026-02-16 17:50:57 +0100
commitbe4af57d75cc1e233b4714b18198fb7bde49464d (patch)
tree6e529e748fc1d5c212dcf8033c8158630ca4f4d6 /common/src/api.rs
parentbb1822e3e68fe6f699102bfc1659731bdbac1a40 (diff)
downloadjellything-be4af57d75cc1e233b4714b18198fb7bde49464d.tar
jellything-be4af57d75cc1e233b4714b18198fb7bde49464d.tar.bz2
jellything-be4af57d75cc1e233b4714b18198fb7bde49464d.tar.zst
refactor ui responder; add admin import pages
Diffstat (limited to 'common/src/api.rs')
-rw-r--r--common/src/api.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/src/api.rs b/common/src/api.rs
index 90efc76..c25405d 100644
--- a/common/src/api.rs
+++ b/common/src/api.rs
@@ -23,6 +23,11 @@ fields! {
VIEW_ACCOUNT_LOGIN: () = 2043 "account_login";
VIEW_ACCOUNT_LOGOUT: () = 2044 "account_logout";
VIEW_ACCOUNT_SET_PASSWORD: &str = 2045 "account_set_password";
+ VIEW_ADMIN_DASHBOARD: () = 2046 "admin_dashboard";
+ VIEW_ADMIN_IMPORT: Object = 2047 "admin_import";
+
+ ADMIN_IMPORT_BUSY: () = 2048 "busy";
+ ADMIN_IMPORT_ERROR: &str = 2049 "error"; // multi
NKU_NODE: Object = 2025 "node";
NKU_UDATA: Object = 2026 "udata";
@@ -49,7 +54,7 @@ fields! {
enums! {
NLSTYLE_GRID = 1023 "grid";
NLSTYLE_INLINE = 1024 "inline";
- NLSTYLE_LIST = 1023 "list";
+ NLSTYLE_LIST = 1025 "list";
}
// use crate::user::{NodeUserData, User};