浏览代码

add IChapterTocListResponse

visuddhinanda 1 年之前
父节点
当前提交
e55ee51e61
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      dashboard-v4/dashboard/src/components/api/Corpus.ts

+ 14 - 0
dashboard-v4/dashboard/src/components/api/Corpus.ts

@@ -208,6 +208,20 @@ export interface IPaliTocListResponse {
   data: { rows: IPaliToc[]; count: number };
 }
 
+export interface IChapterToc {
+  book: number;
+  paragraph: number;
+  level: string;
+  text: string;
+  parent: number;
+}
+
+export interface IChapterTocListResponse {
+  ok: boolean;
+  message: string;
+  data: { rows: IChapterToc[]; count: number };
+}
+
 export interface IPaliBookListResponse {
   name: string;
   tag: string[];