主编辑区改造准备
This commit is contained in:
@@ -39,7 +39,9 @@ pub struct DocumentSaveRequest {
|
||||
pub workspace_id: Option<String>,
|
||||
pub revision: Option<u64>,
|
||||
pub conflict_detection_key: Option<String>,
|
||||
pub editor_document: Option<Value>,
|
||||
pub content: Value,
|
||||
pub tiptap_document: Option<Value>,
|
||||
pub snapshot_captured_at: Option<String>,
|
||||
pub block_count: Option<u64>,
|
||||
}
|
||||
@@ -346,7 +348,9 @@ async fn proxy_next_documents_save(
|
||||
"workspaceId": effective_workspace_id,
|
||||
"revision": body.revision,
|
||||
"conflictDetectionKey": body.conflict_detection_key,
|
||||
"editorDocument": body.editor_document,
|
||||
"content": body.content,
|
||||
"tiptapDocument": body.tiptap_document,
|
||||
"snapshotCapturedAt": body.snapshot_captured_at,
|
||||
"blockCount": body.block_count,
|
||||
})),
|
||||
@@ -472,7 +476,9 @@ pub async fn save(
|
||||
"workspaceId": effective_workspace_id,
|
||||
"revision": body.revision,
|
||||
"conflictDetectionKey": body.conflict_detection_key,
|
||||
"editorDocument": body.editor_document,
|
||||
"content": body.content,
|
||||
"tiptapDocument": body.tiptap_document,
|
||||
"snapshotCapturedAt": body.snapshot_captured_at,
|
||||
"blockCount": body.block_count,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user