Return graph data at /graph/data

This commit is contained in:
Joscha 2023-08-14 23:23:36 +02:00
parent 3cf444ffc2
commit 3c9fc1ce75
8 changed files with 138 additions and 5 deletions

View file

@ -13,6 +13,10 @@ pub struct PathIndex {}
#[typed_path("/graph/")]
pub struct PathGraph {}
#[derive(Deserialize, TypedPath)]
#[typed_path("/graph/data")]
pub struct PathGraphData {}
#[derive(Deserialize, TypedPath)]
#[typed_path("/queue/")]
pub struct PathQueue {}