@shipload/sdk 1.0.0-next.64 → 1.0.0-next.66
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/lib/shipload.d.ts +754 -316
- package/lib/shipload.js +2650 -1336
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +2564 -1308
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +219 -145
- package/lib/testing.js +910 -557
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +910 -557
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/capabilities/crafting.test.ts +51 -6
- package/src/capabilities/crafting.ts +19 -4
- package/src/capabilities/gathering.ts +2 -2
- package/src/capabilities/storage.test.ts +26 -0
- package/src/capabilities/storage.ts +6 -6
- package/src/contracts/fund.ts +110 -5
- package/src/contracts/platform.ts +10 -1
- package/src/contracts/server.ts +498 -331
- package/src/data/charters.json +325 -127
- package/src/data/entities.json +24 -24
- package/src/data/items.json +114 -114
- package/src/data/kind-registry.json +3 -3
- package/src/data/kind-registry.ts +5 -0
- package/src/data/recipes.json +56 -95
- package/src/derivation/build-methods.test.ts +59 -1
- package/src/derivation/build-methods.ts +2 -0
- package/src/derivation/capabilities.ts +7 -7
- package/src/derivation/strata.ts +5 -3
- package/src/derivation/tiers.ts +5 -5
- package/src/entity/hydrate.test.ts +156 -0
- package/src/entity/hydrate.ts +86 -0
- package/src/errors.ts +9 -0
- package/src/format.ts +15 -13
- package/src/index-module.ts +33 -5
- package/src/influence/ballot.test.ts +103 -0
- package/src/influence/ballot.ts +98 -0
- package/src/influence/charter-metadata.test.ts +136 -0
- package/src/influence/charter-metadata.ts +236 -0
- package/src/influence/charters.test.ts +51 -65
- package/src/influence/charters.ts +70 -40
- package/src/influence/civic.test.ts +278 -0
- package/src/influence/civic.ts +269 -0
- package/src/influence/constants.ts +30 -9
- package/src/influence/decomp.ts +15 -15
- package/src/influence/duration.ts +42 -6
- package/src/influence/index.ts +49 -6
- package/src/influence/influence.test.ts +76 -9
- package/src/influence/valuation.ts +17 -17
- package/src/managers/actions.ts +65 -37
- package/src/managers/base.ts +4 -0
- package/src/managers/context.ts +3 -1
- package/src/managers/index.ts +5 -2
- package/src/managers/influence.test.ts +18 -20
- package/src/managers/influence.ts +162 -84
- package/src/managers/jobs.test.ts +2 -2
- package/src/managers/jobs.ts +4 -4
- package/src/nft/description.ts +10 -11
- package/src/planner/index.ts +54 -0
- package/src/planner/planner.test.ts +127 -2
- package/src/resolution/display-name.ts +1 -1
- package/src/scheduling/availability.test.ts +113 -0
- package/src/scheduling/availability.ts +48 -8
- package/src/scheduling/jobs.ts +1 -1
- package/src/scheduling/projection.ts +2 -16
- package/src/scheduling/task-cargo.test.ts +62 -1
- package/src/scheduling/task-cargo.ts +25 -10
- package/src/scheduling/task-effects.test.ts +35 -0
- package/src/scheduling/task-effects.ts +34 -0
- package/src/scheduling/unwrap.test.ts +3 -3
- package/src/scheduling/unwrap.ts +3 -3
- package/src/shipload.ts +23 -4
- package/src/travel/reach.test.ts +86 -0
- package/src/travel/reach.ts +23 -10
- package/src/travel/route-build.test.ts +63 -0
- package/src/travel/route-build.ts +60 -0
- package/src/travel/travel.ts +2 -1
- package/src/types.ts +6 -2
- package/src/utils/hash.ts +18 -2
package/lib/testing.d.ts
CHANGED
|
@@ -49,6 +49,40 @@ declare namespace Types {
|
|
|
49
49
|
class addoracle extends Struct {
|
|
50
50
|
oracle_id: Name;
|
|
51
51
|
}
|
|
52
|
+
class ballot_credit extends Struct {
|
|
53
|
+
account: Name;
|
|
54
|
+
amount: UInt64;
|
|
55
|
+
}
|
|
56
|
+
class ballot_row extends Struct {
|
|
57
|
+
ballot_id: UInt64;
|
|
58
|
+
kind: UInt8;
|
|
59
|
+
subject: UInt64;
|
|
60
|
+
seats: UInt32;
|
|
61
|
+
settled_epoch: UInt32;
|
|
62
|
+
queue: UInt32[];
|
|
63
|
+
parked: ballot_credit[];
|
|
64
|
+
}
|
|
65
|
+
class ballot_seq_row extends Struct {
|
|
66
|
+
next_id: UInt64;
|
|
67
|
+
cursor: UInt64;
|
|
68
|
+
page_rows: UInt32;
|
|
69
|
+
}
|
|
70
|
+
class ballot_tally extends Struct {
|
|
71
|
+
option: UInt32;
|
|
72
|
+
weight: UInt64;
|
|
73
|
+
}
|
|
74
|
+
class ballotpicks_row extends Struct {
|
|
75
|
+
account: Name;
|
|
76
|
+
picks: UInt32[];
|
|
77
|
+
}
|
|
78
|
+
class ballotsettle_row extends Struct {
|
|
79
|
+
ballot_id: UInt64;
|
|
80
|
+
round: UInt32;
|
|
81
|
+
cursor: UInt64;
|
|
82
|
+
target_epoch: UInt32;
|
|
83
|
+
tallies: ballot_tally[];
|
|
84
|
+
seated: UInt32[];
|
|
85
|
+
}
|
|
52
86
|
class blend extends Struct {
|
|
53
87
|
id: UInt64;
|
|
54
88
|
inputs: cargo_item[];
|
|
@@ -59,6 +93,37 @@ declare namespace Types {
|
|
|
59
93
|
drain: UInt32;
|
|
60
94
|
output_pct: UInt16;
|
|
61
95
|
}
|
|
96
|
+
class buildings_row extends Struct {
|
|
97
|
+
entity_id: UInt64;
|
|
98
|
+
building: UInt8;
|
|
99
|
+
}
|
|
100
|
+
class buildjob extends Struct {
|
|
101
|
+
target_id: UInt64;
|
|
102
|
+
dock_id: UInt64;
|
|
103
|
+
slot: UInt8;
|
|
104
|
+
target_item_id: UInt16;
|
|
105
|
+
inputs: cargo_item[];
|
|
106
|
+
}
|
|
107
|
+
class coordinates extends Struct {
|
|
108
|
+
x: Int64;
|
|
109
|
+
y: Int64;
|
|
110
|
+
z?: UInt16;
|
|
111
|
+
}
|
|
112
|
+
class buildjob_row extends Struct {
|
|
113
|
+
id: UInt64;
|
|
114
|
+
building: UInt64;
|
|
115
|
+
socket: UInt8;
|
|
116
|
+
target: UInt64;
|
|
117
|
+
owner: Name;
|
|
118
|
+
coords: coordinates;
|
|
119
|
+
starts_at: TimePoint;
|
|
120
|
+
completes_at: TimePoint;
|
|
121
|
+
target_item_id: UInt16;
|
|
122
|
+
cargo: cargo_item[];
|
|
123
|
+
}
|
|
124
|
+
class buildjobs_result extends Struct {
|
|
125
|
+
jobs: buildjob_row[];
|
|
126
|
+
}
|
|
62
127
|
class buildplot extends Struct {
|
|
63
128
|
builder_id: UInt64;
|
|
64
129
|
plot_id: UInt64;
|
|
@@ -80,12 +145,12 @@ declare namespace Types {
|
|
|
80
145
|
entitygroup?: UInt64;
|
|
81
146
|
group_members?: entity_ref[];
|
|
82
147
|
}
|
|
83
|
-
class
|
|
148
|
+
class cancelbuild extends Struct {
|
|
84
149
|
job_id: UInt64;
|
|
85
|
-
ship_id: UInt64;
|
|
86
150
|
}
|
|
87
|
-
class
|
|
151
|
+
class cancelcraft extends Struct {
|
|
88
152
|
job_id: UInt64;
|
|
153
|
+
ship_id: UInt64;
|
|
89
154
|
}
|
|
90
155
|
class cargo_row extends Struct {
|
|
91
156
|
id: UInt64;
|
|
@@ -104,35 +169,59 @@ declare namespace Types {
|
|
|
104
169
|
id: UInt64;
|
|
105
170
|
entity_id?: UInt64;
|
|
106
171
|
}
|
|
107
|
-
class
|
|
172
|
+
class castballot extends Struct {
|
|
173
|
+
player: Name;
|
|
174
|
+
ballot_id: UInt64;
|
|
175
|
+
picks: UInt32[];
|
|
176
|
+
}
|
|
177
|
+
class civic_grant extends Struct {
|
|
108
178
|
kind: UInt8;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
stat: UInt16;
|
|
179
|
+
building: UInt8;
|
|
180
|
+
stat: UInt8;
|
|
181
|
+
value: UInt16;
|
|
113
182
|
}
|
|
114
183
|
class charter_node_def extends Struct {
|
|
115
184
|
node_id: UInt32;
|
|
116
185
|
cost: UInt64;
|
|
117
186
|
prereqs: UInt32[];
|
|
118
|
-
|
|
187
|
+
grants: civic_grant[];
|
|
188
|
+
exclusion_group: UInt16;
|
|
189
|
+
repeat_cap: UInt8;
|
|
190
|
+
}
|
|
191
|
+
class charter_ready_view extends Struct {
|
|
192
|
+
x: Int64;
|
|
193
|
+
y: Int64;
|
|
194
|
+
mandate: UInt32;
|
|
119
195
|
}
|
|
120
196
|
class charter_view extends Struct {
|
|
121
197
|
node_id: UInt32;
|
|
122
|
-
|
|
123
|
-
|
|
198
|
+
repeats: UInt16;
|
|
199
|
+
}
|
|
200
|
+
class seat_view extends Struct {
|
|
201
|
+
node_id: UInt32;
|
|
202
|
+
cost: UInt64;
|
|
203
|
+
progress: UInt64;
|
|
204
|
+
gap: UInt64;
|
|
205
|
+
}
|
|
206
|
+
class progress_view extends Struct {
|
|
207
|
+
node_id: UInt32;
|
|
208
|
+
amount: UInt64;
|
|
124
209
|
}
|
|
125
210
|
class charter_result extends Struct {
|
|
126
211
|
location_id: UInt64;
|
|
127
212
|
lifetime: UInt64;
|
|
128
|
-
|
|
129
|
-
|
|
213
|
+
spent: UInt64;
|
|
214
|
+
unassigned: UInt64;
|
|
130
215
|
mandate: UInt32;
|
|
131
216
|
next_cost: UInt64;
|
|
132
217
|
prereqs_met: boolean;
|
|
133
218
|
buildable: boolean;
|
|
134
219
|
epoch: UInt32;
|
|
135
220
|
built: charter_view[];
|
|
221
|
+
ballot_id: UInt64;
|
|
222
|
+
settling: boolean;
|
|
223
|
+
queue: seat_view[];
|
|
224
|
+
progress: progress_view[];
|
|
136
225
|
}
|
|
137
226
|
class charter_tree_result extends Struct {
|
|
138
227
|
nodes: charter_node_def[];
|
|
@@ -141,10 +230,14 @@ declare namespace Types {
|
|
|
141
230
|
x: Int64;
|
|
142
231
|
y: Int64;
|
|
143
232
|
}
|
|
144
|
-
class
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
233
|
+
class charterready_result extends Struct {
|
|
234
|
+
worlds: charter_ready_view[];
|
|
235
|
+
}
|
|
236
|
+
class citizenship_row extends Struct {
|
|
237
|
+
location_id: UInt64;
|
|
238
|
+
lifetime: UInt64;
|
|
239
|
+
active: UInt64;
|
|
240
|
+
active_epoch: UInt32;
|
|
148
241
|
}
|
|
149
242
|
class civicconfig_row extends Struct {
|
|
150
243
|
civic_owner: Name;
|
|
@@ -152,7 +245,10 @@ declare namespace Types {
|
|
|
152
245
|
class claim_row extends Struct {
|
|
153
246
|
owner: Name;
|
|
154
247
|
}
|
|
155
|
-
class
|
|
248
|
+
class claimbuild extends Struct {
|
|
249
|
+
job_id: UInt64;
|
|
250
|
+
}
|
|
251
|
+
class claimcraft extends Struct {
|
|
156
252
|
job_id: UInt64;
|
|
157
253
|
ship_id: UInt64;
|
|
158
254
|
}
|
|
@@ -169,9 +265,6 @@ declare namespace Types {
|
|
|
169
265
|
class claimstarter extends Struct {
|
|
170
266
|
owner: Name;
|
|
171
267
|
}
|
|
172
|
-
class claimupgrade extends Struct {
|
|
173
|
-
job_id: UInt64;
|
|
174
|
-
}
|
|
175
268
|
class cleanrsvp extends Struct {
|
|
176
269
|
epoch: UInt64;
|
|
177
270
|
max_rows: UInt64;
|
|
@@ -232,11 +325,6 @@ declare namespace Types {
|
|
|
232
325
|
class configlog extends Struct {
|
|
233
326
|
config: game_config;
|
|
234
327
|
}
|
|
235
|
-
class coordinates extends Struct {
|
|
236
|
-
x: Int64;
|
|
237
|
-
y: Int64;
|
|
238
|
-
z?: UInt16;
|
|
239
|
-
}
|
|
240
328
|
class coupling extends Struct {
|
|
241
329
|
counterpart: entity_ref;
|
|
242
330
|
hold: UInt64;
|
|
@@ -264,25 +352,55 @@ declare namespace Types {
|
|
|
264
352
|
quantity: UInt32;
|
|
265
353
|
inputs: cargo_item[];
|
|
266
354
|
}
|
|
355
|
+
class craftjob_row extends Struct {
|
|
356
|
+
id: UInt64;
|
|
357
|
+
building: UInt64;
|
|
358
|
+
socket: UInt8;
|
|
359
|
+
owner: Name;
|
|
360
|
+
ship_id: UInt64;
|
|
361
|
+
coords: coordinates;
|
|
362
|
+
starts_at: TimePoint;
|
|
363
|
+
completes_at: TimePoint;
|
|
364
|
+
recipe_id: UInt16;
|
|
365
|
+
quantity: UInt32;
|
|
366
|
+
energy_paid: UInt32;
|
|
367
|
+
cargo: cargo_item[];
|
|
368
|
+
}
|
|
369
|
+
class craftjobs_result extends Struct {
|
|
370
|
+
jobs: craftjob_row[];
|
|
371
|
+
}
|
|
267
372
|
class dbgcredit extends Struct {
|
|
268
373
|
owner: Name;
|
|
269
374
|
x: Int64;
|
|
270
375
|
y: Int64;
|
|
271
376
|
amount_atomic: UInt64;
|
|
377
|
+
node?: UInt32;
|
|
272
378
|
}
|
|
273
379
|
class dbgmandate extends Struct {
|
|
274
380
|
x: Int64;
|
|
275
381
|
y: Int64;
|
|
276
382
|
node_id: UInt32;
|
|
277
383
|
}
|
|
384
|
+
class dbgpagerows extends Struct {
|
|
385
|
+
rows: UInt32;
|
|
386
|
+
}
|
|
387
|
+
class dbgpurge extends Struct {
|
|
388
|
+
table_name: Name;
|
|
389
|
+
scope?: Name;
|
|
390
|
+
}
|
|
391
|
+
class dbgseats extends Struct {
|
|
392
|
+
x: Int64;
|
|
393
|
+
y: Int64;
|
|
394
|
+
seats: UInt32;
|
|
395
|
+
}
|
|
278
396
|
class decomp_bucket extends Struct {
|
|
279
397
|
category: UInt8;
|
|
280
398
|
tier: UInt8;
|
|
281
|
-
|
|
399
|
+
raw_mass: UInt32;
|
|
282
400
|
}
|
|
283
401
|
class decomp_result extends Struct {
|
|
284
402
|
item_id: UInt16;
|
|
285
|
-
|
|
403
|
+
processed_mass: UInt64;
|
|
286
404
|
buckets: decomp_bucket[];
|
|
287
405
|
}
|
|
288
406
|
class delentity extends Struct {
|
|
@@ -303,7 +421,7 @@ declare namespace Types {
|
|
|
303
421
|
ref: cargo_ref;
|
|
304
422
|
slot?: cluster_slot;
|
|
305
423
|
}
|
|
306
|
-
class
|
|
424
|
+
class storage_row extends Struct {
|
|
307
425
|
id: UInt64;
|
|
308
426
|
owner: Name;
|
|
309
427
|
item_id: UInt64;
|
|
@@ -316,12 +434,7 @@ declare namespace Types {
|
|
|
316
434
|
player_cap: UInt64;
|
|
317
435
|
stored_mass: UInt64;
|
|
318
436
|
reserved_mass: UInt64;
|
|
319
|
-
rows:
|
|
320
|
-
}
|
|
321
|
-
class depotacct_row extends Struct {
|
|
322
|
-
owner: Name;
|
|
323
|
-
stored_mass: UInt64;
|
|
324
|
-
reserved_mass: UInt64;
|
|
437
|
+
rows: storage_row[];
|
|
325
438
|
}
|
|
326
439
|
class depotstore extends Struct {
|
|
327
440
|
ship_id: UInt64;
|
|
@@ -401,6 +514,7 @@ declare namespace Types {
|
|
|
401
514
|
energy_cost?: UInt32;
|
|
402
515
|
target_item_id?: UInt16;
|
|
403
516
|
refit?: refit_op;
|
|
517
|
+
charter_node?: UInt32;
|
|
404
518
|
}
|
|
405
519
|
class schedule extends Struct {
|
|
406
520
|
started: TimePoint;
|
|
@@ -544,17 +658,31 @@ declare namespace Types {
|
|
|
544
658
|
class genesisfleet extends Struct {
|
|
545
659
|
entities: entity_row[];
|
|
546
660
|
}
|
|
661
|
+
class genesisworld extends Struct {
|
|
662
|
+
founder: Name;
|
|
663
|
+
x: Int64;
|
|
664
|
+
y: Int64;
|
|
665
|
+
node_ids: UInt32[];
|
|
666
|
+
}
|
|
667
|
+
class getbuildjobs extends Struct {
|
|
668
|
+
building_id: UInt64;
|
|
669
|
+
}
|
|
547
670
|
class getcharter extends Struct {
|
|
548
671
|
x: Int64;
|
|
549
672
|
y: Int64;
|
|
550
673
|
}
|
|
551
674
|
class getcharttree extends Struct {
|
|
552
675
|
}
|
|
676
|
+
class getchrtready extends Struct {
|
|
677
|
+
}
|
|
553
678
|
class getcluster extends Struct {
|
|
554
679
|
hub_id: UInt64;
|
|
555
680
|
}
|
|
556
681
|
class getconfig extends Struct {
|
|
557
682
|
}
|
|
683
|
+
class getcraftjobs extends Struct {
|
|
684
|
+
building_id: UInt64;
|
|
685
|
+
}
|
|
558
686
|
class getdecomp extends Struct {
|
|
559
687
|
item_id: UInt16;
|
|
560
688
|
}
|
|
@@ -617,9 +745,6 @@ declare namespace Types {
|
|
|
617
745
|
}
|
|
618
746
|
class getitemtypes extends Struct {
|
|
619
747
|
}
|
|
620
|
-
class getjobs extends Struct {
|
|
621
|
-
workshop_id: UInt64;
|
|
622
|
-
}
|
|
623
748
|
class getkindmeta extends Struct {
|
|
624
749
|
}
|
|
625
750
|
class getlocation extends Struct {
|
|
@@ -632,6 +757,8 @@ declare namespace Types {
|
|
|
632
757
|
}
|
|
633
758
|
class getmintcfg extends Struct {
|
|
634
759
|
}
|
|
760
|
+
class getmintready extends Struct {
|
|
761
|
+
}
|
|
635
762
|
class getmodtypes extends Struct {
|
|
636
763
|
}
|
|
637
764
|
class getmodules extends Struct {
|
|
@@ -672,9 +799,6 @@ declare namespace Types {
|
|
|
672
799
|
}
|
|
673
800
|
class getresources extends Struct {
|
|
674
801
|
}
|
|
675
|
-
class getservice extends Struct {
|
|
676
|
-
workshop_id: UInt64;
|
|
677
|
-
}
|
|
678
802
|
class getslots extends Struct {
|
|
679
803
|
}
|
|
680
804
|
class getstratum extends Struct {
|
|
@@ -686,12 +810,12 @@ declare namespace Types {
|
|
|
686
810
|
owner: Name;
|
|
687
811
|
entity_type?: Name;
|
|
688
812
|
}
|
|
689
|
-
class
|
|
690
|
-
dock_id: UInt64;
|
|
813
|
+
class getvoteready extends Struct {
|
|
691
814
|
}
|
|
692
815
|
class getvotes extends Struct {
|
|
693
816
|
x: Int64;
|
|
694
817
|
y: Int64;
|
|
818
|
+
player: Name;
|
|
695
819
|
}
|
|
696
820
|
class getwormhole extends Struct {
|
|
697
821
|
x: Int64;
|
|
@@ -764,10 +888,6 @@ declare namespace Types {
|
|
|
764
888
|
class importstate extends Struct {
|
|
765
889
|
row: state_row;
|
|
766
890
|
}
|
|
767
|
-
class infballot_row extends Struct {
|
|
768
|
-
location_id: UInt64;
|
|
769
|
-
epoch: UInt32;
|
|
770
|
-
}
|
|
771
891
|
class infburn_row extends Struct {
|
|
772
892
|
bps: UInt16;
|
|
773
893
|
}
|
|
@@ -776,25 +896,14 @@ declare namespace Types {
|
|
|
776
896
|
base: UInt64;
|
|
777
897
|
floor: UInt64;
|
|
778
898
|
}
|
|
779
|
-
class infloc_row extends Struct {
|
|
780
|
-
location_id: UInt64;
|
|
781
|
-
lifetime: UInt64;
|
|
782
|
-
active: UInt64;
|
|
783
|
-
last_update_epoch: UInt32;
|
|
784
|
-
watermark: UInt64;
|
|
785
|
-
chosen: UInt32;
|
|
786
|
-
chosen_epoch: UInt32;
|
|
787
|
-
founder: Name;
|
|
788
|
-
founded: UInt32;
|
|
789
|
-
}
|
|
790
899
|
class influence_totals extends Struct {
|
|
791
|
-
player_lifetime: UInt64;
|
|
792
|
-
player_active: UInt64;
|
|
793
900
|
standing_lifetime: UInt64;
|
|
794
901
|
standing_active: UInt64;
|
|
902
|
+
citizenship_lifetime: UInt64;
|
|
903
|
+
citizenship_active: UInt64;
|
|
795
904
|
location_lifetime: UInt64;
|
|
796
905
|
location_active: UInt64;
|
|
797
|
-
|
|
906
|
+
spent: UInt64;
|
|
798
907
|
mandate: UInt32;
|
|
799
908
|
founder: Name;
|
|
800
909
|
founded: UInt32;
|
|
@@ -805,18 +914,6 @@ declare namespace Types {
|
|
|
805
914
|
tier: UInt8;
|
|
806
915
|
threshold: UInt64;
|
|
807
916
|
}
|
|
808
|
-
class infplayer_row extends Struct {
|
|
809
|
-
account: Name;
|
|
810
|
-
lifetime: UInt64;
|
|
811
|
-
active: UInt64;
|
|
812
|
-
last_update_epoch: UInt32;
|
|
813
|
-
}
|
|
814
|
-
class infplayerloc_row extends Struct {
|
|
815
|
-
location_id: UInt64;
|
|
816
|
-
lifetime: UInt64;
|
|
817
|
-
active: UInt64;
|
|
818
|
-
last_update_epoch: UInt32;
|
|
819
|
-
}
|
|
820
917
|
class infpool_row extends Struct {
|
|
821
918
|
category: UInt8;
|
|
822
919
|
tier: UInt8;
|
|
@@ -828,20 +925,10 @@ declare namespace Types {
|
|
|
828
925
|
class infquality_row extends Struct {
|
|
829
926
|
d1: UInt32;
|
|
830
927
|
}
|
|
831
|
-
class inftally_row extends Struct {
|
|
832
|
-
node_id: UInt64;
|
|
833
|
-
total: UInt64;
|
|
834
|
-
}
|
|
835
928
|
class infvalue_result extends Struct {
|
|
836
929
|
total_atomic: UInt64;
|
|
837
930
|
per_item_atomic: UInt64[];
|
|
838
931
|
}
|
|
839
|
-
class infvote_row extends Struct {
|
|
840
|
-
account: Name;
|
|
841
|
-
epoch: UInt32;
|
|
842
|
-
node_id: UInt32;
|
|
843
|
-
weight: UInt64;
|
|
844
|
-
}
|
|
845
932
|
class infweight_row extends Struct {
|
|
846
933
|
category: UInt8;
|
|
847
934
|
tier: UInt8;
|
|
@@ -894,23 +981,6 @@ declare namespace Types {
|
|
|
894
981
|
starts_at: TimePoint;
|
|
895
982
|
completes_at: TimePoint;
|
|
896
983
|
}
|
|
897
|
-
class job_row extends Struct {
|
|
898
|
-
id: UInt64;
|
|
899
|
-
workshop: UInt64;
|
|
900
|
-
socket: UInt8;
|
|
901
|
-
owner: Name;
|
|
902
|
-
ship_id: UInt64;
|
|
903
|
-
coords: coordinates;
|
|
904
|
-
starts_at: TimePoint;
|
|
905
|
-
completes_at: TimePoint;
|
|
906
|
-
recipe_id: UInt16;
|
|
907
|
-
quantity: UInt32;
|
|
908
|
-
energy_paid: UInt32;
|
|
909
|
-
cargo: cargo_item[];
|
|
910
|
-
}
|
|
911
|
-
class jobs_result extends Struct {
|
|
912
|
-
jobs: job_row[];
|
|
913
|
-
}
|
|
914
984
|
class join extends Struct {
|
|
915
985
|
account: Name;
|
|
916
986
|
}
|
|
@@ -956,6 +1026,15 @@ declare namespace Types {
|
|
|
956
1026
|
is_system: boolean;
|
|
957
1027
|
is_wormhole: boolean;
|
|
958
1028
|
}
|
|
1029
|
+
class locker_row extends Struct {
|
|
1030
|
+
depot_id: UInt64;
|
|
1031
|
+
stored_mass: UInt64;
|
|
1032
|
+
reserved_mass: UInt64;
|
|
1033
|
+
}
|
|
1034
|
+
class mandates_row extends Struct {
|
|
1035
|
+
node_id: UInt32;
|
|
1036
|
+
repeats: UInt16;
|
|
1037
|
+
}
|
|
959
1038
|
class mint_threshold_view extends Struct {
|
|
960
1039
|
category: UInt8;
|
|
961
1040
|
tier: UInt8;
|
|
@@ -1099,6 +1178,10 @@ declare namespace Types {
|
|
|
1099
1178
|
class pools_result extends Struct {
|
|
1100
1179
|
pools: pool_view[];
|
|
1101
1180
|
}
|
|
1181
|
+
class progress_row extends Struct {
|
|
1182
|
+
node_id: UInt32;
|
|
1183
|
+
amount: UInt64;
|
|
1184
|
+
}
|
|
1102
1185
|
class projected_state extends Struct {
|
|
1103
1186
|
owner: Name;
|
|
1104
1187
|
coordinates: coordinates;
|
|
@@ -1191,13 +1274,6 @@ declare namespace Types {
|
|
|
1191
1274
|
x: Int64;
|
|
1192
1275
|
y: Int64;
|
|
1193
1276
|
}
|
|
1194
|
-
class service_socket extends Struct {
|
|
1195
|
-
open: boolean;
|
|
1196
|
-
}
|
|
1197
|
-
class service_row extends Struct {
|
|
1198
|
-
entity: UInt64;
|
|
1199
|
-
sockets: service_socket[];
|
|
1200
|
-
}
|
|
1201
1277
|
class setcivic extends Struct {
|
|
1202
1278
|
account: Name;
|
|
1203
1279
|
}
|
|
@@ -1238,14 +1314,16 @@ declare namespace Types {
|
|
|
1238
1314
|
template_id: Int32;
|
|
1239
1315
|
schema_name: Name;
|
|
1240
1316
|
}
|
|
1241
|
-
class setsocket extends Struct {
|
|
1242
|
-
workshop_id: UInt64;
|
|
1243
|
-
slot: UInt8;
|
|
1244
|
-
open: boolean;
|
|
1245
|
-
}
|
|
1246
1317
|
class setthreshold extends Struct {
|
|
1247
1318
|
threshold: UInt8;
|
|
1248
1319
|
}
|
|
1320
|
+
class settleballot extends Struct {
|
|
1321
|
+
ballot_id: UInt64;
|
|
1322
|
+
max_pages: UInt32;
|
|
1323
|
+
}
|
|
1324
|
+
class setunwrapmin extends Struct {
|
|
1325
|
+
asset_id: UInt64;
|
|
1326
|
+
}
|
|
1249
1327
|
class setwrapcost extends Struct {
|
|
1250
1328
|
item_type: UInt8;
|
|
1251
1329
|
tier: UInt8;
|
|
@@ -1261,6 +1339,12 @@ declare namespace Types {
|
|
|
1261
1339
|
to_id: UInt64;
|
|
1262
1340
|
items: cargo_item[];
|
|
1263
1341
|
}
|
|
1342
|
+
class standing_row extends Struct {
|
|
1343
|
+
account: Name;
|
|
1344
|
+
lifetime: UInt64;
|
|
1345
|
+
active: UInt64;
|
|
1346
|
+
active_epoch: UInt32;
|
|
1347
|
+
}
|
|
1264
1348
|
class stowcargo extends Struct {
|
|
1265
1349
|
owner: Name;
|
|
1266
1350
|
entity_id: UInt64;
|
|
@@ -1325,17 +1409,20 @@ declare namespace Types {
|
|
|
1325
1409
|
class vote_option extends Struct {
|
|
1326
1410
|
node_id: UInt32;
|
|
1327
1411
|
cost: UInt64;
|
|
1328
|
-
|
|
1329
|
-
|
|
1412
|
+
seat: UInt32;
|
|
1413
|
+
weight: UInt64;
|
|
1414
|
+
rank: UInt32;
|
|
1330
1415
|
}
|
|
1331
1416
|
class vote_result extends Struct {
|
|
1332
1417
|
location_id: UInt64;
|
|
1418
|
+
ballot_id: UInt64;
|
|
1333
1419
|
epoch: UInt32;
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1420
|
+
settled_epoch: UInt32;
|
|
1421
|
+
seats: UInt32;
|
|
1422
|
+
settling: boolean;
|
|
1423
|
+
queue: UInt32[];
|
|
1338
1424
|
options: vote_option[];
|
|
1425
|
+
picks: UInt32[];
|
|
1339
1426
|
}
|
|
1340
1427
|
class types_row extends Struct {
|
|
1341
1428
|
id: UInt64;
|
|
@@ -1351,6 +1438,7 @@ declare namespace Types {
|
|
|
1351
1438
|
pool_pair_result_type: pool_pair_result;
|
|
1352
1439
|
mintcfg_result_type: mintcfg_result;
|
|
1353
1440
|
charter_result_type: charter_result;
|
|
1441
|
+
charterready_result_type: charterready_result;
|
|
1354
1442
|
vote_result_type: vote_result;
|
|
1355
1443
|
depot_view_type: depot_view;
|
|
1356
1444
|
}
|
|
@@ -1363,20 +1451,6 @@ declare namespace Types {
|
|
|
1363
1451
|
to_id: UInt64;
|
|
1364
1452
|
items: cargo_item[];
|
|
1365
1453
|
}
|
|
1366
|
-
class upgjob_row extends Struct {
|
|
1367
|
-
id: UInt64;
|
|
1368
|
-
dock: UInt64;
|
|
1369
|
-
target: UInt64;
|
|
1370
|
-
owner: Name;
|
|
1371
|
-
coords: coordinates;
|
|
1372
|
-
starts_at: TimePoint;
|
|
1373
|
-
completes_at: TimePoint;
|
|
1374
|
-
target_item_id: UInt16;
|
|
1375
|
-
cargo: cargo_item[];
|
|
1376
|
-
}
|
|
1377
|
-
class upgjobs_result extends Struct {
|
|
1378
|
-
jobs: upgjob_row[];
|
|
1379
|
-
}
|
|
1380
1454
|
class upgrade extends Struct {
|
|
1381
1455
|
builder_id: UInt64;
|
|
1382
1456
|
target_id: UInt64;
|
|
@@ -1384,20 +1458,8 @@ declare namespace Types {
|
|
|
1384
1458
|
inputs: cargo_item[];
|
|
1385
1459
|
slot?: UInt8;
|
|
1386
1460
|
}
|
|
1387
|
-
class upgradejob extends Struct {
|
|
1388
|
-
target_id: UInt64;
|
|
1389
|
-
dock_id: UInt64;
|
|
1390
|
-
target_item_id: UInt16;
|
|
1391
|
-
inputs: cargo_item[];
|
|
1392
|
-
}
|
|
1393
|
-
class votecharter extends Struct {
|
|
1394
|
-
player: Name;
|
|
1395
|
-
x: Int64;
|
|
1396
|
-
y: Int64;
|
|
1397
|
-
node_id: UInt32;
|
|
1398
|
-
}
|
|
1399
1461
|
class voteready extends Struct {
|
|
1400
|
-
|
|
1462
|
+
max_pages: UInt32;
|
|
1401
1463
|
}
|
|
1402
1464
|
class warp extends Struct {
|
|
1403
1465
|
id: UInt64;
|
|
@@ -1406,6 +1468,17 @@ declare namespace Types {
|
|
|
1406
1468
|
}
|
|
1407
1469
|
class wipe extends Struct {
|
|
1408
1470
|
}
|
|
1471
|
+
class worlds_row extends Struct {
|
|
1472
|
+
location_id: UInt64;
|
|
1473
|
+
lifetime: UInt64;
|
|
1474
|
+
active: UInt64;
|
|
1475
|
+
active_epoch: UInt32;
|
|
1476
|
+
spent: UInt64;
|
|
1477
|
+
unassigned: UInt64;
|
|
1478
|
+
ballot_id: UInt64;
|
|
1479
|
+
founder: Name;
|
|
1480
|
+
founded: UInt32;
|
|
1481
|
+
}
|
|
1409
1482
|
class wormhole_info extends Struct {
|
|
1410
1483
|
coords: coordinates;
|
|
1411
1484
|
is_wormhole: boolean;
|
|
@@ -1414,6 +1487,7 @@ declare namespace Types {
|
|
|
1414
1487
|
class wrapconfig_row extends Struct {
|
|
1415
1488
|
fee_pct: UInt16;
|
|
1416
1489
|
fee_account: Name;
|
|
1490
|
+
min_asset_id: UInt64;
|
|
1417
1491
|
}
|
|
1418
1492
|
class wrapcost_row extends Struct {
|
|
1419
1493
|
item_type: UInt8;
|