mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@@ -8,6 +8,15 @@ import (
|
||||
|
||||
type Repository interface {
|
||||
Save(item *Item) error
|
||||
Find(query *ItemQuery) ([]*Item, error)
|
||||
}
|
||||
|
||||
type ItemQuery struct {
|
||||
OrgId int64 `json:"orgId"`
|
||||
Type ItemType `json:"type"`
|
||||
AlertId int64 `json:"alertId"`
|
||||
|
||||
Limit int64 `json:"alertId"`
|
||||
}
|
||||
|
||||
var repositoryInstance Repository
|
||||
|
||||
Reference in New Issue
Block a user