@shipload/sdk 1.0.0-next.72 → 1.0.0-next.73
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 +75 -7
- package/lib/shipload.js +272 -332
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +269 -333
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +20 -5
- package/lib/testing.js +239 -322
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +239 -322
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/contracts/server.ts +67 -10
- package/src/data/catalog.test.ts +81 -1
- package/src/data/catalog.ts +6 -4
- package/src/data/metadata.ts +197 -363
- package/src/data/task-types.json +184 -0
- package/src/entities/makers.ts +2 -2
- package/src/index-module.ts +9 -1
- package/src/managers/actions.ts +12 -0
- package/src/resolution/resolve-item.ts +2 -2
- package/src/scheduling/unwrap.test.ts +60 -0
- package/src/scheduling/unwrap.ts +24 -8
- package/src/types.ts +1 -0
package/lib/testing.d.ts
CHANGED
|
@@ -87,6 +87,11 @@ declare namespace Types {
|
|
|
87
87
|
id: UInt64;
|
|
88
88
|
inputs: cargo_item[];
|
|
89
89
|
}
|
|
90
|
+
class blenddepot extends Struct {
|
|
91
|
+
depot_id: UInt64;
|
|
92
|
+
owner: Name;
|
|
93
|
+
inputs: cargo_item[];
|
|
94
|
+
}
|
|
90
95
|
class builder_lane extends Struct {
|
|
91
96
|
slot_index: UInt8;
|
|
92
97
|
speed: UInt16;
|
|
@@ -670,6 +675,8 @@ declare namespace Types {
|
|
|
670
675
|
class fixcargomass extends Struct {
|
|
671
676
|
entity_id: UInt64;
|
|
672
677
|
}
|
|
678
|
+
class fixhubid extends Struct {
|
|
679
|
+
}
|
|
673
680
|
class fixitemids extends Struct {
|
|
674
681
|
}
|
|
675
682
|
class grid_cell extends Struct {
|
|
@@ -906,6 +913,15 @@ declare namespace Types {
|
|
|
906
913
|
class importgroup extends Struct {
|
|
907
914
|
row: entitygroup_row;
|
|
908
915
|
}
|
|
916
|
+
class locker_row extends Struct {
|
|
917
|
+
depot_id: UInt64;
|
|
918
|
+
stored_mass: UInt64;
|
|
919
|
+
reserved_mass: UInt64;
|
|
920
|
+
}
|
|
921
|
+
class importlocker extends Struct {
|
|
922
|
+
owner: Name;
|
|
923
|
+
row: locker_row;
|
|
924
|
+
}
|
|
909
925
|
class nftconfig_row extends Struct {
|
|
910
926
|
item_id: UInt16;
|
|
911
927
|
template_id: Int32;
|
|
@@ -936,6 +952,10 @@ declare namespace Types {
|
|
|
936
952
|
class importstate extends Struct {
|
|
937
953
|
row: state_row;
|
|
938
954
|
}
|
|
955
|
+
class importstorage extends Struct {
|
|
956
|
+
depot_id: UInt64;
|
|
957
|
+
row: storage_row;
|
|
958
|
+
}
|
|
939
959
|
class infburn_row extends Struct {
|
|
940
960
|
bps: UInt16;
|
|
941
961
|
}
|
|
@@ -1070,11 +1090,6 @@ declare namespace Types {
|
|
|
1070
1090
|
is_system: boolean;
|
|
1071
1091
|
is_wormhole: boolean;
|
|
1072
1092
|
}
|
|
1073
|
-
class locker_row extends Struct {
|
|
1074
|
-
depot_id: UInt64;
|
|
1075
|
-
stored_mass: UInt64;
|
|
1076
|
-
reserved_mass: UInt64;
|
|
1077
|
-
}
|
|
1078
1093
|
class mandates_row extends Struct {
|
|
1079
1094
|
node_id: UInt32;
|
|
1080
1095
|
repeats: UInt16;
|