20 lines
316 B
TypeScript
20 lines
316 B
TypeScript
export interface MarkdownData {
|
|
attributes: Record<string, unknown>
|
|
html: string
|
|
}
|
|
|
|
export interface ArticleMetadata {
|
|
path: string
|
|
title: string
|
|
date: Date
|
|
updated?: Date
|
|
author?: string
|
|
thumbnail?: string
|
|
draft?: boolean
|
|
}
|
|
|
|
export interface Article {
|
|
metadata: ArticleMetadata
|
|
html: string
|
|
}
|