mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Kindsys: Remove Raw kind category (#60992)
* Remove Raw references * Remove more raws * Re-generate files * Remove raw folder from veneer * Fix import * Fix lint * Bring back raw folder in grafana-schema * Another lint * Remove use of "Structured" word in kinds * Delete unused function and remove some structured words * Bunch more removals of structured name Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
34
kinds/team/team_kind.cue
Normal file
34
kinds/team/team_kind.cue
Normal file
@@ -0,0 +1,34 @@
|
||||
package kind
|
||||
|
||||
name: "Team"
|
||||
maturity: "merged"
|
||||
|
||||
lineage: seqs: [
|
||||
{
|
||||
schemas: [
|
||||
// v0.0
|
||||
{
|
||||
// OrgId is the ID of an organisation the team belongs to.
|
||||
orgId: int64 @grafanamaturity(ToMetadata="sys")
|
||||
// Name of the team.
|
||||
name: string
|
||||
// Email of the team.
|
||||
email?: string
|
||||
// AvatarUrl is the team's avatar URL.
|
||||
avatarUrl?: string @grafanamaturity(MaybeRemove)
|
||||
// MemberCount is the number of the team members.
|
||||
memberCount: int64 @grafanamaturity(ToMetadata="kind")
|
||||
// TODO - it seems it's a team_member.permission, unlikely it should belong to the team kind
|
||||
permission: #Permission @grafanamaturity(ToMetadata="kind", MaybeRemove)
|
||||
// AccessControl metadata associated with a given resource.
|
||||
accessControl?: [string]: bool @grafanamaturity(ToMetadata="sys")
|
||||
// Created indicates when the team was created.
|
||||
created: int64 @grafanamaturity(ToMetadata="sys")
|
||||
// Updated indicates when the team was updated.
|
||||
updated: int64 @grafanamaturity(ToMetadata="sys")
|
||||
|
||||
#Permission: 0 | 1 | 2 | 4 @cuetsy(kind="enum",memberNames="Member|Viewer|Editor|Admin")
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user