Simplify kcl_manager in Rust
MOAR JSON
This commit is contained in:
		@ -246,14 +246,6 @@ pub struct EngineConnectionType {
 | 
			
		||||
    pub type_field: String,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[derive(Default, Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema)]
 | 
			
		||||
#[ts(export)]
 | 
			
		||||
#[serde(rename_all = "snake_case")]
 | 
			
		||||
pub struct KclManagerState {
 | 
			
		||||
    pub ast: JValue,
 | 
			
		||||
    pub kcl_errors: JValue,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[derive(Default, Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema)]
 | 
			
		||||
#[ts(export)]
 | 
			
		||||
#[serde(rename_all = "snake_case")]
 | 
			
		||||
@ -262,7 +254,7 @@ pub struct ClientState {
 | 
			
		||||
    /// Internal state of the KclManager/KclSingleton object.
 | 
			
		||||
    pub engine_command_manager: EngineCommandManagerState,
 | 
			
		||||
    /// Internal state of the KclManager/KclSingleton object.
 | 
			
		||||
    pub kcl_manager: KclManagerState,
 | 
			
		||||
    pub kcl_manager: JValue,
 | 
			
		||||
    /// Internal state of the SceneInfra object.
 | 
			
		||||
    pub scene_infra: JValue,
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user