Compare commits
2 commits
feat-impro
...
main
Author | SHA1 | Date | |
---|---|---|---|
Bram Dingelstad | 2760c7c24f | ||
Bram Dingelstad | 09d80b6afa |
|
@ -17,8 +17,8 @@ lazy_static = "1.4.0"
|
||||||
log = "0.4.20"
|
log = "0.4.20"
|
||||||
regex = "1.7.1"
|
regex = "1.7.1"
|
||||||
reqwest = { version = "0.11.14", features = ["json"] }
|
reqwest = { version = "0.11.14", features = ["json"] }
|
||||||
serde = { version = "1.0.152", features = ["derive"] }
|
serde = { version = "^1.0", features = ["derive"], default-features = false }
|
||||||
serde_json = "1.0.91"
|
serde_json = { version = "^1.0", features = ["raw_value"], default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.28.1", features = ["macros"] }
|
tokio = { version = "1.28.1", features = ["macros"] }
|
||||||
|
|
10
src/lib.rs
10
src/lib.rs
|
@ -871,6 +871,10 @@ pub enum DatabaseProperty {
|
||||||
id: String,
|
id: String,
|
||||||
name: String,
|
name: String,
|
||||||
},
|
},
|
||||||
|
Button {
|
||||||
|
id: String,
|
||||||
|
name: String,
|
||||||
|
},
|
||||||
|
|
||||||
Unsupported(Value),
|
Unsupported(Value),
|
||||||
}
|
}
|
||||||
|
@ -898,6 +902,7 @@ impl DatabaseProperty {
|
||||||
| Select { id, .. }
|
| Select { id, .. }
|
||||||
| Status { id, .. }
|
| Status { id, .. }
|
||||||
| Title { id, .. }
|
| Title { id, .. }
|
||||||
|
| Button { id, .. }
|
||||||
| Url { id, .. } => Some(id.to_owned()),
|
| Url { id, .. } => Some(id.to_owned()),
|
||||||
|
|
||||||
Unsupported(..) => None,
|
Unsupported(..) => None,
|
||||||
|
@ -925,6 +930,7 @@ impl DatabaseProperty {
|
||||||
| Rollup { name, .. }
|
| Rollup { name, .. }
|
||||||
| Select { name, .. }
|
| Select { name, .. }
|
||||||
| Status { name, .. }
|
| Status { name, .. }
|
||||||
|
| Button { name, .. }
|
||||||
| Title { name, .. }
|
| Title { name, .. }
|
||||||
| Url { name, .. } => Some(name.to_owned()),
|
| Url { name, .. } => Some(name.to_owned()),
|
||||||
|
|
||||||
|
@ -1107,6 +1113,9 @@ pub enum Property {
|
||||||
UniqueId {
|
UniqueId {
|
||||||
id: String,
|
id: String,
|
||||||
},
|
},
|
||||||
|
Button {
|
||||||
|
id: String,
|
||||||
|
},
|
||||||
|
|
||||||
Unsupported(Value),
|
Unsupported(Value),
|
||||||
}
|
}
|
||||||
|
@ -1137,6 +1146,7 @@ impl Property {
|
||||||
| Url { id, .. }
|
| Url { id, .. }
|
||||||
| Formula { id, .. }
|
| Formula { id, .. }
|
||||||
| Verification { id, .. }
|
| Verification { id, .. }
|
||||||
|
| Button { id, .. }
|
||||||
| UniqueId { id, .. } => Some(id.to_owned()),
|
| UniqueId { id, .. } => Some(id.to_owned()),
|
||||||
|
|
||||||
Unsupported(_) => None,
|
Unsupported(_) => None,
|
||||||
|
|
Loading…
Reference in a new issue