diff --git a/property_config.go b/property_config.go index 3f061e9..e39ef18 100644 --- a/property_config.go +++ b/property_config.go @@ -232,11 +232,16 @@ func (p LastEditedByPropertyConfig) GetType() PropertyConfigType { return p.Type } -//TODO: Status database properties cannot currently be configured via the API and so have no additional configuration within the status property. -type StatusPropertyConfig struct{} +// StatusPropertyConfig can only be used to GET property configs from Notion databases. +// The api currently does not support creating or updating status properties. +type StatusPropertyConfig struct{ + ID ObjectID `json:"id"` + Type PropertyConfigType `json:"type"` + Status Select `json:"status"` +} func (p StatusPropertyConfig) GetType() PropertyConfigType { - return "" + return p.Type } type PropertyConfigs map[string]PropertyConfig