Skip to content

visibility updates #1325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/handlers/http/llm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct AiPrompt {

// Temperory type
#[derive(Debug, serde::Serialize)]
struct Field {
pub struct Field {
name: String,
data_type: String,
}
Expand Down
10 changes: 5 additions & 5 deletions src/prism/home/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use crate::{
type StreamMetadataResponse = Result<(String, Vec<ObjectStoreFormat>, DataSetType), PrismHomeError>;

#[derive(Debug, Serialize, Default)]
struct DatedStats {
pub struct DatedStats {
date: String,
events: u64,
ingestion_size: u64,
Expand All @@ -55,16 +55,16 @@ enum DataSetType {
}

#[derive(Debug, Serialize)]
struct DataSet {
pub struct DataSet {
title: String,
dataset_type: DataSetType,
}

#[derive(Debug, Serialize)]
pub struct HomeResponse {
alerts_info: AlertsInfo,
stats_details: Vec<DatedStats>,
datasets: Vec<DataSet>,
pub alerts_info: AlertsInfo,
pub stats_details: Vec<DatedStats>,
pub datasets: Vec<DataSet>,
}

#[derive(Debug, Serialize)]
Expand Down
Loading