1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-15 00:05:04 +02:00

Add name field to DB (page) props

This commit is contained in:
David Stotijn
2021-12-17 18:03:53 +01:00
parent 9fc88f927b
commit 52e133b4e8
3 changed files with 34 additions and 0 deletions

View File

@ -85,6 +85,7 @@ type File struct {
type DatabaseProperty struct {
ID string `json:"id,omitempty"`
Type DatabasePropertyType `json:"type"`
Name string `json:"name,omitempty"`
Title *EmptyMetadata `json:"title,omitempty"`
RichText *EmptyMetadata `json:"rich_text,omitempty"`