Browse Source

export interface ISentHistoryData

visuddhinanda 2 years ago
parent
commit
129f049e0e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dashboard/src/components/corpus/SentHistory.tsx

+ 2 - 2
dashboard/src/components/corpus/SentHistory.tsx

@@ -6,7 +6,7 @@ import User from "../auth/User";
 import { IUser } from "../auth/UserName";
 import TimeShow from "../general/TimeShow";
 
-interface ISentHistoryData {
+export interface ISentHistoryData {
   id: string;
   sent_uid: string;
   content: string;
@@ -15,7 +15,7 @@ interface ISentHistoryData {
   created_at: string;
 }
 
-interface ISentHistoryListResponse {
+export interface ISentHistoryListResponse {
   ok: boolean;
   message: string;
   data: { rows: ISentHistoryData[]; count: number };