ZIm/crates/proto/proto/core.proto
Max Brunsfeld 8ab252c42d
Split protobufs into separate files (#28130)
The one big protobuf file was getting a bit difficult to navigate. I
split it into separate topic-specific files that import each other.

Release Notes:

- N/A
2025-04-04 16:15:49 -07:00

27 lines
455 B
Protocol Buffer

syntax = "proto3";
package zed.messages;
message PeerId {
uint32 owner_id = 1;
uint32 id = 2;
}
message User {
uint64 id = 1;
string github_login = 2;
string avatar_url = 3;
optional string email = 4;
optional string name = 5;
}
message Nonce {
uint64 upper_half = 1;
uint64 lower_half = 2;
}
message Collaborator {
PeerId peer_id = 1;
uint32 replica_id = 2;
uint64 user_id = 3;
bool is_host = 4;
}