Skip to content

Commit

Permalink
add trip mode TAXI
Browse files Browse the repository at this point in the history
  • Loading branch information
chenchenplus committed Oct 23, 2024
1 parent 40cc783 commit a4bcbb6
Show file tree
Hide file tree
Showing 38 changed files with 240 additions and 211 deletions.
3 changes: 3 additions & 0 deletions city/trip/v2/trip.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ enum TripMode {
// 当有自行车时选择骑自行车,否则步行
// Riding bikes if avaible, otherwise walking
TRIP_MODE_BIKE_WALK = 5;
// 乘出租车
// taking a taxi
TRIP_MODE_TAXI = 6;
}

// 停靠点
Expand Down
17 changes: 9 additions & 8 deletions cpp/city/trip/v2/trip.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion cpp/city/trip/v2/trip.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9904,6 +9904,13 @@ <h3 id="city.trip.v2.TripMode">TripMode</h3>
Riding bikes if avaible, otherwise walking</p></td>
</tr>

<tr>
<td>TRIP_MODE_TAXI</td>
<td>6</td>
<td><p>乘出租车
taking a taxi</p></td>
</tr>

</tbody>
</table>

Expand Down
8 changes: 8 additions & 0 deletions es/city/trip/v2/trip_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ export declare enum TripMode {
* @generated from enum value: TRIP_MODE_BIKE_WALK = 5;
*/
BIKE_WALK = 5,

/**
* 乘出租车
* taking a taxi
*
* @generated from enum value: TRIP_MODE_TAXI = 6;
*/
TAXI = 6,
}

/**
Expand Down
1 change: 1 addition & 0 deletions es/city/trip/v2/trip_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const TripMode = /*@__PURE__*/ proto3.makeEnum(
{no: 2, name: "TRIP_MODE_DRIVE_ONLY", localName: "DRIVE_ONLY"},
{no: 4, name: "TRIP_MODE_BUS_WALK", localName: "BUS_WALK"},
{no: 5, name: "TRIP_MODE_BIKE_WALK", localName: "BIKE_WALK"},
{no: 6, name: "TRIP_MODE_TAXI", localName: "TAXI"},
],
);

Expand Down
20 changes: 10 additions & 10 deletions go/city/comm/input/v1/comm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go/city/config/v1/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions go/city/economy/v1/economy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions go/city/economy/v1/org_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions go/city/economy/v1/person_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a4bcbb6

Please sign in to comment.