Add repl events (#15259)
Release Notes: - N/A --------- Co-authored-by: Kyle Kelley <rgbkrk@gmail.com>
This commit is contained in:
parent
745d2e4d3b
commit
856d9632e4
11 changed files with 190 additions and 37 deletions
|
@ -65,6 +65,7 @@ pub enum Event {
|
|||
Extension(ExtensionEvent),
|
||||
Edit(EditEvent),
|
||||
Action(ActionEvent),
|
||||
Repl(ReplEvent),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
|
@ -148,6 +149,13 @@ pub struct AppEvent {
|
|||
pub operation: String,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct ReplEvent {
|
||||
pub kernel_language: String,
|
||||
pub kernel_status: String,
|
||||
pub repl_session_id: String,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct BacktraceFrame {
|
||||
pub ip: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue