fix grpc
This commit is contained in:
		
							parent
							
								
									065d1cecfd
								
							
						
					
					
						commit
						089d8e9c28
					
				| 
						 | 
				
			
			@ -2,8 +2,6 @@ syntax = "proto3";
 | 
			
		|||
option go_package = "git.coopgo.io/coopgo-platform/solidarity-service/servers/grpc/proto";
 | 
			
		||||
import "google/protobuf/timestamp.proto";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
message Feature {
 | 
			
		||||
    double lat = 1;
 | 
			
		||||
    double long = 2;
 | 
			
		||||
| 
						 | 
				
			
			@ -42,6 +40,7 @@ message PunctualAvailabilitySlot {
 | 
			
		|||
  string startTime = 2;
 | 
			
		||||
  string endTime = 3;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message RegularAvailabilitySlot {
 | 
			
		||||
  DayOfWeek dayOfWeek = 1;
 | 
			
		||||
  string startTime = 2;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -47,7 +47,7 @@ message CreateBookingRequest {
 | 
			
		|||
  BookingRequest booking = 1;
 | 
			
		||||
}
 | 
			
		||||
message CreateBookingResponse {
 | 
			
		||||
  Booking booking = 1;
 | 
			
		||||
  BookingSilvermobi booking = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message UpdateBookingRequest {
 | 
			
		||||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ message GetBookingRequest {
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
message GetBookingResponse {
 | 
			
		||||
  Booking booking = 1;
 | 
			
		||||
  BookingSilvermobi booking = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message GetBookingsByStatusRequest{
 | 
			
		||||
| 
						 | 
				
			
			@ -86,5 +86,5 @@ message DriverJourneysResponse {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
message GetBookingsByStatusResponse{
 | 
			
		||||
  repeated Booking booking = 1;
 | 
			
		||||
  repeated BookingSilvermobi booking = 1;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue