瀏覽代碼

feat(types): compilation 添加字段

qinlaiqiao 4 年之前
父節點
當前提交
cd7cb28485
共有 1 個文件被更改,包括 13 次插入3 次删除
  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 {
 export interface ICompilation {
-  ID: string;
-  name: string;
-  description: string;
+  ID?: string;
+  name?: string;
+  creator?: string;
+  createTime?: number;
+  releaseTime?: number;
   rationValuations?: any;
   rationValuations?: any;
   billValuations?: IValuation[];
   billValuations?: IValuation[];
+  isRelease?: boolean;
+  description?: string;
+  overWriteUrl?: string;
+  categoryID?: string;
+  example?: number[];
+  adProjects?: number[];
+
+  // 附加
   version?: versionType; // 版本
   version?: versionType; // 版本
   versionText?: string; // 版本对应的显示文字:免费版,学习版,专业版
   versionText?: string; // 版本对应的显示文字:免费版,学习版,专业版
   lockInfo?: ELockInfo; //
   lockInfo?: ELockInfo; //