@shipload/sdk 1.0.0-next.15 → 1.0.0-next.17

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 (40) hide show
  1. package/lib/shipload.d.ts +273 -101
  2. package/lib/shipload.js +3419 -2914
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +3397 -2902
  5. package/lib/shipload.m.js.map +1 -1
  6. package/lib/testing.d.ts +45 -39
  7. package/lib/testing.js +171 -143
  8. package/lib/testing.js.map +1 -1
  9. package/lib/testing.m.js +171 -143
  10. package/lib/testing.m.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/capabilities/gathering.ts +15 -6
  13. package/src/capabilities/modules.ts +6 -0
  14. package/src/contracts/platform.ts +1 -1
  15. package/src/contracts/server.ts +212 -111
  16. package/src/data/capabilities.ts +6 -1
  17. package/src/data/capability-formulas.ts +7 -1
  18. package/src/data/colors.ts +12 -12
  19. package/src/data/item-ids.ts +13 -12
  20. package/src/data/items.json +7 -0
  21. package/src/data/metadata.ts +36 -23
  22. package/src/data/recipes.json +49 -0
  23. package/src/derivation/capabilities.ts +18 -7
  24. package/src/derivation/capability-mappings.ts +2 -0
  25. package/src/derivation/stratum.ts +5 -9
  26. package/src/index-module.ts +18 -2
  27. package/src/managers/actions.ts +124 -12
  28. package/src/managers/context.ts +9 -0
  29. package/src/managers/index.ts +2 -0
  30. package/src/managers/nft.ts +28 -0
  31. package/src/nft/atomicassets.ts +124 -1
  32. package/src/nft/buildImmutableData.ts +316 -0
  33. package/src/nft/description.ts +1 -3
  34. package/src/nft/index.ts +1 -0
  35. package/src/resolution/describe-module.ts +3 -4
  36. package/src/resolution/resolve-item.ts +0 -1
  37. package/src/scheduling/projection.ts +0 -4
  38. package/src/scheduling/task-cargo.ts +0 -1
  39. package/src/shipload.ts +5 -0
  40. package/src/types.ts +1 -2
package/lib/shipload.d.ts CHANGED
@@ -287,13 +287,6 @@ declare namespace Types {
287
287
  speed: UInt16;
288
288
  drain: UInt16;
289
289
  }
290
- class createentity extends Struct {
291
- owner: Name;
292
- entity_type: Name;
293
- entity_name: string;
294
- x: Int64;
295
- y: Int64;
296
- }
297
290
  class demolish extends Struct {
298
291
  entity_id: UInt64;
299
292
  }
@@ -301,6 +294,11 @@ declare namespace Types {
301
294
  id: UInt64;
302
295
  ref: cargo_ref;
303
296
  }
297
+ class deploynft extends Struct {
298
+ owner: Name;
299
+ asset_id: UInt64;
300
+ target_nexus_id: UInt64;
301
+ }
304
302
  class descentity extends Struct {
305
303
  item_id: UInt16;
306
304
  hull_stats: UInt64;
@@ -331,7 +329,6 @@ declare namespace Types {
331
329
  yield: UInt16;
332
330
  drain: UInt16;
333
331
  depth: UInt16;
334
- speed: UInt16;
335
332
  }
336
333
  class hauler_stats extends Struct {
337
334
  capacity: UInt8;
@@ -539,6 +536,38 @@ declare namespace Types {
539
536
  class hash512 extends Struct {
540
537
  value: string;
541
538
  }
539
+ class importcargo extends Struct {
540
+ row: cargo_row;
541
+ }
542
+ class importentity extends Struct {
543
+ row: entity_row;
544
+ }
545
+ class importgroup extends Struct {
546
+ row: entitygroup_row;
547
+ }
548
+ class importplayer extends Struct {
549
+ owner: Name;
550
+ }
551
+ class reserve_row extends Struct {
552
+ id: UInt64;
553
+ coord_id: UInt64;
554
+ stratum: UInt16;
555
+ remaining: UInt32;
556
+ }
557
+ class importreserve extends Struct {
558
+ epoch_scope: UInt32;
559
+ row: reserve_row;
560
+ }
561
+ class state_row extends Struct {
562
+ enabled: boolean;
563
+ epoch: UInt32;
564
+ salt: UInt64;
565
+ seed: Checksum256;
566
+ commit: Checksum256;
567
+ }
568
+ class importstate extends Struct {
569
+ row: state_row;
570
+ }
542
571
  class initialize extends Struct {
543
572
  seed: Checksum256;
544
573
  }
@@ -656,6 +685,7 @@ declare namespace Types {
656
685
  class nft_template_def extends Struct {
657
686
  item_id: UInt16;
658
687
  schema_name: Name;
688
+ template_id: Int32;
659
689
  }
660
690
  class nftconfig_row extends Struct {
661
691
  item_id: UInt16;
@@ -714,12 +744,6 @@ declare namespace Types {
714
744
  class refrshentity extends Struct {
715
745
  entity_id: UInt64;
716
746
  }
717
- class reserve_row extends Struct {
718
- id: UInt64;
719
- coord_id: UInt64;
720
- stratum: UInt16;
721
- remaining: UInt32;
722
- }
723
747
  class resolve extends Struct {
724
748
  id: UInt64;
725
749
  count?: UInt64;
@@ -765,30 +789,6 @@ declare namespace Types {
765
789
  class skipreveal extends Struct {
766
790
  commit: Checksum256;
767
791
  }
768
- class spawncargo extends Struct {
769
- entity_id: UInt64;
770
- item_id: UInt64;
771
- quantity: UInt64;
772
- }
773
- class spawnpacked extends Struct {
774
- entity_id: UInt64;
775
- item_id: UInt16;
776
- hull_stats: UInt64;
777
- installed: packed_module[];
778
- }
779
- class spawnseeded extends Struct {
780
- entity_id: UInt64;
781
- item_id: UInt64;
782
- quantity: UInt64;
783
- stats: UInt64;
784
- }
785
- class state_row extends Struct {
786
- enabled: boolean;
787
- epoch: UInt32;
788
- salt: UInt64;
789
- seed: Checksum256;
790
- commit: Checksum256;
791
- }
792
792
  class stratum_info extends Struct {
793
793
  item_id: UInt16;
794
794
  seed: UInt64;
@@ -829,6 +829,11 @@ declare namespace Types {
829
829
  host_id: UInt64;
830
830
  target_id: UInt64;
831
831
  }
832
+ class unwrapnft extends Struct {
833
+ owner: Name;
834
+ asset_id: UInt64;
835
+ host_id: UInt64;
836
+ }
832
837
  class warp extends Struct {
833
838
  id: UInt64;
834
839
  x: Int64;
@@ -840,7 +845,8 @@ declare namespace Types {
840
845
  owner: Name;
841
846
  entity_id: UInt64;
842
847
  nexus_id: UInt64;
843
- items: cargo_item[];
848
+ cargo_id: UInt64;
849
+ quantity: UInt64;
844
850
  }
845
851
  class wrapentity extends Struct {
846
852
  entity_id: UInt64;
@@ -915,16 +921,69 @@ declare namespace ActionParams {
915
921
  entity_type: NameType;
916
922
  entity_id: UInt64Type;
917
923
  }
918
- interface task_event {
919
- event_type: UInt8Type;
920
- owner: NameType;
921
- entity_type: NameType;
924
+ interface cargo_row {
925
+ id: UInt64Type;
922
926
  entity_id: UInt64Type;
923
- task_index: UInt8Type;
924
- task: Type.task;
925
- starts_at: TimePointType;
926
- completes_at: TimePointType;
927
- new_energy?: UInt16Type;
927
+ item_id: UInt64Type;
928
+ quantity: UInt64Type;
929
+ stats: UInt64Type;
930
+ modules: Type.module_entry[];
931
+ }
932
+ interface entity_row {
933
+ id: UInt64Type;
934
+ owner: NameType;
935
+ kind: NameType;
936
+ name: string;
937
+ stats: UInt64Type;
938
+ coordinates: Type.coordinates;
939
+ hullmass?: UInt32Type;
940
+ capacity?: UInt32Type;
941
+ energy?: UInt16Type;
942
+ cargomass: UInt32Type;
943
+ engines?: Type.movement_stats;
944
+ generator?: Type.energy_stats;
945
+ loaders?: Type.loader_stats;
946
+ gatherer?: Type.gatherer_stats;
947
+ warp?: Type.warp_stats;
948
+ crafter?: Type.crafter_stats;
949
+ hauler?: Type.hauler_stats;
950
+ modules: Type.module_entry[];
951
+ schedule?: Type.schedule;
952
+ item_id: UInt16Type;
953
+ }
954
+ interface movement_stats {
955
+ thrust: UInt32Type;
956
+ drain: UInt16Type;
957
+ }
958
+ interface energy_stats {
959
+ capacity: UInt16Type;
960
+ recharge: UInt16Type;
961
+ }
962
+ interface loader_stats {
963
+ mass: UInt32Type;
964
+ thrust: UInt16Type;
965
+ quantity: UInt8Type;
966
+ }
967
+ interface gatherer_stats {
968
+ yield: UInt16Type;
969
+ drain: UInt16Type;
970
+ depth: UInt16Type;
971
+ }
972
+ interface warp_stats {
973
+ range: UInt32Type;
974
+ }
975
+ interface crafter_stats {
976
+ speed: UInt16Type;
977
+ drain: UInt16Type;
978
+ }
979
+ interface hauler_stats {
980
+ capacity: UInt8Type;
981
+ efficiency: UInt16Type;
982
+ drain: UInt16Type;
983
+ }
984
+ interface schedule {
985
+ started: TimePointType;
986
+ tasks: Type.task[];
928
987
  }
929
988
  interface task {
930
989
  type: UInt8Type;
@@ -936,6 +995,34 @@ declare namespace ActionParams {
936
995
  entitygroup?: UInt64Type;
937
996
  energy_cost?: UInt16Type;
938
997
  }
998
+ interface entitygroup_row {
999
+ id: UInt64Type;
1000
+ participants: Type.entity_ref[];
1001
+ }
1002
+ interface reserve_row {
1003
+ id: UInt64Type;
1004
+ coord_id: UInt64Type;
1005
+ stratum: UInt16Type;
1006
+ remaining: UInt32Type;
1007
+ }
1008
+ interface state_row {
1009
+ enabled: boolean;
1010
+ epoch: UInt32Type;
1011
+ salt: UInt64Type;
1012
+ seed: Checksum256Type;
1013
+ commit: Checksum256Type;
1014
+ }
1015
+ interface task_event {
1016
+ event_type: UInt8Type;
1017
+ owner: NameType;
1018
+ entity_type: NameType;
1019
+ entity_id: UInt64Type;
1020
+ task_index: UInt8Type;
1021
+ task: Type.task;
1022
+ starts_at: TimePointType;
1023
+ completes_at: TimePointType;
1024
+ new_energy?: UInt16Type;
1025
+ }
939
1026
  }
940
1027
  interface addmodule {
941
1028
  entity_id: UInt64Type;
@@ -986,13 +1073,6 @@ declare namespace ActionParams {
986
1073
  quantity: UInt32Type;
987
1074
  inputs: Type.cargo_item[];
988
1075
  }
989
- interface createentity {
990
- owner: NameType;
991
- entity_type: NameType;
992
- entity_name: string;
993
- x: Int64Type;
994
- y: Int64Type;
995
- }
996
1076
  interface demolish {
997
1077
  entity_id: UInt64Type;
998
1078
  }
@@ -1000,6 +1080,11 @@ declare namespace ActionParams {
1000
1080
  id: UInt64Type;
1001
1081
  ref: Type.cargo_ref;
1002
1082
  }
1083
+ interface deploynft {
1084
+ owner: NameType;
1085
+ asset_id: UInt64Type;
1086
+ target_nexus_id: UInt64Type;
1087
+ }
1003
1088
  interface descentity {
1004
1089
  item_id: UInt16Type;
1005
1090
  hull_stats: UInt64Type;
@@ -1106,6 +1191,25 @@ declare namespace ActionParams {
1106
1191
  interface hash512 {
1107
1192
  value: string;
1108
1193
  }
1194
+ interface importcargo {
1195
+ row: Type.cargo_row;
1196
+ }
1197
+ interface importentity {
1198
+ row: Type.entity_row;
1199
+ }
1200
+ interface importgroup {
1201
+ row: Type.entitygroup_row;
1202
+ }
1203
+ interface importplayer {
1204
+ owner: NameType;
1205
+ }
1206
+ interface importreserve {
1207
+ epoch_scope: UInt32Type;
1208
+ row: Type.reserve_row;
1209
+ }
1210
+ interface importstate {
1211
+ row: Type.state_row;
1212
+ }
1109
1213
  interface initialize {
1110
1214
  seed: Checksum256Type;
1111
1215
  }
@@ -1148,23 +1252,6 @@ declare namespace ActionParams {
1148
1252
  interface skipreveal {
1149
1253
  commit: Checksum256Type;
1150
1254
  }
1151
- interface spawncargo {
1152
- entity_id: UInt64Type;
1153
- item_id: UInt64Type;
1154
- quantity: UInt64Type;
1155
- }
1156
- interface spawnpacked {
1157
- entity_id: UInt64Type;
1158
- item_id: UInt16Type;
1159
- hull_stats: UInt64Type;
1160
- installed: Type.packed_module[];
1161
- }
1162
- interface spawnseeded {
1163
- entity_id: UInt64Type;
1164
- item_id: UInt64Type;
1165
- quantity: UInt64Type;
1166
- stats: UInt64Type;
1167
- }
1168
1255
  interface transfer {
1169
1256
  source_id: UInt64Type;
1170
1257
  dest_id: UInt64Type;
@@ -1180,6 +1267,11 @@ declare namespace ActionParams {
1180
1267
  host_id: UInt64Type;
1181
1268
  target_id: UInt64Type;
1182
1269
  }
1270
+ interface unwrapnft {
1271
+ owner: NameType;
1272
+ asset_id: UInt64Type;
1273
+ host_id: UInt64Type;
1274
+ }
1183
1275
  interface warp {
1184
1276
  id: UInt64Type;
1185
1277
  x: Int64Type;
@@ -1191,7 +1283,8 @@ declare namespace ActionParams {
1191
1283
  owner: NameType;
1192
1284
  entity_id: UInt64Type;
1193
1285
  nexus_id: UInt64Type;
1194
- items: Type.cargo_item[];
1286
+ cargo_id: UInt64Type;
1287
+ quantity: UInt64Type;
1195
1288
  }
1196
1289
  interface wrapentity {
1197
1290
  entity_id: UInt64Type;
@@ -1210,9 +1303,9 @@ interface ActionNameParams {
1210
1303
  commit: ActionParams.commit;
1211
1304
  configlog: ActionParams.configlog;
1212
1305
  craft: ActionParams.craft;
1213
- createentity: ActionParams.createentity;
1214
1306
  demolish: ActionParams.demolish;
1215
1307
  deploy: ActionParams.deploy;
1308
+ deploynft: ActionParams.deploynft;
1216
1309
  descentity: ActionParams.descentity;
1217
1310
  enable: ActionParams.enable;
1218
1311
  fixcargomass: ActionParams.fixcargomass;
@@ -1246,6 +1339,12 @@ interface ActionNameParams {
1246
1339
  grouptravel: ActionParams.grouptravel;
1247
1340
  hash: ActionParams.hash;
1248
1341
  hash512: ActionParams.hash512;
1342
+ importcargo: ActionParams.importcargo;
1343
+ importentity: ActionParams.importentity;
1344
+ importgroup: ActionParams.importgroup;
1345
+ importplayer: ActionParams.importplayer;
1346
+ importreserve: ActionParams.importreserve;
1347
+ importstate: ActionParams.importstate;
1249
1348
  initialize: ActionParams.initialize;
1250
1349
  join: ActionParams.join;
1251
1350
  nftimgurl: ActionParams.nftimgurl;
@@ -1258,12 +1357,10 @@ interface ActionNameParams {
1258
1357
  salt: ActionParams.salt;
1259
1358
  setnftcfg: ActionParams.setnftcfg;
1260
1359
  skipreveal: ActionParams.skipreveal;
1261
- spawncargo: ActionParams.spawncargo;
1262
- spawnpacked: ActionParams.spawnpacked;
1263
- spawnseeded: ActionParams.spawnseeded;
1264
1360
  transfer: ActionParams.transfer;
1265
1361
  travel: ActionParams.travel;
1266
1362
  undeploy: ActionParams.undeploy;
1363
+ unwrapnft: ActionParams.unwrapnft;
1267
1364
  warp: ActionParams.warp;
1268
1365
  wipe: ActionParams.wipe;
1269
1366
  wrap: ActionParams.wrap;
@@ -1275,6 +1372,7 @@ interface ActionReturnValues {
1275
1372
  craft: Types.task_results;
1276
1373
  demolish: Types.task_results;
1277
1374
  deploy: Types.task_results;
1375
+ deploynft: Types.task_results;
1278
1376
  descentity: string;
1279
1377
  gather: Types.task_results;
1280
1378
  getconfig: Types.game_config;
@@ -1312,6 +1410,7 @@ interface ActionReturnValues {
1312
1410
  transfer: Types.task_results;
1313
1411
  travel: Types.task_results;
1314
1412
  undeploy: Types.task_results;
1413
+ unwrapnft: Types.task_results;
1315
1414
  warp: Types.task_results;
1316
1415
  wrap: Types.task_results;
1317
1416
  wrapentity: Types.task_results;
@@ -1476,10 +1575,8 @@ declare enum TaskType {
1476
1575
  WARP = 6,
1477
1576
  CRAFT = 7,
1478
1577
  DEPLOY = 8,
1479
- WRAP = 9,
1480
1578
  UNWRAP = 10,
1481
1579
  UNDEPLOY = 11,
1482
- WRAP_ENTITY = 12,
1483
1580
  DEMOLISH = 13
1484
1581
  }
1485
1582
  declare enum LocationType {
@@ -1511,7 +1608,7 @@ interface Distance {
1511
1608
  }
1512
1609
  type ItemType = 'resource' | 'component' | 'module' | 'entity';
1513
1610
  type ResourceCategory = 'ore' | 'crystal' | 'gas' | 'regolith' | 'biomass';
1514
- type ModuleType = 'any' | 'engine' | 'generator' | 'gatherer' | 'loader' | 'warp' | 'crafter' | 'launcher' | 'storage' | 'hauler';
1611
+ type ModuleType = 'any' | 'engine' | 'generator' | 'gatherer' | 'loader' | 'warp' | 'crafter' | 'launcher' | 'storage' | 'hauler' | 'battery';
1515
1612
  declare const RESOURCE_TIER_ADJECTIVES: Record<number, string>;
1516
1613
  declare const COMPONENT_TIER_PREFIXES: Record<number, string>;
1517
1614
  declare const MODULE_TIER_PREFIXES: Record<number, string>;
@@ -1580,16 +1677,16 @@ declare const ITEM_BIOMASS_T7 = 507;
1580
1677
  declare const ITEM_BIOMASS_T8 = 508;
1581
1678
  declare const ITEM_BIOMASS_T9 = 509;
1582
1679
  declare const ITEM_BIOMASS_T10 = 510;
1583
- declare const ITEM_HULL_PLATES = 10001;
1584
- declare const ITEM_CARGO_LINING = 10002;
1585
- declare const ITEM_THRUSTER_CORE = 10003;
1586
- declare const ITEM_POWER_CELL = 10004;
1587
- declare const ITEM_MATTER_CONDUIT = 10005;
1588
- declare const ITEM_SURVEY_PROBE = 10006;
1589
- declare const ITEM_CARGO_ARM = 10007;
1590
- declare const ITEM_TOOL_BIT = 10008;
1591
- declare const ITEM_REACTION_CHAMBER = 10009;
1592
- declare const ITEM_FOCUSING_ARRAY = 10010;
1680
+ declare const ITEM_PLATE = 10001;
1681
+ declare const ITEM_FRAME = 10002;
1682
+ declare const ITEM_PLASMA_CELL = 10003;
1683
+ declare const ITEM_RESONATOR = 10004;
1684
+ declare const ITEM_BEAM = 10005;
1685
+ declare const ITEM_SENSOR = 10006;
1686
+ declare const ITEM_POLYMER = 10007;
1687
+ declare const ITEM_CERAMIC = 10008;
1688
+ declare const ITEM_REACTOR = 10009;
1689
+ declare const ITEM_EMITTER = 10010;
1593
1690
  declare const ITEM_ENGINE_T1 = 10100;
1594
1691
  declare const ITEM_GENERATOR_T1 = 10101;
1595
1692
  declare const ITEM_GATHERER_T1 = 10102;
@@ -1598,13 +1695,14 @@ declare const ITEM_CRAFTER_T1 = 10104;
1598
1695
  declare const ITEM_STORAGE_T1 = 10105;
1599
1696
  declare const ITEM_HAULER_T1 = 10106;
1600
1697
  declare const ITEM_WARP_T1 = 10107;
1698
+ declare const ITEM_BATTERY_T1 = 10108;
1601
1699
  declare const ITEM_CONTAINER_T1_PACKED = 10200;
1602
1700
  declare const ITEM_SHIP_T1_PACKED = 10201;
1603
1701
  declare const ITEM_WAREHOUSE_T1_PACKED = 10202;
1604
1702
  declare const ITEM_EXTRACTOR_T1_PACKED = 10203;
1605
1703
  declare const ITEM_FACTORY_T1_PACKED = 10204;
1606
- declare const ITEM_HULL_PLATES_T2 = 20001;
1607
- declare const ITEM_CARGO_LINING_T2 = 20002;
1704
+ declare const ITEM_PLATE_T2 = 20001;
1705
+ declare const ITEM_FRAME_T2 = 20002;
1608
1706
  declare const ITEM_CONTAINER_T2_PACKED = 20200;
1609
1707
 
1610
1708
  interface RecipeInputItemId {
@@ -2250,13 +2348,25 @@ declare class ActionsManager extends BaseManager {
2250
2348
  deploy(entityId: UInt64Type, ref: ActionParams.Type.cargo_ref): Action;
2251
2349
  addmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref, targetRef?: ActionParams.Type.cargo_ref | null): Action;
2252
2350
  rmmodule(entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams.Type.cargo_ref | null): Action;
2253
- wrap(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
2351
+ private buildPairedMintAction;
2352
+ wrap(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, cargoId: UInt64Type, quantity: UInt64Type): Promise<Action[]>;
2254
2353
  undeploy(hostId: UInt64Type, targetId: UInt64Type): Action;
2255
- wrapEntity(entityId: UInt64Type, nexusId: UInt64Type): Action;
2354
+ wrapEntity(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type): Promise<Action[]>;
2355
+ deploynft(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action;
2356
+ unwrapnft(owner: NameType, assetId: UInt64Type, hostId: UInt64Type): Action;
2256
2357
  demolish(entityId: UInt64Type): Action;
2257
2358
  joinGame(account: NameType, companyName: string): Action[];
2258
2359
  }
2259
2360
 
2361
+ interface NftConfigForItem {
2362
+ templateId: number;
2363
+ schemaName: string;
2364
+ }
2365
+ declare class NftManager extends BaseManager {
2366
+ private cache;
2367
+ getNftConfigForItem(itemId: UInt64Type): Promise<NftConfigForItem | undefined>;
2368
+ }
2369
+
2260
2370
  type EntityInfo = Types.entity_info;
2261
2371
  interface BoundingBox {
2262
2372
  min_x: number;
@@ -2431,6 +2541,7 @@ declare class GameContext {
2431
2541
  private _locations?;
2432
2542
  private _epochs?;
2433
2543
  private _actions?;
2544
+ private _nft?;
2434
2545
  private _subscriptions?;
2435
2546
  private _subscriptionsUrl?;
2436
2547
  private _gameCache?;
@@ -2441,6 +2552,7 @@ declare class GameContext {
2441
2552
  get locations(): LocationsManager;
2442
2553
  get epochs(): EpochsManager;
2443
2554
  get actions(): ActionsManager;
2555
+ get nft(): NftManager;
2444
2556
  setSubscriptionsUrl(url: string): void;
2445
2557
  get subscriptions(): SubscriptionsManager;
2446
2558
  getGame(reload?: boolean): Promise<Types$1.game_row>;
@@ -2489,6 +2601,7 @@ declare class Shipload {
2489
2601
  get locations(): LocationsManager;
2490
2602
  get epochs(): EpochsManager;
2491
2603
  get actions(): ActionsManager;
2604
+ get nft(): NftManager;
2492
2605
  get subscriptions(): SubscriptionsManager;
2493
2606
  getGame(reload?: boolean): Promise<Types$1.game_row>;
2494
2607
  getState(reload?: boolean): Promise<GameState>;
@@ -2787,6 +2900,11 @@ declare function needsRecharge(entity: MovementCapability & EnergyCapability): b
2787
2900
  declare function calcLoadDuration(entity: LoaderCapability, cargoMass: UInt64): UInt32;
2788
2901
 
2789
2902
  declare function calc_gather_duration(gatherer: Types.gatherer_stats, itemMass: number, quantity: number, stratum: number, richness: number): UInt32;
2903
+ declare function calc_gather_rate(gatherer: Types.gatherer_stats, itemMass: number, stratum: number, richness: number): {
2904
+ unitsPerSec: number;
2905
+ unitsPerMin: number;
2906
+ secPerUnit: number;
2907
+ };
2790
2908
  declare function calc_gather_energy(gatherer: Types.gatherer_stats, duration: number): UInt16;
2791
2909
 
2792
2910
  interface CrafterCapability {
@@ -2806,6 +2924,7 @@ declare const MODULE_CRAFTER = 6;
2806
2924
  declare const MODULE_LAUNCHER = 7;
2807
2925
  declare const MODULE_STORAGE = 8;
2808
2926
  declare const MODULE_HAULER = 9;
2927
+ declare const MODULE_BATTERY = 10;
2809
2928
  interface PackedModule {
2810
2929
  itemId: number;
2811
2930
  stats: bigint;
@@ -2881,7 +3000,7 @@ interface SlotConsumer {
2881
3000
  capability: string;
2882
3001
  attribute: string;
2883
3002
  }
2884
- type SlotConsumerKind = 'engine' | 'generator' | 'gatherer' | 'loader' | 'crafter' | 'storage' | 'hauler' | 'warp' | 'ship-t1' | 'container-t1' | 'warehouse-t1' | 'extractor-t1' | 'container-t2';
3003
+ type SlotConsumerKind = 'engine' | 'generator' | 'gatherer' | 'loader' | 'crafter' | 'storage' | 'hauler' | 'warp' | 'battery' | 'ship-t1' | 'container-t1' | 'warehouse-t1' | 'extractor-t1' | 'container-t2';
2885
3004
  declare const SLOT_FORMULAS: Record<SlotConsumerKind, Record<number, SlotConsumer>>;
2886
3005
 
2887
3006
  declare function deriveStatMappings(): StatMapping[];
@@ -2912,7 +3031,6 @@ declare function computeGathererCapabilities(stats: Record<string, number>, tier
2912
3031
  yield: number;
2913
3032
  drain: number;
2914
3033
  depth: number;
2915
- speed: number;
2916
3034
  };
2917
3035
  declare function computeLoaderCapabilities(stats: Record<string, number>): {
2918
3036
  mass: number;
@@ -2955,7 +3073,6 @@ interface ComputedCapabilities {
2955
3073
  yield: number;
2956
3074
  drain: number;
2957
3075
  depth: number;
2958
- speed: number;
2959
3076
  };
2960
3077
  loaders?: {
2961
3078
  mass: number;
@@ -3089,7 +3206,6 @@ declare const computeGeneratorRech: (fin: number) => number;
3089
3206
  declare const computeGathererYield: (str: number) => number;
3090
3207
  declare const computeGathererDrain: (con: number) => number;
3091
3208
  declare const computeGathererDepth: (tol: number, tier: number) => number;
3092
- declare const computeGathererSpeed: (ref: number) => number;
3093
3209
  declare const computeLoaderMass: (ins: number) => number;
3094
3210
  declare const computeLoaderThrust: (pla: number) => number;
3095
3211
  declare const computeCrafterSpeed: (rea: number) => number;
@@ -3112,8 +3228,42 @@ type RawData = Uint8Array | string | number[] | {
3112
3228
  };
3113
3229
  declare function deserializeAtomicData(data: RawData, schema: SchemaField[]): Record<string, unknown>;
3114
3230
 
3231
+ type AtomicAttributeType = 'string' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'int32' | 'image' | 'ipfs' | 'UINT16_VEC' | 'UINT64_VEC';
3232
+ interface ImmutableEntry {
3233
+ first: string;
3234
+ second: [AtomicAttributeType, unknown];
3235
+ }
3236
+ interface ImmutableModuleSlot {
3237
+ type?: number | string | bigint;
3238
+ installed?: {
3239
+ item_id: number | string | bigint;
3240
+ stats: number | string | bigint;
3241
+ };
3242
+ }
3243
+ declare function moduleSlotsForImmutable(modules: Types.module_entry[]): ImmutableModuleSlot[];
3244
+ declare function computeNftImageUrl(item: {
3245
+ item_id: number;
3246
+ stats: bigint;
3247
+ modules: ImmutableModuleSlot[];
3248
+ quantity: number;
3249
+ }, originX: number, originY: number): string;
3250
+ declare function buildResourceImmutable(itemId: number, quantity: number, stats: bigint, originX: number, originY: number): ImmutableEntry[];
3251
+ declare function buildComponentImmutable(itemId: number, quantity: number, stats: bigint, originX: number, originY: number): ImmutableEntry[];
3252
+ declare function buildModuleImmutable(itemId: number, quantity: number, stats: bigint, originX: number, originY: number): ImmutableEntry[];
3253
+ declare function buildEntityImmutable(itemId: number, quantity: number, stats: bigint, originX: number, originY: number, modules: ImmutableModuleSlot[]): ImmutableEntry[];
3254
+ declare function buildImmutableData(itemId: number, quantity: number, stats: bigint, originX: number, originY: number, modules?: ImmutableModuleSlot[]): ImmutableEntry[];
3255
+
3115
3256
  declare const ATOMICASSETS_ACCOUNT = "atomicassets";
3116
3257
  declare const SHIPLOAD_COLLECTION = "shipload";
3258
+ interface MintAssetParams {
3259
+ authorizedMinter: NameType;
3260
+ collectionName: NameType;
3261
+ schemaName: NameType;
3262
+ templateId: number;
3263
+ newAssetOwner: NameType;
3264
+ immutableData: ImmutableEntry[];
3265
+ }
3266
+ declare function buildMintAssetAction(params: MintAssetParams): Action;
3117
3267
  interface AtomicAssetRow {
3118
3268
  asset_id: string;
3119
3269
  collection_name: string;
@@ -3168,7 +3318,6 @@ declare const index_computeGeneratorRech: typeof computeGeneratorRech;
3168
3318
  declare const index_computeGathererYield: typeof computeGathererYield;
3169
3319
  declare const index_computeGathererDrain: typeof computeGathererDrain;
3170
3320
  declare const index_computeGathererDepth: typeof computeGathererDepth;
3171
- declare const index_computeGathererSpeed: typeof computeGathererSpeed;
3172
3321
  declare const index_computeLoaderMass: typeof computeLoaderMass;
3173
3322
  declare const index_computeLoaderThrust: typeof computeLoaderThrust;
3174
3323
  declare const index_computeCrafterSpeed: typeof computeCrafterSpeed;
@@ -3186,6 +3335,8 @@ type index_RawData = RawData;
3186
3335
  declare const index_deserializeAtomicData: typeof deserializeAtomicData;
3187
3336
  declare const index_ATOMICASSETS_ACCOUNT: typeof ATOMICASSETS_ACCOUNT;
3188
3337
  declare const index_SHIPLOAD_COLLECTION: typeof SHIPLOAD_COLLECTION;
3338
+ type index_MintAssetParams = MintAssetParams;
3339
+ declare const index_buildMintAssetAction: typeof buildMintAssetAction;
3189
3340
  type index_AtomicAssetRow = AtomicAssetRow;
3190
3341
  type index_AtomicSchemaRow = AtomicSchemaRow;
3191
3342
  type index_FetchAssetsOptions = FetchAssetsOptions;
@@ -3193,6 +3344,16 @@ declare const index_fetchAtomicAssetsForOwner: typeof fetchAtomicAssetsForOwner;
3193
3344
  declare const index_fetchAtomicSchemas: typeof fetchAtomicSchemas;
3194
3345
  type index_DecodedAtomicAsset = DecodedAtomicAsset;
3195
3346
  declare const index_decodeAtomicAsset: typeof decodeAtomicAsset;
3347
+ type index_AtomicAttributeType = AtomicAttributeType;
3348
+ type index_ImmutableEntry = ImmutableEntry;
3349
+ type index_ImmutableModuleSlot = ImmutableModuleSlot;
3350
+ declare const index_moduleSlotsForImmutable: typeof moduleSlotsForImmutable;
3351
+ declare const index_computeNftImageUrl: typeof computeNftImageUrl;
3352
+ declare const index_buildResourceImmutable: typeof buildResourceImmutable;
3353
+ declare const index_buildComponentImmutable: typeof buildComponentImmutable;
3354
+ declare const index_buildModuleImmutable: typeof buildModuleImmutable;
3355
+ declare const index_buildEntityImmutable: typeof buildEntityImmutable;
3356
+ declare const index_buildImmutableData: typeof buildImmutableData;
3196
3357
  declare namespace index {
3197
3358
  export {
3198
3359
  index_NFTInstalledModule as NFTInstalledModule,
@@ -3216,7 +3377,6 @@ declare namespace index {
3216
3377
  index_computeGathererYield as computeGathererYield,
3217
3378
  index_computeGathererDrain as computeGathererDrain,
3218
3379
  index_computeGathererDepth as computeGathererDepth,
3219
- index_computeGathererSpeed as computeGathererSpeed,
3220
3380
  index_computeLoaderMass as computeLoaderMass,
3221
3381
  index_computeLoaderThrust as computeLoaderThrust,
3222
3382
  index_computeCrafterSpeed as computeCrafterSpeed,
@@ -3234,6 +3394,8 @@ declare namespace index {
3234
3394
  index_deserializeAtomicData as deserializeAtomicData,
3235
3395
  index_ATOMICASSETS_ACCOUNT as ATOMICASSETS_ACCOUNT,
3236
3396
  index_SHIPLOAD_COLLECTION as SHIPLOAD_COLLECTION,
3397
+ index_MintAssetParams as MintAssetParams,
3398
+ index_buildMintAssetAction as buildMintAssetAction,
3237
3399
  index_AtomicAssetRow as AtomicAssetRow,
3238
3400
  index_AtomicSchemaRow as AtomicSchemaRow,
3239
3401
  index_FetchAssetsOptions as FetchAssetsOptions,
@@ -3241,6 +3403,16 @@ declare namespace index {
3241
3403
  index_fetchAtomicSchemas as fetchAtomicSchemas,
3242
3404
  index_DecodedAtomicAsset as DecodedAtomicAsset,
3243
3405
  index_decodeAtomicAsset as decodeAtomicAsset,
3406
+ index_AtomicAttributeType as AtomicAttributeType,
3407
+ index_ImmutableEntry as ImmutableEntry,
3408
+ index_ImmutableModuleSlot as ImmutableModuleSlot,
3409
+ index_moduleSlotsForImmutable as moduleSlotsForImmutable,
3410
+ index_computeNftImageUrl as computeNftImageUrl,
3411
+ index_buildResourceImmutable as buildResourceImmutable,
3412
+ index_buildComponentImmutable as buildComponentImmutable,
3413
+ index_buildModuleImmutable as buildModuleImmutable,
3414
+ index_buildEntityImmutable as buildEntityImmutable,
3415
+ index_buildImmutableData as buildImmutableData,
3244
3416
  };
3245
3417
  }
3246
3418
 
@@ -3336,4 +3508,4 @@ type gatherer_stats = Types.gatherer_stats;
3336
3508
  type location_static = Types.location_static;
3337
3509
  type location_derived = Types.location_derived;
3338
3510
 
3339
- export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicSchemaRow, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ClientMessage, ComputedCapabilities, ConnectionState, Container, ContainerEntity, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DerivedStratum, DescribeOptions, Distance, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionHandle, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, Extractor, Factory, FetchAssetsOptions, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_ENGINE_T1, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FOCUSING_ARRAY, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_HULL_PLATES, ITEM_HULL_PLATES_T2, ITEM_LOADER_T1, ITEM_MATTER_CONDUIT, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_POWER_CELL, ITEM_REACTION_CHAMBER, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_SURVEY_PROBE, ITEM_THRUSTER_CORE, ITEM_TOOL_BIT, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, InstalledModule, InventoryAccessor, Item, ItemType, KindMeta, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Nexus, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, RawData, Recipe, RecipeInput, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, availableCapacity$1 as availableCapacity, availableCapacityFromMass, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildEntityDescription, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcLoadDuration, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryIconShapes, categoryIcons, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAtomicAsset, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, findItemByCategoryAndTier, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, lerp, loader_stats, location_derived, location_static, makeEntity, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, taskCargoChanges, tierAdjective, tierColors, toLocation, typeLabel, validateSchedule };
3511
+ export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ClientMessage, ComputedCapabilities, ConnectionState, Container, ContainerEntity, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DerivedStratum, DescribeOptions, Distance, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionHandle, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, Extractor, Factory, FetchAssetsOptions, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BEAM, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_CERAMIC, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_EMITTER, ITEM_ENGINE_T1, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_LOADER_T1, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_REACTOR, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESONATOR, ITEM_SENSOR, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ImmutableEntry, ImmutableModuleSlot, InstalledModule, InventoryAccessor, Item, ItemType, KindMeta, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, MODULE_BATTERY, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Nexus, NftConfigForItem, NftManager, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, RawData, Recipe, RecipeInput, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, availableCapacity$1 as availableCapacity, availableCapacityFromMass, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcLoadDuration, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryIconShapes, categoryIcons, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAtomicAsset, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, findItemByCategoryAndTier, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, lerp, loader_stats, location_derived, location_static, makeEntity, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, taskCargoChanges, tierAdjective, tierColors, toLocation, typeLabel, validateSchedule };