fix grpc
This commit is contained in:
parent
15b04da26f
commit
ea9450c23f
|
@ -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;
|
||||
|
@ -68,7 +67,7 @@ message BookingRequest {
|
|||
google.protobuf.Timestamp pickup_date = 7;
|
||||
}
|
||||
|
||||
message Booking {
|
||||
message BookingSilvermobi {
|
||||
string id = 1;
|
||||
User driver = 2;
|
||||
User passenger = 3;
|
||||
|
|
|
@ -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