Просмотр исходного кода

feat(types): compilation 删除 ICptItem

qinlaiqiao 4 лет назад
Родитель
Сommit
bb29c3d228
2 измененных файлов с 2 добавлено и 8 удалено
  1. 0 6
      types/src/interface/compilation.ts
  2. 2 2
      types/src/interface/user.ts

+ 0 - 6
types/src/interface/compilation.ts

@@ -2,12 +2,6 @@ import { ELockInfo } from './user';
 import { TaxType, IGLJCol } from './project';
 import { IFileRef, INumFileRef } from './base';
 
-export interface ICptItem {
-  ID: string;
-  name: string;
-  description: string;
-}
-
 export interface IProgramLib extends INumFileRef {
   displayName: string;
 }

+ 2 - 2
types/src/interface/user.ts

@@ -1,4 +1,4 @@
-import { ICompilation, ICptItem } from './compilation';
+import { ICompilation } from './compilation';
 
 /* eslint-disable camelcase */
 export enum ELockInfo {
@@ -120,5 +120,5 @@ export interface IBootResult {
 
 export interface ILoginResult {
   userInfo: IUser;
-  cptList: ICptItem;
+  cptList: ICompilation;
 }