feat: expanded ChildDatabase
This commit is contained in:
parent
42b4098e72
commit
290f43a68d
10
src/lib.rs
10
src/lib.rs
|
@ -476,7 +476,9 @@ pub enum BlockType {
|
||||||
Callout {
|
Callout {
|
||||||
callout: Callout,
|
callout: Callout,
|
||||||
},
|
},
|
||||||
ChildDatabase,
|
ChildDatabase {
|
||||||
|
child_database: ChildDatabase
|
||||||
|
},
|
||||||
ChildPage,
|
ChildPage,
|
||||||
Code {
|
Code {
|
||||||
code: Code,
|
code: Code,
|
||||||
|
@ -538,13 +540,13 @@ pub enum BlockType {
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
||||||
pub struct Embed {
|
pub struct Embed {
|
||||||
url: String,
|
pub url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
||||||
pub struct Bookmark {
|
pub struct Bookmark {
|
||||||
caption: Vec<RichText>,
|
pub caption: Vec<RichText>,
|
||||||
url: String,
|
pub url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
||||||
|
|
Loading…
Reference in a new issue