chore: move serde helpers to common utils

Relocate SurrealDB serde helpers out of storage types so they can be
reused broadly, and align retrieval-pipeline test setup with configured
embedding dimensions.
This commit is contained in:
Per Stark
2026-05-29 09:34:32 +02:00
parent ba8c36da1e
commit bc41a619ce
8 changed files with 20 additions and 11 deletions
+2 -6
View File
@@ -8,12 +8,8 @@ use axum::{
extract::{Query, State},
response::IntoResponse,
};
use common::storage::types::{
serde_helpers::deserialize_flexible_id,
text_content::TextContent,
user::User,
StoredObject,
};
use common::storage::types::{text_content::TextContent, user::User, StoredObject};
use common::utils::serde_helpers::deserialize_flexible_id;
use retrieval_pipeline::{RetrievalConfig, SearchResult, SearchTarget, StrategyOutput};
use serde::{de, Deserialize, Deserializer, Serialize};
use surrealdb::RecordId;