init
This commit is contained in:
16
types/blog.ts
Normal file
16
types/blog.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
export type BlogPost = {
|
||||
locale?: string
|
||||
title: string
|
||||
description?: string
|
||||
image?: string
|
||||
slug: string
|
||||
tags?: string
|
||||
date: Date
|
||||
visible?: 'draft' | 'invisible' | 'published'
|
||||
pin?: boolean
|
||||
content: string
|
||||
metadata: {
|
||||
[key: string]: any
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user