@devline-smart-taxi/common 2.3.78 → 2.3.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,6 +40,7 @@ __decorate([
|
|
|
40
40
|
required: false,
|
|
41
41
|
example: 41.315,
|
|
42
42
|
}),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
44
|
(0, class_validator_1.IsNumber)(),
|
|
44
45
|
__metadata("design:type", Number)
|
|
45
46
|
], TripActionDto.prototype, "latitude", void 0);
|
|
@@ -49,6 +50,7 @@ __decorate([
|
|
|
49
50
|
required: false,
|
|
50
51
|
example: 69.245,
|
|
51
52
|
}),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
54
|
(0, class_validator_1.IsNumber)(),
|
|
53
55
|
__metadata("design:type", Number)
|
|
54
56
|
], TripActionDto.prototype, "longitude", void 0);
|
package/dist/proto/trip.proto
CHANGED
|
@@ -142,9 +142,10 @@ message TripListItem {
|
|
|
142
142
|
optional float destinationLat = 11;
|
|
143
143
|
optional float destinationLng = 12;
|
|
144
144
|
// Mashina (faqat CLIENT uchun)
|
|
145
|
-
optional string carModel =
|
|
146
|
-
optional string carNumber =
|
|
147
|
-
optional string carColor =
|
|
145
|
+
optional string carModel = 13;
|
|
146
|
+
optional string carNumber = 14;
|
|
147
|
+
optional string carColor = 15;
|
|
148
|
+
optional string carClass = 16;
|
|
148
149
|
// Manzil nomlari
|
|
149
150
|
optional string pickupAddress = 17;
|
|
150
151
|
optional string destinationAddress = 18;
|
|
@@ -152,8 +153,8 @@ message TripListItem {
|
|
|
152
153
|
optional string startedAt = 19;
|
|
153
154
|
optional string endedAt = 20;
|
|
154
155
|
// Ownership ids (all roles)
|
|
155
|
-
optional string clientId =
|
|
156
|
-
optional string driverId =
|
|
156
|
+
optional string clientId = 21;
|
|
157
|
+
optional string driverId = 22;
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
message TripListResponse {
|
|
@@ -184,6 +185,7 @@ message TripDetailResponse {
|
|
|
184
185
|
optional string carModel = 16;
|
|
185
186
|
optional string carNumber = 17;
|
|
186
187
|
optional string carColor = 18;
|
|
188
|
+
optional string carClass = 25;
|
|
187
189
|
int32 statusCode = 19;
|
|
188
190
|
string message = 20;
|
|
189
191
|
// Manzil nomlari
|