UNPKG

yuque2book

Version:

convert yuque book to a static book

30 lines (29 loc) 545 B
export interface YuqueInstance { url: string; origin: string; namespace?: string; slug?: string; name?: string; } export interface Toc { title: string; slug: string; depth: string; } export interface Doc { abilities: { update?: boolean; destroy?: boolean; }; data: { id: number; type: string; slug: string; title: string; book_id: string; format: string; body: string; body_html: string; public: number; }; }