2023-12-31 05:53:46 +01:00
|
|
|
package types
|
|
|
|
|
|
|
|
type View struct {
|
2024-01-04 02:43:51 +01:00
|
|
|
ID int `json:"id"`
|
|
|
|
ProjectID int `json:"project_id"`
|
|
|
|
Title string `json:"title"`
|
|
|
|
PrimaryTagID *int `json:"primary_tag_id"`
|
|
|
|
SecondaryTagID *int `json:"secondary_tag_id"`
|
|
|
|
SortTagID *int `json:"sort_tag_id"`
|
|
|
|
SortDirection *int `json:"sort_direction"`
|
2023-12-31 05:53:46 +01:00
|
|
|
}
|
2024-01-10 16:21:07 +01:00
|
|
|
|
|
|
|
type FullView struct {
|
|
|
|
ID int `json:"id"`
|
|
|
|
ProjectID int `json:"project_id"`
|
|
|
|
Title string `json:"title"`
|
|
|
|
PrimaryTagID *int `json:"primary_tag_id"`
|
|
|
|
SecondaryTagID *int `json:"secondary_tag_id"`
|
|
|
|
SortTagID *int `json:"sort_tag_id"`
|
|
|
|
SortDirection *int `json:"sort_direction"`
|
|
|
|
Filters []Filter `json:"filters"`
|
|
|
|
}
|