visuddhinanda пре 3 година
родитељ
комит
c7e18f3bd0
1 измењених фајлова са 17 додато и 0 уклоњено
  1. 17 0
      dashboard/src/components/api/Article.ts

+ 17 - 0
dashboard/src/components/api/Article.ts

@@ -104,3 +104,20 @@ export interface IAnthologyCreateRequest {
   lang: string;
   studio: string;
 }
+
+export interface IArticleMapRequest {
+  id?: string;
+  collect_id: string;
+  article_id: string;
+  level: number;
+  title: string;
+  children: number;
+}
+export interface IArticleMapListResponse {
+  ok: boolean;
+  message: string;
+  data: {
+    rows: IArticleMapRequest[];
+    count: number;
+  };
+}