Kindsys: Remove defs, Slot->SchemaInterface (#61069)
* kindsys: Remove defs, Slot->SchemaInterface * Remove excess file * Fix up tests * Regenerate kinds report * Final bits of cleanup * Stop complaining, linter * Update pkg/kindsys/kindcat_composable.cue Co-authored-by: Tania <yalyna.ts@gmail.com> Co-authored-by: Tania <yalyna.ts@gmail.com>
This commit is contained in:
@@ -8,11 +8,11 @@ import (
|
||||
)
|
||||
|
||||
type PluginDecl struct {
|
||||
Slot *kindsys.Slot
|
||||
Lineage thema.Lineage
|
||||
Imports []*ast.ImportSpec
|
||||
PluginPath string
|
||||
PluginMeta plugindef.PluginDef
|
||||
SchemaInterface *kindsys.SchemaInterface
|
||||
Lineage thema.Lineage
|
||||
Imports []*ast.ImportSpec
|
||||
PluginPath string
|
||||
PluginMeta plugindef.PluginDef
|
||||
}
|
||||
|
||||
func EmptyPluginDecl(path string, meta plugindef.PluginDef) *PluginDecl {
|
||||
@@ -24,5 +24,5 @@ func EmptyPluginDecl(path string, meta plugindef.PluginDef) *PluginDecl {
|
||||
}
|
||||
|
||||
func (decl *PluginDecl) HasSchema() bool {
|
||||
return decl.Lineage != nil && decl.Slot != nil
|
||||
return decl.Lineage != nil && decl.SchemaInterface != nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user