2021-07-08 13:56:37 +07:00

19 lines
339 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[];
}