2022-10-16 11:04:03 +00:00
|
|
|
export interface BlogPost {
|
|
|
|
date: string;
|
|
|
|
title: string;
|
|
|
|
tags: string[];
|
|
|
|
file: string;
|
|
|
|
slug: string;
|
|
|
|
fullSlug: string;
|
2022-12-04 10:12:29 +00:00
|
|
|
markdown?: string;
|
2022-10-20 18:52:42 +00:00
|
|
|
summary: string;
|
2022-12-04 10:12:29 +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[];
|
|
|
|
}
|
2022-12-04 10:12:29 +00:00
|
|
|
|
|
|
|
export type ArchiveDto = Record<
|
|
|
|
string,
|
|
|
|
Record<string, Record<string, string[]>>
|
|
|
|
>;
|