@shipload/sdk 1.0.0-next.25 → 1.0.0-next.27

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/testing.d.ts CHANGED
@@ -49,6 +49,7 @@ declare namespace Types {
49
49
  }
50
50
  class cancel extends Struct {
51
51
  id: UInt64;
52
+ lane_key: UInt8;
52
53
  count: UInt64;
53
54
  }
54
55
  class entity_ref extends Struct {
@@ -80,6 +81,9 @@ declare namespace Types {
80
81
  id: UInt64;
81
82
  entity_id?: UInt64;
82
83
  }
84
+ class claim_row extends Struct {
85
+ owner: Name;
86
+ }
83
87
  class coordinates extends Struct {
84
88
  x: Int64;
85
89
  y: Int64;
@@ -90,6 +94,9 @@ declare namespace Types {
90
94
  target_item_id: UInt16;
91
95
  coords: coordinates;
92
96
  }
97
+ class claimstarter extends Struct {
98
+ owner: Name;
99
+ }
93
100
  class cleanrsvp extends Struct {
94
101
  epoch: UInt64;
95
102
  max_rows: UInt64;
@@ -137,7 +144,7 @@ declare namespace Types {
137
144
  }
138
145
  class crafter_stats extends Struct {
139
146
  speed: UInt16;
140
- drain: UInt16;
147
+ drain: UInt32;
141
148
  }
142
149
  class demolish extends Struct {
143
150
  entity_id: UInt64;
@@ -156,23 +163,23 @@ declare namespace Types {
156
163
  enabled: boolean;
157
164
  }
158
165
  class energy_stats extends Struct {
159
- capacity: UInt16;
160
- recharge: UInt16;
166
+ capacity: UInt32;
167
+ recharge: UInt32;
161
168
  }
162
169
  class entity_current_state extends Struct {
163
170
  coordinates: coordinates;
164
- energy: UInt16;
171
+ energy: UInt32;
165
172
  }
166
173
  class movement_stats extends Struct {
167
174
  thrust: UInt32;
168
- drain: UInt16;
175
+ drain: UInt32;
169
176
  }
170
177
  class warp_stats extends Struct {
171
178
  range: UInt32;
172
179
  }
173
180
  class gatherer_stats extends Struct {
174
181
  yield: UInt16;
175
- drain: UInt16;
182
+ drain: UInt32;
176
183
  depth: UInt16;
177
184
  }
178
185
  class loader_stats extends Struct {
@@ -183,7 +190,7 @@ declare namespace Types {
183
190
  class hauler_stats extends Struct {
184
191
  capacity: UInt8;
185
192
  efficiency: UInt16;
186
- drain: UInt16;
193
+ drain: UInt32;
187
194
  }
188
195
  class task extends Struct {
189
196
  type: UInt8;
@@ -193,12 +200,16 @@ declare namespace Types {
193
200
  cargo: cargo_item[];
194
201
  entitytarget?: entity_ref;
195
202
  entitygroup?: UInt64;
196
- energy_cost?: UInt16;
203
+ energy_cost?: UInt32;
197
204
  }
198
205
  class schedule extends Struct {
199
206
  started: TimePoint;
200
207
  tasks: task[];
201
208
  }
209
+ class lane extends Struct {
210
+ lane_key: UInt8;
211
+ schedule: schedule;
212
+ }
202
213
  class entity_info extends Struct {
203
214
  type: Name;
204
215
  id: UInt64;
@@ -209,7 +220,7 @@ declare namespace Types {
209
220
  cargomass: UInt32;
210
221
  cargo: cargo_view[];
211
222
  modules: module_entry[];
212
- energy?: UInt16;
223
+ energy?: UInt32;
213
224
  hullmass?: UInt32;
214
225
  capacity?: UInt32;
215
226
  engines?: movement_stats;
@@ -219,13 +230,7 @@ declare namespace Types {
219
230
  loaders?: loader_stats;
220
231
  hauler?: hauler_stats;
221
232
  crafter?: crafter_stats;
222
- is_idle: boolean;
223
- current_task?: task;
224
- current_task_elapsed: UInt32;
225
- current_task_remaining: UInt32;
226
- pending_tasks: task[];
227
- idle_at?: TimePoint;
228
- schedule?: schedule;
233
+ lanes: lane[];
229
234
  }
230
235
  class slot_def extends Struct {
231
236
  type: UInt8;
@@ -246,10 +251,10 @@ declare namespace Types {
246
251
  name: string;
247
252
  stats: UInt64;
248
253
  coordinates: coordinates;
249
- energy?: UInt16;
254
+ energy?: UInt32;
250
255
  cargomass: UInt32;
251
256
  modules: module_entry[];
252
- schedule?: schedule;
257
+ lanes: lane[];
253
258
  }
254
259
  class entity_seq_row extends Struct {
255
260
  next_id: UInt64;
@@ -299,6 +304,9 @@ declare namespace Types {
299
304
  stratum: UInt16;
300
305
  quantity: UInt32;
301
306
  }
307
+ class genesisfleet extends Struct {
308
+ entities: entity_row[];
309
+ }
302
310
  class getconfig extends Struct {
303
311
  }
304
312
  class getdeposit extends Struct {
@@ -521,7 +529,7 @@ declare namespace Types {
521
529
  can_travel: boolean;
522
530
  current: entity_current_state;
523
531
  projected: entity_current_state;
524
- max_energy: UInt16;
532
+ max_energy: UInt32;
525
533
  systems: nearby_system[];
526
534
  }
527
535
  class nft_cargo_item extends Struct {
@@ -569,7 +577,8 @@ declare namespace Types {
569
577
  task: task;
570
578
  starts_at: TimePoint;
571
579
  completes_at: TimePoint;
572
- new_energy?: UInt16;
580
+ new_energy?: UInt32;
581
+ lane_key: UInt8;
573
582
  }
574
583
  class notify extends Struct {
575
584
  event: task_event;
@@ -601,7 +610,7 @@ declare namespace Types {
601
610
  class projected_state extends Struct {
602
611
  owner: Name;
603
612
  coordinates: coordinates;
604
- energy?: UInt16;
613
+ energy?: UInt32;
605
614
  cargomass: UInt32;
606
615
  cargo: cargo_view[];
607
616
  hullmass?: UInt32;
@@ -649,6 +658,11 @@ declare namespace Types {
649
658
  class resources_result extends Struct {
650
659
  resources: resource_info[];
651
660
  }
661
+ class retarget extends Struct {
662
+ source_id: UInt64;
663
+ task_index: UInt64;
664
+ new_dest_id: UInt64;
665
+ }
652
666
  class reveal extends Struct {
653
667
  oracle_id: Name;
654
668
  epoch: UInt64;