Move typed paths to separate module
This commit is contained in:
parent
3d5a277234
commit
058ed2e85c
6 changed files with 85 additions and 27 deletions
|
|
@ -3,16 +3,11 @@ use axum::{
|
|||
response::{IntoResponse, Redirect},
|
||||
Form,
|
||||
};
|
||||
use axum_extra::routing::TypedPath;
|
||||
use serde::Deserialize;
|
||||
use sqlx::SqlitePool;
|
||||
use time::OffsetDateTime;
|
||||
|
||||
use crate::{config::Config, somehow};
|
||||
|
||||
#[derive(Deserialize, TypedPath)]
|
||||
#[typed_path("/admin/queue/add")]
|
||||
pub struct PathAdminQueueAdd {}
|
||||
use crate::{config::Config, server::web::paths::PathAdminQueueAdd, somehow};
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct FormAdminQueueAdd {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue