2024-01-06 20:20:05 +08:00
|
|
|
import { NonEmptyArray } from "./utils.type";
|
|
|
|
|
|
2023-12-25 17:21:39 +08:00
|
|
|
export type TFrontmatter = {
|
|
|
|
|
title: string;
|
|
|
|
|
time: string;
|
2024-01-06 20:20:05 +08:00
|
|
|
tags: NonEmptyArray<string> | null;
|
2023-12-25 17:21:39 +08:00
|
|
|
subtitle: string | null;
|
|
|
|
|
summary: string | null;
|
|
|
|
|
coverURL: string | null;
|
|
|
|
|
pin: boolean | null;
|
|
|
|
|
noPrompt: boolean | null;
|
|
|
|
|
allowShare: boolean | null;
|
2024-04-03 22:08:27 +08:00
|
|
|
closed: boolean | null;
|
2023-12-25 17:21:39 +08:00
|
|
|
};
|