mirror of
https://github.com/FliegendeWurst/telegram_notes_bot.git
synced 2024-11-22 10:54:57 +00:00
Trilium 0.46 compat
This commit is contained in:
parent
3f3382d45e
commit
bf1e0ac23e
10
src/main.rs
10
src/main.rs
@ -375,16 +375,16 @@ struct Task {
|
|||||||
dateCreated: DateTime<FixedOffset>,
|
dateCreated: DateTime<FixedOffset>,
|
||||||
dateModified: DateTime<FixedOffset>,
|
dateModified: DateTime<FixedOffset>,
|
||||||
deleteId: Option<serde_json::Value>,
|
deleteId: Option<serde_json::Value>,
|
||||||
hash: String,
|
// hash: String, // removed in 0.46
|
||||||
isContentAvailable: bool,
|
isContentAvailable: bool,
|
||||||
isDeleted: bool,
|
isDeleted: bool,
|
||||||
isErased: i64,
|
// isErased: i64, // removed in 0.46
|
||||||
isProtected: bool,
|
isProtected: bool,
|
||||||
mime: String,
|
mime: String,
|
||||||
noteId: String,
|
noteId: String,
|
||||||
title: String,
|
title: String,
|
||||||
r#type: String,
|
r#type: String,
|
||||||
utcDateCreated: DateTime<Utc>,
|
// utcDateCreated: DateTime<Utc>, // removed in 0.46
|
||||||
utcDateModified: DateTime<Utc>,
|
utcDateModified: DateTime<Utc>,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -397,11 +397,11 @@ struct Attribute {
|
|||||||
name: String,
|
name: String,
|
||||||
value: serde_json::Value,
|
value: serde_json::Value,
|
||||||
position: usize,
|
position: usize,
|
||||||
utcDateCreated: DateTime<Utc>,
|
// utcDateCreated: DateTime<Utc>, // removed in 0.46
|
||||||
utcDateModified: DateTime<Utc>,
|
utcDateModified: DateTime<Utc>,
|
||||||
isDeleted: bool,
|
isDeleted: bool,
|
||||||
deleteId: Option<serde_json::Value>,
|
deleteId: Option<serde_json::Value>,
|
||||||
hash: String,
|
// hash: String, // removed in 0.46
|
||||||
isInheritable: bool,
|
isInheritable: bool,
|
||||||
//isOwned: bool, // removed in 0.42.2
|
//isOwned: bool, // removed in 0.42.2
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user