Przeglądaj źródła

feat(types): 导入Log

zhangweicheng 4 lat temu
rodzic
commit
f228e2faf5
1 zmienionych plików z 13 dodań i 0 usunięć
  1. 13 0
      types/src/interface/project.ts

+ 13 - 0
types/src/interface/project.ts

@@ -347,3 +347,16 @@ export interface IProjectLog {
   // 活动者ID
   activityUserID: string;
 }
+
+// 导入状态
+export enum ImportStatus {
+  IMPORTING = 0,
+  FINISH = 1,
+  FAIL = 3,
+}
+
+// 导入log
+export interface IImportLog {
+  status: ImportStatus;
+  errorMsg: string;
+}