Kindsys: Replace "Declaration" with "Definition" (#62515)
* s/Declaration/Definition/g * s/DeclForGen/DefForGen/g * Rename some local vars
This commit is contained in:
@@ -36,13 +36,13 @@ type ParsedPlugin struct {
|
||||
// ComposableKinds represents all the possible composable kinds that may be
|
||||
// defined in a Grafana plugin.
|
||||
//
|
||||
// The value of each field, if non-nil, is a standard [kindsys.Decl]
|
||||
// The value of each field, if non-nil, is a standard [kindsys.Def]
|
||||
// representing a CUE definition of a composable kind that implements the
|
||||
// schema interface corresponding to the field's name. (This invariant is
|
||||
// only enforced in [ComposableKinds] returned from [ParsePluginFS].)
|
||||
//
|
||||
// type ComposableKinds struct {
|
||||
// PanelCfg kindsys.Decl[kindsys.ComposableProperties]
|
||||
// Queries kindsys.Decl[kindsys.ComposableProperties]
|
||||
// DSCfg kindsys.Decl[kindsys.ComposableProperties]
|
||||
// PanelCfg kindsys.Def[kindsys.ComposableProperties]
|
||||
// Queries kindsys.Def[kindsys.ComposableProperties]
|
||||
// DSCfg kindsys.Def[kindsys.ComposableProperties]
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user