diff options
author | 2023-02-26 03:08:54 +1100 | |
---|---|---|
committer | 2023-02-25 08:08:54 -0800 | |
commit | 1ba9846bad1d5c927e0d7658a59097992ef56b60 (patch) | |
tree | c1466c8e6ffc7162c864ff2a6e7c34c512e3c8f4 /src/models/properties | |
parent | 97764fb864ae1ab6046749fe5cabe00f508b0c61 (diff) | |
download | notion-1ba9846bad1d5c927e0d7658a59097992ef56b60.tar.gz notion-1ba9846bad1d5c927e0d7658a59097992ef56b60.tar.zst notion-1ba9846bad1d5c927e0d7658a59097992ef56b60.zip |
Add new CreateBlock children to page creation (#49)
* extract block to mod
* add CreateBlock struct, implement Into<CreateBlock> for Block, and add children to PageCreateRequest
* move tests into block mod and fix up use
Diffstat (limited to 'src/models/properties')
-rw-r--r-- | src/models/properties/tests.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/models/properties/tests.rs b/src/models/properties/tests.rs index 86bead8..8073c94 100644 --- a/src/models/properties/tests.rs +++ b/src/models/properties/tests.rs @@ -1,4 +1,7 @@ -use super::{DateOrDateTime, PropertyValue, RollupPropertyValue, RollupValue}; +use crate::models::{ + properties::{DateOrDateTime, RollupPropertyValue, RollupValue}, + PropertyValue, +}; use chrono::NaiveDate; #[test] |