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: "Team"
maturity: "merged"
description: "A team is a named grouping of Grafana users to which access control rules may be assigned."
@ -26,9 +28,9 @@ lineage: seqs: [
[string]: bool @grafanamaturity(ToMetadata="sys")
}
// Created indicates when the team was created.
created: int64 @grafanamaturity(ToMetadata="sys")
created: string & time.Time
// Updated indicates when the team was updated.
updated: int64 @grafanamaturity(ToMetadata="sys")
updated: string & time.Time
#Permission: 0 | 1 | 2 | 4 @cuetsy(kind="enum",memberNames="Member|Viewer|Editor|Admin")
},