mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: use resource name in frontend
This commit is contained in:
@ -103,10 +103,10 @@ enum Visibility {
|
||||
}
|
||||
|
||||
message Memo {
|
||||
// id is the unique auto-incremented id.
|
||||
// id is the system generated unique identifier.
|
||||
int32 id = 1;
|
||||
|
||||
// name is the user-defined name.
|
||||
// name is the user provided name.
|
||||
string name = 2;
|
||||
|
||||
RowStatus row_status = 3;
|
||||
|
@ -34,13 +34,23 @@ service ResourceService {
|
||||
}
|
||||
|
||||
message Resource {
|
||||
// id is the system generated unique identifier.
|
||||
int32 id = 1;
|
||||
google.protobuf.Timestamp create_time = 2;
|
||||
string filename = 3;
|
||||
string external_link = 4;
|
||||
string type = 5;
|
||||
int64 size = 6;
|
||||
optional int32 memo_id = 7;
|
||||
|
||||
// name is the user provided name.
|
||||
string name = 2;
|
||||
|
||||
google.protobuf.Timestamp create_time = 3;
|
||||
|
||||
string filename = 4;
|
||||
|
||||
string external_link = 5;
|
||||
|
||||
string type = 6;
|
||||
|
||||
int64 size = 7;
|
||||
|
||||
optional int32 memo_id = 8;
|
||||
}
|
||||
|
||||
message CreateResourceRequest {
|
||||
|
Reference in New Issue
Block a user