Compare commits

...

3 Commits

Author SHA1 Message Date
Will Browne
c86b05ec10 make update-workspace 2026-01-12 16:46:54 +00:00
Will Browne
0102c0447b set in spec 2026-01-12 16:45:24 +00:00
Will Browne
c065ba3a6f add alias ids to meta API 2026-01-12 16:36:01 +00:00
4 changed files with 7 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ metaV0Alpha1: {
translations?: [string]: string translations?: [string]: string
// +listType=atomic // +listType=atomic
children?: [...string] children?: [...string]
aliasIds?: [...string]
} }
} }
} }

View File

@@ -219,6 +219,7 @@ type MetaSpec struct {
Translations map[string]string `json:"translations,omitempty"` Translations map[string]string `json:"translations,omitempty"`
// +listType=atomic // +listType=atomic
Children []string `json:"children,omitempty"` Children []string `json:"children,omitempty"`
AliasIds []string `json:"aliasIds,omitempty"`
} }
// NewMetaSpec creates a new MetaSpec object. // NewMetaSpec creates a new MetaSpec object.

File diff suppressed because one or more lines are too long

View File

@@ -573,6 +573,8 @@ func pluginStorePluginToMeta(plugin pluginstore.Plugin, loadingStrategy plugins.
metaSpec.Translations = plugin.Translations metaSpec.Translations = plugin.Translations
} }
metaSpec.AliasIds = plugin.AliasIDs
return metaSpec return metaSpec
} }
@@ -676,6 +678,8 @@ func pluginToMetaSpec(plugin *plugins.Plugin) pluginsv0alpha1.MetaSpec {
metaSpec.Translations = plugin.Translations metaSpec.Translations = plugin.Translations
} }
metaSpec.AliasIds = plugin.AliasIDs
return metaSpec return metaSpec
} }