Browse Source

refactor(types): 用户类型

qinlaiqiao 5 năm trước cách đây
mục cha
commit
36be152989
1 tập tin đã thay đổi với 1 bổ sung và 5 xóa
  1. 1 5
      types/src/interface/user.ts

+ 1 - 5
types/src/interface/user.ts

@@ -35,10 +35,6 @@ export enum UserType {
   PROFESSIONAL = 'professional',
 }
 
-export interface IContact {
-  userID: string;
-}
-
 export interface IUsed {
   compilationId: string;
 }
@@ -71,7 +67,7 @@ interface IUsedCptItem {
   firstUseTime: number;
 }
 
-interface IContactItem {
+export interface IContactItem {
   // 用户 ID
   userID: string;
   // 第一成为联系人的时间