25 lines
422 B
TypeScript
Raw Normal View History

2022-10-16 14:04:03 +03:00
export interface BlogPost {
date: string;
title: string;
tags: string[];
file: string;
slug: string;
fullSlug: string;
2022-12-04 12:12:29 +02:00
markdown?: string;
summary: string;
2022-12-04 12:12:29 +02:00
html?: string;
2022-10-16 19:17:55 +03:00
next?: Partial<BlogPost>;
prev?: Partial<BlogPost>;
2022-10-16 14:04:03 +03:00
}
export interface BlogPostTag {
name: string;
count: number;
posts: string[];
}
2022-12-04 12:12:29 +02:00
export type ArchiveDto = Record<
string,
Record<string, Record<string, string[]>>
>;