@shipload/sdk 1.0.0-next.15 → 1.0.0-next.16
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 +180 -79
- package/lib/shipload.js +155 -124
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +155 -124
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +45 -38
- package/lib/testing.js +136 -117
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +136 -117
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/contracts/platform.ts +1 -1
- package/src/contracts/server.ts +213 -109
- package/src/managers/actions.ts +22 -2
- package/src/scheduling/projection.ts +0 -4
- package/src/scheduling/task-cargo.ts +0 -1
- package/src/types.ts +0 -2
package/lib/testing.d.ts
CHANGED
|
@@ -124,13 +124,6 @@ declare namespace Types {
|
|
|
124
124
|
speed: UInt16;
|
|
125
125
|
drain: UInt16;
|
|
126
126
|
}
|
|
127
|
-
class createentity extends Struct {
|
|
128
|
-
owner: Name;
|
|
129
|
-
entity_type: Name;
|
|
130
|
-
entity_name: string;
|
|
131
|
-
x: Int64;
|
|
132
|
-
y: Int64;
|
|
133
|
-
}
|
|
134
127
|
class demolish extends Struct {
|
|
135
128
|
entity_id: UInt64;
|
|
136
129
|
}
|
|
@@ -138,6 +131,11 @@ declare namespace Types {
|
|
|
138
131
|
id: UInt64;
|
|
139
132
|
ref: cargo_ref;
|
|
140
133
|
}
|
|
134
|
+
class deploynft extends Struct {
|
|
135
|
+
owner: Name;
|
|
136
|
+
asset_id: UInt64;
|
|
137
|
+
target_nexus_id: UInt64;
|
|
138
|
+
}
|
|
141
139
|
class descentity extends Struct {
|
|
142
140
|
item_id: UInt16;
|
|
143
141
|
hull_stats: UInt64;
|
|
@@ -376,6 +374,38 @@ declare namespace Types {
|
|
|
376
374
|
class hash512 extends Struct {
|
|
377
375
|
value: string;
|
|
378
376
|
}
|
|
377
|
+
class importcargo extends Struct {
|
|
378
|
+
row: cargo_row;
|
|
379
|
+
}
|
|
380
|
+
class importentity extends Struct {
|
|
381
|
+
row: entity_row;
|
|
382
|
+
}
|
|
383
|
+
class importgroup extends Struct {
|
|
384
|
+
row: entitygroup_row;
|
|
385
|
+
}
|
|
386
|
+
class importplayer extends Struct {
|
|
387
|
+
owner: Name;
|
|
388
|
+
}
|
|
389
|
+
class reserve_row extends Struct {
|
|
390
|
+
id: UInt64;
|
|
391
|
+
coord_id: UInt64;
|
|
392
|
+
stratum: UInt16;
|
|
393
|
+
remaining: UInt32;
|
|
394
|
+
}
|
|
395
|
+
class importreserve extends Struct {
|
|
396
|
+
epoch_scope: UInt32;
|
|
397
|
+
row: reserve_row;
|
|
398
|
+
}
|
|
399
|
+
class state_row extends Struct {
|
|
400
|
+
enabled: boolean;
|
|
401
|
+
epoch: UInt32;
|
|
402
|
+
salt: UInt64;
|
|
403
|
+
seed: Checksum256;
|
|
404
|
+
commit: Checksum256;
|
|
405
|
+
}
|
|
406
|
+
class importstate extends Struct {
|
|
407
|
+
row: state_row;
|
|
408
|
+
}
|
|
379
409
|
class initialize extends Struct {
|
|
380
410
|
seed: Checksum256;
|
|
381
411
|
}
|
|
@@ -493,6 +523,7 @@ declare namespace Types {
|
|
|
493
523
|
class nft_template_def extends Struct {
|
|
494
524
|
item_id: UInt16;
|
|
495
525
|
schema_name: Name;
|
|
526
|
+
template_id: Int32;
|
|
496
527
|
}
|
|
497
528
|
class nftconfig_row extends Struct {
|
|
498
529
|
item_id: UInt16;
|
|
@@ -551,12 +582,6 @@ declare namespace Types {
|
|
|
551
582
|
class refrshentity extends Struct {
|
|
552
583
|
entity_id: UInt64;
|
|
553
584
|
}
|
|
554
|
-
class reserve_row extends Struct {
|
|
555
|
-
id: UInt64;
|
|
556
|
-
coord_id: UInt64;
|
|
557
|
-
stratum: UInt16;
|
|
558
|
-
remaining: UInt32;
|
|
559
|
-
}
|
|
560
585
|
class resolve extends Struct {
|
|
561
586
|
id: UInt64;
|
|
562
587
|
count?: UInt64;
|
|
@@ -602,30 +627,6 @@ declare namespace Types {
|
|
|
602
627
|
class skipreveal extends Struct {
|
|
603
628
|
commit: Checksum256;
|
|
604
629
|
}
|
|
605
|
-
class spawncargo extends Struct {
|
|
606
|
-
entity_id: UInt64;
|
|
607
|
-
item_id: UInt64;
|
|
608
|
-
quantity: UInt64;
|
|
609
|
-
}
|
|
610
|
-
class spawnpacked extends Struct {
|
|
611
|
-
entity_id: UInt64;
|
|
612
|
-
item_id: UInt16;
|
|
613
|
-
hull_stats: UInt64;
|
|
614
|
-
installed: packed_module[];
|
|
615
|
-
}
|
|
616
|
-
class spawnseeded extends Struct {
|
|
617
|
-
entity_id: UInt64;
|
|
618
|
-
item_id: UInt64;
|
|
619
|
-
quantity: UInt64;
|
|
620
|
-
stats: UInt64;
|
|
621
|
-
}
|
|
622
|
-
class state_row extends Struct {
|
|
623
|
-
enabled: boolean;
|
|
624
|
-
epoch: UInt32;
|
|
625
|
-
salt: UInt64;
|
|
626
|
-
seed: Checksum256;
|
|
627
|
-
commit: Checksum256;
|
|
628
|
-
}
|
|
629
630
|
class stratum_info extends Struct {
|
|
630
631
|
item_id: UInt16;
|
|
631
632
|
seed: UInt64;
|
|
@@ -666,6 +667,11 @@ declare namespace Types {
|
|
|
666
667
|
host_id: UInt64;
|
|
667
668
|
target_id: UInt64;
|
|
668
669
|
}
|
|
670
|
+
class unwrapnft extends Struct {
|
|
671
|
+
owner: Name;
|
|
672
|
+
asset_id: UInt64;
|
|
673
|
+
host_id: UInt64;
|
|
674
|
+
}
|
|
669
675
|
class warp extends Struct {
|
|
670
676
|
id: UInt64;
|
|
671
677
|
x: Int64;
|
|
@@ -677,7 +683,8 @@ declare namespace Types {
|
|
|
677
683
|
owner: Name;
|
|
678
684
|
entity_id: UInt64;
|
|
679
685
|
nexus_id: UInt64;
|
|
680
|
-
|
|
686
|
+
cargo_id: UInt64;
|
|
687
|
+
quantity: UInt64;
|
|
681
688
|
}
|
|
682
689
|
class wrapentity extends Struct {
|
|
683
690
|
entity_id: UInt64;
|