From 290f43a68d54f322dd9073ef62b1ebacd242740c Mon Sep 17 00:00:00 2001 From: Bram Dingelstad Date: Mon, 6 Nov 2023 22:32:49 +0100 Subject: [PATCH] feat: expanded ChildDatabase --- src/lib.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d4a401e..2c11fda 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -476,7 +476,9 @@ pub enum BlockType { Callout { callout: Callout, }, - ChildDatabase, + ChildDatabase { + child_database: ChildDatabase + }, ChildPage, Code { code: Code, @@ -538,13 +540,13 @@ pub enum BlockType { #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] pub struct Embed { - url: String, + pub url: String, } #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] pub struct Bookmark { - caption: Vec, - url: String, + pub caption: Vec, + pub url: String, } #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]