Implement Rust web sidebar title and tree interactions
This commit is contained in:
@@ -477,6 +477,7 @@ pub fn build_stream_delta_payload(
|
||||
let scope = resolve_stream_scope(query);
|
||||
json!({
|
||||
"kind": "delta",
|
||||
"revision": cursor.clone().unwrap_or_else(|| "0".into()),
|
||||
"stream": scope.as_str(),
|
||||
"projection": scope.projection(),
|
||||
"requestId": context.trace.request_id,
|
||||
@@ -570,6 +571,7 @@ pub async fn load_stream_snapshot(
|
||||
|
||||
Ok(json!({
|
||||
"kind": "snapshot",
|
||||
"revision": cursor.clone().unwrap_or_else(|| "0".into()),
|
||||
"scope": scope.as_str(),
|
||||
"stream": scope.as_str(),
|
||||
"projection": scope.projection(),
|
||||
|
||||
Reference in New Issue
Block a user