Update type
This commit is contained in:
parent
022c57e88a
commit
e81d521c9c
2 changed files with 4 additions and 3 deletions
|
|
@ -23,8 +23,9 @@ pub struct CursorPositionFromClient {
|
|||
|
||||
#[derive(TS, Serialize, Deserialize, Clone, Debug)]
|
||||
pub struct DocumentWithCursors {
|
||||
#[ts(as = "u32")]
|
||||
pub vault_update_id: VaultUpdateId,
|
||||
// It's None in case the document is dirty
|
||||
#[ts(as = "Option<u32>")]
|
||||
pub vault_update_id: Option<VaultUpdateId>,
|
||||
|
||||
pub document_id: DocumentId,
|
||||
pub relative_path: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue