Add VersionSelector type

This commit is contained in:
Fred Boniface committed 2023-07-19 19:53:15 +01:00
1 parent ef710419e9
commit e492e8ad6a
1 file changed
+5
+5
View File
@@ -5,3 +5,8 @@ type Version struct {
Target string `json:"component"`
Version string `json:"version"`
}
type VersionSelector struct {
Component string `json:"target"`
Target string `json:"component"`
}