Răsfoiți Sursa

add ResAttachment

visuddhinanda 1 an în urmă
părinte
comite
3a18565fb7
1 a modificat fișierele cu 12 adăugiri și 0 ștergeri
  1. 12 0
      dashboard-v4/dashboard/src/components/api/Attachments.ts

+ 12 - 0
dashboard-v4/dashboard/src/components/api/Attachments.ts

@@ -24,3 +24,15 @@ export interface IAttachmentListResponse {
   message: string;
   data: { rows: IAttachmentRequest[]; count: number };
 }
+
+export interface IResAttachmentData {
+  uid: string;
+  sentence_id: string;
+  attachment_id: string;
+  attachment: IAttachmentRequest;
+}
+export interface IResAttachmentListResponse {
+  ok: boolean;
+  message: string;
+  data: { rows: IResAttachmentData[]; count: number };
+}