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