feat: adj links kategory

This commit is contained in:
fredy.siswanto
2025-02-20 23:22:04 +07:00
parent 2e09e8a962
commit eafe70a021
4 changed files with 13 additions and 8 deletions
+5 -1
View File
@@ -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>
}