feat: update news
This commit is contained in:
@@ -38,3 +38,14 @@ type News struct {
|
||||
|
||||
Author Staff `json:"author"`
|
||||
}
|
||||
|
||||
type NewsUpdate struct {
|
||||
ID string `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
FeaturedImage string `json:"featured_image"`
|
||||
Tags []string `json:"tags"`
|
||||
Categories []string `json:"categories"`
|
||||
IsPremium bool `json:"is_premium"`
|
||||
LiveAt time.Time `json:"live_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user