mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-15 00:05:04 +02:00
36
database.go
36
database.go
@ -73,46 +73,10 @@ type People struct {
|
||||
People []User `json:"people"`
|
||||
}
|
||||
|
||||
type Files struct {
|
||||
Files []File `json:"people"`
|
||||
}
|
||||
|
||||
type File struct {
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type Checkbox struct {
|
||||
Checkbox bool `json:"checked"`
|
||||
}
|
||||
|
||||
type URL struct {
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
type Email struct {
|
||||
Email string `json:"email"`
|
||||
}
|
||||
|
||||
type PhoneNumber struct {
|
||||
PhoneNumber string `json:"phone_number"`
|
||||
}
|
||||
|
||||
type CreatedTime struct {
|
||||
CreatedTime time.Time `json:"created_time"`
|
||||
}
|
||||
|
||||
type CreatedBy struct {
|
||||
CreatedBy User `json:"created_by"`
|
||||
}
|
||||
|
||||
type LastEditedTime struct {
|
||||
LastEditedTime time.Time `json:"last_edited_time"`
|
||||
}
|
||||
|
||||
type LastEditedBy struct {
|
||||
LastEditedBy User `json:"last_edited_by"`
|
||||
}
|
||||
|
||||
type DatabaseProperty struct {
|
||||
ID string `json:"id"`
|
||||
Type DatabasePropertyType `json:"type"`
|
||||
|
Reference in New Issue
Block a user