Chore: Fix times in schemas (#64906)

* Fix times in schemas

* Fix frontend lints
This commit is contained in:
Selene
2023-03-21 10:42:19 +01:00
committed by GitHub
parent 9ca01cc070
commit 1328a32a31
16 changed files with 57 additions and 36 deletions

View File

@@ -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")