feat: add TODOs to missing endpoints

This commit is contained in:
Mika 2025-05-18 22:37:31 +02:00
parent c3f7ba42b5
commit 50a7400584
3 changed files with 15 additions and 0 deletions

View file

@ -8,26 +8,31 @@ pub fn setup(cfg: &mut actix_web::web::ServiceConfig) {
.service(delete_class);
}
// TODO
#[get("")]
async fn get_classes() -> impl Responder {
""
}
// TODO
#[get("/{id}")]
async fn get_class() -> impl Responder {
""
}
// TODO
#[post("")]
async fn create_class() -> impl Responder {
""
}
// TODO
#[put("")]
async fn update_class() -> impl Responder {
""
}
// TODO
#[delete("/{id}")]
async fn delete_class() -> impl Responder {
""

View file

@ -8,26 +8,31 @@ pub fn setup(cfg: &mut actix_web::web::ServiceConfig) {
.service(delete_group);
}
// TODO
#[get("")]
async fn get_groups() -> impl Responder {
""
}
// TODO
#[get("/{project}")]
async fn get_groups_for_project() -> impl Responder {
""
}
// TODO
#[post("")]
async fn create_group() -> impl Responder {
""
}
// TODO
#[put("")]
async fn update_group() -> impl Responder {
""
}
// TODO
#[delete("/{id}")]
async fn delete_group() -> impl Responder {
""

View file

@ -8,26 +8,31 @@ pub fn setup(cfg: &mut actix_web::web::ServiceConfig) {
.service(delete_template);
}
// TODO
#[get("")]
async fn get_templates() -> impl Responder {
""
}
// TODO
#[get("/{id}")]
async fn get_template() -> impl Responder {
""
}
// TODO
#[post("")]
async fn create_template() -> impl Responder {
""
}
// TODO
#[put("")]
async fn update_template() -> impl Responder {
""
}
// TODO
#[delete("/{id}")]
async fn delete_template() -> impl Responder {
""