core.proto
1syntax = "proto3";
2package zed.messages;
3
4message PeerId {
5 uint32 owner_id = 1;
6 uint32 id = 2;
7}
8
9message User {
10 uint64 id = 1;
11 string github_login = 2;
12 string avatar_url = 3;
13 optional string email = 4;
14 optional string name = 5;
15}
16
17message Nonce {
18 uint64 upper_half = 1;
19 uint64 lower_half = 2;
20}
21
22message Collaborator {
23 PeerId peer_id = 1;
24 uint32 replica_id = 2;
25 uint64 user_id = 3;
26 bool is_host = 4;
27}