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