@jsm-mit/tigi-sharded-package 0.15.0 → 0.16.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.
@@ -61,7 +61,7 @@ export const idlFactory = ({ IDL }) => {
61
61
  'addedCycles' : IDL.Nat,
62
62
  'unknown' : IDL.Nat,
63
63
  });
64
- const Result_36 = IDL.Variant({ 'ok' : ChatSharesAck, 'err' : Error });
64
+ const Result_37 = IDL.Variant({ 'ok' : ChatSharesAck, 'err' : Error });
65
65
  const CanisterArgs = IDL.Record({ 'canister' : IDL.Principal });
66
66
  const DriverCanisterKind = IDL.Variant({
67
67
  'own' : IDL.Null,
@@ -77,7 +77,7 @@ export const idlFactory = ({ IDL }) => {
77
77
  'installedAtNs' : IDL.Opt(IDL.Int),
78
78
  'leaseUntilNs' : IDL.Opt(IDL.Int),
79
79
  });
80
- const Result_7 = IDL.Variant({ 'ok' : DriverCanister, 'err' : Error });
80
+ const Result_8 = IDL.Variant({ 'ok' : DriverCanister, 'err' : Error });
81
81
  const BlockDriverArgs = IDL.Record({
82
82
  'driverKey' : IDL.Opt(IDL.Text),
83
83
  'canister' : IDL.Principal,
@@ -105,7 +105,7 @@ export const idlFactory = ({ IDL }) => {
105
105
  'versionCode' : IDL.Nat32,
106
106
  'versionName' : IDL.Text,
107
107
  });
108
- const Result_35 = IDL.Variant({ 'ok' : ApkInfo, 'err' : Error });
108
+ const Result_36 = IDL.Variant({ 'ok' : ApkInfo, 'err' : Error });
109
109
  const WasmKind = IDL.Variant({ 'simulator' : IDL.Null, 'driver' : IDL.Null });
110
110
  const WasmCommitArgs = IDL.Record({
111
111
  'sha256' : IDL.Vec(IDL.Nat8),
@@ -118,9 +118,9 @@ export const idlFactory = ({ IDL }) => {
118
118
  'size' : IDL.Nat,
119
119
  'committedAtNs' : IDL.Int,
120
120
  });
121
- const Result_34 = IDL.Variant({ 'ok' : WasmInfo, 'err' : Error });
122
- const Result_33 = IDL.Variant({ 'ok' : IDL.Principal, 'err' : Error });
123
- const Result_32 = IDL.Variant({
121
+ const Result_35 = IDL.Variant({ 'ok' : WasmInfo, 'err' : Error });
122
+ const Result_34 = IDL.Variant({ 'ok' : IDL.Principal, 'err' : Error });
123
+ const Result_33 = IDL.Variant({
124
124
  'ok' : IDL.Vec(IDL.Principal),
125
125
  'err' : Error,
126
126
  });
@@ -136,7 +136,7 @@ export const idlFactory = ({ IDL }) => {
136
136
  'pendingSinceNs' : IDL.Opt(IDL.Int),
137
137
  'rooms' : IDL.Nat,
138
138
  });
139
- const Result_31 = IDL.Variant({ 'ok' : ChatRoomsStatus, 'err' : Error });
139
+ const Result_32 = IDL.Variant({ 'ok' : ChatRoomsStatus, 'err' : Error });
140
140
  const DriverCanisterStatus = IDL.Record({
141
141
  'moduleHash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
142
142
  'blocked' : IDL.Bool,
@@ -180,7 +180,7 @@ export const idlFactory = ({ IDL }) => {
180
180
  'paidTotal' : IDL.Nat,
181
181
  'lastFee' : IDL.Opt(FeeRecord),
182
182
  });
183
- const Result_30 = IDL.Variant({ 'ok' : DriverFeeAccountView, 'err' : Error });
183
+ const Result_31 = IDL.Variant({ 'ok' : DriverFeeAccountView, 'err' : Error });
184
184
  const FeeBillAnswer = IDL.Record({
185
185
  'day' : IDL.Nat,
186
186
  'settled' : IDL.Bool,
@@ -190,14 +190,14 @@ export const idlFactory = ({ IDL }) => {
190
190
  'multiplierPermille' : IDL.Nat,
191
191
  'rates' : FeeRates,
192
192
  });
193
- const Result_29 = IDL.Variant({ 'ok' : FeeBillAnswer, 'err' : Error });
193
+ const Result_30 = IDL.Variant({ 'ok' : FeeBillAnswer, 'err' : Error });
194
194
  const DriverRatingArgs = IDL.Record({
195
195
  'driverKey' : IDL.Text,
196
196
  'canister' : IDL.Principal,
197
197
  });
198
198
  const Rating = IDL.Record({ 'sum' : IDL.Nat, 'count' : IDL.Nat });
199
- const Result_25 = IDL.Variant({ 'ok' : IDL.Opt(Rating), 'err' : Error });
200
- const Result_28 = IDL.Variant({ 'ok' : IDL.Opt(RolloutView), 'err' : Error });
199
+ const Result_26 = IDL.Variant({ 'ok' : IDL.Opt(Rating), 'err' : Error });
200
+ const Result_29 = IDL.Variant({ 'ok' : IDL.Opt(RolloutView), 'err' : Error });
201
201
  const FactoryStatus = IDL.Record({
202
202
  'simulator' : IDL.Opt(IDL.Principal),
203
203
  'mode' : Mode,
@@ -209,7 +209,7 @@ export const idlFactory = ({ IDL }) => {
209
209
  'driverWasm' : IDL.Opt(WasmInfo),
210
210
  'registered' : IDL.Nat,
211
211
  });
212
- const Result_27 = IDL.Variant({ 'ok' : FactoryStatus, 'err' : Error });
212
+ const Result_28 = IDL.Variant({ 'ok' : FactoryStatus, 'err' : Error });
213
213
  const FeeStatus = IDL.Record({
214
214
  'multiplier' : IDL.Opt(
215
215
  IDL.Record({ 'day' : IDL.Nat, 'permille' : IDL.Nat })
@@ -229,7 +229,8 @@ export const idlFactory = ({ IDL }) => {
229
229
  'paidTotal' : IDL.Nat,
230
230
  'rates' : FeeRates,
231
231
  });
232
- const Result_26 = IDL.Variant({ 'ok' : FeeStatus, 'err' : Error });
232
+ const Result_27 = IDL.Variant({ 'ok' : FeeStatus, 'err' : Error });
233
+ const MapPlacesConfig = IDL.Record({ 'coordinatorId' : IDL.Principal });
233
234
  const MapRoutesConfig = IDL.Record({ 'coordinatorId' : IDL.Principal });
234
235
  const Profile = IDL.Record({
235
236
  'updatedAtNs' : IDL.Int,
@@ -258,7 +259,7 @@ export const idlFactory = ({ IDL }) => {
258
259
  'rider' : IDL.Principal,
259
260
  'myRating' : IDL.Opt(IDL.Nat8),
260
261
  });
261
- const Result_24 = IDL.Variant({ 'ok' : RideView, 'err' : Error });
262
+ const Result_25 = IDL.Variant({ 'ok' : RideView, 'err' : Error });
262
263
  const RidesPageArgs = IDL.Record({
263
264
  'beforeIndex' : IDL.Opt(IDL.Nat),
264
265
  'limit' : IDL.Nat,
@@ -267,13 +268,13 @@ export const idlFactory = ({ IDL }) => {
267
268
  'nextBeforeIndex' : IDL.Opt(IDL.Nat),
268
269
  'rides' : IDL.Vec(RideView),
269
270
  });
270
- const Result_23 = IDL.Variant({ 'ok' : RidesPage, 'err' : Error });
271
+ const Result_24 = IDL.Variant({ 'ok' : RidesPage, 'err' : Error });
271
272
  const ProfilesArgs = IDL.Record({ 'principals' : IDL.Vec(IDL.Principal) });
272
273
  const ProfileEntry = IDL.Record({
273
274
  'principal' : IDL.Principal,
274
275
  'name' : IDL.Text,
275
276
  });
276
- const Result_22 = IDL.Variant({
277
+ const Result_23 = IDL.Variant({
277
278
  'ok' : IDL.Vec(ProfileEntry),
278
279
  'err' : Error,
279
280
  });
@@ -287,8 +288,8 @@ export const idlFactory = ({ IDL }) => {
287
288
  'knownWorkers' : IDL.Vec(IDL.Principal),
288
289
  'coordinator' : IDL.Opt(IDL.Principal),
289
290
  });
290
- const Result_21 = IDL.Variant({ 'ok' : Wiring, 'err' : Error });
291
- const Result_20 = IDL.Variant({
291
+ const Result_22 = IDL.Variant({ 'ok' : Wiring, 'err' : Error });
292
+ const Result_21 = IDL.Variant({
292
293
  'ok' : IDL.Record({
293
294
  'subjects' : IDL.Nat,
294
295
  'headSeq' : IDL.Nat64,
@@ -341,7 +342,7 @@ export const idlFactory = ({ IDL }) => {
341
342
  'rejected' : IDL.Nat,
342
343
  'ratingsCounted' : IDL.Nat,
343
344
  });
344
- const Result_19 = IDL.Variant({ 'ok' : RideBatchResult, 'err' : Error });
345
+ const Result_20 = IDL.Variant({ 'ok' : RideBatchResult, 'err' : Error });
345
346
  const ClaimCode = IDL.Record({
346
347
  'expiresAtNs' : IDL.Int,
347
348
  'code' : IDL.Text,
@@ -362,7 +363,7 @@ export const idlFactory = ({ IDL }) => {
362
363
  'busy' : IDL.Record({ 'untilNs' : IDL.Int }),
363
364
  'leased' : LeasedCanister,
364
365
  });
365
- const Result_18 = IDL.Variant({ 'ok' : LeaseAnswer, 'err' : Error });
366
+ const Result_19 = IDL.Variant({ 'ok' : LeaseAnswer, 'err' : Error });
366
367
  const PageArgs = IDL.Record({ 'offset' : IDL.Nat, 'limit' : IDL.Nat });
367
368
  const BlockTarget = IDL.Variant({
368
369
  'driverCanister' : IDL.Principal,
@@ -378,13 +379,13 @@ export const idlFactory = ({ IDL }) => {
378
379
  'target' : BlockTarget,
379
380
  'reason' : IDL.Text,
380
381
  });
381
- const Result_17 = IDL.Variant({ 'ok' : IDL.Vec(Block), 'err' : Error });
382
+ const Result_18 = IDL.Variant({ 'ok' : IDL.Vec(Block), 'err' : Error });
382
383
  const DriverCanistersPage = IDL.Record({
383
384
  'total' : IDL.Nat,
384
385
  'canisters' : IDL.Vec(DriverCanister),
385
386
  });
386
- const Result_16 = IDL.Variant({ 'ok' : DriverCanistersPage, 'err' : Error });
387
- const Result_15 = IDL.Variant({
387
+ const Result_17 = IDL.Variant({ 'ok' : DriverCanistersPage, 'err' : Error });
388
+ const Result_16 = IDL.Variant({
388
389
  'ok' : IDL.Vec(DriverFeeAccountView),
389
390
  'err' : Error,
390
391
  });
@@ -396,7 +397,7 @@ export const idlFactory = ({ IDL }) => {
396
397
  'roomId' : IDL.Text,
397
398
  'synced' : IDL.Bool,
398
399
  });
399
- const Result_14 = IDL.Variant({
400
+ const Result_15 = IDL.Variant({
400
401
  'ok' : IDL.Vec(DriverRoomView),
401
402
  'err' : Error,
402
403
  });
@@ -414,15 +415,15 @@ export const idlFactory = ({ IDL }) => {
414
415
  'copy' : IDL.Principal,
415
416
  'validUntilNs' : IDL.Nat64,
416
417
  });
417
- const Result_13 = IDL.Variant({ 'ok' : MapTicket, 'err' : Error });
418
- const Result_12 = IDL.Variant({ 'ok' : ClaimCode, 'err' : Error });
418
+ const Result_12 = IDL.Variant({ 'ok' : MapTicket, 'err' : Error });
419
+ const Result_14 = IDL.Variant({ 'ok' : ClaimCode, 'err' : Error });
419
420
  const FeePayArgs = IDL.Record({ 'day' : IDL.Nat });
420
421
  const FeePaid = IDL.Record({
421
422
  'day' : IDL.Nat,
422
423
  'accepted' : IDL.Nat,
423
424
  'amount' : IDL.Nat,
424
425
  });
425
- const Result_11 = IDL.Variant({ 'ok' : FeePaid, 'err' : Error });
426
+ const Result_13 = IDL.Variant({ 'ok' : FeePaid, 'err' : Error });
426
427
  const DriverCanisterQuote = IDL.Record({
427
428
  'accountId' : IDL.Vec(IDL.Nat8),
428
429
  'minimumE8s' : IDL.Nat,
@@ -431,7 +432,7 @@ export const idlFactory = ({ IDL }) => {
431
432
  'suggestedE8s' : IDL.Nat,
432
433
  'priceCycles' : IDL.Nat,
433
434
  });
434
- const Result_10 = IDL.Variant({ 'ok' : DriverCanisterQuote, 'err' : Error });
435
+ const Result_11 = IDL.Variant({ 'ok' : DriverCanisterQuote, 'err' : Error });
435
436
  const RateRideArgs = IDL.Record({
436
437
  'requestId' : IDL.Text,
437
438
  'stars' : IDL.Nat8,
@@ -441,15 +442,16 @@ export const idlFactory = ({ IDL }) => {
441
442
  'rated' : IDL.Null,
442
443
  'alreadyRated' : IDL.Null,
443
444
  });
444
- const Result_9 = IDL.Variant({ 'ok' : RateRideOutcome, 'err' : Error });
445
- const Result_8 = IDL.Variant({ 'ok' : ChatConfig, 'err' : Error });
445
+ const Result_10 = IDL.Variant({ 'ok' : RateRideOutcome, 'err' : Error });
446
+ const Result_9 = IDL.Variant({ 'ok' : ChatConfig, 'err' : Error });
446
447
  const ClaimTtlArgs = IDL.Record({ 'seconds' : IDL.Nat });
447
448
  const Result = IDL.Variant({ 'ok' : IDL.Nat, 'err' : Error });
448
449
  const DemoAutomatArgs = IDL.Record({
449
450
  'canister' : IDL.Principal,
450
451
  'automat' : IDL.Principal,
451
452
  });
452
- const Result_6 = IDL.Variant({ 'ok' : FeeRates, 'err' : Error });
453
+ const Result_7 = IDL.Variant({ 'ok' : FeeRates, 'err' : Error });
454
+ const Result_6 = IDL.Variant({ 'ok' : MapPlacesConfig, 'err' : Error });
453
455
  const Result_5 = IDL.Variant({ 'ok' : MapRoutesConfig, 'err' : Error });
454
456
  const SetProfileArgs = IDL.Record({ 'name' : IDL.Text });
455
457
  const SimulatorRouterArgs = IDL.Record({ 'router' : IDL.Opt(IDL.Principal) });
@@ -472,21 +474,21 @@ export const idlFactory = ({ IDL }) => {
472
474
  const TigiCore = IDL.Service({
473
475
  'abortDriverRollout' : IDL.Func([], [Result_3], []),
474
476
  'addAdmin' : IDL.Func([PrincipalArgs], [Result_2], []),
475
- 'addChatShares' : IDL.Func([ChatSharesArgs], [Result_36], []),
476
- 'addPoolCanister' : IDL.Func([CanisterArgs], [Result_7], []),
477
+ 'addChatShares' : IDL.Func([ChatSharesArgs], [Result_37], []),
478
+ 'addPoolCanister' : IDL.Func([CanisterArgs], [Result_8], []),
477
479
  'blockDriver' : IDL.Func([BlockDriverArgs], [Result_2], []),
478
480
  'blockRider' : IDL.Func([BlockRiderArgs], [Result_2], []),
479
- 'claimDriverCanister' : IDL.Func([ClaimArgs], [Result_7], []),
481
+ 'claimDriverCanister' : IDL.Func([ClaimArgs], [Result_8], []),
480
482
  'clearLogs' : IDL.Func([], [], []),
481
- 'commitDriverApk' : IDL.Func([ApkCommitArgs], [Result_35], []),
482
- 'commitDriverWasm' : IDL.Func([WasmCommitArgs], [Result_34], []),
483
- 'createLocalPoolCanister' : IDL.Func([], [Result_7], []),
484
- 'createMyDriverCanister' : IDL.Func([], [Result_7], []),
485
- 'ensureSimulator' : IDL.Func([], [Result_33], []),
486
- 'extendDemoLease' : IDL.Func([], [Result_7], []),
487
- 'getAdmins' : IDL.Func([], [Result_32], ['query']),
483
+ 'commitDriverApk' : IDL.Func([ApkCommitArgs], [Result_36], []),
484
+ 'commitDriverWasm' : IDL.Func([WasmCommitArgs], [Result_35], []),
485
+ 'createLocalPoolCanister' : IDL.Func([], [Result_8], []),
486
+ 'createMyDriverCanister' : IDL.Func([], [Result_8], []),
487
+ 'ensureSimulator' : IDL.Func([], [Result_34], []),
488
+ 'extendDemoLease' : IDL.Func([], [Result_8], []),
489
+ 'getAdmins' : IDL.Func([], [Result_33], ['query']),
488
490
  'getChatConfig' : IDL.Func([], [IDL.Opt(ChatConfig)], ['query']),
489
- 'getChatRoomsStatus' : IDL.Func([], [Result_31], ['query']),
491
+ 'getChatRoomsStatus' : IDL.Func([], [Result_32], ['query']),
490
492
  'getDriverApk' : IDL.Func([], [IDL.Opt(ApkInfo)], ['query']),
491
493
  'getDriverApkChunk' : IDL.Func(
492
494
  [IDL.Nat32],
@@ -498,45 +500,48 @@ export const idlFactory = ({ IDL }) => {
498
500
  [DriverCanisterStatus],
499
501
  ['query'],
500
502
  ),
501
- 'getDriverFeeAccount' : IDL.Func([CanisterArgs], [Result_30], ['query']),
502
- 'getDriverFeeBill' : IDL.Func([], [Result_29], []),
503
- 'getDriverRating' : IDL.Func([DriverRatingArgs], [Result_25], ['query']),
504
- 'getDriverRollout' : IDL.Func([], [Result_28], ['query']),
505
- 'getFactoryStatus' : IDL.Func([], [Result_27], ['query']),
506
- 'getFeeStatus' : IDL.Func([], [Result_26], ['query']),
503
+ 'getDriverFeeAccount' : IDL.Func([CanisterArgs], [Result_31], ['query']),
504
+ 'getDriverFeeBill' : IDL.Func([], [Result_30], []),
505
+ 'getDriverRating' : IDL.Func([DriverRatingArgs], [Result_26], ['query']),
506
+ 'getDriverRollout' : IDL.Func([], [Result_29], ['query']),
507
+ 'getFactoryStatus' : IDL.Func([], [Result_28], ['query']),
508
+ 'getFeeStatus' : IDL.Func([], [Result_27], ['query']),
507
509
  'getLogs' : IDL.Func([], [IDL.Text], ['query']),
510
+ 'getMapPlacesConfig' : IDL.Func([], [IDL.Opt(MapPlacesConfig)], ['query']),
508
511
  'getMapRoutesConfig' : IDL.Func([], [IDL.Opt(MapRoutesConfig)], ['query']),
509
- 'getMyDriverCanister' : IDL.Func([], [Result_7], ['query']),
512
+ 'getMyDriverCanister' : IDL.Func([], [Result_8], ['query']),
510
513
  'getMyProfile' : IDL.Func([], [Result_4], ['query']),
511
- 'getMyRating' : IDL.Func([], [Result_25], ['query']),
512
- 'getMyRide' : IDL.Func([RequestIdArgs], [Result_24], ['query']),
513
- 'getMyRides' : IDL.Func([RidesPageArgs], [Result_23], ['query']),
514
- 'getProfiles' : IDL.Func([ProfilesArgs], [Result_22], ['query']),
514
+ 'getMyRating' : IDL.Func([], [Result_26], ['query']),
515
+ 'getMyRide' : IDL.Func([RequestIdArgs], [Result_25], ['query']),
516
+ 'getMyRides' : IDL.Func([RidesPageArgs], [Result_24], ['query']),
517
+ 'getProfiles' : IDL.Func([ProfilesArgs], [Result_23], ['query']),
515
518
  'getReleasedDriverWasms' : IDL.Func([], [IDL.Vec(ReleasedWasm)], ['query']),
516
519
  'getSimulator' : IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
517
- 'getWiring' : IDL.Func([], [Result_21], ['query']),
518
- 'getWorkerOutbox' : IDL.Func([], [Result_20], ['query']),
520
+ 'getWiring' : IDL.Func([], [Result_22], ['query']),
521
+ 'getWorkerOutbox' : IDL.Func([], [Result_21], ['query']),
519
522
  'helloFromWorker' : IDL.Func([], [Result_2], []),
520
- 'ingestRideBatch' : IDL.Func([RideBatch], [Result_19], []),
523
+ 'ingestRideBatch' : IDL.Func([RideBatch], [Result_20], []),
521
524
  'isUser' : IDL.Func([IDL.Principal], [IDL.Bool], ['query']),
522
- 'leaseDemoDriverCanister' : IDL.Func([], [Result_18], []),
523
- 'listBlocks' : IDL.Func([PageArgs], [Result_17], ['query']),
524
- 'listDriverCanisters' : IDL.Func([PageArgs], [Result_16], ['query']),
525
- 'listDriverFeeAccounts' : IDL.Func([PageArgs], [Result_15], ['query']),
526
- 'listDriverRooms' : IDL.Func([PageArgs], [Result_14], ['query']),
527
- 'mapTicket' : IDL.Func([MapTicketArgs], [Result_13], []),
528
- 'newClaimCode' : IDL.Func([], [Result_12], []),
529
- 'payDriverFee' : IDL.Func([FeePayArgs], [Result_11], []),
530
- 'quoteMyDriverCanister' : IDL.Func([], [Result_10], []),
531
- 'rateMyRide' : IDL.Func([RateRideArgs], [Result_9], []),
525
+ 'leaseDemoDriverCanister' : IDL.Func([], [Result_19], []),
526
+ 'listBlocks' : IDL.Func([PageArgs], [Result_18], ['query']),
527
+ 'listDriverCanisters' : IDL.Func([PageArgs], [Result_17], ['query']),
528
+ 'listDriverFeeAccounts' : IDL.Func([PageArgs], [Result_16], ['query']),
529
+ 'listDriverRooms' : IDL.Func([PageArgs], [Result_15], ['query']),
530
+ 'mapTicket' : IDL.Func([MapTicketArgs], [Result_12], []),
531
+ 'newClaimCode' : IDL.Func([], [Result_14], []),
532
+ 'payDriverFee' : IDL.Func([FeePayArgs], [Result_13], []),
533
+ 'placesTicket' : IDL.Func([MapTicketArgs], [Result_12], []),
534
+ 'quoteMyDriverCanister' : IDL.Func([], [Result_11], []),
535
+ 'rateMyRide' : IDL.Func([RateRideArgs], [Result_10], []),
532
536
  'removeAdmin' : IDL.Func([PrincipalArgs], [Result_2], []),
533
537
  'resumeDriverRollout' : IDL.Func([], [Result_3], []),
534
- 'setChatConfig' : IDL.Func([ChatConfig], [Result_8], []),
538
+ 'setChatConfig' : IDL.Func([ChatConfig], [Result_9], []),
535
539
  'setClaimCodeTtl' : IDL.Func([ClaimTtlArgs], [Result], []),
536
- 'setDemoDriverAutomat' : IDL.Func([DemoAutomatArgs], [Result_7], []),
537
- 'setFeeRates' : IDL.Func([FeeRates], [Result_6], []),
540
+ 'setDemoDriverAutomat' : IDL.Func([DemoAutomatArgs], [Result_8], []),
541
+ 'setFeeRates' : IDL.Func([FeeRates], [Result_7], []),
538
542
  'setLoggingEnabled' : IDL.Func([IDL.Bool], [Result_2], []),
539
543
  'setLowCyclesBelow' : IDL.Func([IDL.Nat], [Result_2], []),
544
+ 'setMapPlacesConfig' : IDL.Func([MapPlacesConfig], [Result_6], []),
540
545
  'setMapRoutesConfig' : IDL.Func([MapRoutesConfig], [Result_5], []),
541
546
  'setMyProfile' : IDL.Func([SetProfileArgs], [Result_4], []),
542
547
  'setSimulatorRouter' : IDL.Func([SimulatorRouterArgs], [Result_2], []),
@@ -1,6 +1,6 @@
1
1
  import type { Identity } from "@icp-sdk/core/agent";
2
2
  import { type GroupOptions } from "../group/canister-actor.js";
3
- import type { MyRatingView, Profile, RateRideOutcome, RideHistoryEntry, RideHistoryPage } from "../interfaces.js";
3
+ import type { MapTicketRequest, MapTicketView, MyRatingView, Profile, RateRideOutcome, RideHistoryEntry, RideHistoryPage } from "../interfaces.js";
4
4
  /** KU-1: a page of the rider's history. */
5
5
  export declare const RIDES_PAGE = 20;
6
6
  export declare class ProfilesActor {
@@ -56,5 +56,27 @@ export declare class ProfilesActor {
56
56
  * @throws Error with message `CriticalCanisterError` — the core could not be reached
57
57
  */
58
58
  ratePastRideAsyncUnsafe(rideRef: string, stars: number): Promise<RateRideOutcome>;
59
+ /**
60
+ * C-31: the coordinator of the map-places group of this environment (the `coordinatorId` of
61
+ * `MapPlacesClient`), or undefined when the environment has none (`setMapPlacesConfig` not
62
+ * set). A public query; any identity may ask.
63
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
64
+ */
65
+ mapPlacesCoordinatorAsyncUnsafe(): Promise<string | undefined>;
66
+ /**
67
+ * C-32, C-33: the map-places ticket of the signed-in rider (not blocked) for an area and a
68
+ * bbox — the search of Skąd / Dokąd while the copy of signed-out users does not serve. The
69
+ * answer has the shape of `IssuedTicket` of `@jsm-mit/map-places-replicated-shards-package`,
70
+ * so it is the `ticketProvider` of its `MapPlacesClient` as it is:
71
+ * `new MapPlacesClient({ coordinatorId, identity, ticketProvider: (r) => profiles.placesTicketAsyncUnsafe(r) })`.
72
+ * The rider queries the copies with the identity that asked for the ticket.
73
+ * @throws Error with message `CanisterError` — `NotAuthorized` (anonymous, or a blocked
74
+ * rider), `InvalidData` (a bad area or bbox, or no map-places group in this
75
+ * environment), `RemoteCanisterError` ("<Variant>: <reason>" of the map-places group,
76
+ * e.g. "Blocked: …", "RateLimited: …", or the group could not be reached)
77
+ * @throws Error with message `CallRefusedAtInspectionStage` — anonymous, or a blocked rider
78
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
79
+ */
80
+ placesTicketAsyncUnsafe(request: MapTicketRequest): Promise<MapTicketView>;
59
81
  }
60
82
  //# sourceMappingURL=profiles-actor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profiles-actor.d.ts","sourceRoot":"","sources":["../../src/actors/profiles-actor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAiD,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE9G,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGlH,2CAA2C;AAC3C,eAAO,MAAM,UAAU,KAAK,CAAC;AAQ7B,qBAAa,aAAa;IACtB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAY;gBAEtB,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,GAAE,YAAiB;IAIjF;;;;;;OAMG;IACU,uBAAuB,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IASpE;;;;;OAKG;IACU,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpE;;;;;;OAMG;IACU,sBAAsB,IAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC;IAUxE;;;;;;OAMG;IACU,qBAAqB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,GAAE,MAAmB,GAAG,OAAO,CAAC,eAAe,CAAC;IAUzG;;;;;;OAMG;IACU,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAUzF;;;;;;;;;OASG;IACU,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;CAajG"}
1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gB,GAAG,OAAO,CAAC,aAAa,CAAC;CAG1F"}
@@ -1,6 +1,6 @@
1
1
  // The rider's account and history in the core (core.md C-2, C-3, C-8; U-20, U-21). The core
2
2
  // is found through the coordinator (sharding.md): the consumer gives the coordinator's id.
3
- import { canisterError, errorKeyOf, executeAsyncUnsafe } from "../group/canister-actor.js";
3
+ import { canisterError, errorKeyOf, executeAsyncUnsafe, transportAsync } from "../group/canister-actor.js";
4
4
  import { TigiGroup } from "../group/group.js";
5
5
  import { decodeToken, encodeToken, historyEntryOf, rateOutcomeOf, rideOfRideRef } from "../mappers.js";
6
6
  /** KU-1: a page of the rider's history. */
@@ -114,4 +114,31 @@ export class ProfilesActor {
114
114
  throw err;
115
115
  }
116
116
  }
117
+ /**
118
+ * C-31: the coordinator of the map-places group of this environment (the `coordinatorId` of
119
+ * `MapPlacesClient`), or undefined when the environment has none (`setMapPlacesConfig` not
120
+ * set). A public query; any identity may ask.
121
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
122
+ */
123
+ async mapPlacesCoordinatorAsyncUnsafe() {
124
+ const answer = await transportAsync(async () => (await this.group.coreAsync()).getMapPlacesConfig());
125
+ return answer[0]?.coordinatorId.toText();
126
+ }
127
+ /**
128
+ * C-32, C-33: the map-places ticket of the signed-in rider (not blocked) for an area and a
129
+ * bbox — the search of Skąd / Dokąd while the copy of signed-out users does not serve. The
130
+ * answer has the shape of `IssuedTicket` of `@jsm-mit/map-places-replicated-shards-package`,
131
+ * so it is the `ticketProvider` of its `MapPlacesClient` as it is:
132
+ * `new MapPlacesClient({ coordinatorId, identity, ticketProvider: (r) => profiles.placesTicketAsyncUnsafe(r) })`.
133
+ * The rider queries the copies with the identity that asked for the ticket.
134
+ * @throws Error with message `CanisterError` — `NotAuthorized` (anonymous, or a blocked
135
+ * rider), `InvalidData` (a bad area or bbox, or no map-places group in this
136
+ * environment), `RemoteCanisterError` ("<Variant>: <reason>" of the map-places group,
137
+ * e.g. "Blocked: …", "RateLimited: …", or the group could not be reached)
138
+ * @throws Error with message `CallRefusedAtInspectionStage` — anonymous, or a blocked rider
139
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
140
+ */
141
+ async placesTicketAsyncUnsafe(request) {
142
+ return executeAsyncUnsafe(async () => (await this.group.coreAsync()).placesTicket({ area: request.area, bbox: request.bbox }));
143
+ }
117
144
  }
@@ -283,15 +283,16 @@ export interface MapBboxView {
283
283
  maxLat: number;
284
284
  maxLon: number;
285
285
  }
286
- /** C-29: what a driver asks a map-routes ticket for: an area of the map group and a bbox in it. */
286
+ /** C-29, C-32: what a driver asks a map-routes ticket for (a rider: a map-places ticket): an area of the map group and a bbox in it. */
287
287
  export interface MapTicketRequest {
288
288
  area: string;
289
289
  bbox: MapBboxView;
290
290
  }
291
291
  /**
292
- * C-29: the map-routes ticket of a driver, as the map group's ticket core issued it: the signed
293
- * ticket, the replicated instance (`copy`) it is good on, its end and what it covers. The shape
294
- * of `IssuedTicket` of `@jsm-mit/map-routes-replicated-shards-package`.
292
+ * C-29, C-32: the map-routes ticket of a driver (or the map-places ticket of a rider), as the map
293
+ * group's ticket core issued it: the signed ticket, the replicated instance (`copy`) it is good
294
+ * on, its end and what it covers. The shape of `IssuedTicket` of
295
+ * `@jsm-mit/map-routes-replicated-shards-package` and `@jsm-mit/map-places-replicated-shards-package`.
295
296
  */
296
297
  export interface MapTicketView {
297
298
  ticket: Uint8Array | number[];
@@ -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,MA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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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsm-mit/tigi-sharded-package",
3
- "version": "0.15.0",
3
+ "version": "0.16.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": "1c8e5adbe6e99d27d6493f1c870e42e4c9f72067"
64
+ "commit": "319ea84e099bc0a100cf5cc607ee59b141bf88a9"
65
65
  },
66
66
  "tigiDriverRust": {
67
67
  "repo": "tigi-driver-rust",
68
68
  "repoUrl": "https://github.com/JSM-Tigi/tigi-driver-rust",
69
- "commit": "90bc1d89f86c40b504e7f8d80ca209c1d5c10353"
69
+ "commit": "36b0ff7e4945e62988b756b782d13582607599ba"
70
70
  }
71
71
  }