@jsm-mit/tigi-sharded-package 0.4.0 → 0.5.1
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 +10 -1
- package/declarations/coordinator/coordinator.did +111 -21
- package/declarations/coordinator/coordinator.did.d.ts +181 -20
- package/declarations/coordinator/coordinator.did.js +76 -20
- package/declarations/core/core.did +188 -63
- package/declarations/core/core.did.d.ts +164 -59
- package/declarations/core/core.did.js +141 -61
- package/declarations/tigi-simulator/tigi-simulator.did +16 -9
- package/declarations/tigi-simulator/tigi-simulator.did.d.ts +21 -9
- package/declarations/tigi-simulator/tigi-simulator.did.js +21 -15
- package/dist/actors/profiles-actor.d.ts +20 -1
- package/dist/actors/profiles-actor.d.ts.map +1 -1
- package/dist/actors/profiles-actor.js +46 -12
- package/dist/actors/rides-actor.d.ts.map +1 -1
- package/dist/actors/rides-actor.js +3 -5
- package/dist/interfaces.d.ts +20 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/mappers.d.ts +14 -1
- package/dist/mappers.d.ts.map +1 -1
- package/dist/mappers.js +45 -0
- package/package.json +6 -4
|
@@ -46,6 +46,22 @@ export const idlFactory = ({ IDL }) => {
|
|
|
46
46
|
const Result_3 = IDL.Variant({ 'ok' : RolloutView, 'err' : Error });
|
|
47
47
|
const PrincipalArgs = IDL.Record({ 'principal' : IDL.Principal });
|
|
48
48
|
const Result_2 = IDL.Variant({ 'ok' : IDL.Bool, 'err' : Error });
|
|
49
|
+
const ChatShare = IDL.Record({ 'cycles' : IDL.Nat, 'roomId' : IDL.Text });
|
|
50
|
+
const ChatSharesArgs = IDL.Record({
|
|
51
|
+
'day' : IDL.Nat64,
|
|
52
|
+
'shares' : IDL.Vec(ChatShare),
|
|
53
|
+
'batchId' : IDL.Nat64,
|
|
54
|
+
});
|
|
55
|
+
const ChatSharesAck = IDL.Record({
|
|
56
|
+
'added' : IDL.Nat,
|
|
57
|
+
'unknownCycles' : IDL.Nat,
|
|
58
|
+
'applied' : IDL.Bool,
|
|
59
|
+
'exemptCycles' : IDL.Nat,
|
|
60
|
+
'exempt' : IDL.Nat,
|
|
61
|
+
'addedCycles' : IDL.Nat,
|
|
62
|
+
'unknown' : IDL.Nat,
|
|
63
|
+
});
|
|
64
|
+
const Result_32 = IDL.Variant({ 'ok' : ChatSharesAck, 'err' : Error });
|
|
49
65
|
const CanisterArgs = IDL.Record({ 'canister' : IDL.Principal });
|
|
50
66
|
const DriverCanisterKind = IDL.Variant({
|
|
51
67
|
'own' : IDL.Null,
|
|
@@ -61,7 +77,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
61
77
|
'installedAtNs' : IDL.Opt(IDL.Int),
|
|
62
78
|
'leaseUntilNs' : IDL.Opt(IDL.Int),
|
|
63
79
|
});
|
|
64
|
-
const
|
|
80
|
+
const Result_6 = IDL.Variant({ 'ok' : DriverCanister, 'err' : Error });
|
|
65
81
|
const BlockDriverArgs = IDL.Record({
|
|
66
82
|
'driverKey' : IDL.Opt(IDL.Text),
|
|
67
83
|
'canister' : IDL.Principal,
|
|
@@ -87,9 +103,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
87
103
|
'size' : IDL.Nat,
|
|
88
104
|
'committedAtNs' : IDL.Int,
|
|
89
105
|
});
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
const
|
|
106
|
+
const Result_31 = IDL.Variant({ 'ok' : WasmInfo, 'err' : Error });
|
|
107
|
+
const Result_30 = IDL.Variant({ 'ok' : IDL.Principal, 'err' : Error });
|
|
108
|
+
const Result_29 = IDL.Variant({
|
|
93
109
|
'ok' : IDL.Vec(IDL.Principal),
|
|
94
110
|
'err' : Error,
|
|
95
111
|
});
|
|
@@ -105,7 +121,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
105
121
|
'pendingSinceNs' : IDL.Opt(IDL.Int),
|
|
106
122
|
'rooms' : IDL.Nat,
|
|
107
123
|
});
|
|
108
|
-
const
|
|
124
|
+
const Result_28 = IDL.Variant({ 'ok' : ChatRoomsStatus, 'err' : Error });
|
|
109
125
|
const DriverCanisterStatus = IDL.Record({
|
|
110
126
|
'moduleHash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
111
127
|
'blocked' : IDL.Bool,
|
|
@@ -129,6 +145,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
129
145
|
'multiplierPermille' : IDL.Nat,
|
|
130
146
|
'rates' : FeeRates,
|
|
131
147
|
});
|
|
148
|
+
const ChatShareView = IDL.Record({
|
|
149
|
+
'pending' : IDL.Nat,
|
|
150
|
+
'inBill' : IDL.Nat,
|
|
151
|
+
'paidTotal' : IDL.Nat,
|
|
152
|
+
'lastDay' : IDL.Opt(IDL.Nat),
|
|
153
|
+
});
|
|
132
154
|
const FeeRecord = IDL.Record({
|
|
133
155
|
'day' : IDL.Nat,
|
|
134
156
|
'paidAtNs' : IDL.Int,
|
|
@@ -137,14 +159,30 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
159
|
const DriverFeeAccountView = IDL.Record({
|
|
138
160
|
'pending' : FeeUsage,
|
|
139
161
|
'bill' : IDL.Opt(FeeBill),
|
|
162
|
+
'chat' : IDL.Opt(ChatShareView),
|
|
140
163
|
'lastSettledDay' : IDL.Opt(IDL.Nat),
|
|
141
164
|
'canister' : IDL.Principal,
|
|
142
165
|
'paidTotal' : IDL.Nat,
|
|
143
166
|
'lastFee' : IDL.Opt(FeeRecord),
|
|
144
167
|
});
|
|
145
|
-
const
|
|
146
|
-
const
|
|
147
|
-
|
|
168
|
+
const Result_27 = IDL.Variant({ 'ok' : DriverFeeAccountView, 'err' : Error });
|
|
169
|
+
const FeeBillAnswer = IDL.Record({
|
|
170
|
+
'day' : IDL.Nat,
|
|
171
|
+
'settled' : IDL.Bool,
|
|
172
|
+
'chat' : IDL.Opt(IDL.Nat),
|
|
173
|
+
'usage' : FeeUsage,
|
|
174
|
+
'amount' : IDL.Nat,
|
|
175
|
+
'multiplierPermille' : IDL.Nat,
|
|
176
|
+
'rates' : FeeRates,
|
|
177
|
+
});
|
|
178
|
+
const Result_26 = IDL.Variant({ 'ok' : FeeBillAnswer, 'err' : Error });
|
|
179
|
+
const DriverRatingArgs = IDL.Record({
|
|
180
|
+
'driverKey' : IDL.Text,
|
|
181
|
+
'canister' : IDL.Principal,
|
|
182
|
+
});
|
|
183
|
+
const Rating = IDL.Record({ 'sum' : IDL.Nat, 'count' : IDL.Nat });
|
|
184
|
+
const Result_22 = IDL.Variant({ 'ok' : IDL.Opt(Rating), 'err' : Error });
|
|
185
|
+
const Result_25 = IDL.Variant({ 'ok' : IDL.Opt(RolloutView), 'err' : Error });
|
|
148
186
|
const FactoryStatus = IDL.Record({
|
|
149
187
|
'simulator' : IDL.Opt(IDL.Principal),
|
|
150
188
|
'mode' : Mode,
|
|
@@ -156,7 +194,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
156
194
|
'driverWasm' : IDL.Opt(WasmInfo),
|
|
157
195
|
'registered' : IDL.Nat,
|
|
158
196
|
});
|
|
159
|
-
const
|
|
197
|
+
const Result_24 = IDL.Variant({ 'ok' : FactoryStatus, 'err' : Error });
|
|
160
198
|
const FeeStatus = IDL.Record({
|
|
161
199
|
'multiplier' : IDL.Opt(
|
|
162
200
|
IDL.Record({ 'day' : IDL.Nat, 'permille' : IDL.Nat })
|
|
@@ -164,50 +202,62 @@ export const idlFactory = ({ IDL }) => {
|
|
|
164
202
|
'today' : IDL.Nat,
|
|
165
203
|
'toForward' : IDL.Nat,
|
|
166
204
|
'forwardedTotal' : IDL.Nat,
|
|
205
|
+
'chat' : IDL.Opt(
|
|
206
|
+
IDL.Record({
|
|
207
|
+
'lastBatchId' : IDL.Opt(IDL.Nat64),
|
|
208
|
+
'addedTotal' : IDL.Nat,
|
|
209
|
+
'absorbedTotal' : IDL.Nat,
|
|
210
|
+
})
|
|
211
|
+
),
|
|
167
212
|
'lastForwardError' : IDL.Opt(IDL.Text),
|
|
168
213
|
'accounts' : IDL.Nat,
|
|
169
214
|
'paidTotal' : IDL.Nat,
|
|
170
215
|
'rates' : FeeRates,
|
|
171
216
|
});
|
|
172
|
-
const
|
|
217
|
+
const Result_23 = IDL.Variant({ 'ok' : FeeStatus, 'err' : Error });
|
|
173
218
|
const Profile = IDL.Record({
|
|
174
219
|
'updatedAtNs' : IDL.Int,
|
|
175
220
|
'name' : IDL.Text,
|
|
176
221
|
'createdAtNs' : IDL.Int,
|
|
177
222
|
});
|
|
178
223
|
const Result_4 = IDL.Variant({ 'ok' : Profile, 'err' : Error });
|
|
179
|
-
const
|
|
180
|
-
const Result_19 = IDL.Variant({ 'ok' : IDL.Opt(Rating), 'err' : Error });
|
|
181
|
-
const RidesPageArgs = IDL.Record({
|
|
182
|
-
'beforeIndex' : IDL.Opt(IDL.Nat),
|
|
183
|
-
'limit' : IDL.Nat,
|
|
184
|
-
});
|
|
224
|
+
const RequestIdArgs = IDL.Record({ 'requestId' : IDL.Text });
|
|
185
225
|
const RideEnd = IDL.Variant({
|
|
186
226
|
'completed' : IDL.Null,
|
|
187
227
|
'cancelledByRider' : IDL.Null,
|
|
188
228
|
'cancelledByDriver' : IDL.Null,
|
|
189
229
|
});
|
|
230
|
+
const Geo = IDL.Record({ 'lat' : IDL.Float64, 'lng' : IDL.Float64 });
|
|
190
231
|
const Money = IDL.Record({ 'currency' : IDL.Text, 'amount' : IDL.Nat64 });
|
|
191
|
-
const
|
|
232
|
+
const RideView = IDL.Record({
|
|
192
233
|
'end' : RideEnd,
|
|
234
|
+
'destination' : IDL.Opt(Geo),
|
|
193
235
|
'requestId' : IDL.Text,
|
|
194
236
|
'endedAtNs' : IDL.Nat64,
|
|
237
|
+
'ratable' : IDL.Opt(IDL.Bool),
|
|
238
|
+
'pickup' : IDL.Opt(Geo),
|
|
195
239
|
'driverKey' : IDL.Text,
|
|
196
240
|
'driverCanister' : IDL.Principal,
|
|
197
241
|
'price' : IDL.Opt(Money),
|
|
198
242
|
'rider' : IDL.Principal,
|
|
243
|
+
'myRating' : IDL.Opt(IDL.Nat8),
|
|
244
|
+
});
|
|
245
|
+
const Result_21 = IDL.Variant({ 'ok' : RideView, 'err' : Error });
|
|
246
|
+
const RidesPageArgs = IDL.Record({
|
|
247
|
+
'beforeIndex' : IDL.Opt(IDL.Nat),
|
|
248
|
+
'limit' : IDL.Nat,
|
|
199
249
|
});
|
|
200
250
|
const RidesPage = IDL.Record({
|
|
201
251
|
'nextBeforeIndex' : IDL.Opt(IDL.Nat),
|
|
202
|
-
'rides' : IDL.Vec(
|
|
252
|
+
'rides' : IDL.Vec(RideView),
|
|
203
253
|
});
|
|
204
|
-
const
|
|
254
|
+
const Result_20 = IDL.Variant({ 'ok' : RidesPage, 'err' : Error });
|
|
205
255
|
const ProfilesArgs = IDL.Record({ 'principals' : IDL.Vec(IDL.Principal) });
|
|
206
256
|
const ProfileEntry = IDL.Record({
|
|
207
257
|
'principal' : IDL.Principal,
|
|
208
258
|
'name' : IDL.Text,
|
|
209
259
|
});
|
|
210
|
-
const
|
|
260
|
+
const Result_19 = IDL.Variant({
|
|
211
261
|
'ok' : IDL.Vec(ProfileEntry),
|
|
212
262
|
'err' : Error,
|
|
213
263
|
});
|
|
@@ -221,8 +271,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
221
271
|
'knownWorkers' : IDL.Vec(IDL.Principal),
|
|
222
272
|
'coordinator' : IDL.Opt(IDL.Principal),
|
|
223
273
|
});
|
|
224
|
-
const
|
|
225
|
-
const
|
|
274
|
+
const Result_18 = IDL.Variant({ 'ok' : Wiring, 'err' : Error });
|
|
275
|
+
const Result_17 = IDL.Variant({
|
|
226
276
|
'ok' : IDL.Record({
|
|
227
277
|
'subjects' : IDL.Nat,
|
|
228
278
|
'headSeq' : IDL.Nat64,
|
|
@@ -253,10 +303,21 @@ export const idlFactory = ({ IDL }) => {
|
|
|
253
303
|
'entries' : IDL.Vec(DriverUsage),
|
|
254
304
|
'batchId' : IDL.Nat64,
|
|
255
305
|
});
|
|
306
|
+
const RideEntryIn = IDL.Record({
|
|
307
|
+
'end' : RideEnd,
|
|
308
|
+
'destination' : IDL.Opt(Geo),
|
|
309
|
+
'requestId' : IDL.Text,
|
|
310
|
+
'endedAtNs' : IDL.Nat64,
|
|
311
|
+
'pickup' : IDL.Opt(Geo),
|
|
312
|
+
'driverKey' : IDL.Text,
|
|
313
|
+
'driverCanister' : IDL.Principal,
|
|
314
|
+
'price' : IDL.Opt(Money),
|
|
315
|
+
'rider' : IDL.Principal,
|
|
316
|
+
});
|
|
256
317
|
const RideBatch = IDL.Record({
|
|
257
318
|
'ratings' : IDL.Vec(RatingEntry),
|
|
258
319
|
'usage' : IDL.Opt(UsageBatch),
|
|
259
|
-
'rides' : IDL.Vec(
|
|
320
|
+
'rides' : IDL.Vec(RideEntryIn),
|
|
260
321
|
});
|
|
261
322
|
const RideBatchResult = IDL.Record({
|
|
262
323
|
'duplicates' : IDL.Nat,
|
|
@@ -264,7 +325,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
264
325
|
'rejected' : IDL.Nat,
|
|
265
326
|
'ratingsCounted' : IDL.Nat,
|
|
266
327
|
});
|
|
267
|
-
const
|
|
328
|
+
const Result_16 = IDL.Variant({ 'ok' : RideBatchResult, 'err' : Error });
|
|
268
329
|
const ClaimCode = IDL.Record({
|
|
269
330
|
'expiresAtNs' : IDL.Int,
|
|
270
331
|
'code' : IDL.Text,
|
|
@@ -285,7 +346,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
285
346
|
'busy' : IDL.Record({ 'untilNs' : IDL.Int }),
|
|
286
347
|
'leased' : LeasedCanister,
|
|
287
348
|
});
|
|
288
|
-
const
|
|
349
|
+
const Result_15 = IDL.Variant({ 'ok' : LeaseAnswer, 'err' : Error });
|
|
289
350
|
const PageArgs = IDL.Record({ 'offset' : IDL.Nat, 'limit' : IDL.Nat });
|
|
290
351
|
const BlockTarget = IDL.Variant({
|
|
291
352
|
'driverCanister' : IDL.Principal,
|
|
@@ -301,13 +362,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
301
362
|
'target' : BlockTarget,
|
|
302
363
|
'reason' : IDL.Text,
|
|
303
364
|
});
|
|
304
|
-
const
|
|
365
|
+
const Result_14 = IDL.Variant({ 'ok' : IDL.Vec(Block), 'err' : Error });
|
|
305
366
|
const DriverCanistersPage = IDL.Record({
|
|
306
367
|
'total' : IDL.Nat,
|
|
307
368
|
'canisters' : IDL.Vec(DriverCanister),
|
|
308
369
|
});
|
|
309
|
-
const
|
|
310
|
-
const
|
|
370
|
+
const Result_13 = IDL.Variant({ 'ok' : DriverCanistersPage, 'err' : Error });
|
|
371
|
+
const Result_12 = IDL.Variant({
|
|
311
372
|
'ok' : IDL.Vec(DriverFeeAccountView),
|
|
312
373
|
'err' : Error,
|
|
313
374
|
});
|
|
@@ -319,21 +380,35 @@ export const idlFactory = ({ IDL }) => {
|
|
|
319
380
|
'roomId' : IDL.Text,
|
|
320
381
|
'synced' : IDL.Bool,
|
|
321
382
|
});
|
|
322
|
-
const
|
|
383
|
+
const Result_11 = IDL.Variant({
|
|
323
384
|
'ok' : IDL.Vec(DriverRoomView),
|
|
324
385
|
'err' : Error,
|
|
325
386
|
});
|
|
326
|
-
const
|
|
387
|
+
const Result_10 = IDL.Variant({ 'ok' : ClaimCode, 'err' : Error });
|
|
327
388
|
const FeePayArgs = IDL.Record({ 'day' : IDL.Nat });
|
|
328
389
|
const FeePaid = IDL.Record({
|
|
329
390
|
'day' : IDL.Nat,
|
|
330
391
|
'accepted' : IDL.Nat,
|
|
331
392
|
'amount' : IDL.Nat,
|
|
332
393
|
});
|
|
333
|
-
const
|
|
334
|
-
const
|
|
394
|
+
const Result_9 = IDL.Variant({ 'ok' : FeePaid, 'err' : Error });
|
|
395
|
+
const RateRideArgs = IDL.Record({
|
|
396
|
+
'requestId' : IDL.Text,
|
|
397
|
+
'stars' : IDL.Nat8,
|
|
398
|
+
});
|
|
399
|
+
const RateRideOutcome = IDL.Variant({
|
|
400
|
+
'notRatable' : IDL.Text,
|
|
401
|
+
'rated' : IDL.Null,
|
|
402
|
+
'alreadyRated' : IDL.Null,
|
|
403
|
+
});
|
|
404
|
+
const Result_8 = IDL.Variant({ 'ok' : RateRideOutcome, 'err' : Error });
|
|
405
|
+
const Result_7 = IDL.Variant({ 'ok' : ChatConfig, 'err' : Error });
|
|
335
406
|
const ClaimTtlArgs = IDL.Record({ 'seconds' : IDL.Nat });
|
|
336
407
|
const Result = IDL.Variant({ 'ok' : IDL.Nat, 'err' : Error });
|
|
408
|
+
const DemoAutomatArgs = IDL.Record({
|
|
409
|
+
'canister' : IDL.Principal,
|
|
410
|
+
'automat' : IDL.Principal,
|
|
411
|
+
});
|
|
337
412
|
const Result_5 = IDL.Variant({ 'ok' : FeeRates, 'err' : Error });
|
|
338
413
|
const SetProfileArgs = IDL.Record({ 'name' : IDL.Text });
|
|
339
414
|
const SimulatorRouterArgs = IDL.Record({ 'router' : IDL.Opt(IDL.Principal) });
|
|
@@ -352,53 +427,58 @@ export const idlFactory = ({ IDL }) => {
|
|
|
352
427
|
const TigiCore = IDL.Service({
|
|
353
428
|
'abortDriverRollout' : IDL.Func([], [Result_3], []),
|
|
354
429
|
'addAdmin' : IDL.Func([PrincipalArgs], [Result_2], []),
|
|
355
|
-
'
|
|
430
|
+
'addChatShares' : IDL.Func([ChatSharesArgs], [Result_32], []),
|
|
431
|
+
'addPoolCanister' : IDL.Func([CanisterArgs], [Result_6], []),
|
|
356
432
|
'blockDriver' : IDL.Func([BlockDriverArgs], [Result_2], []),
|
|
357
433
|
'blockRider' : IDL.Func([BlockRiderArgs], [Result_2], []),
|
|
358
|
-
'claimDriverCanister' : IDL.Func([ClaimArgs], [
|
|
434
|
+
'claimDriverCanister' : IDL.Func([ClaimArgs], [Result_6], []),
|
|
359
435
|
'clearLogs' : IDL.Func([], [], []),
|
|
360
|
-
'commitDriverWasm' : IDL.Func([WasmCommitArgs], [
|
|
361
|
-
'createLocalPoolCanister' : IDL.Func([], [
|
|
362
|
-
'createMyDriverCanister' : IDL.Func([], [
|
|
363
|
-
'ensureSimulator' : IDL.Func([], [
|
|
364
|
-
'extendDemoLease' : IDL.Func([], [
|
|
365
|
-
'getAdmins' : IDL.Func([], [
|
|
436
|
+
'commitDriverWasm' : IDL.Func([WasmCommitArgs], [Result_31], []),
|
|
437
|
+
'createLocalPoolCanister' : IDL.Func([], [Result_6], []),
|
|
438
|
+
'createMyDriverCanister' : IDL.Func([], [Result_6], []),
|
|
439
|
+
'ensureSimulator' : IDL.Func([], [Result_30], []),
|
|
440
|
+
'extendDemoLease' : IDL.Func([], [Result_6], []),
|
|
441
|
+
'getAdmins' : IDL.Func([], [Result_29], ['query']),
|
|
366
442
|
'getChatConfig' : IDL.Func([], [IDL.Opt(ChatConfig)], ['query']),
|
|
367
|
-
'getChatRoomsStatus' : IDL.Func([], [
|
|
443
|
+
'getChatRoomsStatus' : IDL.Func([], [Result_28], ['query']),
|
|
368
444
|
'getDriverCanisterStatus' : IDL.Func(
|
|
369
445
|
[CanisterArgs],
|
|
370
446
|
[DriverCanisterStatus],
|
|
371
447
|
['query'],
|
|
372
448
|
),
|
|
373
|
-
'getDriverFeeAccount' : IDL.Func([CanisterArgs], [
|
|
374
|
-
'getDriverFeeBill' : IDL.Func([], [
|
|
375
|
-
'
|
|
376
|
-
'
|
|
377
|
-
'
|
|
449
|
+
'getDriverFeeAccount' : IDL.Func([CanisterArgs], [Result_27], ['query']),
|
|
450
|
+
'getDriverFeeBill' : IDL.Func([], [Result_26], []),
|
|
451
|
+
'getDriverRating' : IDL.Func([DriverRatingArgs], [Result_22], ['query']),
|
|
452
|
+
'getDriverRollout' : IDL.Func([], [Result_25], ['query']),
|
|
453
|
+
'getFactoryStatus' : IDL.Func([], [Result_24], ['query']),
|
|
454
|
+
'getFeeStatus' : IDL.Func([], [Result_23], ['query']),
|
|
378
455
|
'getLogs' : IDL.Func([], [IDL.Text], ['query']),
|
|
379
|
-
'getMyDriverCanister' : IDL.Func([], [
|
|
456
|
+
'getMyDriverCanister' : IDL.Func([], [Result_6], ['query']),
|
|
380
457
|
'getMyProfile' : IDL.Func([], [Result_4], ['query']),
|
|
381
|
-
'getMyRating' : IDL.Func([], [
|
|
382
|
-
'
|
|
383
|
-
'
|
|
458
|
+
'getMyRating' : IDL.Func([], [Result_22], ['query']),
|
|
459
|
+
'getMyRide' : IDL.Func([RequestIdArgs], [Result_21], ['query']),
|
|
460
|
+
'getMyRides' : IDL.Func([RidesPageArgs], [Result_20], ['query']),
|
|
461
|
+
'getProfiles' : IDL.Func([ProfilesArgs], [Result_19], ['query']),
|
|
384
462
|
'getReleasedDriverWasms' : IDL.Func([], [IDL.Vec(ReleasedWasm)], ['query']),
|
|
385
463
|
'getSimulator' : IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
386
|
-
'getWiring' : IDL.Func([], [
|
|
387
|
-
'getWorkerOutbox' : IDL.Func([], [
|
|
464
|
+
'getWiring' : IDL.Func([], [Result_18], ['query']),
|
|
465
|
+
'getWorkerOutbox' : IDL.Func([], [Result_17], ['query']),
|
|
388
466
|
'helloFromWorker' : IDL.Func([], [Result_2], []),
|
|
389
|
-
'ingestRideBatch' : IDL.Func([RideBatch], [
|
|
467
|
+
'ingestRideBatch' : IDL.Func([RideBatch], [Result_16], []),
|
|
390
468
|
'isUser' : IDL.Func([IDL.Principal], [IDL.Bool], ['query']),
|
|
391
|
-
'leaseDemoDriverCanister' : IDL.Func([], [
|
|
392
|
-
'listBlocks' : IDL.Func([PageArgs], [
|
|
393
|
-
'listDriverCanisters' : IDL.Func([PageArgs], [
|
|
394
|
-
'listDriverFeeAccounts' : IDL.Func([PageArgs], [
|
|
395
|
-
'listDriverRooms' : IDL.Func([PageArgs], [
|
|
396
|
-
'newClaimCode' : IDL.Func([], [
|
|
397
|
-
'payDriverFee' : IDL.Func([FeePayArgs], [
|
|
469
|
+
'leaseDemoDriverCanister' : IDL.Func([], [Result_15], []),
|
|
470
|
+
'listBlocks' : IDL.Func([PageArgs], [Result_14], ['query']),
|
|
471
|
+
'listDriverCanisters' : IDL.Func([PageArgs], [Result_13], ['query']),
|
|
472
|
+
'listDriverFeeAccounts' : IDL.Func([PageArgs], [Result_12], ['query']),
|
|
473
|
+
'listDriverRooms' : IDL.Func([PageArgs], [Result_11], ['query']),
|
|
474
|
+
'newClaimCode' : IDL.Func([], [Result_10], []),
|
|
475
|
+
'payDriverFee' : IDL.Func([FeePayArgs], [Result_9], []),
|
|
476
|
+
'rateMyRide' : IDL.Func([RateRideArgs], [Result_8], []),
|
|
398
477
|
'removeAdmin' : IDL.Func([PrincipalArgs], [Result_2], []),
|
|
399
478
|
'resumeDriverRollout' : IDL.Func([], [Result_3], []),
|
|
400
|
-
'setChatConfig' : IDL.Func([ChatConfig], [
|
|
479
|
+
'setChatConfig' : IDL.Func([ChatConfig], [Result_7], []),
|
|
401
480
|
'setClaimCodeTtl' : IDL.Func([ClaimTtlArgs], [Result], []),
|
|
481
|
+
'setDemoDriverAutomat' : IDL.Func([DemoAutomatArgs], [Result_6], []),
|
|
402
482
|
'setFeeRates' : IDL.Func([FeeRates], [Result_5], []),
|
|
403
483
|
'setLoggingEnabled' : IDL.Func([IDL.Bool], [Result_2], []),
|
|
404
484
|
'setLowCyclesBelow' : IDL.Func([IDL.Nat], [Result_2], []),
|
|
@@ -206,9 +206,10 @@ type RequestClosed = record {
|
|
|
206
206
|
driverKey : text;
|
|
207
207
|
reason : CloseReason;
|
|
208
208
|
};
|
|
209
|
-
type Result = variant { Ok :
|
|
210
|
-
type Result_1 = variant { Ok; Err : SimulatorError };
|
|
211
|
-
type Result_2 = variant { Ok
|
|
209
|
+
type Result = variant { Ok : opt SpawnPlace; Err : SimulatorError };
|
|
210
|
+
type Result_1 = variant { Ok : vec RouteTaskView; Err : SimulatorError };
|
|
211
|
+
type Result_2 = variant { Ok; Err : SimulatorError };
|
|
212
|
+
type Result_3 = variant { Ok : SpawnResult; Err : SimulatorError };
|
|
212
213
|
// `variant { ok : RideView; err : ProtocolError }`.
|
|
213
214
|
type RideAnswer = variant { ok : RideView; err : ProtocolError };
|
|
214
215
|
type RideOrder = record {
|
|
@@ -296,6 +297,8 @@ type SpawnArgs = record {
|
|
|
296
297
|
// None = 12.
|
|
297
298
|
count : opt nat8;
|
|
298
299
|
};
|
|
300
|
+
// S-N15: the centre of the last `spawnDrivers` and its time.
|
|
301
|
+
type SpawnPlace = record { center : Geo; atNs : nat64 };
|
|
299
302
|
type SpawnResult = record {
|
|
300
303
|
// Why some were not registered.
|
|
301
304
|
problems : vec text;
|
|
@@ -312,12 +315,16 @@ type SpeedUpArgs = record {
|
|
|
312
315
|
service : (InitArgs) -> {
|
|
313
316
|
// S-14 (KK-33): the rider cancels before `inProgress`, once.
|
|
314
317
|
cancelRide : (RideRef) -> (ProtocolAnswer);
|
|
318
|
+
// S-N15: where testers last asked for drivers — the router moves the automat driver
|
|
319
|
+
// canister near it (TIGI-DRIVER-MODES). None until the first search after an install or
|
|
320
|
+
// an upgrade.
|
|
321
|
+
getLastSpawn : () -> (Result) query;
|
|
315
322
|
getLicence : (RideRef) -> (LicenceAnswer) query;
|
|
316
323
|
getRide : (RideRef) -> (RideAnswer) query;
|
|
317
324
|
// S-N14 (P-19): the line of the ride for its rider, while the ride is active.
|
|
318
325
|
getRideRoute : (RideRef) -> (RouteAnswer) query;
|
|
319
|
-
// S-N13: the quote requests that wait for a route (at most
|
|
320
|
-
getRouteTasks : () -> (
|
|
326
|
+
// S-N13: the quote requests that wait for a route (at most 10 s each), the oldest first.
|
|
327
|
+
getRouteTasks : () -> (Result_1) query;
|
|
321
328
|
getStatus : () -> (SimulatorStatus) query;
|
|
322
329
|
http_request : (HttpRequest) -> (HttpResponse) query;
|
|
323
330
|
protocolVersion : () -> (nat32) query;
|
|
@@ -330,13 +337,13 @@ service : (InitArgs) -> {
|
|
|
330
337
|
rideOrder : (RideOrder) -> (ProtocolAnswer);
|
|
331
338
|
// S-N13: the core only (an admin's `setSimulatorRouter`): the one principal that routes the
|
|
332
339
|
// virtual drivers' quotes, like a driver's front; none = the straight line again.
|
|
333
|
-
setRouter : (SetRouterArgs) -> (
|
|
340
|
+
setRouter : (SetRouterArgs) -> (Result_2);
|
|
334
341
|
// S-15: ×10 for one request (`requestId`), not the whole canister.
|
|
335
|
-
setSpeedUp : (SpeedUpArgs) -> (
|
|
342
|
+
setSpeedUp : (SpeedUpArgs) -> (Result_2);
|
|
336
343
|
// S-2, S-3: virtual drivers around a point, each registered in the worker of its cell
|
|
337
344
|
// with `validUntilNs` (30 min) instead of a pulse.
|
|
338
|
-
spawnDrivers : (SpawnArgs) -> (
|
|
345
|
+
spawnDrivers : (SpawnArgs) -> (Result_3);
|
|
339
346
|
// S-N13: the router's route for one virtual driver — metres, seconds, the line. The quote
|
|
340
347
|
// goes with it at its moment (S-8), or at once when that moment has passed.
|
|
341
|
-
submitRoute : (SimRouteResult) -> (
|
|
348
|
+
submitRoute : (SimRouteResult) -> (Result_2);
|
|
342
349
|
}
|
|
@@ -288,11 +288,13 @@ export interface RequestClosed {
|
|
|
288
288
|
'driverKey' : string,
|
|
289
289
|
'reason' : CloseReason,
|
|
290
290
|
}
|
|
291
|
-
export type Result = { 'Ok' :
|
|
291
|
+
export type Result = { 'Ok' : [] | [SpawnPlace] } |
|
|
292
292
|
{ 'Err' : SimulatorError };
|
|
293
|
-
export type Result_1 = { 'Ok' :
|
|
293
|
+
export type Result_1 = { 'Ok' : Array<RouteTaskView> } |
|
|
294
294
|
{ 'Err' : SimulatorError };
|
|
295
|
-
export type Result_2 = { 'Ok' :
|
|
295
|
+
export type Result_2 = { 'Ok' : null } |
|
|
296
|
+
{ 'Err' : SimulatorError };
|
|
297
|
+
export type Result_3 = { 'Ok' : SpawnResult } |
|
|
296
298
|
{ 'Err' : SimulatorError };
|
|
297
299
|
/**
|
|
298
300
|
* `variant { ok : RideView; err : ProtocolError }`.
|
|
@@ -409,6 +411,10 @@ export interface SpawnArgs {
|
|
|
409
411
|
*/
|
|
410
412
|
'count' : [] | [number],
|
|
411
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* S-N15: the centre of the last `spawnDrivers` and its time.
|
|
416
|
+
*/
|
|
417
|
+
export interface SpawnPlace { 'center' : Geo, 'atNs' : bigint }
|
|
412
418
|
export interface SpawnResult {
|
|
413
419
|
/**
|
|
414
420
|
* Why some were not registered.
|
|
@@ -433,6 +439,12 @@ export interface _SERVICE {
|
|
|
433
439
|
* S-14 (KK-33): the rider cancels before `inProgress`, once.
|
|
434
440
|
*/
|
|
435
441
|
'cancelRide' : ActorMethod<[RideRef], ProtocolAnswer>,
|
|
442
|
+
/**
|
|
443
|
+
* S-N15: where testers last asked for drivers — the router moves the automat driver
|
|
444
|
+
* canister near it (TIGI-DRIVER-MODES). None until the first search after an install or
|
|
445
|
+
* an upgrade.
|
|
446
|
+
*/
|
|
447
|
+
'getLastSpawn' : ActorMethod<[], Result>,
|
|
436
448
|
'getLicence' : ActorMethod<[RideRef], LicenceAnswer>,
|
|
437
449
|
'getRide' : ActorMethod<[RideRef], RideAnswer>,
|
|
438
450
|
/**
|
|
@@ -440,9 +452,9 @@ export interface _SERVICE {
|
|
|
440
452
|
*/
|
|
441
453
|
'getRideRoute' : ActorMethod<[RideRef], RouteAnswer>,
|
|
442
454
|
/**
|
|
443
|
-
* S-N13: the quote requests that wait for a route (at most
|
|
455
|
+
* S-N13: the quote requests that wait for a route (at most 10 s each), the oldest first.
|
|
444
456
|
*/
|
|
445
|
-
'getRouteTasks' : ActorMethod<[],
|
|
457
|
+
'getRouteTasks' : ActorMethod<[], Result_1>,
|
|
446
458
|
'getStatus' : ActorMethod<[], SimulatorStatus>,
|
|
447
459
|
'http_request' : ActorMethod<[HttpRequest], HttpResponse>,
|
|
448
460
|
'protocolVersion' : ActorMethod<[], number>,
|
|
@@ -463,21 +475,21 @@ export interface _SERVICE {
|
|
|
463
475
|
* S-N13: the core only (an admin's `setSimulatorRouter`): the one principal that routes the
|
|
464
476
|
* virtual drivers' quotes, like a driver's front; none = the straight line again.
|
|
465
477
|
*/
|
|
466
|
-
'setRouter' : ActorMethod<[SetRouterArgs],
|
|
478
|
+
'setRouter' : ActorMethod<[SetRouterArgs], Result_2>,
|
|
467
479
|
/**
|
|
468
480
|
* S-15: ×10 for one request (`requestId`), not the whole canister.
|
|
469
481
|
*/
|
|
470
|
-
'setSpeedUp' : ActorMethod<[SpeedUpArgs],
|
|
482
|
+
'setSpeedUp' : ActorMethod<[SpeedUpArgs], Result_2>,
|
|
471
483
|
/**
|
|
472
484
|
* S-2, S-3: virtual drivers around a point, each registered in the worker of its cell
|
|
473
485
|
* with `validUntilNs` (30 min) instead of a pulse.
|
|
474
486
|
*/
|
|
475
|
-
'spawnDrivers' : ActorMethod<[SpawnArgs],
|
|
487
|
+
'spawnDrivers' : ActorMethod<[SpawnArgs], Result_3>,
|
|
476
488
|
/**
|
|
477
489
|
* S-N13: the router's route for one virtual driver — metres, seconds, the line. The quote
|
|
478
490
|
* goes with it at its moment (S-8), or at once when that moment has passed.
|
|
479
491
|
*/
|
|
480
|
-
'submitRoute' : ActorMethod<[SimRouteResult],
|
|
492
|
+
'submitRoute' : ActorMethod<[SimRouteResult], Result_2>,
|
|
481
493
|
}
|
|
482
494
|
export declare const idlFactory: IDL.InterfaceFactory;
|
|
483
495
|
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
|
|
@@ -28,6 +28,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
28
28
|
'ok' : IDL.Null,
|
|
29
29
|
'err' : ProtocolError,
|
|
30
30
|
});
|
|
31
|
+
const Geo = IDL.Record({ 'lat' : IDL.Float64, 'lng' : IDL.Float64 });
|
|
32
|
+
const SpawnPlace = IDL.Record({ 'center' : Geo, 'atNs' : IDL.Nat64 });
|
|
33
|
+
const SimulatorError = IDL.Variant({
|
|
34
|
+
'RemoteCanisterError' : IDL.Text,
|
|
35
|
+
'NotFound' : IDL.Null,
|
|
36
|
+
'NotAuthorized' : IDL.Text,
|
|
37
|
+
'InvalidData' : IDL.Text,
|
|
38
|
+
});
|
|
39
|
+
const Result = IDL.Variant({
|
|
40
|
+
'Ok' : IDL.Opt(SpawnPlace),
|
|
41
|
+
'Err' : SimulatorError,
|
|
42
|
+
});
|
|
31
43
|
const Licence = IDL.Record({
|
|
32
44
|
'mimeType' : IDL.Text,
|
|
33
45
|
'image' : IDL.Vec(IDL.Nat8),
|
|
@@ -59,7 +71,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
59
71
|
'carPhotoCount' : IDL.Nat8,
|
|
60
72
|
'hasLicencePhoto' : IDL.Bool,
|
|
61
73
|
});
|
|
62
|
-
const Geo = IDL.Record({ 'lat' : IDL.Float64, 'lng' : IDL.Float64 });
|
|
63
74
|
const RideView = IDL.Record({
|
|
64
75
|
'status' : RideStatus,
|
|
65
76
|
'requestId' : IDL.Text,
|
|
@@ -80,13 +91,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
80
91
|
'pickup' : Geo,
|
|
81
92
|
'driverKey' : IDL.Text,
|
|
82
93
|
});
|
|
83
|
-
const
|
|
84
|
-
'RemoteCanisterError' : IDL.Text,
|
|
85
|
-
'NotFound' : IDL.Null,
|
|
86
|
-
'NotAuthorized' : IDL.Text,
|
|
87
|
-
'InvalidData' : IDL.Text,
|
|
88
|
-
});
|
|
89
|
-
const Result = IDL.Variant({
|
|
94
|
+
const Result_1 = IDL.Variant({
|
|
90
95
|
'Ok' : IDL.Vec(RouteTaskView),
|
|
91
96
|
'Err' : SimulatorError,
|
|
92
97
|
});
|
|
@@ -150,7 +155,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
150
155
|
'rider' : IDL.Principal,
|
|
151
156
|
});
|
|
152
157
|
const SetRouterArgs = IDL.Record({ 'router' : IDL.Opt(IDL.Principal) });
|
|
153
|
-
const
|
|
158
|
+
const Result_2 = IDL.Variant({ 'Ok' : IDL.Null, 'Err' : SimulatorError });
|
|
154
159
|
const SpeedUpArgs = IDL.Record({
|
|
155
160
|
'requestId' : IDL.Text,
|
|
156
161
|
'factor' : IDL.Nat8,
|
|
@@ -162,7 +167,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
162
167
|
'registered' : IDL.Nat32,
|
|
163
168
|
'validUntilNs' : IDL.Nat64,
|
|
164
169
|
});
|
|
165
|
-
const
|
|
170
|
+
const Result_3 = IDL.Variant({ 'Ok' : SpawnResult, 'Err' : SimulatorError });
|
|
166
171
|
const SimRouteResult = IDL.Record({
|
|
167
172
|
'requestId' : IDL.Text,
|
|
168
173
|
'rideMeters' : IDL.Nat32,
|
|
@@ -174,20 +179,21 @@ export const idlFactory = ({ IDL }) => {
|
|
|
174
179
|
});
|
|
175
180
|
return IDL.Service({
|
|
176
181
|
'cancelRide' : IDL.Func([RideRef], [ProtocolAnswer], []),
|
|
182
|
+
'getLastSpawn' : IDL.Func([], [Result], ['query']),
|
|
177
183
|
'getLicence' : IDL.Func([RideRef], [LicenceAnswer], ['query']),
|
|
178
184
|
'getRide' : IDL.Func([RideRef], [RideAnswer], ['query']),
|
|
179
185
|
'getRideRoute' : IDL.Func([RideRef], [RouteAnswer], ['query']),
|
|
180
|
-
'getRouteTasks' : IDL.Func([], [
|
|
186
|
+
'getRouteTasks' : IDL.Func([], [Result_1], ['query']),
|
|
181
187
|
'getStatus' : IDL.Func([], [SimulatorStatus], ['query']),
|
|
182
188
|
'http_request' : IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
183
189
|
'protocolVersion' : IDL.Func([], [IDL.Nat32], ['query']),
|
|
184
190
|
'quoteRequest' : IDL.Func([QuoteRequest], [ProtocolAnswer], []),
|
|
185
191
|
'requestClosed' : IDL.Func([RequestClosed], [], []),
|
|
186
192
|
'rideOrder' : IDL.Func([RideOrder], [ProtocolAnswer], []),
|
|
187
|
-
'setRouter' : IDL.Func([SetRouterArgs], [
|
|
188
|
-
'setSpeedUp' : IDL.Func([SpeedUpArgs], [
|
|
189
|
-
'spawnDrivers' : IDL.Func([SpawnArgs], [
|
|
190
|
-
'submitRoute' : IDL.Func([SimRouteResult], [
|
|
193
|
+
'setRouter' : IDL.Func([SetRouterArgs], [Result_2], []),
|
|
194
|
+
'setSpeedUp' : IDL.Func([SpeedUpArgs], [Result_2], []),
|
|
195
|
+
'spawnDrivers' : IDL.Func([SpawnArgs], [Result_3], []),
|
|
196
|
+
'submitRoute' : IDL.Func([SimRouteResult], [Result_2], []),
|
|
191
197
|
});
|
|
192
198
|
};
|
|
193
199
|
export const init = ({ IDL }) => {
|
|
@@ -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, RideHistoryPage } from "../interfaces.js";
|
|
3
|
+
import type { 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 {
|
|
@@ -37,5 +37,24 @@ export declare class ProfilesActor {
|
|
|
37
37
|
* @throws Error with message `CriticalCanisterError` — the core could not be reached
|
|
38
38
|
*/
|
|
39
39
|
getMyRidesAsyncUnsafe(cursor?: string, limit?: number): Promise<RideHistoryPage>;
|
|
40
|
+
/**
|
|
41
|
+
* C-8, KU-4 (0.5.0): one line of the rider's history by its `rideRef` — for the details
|
|
42
|
+
* screen after a reload (Skąd, Dokąd) and to show the stars after a rating.
|
|
43
|
+
* @returns undefined while the ride is not in the core yet (K-9, KU-2: up to a minute)
|
|
44
|
+
* @throws Error with message `CanisterError` — `NotAuthorized` (anonymous, another rider's ride), `InvalidToken`
|
|
45
|
+
* @throws Error with message `CriticalCanisterError` — the core could not be reached
|
|
46
|
+
*/
|
|
47
|
+
getMyRideAsyncUnsafe(rideRef: string): Promise<RideHistoryEntry | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* KU-5 (0.5.0, core C-23): the rider rates the driver of a past ride, 1–5 stars, no
|
|
50
|
+
* comment (U-33). Only a completed ride, within 24 h of its end, once — a rating given
|
|
51
|
+
* live after the ride (`RideRequest.rateDriverAsyncUnsafe`) counts as the one. Show the
|
|
52
|
+
* stars only when `RideHistoryEntry.ratable`.
|
|
53
|
+
* @returns `ok` | `alreadyRated` | `notRatable` | `notAuthorized` (see `RateRideOutcome`)
|
|
54
|
+
* @throws Error with message `CanisterError` — `InvalidData` (stars outside 1–5), `InvalidToken`
|
|
55
|
+
* @throws Error with message `CallRefusedAtInspectionStage` — anonymous, or the daily limit (20, shared with the profile)
|
|
56
|
+
* @throws Error with message `CriticalCanisterError` — the core could not be reached
|
|
57
|
+
*/
|
|
58
|
+
ratePastRideAsyncUnsafe(rideRef: string, stars: number): Promise<RateRideOutcome>;
|
|
40
59
|
}
|
|
41
60
|
//# 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,
|
|
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"}
|