2022-02-16 07:15:44 -06:00
|
|
|
package dashboards
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"github.com/grafana/grafana/pkg/models"
|
2022-08-10 04:56:48 -05:00
|
|
|
"github.com/grafana/grafana/pkg/services/user"
|
2022-02-16 07:15:44 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
type SaveDashboardDTO struct {
|
|
|
|
OrgId int64
|
|
|
|
UpdatedAt time.Time
|
2022-08-10 04:56:48 -05:00
|
|
|
User *user.SignedInUser
|
2022-02-16 07:15:44 -06:00
|
|
|
Message string
|
|
|
|
Overwrite bool
|
|
|
|
Dashboard *models.Dashboard
|
|
|
|
}
|
2022-05-17 17:11:55 -05:00
|
|
|
|
2022-05-23 10:14:27 -05:00
|
|
|
type DashboardSearchProjection struct {
|
|
|
|
ID int64 `xorm:"id"`
|
|
|
|
UID string `xorm:"uid"`
|
|
|
|
Title string
|
|
|
|
Slug string
|
|
|
|
Term string
|
|
|
|
IsFolder bool
|
|
|
|
FolderID int64 `xorm:"folder_id"`
|
|
|
|
FolderUID string `xorm:"folder_uid"`
|
|
|
|
FolderSlug string
|
|
|
|
FolderTitle string
|
|
|
|
SortMeta int64
|
|
|
|
}
|