Skip to content

Commit

Permalink
chore: add hidden property
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Feb 13, 2025
1 parent d71c674 commit cc5c991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions models/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ type Property struct {
Color string `json:"color,omitempty"`
Order int `json:"order,omitempty"`
Headline bool `json:"headline,omitempty"`
Hidden bool `json:"hidden,omitempty"`

// Either text or value is required, but not both.
Text string `json:"text,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions types/properties.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type Property struct {
Color string `json:"color,omitempty"`
Order int `json:"order,omitempty"`
Headline bool `json:"headline,omitempty"`
Hidden bool `json:"hidden,omitempty"`

// Either text or value is required, but not both.
Text string `json:"text,omitempty"`
Expand Down

0 comments on commit cc5c991

Please sign in to comment.