aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/src')
-rw-r--r--common/src/api.rs1
-rw-r--r--common/src/routes.rs5
2 files changed, 3 insertions, 3 deletions
diff --git a/common/src/api.rs b/common/src/api.rs
index f791cd8..89cfe16 100644
--- a/common/src/api.rs
+++ b/common/src/api.rs
@@ -49,6 +49,7 @@ fields! {
NODELIST_TITLE: &str = b"titl";
NODELIST_DISPLAYSTYLE: Tag = b"dsty";
NODELIST_ITEM: Object = b"item"; // multi
+ NODELIST_CONTINUATION: &str = b"cont";
MESSAGE_KIND: &str = b"kind";
MESSAGE_TEXT: &str = b"text";
diff --git a/common/src/routes.rs b/common/src/routes.rs
index b76fc98..96f36e2 100644
--- a/common/src/routes.rs
+++ b/common/src/routes.rs
@@ -42,9 +42,8 @@ pub fn u_node_slug_progress(node: &str, time: f64) -> String {
pub fn u_items() -> String {
"/items".to_string()
}
-pub fn u_items_filter(page: usize) -> String {
- // TODO
- format!("/items?page={page}")
+pub fn u_items_cont(cont: &str) -> String {
+ format!("/items?cont={cont}")
}
pub fn u_admin_users() -> String {
"/admin/users".to_string()