lunasqu.ee-nuxt/lib/types/post.ts

19 lines
311 B
TypeScript
Raw Normal View History

2022-10-16 11:04:03 +00:00
export interface BlogPost {
date: string;
title: string;
tags: string[];
file: string;
slug: string;
fullSlug: string;
markdown: string;
html: string;
2022-10-16 16:17:55 +00:00
next?: Partial<BlogPost>;
prev?: Partial<BlogPost>;
2022-10-16 11:04:03 +00:00
}
export interface BlogPostTag {
name: string;
count: number;
posts: string[];
}