| 12345678910111213141516171819202122232425262728293031323334353637 |
- package models
- type SearchResult struct {
- Dashboards []*DashboardSearchHit `json:"dashboards"`
- Tags []*DashboardTagCloudItem `json:"tags"`
- TagsOnly bool `json:"tagsOnly"`
- }
- type DashboardSearchHit struct {
- Id int64 `json:"id"`
- Title string `json:"title"`
- Slug string `json:"slug"`
- Tags []string `json:"tags"`
- Url string `json:"url"`
- IsStarred bool `json:"isStarred"`
- }
- type DashboardTagCloudItem struct {
- Term string `json:"term"`
- Count int `json:"count"`
- }
- type SearchDashboardsQuery struct {
- Title string
- Tag string
- AccountId int64
- UserId int64
- Limit int
- IsStarred bool
- Result []*DashboardSearchHit
- }
- type GetDashboardTagsQuery struct {
- AccountId int64
- Result []*DashboardTagCloudItem
- }
|