Explorar o código

feat(types): shareDate更改必须有

vian %!s(int64=5) %!d(string=hai) anos
pai
achega
25e5966981
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      types/src/interface/share.ts

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

@@ -17,7 +17,7 @@ export interface ISharePermission {
 }
 
 export interface IShareProject extends ISharePermission {
-  shareDate?: number;
+  shareDate: number;
   updateDate?: number;
   projectID: string; // 项目ID
   compilationID: string;
@@ -25,7 +25,7 @@ export interface IShareProject extends ISharePermission {
 }
 
 export interface IShareLib extends ISharePermission {
-  shareDate?: number;
+  shareDate: number;
   updateDate?: number;
   compilationID: string;
 }