Explorar el Código

feat(types): 导入Log

zhangweicheng hace 4 años
padre
commit
f228e2faf5
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  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;
+}