From 8793545f7b5dbf946aaee9372ffc12318573da81 Mon Sep 17 00:00:00 2001 From: Jake Coffman Date: Thu, 11 Jul 2024 12:15:57 -0500 Subject: [PATCH] updating models due to recent multi-dir changes in Core (#340) --- internal/model/job.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/model/job.go b/internal/model/job.go index bf22b5f..00cfe61 100644 --- a/internal/model/job.go +++ b/internal/model/job.go @@ -67,8 +67,9 @@ type Source struct { } type ExistingPR struct { - DependencyName string `json:"dependency-name" yaml:"dependency-name"` - DependencyVersion string `json:"dependency-version" yaml:"dependency-version"` + DependencyName string `json:"dependency-name" yaml:"dependency-name"` + DependencyVersion string `json:"dependency-version" yaml:"dependency-version"` + Directory *string `json:"directory,omitempty" yaml:"directory,omitempty"` } type ExistingGroupPR struct { @@ -110,6 +111,7 @@ type Dependency struct { Requirements []Requirement `json:"requirements"` Version *string `json:"version" yaml:"version"` Removed bool `json:"removed,omitempty" yaml:"removed,omitempty"` + Directory *string `json:"directory,omitempty" yaml:"directory,omitempty"` } type Requirement struct {