update sdk

This commit is contained in:
Matt Hill
2024-03-18 12:37:50 -06:00
parent a4cb2708cc
commit a02b531e47
12 changed files with 113 additions and 71 deletions

View File

@@ -691,9 +691,19 @@ async fn expose_for_dependents(
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, TS)]
#[serde(rename_all = "camelCase")]
#[serde(tag = "type")]
#[ts(export)]
struct ExposeUiParams {
paths: Vec<ExposedUI>,
enum ExposeUiParams {
Object {
value: Record<String, ExposeUiParams>,
},
r#String {
path: String,
description: Option<String>,
masked: bool,
copyable: Option<bool>,
qr: Option<bool>,
},
}
async fn expose_ui(