From e492e8ad6ae74f920b6b40d5f43ef72083c574f8 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 19 Jul 2023 19:53:15 +0100 Subject: [PATCH] Add VersionSelector type --- pkg/database/version.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/database/version.go b/pkg/database/version.go index 51c0cbf..b0b9b1b 100644 --- a/pkg/database/version.go +++ b/pkg/database/version.go @@ -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"` +}