diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 09:47:28 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 09:47:51 +0200 |
commit | 49e82e812812ba75175d98173379d2e416e17b8f (patch) | |
tree | f67bdcffce9aca8a76b534124a0eabbe85658768 /lib/interfaces.ts | |
parent | 262ebdc07892f3c892d4831c276444df6f6e22f1 (diff) | |
download | kronikarz-49e82e812812ba75175d98173379d2e416e17b8f.tar.gz kronikarz-49e82e812812ba75175d98173379d2e416e17b8f.zip |
Add getPost
Diffstat (limited to 'lib/interfaces.ts')
-rw-r--r-- | lib/interfaces.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/interfaces.ts b/lib/interfaces.ts index 8c3493d..1d598c6 100644 --- a/lib/interfaces.ts +++ b/lib/interfaces.ts @@ -4,11 +4,15 @@ interface Date { day: string; } +interface Meta { + [key: string]: string; +} + export interface PostContent { html: string; markdown: string; description: string; - meta: Object; + meta: Meta; } export interface Post { |