feat: made sure that notion user id is Uuid
fix: made sure that Rollup -> Select has Option since it can be null
This commit is contained in:
parent
509b3ccd90
commit
b664f777d3
2 changed files with 3 additions and 2 deletions
|
@ -20,3 +20,4 @@ regex = "1.7.1"
|
|||
serde = { version = "^1.0", features = ["derive"], default-features = false }
|
||||
serde_json = { version = "^1.0", features = ["raw_value"], default-features = false }
|
||||
surf = { version = "2.3.2", default-features = false }
|
||||
uuid = "1.16.0"
|
||||
|
|
|
@ -701,7 +701,7 @@ pub struct ChildDatabase {
|
|||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
||||
pub struct User {
|
||||
pub id: String,
|
||||
pub id: uuid::Uuid,
|
||||
pub name: Option<String>,
|
||||
pub person: Option<Person>,
|
||||
pub avatar_url: Option<String>,
|
||||
|
@ -1069,7 +1069,7 @@ pub enum RollupProperty {
|
|||
last_edited_time: DateValue,
|
||||
},
|
||||
Select {
|
||||
select: SelectOption,
|
||||
select: Option<SelectOption>,
|
||||
},
|
||||
MultiSelect {
|
||||
multi_select: Vec<SelectOption>,
|
||||
|
|
Loading…
Reference in a new issue