feat: latest provider for ipc provider

This commit is contained in:
linonetwo
2023-01-09 12:04:07 +08:00
parent 28a50aed6b
commit 6544d41188
8 changed files with 99 additions and 53 deletions

View File

@@ -3,13 +3,13 @@ use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema)]
pub struct PutBlob {
pub workspace_id: String,
pub workspace_id: Option<String>,
pub blob: Vec<u8>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema)]
pub struct GetBlob {
pub workspace_id: String,
pub workspace_id: Option<String>,
pub id: String,
}