Add VersionSelector type

This commit is contained in:
Fred Boniface 2023-07-19 19:53:15 +01:00
parent ef710419e9
commit e492e8ad6a
1 changed files with 5 additions and 0 deletions

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"`
}