瀏覽代碼

add ResAttachment

visuddhinanda 1 年之前
父節點
當前提交
3a18565fb7
共有 1 個文件被更改,包括 12 次插入0 次删除
  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 };
+}