summary refs log tree commit diff
path: root/lib/interfaces.ts
blob: 931f71263af5e8fd61feb69420f003fc7630ecc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
export interface Date {
  year: string;
  month: string;
  day: string;
}

export interface Object {
  [key: string]: any;
}

export interface Meta {
  title: string;
  author: string;
  additionalMeta: Object;
}

export interface FrontMatterObject {
  body: string;
  attributes: Object;
}

export interface PostApiListEntry {
  date: string;
  author: string;
  title: string;
  path: string;
  description: string;
  meta: Object;
}

export interface PostApiEntry extends PostApiListEntry {
  content: string;
}

export interface FeedOptions {
  title: string;
  feed_url: string;
  site_url: string;
}