mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
parent
01a5d5042d
commit
b3d0c39f08
@ -1,6 +1,9 @@
|
||||
package kind
|
||||
|
||||
import "strings"
|
||||
import (
|
||||
"strings"
|
||||
t "time"
|
||||
)
|
||||
|
||||
name: "Dashboard"
|
||||
maturity: "experimental"
|
||||
@ -322,7 +325,7 @@ lineage: seqs: [
|
||||
// TODO docs
|
||||
#Snapshot: {
|
||||
// TODO docs
|
||||
created: string @grafanamaturity(NeedsExpertReview)
|
||||
created: string & t.Time
|
||||
// TODO docs
|
||||
expires: string @grafanamaturity(NeedsExpertReview)
|
||||
// TODO docs
|
||||
@ -338,7 +341,7 @@ lineage: seqs: [
|
||||
// TODO docs
|
||||
orgId: uint32 @grafanamaturity(NeedsExpertReview)
|
||||
// TODO docs
|
||||
updated: string @grafanamaturity(NeedsExpertReview)
|
||||
updated: string & t.Time
|
||||
// TODO docs
|
||||
url?: string @grafanamaturity(NeedsExpertReview)
|
||||
// TODO docs
|
||||
|
@ -10,6 +10,10 @@
|
||||
|
||||
package dashboard
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Defines values for Style.
|
||||
const (
|
||||
StyleDark Style = "dark"
|
||||
@ -633,7 +637,7 @@ type RowPanelType string
|
||||
// TODO docs
|
||||
type Snapshot struct {
|
||||
// TODO docs
|
||||
Created string `json:"created"`
|
||||
Created time.Time `json:"created"`
|
||||
|
||||
// TODO docs
|
||||
Expires string `json:"expires"`
|
||||
@ -657,7 +661,7 @@ type Snapshot struct {
|
||||
OrgId int `json:"orgId"`
|
||||
|
||||
// TODO docs
|
||||
Updated string `json:"updated"`
|
||||
Updated time.Time `json:"updated"`
|
||||
|
||||
// TODO docs
|
||||
Url *string `json:"url,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user