better charts2

This commit is contained in:
Filipriec
2026-09-16 19:13:11 +02:00
parent 25ef91f221
commit f1b10e1ea9
8 changed files with 237 additions and 13 deletions

View File

@@ -39,6 +39,15 @@ impl GrpcClient {
Ok(response.into_inner())
}
pub async fn validate_report(&mut self, request: ValidateReportRequest) -> Result<ReportAsset> {
let request = self.authenticated_request(request)?;
let response = ReportingServiceClient::new(self.channel.clone())
.validate(request)
.await
.context("gRPC ReportingService validate call failed")?;
Ok(response.into_inner())
}
pub async fn publish_report(&mut self, request: PublishReportRequest) -> Result<ReportAsset> {
let request = self.authenticated_request(request)?;
let response = ReportingServiceClient::new(self.channel.clone())