about summary refs log tree commit diff
path: root/lib/interfaces.ts
blob: 8c3493dd0bc04ae6ba2c6ff7273817a29b5af577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
interface Date {
  year: string;
  month: string;
  day: string;
}

export interface PostContent {
  html: string;
  markdown: string;
  description: string;
  meta: Object;
}

export interface Post {
  date: Date;
  title: string;
  content: PostContent;
  filePath: string;
  route: string;
}