Implement queue task deletion

This commit is contained in:
Joscha 2023-08-14 12:41:47 +02:00
parent 7f975a1fd0
commit 2620530cc2
5 changed files with 118 additions and 11 deletions

View file

@ -17,6 +17,12 @@ pub struct PathQueue {}
#[typed_path("/queue/inner")]
pub struct PathQueueInner {}
#[derive(Deserialize, TypedPath)]
#[typed_path("/queue/delete/:hash")]
pub struct PathQueueDelete {
pub hash: String,
}
#[derive(Deserialize, TypedPath)]
#[typed_path("/commit/:hash")]
pub struct PathCommitByHash {