From 7c03b63bb6e6ae8143b954b9984c8084a2e93877 Mon Sep 17 00:00:00 2001 From: Jake Coffman Date: Mon, 22 Apr 2024 07:46:20 -0500 Subject: [PATCH] add new IgnoreCondition fields (#307) --- internal/model/job.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 {