Преглед изворни кода

add ISentInChapterListResponse

visuddhinanda пре 2 година
родитељ
комит
ddd0fbceef
1 измењених фајлова са 18 додато и 0 уклоњено
  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;
+}