@jsm-mit/tigi-sharded-package 0.18.0 → 0.20.0
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.
- package/declarations/tigi-driver/tigi-driver.did +28 -0
- package/declarations/tigi-driver/tigi-driver.did.d.ts +27 -0
- package/declarations/tigi-driver/tigi-driver.did.js +1 -0
- package/declarations/tigi-simulator/tigi-simulator.did +8 -1
- package/declarations/tigi-simulator/tigi-simulator.did.d.ts +5 -0
- package/declarations/tigi-simulator/tigi-simulator.did.js +1 -0
- package/declarations/worker/worker.did +21 -0
- package/declarations/worker/worker.did.d.ts +23 -0
- package/declarations/worker/worker.did.js +55 -39
- package/dist/interfaces.d.ts +5 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/mappers.d.ts +6 -1
- package/dist/mappers.d.ts.map +1 -1
- package/dist/mappers.js +16 -3
- package/package.json +3 -3
|
@@ -44,6 +44,9 @@ type CarInfo = record {
|
|
|
44
44
|
name : text; // make and model, ≤ 120 characters
|
|
45
45
|
plate : text; // ≤ 16 characters
|
|
46
46
|
colour : opt CarColour;
|
|
47
|
+
photoPath : opt text; // P-25 (D-48): the car's photos at `/photos/<photoPath>/<n>` of the
|
|
48
|
+
// driver canister (e.g. "car/a2") — a booking's car; none = the
|
|
49
|
+
// photos of `/photos/<driverKey>/<n>`
|
|
47
50
|
};
|
|
48
51
|
|
|
49
52
|
// What the network shows of a driver in an offer (public). Photos are served by the
|
|
@@ -158,6 +161,29 @@ type Quote = record {
|
|
|
158
161
|
freeAtNs : opt nat64; // P-23: the driver ends a ride by then; `etaToPickupSec` counts
|
|
159
162
|
// from now and holds the rest of that ride; no pin, no
|
|
160
163
|
// `routeLine.toPickup` ("") — they would show the other rider's B
|
|
164
|
+
card : opt DriverCard; // P-24 (D-44): the card and car of this offer — a fleet chooses the
|
|
165
|
+
// driver and the car per booking; none = the base's / registration's
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
// P-24 (D-46, DRIVER-FLEET): the canister hands a request over from one of its drivers to
|
|
169
|
+
// another — an offer or a booking of a ride at a chosen time (until "Jadę"), or a ride under
|
|
170
|
+
// way. The rider sees the new card; the ride and the booking follow `toKey`. `busy` while a
|
|
171
|
+
// booking order waits for the canister's answer, or when `toKey` is on a ride with one queued.
|
|
172
|
+
// P-26 (D-53, D-55, DRIVER-FLEET): the canister changes a booking of one of its drivers before
|
|
173
|
+
// "Jadę" — its card (another car) and/or its price (e.g. agreed with the rider). The rider sees
|
|
174
|
+
// them; the ride after "Jadę" has the new price. `expired` after "Jadę" or when it ended.
|
|
175
|
+
type BookingChange = record {
|
|
176
|
+
requestId : RequestId;
|
|
177
|
+
driverKey : DriverKey;
|
|
178
|
+
card : opt DriverCard;
|
|
179
|
+
price : opt Money;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
type HandOver = record {
|
|
183
|
+
requestId : RequestId;
|
|
184
|
+
fromKey : DriverKey;
|
|
185
|
+
toKey : DriverKey;
|
|
186
|
+
card : DriverCard; // of `toKey`, with the car of this request
|
|
161
187
|
};
|
|
162
188
|
|
|
163
189
|
type QuoteDecline = record { requestId : RequestId; driverKey : DriverKey };
|
|
@@ -273,6 +299,8 @@ service : {
|
|
|
273
299
|
// bookingDropped : (BookingRef) -> (); // P-22
|
|
274
300
|
// unregisterDriver : (DriverKey) -> ();
|
|
275
301
|
// submitQuote : (Quote) -> (variant { ok; err : ProtocolError });
|
|
302
|
+
// handOver : (HandOver) -> (variant { ok; err : ProtocolError }); // P-24
|
|
303
|
+
// changeBooking : (BookingChange) -> (variant { ok; err : ProtocolError }); // P-26
|
|
276
304
|
// declineQuote : (QuoteDecline) -> ();
|
|
277
305
|
// answerOrder : (OrderAnswer) -> (variant { ok; err : ProtocolError });
|
|
278
306
|
// rideStatusChanged : (RideStatusChange) -> (variant { ok; err : ProtocolError });
|
|
@@ -2,6 +2,21 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
2
2
|
import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
3
3
|
import type { IDL } from '@icp-sdk/core/candid';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* P-24 (D-46, DRIVER-FLEET): the canister hands a request over from one of its drivers to
|
|
7
|
+
* another — an offer or a booking of a ride at a chosen time (until "Jadę"), or a ride under
|
|
8
|
+
* way. The rider sees the new card; the ride and the booking follow `toKey`. `busy` while a
|
|
9
|
+
* booking order waits for the canister's answer, or when `toKey` is on a ride with one queued.
|
|
10
|
+
* P-26 (D-53, D-55, DRIVER-FLEET): the canister changes a booking of one of its drivers before
|
|
11
|
+
* "Jadę" — its card (another car) and/or its price (e.g. agreed with the rider). The rider sees
|
|
12
|
+
* them; the ride after "Jadę" has the new price. `expired` after "Jadę" or when it ended.
|
|
13
|
+
*/
|
|
14
|
+
export interface BookingChange {
|
|
15
|
+
'requestId' : RequestId,
|
|
16
|
+
'card' : [] | [DriverCard],
|
|
17
|
+
'driverKey' : DriverKey,
|
|
18
|
+
'price' : [] | [Money],
|
|
19
|
+
}
|
|
5
20
|
/**
|
|
6
21
|
* P-22: a booking of a ride at a chosen time (the driver's "Jadę" / giving it up).
|
|
7
22
|
*/
|
|
@@ -29,6 +44,7 @@ export type CarColour = { 'red' : null } |
|
|
|
29
44
|
* D-42: the car apart — the offer shows each field (WO-N13).
|
|
30
45
|
*/
|
|
31
46
|
export interface CarInfo {
|
|
47
|
+
'photoPath' : [] | [string],
|
|
32
48
|
'name' : string,
|
|
33
49
|
'plate' : string,
|
|
34
50
|
'colour' : [] | [CarColour],
|
|
@@ -76,6 +92,12 @@ export interface DriverCard {
|
|
|
76
92
|
export type DriverKey = string;
|
|
77
93
|
export interface Geo { 'lat' : number, 'lng' : number }
|
|
78
94
|
export type Geohash = string;
|
|
95
|
+
export interface HandOver {
|
|
96
|
+
'toKey' : DriverKey,
|
|
97
|
+
'requestId' : RequestId,
|
|
98
|
+
'card' : DriverCard,
|
|
99
|
+
'fromKey' : DriverKey,
|
|
100
|
+
}
|
|
79
101
|
export interface Licence {
|
|
80
102
|
'mimeType' : string,
|
|
81
103
|
'image' : Uint8Array | number[],
|
|
@@ -99,6 +121,11 @@ export interface Quote {
|
|
|
99
121
|
'freeAtNs' : [] | [bigint],
|
|
100
122
|
'requestId' : RequestId,
|
|
101
123
|
'rideMeters' : number,
|
|
124
|
+
/**
|
|
125
|
+
* from now and holds the rest of that ride; no pin, no
|
|
126
|
+
* `routeLine.toPickup` ("") — they would show the other rider's B
|
|
127
|
+
*/
|
|
128
|
+
'card' : [] | [DriverCard],
|
|
102
129
|
'rideSec' : number,
|
|
103
130
|
'routeLine' : [] | [RouteLine],
|
|
104
131
|
'driverKey' : DriverKey,
|
|
@@ -21,7 +21,14 @@ type CarColour = variant {
|
|
|
21
21
|
yellow;
|
|
22
22
|
};
|
|
23
23
|
// D-42: the car apart — make and model, plate, colour (the offer shows each, WO-N13).
|
|
24
|
-
type CarInfo = record {
|
|
24
|
+
type CarInfo = record {
|
|
25
|
+
// P-25 (D-48): the car's photos at `/photos/<photoPath>/<n>` of this canister
|
|
26
|
+
// (`car/<id>`) — a booking's car, not the one the driver drives now.
|
|
27
|
+
photoPath : opt text;
|
|
28
|
+
name : text;
|
|
29
|
+
plate : text;
|
|
30
|
+
colour : opt CarColour;
|
|
31
|
+
};
|
|
25
32
|
// `variant { ok : CardPaymentView; err : ProtocolError }`.
|
|
26
33
|
type CardPaymentAnswer = variant { ok : CardPaymentView; err : ProtocolError };
|
|
27
34
|
// P-20: `startCardPayment` — the rider's front gives the page Stripe sends the rider back to.
|
|
@@ -28,6 +28,11 @@ export type CarColour = { 'red' : null } |
|
|
|
28
28
|
* D-42: the car apart — make and model, plate, colour (the offer shows each, WO-N13).
|
|
29
29
|
*/
|
|
30
30
|
export interface CarInfo {
|
|
31
|
+
/**
|
|
32
|
+
* P-25 (D-48): the car's photos at `/photos/<photoPath>/<n>` of this canister
|
|
33
|
+
* (`car/<id>`) — a booking's car, not the one the driver drives now.
|
|
34
|
+
*/
|
|
35
|
+
'photoPath' : [] | [string],
|
|
31
36
|
'name' : string,
|
|
32
37
|
'plate' : string,
|
|
33
38
|
'colour' : [] | [CarColour],
|
|
@@ -33,6 +33,8 @@ type TigiWorker =
|
|
|
33
33
|
bookingStarted: (ref: BookingRef) -> (ProtocolResult);
|
|
34
34
|
/// ZT-13: the rider gives the ride at a chosen time up.
|
|
35
35
|
cancelScheduled: (ref: RequestRef) -> (Result_3);
|
|
36
|
+
/// P-26 (D-53, D-55): the canister changes a booking's car and/or price before "Jadę".
|
|
37
|
+
changeBooking: (args: BookingChange) -> (ProtocolResult);
|
|
36
38
|
/// ZO-13, ZO-14, ZO-17.
|
|
37
39
|
chooseOffer: (ref: OfferRef) -> (Result_10);
|
|
38
40
|
/// ZT-14: "Wybierz" on an offer for a ride at a chosen time — a booking order.
|
|
@@ -68,6 +70,9 @@ type TigiWorker =
|
|
|
68
70
|
giveBackCycles: () -> (Result_4);
|
|
69
71
|
/// ZO-18: the rider gives up.
|
|
70
72
|
giveUp: (ref: RequestRef) -> (Result_3);
|
|
73
|
+
/// P-24 (D-46): the canister hands a request over between its drivers — an offer or a
|
|
74
|
+
/// booking of a ride at a chosen time, or a ride under way (variant B).
|
|
75
|
+
handOver: (args: HandOver) -> (ProtocolResult);
|
|
71
76
|
/// WO-20 (stage and the test modes): simulated drivers within 3 km of the point?
|
|
72
77
|
hasSimulatedDrivers: (args: HasSimulatedDriversArgs) -> (Result_3) query;
|
|
73
78
|
/// The coordinator only, in a test mode only (prod and stage refuse, and so does the
|
|
@@ -319,6 +324,7 @@ type QuoteDecline =
|
|
|
319
324
|
};
|
|
320
325
|
type Quote =
|
|
321
326
|
record {
|
|
327
|
+
card: opt DriverCardIn;
|
|
322
328
|
driverKey: DriverKey;
|
|
323
329
|
driverPosition: opt Geo;
|
|
324
330
|
etaToPickupSec: nat32;
|
|
@@ -427,6 +433,13 @@ type InitArgs =
|
|
|
427
433
|
mode: Mode;
|
|
428
434
|
};
|
|
429
435
|
type HasSimulatedDriversArgs = record {center: Geo;};
|
|
436
|
+
type HandOver =
|
|
437
|
+
record {
|
|
438
|
+
card: DriverCardIn;
|
|
439
|
+
fromKey: DriverKey;
|
|
440
|
+
requestId: RequestId;
|
|
441
|
+
toKey: DriverKey;
|
|
442
|
+
};
|
|
430
443
|
type Geohash = text;
|
|
431
444
|
type Geo =
|
|
432
445
|
record {
|
|
@@ -569,6 +582,7 @@ type CarInfo =
|
|
|
569
582
|
record {
|
|
570
583
|
colour: opt CarColour;
|
|
571
584
|
name: text;
|
|
585
|
+
photoPath: opt text;
|
|
572
586
|
plate: text;
|
|
573
587
|
};
|
|
574
588
|
type CarColour =
|
|
@@ -595,6 +609,13 @@ type BookingRef =
|
|
|
595
609
|
driverKey: DriverKey;
|
|
596
610
|
requestId: RequestId;
|
|
597
611
|
};
|
|
612
|
+
type BookingChange =
|
|
613
|
+
record {
|
|
614
|
+
card: opt DriverCardIn;
|
|
615
|
+
driverKey: DriverKey;
|
|
616
|
+
price: opt Money;
|
|
617
|
+
requestId: RequestId;
|
|
618
|
+
};
|
|
598
619
|
type AreaMap =
|
|
599
620
|
record {
|
|
600
621
|
entries: vec PrefixEntry;
|
|
@@ -3,6 +3,12 @@ import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
|
3
3
|
import type { IDL } from '@icp-sdk/core/candid';
|
|
4
4
|
|
|
5
5
|
export interface AreaMap { 'entries' : Array<PrefixEntry>, 'version' : bigint }
|
|
6
|
+
export interface BookingChange {
|
|
7
|
+
'requestId' : RequestId,
|
|
8
|
+
'card' : [] | [DriverCardIn],
|
|
9
|
+
'driverKey' : DriverKey,
|
|
10
|
+
'price' : [] | [Money],
|
|
11
|
+
}
|
|
6
12
|
export interface BookingRef { 'requestId' : RequestId, 'driverKey' : DriverKey }
|
|
7
13
|
export type CarColour = { 'red' : null } |
|
|
8
14
|
{ 'other' : null } |
|
|
@@ -21,6 +27,7 @@ export type CarColour = { 'red' : null } |
|
|
|
21
27
|
{ 'white' : null } |
|
|
22
28
|
{ 'yellow' : null };
|
|
23
29
|
export interface CarInfo {
|
|
30
|
+
'photoPath' : [] | [string],
|
|
24
31
|
'name' : string,
|
|
25
32
|
'plate' : string,
|
|
26
33
|
'colour' : [] | [CarColour],
|
|
@@ -128,6 +135,12 @@ export interface FlowStatus {
|
|
|
128
135
|
}
|
|
129
136
|
export interface Geo { 'lat' : number, 'lng' : number }
|
|
130
137
|
export type Geohash = string;
|
|
138
|
+
export interface HandOver {
|
|
139
|
+
'toKey' : DriverKey,
|
|
140
|
+
'requestId' : RequestId,
|
|
141
|
+
'card' : DriverCardIn,
|
|
142
|
+
'fromKey' : DriverKey,
|
|
143
|
+
}
|
|
131
144
|
export interface HasSimulatedDriversArgs { 'center' : Geo }
|
|
132
145
|
export interface InitArgs {
|
|
133
146
|
'home' : Principal,
|
|
@@ -200,6 +213,7 @@ export interface Quote {
|
|
|
200
213
|
'freeAtNs' : [] | [bigint],
|
|
201
214
|
'requestId' : RequestId,
|
|
202
215
|
'rideMeters' : number,
|
|
216
|
+
'card' : [] | [DriverCardIn],
|
|
203
217
|
'rideSec' : number,
|
|
204
218
|
'routeLine' : [] | [RouteLine],
|
|
205
219
|
'driverKey' : DriverKey,
|
|
@@ -379,6 +393,10 @@ export interface TigiWorker {
|
|
|
379
393
|
* / ZT-13: the rider gives the ride at a chosen time up.
|
|
380
394
|
*/
|
|
381
395
|
'cancelScheduled' : ActorMethod<[RequestRef], Result_3>,
|
|
396
|
+
/**
|
|
397
|
+
* / P-26 (D-53, D-55): the canister changes a booking's car and/or price before "Jadę".
|
|
398
|
+
*/
|
|
399
|
+
'changeBooking' : ActorMethod<[BookingChange], ProtocolResult>,
|
|
382
400
|
/**
|
|
383
401
|
* / ZO-13, ZO-14, ZO-17.
|
|
384
402
|
*/
|
|
@@ -444,6 +462,11 @@ export interface TigiWorker {
|
|
|
444
462
|
* / ZO-18: the rider gives up.
|
|
445
463
|
*/
|
|
446
464
|
'giveUp' : ActorMethod<[RequestRef], Result_3>,
|
|
465
|
+
/**
|
|
466
|
+
* / P-24 (D-46): the canister hands a request over between its drivers — an offer or a
|
|
467
|
+
* / booking of a ride at a chosen time, or a ride under way (variant B).
|
|
468
|
+
*/
|
|
469
|
+
'handOver' : ActorMethod<[HandOver], ProtocolResult>,
|
|
447
470
|
/**
|
|
448
471
|
* / WO-20 (stage and the test modes): simulated drivers within 3 km of the point?
|
|
449
472
|
*/
|
|
@@ -86,6 +86,52 @@ export const idlFactory = ({ IDL }) => {
|
|
|
86
86
|
});
|
|
87
87
|
const RequestRef = IDL.Record({ 'requestId' : RequestId });
|
|
88
88
|
const Result_3 = IDL.Variant({ 'ok' : IDL.Bool, 'err' : Error });
|
|
89
|
+
const CarColour = IDL.Variant({
|
|
90
|
+
'red' : IDL.Null,
|
|
91
|
+
'other' : IDL.Null,
|
|
92
|
+
'blue' : IDL.Null,
|
|
93
|
+
'gold' : IDL.Null,
|
|
94
|
+
'grey' : IDL.Null,
|
|
95
|
+
'orange' : IDL.Null,
|
|
96
|
+
'navy' : IDL.Null,
|
|
97
|
+
'purple' : IDL.Null,
|
|
98
|
+
'green' : IDL.Null,
|
|
99
|
+
'beige' : IDL.Null,
|
|
100
|
+
'black' : IDL.Null,
|
|
101
|
+
'silver' : IDL.Null,
|
|
102
|
+
'brown' : IDL.Null,
|
|
103
|
+
'maroon' : IDL.Null,
|
|
104
|
+
'white' : IDL.Null,
|
|
105
|
+
'yellow' : IDL.Null,
|
|
106
|
+
});
|
|
107
|
+
const CarInfo = IDL.Record({
|
|
108
|
+
'photoPath' : IDL.Opt(IDL.Text),
|
|
109
|
+
'name' : IDL.Text,
|
|
110
|
+
'plate' : IDL.Text,
|
|
111
|
+
'colour' : IDL.Opt(CarColour),
|
|
112
|
+
});
|
|
113
|
+
const CarrierKind = IDL.Variant({
|
|
114
|
+
'other' : IDL.Text,
|
|
115
|
+
'taxi' : IDL.Null,
|
|
116
|
+
'rideHailing' : IDL.Null,
|
|
117
|
+
'privateDriver' : IDL.Null,
|
|
118
|
+
});
|
|
119
|
+
const DriverCardIn = IDL.Record({
|
|
120
|
+
'car' : IDL.Opt(CarInfo),
|
|
121
|
+
'carDescription' : IDL.Text,
|
|
122
|
+
'name' : IDL.Text,
|
|
123
|
+
'carrierKind' : CarrierKind,
|
|
124
|
+
'driverKey' : DriverKey,
|
|
125
|
+
'carPhotoCount' : IDL.Nat8,
|
|
126
|
+
'hasLicencePhoto' : IDL.Bool,
|
|
127
|
+
});
|
|
128
|
+
const Money = IDL.Record({ 'currency' : IDL.Text, 'amount' : IDL.Nat64 });
|
|
129
|
+
const BookingChange = IDL.Record({
|
|
130
|
+
'requestId' : RequestId,
|
|
131
|
+
'card' : IDL.Opt(DriverCardIn),
|
|
132
|
+
'driverKey' : DriverKey,
|
|
133
|
+
'price' : IDL.Opt(Money),
|
|
134
|
+
});
|
|
89
135
|
const OfferRef = IDL.Record({
|
|
90
136
|
'requestId' : RequestId,
|
|
91
137
|
'driverKey' : DriverKey,
|
|
@@ -160,35 +206,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
160
206
|
const Result_7 = IDL.Variant({ 'ok' : RouteLine, 'err' : Error });
|
|
161
207
|
const PrefixCount = IDL.Record({ 'load' : IDL.Nat, 'prefix' : IDL.Text });
|
|
162
208
|
const Result_6 = IDL.Variant({ 'ok' : IDL.Vec(PrefixCount), 'err' : Error });
|
|
163
|
-
const CarColour = IDL.Variant({
|
|
164
|
-
'red' : IDL.Null,
|
|
165
|
-
'other' : IDL.Null,
|
|
166
|
-
'blue' : IDL.Null,
|
|
167
|
-
'gold' : IDL.Null,
|
|
168
|
-
'grey' : IDL.Null,
|
|
169
|
-
'orange' : IDL.Null,
|
|
170
|
-
'navy' : IDL.Null,
|
|
171
|
-
'purple' : IDL.Null,
|
|
172
|
-
'green' : IDL.Null,
|
|
173
|
-
'beige' : IDL.Null,
|
|
174
|
-
'black' : IDL.Null,
|
|
175
|
-
'silver' : IDL.Null,
|
|
176
|
-
'brown' : IDL.Null,
|
|
177
|
-
'maroon' : IDL.Null,
|
|
178
|
-
'white' : IDL.Null,
|
|
179
|
-
'yellow' : IDL.Null,
|
|
180
|
-
});
|
|
181
|
-
const CarInfo = IDL.Record({
|
|
182
|
-
'name' : IDL.Text,
|
|
183
|
-
'plate' : IDL.Text,
|
|
184
|
-
'colour' : IDL.Opt(CarColour),
|
|
185
|
-
});
|
|
186
|
-
const CarrierKind = IDL.Variant({
|
|
187
|
-
'other' : IDL.Text,
|
|
188
|
-
'taxi' : IDL.Null,
|
|
189
|
-
'rideHailing' : IDL.Null,
|
|
190
|
-
'privateDriver' : IDL.Null,
|
|
191
|
-
});
|
|
192
209
|
const DriverCard = IDL.Record({
|
|
193
210
|
'carDescription' : IDL.Text,
|
|
194
211
|
'name' : IDL.Text,
|
|
@@ -197,7 +214,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
197
214
|
'carPhotoCount' : IDL.Nat8,
|
|
198
215
|
'hasLicencePhoto' : IDL.Bool,
|
|
199
216
|
});
|
|
200
|
-
const Money = IDL.Record({ 'currency' : IDL.Text, 'amount' : IDL.Nat64 });
|
|
201
217
|
const Geo = IDL.Record({ 'lat' : IDL.Float64, 'lng' : IDL.Float64 });
|
|
202
218
|
const OfferView = IDL.Record({
|
|
203
219
|
'car' : IDL.Opt(CarInfo),
|
|
@@ -317,6 +333,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
317
333
|
});
|
|
318
334
|
const Result_5 = IDL.Variant({ 'ok' : WorkerStatus, 'err' : Error });
|
|
319
335
|
const Result_4 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : Error });
|
|
336
|
+
const HandOver = IDL.Record({
|
|
337
|
+
'toKey' : DriverKey,
|
|
338
|
+
'requestId' : RequestId,
|
|
339
|
+
'card' : DriverCardIn,
|
|
340
|
+
'fromKey' : DriverKey,
|
|
341
|
+
});
|
|
320
342
|
const HasSimulatedDriversArgs = IDL.Record({ 'center' : Geo });
|
|
321
343
|
const TestLoadArgs = IDL.Record({
|
|
322
344
|
'reportLevel' : IDL.Opt(IDL.Nat),
|
|
@@ -331,15 +353,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
331
353
|
'stars' : IDL.Nat8,
|
|
332
354
|
'driverKey' : DriverKey,
|
|
333
355
|
});
|
|
334
|
-
const DriverCardIn = IDL.Record({
|
|
335
|
-
'car' : IDL.Opt(CarInfo),
|
|
336
|
-
'carDescription' : IDL.Text,
|
|
337
|
-
'name' : IDL.Text,
|
|
338
|
-
'carrierKind' : CarrierKind,
|
|
339
|
-
'driverKey' : DriverKey,
|
|
340
|
-
'carPhotoCount' : IDL.Nat8,
|
|
341
|
-
'hasLicencePhoto' : IDL.Bool,
|
|
342
|
-
});
|
|
343
356
|
const Geohash = IDL.Text;
|
|
344
357
|
const RegisterBase = IDL.Record({
|
|
345
358
|
'card' : DriverCardIn,
|
|
@@ -390,6 +403,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
390
403
|
'freeAtNs' : IDL.Opt(IDL.Nat64),
|
|
391
404
|
'requestId' : RequestId,
|
|
392
405
|
'rideMeters' : IDL.Nat32,
|
|
406
|
+
'card' : IDL.Opt(DriverCardIn),
|
|
393
407
|
'rideSec' : IDL.Nat32,
|
|
394
408
|
'routeLine' : IDL.Opt(RouteLine),
|
|
395
409
|
'driverKey' : DriverKey,
|
|
@@ -405,6 +419,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
405
419
|
'bookingDropped' : IDL.Func([BookingRef], [], []),
|
|
406
420
|
'bookingStarted' : IDL.Func([BookingRef], [ProtocolResult], []),
|
|
407
421
|
'cancelScheduled' : IDL.Func([RequestRef], [Result_3], []),
|
|
422
|
+
'changeBooking' : IDL.Func([BookingChange], [ProtocolResult], []),
|
|
408
423
|
'chooseOffer' : IDL.Func([OfferRef], [Result_10], []),
|
|
409
424
|
'chooseScheduledOffer' : IDL.Func([OfferRef], [Result_10], []),
|
|
410
425
|
'clearLogs' : IDL.Func([], [], []),
|
|
@@ -422,6 +437,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
422
437
|
'getStatus' : IDL.Func([], [Result_5], ['query']),
|
|
423
438
|
'giveBackCycles' : IDL.Func([], [Result_4], []),
|
|
424
439
|
'giveUp' : IDL.Func([RequestRef], [Result_3], []),
|
|
440
|
+
'handOver' : IDL.Func([HandOver], [ProtocolResult], []),
|
|
425
441
|
'hasSimulatedDrivers' : IDL.Func(
|
|
426
442
|
[HasSimulatedDriversArgs],
|
|
427
443
|
[Result_3],
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -24,6 +24,11 @@ export interface DriverCardView {
|
|
|
24
24
|
/** One text for fronts that do not show `car` (with a fleet car: "make and model · plate"). */
|
|
25
25
|
carDescription: string;
|
|
26
26
|
carPhotoUrls: string[];
|
|
27
|
+
/**
|
|
28
|
+
* FK-N77 (2026-11-17): the driver's own photo — show it instead of the car photo. A driver
|
|
29
|
+
* without one answers no picture there (load error): fall back to `carPhotoUrls`.
|
|
30
|
+
*/
|
|
31
|
+
avatarUrl: string;
|
|
27
32
|
hasLicencePhoto: boolean;
|
|
28
33
|
/** WO-N13 (D-42): the car apart; none from a driver canister before the fleet. */
|
|
29
34
|
car?: CarView;
|
package/dist/interfaces.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,YAAY,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,wEAAwE;AACxE,MAAM,WAAW,KAAK;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG,MAAM,GAAG,aAAa,GAAG,OAAO,CAAC;AAE7E,iFAAiF;AACjF,mFAAmF;AACnF,MAAM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AM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,wIAAwI;AACxI,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,UAAU,GAAG,MAAM,EAAE,CAAC;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACrB"}
|
package/dist/mappers.d.ts
CHANGED
|
@@ -13,7 +13,12 @@ export declare function carrierOf(kind: CandidCarrierKind): {
|
|
|
13
13
|
* The URL of a car photo (P-7, `/photos/<driverKey>/<index>`), served certified by the
|
|
14
14
|
* driver canister. An empty driverKey is `_` (a path cannot hold `//` everywhere).
|
|
15
15
|
*/
|
|
16
|
-
export declare function photoUrl(driverCanister: string, driverKey: string, index: number, host?: string): string;
|
|
16
|
+
export declare function photoUrl(driverCanister: string, driverKey: string, index: number, host?: string, photoPath?: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* FK-N77: the URL of a driver's avatar (`/avatars/<driverKey>`, the boss's `_`), served certified
|
|
19
|
+
* by the driver canister.
|
|
20
|
+
*/
|
|
21
|
+
export declare function avatarUrl(driverCanister: string, driverKey: string, host?: string): string;
|
|
17
22
|
/** WO-N13 (D-42): the car apart; the colour as its code (the front translates it). */
|
|
18
23
|
export declare function carOf(car: CandidCarInfo): CarView;
|
|
19
24
|
/**
|
package/dist/mappers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../src/mappers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,WAAW,IAAI,iBAAiB,EAAE,UAAU,EAAE,KAAK,IAAI,WAAW,EAAE,UAAU,EAAE,SAAS,E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M,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,CAAC,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS;IAAE,MAAM,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,EAAE,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,EAAE,CActM;AAID;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,EAAE,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAalF"}
|
package/dist/mappers.js
CHANGED
|
@@ -22,11 +22,23 @@ export function carrierOf(kind) {
|
|
|
22
22
|
* The URL of a car photo (P-7, `/photos/<driverKey>/<index>`), served certified by the
|
|
23
23
|
* driver canister. An empty driverKey is `_` (a path cannot hold `//` everywhere).
|
|
24
24
|
*/
|
|
25
|
-
export function photoUrl(driverCanister, driverKey, index, host = MAINNET_HOST) {
|
|
25
|
+
export function photoUrl(driverCanister, driverKey, index, host = MAINNET_HOST, photoPath) {
|
|
26
26
|
const key = driverKey === "" ? "_" : encodeURIComponent(driverKey);
|
|
27
27
|
const url = new URL(host);
|
|
28
28
|
const origin = isLocalHost(host) ? `${url.protocol}//${driverCanister}.localhost${url.port ? `:${url.port}` : ""}` : `${url.protocol}//${driverCanister}.${url.host}`;
|
|
29
|
-
|
|
29
|
+
// P-25 (D-48): a booking's car has its own photos (e.g. "car/a2"), not the driver's car of now.
|
|
30
|
+
const path = photoPath === undefined ? key : photoPath.split("/").map(encodeURIComponent).join("/");
|
|
31
|
+
return `${origin}/photos/${path}/${index}`;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* FK-N77: the URL of a driver's avatar (`/avatars/<driverKey>`, the boss's `_`), served certified
|
|
35
|
+
* by the driver canister.
|
|
36
|
+
*/
|
|
37
|
+
export function avatarUrl(driverCanister, driverKey, host = MAINNET_HOST) {
|
|
38
|
+
const key = driverKey === "" ? "_" : encodeURIComponent(driverKey);
|
|
39
|
+
const url = new URL(host);
|
|
40
|
+
const origin = isLocalHost(host) ? `${url.protocol}//${driverCanister}.localhost${url.port ? `:${url.port}` : ""}` : `${url.protocol}//${driverCanister}.${url.host}`;
|
|
41
|
+
return `${origin}/avatars/${key}`;
|
|
30
42
|
}
|
|
31
43
|
/** WO-N13 (D-42): the car apart; the colour as its code (the front translates it). */
|
|
32
44
|
export function carOf(car) {
|
|
@@ -48,7 +60,8 @@ export function cardOf(card, driverCanister, host, car) {
|
|
|
48
60
|
name: card.name,
|
|
49
61
|
...carrierOf(card.carrierKind),
|
|
50
62
|
carDescription: card.carDescription,
|
|
51
|
-
carPhotoUrls: Array.from({ length: photos }, (_, index) => photoUrl(driverCanister, card.driverKey, index, host)),
|
|
63
|
+
carPhotoUrls: Array.from({ length: photos }, (_, index) => photoUrl(driverCanister, card.driverKey, index, host, info?.photoPath[0])),
|
|
64
|
+
avatarUrl: avatarUrl(driverCanister, card.driverKey, host),
|
|
52
65
|
hasLicencePhoto: card.hasLicencePhoto,
|
|
53
66
|
...(info === undefined ? {} : { car: carOf(info) }),
|
|
54
67
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsm-mit/tigi-sharded-package",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "The one package of the Tigi network group: takes the coordinator's id and hides the coordinator, the core and the workers — for a consumer the group is one canister; plus the rider's few driver-canister endpoints (U-14).",
|
|
5
5
|
"homepage": "https://github.com/JSM-Tigi/tigi-sharded/tree/master/package#readme",
|
|
6
6
|
"repository": {
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"tigiSharded": {
|
|
62
62
|
"repo": "tigi-sharded",
|
|
63
63
|
"repoUrl": "https://github.com/JSM-Tigi/tigi-sharded",
|
|
64
|
-
"commit": "
|
|
64
|
+
"commit": "2ca8173e15970c93ce5292611eb80beeb6658d3d"
|
|
65
65
|
},
|
|
66
66
|
"tigiDriverRust": {
|
|
67
67
|
"repo": "tigi-driver-rust",
|
|
68
68
|
"repoUrl": "https://github.com/JSM-Tigi/tigi-driver-rust",
|
|
69
|
-
"commit": "
|
|
69
|
+
"commit": "0316c47848d415b7d15744575ca00f52b156b26c"
|
|
70
70
|
}
|
|
71
71
|
}
|