mirror of
https://gitlab.com/mobicoop/v3/service/ad.git
synced 2026-01-09 08:42:40 +00:00
feat(pause ad): add pause as rpc route in proto
This commit is contained in:
@@ -9,6 +9,7 @@ service AdService {
|
||||
rpc Create(Ad) returns (AdById);
|
||||
rpc Update(Ad) returns (Empty);
|
||||
rpc Delete(AdById) returns (Empty);
|
||||
rpc Pause(AdById) returns (Empty);
|
||||
}
|
||||
|
||||
message AdById {
|
||||
@@ -37,6 +38,7 @@ message Ad {
|
||||
bool strict = 11;
|
||||
repeated Waypoint waypoints = 12;
|
||||
optional string comment = 13;
|
||||
optional bool pause = 14;
|
||||
}
|
||||
|
||||
message ScheduleItem {
|
||||
|
||||
Reference in New Issue
Block a user