Browse Source

feat(types): user & enterprise

qinlaiqiao 4 years ago
parent
commit
91a2c425ab
2 changed files with 1 additions and 4 deletions
  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 {
 export interface IMember {
   userID: string;
   userID: string;
   memberName: string;
   memberName: string;
-  activated: boolean;
+  status: 'normal' | 'disabled' | 'unconfirmed';
   cptList: string[];
   cptList: string[];
   createProject: 'yes' | 'no';
   createProject: 'yes' | 'no';
   projectView: 'self' | 'all';
   projectView: 'self' | 'all';

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

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