From 073af8f7643989ed3cc5ed89211bb95a0941847e Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 11 Nov 2023 06:51:39 +0000 Subject: [PATCH] published flag --- types/changelogs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types/changelogs.go b/types/changelogs.go index a1b99c7a..adcb1b9e 100644 --- a/types/changelogs.go +++ b/types/changelogs.go @@ -13,6 +13,7 @@ type ChangelogEntry struct { Version string `db:"version" json:"version" validate:"required" description:"The version for the changelog entry. (4.3.0 etc.)"` ExtraDescription string `db:"extra_description" json:"extra_description" description:"The extra description for the version, if applicable"` GithubHTML pgtype.Text `db:"github_html" json:"github_html" description:"The Github-backed HTML for the changelog entry."` + Published bool `db:"published" json:"published" description:"Whether or not this is a published changelog"` Prerelease bool `db:"prerelease" json:"prerelease" description:"Whether or not this is a prerelease."` Added []string `db:"added" json:"added" validate:"required" description:"The added features for the version."` Updated []string `db:"updated" json:"updated" validate:"required" description:"The changed features for the version."`