Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feat-reach
Browse files Browse the repository at this point in the history
  • Loading branch information
4t145 committed Aug 1, 2023
2 parents 9e5837b + 75fa325 commit 2de728a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 0 additions & 1 deletion sdk/invoke/src/clients.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion sdk/invoke/src/clients/spi_kv_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ impl SpiKvClient {
let resp = funs.web_client().get::<TardisResp<TardisPage<KvItemSummaryResp>>>(&url, headers.clone()).await?;
BaseSpiClient::package_resp(resp)
}
}
}
14 changes: 14 additions & 0 deletions sdk/invoke/src/invoke_enumeration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

0 comments on commit 2de728a

Please sign in to comment.