feat: get catalog api

This commit is contained in:
Hufe921
2023-05-07 19:50:14 +08:00
committed by Hufe
parent 3d7d7e2107
commit 237c0f22cb
5 changed files with 146 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { TitleLevel } from '../dataset/enum/Title'
export interface ICatalogItem {
id: string;
name: string;
level: TitleLevel;
subCatalog: ICatalogItem[];
}
export type ICatalog = ICatalogItem[]