feat(pause ad): add pause as rpc route in proto

This commit is contained in:
Fanch 2024-05-14 15:30:44 +02:00 committed by Fanch
parent 3bef47c27e
commit 3b8ab49396
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ service AdService {
rpc Create(Ad) returns (AdById); rpc Create(Ad) returns (AdById);
rpc Update(Ad) returns (Empty); rpc Update(Ad) returns (Empty);
rpc Delete(AdById) returns (Empty); rpc Delete(AdById) returns (Empty);
rpc Pause(AdById) returns (Empty);
} }
message AdById { message AdById {
@ -37,6 +38,7 @@ message Ad {
bool strict = 11; bool strict = 11;
repeated Waypoint waypoints = 12; repeated Waypoint waypoints = 12;
optional string comment = 13; optional string comment = 13;
optional bool pause = 14;
} }
message ScheduleItem { message ScheduleItem {