From 1a4e94e57e181379e2ed42d63a49fbc56ed1dba4 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 29 Jun 2026 18:09:25 +0300 Subject: refactor: route tui mutations through runtime authority --- src/api/schema/panes.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/api/schema/panes.rs') diff --git a/src/api/schema/panes.rs b/src/api/schema/panes.rs index 9bd8103d..55241131 100644 --- a/src/api/schema/panes.rs +++ b/src/api/schema/panes.rs @@ -126,6 +126,16 @@ pub struct LayoutApplyParams { pub root: LayoutNode, } +#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +pub struct LayoutSetSplitRatioParams { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tab_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub pane_id: Option, + pub path: Vec, + pub ratio: f32, +} + #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct LayoutDescription { pub workspace_id: String, -- cgit v1.2.3