mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-12-21 23:47:37 +02:00
Add Parent field to Database type
Ref: https://developers.notion.com/changelog/database-objects-now-return-parent
This commit is contained in:
@@ -12,6 +12,7 @@ type Database struct {
|
||||
LastEditedTime time.Time `json:"last_edited_time"`
|
||||
Title []RichText `json:"title"`
|
||||
Properties DatabaseProperties `json:"properties"`
|
||||
Parent Parent `json:"parent"`
|
||||
}
|
||||
|
||||
// DatabaseProperties is a mapping of properties defined on a database.
|
||||
|
||||
Reference in New Issue
Block a user