mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Fix times in schemas (#64906)
* Fix times in schemas * Fix frontend lints
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package kind
|
||||
|
||||
import "time"
|
||||
|
||||
name: "ServiceAccount"
|
||||
maturity: "merged"
|
||||
description: "system account"
|
||||
@@ -35,9 +37,9 @@ lineage: seqs: [
|
||||
// Teams is a list of teams the service account belongs to.
|
||||
teams?: [...string] @grafanamaturity(ToMetadata="sys")
|
||||
// Created indicates when the service account was created.
|
||||
created?: int64 @grafanamaturity(ToMetadata="sys")
|
||||
created?: string & time.Time
|
||||
// Updated indicates when the service account was updated.
|
||||
updated?: int64 @grafanamaturity(ToMetadata="sys")
|
||||
updated?: string & time.Time
|
||||
|
||||
// OrgRole is a Grafana Organization Role which can be 'Viewer', 'Editor', 'Admin'.
|
||||
#OrgRole: "Admin" | "Editor" | "Viewer" @cuetsy(kind="type")
|
||||
|
||||
Reference in New Issue
Block a user