Files
lixiyu-net/types/frontmatter.type.ts
2024-04-03 22:08:27 +08:00

15 lines
337 B
TypeScript

import { NonEmptyArray } from "./utils.type";
export type TFrontmatter = {
title: string;
time: string;
tags: NonEmptyArray<string> | null;
subtitle: string | null;
summary: string | null;
coverURL: string | null;
pin: boolean | null;
noPrompt: boolean | null;
allowShare: boolean | null;
closed: boolean | null;
};