summary refs log tree commit diff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
index b6c8d73..8c3493d 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -4,13 +4,17 @@ interface Date {
   day: string;
 }
 
-interface Post {
+export interface PostContent {
+  html: string;
+  markdown: string;
+  description: string;
+  meta: Object;
+}
+
+export interface Post {
   date: Date;
   title: string;
-  data: Object;
-  file: string;
-  fsRoute: string;
+  content: PostContent;
+  filePath: string;
   route: string;
 }
-
-export { Post };