feat(pause ad): add pause as rpc route in proto
This commit is contained in:
		
							parent
							
								
									3bef47c27e
								
							
						
					
					
						commit
						3b8ab49396
					
				| 
						 | 
				
			
			@ -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 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue