@jsm-mit/tigi-sharded-package 0.12.0 → 0.14.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/README.md +25 -2
- package/declarations/coordinator/coordinator.did +5 -0
- package/declarations/coordinator/coordinator.did.d.ts +7 -0
- package/declarations/coordinator/coordinator.did.js +1 -0
- package/declarations/core/core.did +115 -73
- package/declarations/core/core.did.d.ts +104 -70
- package/declarations/core/core.did.js +87 -67
- package/dist/actors/driver-canisters-actor.d.ts +23 -1
- package/dist/actors/driver-canisters-actor.d.ts.map +1 -1
- package/dist/actors/driver-canisters-actor.js +28 -1
- package/dist/interfaces.d.ts +25 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -229,6 +229,21 @@ export interface LeasedCanister {
|
|
|
229
229
|
'installedAtNs' : [] | [bigint],
|
|
230
230
|
'leaseUntilNs' : [] | [bigint],
|
|
231
231
|
}
|
|
232
|
+
export interface MapBbox {
|
|
233
|
+
'minLat' : number,
|
|
234
|
+
'minLon' : number,
|
|
235
|
+
'maxLat' : number,
|
|
236
|
+
'maxLon' : number,
|
|
237
|
+
}
|
|
238
|
+
export interface MapPass {
|
|
239
|
+
'area' : string,
|
|
240
|
+
'bbox' : MapBbox,
|
|
241
|
+
'copy' : Principal,
|
|
242
|
+
'pass' : Uint8Array | number[],
|
|
243
|
+
'validUntilNs' : bigint,
|
|
244
|
+
}
|
|
245
|
+
export interface MapPassArgs { 'area' : string, 'bbox' : MapBbox }
|
|
246
|
+
export interface MapRoutesConfig { 'coordinatorId' : Principal }
|
|
232
247
|
export type Mode = { 'localTest' : null } |
|
|
233
248
|
{ 'prod' : null } |
|
|
234
249
|
{ 'test' : null } |
|
|
@@ -268,23 +283,29 @@ export type Result = { 'ok' : bigint } |
|
|
|
268
283
|
{ 'err' : Error };
|
|
269
284
|
export type Result_1 = { 'ok' : Uint8Array | number[] } |
|
|
270
285
|
{ 'err' : Error };
|
|
271
|
-
export type Result_10 = { 'ok' :
|
|
286
|
+
export type Result_10 = { 'ok' : DriverCanisterQuote } |
|
|
272
287
|
{ 'err' : Error };
|
|
273
|
-
export type Result_11 = { 'ok' :
|
|
288
|
+
export type Result_11 = { 'ok' : FeePaid } |
|
|
274
289
|
{ 'err' : Error };
|
|
275
|
-
export type Result_12 = { 'ok' :
|
|
290
|
+
export type Result_12 = { 'ok' : ClaimCode } |
|
|
276
291
|
{ 'err' : Error };
|
|
277
|
-
export type Result_13 = { 'ok' :
|
|
292
|
+
export type Result_13 = { 'ok' : MapPass } |
|
|
278
293
|
{ 'err' : Error };
|
|
279
|
-
export type Result_14 = { 'ok' :
|
|
294
|
+
export type Result_14 = { 'ok' : Array<DriverRoomView> } |
|
|
280
295
|
{ 'err' : Error };
|
|
281
|
-
export type Result_15 = { 'ok' : Array<
|
|
296
|
+
export type Result_15 = { 'ok' : Array<DriverFeeAccountView> } |
|
|
282
297
|
{ 'err' : Error };
|
|
283
|
-
export type Result_16 = { 'ok' :
|
|
298
|
+
export type Result_16 = { 'ok' : DriverCanistersPage } |
|
|
284
299
|
{ 'err' : Error };
|
|
285
|
-
export type Result_17 = { 'ok' :
|
|
300
|
+
export type Result_17 = { 'ok' : Array<Block> } |
|
|
286
301
|
{ 'err' : Error };
|
|
287
|
-
export type Result_18 = {
|
|
302
|
+
export type Result_18 = { 'ok' : LeaseAnswer } |
|
|
303
|
+
{ 'err' : Error };
|
|
304
|
+
export type Result_19 = { 'ok' : RideBatchResult } |
|
|
305
|
+
{ 'err' : Error };
|
|
306
|
+
export type Result_2 = { 'ok' : boolean } |
|
|
307
|
+
{ 'err' : Error };
|
|
308
|
+
export type Result_20 = {
|
|
288
309
|
'ok' : {
|
|
289
310
|
'subjects' : bigint,
|
|
290
311
|
'headSeq' : bigint,
|
|
@@ -293,53 +314,51 @@ export type Result_18 = {
|
|
|
293
314
|
}
|
|
294
315
|
} |
|
|
295
316
|
{ 'err' : Error };
|
|
296
|
-
export type
|
|
297
|
-
{ 'err' : Error };
|
|
298
|
-
export type Result_2 = { 'ok' : boolean } |
|
|
317
|
+
export type Result_21 = { 'ok' : Wiring } |
|
|
299
318
|
{ 'err' : Error };
|
|
300
|
-
export type
|
|
319
|
+
export type Result_22 = { 'ok' : Array<ProfileEntry> } |
|
|
301
320
|
{ 'err' : Error };
|
|
302
|
-
export type
|
|
321
|
+
export type Result_23 = { 'ok' : RidesPage } |
|
|
303
322
|
{ 'err' : Error };
|
|
304
|
-
export type
|
|
323
|
+
export type Result_24 = { 'ok' : RideView } |
|
|
305
324
|
{ 'err' : Error };
|
|
306
|
-
export type
|
|
325
|
+
export type Result_25 = { 'ok' : [] | [Rating] } |
|
|
307
326
|
{ 'err' : Error };
|
|
308
|
-
export type
|
|
327
|
+
export type Result_26 = { 'ok' : FeeStatus } |
|
|
309
328
|
{ 'err' : Error };
|
|
310
|
-
export type
|
|
329
|
+
export type Result_27 = { 'ok' : FactoryStatus } |
|
|
311
330
|
{ 'err' : Error };
|
|
312
|
-
export type
|
|
331
|
+
export type Result_28 = { 'ok' : [] | [RolloutView] } |
|
|
313
332
|
{ 'err' : Error };
|
|
314
|
-
export type
|
|
333
|
+
export type Result_29 = { 'ok' : FeeBillAnswer } |
|
|
315
334
|
{ 'err' : Error };
|
|
316
|
-
export type
|
|
335
|
+
export type Result_3 = { 'ok' : RolloutView } |
|
|
317
336
|
{ 'err' : Error };
|
|
318
|
-
export type
|
|
337
|
+
export type Result_30 = { 'ok' : DriverFeeAccountView } |
|
|
319
338
|
{ 'err' : Error };
|
|
320
|
-
export type
|
|
339
|
+
export type Result_31 = { 'ok' : ChatRoomsStatus } |
|
|
321
340
|
{ 'err' : Error };
|
|
322
|
-
export type
|
|
341
|
+
export type Result_32 = { 'ok' : Array<Principal> } |
|
|
323
342
|
{ 'err' : Error };
|
|
324
|
-
export type
|
|
343
|
+
export type Result_33 = { 'ok' : Principal } |
|
|
325
344
|
{ 'err' : Error };
|
|
326
|
-
export type
|
|
345
|
+
export type Result_34 = { 'ok' : WasmInfo } |
|
|
327
346
|
{ 'err' : Error };
|
|
328
|
-
export type
|
|
347
|
+
export type Result_35 = { 'ok' : ApkInfo } |
|
|
329
348
|
{ 'err' : Error };
|
|
330
|
-
export type
|
|
349
|
+
export type Result_36 = { 'ok' : ChatSharesAck } |
|
|
331
350
|
{ 'err' : Error };
|
|
332
351
|
export type Result_4 = { 'ok' : Profile } |
|
|
333
352
|
{ 'err' : Error };
|
|
334
|
-
export type Result_5 = { 'ok' :
|
|
353
|
+
export type Result_5 = { 'ok' : MapRoutesConfig } |
|
|
335
354
|
{ 'err' : Error };
|
|
336
|
-
export type Result_6 = { 'ok' :
|
|
355
|
+
export type Result_6 = { 'ok' : FeeRates } |
|
|
337
356
|
{ 'err' : Error };
|
|
338
|
-
export type Result_7 = { 'ok' :
|
|
357
|
+
export type Result_7 = { 'ok' : DriverCanister } |
|
|
339
358
|
{ 'err' : Error };
|
|
340
|
-
export type Result_8 = { 'ok' :
|
|
359
|
+
export type Result_8 = { 'ok' : ChatConfig } |
|
|
341
360
|
{ 'err' : Error };
|
|
342
|
-
export type Result_9 = { 'ok' :
|
|
361
|
+
export type Result_9 = { 'ok' : RateRideOutcome } |
|
|
343
362
|
{ 'err' : Error };
|
|
344
363
|
export interface RideBatch {
|
|
345
364
|
'ratings' : Array<RatingEntry>,
|
|
@@ -423,11 +442,11 @@ export interface TigiCore {
|
|
|
423
442
|
* / it; no multiplier). A pool canister's share and a room of no canister of the registry
|
|
424
443
|
* / are absorbed (the coordinator keeps paying them). Once per `batchId`.
|
|
425
444
|
*/
|
|
426
|
-
'addChatShares' : ActorMethod<[ChatSharesArgs],
|
|
445
|
+
'addChatShares' : ActorMethod<[ChatSharesArgs], Result_36>,
|
|
427
446
|
/**
|
|
428
447
|
* / Admins: a canister the core controls joins the demo pool (U-35).
|
|
429
448
|
*/
|
|
430
|
-
'addPoolCanister' : ActorMethod<[CanisterArgs],
|
|
449
|
+
'addPoolCanister' : ActorMethod<[CanisterArgs], Result_7>,
|
|
431
450
|
/**
|
|
432
451
|
* / Admins: a driver canister, or one driver in it (`driverKey`), is blocked; the workers
|
|
433
452
|
* / drop it at once (WO-2).
|
|
@@ -442,31 +461,31 @@ export interface TigiCore {
|
|
|
442
461
|
* / over the demo canister with the code of the link. Single use, 15 min; every refusal
|
|
443
462
|
* / answers the same NotAuthorized. The room of the canister gets the caller (C-15).
|
|
444
463
|
*/
|
|
445
|
-
'claimDriverCanister' : ActorMethod<[ClaimArgs],
|
|
464
|
+
'claimDriverCanister' : ActorMethod<[ClaimArgs], Result_7>,
|
|
446
465
|
'clearLogs' : ActorMethod<[], undefined>,
|
|
447
466
|
/**
|
|
448
467
|
* / Admins (F-24): the chunks become THE app; drivers' canisters take it at their "Aktualizuj".
|
|
449
468
|
*/
|
|
450
|
-
'commitDriverApk' : ActorMethod<[ApkCommitArgs],
|
|
469
|
+
'commitDriverApk' : ActorMethod<[ApkCommitArgs], Result_35>,
|
|
451
470
|
/**
|
|
452
471
|
* / Admins: the chunks become THE module of their kind. A new driver wasm is released
|
|
453
472
|
* / (F-11) and its hash goes to the workers.
|
|
454
473
|
*/
|
|
455
|
-
'commitDriverWasm' : ActorMethod<[WasmCommitArgs],
|
|
474
|
+
'commitDriverWasm' : ActorMethod<[WasmCommitArgs], Result_34>,
|
|
456
475
|
/**
|
|
457
476
|
* / Admins, localTest: an empty canister from the core's cycles joins the demo pool.
|
|
458
477
|
*/
|
|
459
|
-
'createLocalPoolCanister' : ActorMethod<[],
|
|
460
|
-
'createMyDriverCanister' : ActorMethod<[],
|
|
478
|
+
'createLocalPoolCanister' : ActorMethod<[], Result_7>,
|
|
479
|
+
'createMyDriverCanister' : ActorMethod<[], Result_7>,
|
|
461
480
|
/**
|
|
462
481
|
* / Admins: the simulator, created once (F-18).
|
|
463
482
|
*/
|
|
464
|
-
'ensureSimulator' : ActorMethod<[],
|
|
483
|
+
'ensureSimulator' : ActorMethod<[], Result_33>,
|
|
465
484
|
/**
|
|
466
485
|
* / F-8: 15 min more for the holder of a demo canister.
|
|
467
486
|
*/
|
|
468
|
-
'extendDemoLease' : ActorMethod<[],
|
|
469
|
-
'getAdmins' : ActorMethod<[],
|
|
487
|
+
'extendDemoLease' : ActorMethod<[], Result_7>,
|
|
488
|
+
'getAdmins' : ActorMethod<[], Result_32>,
|
|
470
489
|
/**
|
|
471
490
|
* / For the fronts (through the package): where the chat of this environment is. Null =
|
|
472
491
|
* / no chat here yet. The room of a driver is `ChatRoomFunctions.driverRoomId`.
|
|
@@ -475,7 +494,7 @@ export interface TigiCore {
|
|
|
475
494
|
/**
|
|
476
495
|
* / Admins: how far the driver rooms are (C-15).
|
|
477
496
|
*/
|
|
478
|
-
'getChatRoomsStatus' : ActorMethod<[],
|
|
497
|
+
'getChatRoomsStatus' : ActorMethod<[], Result_31>,
|
|
479
498
|
/**
|
|
480
499
|
* / F-24 (public): the current app — what a driver canister compares its own with.
|
|
481
500
|
*/
|
|
@@ -491,50 +510,51 @@ export interface TigiCore {
|
|
|
491
510
|
/**
|
|
492
511
|
* / Admins: the account of one driver canister (C-17 … C-20).
|
|
493
512
|
*/
|
|
494
|
-
'getDriverFeeAccount' : ActorMethod<[CanisterArgs],
|
|
513
|
+
'getDriverFeeAccount' : ActorMethod<[CanisterArgs], Result_30>,
|
|
495
514
|
/**
|
|
496
515
|
* / C-19: a driver canister of the registry asks for its bill — the events since its
|
|
497
516
|
* / last settlement, priced on the fee's day. Called by the canister at its first
|
|
498
517
|
* / "Przyjmuję zlecenia" of a day. A pool canister owes nothing (C-18).
|
|
499
518
|
*/
|
|
500
|
-
'getDriverFeeBill' : ActorMethod<[],
|
|
519
|
+
'getDriverFeeBill' : ActorMethod<[], Result_29>,
|
|
501
520
|
/**
|
|
502
521
|
* / Admins (stage 7): the aggregated rating of one driver (sum and count of stars; null =
|
|
503
522
|
* / no rating yet) — the value the workers get through the outbox (C-6).
|
|
504
523
|
*/
|
|
505
|
-
'getDriverRating' : ActorMethod<[DriverRatingArgs],
|
|
506
|
-
'getDriverRollout' : ActorMethod<[],
|
|
507
|
-
'getFactoryStatus' : ActorMethod<[],
|
|
524
|
+
'getDriverRating' : ActorMethod<[DriverRatingArgs], Result_25>,
|
|
525
|
+
'getDriverRollout' : ActorMethod<[], Result_28>,
|
|
526
|
+
'getFactoryStatus' : ActorMethod<[], Result_27>,
|
|
508
527
|
/**
|
|
509
528
|
* / C-22: the rates, the day, the multiplier cached, the totals.
|
|
510
529
|
*/
|
|
511
|
-
'getFeeStatus' : ActorMethod<[],
|
|
530
|
+
'getFeeStatus' : ActorMethod<[], Result_26>,
|
|
512
531
|
'getLogs' : ActorMethod<[], string>,
|
|
532
|
+
'getMapRoutesConfig' : ActorMethod<[], [] | [MapRoutesConfig]>,
|
|
513
533
|
/**
|
|
514
534
|
* / The caller's own canister, or the demo canister the caller holds now.
|
|
515
535
|
*/
|
|
516
|
-
'getMyDriverCanister' : ActorMethod<[],
|
|
536
|
+
'getMyDriverCanister' : ActorMethod<[], Result_7>,
|
|
517
537
|
'getMyProfile' : ActorMethod<[], Result_4>,
|
|
518
538
|
/**
|
|
519
539
|
* / C-16, PF-4: the caller's own rating as a rider (sum and count of stars; null = no
|
|
520
540
|
* / rating yet). Ratings reach the core in the workers' batches, up to a minute late.
|
|
521
541
|
*/
|
|
522
|
-
'getMyRating' : ActorMethod<[],
|
|
542
|
+
'getMyRating' : ActorMethod<[], Result_25>,
|
|
523
543
|
/**
|
|
524
544
|
* / C-8 (KU-4, stage 7): one line of the caller's history by its requestId — for the
|
|
525
545
|
* / details screen after a reload and to show the rating after `rateMyRide`. Another
|
|
526
546
|
* / rider's ride → `NotAuthorized`; not in the core (yet, K-9) → `NotFound`.
|
|
527
547
|
*/
|
|
528
|
-
'getMyRide' : ActorMethod<[RequestIdArgs],
|
|
548
|
+
'getMyRide' : ActorMethod<[RequestIdArgs], Result_24>,
|
|
529
549
|
/**
|
|
530
550
|
* / C-8: the caller's rides, newest first, with the places (KU-4) and whether the driver
|
|
531
551
|
* / can still be rated (KU-5, C-23).
|
|
532
552
|
*/
|
|
533
|
-
'getMyRides' : ActorMethod<[RidesPageArgs],
|
|
553
|
+
'getMyRides' : ActorMethod<[RidesPageArgs], Result_23>,
|
|
534
554
|
/**
|
|
535
555
|
* / C-3: the names of up to MAX_PROFILES_PER_CALL principals; unknown ones are left out.
|
|
536
556
|
*/
|
|
537
|
-
'getProfiles' : ActorMethod<[ProfilesArgs],
|
|
557
|
+
'getProfiles' : ActorMethod<[ProfilesArgs], Result_22>,
|
|
538
558
|
/**
|
|
539
559
|
* / F-11: the driver wasms released so far, oldest first.
|
|
540
560
|
*/
|
|
@@ -546,11 +566,11 @@ export interface TigiCore {
|
|
|
546
566
|
/**
|
|
547
567
|
* / Admins: the coordinator, the workers confirmed so far, the mode.
|
|
548
568
|
*/
|
|
549
|
-
'getWiring' : ActorMethod<[],
|
|
569
|
+
'getWiring' : ActorMethod<[], Result_21>,
|
|
550
570
|
/**
|
|
551
571
|
* / Admins: how far the outbox to the workers is (C-6, C-7).
|
|
552
572
|
*/
|
|
553
|
-
'getWorkerOutbox' : ActorMethod<[],
|
|
573
|
+
'getWorkerOutbox' : ActorMethod<[], Result_20>,
|
|
554
574
|
/**
|
|
555
575
|
* / Workers of the group: the core asks the coordinator once and remembers the worker,
|
|
556
576
|
* / which then gets the network state through the outbox. A worker calls it once after
|
|
@@ -562,7 +582,7 @@ export interface TigiCore {
|
|
|
562
582
|
* / Idempotent: a known requestId and a counted rating count once. Invalid entries are
|
|
563
583
|
* / rejected and logged; the worker drops the whole batch after an ok.
|
|
564
584
|
*/
|
|
565
|
-
'ingestRideBatch' : ActorMethod<[RideBatch],
|
|
585
|
+
'ingestRideBatch' : ActorMethod<[RideBatch], Result_19>,
|
|
566
586
|
/**
|
|
567
587
|
* / C-14: the accounts gate of the chat (U-43). The chat core asks this group's
|
|
568
588
|
* / coordinator WHERE (`accountsCanisterFor` → this core) and asks here: true = an
|
|
@@ -573,33 +593,41 @@ export interface TigiCore {
|
|
|
573
593
|
* / F-5 … F-7: a demo canister for 15 min (outside prod). A fresh lease comes with a
|
|
574
594
|
* / one-time claim code (F-20, U-45).
|
|
575
595
|
*/
|
|
576
|
-
'leaseDemoDriverCanister' : ActorMethod<[],
|
|
577
|
-
'listBlocks' : ActorMethod<[PageArgs],
|
|
578
|
-
'listDriverCanisters' : ActorMethod<[PageArgs],
|
|
596
|
+
'leaseDemoDriverCanister' : ActorMethod<[], Result_18>,
|
|
597
|
+
'listBlocks' : ActorMethod<[PageArgs], Result_17>,
|
|
598
|
+
'listDriverCanisters' : ActorMethod<[PageArgs], Result_16>,
|
|
579
599
|
/**
|
|
580
600
|
* / Admins: the accounts, 100 a page at most.
|
|
581
601
|
*/
|
|
582
|
-
'listDriverFeeAccounts' : ActorMethod<[PageArgs],
|
|
602
|
+
'listDriverFeeAccounts' : ActorMethod<[PageArgs], Result_15>,
|
|
583
603
|
/**
|
|
584
604
|
* / Admins: the driver rooms as the core wants them, 100 a page at most.
|
|
585
605
|
*/
|
|
586
|
-
'listDriverRooms' : ActorMethod<[PageArgs],
|
|
606
|
+
'listDriverRooms' : ActorMethod<[PageArgs], Result_14>,
|
|
607
|
+
/**
|
|
608
|
+
* / C-29, C-30: the map pass of the calling driver (own or demo driver canister, not
|
|
609
|
+
* / blocked), for an area and a bbox. The core asks the map coordinator WHERE (once, kept)
|
|
610
|
+
* / and that pass core for the pass of the caller; a failed call forgets the place and is
|
|
611
|
+
* / tried once more. A refusal of the map group comes back as `RemoteCanisterError` with
|
|
612
|
+
* / its variant first ("Blocked: …").
|
|
613
|
+
*/
|
|
614
|
+
'mapPass' : ActorMethod<[MapPassArgs], Result_13>,
|
|
587
615
|
/**
|
|
588
616
|
* / F-20: a fresh claim code for the caller's running demo lease; the old one stops
|
|
589
617
|
* / working.
|
|
590
618
|
*/
|
|
591
|
-
'newClaimCode' : ActorMethod<[],
|
|
619
|
+
'newClaimCode' : ActorMethod<[], Result_12>,
|
|
592
620
|
/**
|
|
593
621
|
* / C-20: the driver canister pays the bill of `day` with the cycles attached to this
|
|
594
622
|
* / call. The core takes exactly the bill (the rest goes back), or nothing when less is
|
|
595
623
|
* / attached (`FEE_SHORT`); a day paid already answers `accepted = 0`.
|
|
596
624
|
*/
|
|
597
|
-
'payDriverFee' : ActorMethod<[FeePayArgs],
|
|
625
|
+
'payDriverFee' : ActorMethod<[FeePayArgs], Result_11>,
|
|
598
626
|
/**
|
|
599
627
|
* / F-2 … F-4, F-10: the caller's own driver canister (localTest: from the core's cycles).
|
|
600
628
|
* / F-1 (user 2026-10-31): what a driver canister costs now and the caller's account to pay to.
|
|
601
629
|
*/
|
|
602
|
-
'quoteMyDriverCanister' : ActorMethod<[],
|
|
630
|
+
'quoteMyDriverCanister' : ActorMethod<[], Result_10>,
|
|
603
631
|
/**
|
|
604
632
|
* / C-23 (KU-5, stage 7): the rider rates the driver of a finished ride from the history.
|
|
605
633
|
* / Only the ride's rider; a completed ride within 24 h of its end (K-8); once per ride
|
|
@@ -607,7 +635,7 @@ export interface TigiCore {
|
|
|
607
635
|
* / (the first to reach the core). The driver's aggregate goes to the workers as a
|
|
608
636
|
* / batch's does (C-6). Counted in the caller's `#account` pool.
|
|
609
637
|
*/
|
|
610
|
-
'rateMyRide' : ActorMethod<[RateRideArgs],
|
|
638
|
+
'rateMyRide' : ActorMethod<[RateRideArgs], Result_9>,
|
|
611
639
|
'removeAdmin' : ActorMethod<[PrincipalArgs], Result_2>,
|
|
612
640
|
'resumeDriverRollout' : ActorMethod<[], Result_3>,
|
|
613
641
|
/**
|
|
@@ -615,7 +643,7 @@ export interface TigiCore {
|
|
|
615
643
|
* / (whose admin and accounts field are this group's coordinator). Every call sends every
|
|
616
644
|
* / driver room again (a new project, a chat group set up again).
|
|
617
645
|
*/
|
|
618
|
-
'setChatConfig' : ActorMethod<[ChatConfig],
|
|
646
|
+
'setChatConfig' : ActorMethod<[ChatConfig], Result_8>,
|
|
619
647
|
/**
|
|
620
648
|
* / Admins, localTest only: new claim codes live this long (the local check of an
|
|
621
649
|
* / expired code). Heap only: an upgrade brings back 15 min.
|
|
@@ -625,16 +653,22 @@ export interface TigiCore {
|
|
|
625
653
|
* / Admins (F-22, TIGI-DRIVER-MODES): the pool canister is installed again in the
|
|
626
654
|
* / automat mode, driven by `automat` — the simulator's router on the droplet.
|
|
627
655
|
*/
|
|
628
|
-
'setDemoDriverAutomat' : ActorMethod<[DemoAutomatArgs],
|
|
656
|
+
'setDemoDriverAutomat' : ActorMethod<[DemoAutomatArgs], Result_7>,
|
|
629
657
|
/**
|
|
630
658
|
* / Admins: the cycles per event (C-18).
|
|
631
659
|
*/
|
|
632
|
-
'setFeeRates' : ActorMethod<[FeeRates],
|
|
660
|
+
'setFeeRates' : ActorMethod<[FeeRates], Result_6>,
|
|
633
661
|
'setLoggingEnabled' : ActorMethod<[boolean], Result_2>,
|
|
634
662
|
/**
|
|
635
663
|
* / The coordinator only: the balance below which the core asks for cycles.
|
|
636
664
|
*/
|
|
637
665
|
'setLowCyclesBelow' : ActorMethod<[bigint], Result_2>,
|
|
666
|
+
/**
|
|
667
|
+
* / C-28, admins: the map-routes group of this environment (its coordinator). The Tigi
|
|
668
|
+
* / coordinator is the system there (`setSystem` in the map coordinator's front); the core
|
|
669
|
+
* / names it in every `issuePass` (C-29).
|
|
670
|
+
*/
|
|
671
|
+
'setMapRoutesConfig' : ActorMethod<[MapRoutesConfig], Result_5>,
|
|
638
672
|
'setMyProfile' : ActorMethod<[SetProfileArgs], Result_4>,
|
|
639
673
|
/**
|
|
640
674
|
* / F-21 (2026-10-24, route line): admins — the one principal that routes the simulator's
|