feat: consolidate local-first mnote web runtime
This commit is contained in:
@@ -2,11 +2,11 @@ use crate::app::AppConfig;
|
||||
use crate::context::RequestContext;
|
||||
use crate::error::WebError;
|
||||
use crate::routes::query_support::{
|
||||
execute_runtime_query_against_data, fetch_query_data_via_convex,
|
||||
execute_runtime_query_against_data, fetch_query_data_via_legacy_cloud,
|
||||
};
|
||||
use bridge_runtime::RuntimeQueryEnvelopeWire;
|
||||
use core_protocol::{KernelNodeType, KernelProjectionKind};
|
||||
use serde_json::{json, Value};
|
||||
use serde_json::{Value, json};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ProjectionSnapshotSpec<'a> {
|
||||
@@ -38,7 +38,7 @@ pub async fn load_sidebar_dataset(
|
||||
context: &RequestContext,
|
||||
workspace_id: &str,
|
||||
) -> Result<Value, WebError> {
|
||||
fetch_query_data_via_convex(
|
||||
fetch_query_data_via_legacy_cloud(
|
||||
config,
|
||||
context,
|
||||
Some(workspace_id),
|
||||
|
||||
Reference in New Issue
Block a user