Explorar o código

feat(types): user & enterprise

qinlaiqiao %!s(int64=5) %!d(string=hai) anos
pai
achega
91a2c425ab
Modificáronse 2 ficheiros con 1 adicións e 4 borrados
  1. 1 1
      types/src/interface/enterprise.ts
  2. 0 3
      types/src/interface/user.ts

+ 1 - 1
types/src/interface/enterprise.ts

@@ -9,7 +9,7 @@ export enum Relationship {
 export interface IMember {
   userID: string;
   memberName: string;
-  activated: boolean;
+  status: 'normal' | 'disabled' | 'unconfirmed';
   cptList: string[];
   createProject: 'yes' | 'no';
   projectView: 'self' | 'all';

+ 0 - 3
types/src/interface/user.ts

@@ -85,10 +85,7 @@ export interface IUser {
   ID: string;
   ssoID: string;
   mobile: string;
-  email: string;
-  qq: string;
   realName: string;
-  avatar: string;
   createTime: number;
   proCptList: IProCptItem[];
   usedCptList: IUsedCptItem[];