Skip to content

Commit

Permalink
updating models due to recent multi-dir changes in Core (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman authored Jul 11, 2024
1 parent d8293a2 commit 8793545
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/model/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 8793545

Please sign in to comment.