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>,
|
||||
dateModified: DateTime<FixedOffset>,
|
||||
deleteId: Option<serde_json::Value>,
|
||||
hash: String,
|
||||
// hash: String, // removed in 0.46
|
||||
isContentAvailable: bool,
|
||||
isDeleted: bool,
|
||||
isErased: i64,
|
||||
// isErased: i64, // removed in 0.46
|
||||
isProtected: bool,
|
||||
mime: String,
|
||||
noteId: String,
|
||||
title: String,
|
||||
r#type: String,
|
||||
utcDateCreated: DateTime<Utc>,
|
||||
// utcDateCreated: DateTime<Utc>, // removed in 0.46
|
||||
utcDateModified: DateTime<Utc>,
|
||||
}
|
||||
|
||||
@ -397,11 +397,11 @@ struct Attribute {
|
||||
name: String,
|
||||
value: serde_json::Value,
|
||||
position: usize,
|
||||
utcDateCreated: DateTime<Utc>,
|
||||
// utcDateCreated: DateTime<Utc>, // removed in 0.46
|
||||
utcDateModified: DateTime<Utc>,
|
||||
isDeleted: bool,
|
||||
deleteId: Option<serde_json::Value>,
|
||||
hash: String,
|
||||
// hash: String, // removed in 0.46
|
||||
isInheritable: bool,
|
||||
//isOwned: bool, // removed in 0.42.2
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user