feat: Implement NATS-based event processing for note smart features and add Qdrant collection auto-creation.

This commit is contained in:
2025-12-26 00:19:41 +01:00
parent 178d59540e
commit 64f8118228
11 changed files with 155 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ pub struct AppState {
pub note_service: Arc<NoteService>,
pub tag_service: Arc<TagService>,
pub user_service: Arc<UserService>,
pub nats_client: async_nats::Client,
pub config: Config,
}
@@ -25,6 +26,7 @@ impl AppState {
note_service: Arc<NoteService>,
tag_service: Arc<TagService>,
user_service: Arc<UserService>,
nats_client: async_nats::Client,
config: Config,
) -> Self {
Self {
@@ -34,6 +36,7 @@ impl AppState {
note_service,
tag_service,
user_service,
nats_client,
config,
}
}