Adding Service and Storage traits for the inbox logic

To start making the backend codebase more future proof, I started
introducing the hexagonal architecture concept, of having `Service`
traits that is the public API and inner traits like `Storage`,
`Metrics`, etc. that can be implemented by different adapters like
`Sqlite`.

This is a first development in this direction.
This commit is contained in:
Sebastian Martinez
2025-01-23 22:23:44 +01:00
parent 62bdbc37d9
commit dc87d3fa84
12 changed files with 218 additions and 0 deletions
Generated
+1
View File
@@ -4144,6 +4144,7 @@ dependencies = [
"radicle-surf",
"serde",
"serde_json",
"sqlite",
"tempfile",
"thiserror 1.0.69",
"tree-sitter-bash",