ff-webpage/types/collection/article.ts

6 lines
214 B
TypeScript
Raw Normal View History

import type BaseCollection from "./baseCollection";
export default interface Article extends BaseCollection {
content: Array<{ type: string; children: Array<{ type: string; text: string }>; level?: number }>;
}