Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 350 Bytes
syntax = "proto3";
option java_package = "ch.rasc.cettiatwo";
message Todo {
string id = 1;
string title = 2;
bool completed = 3;
}
message Todos {
repeated Todo todos = 1;
}
message ChangeEvent {
enum ChangeType {
INSERT = 0;
UPDATE = 1;
DELETE = 2;
}
Todo todo = 1;
ChangeType change = 2;
}