fix: seriailize update as list, not merge then on yrs side, which is broken

This commit is contained in:
linonetwo
2023-01-12 23:29:23 +08:00
parent 532d7c8a72
commit 3ab34de1e1
5 changed files with 76 additions and 21 deletions

View File

@@ -18,7 +18,7 @@ pub struct CreateDocumentParameter {
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema)]
pub struct GetDocumentResponse {
pub update: Vec<u8>,
pub updates: Vec<Vec<u8>>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema)]