فهرست منبع

add anthology_count

visuddhinanda 3 سال پیش
والد
کامیت
32e62942c8
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      dashboard/src/components/api/Article.ts

+ 4 - 1
dashboard/src/components/api/Article.ts

@@ -1,5 +1,5 @@
 import { ITocPathNode } from "../corpus/TocPath";
-import type { IStudioApiResponse } from "./Auth";
+import type { IStudioApiResponse, TRole } from "./Auth";
 
 export interface IArticleListApiResponse {
   article: string;
@@ -85,6 +85,9 @@ export interface IArticleDataResponse {
   path?: ITocPathNode[];
   status: number;
   lang: string;
+  anthology_count?: number;
+  anthology_first?: { title: string };
+  role?: TRole;
   created_at: string;
   updated_at: string;
 }