feat: expanded ChildDatabase

This commit is contained in:
Bram Dingelstad 2023-11-06 22:32:49 +01:00
parent 42b4098e72
commit 290f43a68d

View file

@ -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)]