blob: 526ec4284c18bea629a2a39bf17413c91f84ed63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
syntax = "proto3";
package chatpb;
import "google/protobuf/timestamp.proto";
import "google/protobuf/struct.proto";
import "chat.proto";
message Book {
string uuid = 1; // `autogenpb:unique` `autogenpb:sort`
google.protobuf.Timestamp ctime = 2;
string Title = 3;
int32 version = 4;
Who from = 5;
string content = 6;
Table table = 7;
GeminiRequest GeminiRequest = 8;
}
message Books { // `autogenpb:marshal` `autogenpb:mutex` `autogenpb:gui`
string uuid = 1; // `autogenpb:uuid:8b6409ad-4498-43a6-b09a-7835c00dcb9a`
string version = 2; // `autogenpb:version:v0.0.1`
repeated Book Books = 3; // THIS MUST BE Chat and then Chats
}
|