summaryrefslogtreecommitdiffstats
path: root/zellij-utils/assets/prost/api.plugin_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zellij-utils/assets/prost/api.plugin_command.rs')
-rw-r--r--zellij-utils/assets/prost/api.plugin_command.rs13
1 files changed, 12 insertions, 1 deletions
diff --git a/zellij-utils/assets/prost/api.plugin_command.rs b/zellij-utils/assets/prost/api.plugin_command.rs
index 3bf49d36d..98883353b 100644
--- a/zellij-utils/assets/prost/api.plugin_command.rs
+++ b/zellij-utils/assets/prost/api.plugin_command.rs
@@ -5,7 +5,7 @@ pub struct PluginCommand {
pub name: i32,
#[prost(
oneof = "plugin_command::Payload",
- tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 60, 61"
+ tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 60, 61, 62"
)]
pub payload: ::core::option::Option<plugin_command::Payload>,
}
@@ -116,10 +116,18 @@ pub mod plugin_command {
KillSessionsPayload(super::KillSessionsPayload),
#[prost(string, tag = "61")]
ScanHostFolderPayload(::prost::alloc::string::String),
+ #[prost(message, tag = "62")]
+ NewTabsWithLayoutInfoPayload(super::NewTabsWithLayoutInfoPayload),
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
+pub struct NewTabsWithLayoutInfoPayload {
+ #[prost(message, optional, tag = "1")]
+ pub layout_info: ::core::option::Option<super::event::LayoutInfo>,
+}
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KillSessionsPayload {
#[prost(string, repeated, tag = "1")]
pub session_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
@@ -422,6 +430,7 @@ pub enum CommandName {
WatchFilesystem = 83,
DumpSessionLayout = 84,
CloseSelf = 85,
+ NewTabsWithLayoutInfo = 86,
}
impl CommandName {
/// String value of the enum field names used in the ProtoBuf definition.
@@ -516,6 +525,7 @@ impl CommandName {
CommandName::WatchFilesystem => "WatchFilesystem",
CommandName::DumpSessionLayout => "DumpSessionLayout",
CommandName::CloseSelf => "CloseSelf",
+ CommandName::NewTabsWithLayoutInfo => "NewTabsWithLayoutInfo",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -607,6 +617,7 @@ impl CommandName {
"WatchFilesystem" => Some(Self::WatchFilesystem),
"DumpSessionLayout" => Some(Self::DumpSessionLayout),
"CloseSelf" => Some(Self::CloseSelf),
+ "NewTabsWithLayoutInfo" => Some(Self::NewTabsWithLayoutInfo),
_ => None,
}
}