Skip to content

Commit 5f3b402

Browse files
committed
Remove deprecated NumberPropertyConfig.Format field
1 parent 60fadc2 commit 5f3b402

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

property_config.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ func (p RichTextPropertyConfig) GetType() PropertyConfigType {
3232
}
3333

3434
type NumberPropertyConfig struct {
35-
ID ObjectID `json:"id,omitempty"`
36-
Type PropertyConfigType `json:"type"`
37-
// Deprecated: use Number instead.
38-
Format FormatType `json:"format,omitempty"`
39-
Number NumberFormat `json:"number"`
35+
ID ObjectID `json:"id,omitempty"`
36+
Type PropertyConfigType `json:"type"`
37+
Number NumberFormat `json:"number"`
4038
}
4139

4240
type FormatType string

0 commit comments

Comments
 (0)