@shipload/sdk 1.0.0-next.5 → 1.0.0-next.50

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 (144) hide show
  1. package/lib/scan.d.ts +52 -0
  2. package/lib/scan.js +162 -0
  3. package/lib/scan.js.map +1 -0
  4. package/lib/scan.m.js +152 -0
  5. package/lib/scan.m.js.map +1 -0
  6. package/lib/shipload.d.ts +2881 -1149
  7. package/lib/shipload.js +13031 -5511
  8. package/lib/shipload.js.map +1 -1
  9. package/lib/shipload.m.js +12807 -5460
  10. package/lib/shipload.m.js.map +1 -1
  11. package/lib/testing.d.ts +1028 -0
  12. package/lib/testing.js +4336 -0
  13. package/lib/testing.js.map +1 -0
  14. package/lib/testing.m.js +4330 -0
  15. package/lib/testing.m.js.map +1 -0
  16. package/package.json +20 -2
  17. package/src/capabilities/craftable.ts +51 -0
  18. package/src/capabilities/crafting.test.ts +7 -0
  19. package/src/capabilities/crafting.ts +6 -7
  20. package/src/capabilities/gathering.test.ts +29 -0
  21. package/src/capabilities/gathering.ts +37 -19
  22. package/src/capabilities/index.ts +0 -1
  23. package/src/capabilities/modules.ts +22 -0
  24. package/src/capabilities/storage.ts +16 -1
  25. package/src/contracts/platform.ts +231 -3
  26. package/src/contracts/server.ts +1160 -520
  27. package/src/coordinates/address.ts +88 -0
  28. package/src/coordinates/constants.test.ts +15 -0
  29. package/src/coordinates/constants.ts +23 -0
  30. package/src/coordinates/index.ts +15 -0
  31. package/src/coordinates/memo.test.ts +47 -0
  32. package/src/coordinates/memo.ts +20 -0
  33. package/src/coordinates/permutation.ts +77 -0
  34. package/src/coordinates/regions.ts +48 -0
  35. package/src/coordinates/sectors.ts +115 -0
  36. package/src/data/capabilities.ts +31 -16
  37. package/src/data/capability-formulas.ts +21 -14
  38. package/src/data/catalog.ts +0 -5
  39. package/src/data/colors.ts +13 -47
  40. package/src/data/entities.json +154 -10
  41. package/src/data/item-ids.ts +31 -12
  42. package/src/data/items.json +192 -74
  43. package/src/data/kind-registry.json +131 -0
  44. package/src/data/kind-registry.ts +172 -0
  45. package/src/data/metadata.ts +166 -48
  46. package/src/data/recipes-runtime.ts +5 -23
  47. package/src/data/recipes.json +1003 -163
  48. package/src/derivation/build-methods.test.ts +13 -0
  49. package/src/derivation/build-methods.ts +48 -0
  50. package/src/derivation/capabilities.test.ts +151 -0
  51. package/src/derivation/capabilities.ts +527 -0
  52. package/src/derivation/capability-mappings.ts +58 -16
  53. package/src/derivation/crafting.ts +36 -33
  54. package/src/derivation/index.ts +28 -2
  55. package/src/derivation/recipe-usage.test.ts +81 -0
  56. package/src/derivation/recipe-usage.ts +141 -0
  57. package/src/derivation/reserve-regen.ts +34 -0
  58. package/src/derivation/resources.ts +98 -19
  59. package/src/derivation/rollups.test.ts +55 -0
  60. package/src/derivation/rollups.ts +56 -0
  61. package/src/derivation/stars.test.ts +67 -0
  62. package/src/derivation/stars.ts +25 -0
  63. package/src/derivation/stats.ts +6 -6
  64. package/src/derivation/stratum.ts +26 -22
  65. package/src/derivation/tiers.ts +40 -7
  66. package/src/derivation/upgrades.ts +14 -0
  67. package/src/derivation/wormhole.ts +141 -0
  68. package/src/entities/entity.ts +98 -0
  69. package/src/entities/gamestate.ts +3 -28
  70. package/src/entities/makers.ts +131 -134
  71. package/src/entities/slot-multiplier.ts +43 -0
  72. package/src/errors.ts +12 -16
  73. package/src/format.ts +26 -4
  74. package/src/index-module.ts +290 -34
  75. package/src/managers/actions.ts +602 -105
  76. package/src/managers/base.ts +6 -2
  77. package/src/managers/cluster.test.ts +39 -0
  78. package/src/managers/cluster.ts +53 -0
  79. package/src/managers/construction-types.ts +80 -0
  80. package/src/managers/construction.ts +412 -0
  81. package/src/managers/context.ts +29 -1
  82. package/src/managers/coordinates.ts +14 -0
  83. package/src/managers/entities.ts +27 -66
  84. package/src/managers/epochs.ts +40 -0
  85. package/src/managers/flatten-gather-plan.test.ts +80 -0
  86. package/src/managers/index.ts +20 -1
  87. package/src/managers/locations.ts +25 -29
  88. package/src/managers/nft.test.ts +14 -0
  89. package/src/managers/nft.ts +70 -0
  90. package/src/managers/players.ts +25 -0
  91. package/src/managers/plot.ts +122 -0
  92. package/src/nft/atomicassets.abi.json +1342 -0
  93. package/src/nft/atomicassets.ts +237 -0
  94. package/src/nft/atomicdata.ts +130 -0
  95. package/src/nft/buildImmutableData.ts +336 -0
  96. package/src/nft/description.ts +104 -36
  97. package/src/nft/index.ts +3 -0
  98. package/src/planner/index.ts +242 -0
  99. package/src/planner/planner.test.ts +325 -0
  100. package/src/resolution/describe-module.ts +43 -25
  101. package/src/resolution/display-name.ts +38 -10
  102. package/src/resolution/resolve-item.test.ts +48 -0
  103. package/src/resolution/resolve-item.ts +74 -47
  104. package/src/scan/index.ts +244 -0
  105. package/src/scan/scan-wasm.base64.ts +2 -0
  106. package/src/scheduling/accessor.ts +65 -23
  107. package/src/scheduling/availability.ts +108 -0
  108. package/src/scheduling/cancel.test.ts +348 -0
  109. package/src/scheduling/cancel.ts +209 -0
  110. package/src/scheduling/energy.ts +47 -0
  111. package/src/scheduling/idle-resolve.ts +45 -0
  112. package/src/scheduling/lane-core.ts +128 -0
  113. package/src/scheduling/lanes.test.ts +249 -0
  114. package/src/scheduling/lanes.ts +198 -0
  115. package/src/scheduling/projection.ts +210 -107
  116. package/src/scheduling/schedule.ts +240 -117
  117. package/src/scheduling/task-cargo.ts +46 -0
  118. package/src/scheduling/unwrap.test.ts +86 -0
  119. package/src/scheduling/unwrap.ts +190 -0
  120. package/src/shipload.ts +26 -1
  121. package/src/subscriptions/manager.cluster.test.ts +51 -0
  122. package/src/subscriptions/manager.ts +245 -172
  123. package/src/subscriptions/mappers.ts +5 -8
  124. package/src/subscriptions/types.ts +28 -3
  125. package/src/testing/catalog-hash.ts +19 -0
  126. package/src/testing/index.ts +2 -0
  127. package/src/testing/projection-parity.ts +167 -0
  128. package/src/travel/reach.ts +23 -0
  129. package/src/travel/route-planner.ts +277 -0
  130. package/src/travel/travel.ts +148 -117
  131. package/src/types/capabilities.ts +29 -6
  132. package/src/types/entity.ts +3 -3
  133. package/src/types/index.ts +0 -1
  134. package/src/types.ts +36 -14
  135. package/src/utils/cargo.test.ts +14 -0
  136. package/src/utils/cargo.ts +29 -0
  137. package/src/utils/display-name.ts +70 -0
  138. package/src/utils/system.ts +36 -24
  139. package/src/capabilities/loading.ts +0 -8
  140. package/src/entities/container.ts +0 -123
  141. package/src/entities/ship-deploy.ts +0 -295
  142. package/src/entities/ship.ts +0 -221
  143. package/src/entities/warehouse.ts +0 -127
  144. package/src/types/entity-traits.ts +0 -69
@@ -10,30 +10,30 @@ export {Types as ServerTypes} from './contracts/server'
10
10
  export {Types as PlatformTypes} from './contracts/platform'
11
11
 
12
12
  import type {ServerContract} from './contracts'
13
+ import type {Entity as EntityType} from './entities/entity'
13
14
 
14
15
  export {Shipload} from './shipload'
15
- export {Ship} from './entities/ship'
16
- export type {ShipStateInput, PackedModuleInput} from './entities/ship'
17
- export {Warehouse, computeWarehouseCapabilities} from './entities/warehouse'
18
- export type {WarehouseStateInput} from './entities/warehouse'
19
- export {Container} from './entities/container'
20
- export type {ContainerStateInput} from './entities/container'
21
- export {makeShip, makeWarehouse, makeContainer} from './entities/makers'
16
+ export {Entity} from './entities/entity'
17
+ export type Ship = EntityType
18
+ export type Warehouse = EntityType
19
+ export type Container = EntityType
20
+ export type Extractor = EntityType
21
+ export type Factory = EntityType
22
+ export type Nexus = EntityType
23
+ export {makeEntity} from './entities/makers'
24
+ export type {EntityStateInput, PackedModuleInput} from './entities/makers'
25
+ export type {InstalledModule} from './entities/slot-multiplier'
22
26
 
23
27
  export type movement_stats = ServerContract.Types.movement_stats
24
28
  export type energy_stats = ServerContract.Types.energy_stats
25
- export type loader_stats = ServerContract.Types.loader_stats
26
29
  export type schedule = ServerContract.Types.schedule
30
+ export type lane = ServerContract.Types.lane
27
31
  export type task = ServerContract.Types.task
28
32
  export type cargo_item = ServerContract.Types.cargo_item
29
- export type warehouse_row = ServerContract.Types.warehouse_row
30
- export type container_row = ServerContract.Types.container_row
31
- export type gatherer_stats = ServerContract.Types.gatherer_stats
33
+ export type entity_row = ServerContract.Types.entity_row
32
34
 
33
35
  export type location_static = ServerContract.Types.location_static
34
- export type location_epoch = ServerContract.Types.location_epoch
35
36
  export type location_derived = ServerContract.Types.location_derived
36
- export type location_row = ServerContract.Types.location_row
37
37
  export {Player} from './entities/player'
38
38
  export type {PlayerStateInput} from './entities/player'
39
39
  export {EntityInventory} from './entities/entity-inventory'
@@ -46,9 +46,36 @@ export {
46
46
  LocationsManager,
47
47
  EpochsManager,
48
48
  ActionsManager,
49
+ ClusterManager,
50
+ computeFreeCells,
51
+ NftManager,
52
+ ConstructionManager,
49
53
  } from './managers'
50
- export type {EntityType, LocationStratum} from './managers'
51
- export type {EntityRefInput} from './managers/actions'
54
+ export type {GridCell, ClusterCell, Cluster} from './managers'
55
+ export type {
56
+ PlayerRosterEntry,
57
+ LocationStratum,
58
+ NftConfigForItem,
59
+ BuildableTarget,
60
+ BuildState,
61
+ SourceEntityRef,
62
+ SourceCargoStack,
63
+ FinalizerEntityRef,
64
+ FinalizerCapability,
65
+ InboundTransfer,
66
+ ScheduledBuild,
67
+ Reservation,
68
+ } from './managers'
69
+ export type {
70
+ EntityRefInput,
71
+ LaunchNumericInput,
72
+ LaunchQuote,
73
+ LaunchQuoteCatcher,
74
+ LaunchQuoteLauncher,
75
+ LaunchStatsInput,
76
+ } from './managers/actions'
77
+ export type {WrapDeposit} from './managers/nft'
78
+ export {resolveLockedAmount} from './managers/nft'
52
79
 
53
80
  export {
54
81
  getItem,
@@ -63,18 +90,18 @@ export {
63
90
  categoryLabel,
64
91
  categoryFromIndex,
65
92
  categoryLabelFromIndex,
66
- tierLabel,
67
93
  } from './data/catalog'
68
94
  export {getCurrentEpoch, getEpochInfo} from './scheduling/epoch'
69
95
  export type {EpochInfo} from './scheduling/epoch'
70
96
  export {
71
97
  getSystemName,
72
98
  hasSystem,
99
+ getLocationKind,
73
100
  getLocationType,
74
101
  getLocationTypeName,
75
102
  isGatherableLocation,
103
+ isLocationBuildable,
76
104
  deriveLocationStatic,
77
- deriveLocationEpoch,
78
105
  deriveLocation,
79
106
  } from './utils/system'
80
107
 
@@ -86,6 +113,7 @@ export {
86
113
  getEligibleResources,
87
114
  getResourceWeight,
88
115
  getLocationCandidates,
116
+ getLocationProfile,
89
117
  getDepthThreshold,
90
118
  getResourceTier,
91
119
  DEPTH_THRESHOLD_T1,
@@ -95,6 +123,9 @@ export {
95
123
  DEPTH_THRESHOLD_T5,
96
124
  LOCATION_MIN_DEPTH,
97
125
  LOCATION_MAX_DEPTH,
126
+ yieldThresholdAt,
127
+ YIELD_FRACTION_SHALLOW,
128
+ YIELD_FRACTION_DEEP,
98
129
  PLANET_SUBTYPE_GAS_GIANT,
99
130
  PLANET_SUBTYPE_ROCKY,
100
131
  PLANET_SUBTYPE_TERRESTRIAL,
@@ -105,13 +136,39 @@ export {
105
136
 
106
137
  export type {StratumInfo, ResourceStats, DerivedStratum} from './derivation'
107
138
 
108
- export {RESERVE_TIERS, TIER_ROLL_MAX, rollTier, rollWithinTier} from './derivation'
139
+ export {
140
+ RESERVE_TIERS,
141
+ TIER_ROLL_MAX,
142
+ tierOfReserve,
143
+ rollTier,
144
+ rollWithinTier,
145
+ RESOURCE_TIER_MULT_TENTHS,
146
+ applyResourceTierMultiplier,
147
+ } from './derivation'
109
148
  export type {ReserveTier, TierRange} from './derivation'
110
149
 
150
+ export {getEffectiveReserve} from './derivation'
151
+ export type {EffectiveReserveInput} from './derivation'
152
+
153
+ export {eligibleUpgrades} from './derivation'
154
+
111
155
  export {getStatDefinitions, getStatName, resolveStats} from './derivation'
112
156
  export type {StatDefinition, NamedStats} from './derivation'
113
157
 
158
+ export {
159
+ STAR_STEP,
160
+ MAX_STARS_PER_STAT,
161
+ MAX_STAR_RATING,
162
+ starsForStat,
163
+ starRating,
164
+ statMagnitude,
165
+ compareByStars,
166
+ } from './derivation'
167
+ export type {StarSortable} from './derivation'
168
+
114
169
  export {hash, hash512} from './utils/hash'
170
+ export {validateDisplayName, normalizeDisplayName} from './utils/display-name'
171
+ export type {DisplayNameResult, ValidateDisplayNameOptions} from './utils/display-name'
115
172
 
116
173
  export {
117
174
  distanceBetweenCoordinates,
@@ -122,6 +179,7 @@ export {
122
179
  calc_flighttime,
123
180
  calc_loader_acceleration,
124
181
  calc_loader_flighttime,
182
+ calc_onesided_duration,
125
183
  calc_orbital_altitude,
126
184
  calc_rechargetime,
127
185
  calc_ship_acceleration,
@@ -129,6 +187,7 @@ export {
129
187
  calc_ship_mass,
130
188
  calc_ship_rechargetime,
131
189
  calc_transfer_duration,
190
+ calc_transit_duration,
132
191
  calculateFlightTime,
133
192
  calculateLoadTimeBreakdown,
134
193
  calculateRefuelingTime,
@@ -155,8 +214,45 @@ export type {
155
214
  HasScheduleAndLocation,
156
215
  } from './travel/travel'
157
216
 
217
+ export {planRoute, sdkSystemGraph, setScanProvider, MAX_LEGS} from './travel/route-planner'
218
+ export type {
219
+ Coord,
220
+ Neighbor,
221
+ SystemGraph,
222
+ ScanProvider,
223
+ RoutePlan,
224
+ RouteFailure,
225
+ RouteResult,
226
+ RouteFailureReason,
227
+ PlanRouteParams,
228
+ } from './travel/route-planner'
229
+
230
+ export {computePerLegReach, computeGroupPerLegReach} from './travel/reach'
231
+ export type {ReachStats} from './travel/reach'
232
+
158
233
  export * as schedule from './scheduling/schedule'
159
- export type {Scheduleable, ScheduleData} from './scheduling/schedule'
234
+ export {LANE_MOBILITY, LANE_BARRIER} from './scheduling/schedule'
235
+ export type {
236
+ ScheduleData,
237
+ LaneView,
238
+ OrderedTask,
239
+ ResolvedEvent,
240
+ } from './scheduling/schedule'
241
+ export {
242
+ candidateLaneCompletesAt,
243
+ laneKeyForModule,
244
+ rawScheduleEnd,
245
+ resolveLaneGatherer,
246
+ resolveLaneCrafter,
247
+ resolveLaneLoader,
248
+ selectGatherLane,
249
+ workerLaneKey,
250
+ } from './scheduling/lanes'
251
+ export type {
252
+ ResolvedGathererLane,
253
+ ResolvedCrafterLane,
254
+ ResolvedLoaderLane,
255
+ } from './scheduling/lanes'
160
256
  export {ScheduleAccessor, createScheduleAccessor} from './scheduling/accessor'
161
257
  export {InventoryAccessor, createInventoryAccessor} from './entities/inventory-accessor'
162
258
  export type {HasCargo} from './entities/inventory-accessor'
@@ -164,36 +260,98 @@ export type {HasCargo} from './entities/inventory-accessor'
164
260
  export * as cargoUtils from './entities/cargo-utils'
165
261
  export type {CargoData} from './entities/cargo-utils'
166
262
 
263
+ export {cargoRef, cargoItem} from './utils/cargo'
264
+
167
265
  export {
168
266
  createProjectedEntity,
169
267
  projectEntity,
170
268
  projectEntityAt,
171
- projectFromCurrentState,
172
- projectFromCurrentStateAt,
269
+ projectRemainingAt,
173
270
  validateSchedule,
174
271
  } from './scheduling/projection'
175
272
  export type {
176
273
  Projectable,
177
- ProjectableSnapshot,
178
274
  ProjectedEntity,
179
275
  ProjectionOptions,
180
276
  } from './scheduling/projection'
181
277
 
278
+ export {taskCargoChanges} from './scheduling/task-cargo'
279
+ export type {TaskCargoChange, TaskCargoDirection} from './scheduling/task-cargo'
280
+
281
+ export {composeIdleResolve} from './scheduling/idle-resolve'
282
+ export type {CounterpartLookup, IdleResolveTarget} from './scheduling/idle-resolve'
283
+
284
+ export {cancelEligibility, CancelBlockReason} from './scheduling/cancel'
285
+ export type {
286
+ CancelPlan,
287
+ CancelEffects,
288
+ CancelRefund,
289
+ CancelReleasedHold,
290
+ CancelEligibilityInput,
291
+ } from './scheduling/cancel'
292
+
293
+ export {
294
+ derivedLoaders,
295
+ estimateUnwrapDuration,
296
+ incomingHoldMass,
297
+ projectedPeakCargomass,
298
+ receiveFits,
299
+ unwrapLoadDuration,
300
+ unwrapTransitDuration,
301
+ } from './scheduling/unwrap'
302
+ export type {DerivedLoaders, UnwrapDestination, UnwrapItem} from './scheduling/unwrap'
303
+
304
+ export {
305
+ projectedCargoAvailableAt,
306
+ availableForItem,
307
+ cargoReadyAt,
308
+ taskCargoEffect,
309
+ } from './scheduling/availability'
310
+
311
+ export {maxCraftable} from './capabilities/craftable'
312
+
313
+ export {energyAtTime} from './scheduling/energy'
314
+
182
315
  export * from './types/capabilities'
183
316
  export * from './types/entity'
317
+ export {
318
+ EntityClass,
319
+ ENTITY_SHIP,
320
+ ENTITY_WAREHOUSE,
321
+ ENTITY_EXTRACTOR,
322
+ ENTITY_FACTORY,
323
+ ENTITY_CONTAINER,
324
+ ENTITY_NEXUS,
325
+ ENTITY_HUB,
326
+ getEntityClass,
327
+ getPackedEntityType,
328
+ getKindMeta,
329
+ getTemplateMeta,
330
+ kindCan,
331
+ ALL_ENTITY_TYPES,
332
+ CAP_WRAP,
333
+ CAP_UNDEPLOY,
334
+ CAP_DEMOLISH,
335
+ CAP_MODULES,
336
+ isShip,
337
+ isWarehouse,
338
+ isExtractor,
339
+ isFactory,
340
+ isContainer,
341
+ isNexus,
342
+ isPlot,
343
+ isHub,
344
+ } from './data/kind-registry'
345
+ export type {EntityTypeName, KindMeta, TemplateMeta} from './data/kind-registry'
184
346
  export * from './capabilities'
185
347
 
186
348
  export {
187
349
  categoryColors,
188
350
  tierColors,
189
- tierLabels,
190
- categoryIcons,
191
- categoryIconShapes,
192
351
  componentIcon,
193
352
  moduleIcon,
194
353
  itemAbbreviations,
195
354
  } from './data/colors'
196
- export type {CategoryIconShape} from './data/colors'
197
355
 
198
356
  export {itemTier, itemOffset, itemCategory, isRelatedItem, isCraftedItem} from './data/tiers'
199
357
  export type {CraftedItemCategory} from './data/tiers'
@@ -210,16 +368,26 @@ export {
210
368
  isInvertedAttribute,
211
369
  getCapabilityAttributes,
212
370
  } from './data/capabilities'
213
- export type {CapabilityAttribute, StatMapping} from './data/capabilities'
371
+ export type {CapabilityAttribute, StatMapping, CapabilityAttributeRow} from './data/capabilities'
214
372
 
215
373
  export {
216
374
  deriveStatMappings,
217
375
  getStatMappings,
218
376
  getStatMappingsForStat,
219
377
  getStatMappingsForCapability,
378
+ getProducersForAttribute,
379
+ getCapabilityAttributeRows,
380
+ sourceLabelForOutput,
220
381
  } from './derivation/capability-mappings'
221
382
  export {SLOT_FORMULAS} from './data/capability-formulas'
222
383
  export type {SlotConsumer, SlotConsumerKind} from './data/capability-formulas'
384
+ export {
385
+ getAllRecipes,
386
+ getRecipeConsumers,
387
+ getComponentDemand,
388
+ getResourceDemand,
389
+ } from './derivation/recipe-usage'
390
+ export type {StatFlow, RecipeConsumer, DemandRow, ResourceDemand} from './derivation/recipe-usage'
223
391
 
224
392
  export {
225
393
  encodeStats,
@@ -238,7 +406,15 @@ export {
238
406
  } from './derivation/crafting'
239
407
  export type {StackInput, CategoryStacks, RecipeSlotInput} from './derivation/crafting'
240
408
 
241
- export {computeContainerCapabilities, computeContainerT2Capabilities} from './entities/container'
409
+ export {
410
+ availableBuildMethods,
411
+ isBuildable,
412
+ isPlotBuildable,
413
+ filterByBuildMethod,
414
+ allBuildableItems,
415
+ allPlotBuildableItems,
416
+ } from './derivation/build-methods'
417
+ export type {BuildMethod} from './derivation/build-methods'
242
418
 
243
419
  export {
244
420
  computeShipHullCapabilities,
@@ -250,12 +426,34 @@ export {
250
426
  computeCrafterCapabilities,
251
427
  computeWarehouseHullCapabilities,
252
428
  computeStorageCapabilities,
253
- computeShipCapabilities,
429
+ computeBatteryCapabilities,
430
+ computeContainerCapabilities,
431
+ computeWarpCapabilities,
432
+ computeLauncherCapabilities,
433
+ computeBaseCapacity,
434
+ computeEntityCapabilities,
435
+ CAPACITY_TIER_TABLE,
436
+ capacityTierMultiplier,
437
+ applyCapacityTier,
254
438
  GATHERER_DEPTH_TABLE,
255
439
  GATHERER_DEPTH_MAX_TIER,
256
440
  gathererDepthForTier,
257
- } from './entities/ship-deploy'
258
- export type {ShipCapabilities, GathererDepthParams} from './entities/ship-deploy'
441
+ } from './derivation/capabilities'
442
+ export type {GathererDepthParams, ComputedCapabilities} from './derivation/capabilities'
443
+
444
+ export {
445
+ WH,
446
+ feistel,
447
+ feistelInv,
448
+ regionOf,
449
+ partnerRegion,
450
+ nearbyWormholes,
451
+ wormholeAt,
452
+ wormholeAtRegionEndpoint,
453
+ isValidWormholePair,
454
+ } from './derivation/wormhole'
455
+
456
+ export {rollupGatherer, rollupCrafter, rollupLoaders} from './derivation/rollups'
259
457
 
260
458
  export {resolveItem} from './resolution/resolve-item'
261
459
  export type {
@@ -295,6 +493,39 @@ export type {
295
493
  NFTCommonBase,
296
494
  } from './nft/deserializers'
297
495
 
496
+ export {deserializeAtomicData} from './nft/atomicdata'
497
+ export type {SchemaField, RawData} from './nft/atomicdata'
498
+
499
+ export {
500
+ buildImmutableData,
501
+ buildResourceImmutable,
502
+ buildComponentImmutable,
503
+ buildModuleImmutable,
504
+ buildEntityImmutable,
505
+ computeNftImageUrl,
506
+ } from './nft/buildImmutableData'
507
+ export type {
508
+ AtomicAttributeType,
509
+ ImmutableEntry,
510
+ ImmutableModuleSlot,
511
+ } from './nft/buildImmutableData'
512
+
513
+ export {
514
+ fetchAtomicAssetsForOwner,
515
+ fetchAtomicSchemas,
516
+ decodeAtomicAsset,
517
+ buildMintAssetAction,
518
+ ATOMICASSETS_ACCOUNT,
519
+ SHIPLOAD_COLLECTION,
520
+ } from './nft/atomicassets'
521
+ export type {
522
+ AtomicAssetRow,
523
+ AtomicSchemaRow,
524
+ DecodedAtomicAsset,
525
+ FetchAssetsOptions,
526
+ MintAssetParams,
527
+ } from './nft/atomicassets'
528
+
298
529
  export {
299
530
  buildEntityDescription,
300
531
  formatModuleLine,
@@ -305,16 +536,21 @@ export {
305
536
  computeBaseCapacityWarehouse,
306
537
  computeEngineThrust,
307
538
  computeEngineDrain,
539
+ computeTravelDrain,
540
+ ENGINE_DRAIN_BASE,
541
+ ENGINE_DRAIN_REF_THRUST,
542
+ ENGINE_DRAIN_REF_THM,
308
543
  computeGeneratorCap,
309
544
  computeGeneratorRech,
310
545
  computeGathererYield,
311
546
  computeGathererDrain,
312
547
  computeGathererDepth,
313
- computeGathererSpeed,
314
548
  computeLoaderMass,
315
549
  computeLoaderThrust,
316
550
  computeCrafterSpeed,
317
551
  computeCrafterDrain,
552
+ computeHaulerCapacity,
553
+ computeHaulerEfficiency,
318
554
  computeWarpRange,
319
555
  } from './nft/description'
320
556
 
@@ -326,9 +562,29 @@ export {
326
562
  itemTypeCode,
327
563
  } from './data/tiers'
328
564
 
329
- export {formatMass, formatMassDelta} from './format'
565
+ export {formatMass, formatMassDelta, formatMassScaled, formatLocation} from './format'
566
+ export * from './coordinates'
330
567
 
331
- export {displayName, describeItem} from './resolution/display-name'
568
+ export {displayName, baseName, describeItem} from './resolution/display-name'
332
569
  export type {DescribeOptions} from './resolution/display-name'
333
570
 
334
571
  export * from './subscriptions'
572
+
573
+ export {
574
+ allocateProportional,
575
+ buildGatherPlan,
576
+ gatherEnergyCost,
577
+ maxQtyForCharge,
578
+ planParallelTransfer,
579
+ splitCost,
580
+ } from './planner'
581
+ export type {
582
+ BuildGatherPlanOpts,
583
+ FillCap,
584
+ GatherCycle,
585
+ GatherLimpet,
586
+ GatherPlan,
587
+ GatherPlanEntity,
588
+ LanePlanEntry,
589
+ PlanTarget,
590
+ } from './planner'