2021-07-08 23:07:44 +07:00

21 lines
378 B
TypeScript

import { IContentDocument } from '@nuxt/content/types/content'
export interface IToc {
id: string;
depth: number;
text: string;
}
export interface IContent extends IContentDocument {
body: Object;
category: string;
description: string;
position: number;
title: string;
toc: IToc[];
image: string;
tags: string[];
published: string;
author: string;
}