Parcourir la source

feat(types): compilation 添加字段

qinlaiqiao il y a 4 ans
Parent
commit
cd7cb28485
1 fichiers modifiés avec 13 ajouts et 3 suppressions
  1. 13 3
      types/src/interface/compilation.ts

+ 13 - 3
types/src/interface/compilation.ts

@@ -64,11 +64,21 @@ export enum versionType {
 }
 
 export interface ICompilation {
-  ID: string;
-  name: string;
-  description: string;
+  ID?: string;
+  name?: string;
+  creator?: string;
+  createTime?: number;
+  releaseTime?: number;
   rationValuations?: any;
   billValuations?: IValuation[];
+  isRelease?: boolean;
+  description?: string;
+  overWriteUrl?: string;
+  categoryID?: string;
+  example?: number[];
+  adProjects?: number[];
+
+  // 附加
   version?: versionType; // 版本
   versionText?: string; // 版本对应的显示文字:免费版,学习版,专业版
   lockInfo?: ELockInfo; //