diff --git a/sdk/invoke/src/clients.rs b/sdk/invoke/src/clients.rs index ad788dc84..521fcdd64 100644 --- a/sdk/invoke/src/clients.rs +++ b/sdk/invoke/src/clients.rs @@ -10,7 +10,6 @@ use crate::invoke_constants::TARDIS_CONTEXT; #[cfg(feature = "spi_base")] mod base_spi_client; - #[cfg(feature = "spi_kv")] pub mod spi_kv_client; #[cfg(feature = "spi_log")] diff --git a/sdk/invoke/src/clients/spi_kv_client.rs b/sdk/invoke/src/clients/spi_kv_client.rs index 8fed1a6ba..e8964c809 100644 --- a/sdk/invoke/src/clients/spi_kv_client.rs +++ b/sdk/invoke/src/clients/spi_kv_client.rs @@ -69,4 +69,4 @@ impl SpiKvClient { let resp = funs.web_client().get::>>(&url, headers.clone()).await?; BaseSpiClient::package_resp(resp) } -} \ No newline at end of file +} diff --git a/sdk/invoke/src/invoke_enumeration.rs b/sdk/invoke/src/invoke_enumeration.rs index e7bddb9e4..832c5dc8f 100644 --- a/sdk/invoke/src/invoke_enumeration.rs +++ b/sdk/invoke/src/invoke_enumeration.rs @@ -42,3 +42,17 @@ pub enum InvokeModuleKind { Schedule, Iam } + +#[cfg(not(feature = "reldb-core"))] +#[derive(Display, Clone, Debug, PartialEq, Eq, Deserialize, Serialize, poem_openapi::Enum)] +pub enum InvokeModuleKind { + Search, + Plugin, + Kv, + Log, + Object, + Cache, + Graph, + Stats, + Schedule, +}