use crate::error::AppError;
use crate::model::responses::{ClientSentimentResponse, MarketSentiment};
use async_trait::async_trait;
#[async_trait]
pub trait SentimentService: Send + Sync {
async fn get_client_sentiment(
&self,
market_ids: &[String],
) -> Result<ClientSentimentResponse, AppError>;
async fn get_client_sentiment_by_market(
&self,
market_id: &str,
) -> Result<MarketSentiment, AppError>;
async fn get_related_sentiment(
&self,
market_id: &str,
) -> Result<ClientSentimentResponse, AppError>;
}