mirror of
https://github.com/versia-pub/blog.git
synced 2025-12-06 16:48:18 +01:00
29 lines
517 B
TypeScript
29 lines
517 B
TypeScript
|
|
export interface FrontMatter {
|
||
|
|
title: string;
|
||
|
|
description: string;
|
||
|
|
image: string;
|
||
|
|
created_at: string;
|
||
|
|
private?: string;
|
||
|
|
author: string;
|
||
|
|
author_image: string;
|
||
|
|
author_handle: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface Post {
|
||
|
|
title: string;
|
||
|
|
description: string;
|
||
|
|
image: string;
|
||
|
|
banner?: string;
|
||
|
|
author: Author;
|
||
|
|
private: boolean;
|
||
|
|
created_at: string;
|
||
|
|
content: string;
|
||
|
|
path: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface Author {
|
||
|
|
name: string;
|
||
|
|
image: string;
|
||
|
|
handle: string;
|
||
|
|
}
|