IP库制品列表中显示文件尺寸

This commit is contained in:
GoEdgeLab
2023-03-29 20:07:15 +08:00
parent 4f3dd1a89d
commit 52c67653d3
2 changed files with 39 additions and 21 deletions

View File

@@ -3,12 +3,16 @@ option go_package = "./pb";
package pb;
import "models/model_file.proto";
message IPLibraryArtifact {
int64 id = 1;
int64 fileId = 2;
int64 createdAt = 3;
bytes metaJSON = 4;
bool isPublic = 5;
bool isPublic = 5; // 是否公开
string name = 6;
string code = 7;
File file = 30; // 文件信息
}