diff --git a/internal/model/job.go b/internal/model/job.go index 9b7584c..bf22b5f 100644 --- a/internal/model/job.go +++ b/internal/model/job.go @@ -1,5 +1,7 @@ package model +import "time" + /* Updating Models @@ -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 {