Refactor blog module and remove blog-related functionality
- Removed blog router and associated API endpoints. - Deleted blog persistence functions and related query parameters. - Removed blog schemas and models from the codebase. - Introduced common crate for shared types, including DateTimeWithTimeZoneWrapper. - Added Thought and Follow models with corresponding migrations. - Updated dependencies in Cargo.toml files to reflect changes. - Adjusted tests to remove references to the blog module.
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
use serde::Deserialize;
|
||||
use utoipa::IntoParams;
|
||||
|
||||
#[derive(Deserialize, Default, IntoParams)]
|
||||
#[into_params(style = Form, parameter_in = Query)]
|
||||
pub struct BlogQuery {
|
||||
#[param(nullable = true)]
|
||||
pub title: Option<String>,
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
pub mod blog;
|
||||
pub mod user;
|
||||
|
||||
Reference in New Issue
Block a user