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:
2025-09-05 18:10:58 +02:00
parent e5747eaaf3
commit 912259ef54
32 changed files with 543 additions and 333 deletions

View File

@@ -16,12 +16,13 @@ members = ["api", "app", "doc", "models", "migration", "utils"]
[workspace.dependencies]
axum = { version = "0.8.4", default-features = false }
tower = { version = "0.5.2", default-features = false }
sea-orm = { version = "1.1.12", default-features = false }
sea-orm = { version = "1.1.12" }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = { version = "1.0.140", default-features = false }
serde_json = { version = "1.0.140" }
tracing = "0.1.41"
utoipa = { version = "5.4.0", default-features = false, features = ["macros"] }
utoipa = { version = "5.4.0", features = ["macros", "chrono"] }
validator = { version = "0.20.0", default-features = false }
chrono = { version = "0.4.41", features = ["serde"] }
[dependencies]
api = { path = "api" }