Skip to content

Commit acef657

Browse files
committed
visibility updates
1 parent 8ebd117 commit acef657

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/handlers/http/llm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct AiPrompt {
5151

5252
// Temperory type
5353
#[derive(Debug, serde::Serialize)]
54-
struct Field {
54+
pub struct Field {
5555
name: String,
5656
data_type: String,
5757
}

src/prism/home/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use crate::{
4040
type StreamMetadataResponse = Result<(String, Vec<ObjectStoreFormat>, DataSetType), PrismHomeError>;
4141

4242
#[derive(Debug, Serialize, Default)]
43-
struct DatedStats {
43+
pub struct DatedStats {
4444
date: String,
4545
events: u64,
4646
ingestion_size: u64,
@@ -55,16 +55,16 @@ enum DataSetType {
5555
}
5656

5757
#[derive(Debug, Serialize)]
58-
struct DataSet {
58+
pub struct DataSet {
5959
title: String,
6060
dataset_type: DataSetType,
6161
}
6262

6363
#[derive(Debug, Serialize)]
6464
pub struct HomeResponse {
65-
alerts_info: AlertsInfo,
66-
stats_details: Vec<DatedStats>,
67-
datasets: Vec<DataSet>,
65+
pub alerts_info: AlertsInfo,
66+
pub stats_details: Vec<DatedStats>,
67+
pub datasets: Vec<DataSet>,
6868
}
6969

7070
#[derive(Debug, Serialize)]

0 commit comments

Comments
 (0)