Initial commit
This commit is contained in:
24
grpcapi/events.proto
Normal file
24
grpcapi/events.proto
Normal file
@@ -0,0 +1,24 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "git.coopgo.io/coopgo-platform/agenda/grpcapi";
|
||||
|
||||
import "google/protobuf/struct.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
message Event {
|
||||
string id = 1;
|
||||
string namespace = 2;
|
||||
string type = 3;
|
||||
repeated string owners = 4;
|
||||
repeated string restricted_to = 5;
|
||||
string name = 6;
|
||||
string description = 7;
|
||||
google.protobuf.Timestamp startdate = 8;
|
||||
google.protobuf.Timestamp enddate = 9;
|
||||
bool allday = 10;
|
||||
string starttime = 11;
|
||||
string endtime = 12;
|
||||
int64 max_subscribers = 13;
|
||||
repeated string subscribers = 14;
|
||||
google.protobuf.Struct data = 15;
|
||||
}
|
||||
Reference in New Issue
Block a user