Explorar o código

add ISentInChapterListResponse

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
ddd0fbceef
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      dashboard/src/components/api/Channel.ts

+ 18 - 0
dashboard/src/components/api/Channel.ts

@@ -52,3 +52,21 @@ export interface IApiResponseChannelList {
     count: number;
   };
 }
+
+export interface ISentInChapterListResponse {
+  ok: boolean;
+  data: ISentInChapterListData;
+  message: string;
+}
+
+export interface ISentInChapterListData {
+  rows: ISentInChapterListDataRow[];
+  count: number;
+}
+
+export interface ISentInChapterListDataRow {
+  book: number;
+  paragraph: number;
+  word_begin: number;
+  word_end: number;
+}