Skip to main content

synth_ai_core/data/
enum_values.rs

1use once_cell::sync::Lazy;
2use serde_json::{Map, Value};
3
4static DATA_ENUM_VALUES: Lazy<Value> = Lazy::new(|| {
5    let raw = include_str!("../../assets/data_enum_values.json");
6    serde_json::from_str(raw).unwrap_or_else(|_| Value::Object(Map::new()))
7});
8
9/// Return the full mapping of data enum values.
10pub fn data_enum_values() -> Value {
11    DATA_ENUM_VALUES.clone()
12}