1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
interface Date { year: string; month: string; day: string; } interface Meta { [key: string]: string; } export interface PostContent { html: string; markdown: string; description: string; meta: Meta; } export interface Post { date: Date; title: string; content: PostContent; filePath: string; route: string; }