@shipload/sdk 2.0.0-rc20 → 2.0.0-rc22

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 CHANGED
@@ -374,6 +374,16 @@ declare namespace Types {
374
374
  idle_at?: TimePoint;
375
375
  schedule?: schedule;
376
376
  }
377
+ class slot_def extends Struct {
378
+ type: UInt8;
379
+ }
380
+ class entity_layout extends Struct {
381
+ entity_item_id: UInt16;
382
+ slots: slot_def[];
383
+ }
384
+ class entity_layouts_result extends Struct {
385
+ entities: entity_layout[];
386
+ }
377
387
  class entity_summary extends Struct {
378
388
  type: Name;
379
389
  id: UInt64;
@@ -394,6 +404,13 @@ declare namespace Types {
394
404
  id: UInt64;
395
405
  participants: entity_ref[];
396
406
  }
407
+ class enum_member extends Struct {
408
+ value: UInt8;
409
+ name: string;
410
+ }
411
+ class enum_result extends Struct {
412
+ members: enum_member[];
413
+ }
397
414
  class gather extends Struct {
398
415
  source: entity_ref;
399
416
  destination: entity_ref;
@@ -412,8 +429,12 @@ declare namespace Types {
412
429
  }
413
430
  class getitemdata extends Struct {
414
431
  }
432
+ class getitemids extends Struct {
433
+ }
415
434
  class getitems extends Struct {
416
435
  }
436
+ class getitemtypes extends Struct {
437
+ }
417
438
  class getlocation extends Struct {
418
439
  x: Int64;
419
440
  y: Int64;
@@ -422,6 +443,8 @@ declare namespace Types {
422
443
  x: Int64;
423
444
  y: Int64;
424
445
  }
446
+ class getmodtypes extends Struct {
447
+ }
425
448
  class getmodules extends Struct {
426
449
  }
427
450
  class getnearby extends Struct {
@@ -441,8 +464,12 @@ declare namespace Types {
441
464
  lower_bound: UInt16;
442
465
  limit: UInt8;
443
466
  }
467
+ class getrescats extends Struct {
468
+ }
444
469
  class getresources extends Struct {
445
470
  }
471
+ class getslots extends Struct {
472
+ }
446
473
  class getstratum extends Struct {
447
474
  x: Int64;
448
475
  y: Int64;
@@ -467,9 +494,17 @@ declare namespace Types {
467
494
  class init extends Struct {
468
495
  seed: Checksum256;
469
496
  }
497
+ class item_id_pair extends Struct {
498
+ id: UInt16;
499
+ name: string;
500
+ }
501
+ class item_ids_result extends Struct {
502
+ items: item_id_pair[];
503
+ }
470
504
  class recipe_input extends Struct {
471
505
  item_id: UInt16;
472
506
  category: UInt8;
507
+ tier: UInt8;
473
508
  quantity: UInt32;
474
509
  }
475
510
  class stat_source extends Struct {
@@ -963,8 +998,12 @@ declare namespace ActionParams {
963
998
  }
964
999
  interface getitemdata {
965
1000
  }
1001
+ interface getitemids {
1002
+ }
966
1003
  interface getitems {
967
1004
  }
1005
+ interface getitemtypes {
1006
+ }
968
1007
  interface getlocation {
969
1008
  x: Int64Type;
970
1009
  y: Int64Type;
@@ -973,6 +1012,8 @@ declare namespace ActionParams {
973
1012
  x: Int64Type;
974
1013
  y: Int64Type;
975
1014
  }
1015
+ interface getmodtypes {
1016
+ }
976
1017
  interface getmodules {
977
1018
  }
978
1019
  interface getnearby {
@@ -992,8 +1033,12 @@ declare namespace ActionParams {
992
1033
  lower_bound: UInt16Type;
993
1034
  limit: UInt8Type;
994
1035
  }
1036
+ interface getrescats {
1037
+ }
995
1038
  interface getresources {
996
1039
  }
1040
+ interface getslots {
1041
+ }
997
1042
  interface getstratum {
998
1043
  x: Int64Type;
999
1044
  y: Int64Type;
@@ -1122,16 +1167,21 @@ interface ActionNameParams {
1122
1167
  getentities: ActionParams.getentities;
1123
1168
  getentity: ActionParams.getentity;
1124
1169
  getitemdata: ActionParams.getitemdata;
1170
+ getitemids: ActionParams.getitemids;
1125
1171
  getitems: ActionParams.getitems;
1172
+ getitemtypes: ActionParams.getitemtypes;
1126
1173
  getlocation: ActionParams.getlocation;
1127
1174
  getlocdata: ActionParams.getlocdata;
1175
+ getmodtypes: ActionParams.getmodtypes;
1128
1176
  getmodules: ActionParams.getmodules;
1129
1177
  getnearby: ActionParams.getnearby;
1130
1178
  getnftinfo: ActionParams.getnftinfo;
1131
1179
  getplayer: ActionParams.getplayer;
1132
1180
  getrecipe: ActionParams.getrecipe;
1133
1181
  getrecipes: ActionParams.getrecipes;
1182
+ getrescats: ActionParams.getrescats;
1134
1183
  getresources: ActionParams.getresources;
1184
+ getslots: ActionParams.getslots;
1135
1185
  getstratum: ActionParams.getstratum;
1136
1186
  getsummaries: ActionParams.getsummaries;
1137
1187
  grouptravel: ActionParams.grouptravel;
@@ -1167,16 +1217,21 @@ interface ActionReturnValues {
1167
1217
  getentities: Types.entity_info[];
1168
1218
  getentity: Types.entity_info;
1169
1219
  getitemdata: Types.itemdata_result;
1220
+ getitemids: Types.item_ids_result;
1170
1221
  getitems: Types.items_info;
1222
+ getitemtypes: Types.enum_result;
1171
1223
  getlocation: Types.location_info;
1172
1224
  getlocdata: Types.location_derived;
1225
+ getmodtypes: Types.enum_result;
1173
1226
  getmodules: Types.modules_result;
1174
1227
  getnearby: Types.nearby_info;
1175
1228
  getnftinfo: Types.nftinfo_result;
1176
1229
  getplayer: Types.player_info;
1177
1230
  getrecipe: Types.recipes_result;
1178
1231
  getrecipes: Types.recipes_result;
1232
+ getrescats: Types.enum_result;
1179
1233
  getresources: Types.resources_result;
1234
+ getslots: Types.entity_layouts_result;
1180
1235
  getstratum: Types.stratum_data;
1181
1236
  getsummaries: Types.entity_summary[];
1182
1237
  grouptravel: Types.task_results;
@@ -1386,21 +1441,133 @@ interface Distance {
1386
1441
  destination: ActionParams.Type.coordinates;
1387
1442
  distance: UInt16;
1388
1443
  }
1444
+ type ItemType = 'resource' | 'component' | 'module' | 'entity';
1389
1445
  type ResourceCategory = 'ore' | 'crystal' | 'gas' | 'regolith' | 'biomass';
1390
1446
  type ResourceTier = 't1' | 't2' | 't3' | 't4' | 't5';
1447
+ type ModuleType = 'any' | 'engine' | 'generator' | 'gatherer' | 'loader' | 'warp' | 'crafter' | 'launcher' | 'storage' | 'hauler';
1391
1448
  declare const TIER_ADJECTIVES: Record<number, string>;
1392
1449
  declare const CATEGORY_LABELS: Record<ResourceCategory, string>;
1393
1450
  declare function tierNumber(tier: string): number;
1394
- declare class Item extends Struct {
1395
- id: UInt16;
1451
+ interface Item {
1452
+ id: number;
1396
1453
  name: string;
1397
1454
  description: string;
1398
- mass: UInt32;
1399
- category: ResourceCategory;
1400
- tier: ResourceTier;
1401
1455
  color: string;
1402
- get displayName(): string;
1456
+ mass: number;
1457
+ type: ItemType;
1458
+ tier: number;
1459
+ category?: ResourceCategory;
1460
+ moduleType?: ModuleType;
1461
+ }
1462
+ declare function formatTier(tier: number): string;
1463
+
1464
+ declare const ITEM_ORE_T1 = 101;
1465
+ declare const ITEM_ORE_T2 = 102;
1466
+ declare const ITEM_ORE_T3 = 103;
1467
+ declare const ITEM_ORE_T4 = 104;
1468
+ declare const ITEM_ORE_T5 = 105;
1469
+ declare const ITEM_ORE_T6 = 106;
1470
+ declare const ITEM_ORE_T7 = 107;
1471
+ declare const ITEM_ORE_T8 = 108;
1472
+ declare const ITEM_ORE_T9 = 109;
1473
+ declare const ITEM_ORE_T10 = 110;
1474
+ declare const ITEM_CRYSTAL_T1 = 201;
1475
+ declare const ITEM_CRYSTAL_T2 = 202;
1476
+ declare const ITEM_CRYSTAL_T3 = 203;
1477
+ declare const ITEM_CRYSTAL_T4 = 204;
1478
+ declare const ITEM_CRYSTAL_T5 = 205;
1479
+ declare const ITEM_CRYSTAL_T6 = 206;
1480
+ declare const ITEM_CRYSTAL_T7 = 207;
1481
+ declare const ITEM_CRYSTAL_T8 = 208;
1482
+ declare const ITEM_CRYSTAL_T9 = 209;
1483
+ declare const ITEM_CRYSTAL_T10 = 210;
1484
+ declare const ITEM_GAS_T1 = 301;
1485
+ declare const ITEM_GAS_T2 = 302;
1486
+ declare const ITEM_GAS_T3 = 303;
1487
+ declare const ITEM_GAS_T4 = 304;
1488
+ declare const ITEM_GAS_T5 = 305;
1489
+ declare const ITEM_GAS_T6 = 306;
1490
+ declare const ITEM_GAS_T7 = 307;
1491
+ declare const ITEM_GAS_T8 = 308;
1492
+ declare const ITEM_GAS_T9 = 309;
1493
+ declare const ITEM_GAS_T10 = 310;
1494
+ declare const ITEM_REGOLITH_T1 = 401;
1495
+ declare const ITEM_REGOLITH_T2 = 402;
1496
+ declare const ITEM_REGOLITH_T3 = 403;
1497
+ declare const ITEM_REGOLITH_T4 = 404;
1498
+ declare const ITEM_REGOLITH_T5 = 405;
1499
+ declare const ITEM_REGOLITH_T6 = 406;
1500
+ declare const ITEM_REGOLITH_T7 = 407;
1501
+ declare const ITEM_REGOLITH_T8 = 408;
1502
+ declare const ITEM_REGOLITH_T9 = 409;
1503
+ declare const ITEM_REGOLITH_T10 = 410;
1504
+ declare const ITEM_BIOMASS_T1 = 501;
1505
+ declare const ITEM_BIOMASS_T2 = 502;
1506
+ declare const ITEM_BIOMASS_T3 = 503;
1507
+ declare const ITEM_BIOMASS_T4 = 504;
1508
+ declare const ITEM_BIOMASS_T5 = 505;
1509
+ declare const ITEM_BIOMASS_T6 = 506;
1510
+ declare const ITEM_BIOMASS_T7 = 507;
1511
+ declare const ITEM_BIOMASS_T8 = 508;
1512
+ declare const ITEM_BIOMASS_T9 = 509;
1513
+ declare const ITEM_BIOMASS_T10 = 510;
1514
+ declare const ITEM_HULL_PLATES = 10001;
1515
+ declare const ITEM_CARGO_LINING = 10002;
1516
+ declare const ITEM_THRUSTER_CORE = 10003;
1517
+ declare const ITEM_POWER_CELL = 10004;
1518
+ declare const ITEM_MATTER_CONDUIT = 10005;
1519
+ declare const ITEM_SURVEY_PROBE = 10006;
1520
+ declare const ITEM_CARGO_ARM = 10007;
1521
+ declare const ITEM_TOOL_BIT = 10008;
1522
+ declare const ITEM_REACTION_CHAMBER = 10009;
1523
+ declare const ITEM_FOCUSING_ARRAY = 10010;
1524
+ declare const ITEM_ENGINE_T1 = 10100;
1525
+ declare const ITEM_GENERATOR_T1 = 10101;
1526
+ declare const ITEM_GATHERER_T1 = 10102;
1527
+ declare const ITEM_LOADER_T1 = 10103;
1528
+ declare const ITEM_CRAFTER_T1 = 10104;
1529
+ declare const ITEM_STORAGE_T1 = 10105;
1530
+ declare const ITEM_HAULER_T1 = 10106;
1531
+ declare const ITEM_CONTAINER_T1_PACKED = 10200;
1532
+ declare const ITEM_SHIP_T1_PACKED = 10201;
1533
+ declare const ITEM_WAREHOUSE_T1_PACKED = 10202;
1534
+ declare const ITEM_HULL_PLATES_T2 = 20001;
1535
+ declare const ITEM_CARGO_LINING_T2 = 20002;
1536
+ declare const ITEM_CONTAINER_T2_PACKED = 20200;
1537
+
1538
+ interface RecipeInputItemId {
1539
+ itemId: number;
1540
+ quantity: number;
1541
+ }
1542
+ interface RecipeInputCategory {
1543
+ category: ResourceCategory;
1544
+ tier: number;
1545
+ quantity: number;
1546
+ }
1547
+ type RecipeInput = RecipeInputItemId | RecipeInputCategory;
1548
+ interface StatSlot {
1549
+ sources: {
1550
+ inputIndex: number;
1551
+ statIndex: number;
1552
+ }[];
1553
+ }
1554
+ interface Recipe {
1555
+ outputItemId: number;
1556
+ outputMass: number;
1557
+ inputs: RecipeInput[];
1558
+ statSlots: StatSlot[];
1559
+ blendWeights: number[];
1560
+ }
1561
+ interface EntitySlot {
1562
+ type: ModuleType;
1563
+ }
1564
+ interface EntityLayout {
1565
+ entityItemId: number;
1566
+ slots: EntitySlot[];
1403
1567
  }
1568
+ declare function getRecipe(outputItemId: number): Recipe | undefined;
1569
+ declare function getEntityLayout(entityItemId: number): EntityLayout | undefined;
1570
+ declare function findItemByCategoryAndTier(category: ResourceCategory, tier: number): Item;
1404
1571
 
1405
1572
  interface EpochInfo {
1406
1573
  epoch: UInt64;
@@ -1865,8 +2032,14 @@ interface ProjectionOptions {
1865
2032
  upToTaskIndex?: number;
1866
2033
  }
1867
2034
  declare function projectEntity(entity: Projectable, options?: ProjectionOptions): ProjectedEntity;
2035
+ interface ProjectableSnapshot extends Projectable {
2036
+ current_task?: Types.task;
2037
+ pending_tasks?: Types.task[];
2038
+ }
2039
+ declare function projectFromCurrentState(snapshot: ProjectableSnapshot): ProjectedEntity;
1868
2040
  declare function validateSchedule(entity: Projectable): void;
1869
2041
  declare function projectEntityAt(entity: Projectable, now: Date): ProjectedEntity;
2042
+ declare function projectFromCurrentStateAt(snapshot: ProjectableSnapshot, now: Date): ProjectedEntity;
1870
2043
 
1871
2044
  declare class Location {
1872
2045
  readonly coordinates: Coordinates;
@@ -2209,7 +2382,7 @@ declare function makeShip(state: ShipStateInput): Ship;
2209
2382
  declare function makeWarehouse(state: WarehouseStateInput): Warehouse;
2210
2383
  declare function makeContainer(state: ContainerStateInput): Container;
2211
2384
 
2212
- declare const itemIds: UInt16[];
2385
+ declare const itemIds: number[];
2213
2386
  declare function getItem(itemId: UInt16Type): Item;
2214
2387
  declare function getItems(): Item[];
2215
2388
 
@@ -2263,8 +2436,8 @@ declare const PLANET_SUBTYPE_TERRESTRIAL = 2;
2263
2436
  declare const PLANET_SUBTYPE_ICY = 3;
2264
2437
  declare const PLANET_SUBTYPE_OCEAN = 4;
2265
2438
  declare const PLANET_SUBTYPE_INDUSTRIAL = 5;
2266
- declare function getDepthThreshold(tier: ResourceTier): number;
2267
- declare function getResourceTier(itemId: number): ResourceTier;
2439
+ declare function getDepthThreshold(tier: number): number;
2440
+ declare function getResourceTier(itemId: number): number;
2268
2441
  declare function getResourceWeight(itemId: number, stratum: number): number;
2269
2442
  declare function getLocationCandidates(locationType: number, subtype: number): number[];
2270
2443
  declare function getEligibleResources(locationType: number, subtype: number, stratum: number): number[];
@@ -2311,23 +2484,22 @@ declare function decodeStat(stats: bigint, index: number): number;
2311
2484
  declare function decodeStats(stats: bigint, count: number): number[];
2312
2485
  declare function decodeCraftedItemStats(itemId: number, stats: bigint): Record<string, number>;
2313
2486
  declare function blendStacks(stacks: StackInput[], statKey: string): number;
2314
- declare function computeComponentStats(componentId: number, categoryStacks: CategoryStacks[]): {
2315
- key: string;
2316
- value: number;
2317
- }[];
2318
2487
  declare function blendComponentStacks(stacks: {
2319
2488
  quantity: number;
2320
2489
  stats: Record<string, number>;
2321
2490
  }[]): Record<string, number>;
2322
- declare function computeEntityStats(entityRecipeId: string, componentStacks: Record<number, {
2491
+ declare function computeComponentStats(componentId: number, categoryStacks: CategoryStacks[]): {
2492
+ key: string;
2493
+ value: number;
2494
+ }[];
2495
+ declare function computeEntityStats(entityItemIdOrLegacyId: number | string, componentStacks: Record<number, {
2323
2496
  quantity: number;
2324
2497
  stats: Record<string, number>;
2325
2498
  }[]>): {
2326
2499
  key: string;
2327
2500
  value: number;
2328
2501
  }[];
2329
- declare const categoryItemMass: Record<string, number>;
2330
- declare function computeInputMass(itemId: string | number, itemType: 'component' | 'module' | 'entity'): number;
2502
+ declare function computeInputMass(itemId: number): number;
2331
2503
  declare function blendCrossGroup(sources: {
2332
2504
  value: number;
2333
2505
  weight: number;
@@ -2515,13 +2687,6 @@ declare function capsHasCrafter(caps: EntityCapabilities): boolean;
2515
2687
  declare function calc_craft_duration(speed: number, totalInputMass: number): UInt32;
2516
2688
  declare function calc_craft_energy(drain: number, totalInputMass: number): UInt16;
2517
2689
 
2518
- declare const ITEM_ENGINE_T1 = 10100;
2519
- declare const ITEM_GENERATOR_T1 = 10101;
2520
- declare const ITEM_GATHERER_T1 = 10102;
2521
- declare const ITEM_LOADER_T1 = 10103;
2522
- declare const ITEM_CRAFTER_T1 = 10104;
2523
- declare const ITEM_STORAGE_T1 = 10105;
2524
- declare const ITEM_HAULER_T1 = 10106;
2525
2690
  declare const MODULE_ANY = 0;
2526
2691
  declare const MODULE_ENGINE = 1;
2527
2692
  declare const MODULE_GENERATOR = 2;
@@ -2543,6 +2708,7 @@ interface ModuleEntry {
2543
2708
  declare function moduleAccepts(slotType: number, moduleType: number): boolean;
2544
2709
  declare function getModuleCapabilityType(itemId: number): number;
2545
2710
  declare function isModuleItem(itemId: number): boolean;
2711
+ declare function moduleSlotTypeToCode(slotType: string): number;
2546
2712
 
2547
2713
  declare function computeHaulPenalty(totalThrust: number, haulCount: number, avgEfficiency: number): number;
2548
2714
  declare function computeHaulerDrain(distance: number, drain: number, haulCount: number): number;
@@ -2608,96 +2774,6 @@ declare function getStatMappings(): StatMapping[];
2608
2774
  declare function getStatMappingsForStat(stat: string): StatMapping[];
2609
2775
  declare function getStatMappingsForCapability(capability: string): StatMapping[];
2610
2776
 
2611
- declare const ITEM_MATTER_CONDUIT = 10005;
2612
- declare const ITEM_SURVEY_PROBE = 10006;
2613
- declare const ITEM_CARGO_ARM = 10007;
2614
- declare const ITEM_TOOL_BIT = 10008;
2615
- declare const ITEM_REACTION_CHAMBER = 10009;
2616
- declare const ITEM_FOCUSING_ARRAY = 10010;
2617
- declare const ITEM_HULL_PLATES = 10001;
2618
- declare const ITEM_CARGO_LINING = 10002;
2619
- declare const ITEM_CONTAINER_T1_PACKED = 10200;
2620
- declare const ITEM_THRUSTER_CORE = 10003;
2621
- declare const ITEM_POWER_CELL = 10004;
2622
- declare const ITEM_SHIP_T1_PACKED = 10201;
2623
- declare const ITEM_WAREHOUSE_T1_PACKED = 10202;
2624
- declare const ITEM_HULL_PLATES_T2 = 20001;
2625
- declare const ITEM_CARGO_LINING_T2 = 20002;
2626
- declare const ITEM_CONTAINER_T2_PACKED = 20200;
2627
- interface RecipeInput {
2628
- category?: ResourceCategory;
2629
- itemId?: number;
2630
- quantity: number;
2631
- }
2632
- interface ComponentStat {
2633
- key: string;
2634
- source: ResourceCategory;
2635
- }
2636
- interface ComponentDefinition {
2637
- id: number;
2638
- name: string;
2639
- description: string;
2640
- color: string;
2641
- mass: number;
2642
- stats: ComponentStat[];
2643
- recipe: RecipeInput[];
2644
- usedIn: {
2645
- type: 'entity' | 'module';
2646
- name: string;
2647
- }[];
2648
- }
2649
- interface ModuleSlot {
2650
- type: number;
2651
- label?: string;
2652
- }
2653
- interface EntityRecipe {
2654
- id: string;
2655
- name: string;
2656
- description: string;
2657
- color: string;
2658
- packedItemId: number;
2659
- recipe: RecipeInput[];
2660
- stats: {
2661
- key: string;
2662
- sourceComponentId: number;
2663
- sourceStatKey: string;
2664
- }[];
2665
- moduleSlots?: ModuleSlot[];
2666
- }
2667
- interface CraftableItem {
2668
- type: 'component' | 'entity' | 'module';
2669
- id: number | string;
2670
- name: string;
2671
- description: string;
2672
- color: string;
2673
- }
2674
- declare const components: ComponentDefinition[];
2675
- declare const entityRecipes: EntityRecipe[];
2676
- interface ModuleRecipe {
2677
- id: string;
2678
- name: string;
2679
- description: string;
2680
- color: string;
2681
- itemId: number;
2682
- moduleType: number;
2683
- recipe: RecipeInput[];
2684
- stats: {
2685
- key: string;
2686
- sourceComponentId: number;
2687
- sourceStatKey: string;
2688
- }[];
2689
- }
2690
- declare const moduleRecipes: ModuleRecipe[];
2691
- declare function getModuleRecipe(id: string): ModuleRecipe | undefined;
2692
- declare function getModuleRecipeByItemId(itemId: number): ModuleRecipe | undefined;
2693
- declare function getComponentById(id: number): ComponentDefinition | undefined;
2694
- declare function getEntityRecipe(id: string): EntityRecipe | undefined;
2695
- declare function getEntityRecipeByItemId(itemId: number): EntityRecipe | undefined;
2696
- declare function getEntitySlotLayout(packedItemId: number): ModuleSlot[];
2697
- declare function getAllCraftableItems(): CraftableItem[];
2698
- declare function getComponentsForCategory(category: ResourceCategory): ComponentDefinition[];
2699
- declare function getComponentsForStat(statKey: string): ComponentDefinition[];
2700
-
2701
2777
  declare function computeShipHullCapabilities(stats: Record<string, number>): {
2702
2778
  hullmass: number;
2703
2779
  capacity: number;
@@ -2778,7 +2854,7 @@ interface ResolvedItemStat {
2778
2854
  abbreviation: string;
2779
2855
  value: number;
2780
2856
  color: string;
2781
- category: ResourceCategory;
2857
+ category?: ResourceCategory;
2782
2858
  inverted?: boolean;
2783
2859
  }
2784
2860
  interface ResolvedAttributeGroup {
@@ -2803,7 +2879,7 @@ interface ResolvedItem {
2803
2879
  icon: string;
2804
2880
  abbreviation: string | null;
2805
2881
  category?: ResourceCategory;
2806
- tier: ResourceTier;
2882
+ tier: number;
2807
2883
  mass: number;
2808
2884
  itemType: ResolvedItemType;
2809
2885
  stats?: ResolvedItemStat[];
@@ -2956,7 +3032,7 @@ declare function formatMassDelta(kg: number): string;
2956
3032
 
2957
3033
  interface DisplayNameInput {
2958
3034
  itemType: 'resource' | 'component' | 'module' | 'entity' | string;
2959
- tier: ResourceTier | string;
3035
+ tier: number | string;
2960
3036
  category?: ResourceCategory;
2961
3037
  name: string;
2962
3038
  }
@@ -3017,4 +3093,4 @@ type location_epoch = Types.location_epoch;
3017
3093
  type location_derived = Types.location_derived;
3018
3094
  type location_row = Types.location_row;
3019
3095
 
3020
- export { AckMessage, ActionsManager, AnyEntity, 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, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_CAPACITY_EXCEEDED, 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, ComponentDefinition, ComponentStat, ConnectionState, Container, ContainerEntity, ContainerStateInput, Coordinates, CoordinatesType, CraftableItem, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, ENTITY_NO_CRAFTER, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityInfo, EntityInstance, EntityInventory, EntityRecipe, EntityRefInput, EntityState, EntitySubscriptionHandle, EntityType, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, GAME_NOT_FOUND, GAME_SEED_NOT_SET, 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, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_DOES_NOT_EXIST, ITEM_ENGINE_T1, ITEM_FOCUSING_ARRAY, 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_POWER_CELL, ITEM_REACTION_CHAMBER, 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, InventoryAccessor, Item, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, 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_TYPE_MISMATCH, MODULE_WARP, MassCapability, ModuleDescription, ModuleEntry, ModuleRecipe, ModuleSlot, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, 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, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, 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, RecipeInput, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, ResourceTier, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CAPACITY_EXCEEDED, SHIP_CARGO_NOT_LOADED, SHIP_CARGO_NOT_OWNED, SHIP_INVALID_CARGO, SHIP_INVALID_DESTINATION, SHIP_INVALID_TRAVEL_DURATION, SHIP_NOT_ARRIVED, SHIP_NOT_ENOUGH_ENERGY, SHIP_NOT_ENOUGH_ENERGY_CAPACITY, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, ServerMessage, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, SnapshotMessage, StackInput, StatDefinition, StatMapping, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WarehouseStateInput, 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, cargoItemToStack, cargoUtils, cargo_item, categoryColors, categoryIconShapes, categoryIcons, categoryItemMass, componentIcon, components, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerDrain, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, container_row, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationEpoch, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, entityRecipes, estimateDealTravelTime, estimateTravelTime, findNearbyPlanets, formatMass, formatMassDelta, formatModuleLine, gatherer_stats, getAllCraftableItems, getCapabilityAttributes, getCategoryInfo, getComponentById, getComponentsForCategory, getComponentsForStat, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityRecipe, getEntityRecipeByItemId, getEntitySlotLayout, getEpochInfo, getFlightOrigin, getItem, getItems, getLocationCandidates, getLocationType, getLocationTypeName, getModuleCapabilityType, getModuleRecipe, getModuleRecipeByItemId, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getResourceTier, getResourceWeight, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, isCraftedItem, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isModuleItem, isRelatedItem, isSubscriptionsDebugEnabled, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, loader_stats, location_derived, location_epoch, location_row, location_static, makeContainer, makeShip, makeWarehouse, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleRecipes, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, statMappings, task, tierColors, tierLabels, tierNumber, toLocation, validateSchedule, warehouse_row };
3096
+ export { AckMessage, ActionsManager, AnyEntity, 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, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_CAPACITY_EXCEEDED, 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, ConnectionState, Container, ContainerEntity, ContainerStateInput, 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, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, ENTITY_NO_CRAFTER, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntitySubscriptionHandle, EntityType, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, GAME_NOT_FOUND, GAME_SEED_NOT_SET, 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, 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_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, InventoryAccessor, Item, ItemType, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, 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_TYPE_MISMATCH, MODULE_WARP, MassCapability, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, 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, 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, Recipe, RecipeInput, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, ResourceTier, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CAPACITY_EXCEEDED, SHIP_CARGO_NOT_LOADED, SHIP_CARGO_NOT_OWNED, SHIP_INVALID_CARGO, SHIP_INVALID_DESTINATION, SHIP_INVALID_TRAVEL_DURATION, SHIP_NOT_ARRIVED, SHIP_NOT_ENOUGH_ENERGY, SHIP_NOT_ENOUGH_ENERGY_CAPACITY, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, ServerMessage, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, SnapshotMessage, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WarehouseStateInput, 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, cargoItemToStack, cargoUtils, cargo_item, categoryColors, categoryIconShapes, categoryIcons, componentIcon, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerDrain, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, container_row, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationEpoch, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, estimateDealTravelTime, estimateTravelTime, findItemByCategoryAndTier, findNearbyPlanets, formatMass, formatMassDelta, formatModuleLine, formatTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityLayout, getEpochInfo, getFlightOrigin, getItem, getItems, getLocationCandidates, getLocationType, getLocationTypeName, getModuleCapabilityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, isCraftedItem, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isModuleItem, isRelatedItem, isSubscriptionsDebugEnabled, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, loader_stats, location_derived, location_epoch, location_row, location_static, makeContainer, makeShip, makeWarehouse, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, statMappings, task, tierColors, tierLabels, tierNumber, toLocation, validateSchedule, warehouse_row };