@shipload/sdk 1.0.0-next.65 → 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.
Files changed (79) hide show
  1. package/lib/shipload.d.ts +698 -316
  2. package/lib/shipload.js +2473 -1235
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +2392 -1216
  5. package/lib/shipload.m.js.map +1 -1
  6. package/lib/testing.d.ts +205 -146
  7. package/lib/testing.js +846 -556
  8. package/lib/testing.js.map +1 -1
  9. package/lib/testing.m.js +846 -556
  10. package/lib/testing.m.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/capabilities/crafting.test.ts +51 -6
  13. package/src/capabilities/crafting.ts +19 -4
  14. package/src/capabilities/gathering.ts +2 -2
  15. package/src/capabilities/storage.test.ts +26 -0
  16. package/src/capabilities/storage.ts +6 -6
  17. package/src/contracts/fund.ts +79 -2
  18. package/src/contracts/platform.ts +10 -1
  19. package/src/contracts/server.ts +467 -331
  20. package/src/data/charters.json +325 -127
  21. package/src/data/entities.json +24 -24
  22. package/src/data/items.json +114 -114
  23. package/src/data/kind-registry.json +3 -3
  24. package/src/data/kind-registry.ts +5 -0
  25. package/src/data/recipes.json +56 -95
  26. package/src/derivation/build-methods.test.ts +59 -1
  27. package/src/derivation/build-methods.ts +2 -0
  28. package/src/derivation/capabilities.ts +7 -7
  29. package/src/derivation/strata.ts +5 -3
  30. package/src/derivation/tiers.ts +5 -5
  31. package/src/entity/hydrate.test.ts +156 -0
  32. package/src/entity/hydrate.ts +86 -0
  33. package/src/errors.ts +9 -0
  34. package/src/format.ts +15 -13
  35. package/src/index-module.ts +32 -5
  36. package/src/influence/ballot.test.ts +103 -0
  37. package/src/influence/ballot.ts +98 -0
  38. package/src/influence/charter-metadata.test.ts +136 -0
  39. package/src/influence/charter-metadata.ts +236 -0
  40. package/src/influence/charters.test.ts +51 -65
  41. package/src/influence/charters.ts +70 -40
  42. package/src/influence/civic.test.ts +278 -0
  43. package/src/influence/civic.ts +269 -0
  44. package/src/influence/constants.ts +30 -9
  45. package/src/influence/decomp.ts +15 -15
  46. package/src/influence/duration.ts +42 -6
  47. package/src/influence/index.ts +49 -6
  48. package/src/influence/influence.test.ts +76 -9
  49. package/src/influence/valuation.ts +17 -17
  50. package/src/managers/actions.ts +65 -37
  51. package/src/managers/base.ts +4 -0
  52. package/src/managers/context.ts +3 -1
  53. package/src/managers/index.ts +4 -2
  54. package/src/managers/influence.test.ts +18 -20
  55. package/src/managers/influence.ts +137 -84
  56. package/src/managers/jobs.test.ts +2 -2
  57. package/src/managers/jobs.ts +4 -4
  58. package/src/nft/description.ts +10 -11
  59. package/src/planner/index.ts +54 -0
  60. package/src/planner/planner.test.ts +127 -2
  61. package/src/resolution/display-name.ts +1 -1
  62. package/src/scheduling/availability.test.ts +113 -0
  63. package/src/scheduling/availability.ts +48 -8
  64. package/src/scheduling/jobs.ts +1 -1
  65. package/src/scheduling/projection.ts +2 -16
  66. package/src/scheduling/task-cargo.test.ts +62 -1
  67. package/src/scheduling/task-cargo.ts +25 -10
  68. package/src/scheduling/task-effects.test.ts +35 -0
  69. package/src/scheduling/task-effects.ts +34 -0
  70. package/src/scheduling/unwrap.test.ts +3 -3
  71. package/src/scheduling/unwrap.ts +3 -3
  72. package/src/shipload.ts +22 -3
  73. package/src/travel/reach.test.ts +86 -0
  74. package/src/travel/reach.ts +23 -10
  75. package/src/travel/route-build.test.ts +63 -0
  76. package/src/travel/route-build.ts +60 -0
  77. package/src/travel/travel.ts +2 -1
  78. package/src/types.ts +6 -2
  79. 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 canceljob extends Struct {
148
+ class cancelbuild extends Struct {
84
149
  job_id: UInt64;
85
- ship_id: UInt64;
86
150
  }
87
- class cancelupgrade extends Struct {
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,18 +169,24 @@ declare namespace Types {
104
169
  id: UInt64;
105
170
  entity_id?: UInt64;
106
171
  }
107
- class charter_effect extends Struct {
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
- item_id: UInt16;
110
- target_item_id: UInt16;
111
- slot_mask: UInt16;
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
- effect: charter_effect;
187
+ grants: civic_grant[];
188
+ exclusion_group: UInt16;
189
+ repeat_cap: UInt8;
119
190
  }
120
191
  class charter_ready_view extends Struct {
121
192
  x: Int64;
@@ -124,20 +195,33 @@ declare namespace Types {
124
195
  }
125
196
  class charter_view extends Struct {
126
197
  node_id: UInt32;
127
- completed_epoch: UInt32;
128
- entity_id: UInt64;
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;
129
209
  }
130
210
  class charter_result extends Struct {
131
211
  location_id: UInt64;
132
212
  lifetime: UInt64;
133
- watermark: UInt64;
134
- surplus: UInt64;
213
+ spent: UInt64;
214
+ unassigned: UInt64;
135
215
  mandate: UInt32;
136
216
  next_cost: UInt64;
137
217
  prereqs_met: boolean;
138
218
  buildable: boolean;
139
219
  epoch: UInt32;
140
220
  built: charter_view[];
221
+ ballot_id: UInt64;
222
+ settling: boolean;
223
+ queue: seat_view[];
224
+ progress: progress_view[];
141
225
  }
142
226
  class charter_tree_result extends Struct {
143
227
  nodes: charter_node_def[];
@@ -149,10 +233,11 @@ declare namespace Types {
149
233
  class charterready_result extends Struct {
150
234
  worlds: charter_ready_view[];
151
235
  }
152
- class charters_row extends Struct {
153
- node_id: UInt32;
154
- completed_epoch: UInt32;
155
- entity_id: UInt64;
236
+ class citizenship_row extends Struct {
237
+ location_id: UInt64;
238
+ lifetime: UInt64;
239
+ active: UInt64;
240
+ active_epoch: UInt32;
156
241
  }
157
242
  class civicconfig_row extends Struct {
158
243
  civic_owner: Name;
@@ -160,7 +245,10 @@ declare namespace Types {
160
245
  class claim_row extends Struct {
161
246
  owner: Name;
162
247
  }
163
- class claimjob extends Struct {
248
+ class claimbuild extends Struct {
249
+ job_id: UInt64;
250
+ }
251
+ class claimcraft extends Struct {
164
252
  job_id: UInt64;
165
253
  ship_id: UInt64;
166
254
  }
@@ -177,9 +265,6 @@ declare namespace Types {
177
265
  class claimstarter extends Struct {
178
266
  owner: Name;
179
267
  }
180
- class claimupgrade extends Struct {
181
- job_id: UInt64;
182
- }
183
268
  class cleanrsvp extends Struct {
184
269
  epoch: UInt64;
185
270
  max_rows: UInt64;
@@ -240,11 +325,6 @@ declare namespace Types {
240
325
  class configlog extends Struct {
241
326
  config: game_config;
242
327
  }
243
- class coordinates extends Struct {
244
- x: Int64;
245
- y: Int64;
246
- z?: UInt16;
247
- }
248
328
  class coupling extends Struct {
249
329
  counterpart: entity_ref;
250
330
  hold: UInt64;
@@ -272,25 +352,55 @@ declare namespace Types {
272
352
  quantity: UInt32;
273
353
  inputs: cargo_item[];
274
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
+ }
275
372
  class dbgcredit extends Struct {
276
373
  owner: Name;
277
374
  x: Int64;
278
375
  y: Int64;
279
376
  amount_atomic: UInt64;
377
+ node?: UInt32;
280
378
  }
281
379
  class dbgmandate extends Struct {
282
380
  x: Int64;
283
381
  y: Int64;
284
382
  node_id: UInt32;
285
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
+ }
286
396
  class decomp_bucket extends Struct {
287
397
  category: UInt8;
288
398
  tier: UInt8;
289
- raw_kg: UInt32;
399
+ raw_mass: UInt32;
290
400
  }
291
401
  class decomp_result extends Struct {
292
402
  item_id: UInt16;
293
- processed_kg: UInt64;
403
+ processed_mass: UInt64;
294
404
  buckets: decomp_bucket[];
295
405
  }
296
406
  class delentity extends Struct {
@@ -311,7 +421,7 @@ declare namespace Types {
311
421
  ref: cargo_ref;
312
422
  slot?: cluster_slot;
313
423
  }
314
- class depot_row extends Struct {
424
+ class storage_row extends Struct {
315
425
  id: UInt64;
316
426
  owner: Name;
317
427
  item_id: UInt64;
@@ -324,12 +434,7 @@ declare namespace Types {
324
434
  player_cap: UInt64;
325
435
  stored_mass: UInt64;
326
436
  reserved_mass: UInt64;
327
- rows: depot_row[];
328
- }
329
- class depotacct_row extends Struct {
330
- owner: Name;
331
- stored_mass: UInt64;
332
- reserved_mass: UInt64;
437
+ rows: storage_row[];
333
438
  }
334
439
  class depotstore extends Struct {
335
440
  ship_id: UInt64;
@@ -409,6 +514,7 @@ declare namespace Types {
409
514
  energy_cost?: UInt32;
410
515
  target_item_id?: UInt16;
411
516
  refit?: refit_op;
517
+ charter_node?: UInt32;
412
518
  }
413
519
  class schedule extends Struct {
414
520
  started: TimePoint;
@@ -552,6 +658,15 @@ declare namespace Types {
552
658
  class genesisfleet extends Struct {
553
659
  entities: entity_row[];
554
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
+ }
555
670
  class getcharter extends Struct {
556
671
  x: Int64;
557
672
  y: Int64;
@@ -565,6 +680,9 @@ declare namespace Types {
565
680
  }
566
681
  class getconfig extends Struct {
567
682
  }
683
+ class getcraftjobs extends Struct {
684
+ building_id: UInt64;
685
+ }
568
686
  class getdecomp extends Struct {
569
687
  item_id: UInt16;
570
688
  }
@@ -627,9 +745,6 @@ declare namespace Types {
627
745
  }
628
746
  class getitemtypes extends Struct {
629
747
  }
630
- class getjobs extends Struct {
631
- workshop_id: UInt64;
632
- }
633
748
  class getkindmeta extends Struct {
634
749
  }
635
750
  class getlocation extends Struct {
@@ -684,9 +799,6 @@ declare namespace Types {
684
799
  }
685
800
  class getresources extends Struct {
686
801
  }
687
- class getservice extends Struct {
688
- workshop_id: UInt64;
689
- }
690
802
  class getslots extends Struct {
691
803
  }
692
804
  class getstratum extends Struct {
@@ -698,14 +810,12 @@ declare namespace Types {
698
810
  owner: Name;
699
811
  entity_type?: Name;
700
812
  }
701
- class getupgjobs extends Struct {
702
- dock_id: UInt64;
703
- }
704
813
  class getvoteready extends Struct {
705
814
  }
706
815
  class getvotes extends Struct {
707
816
  x: Int64;
708
817
  y: Int64;
818
+ player: Name;
709
819
  }
710
820
  class getwormhole extends Struct {
711
821
  x: Int64;
@@ -778,10 +888,6 @@ declare namespace Types {
778
888
  class importstate extends Struct {
779
889
  row: state_row;
780
890
  }
781
- class infballot_row extends Struct {
782
- location_id: UInt64;
783
- epoch: UInt32;
784
- }
785
891
  class infburn_row extends Struct {
786
892
  bps: UInt16;
787
893
  }
@@ -790,25 +896,14 @@ declare namespace Types {
790
896
  base: UInt64;
791
897
  floor: UInt64;
792
898
  }
793
- class infloc_row extends Struct {
794
- location_id: UInt64;
795
- lifetime: UInt64;
796
- active: UInt64;
797
- last_update_epoch: UInt32;
798
- watermark: UInt64;
799
- chosen: UInt32;
800
- chosen_epoch: UInt32;
801
- founder: Name;
802
- founded: UInt32;
803
- }
804
899
  class influence_totals extends Struct {
805
- player_lifetime: UInt64;
806
- player_active: UInt64;
807
900
  standing_lifetime: UInt64;
808
901
  standing_active: UInt64;
902
+ citizenship_lifetime: UInt64;
903
+ citizenship_active: UInt64;
809
904
  location_lifetime: UInt64;
810
905
  location_active: UInt64;
811
- watermark: UInt64;
906
+ spent: UInt64;
812
907
  mandate: UInt32;
813
908
  founder: Name;
814
909
  founded: UInt32;
@@ -819,18 +914,6 @@ declare namespace Types {
819
914
  tier: UInt8;
820
915
  threshold: UInt64;
821
916
  }
822
- class infplayer_row extends Struct {
823
- account: Name;
824
- lifetime: UInt64;
825
- active: UInt64;
826
- last_update_epoch: UInt32;
827
- }
828
- class infplayerloc_row extends Struct {
829
- location_id: UInt64;
830
- lifetime: UInt64;
831
- active: UInt64;
832
- last_update_epoch: UInt32;
833
- }
834
917
  class infpool_row extends Struct {
835
918
  category: UInt8;
836
919
  tier: UInt8;
@@ -842,20 +925,10 @@ declare namespace Types {
842
925
  class infquality_row extends Struct {
843
926
  d1: UInt32;
844
927
  }
845
- class inftally_row extends Struct {
846
- node_id: UInt64;
847
- total: UInt64;
848
- }
849
928
  class infvalue_result extends Struct {
850
929
  total_atomic: UInt64;
851
930
  per_item_atomic: UInt64[];
852
931
  }
853
- class infvote_row extends Struct {
854
- account: Name;
855
- epoch: UInt32;
856
- node_id: UInt32;
857
- weight: UInt64;
858
- }
859
932
  class infweight_row extends Struct {
860
933
  category: UInt8;
861
934
  tier: UInt8;
@@ -908,23 +981,6 @@ declare namespace Types {
908
981
  starts_at: TimePoint;
909
982
  completes_at: TimePoint;
910
983
  }
911
- class job_row extends Struct {
912
- id: UInt64;
913
- workshop: UInt64;
914
- socket: UInt8;
915
- owner: Name;
916
- ship_id: UInt64;
917
- coords: coordinates;
918
- starts_at: TimePoint;
919
- completes_at: TimePoint;
920
- recipe_id: UInt16;
921
- quantity: UInt32;
922
- energy_paid: UInt32;
923
- cargo: cargo_item[];
924
- }
925
- class jobs_result extends Struct {
926
- jobs: job_row[];
927
- }
928
984
  class join extends Struct {
929
985
  account: Name;
930
986
  }
@@ -970,6 +1026,15 @@ declare namespace Types {
970
1026
  is_system: boolean;
971
1027
  is_wormhole: boolean;
972
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
+ }
973
1038
  class mint_threshold_view extends Struct {
974
1039
  category: UInt8;
975
1040
  tier: UInt8;
@@ -1113,6 +1178,10 @@ declare namespace Types {
1113
1178
  class pools_result extends Struct {
1114
1179
  pools: pool_view[];
1115
1180
  }
1181
+ class progress_row extends Struct {
1182
+ node_id: UInt32;
1183
+ amount: UInt64;
1184
+ }
1116
1185
  class projected_state extends Struct {
1117
1186
  owner: Name;
1118
1187
  coordinates: coordinates;
@@ -1205,13 +1274,6 @@ declare namespace Types {
1205
1274
  x: Int64;
1206
1275
  y: Int64;
1207
1276
  }
1208
- class service_socket extends Struct {
1209
- open: boolean;
1210
- }
1211
- class service_row extends Struct {
1212
- entity: UInt64;
1213
- sockets: service_socket[];
1214
- }
1215
1277
  class setcivic extends Struct {
1216
1278
  account: Name;
1217
1279
  }
@@ -1252,14 +1314,16 @@ declare namespace Types {
1252
1314
  template_id: Int32;
1253
1315
  schema_name: Name;
1254
1316
  }
1255
- class setsocket extends Struct {
1256
- workshop_id: UInt64;
1257
- slot: UInt8;
1258
- open: boolean;
1259
- }
1260
1317
  class setthreshold extends Struct {
1261
1318
  threshold: UInt8;
1262
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
+ }
1263
1327
  class setwrapcost extends Struct {
1264
1328
  item_type: UInt8;
1265
1329
  tier: UInt8;
@@ -1275,6 +1339,12 @@ declare namespace Types {
1275
1339
  to_id: UInt64;
1276
1340
  items: cargo_item[];
1277
1341
  }
1342
+ class standing_row extends Struct {
1343
+ account: Name;
1344
+ lifetime: UInt64;
1345
+ active: UInt64;
1346
+ active_epoch: UInt32;
1347
+ }
1278
1348
  class stowcargo extends Struct {
1279
1349
  owner: Name;
1280
1350
  entity_id: UInt64;
@@ -1339,17 +1409,20 @@ declare namespace Types {
1339
1409
  class vote_option extends Struct {
1340
1410
  node_id: UInt32;
1341
1411
  cost: UInt64;
1342
- total: UInt64;
1343
- eligible: boolean;
1412
+ seat: UInt32;
1413
+ weight: UInt64;
1414
+ rank: UInt32;
1344
1415
  }
1345
1416
  class vote_result extends Struct {
1346
1417
  location_id: UInt64;
1418
+ ballot_id: UInt64;
1347
1419
  epoch: UInt32;
1348
- ballot_epoch: UInt32;
1349
- chosen: UInt32;
1350
- chosen_epoch: UInt32;
1351
- effective: UInt32;
1420
+ settled_epoch: UInt32;
1421
+ seats: UInt32;
1422
+ settling: boolean;
1423
+ queue: UInt32[];
1352
1424
  options: vote_option[];
1425
+ picks: UInt32[];
1353
1426
  }
1354
1427
  class types_row extends Struct {
1355
1428
  id: UInt64;
@@ -1378,20 +1451,6 @@ declare namespace Types {
1378
1451
  to_id: UInt64;
1379
1452
  items: cargo_item[];
1380
1453
  }
1381
- class upgjob_row extends Struct {
1382
- id: UInt64;
1383
- dock: UInt64;
1384
- target: UInt64;
1385
- owner: Name;
1386
- coords: coordinates;
1387
- starts_at: TimePoint;
1388
- completes_at: TimePoint;
1389
- target_item_id: UInt16;
1390
- cargo: cargo_item[];
1391
- }
1392
- class upgjobs_result extends Struct {
1393
- jobs: upgjob_row[];
1394
- }
1395
1454
  class upgrade extends Struct {
1396
1455
  builder_id: UInt64;
1397
1456
  target_id: UInt64;
@@ -1399,20 +1458,8 @@ declare namespace Types {
1399
1458
  inputs: cargo_item[];
1400
1459
  slot?: UInt8;
1401
1460
  }
1402
- class upgradejob extends Struct {
1403
- target_id: UInt64;
1404
- dock_id: UInt64;
1405
- target_item_id: UInt16;
1406
- inputs: cargo_item[];
1407
- }
1408
- class votecharter extends Struct {
1409
- player: Name;
1410
- x: Int64;
1411
- y: Int64;
1412
- node_id: UInt32;
1413
- }
1414
1461
  class voteready extends Struct {
1415
- max_ballots: UInt32;
1462
+ max_pages: UInt32;
1416
1463
  }
1417
1464
  class warp extends Struct {
1418
1465
  id: UInt64;
@@ -1421,6 +1468,17 @@ declare namespace Types {
1421
1468
  }
1422
1469
  class wipe extends Struct {
1423
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
+ }
1424
1482
  class wormhole_info extends Struct {
1425
1483
  coords: coordinates;
1426
1484
  is_wormhole: boolean;
@@ -1429,6 +1487,7 @@ declare namespace Types {
1429
1487
  class wrapconfig_row extends Struct {
1430
1488
  fee_pct: UInt16;
1431
1489
  fee_account: Name;
1490
+ min_asset_id: UInt64;
1432
1491
  }
1433
1492
  class wrapcost_row extends Struct {
1434
1493
  item_type: UInt8;