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

20 lines
330 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;
summary: string;
2022-10-16 11:04:03 +00:00
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[];
}