Files
novem/src/api/repo.rs

20 lines
357 B
Rust
Raw Normal View History

2026-04-20 22:54:31 +01:00
use crate::api::QueryContext;
2026-04-20 15:13:26 +01:00
use crate::query;
#[derive(Clone)]
pub struct List;
2026-04-21 20:30:41 +01:00
impl query::QueryFn for List {
2026-04-20 15:13:26 +01:00
type Data = ();
type Error = ();
2026-04-21 20:30:41 +01:00
type Context = QueryContext;
2026-04-20 15:13:26 +01:00
fn key(&self) -> &'static str {
"repo.list"
}
2026-04-21 20:30:41 +01:00
async fn run(&self, _c: &Self::Context) -> Result<Self::Data, Self::Error> {
2026-04-21 11:50:04 +01:00
Ok(())
2026-04-20 15:13:26 +01:00
}
}