Skip to content

Commit

Permalink
add new IgnoreCondition fields (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman committed Apr 22, 2024
1 parent 818bc30 commit 7c03b63
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions internal/model/job.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package model

import "time"

/*
Updating Models
Expand Down Expand Up @@ -87,10 +89,11 @@ type Group struct {
}

type Condition struct {
DependencyName string `json:"dependency-name" yaml:"dependency-name"`
Source string `json:"source,omitempty" yaml:"source,omitempty"`
UpdateTypes []string `json:"update-types,omitempty" yaml:"update-types,omitempty"`
VersionRequirement string `json:"version-requirement,omitempty" yaml:"version-requirement,omitempty"`
DependencyName string `json:"dependency-name" yaml:"dependency-name"`
Source string `json:"source,omitempty" yaml:"source,omitempty"`
UpdateTypes []string `json:"update-types,omitempty" yaml:"update-types,omitempty"`
UpdatedAt *time.Time `json:"updated-at,omitempty" yaml:"updated-at,omitempty"`
VersionRequirement string `json:"version-requirement,omitempty" yaml:"version-requirement,omitempty"`
}

type Advisory struct {
Expand Down

0 comments on commit 7c03b63

Please sign in to comment.