feat: adj links kategory
This commit is contained in:
+5
-1
@@ -2,7 +2,10 @@ export type TNews = {
|
||||
title: string
|
||||
description: string
|
||||
type: 'hero' | 'grid'
|
||||
items: Pick<TNewsDetail, 'title' | 'content' | 'featured' | 'slug' | 'tags'>[]
|
||||
items: Pick<
|
||||
TNewsDetail,
|
||||
'title' | 'content' | 'featured' | 'slug' | 'tags' | 'isPremium'
|
||||
>[]
|
||||
}
|
||||
|
||||
export type TNewsDetail = {
|
||||
@@ -13,5 +16,6 @@ export type TNewsDetail = {
|
||||
date: Date
|
||||
slug: string
|
||||
tags?: Array<string>
|
||||
isPremium?: boolean
|
||||
categories?: Array<string>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user