@trinaryex/sdk 4.0.0 → 5.0.0
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/DESIGN.md +4 -4
- package/README.md +3 -1
- package/dist/ReadOnlyClient.d.ts +3 -3
- package/dist/TriexClient.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +165 -132
- package/dist/queries.d.ts +3 -3
- package/dist/schemas.d.ts +363 -17
- package/dist/types.d.ts +5 -3
- package/package.json +1 -1
package/dist/queries.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OrgQueries } from './armature/queries';
|
|
2
2
|
import { CoinInfo } from './coins/types';
|
|
3
|
-
import { AssemblyEnriched, AssemblyOwner, AutocompleteSystems, TradingAccountOwner, BatchSystems, BatchSystemsParams, CoordinateSearch, CoordinateSearchParams, BalancesAtHubParams, CollectionHub, DiscoveryFilters, DiscoveryResult, FillsPage, FillsParams, HistoryPageParams, HubEnriched, HubItemMarket, HubItemsPage, ItemSearchPage, HubLocation, HubLocationFilters, HubLocationPage, HubVaultInfo, InventoryBalances, LocationPageParams, NearbyHub, NearbyHubsParams, NearbyHubsBySystemParams, NearbySystems, NearbySystemsParams, OpenOrdersPage, Orderbook, PoolMetadata, SolarSystem, SolarSystemName, SpatialStats, Sweepable, TradesPage, TradesParams, Character, CharacterLookup, DisplayPrice, DisplayPriceParams, DisplayPricesParams, FillDetail, HubEconomics, ItemInfo, OrderDetail, OrderLookupParams, PlatformStats, PoolFees, RecentTradesPage, RecentTradesParams,
|
|
3
|
+
import { AssemblyEnriched, AssemblyOwner, AutocompleteSystems, TradingAccountOwner, BatchSystems, BatchSystemsParams, CoordinateSearch, CoordinateSearchParams, BalancesAtHubParams, CollectionHub, DiscoveryFilters, DiscoveryResult, FillsPage, FillsParams, HistoryPageParams, HubEnriched, HubItemMarket, HubItemsPage, ItemSearchPage, HubLocation, HubLocationFilters, HubLocationPage, HubVaultInfo, InventoryBalances, LocationPageParams, NearbyHub, NearbyHubsParams, NearbyHubsBySystemParams, NearbySystems, NearbySystemsParams, OpenOrdersPage, Orderbook, PoolMetadata, SolarSystem, SolarSystemName, SpatialStats, Sweepable, TradesPage, TradesParams, Character, CharacterLookup, DisplayPrice, DisplayPriceParams, DisplayPricesParams, FillDetail, HubEconomics, ItemInfo, ItemBlueprints, Blueprint, OrderDetail, OrderLookupParams, PlatformStats, PoolFees, RecentTradesPage, RecentTradesParams, Route, RouteComparison, RouteParams, RouteShipParams, RoutingStats, Tribe, WorldItem } from './types';
|
|
4
4
|
export declare class IndexerClient {
|
|
5
5
|
private readonly baseUrl;
|
|
6
6
|
private readonly apiKey;
|
|
@@ -67,8 +67,8 @@ export declare class IndexerClient {
|
|
|
67
67
|
tribe(tribeId: number): Promise<Tribe>;
|
|
68
68
|
worldItems(): Promise<WorldItem[]>;
|
|
69
69
|
worldItem(assetId: string): Promise<ItemInfo>;
|
|
70
|
-
recipes(): Promise<
|
|
71
|
-
recipesFor(
|
|
70
|
+
recipes(): Promise<Blueprint[]>;
|
|
71
|
+
recipesFor(assetId: string): Promise<ItemBlueprints>;
|
|
72
72
|
route(params: RouteParams): Promise<Route>;
|
|
73
73
|
compareRoutes(params: RouteShipParams): Promise<RouteComparison>;
|
|
74
74
|
routingStats(): Promise<RoutingStats>;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -3581,7 +3581,8 @@ export declare const ItemInfoSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3581
3581
|
name: string | null;
|
|
3582
3582
|
symbol: string | null;
|
|
3583
3583
|
}>>;
|
|
3584
|
-
export declare const
|
|
3584
|
+
export declare const BLUEPRINT_KINDS: readonly ["manufacture", "refine", "construct", "reverse"];
|
|
3585
|
+
export declare const BlueprintItemSchema: z.ZodPipe<z.ZodObject<{
|
|
3585
3586
|
id: z.ZodNumber;
|
|
3586
3587
|
name: z.ZodOptional<z.ZodString>;
|
|
3587
3588
|
quantity: z.ZodNumber;
|
|
@@ -3594,12 +3595,28 @@ export declare const RecipeMaterialSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3594
3595
|
quantity: number;
|
|
3595
3596
|
name?: string | undefined;
|
|
3596
3597
|
}>>;
|
|
3597
|
-
export declare const
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3598
|
+
export declare const BlueprintFacilitySchema: z.ZodPipe<z.ZodObject<{
|
|
3599
|
+
typeId: z.ZodNumber;
|
|
3600
|
+
name: z.ZodString;
|
|
3601
|
+
maxInputRuns: z.ZodNumber;
|
|
3602
|
+
maxOutputRuns: z.ZodNumber;
|
|
3603
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3604
|
+
assetId: string;
|
|
3605
|
+
name: string | null;
|
|
3606
|
+
maxInputRuns: number;
|
|
3607
|
+
maxOutputRuns: number;
|
|
3608
|
+
}, {
|
|
3609
|
+
typeId: number;
|
|
3610
|
+
name: string;
|
|
3611
|
+
maxInputRuns: number;
|
|
3612
|
+
maxOutputRuns: number;
|
|
3613
|
+
}>>;
|
|
3614
|
+
export declare const BlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
3615
|
+
blueprintId: z.ZodNullable<z.ZodNumber>;
|
|
3616
|
+
primaryTypeId: z.ZodNumber;
|
|
3617
|
+
kind: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "manufacture" | "refine" | "construct" | "reverse", string>>;
|
|
3618
|
+
runTime: z.ZodNumber;
|
|
3619
|
+
inputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3603
3620
|
id: z.ZodNumber;
|
|
3604
3621
|
name: z.ZodOptional<z.ZodString>;
|
|
3605
3622
|
quantity: z.ZodNumber;
|
|
@@ -3612,26 +3629,355 @@ export declare const RecipeSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3612
3629
|
quantity: number;
|
|
3613
3630
|
name?: string | undefined;
|
|
3614
3631
|
}>>>;
|
|
3632
|
+
outputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3633
|
+
id: z.ZodNumber;
|
|
3634
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3635
|
+
quantity: z.ZodNumber;
|
|
3636
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3637
|
+
assetId: string;
|
|
3638
|
+
name: string | null;
|
|
3639
|
+
quantity: number;
|
|
3640
|
+
}, {
|
|
3641
|
+
id: number;
|
|
3642
|
+
quantity: number;
|
|
3643
|
+
name?: string | undefined;
|
|
3644
|
+
}>>>;
|
|
3645
|
+
facilities: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3646
|
+
typeId: z.ZodNumber;
|
|
3647
|
+
name: z.ZodString;
|
|
3648
|
+
maxInputRuns: z.ZodNumber;
|
|
3649
|
+
maxOutputRuns: z.ZodNumber;
|
|
3650
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3651
|
+
assetId: string;
|
|
3652
|
+
name: string | null;
|
|
3653
|
+
maxInputRuns: number;
|
|
3654
|
+
maxOutputRuns: number;
|
|
3655
|
+
}, {
|
|
3656
|
+
typeId: number;
|
|
3657
|
+
name: string;
|
|
3658
|
+
maxInputRuns: number;
|
|
3659
|
+
maxOutputRuns: number;
|
|
3660
|
+
}>>>;
|
|
3615
3661
|
}, z.core.$strip>, z.ZodTransform<{
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3662
|
+
blueprintId: number | null;
|
|
3663
|
+
primaryAssetId: string;
|
|
3664
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3665
|
+
runTimeSeconds: number | null;
|
|
3666
|
+
inputs: {
|
|
3667
|
+
assetId: string;
|
|
3668
|
+
name: string | null;
|
|
3669
|
+
quantity: number;
|
|
3670
|
+
}[];
|
|
3671
|
+
outputs: {
|
|
3621
3672
|
assetId: string;
|
|
3622
3673
|
name: string | null;
|
|
3623
3674
|
quantity: number;
|
|
3624
3675
|
}[];
|
|
3676
|
+
facilities: {
|
|
3677
|
+
assetId: string;
|
|
3678
|
+
name: string | null;
|
|
3679
|
+
maxInputRuns: number;
|
|
3680
|
+
maxOutputRuns: number;
|
|
3681
|
+
}[];
|
|
3625
3682
|
}, {
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3683
|
+
blueprintId: number | null;
|
|
3684
|
+
primaryTypeId: number;
|
|
3685
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3686
|
+
runTime: number;
|
|
3687
|
+
inputs: {
|
|
3688
|
+
assetId: string;
|
|
3689
|
+
name: string | null;
|
|
3690
|
+
quantity: number;
|
|
3691
|
+
}[];
|
|
3692
|
+
outputs: {
|
|
3631
3693
|
assetId: string;
|
|
3632
3694
|
name: string | null;
|
|
3633
3695
|
quantity: number;
|
|
3634
3696
|
}[];
|
|
3697
|
+
facilities: {
|
|
3698
|
+
assetId: string;
|
|
3699
|
+
name: string | null;
|
|
3700
|
+
maxInputRuns: number;
|
|
3701
|
+
maxOutputRuns: number;
|
|
3702
|
+
}[];
|
|
3703
|
+
}>>;
|
|
3704
|
+
export declare const ItemBlueprintsSchema: z.ZodPipe<z.ZodObject<{
|
|
3705
|
+
typeId: z.ZodNumber;
|
|
3706
|
+
name: z.ZodString;
|
|
3707
|
+
producedBy: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3708
|
+
blueprintId: z.ZodNullable<z.ZodNumber>;
|
|
3709
|
+
primaryTypeId: z.ZodNumber;
|
|
3710
|
+
kind: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "manufacture" | "refine" | "construct" | "reverse", string>>;
|
|
3711
|
+
runTime: z.ZodNumber;
|
|
3712
|
+
inputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3713
|
+
id: z.ZodNumber;
|
|
3714
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3715
|
+
quantity: z.ZodNumber;
|
|
3716
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3717
|
+
assetId: string;
|
|
3718
|
+
name: string | null;
|
|
3719
|
+
quantity: number;
|
|
3720
|
+
}, {
|
|
3721
|
+
id: number;
|
|
3722
|
+
quantity: number;
|
|
3723
|
+
name?: string | undefined;
|
|
3724
|
+
}>>>;
|
|
3725
|
+
outputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3726
|
+
id: z.ZodNumber;
|
|
3727
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3728
|
+
quantity: z.ZodNumber;
|
|
3729
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3730
|
+
assetId: string;
|
|
3731
|
+
name: string | null;
|
|
3732
|
+
quantity: number;
|
|
3733
|
+
}, {
|
|
3734
|
+
id: number;
|
|
3735
|
+
quantity: number;
|
|
3736
|
+
name?: string | undefined;
|
|
3737
|
+
}>>>;
|
|
3738
|
+
facilities: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3739
|
+
typeId: z.ZodNumber;
|
|
3740
|
+
name: z.ZodString;
|
|
3741
|
+
maxInputRuns: z.ZodNumber;
|
|
3742
|
+
maxOutputRuns: z.ZodNumber;
|
|
3743
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3744
|
+
assetId: string;
|
|
3745
|
+
name: string | null;
|
|
3746
|
+
maxInputRuns: number;
|
|
3747
|
+
maxOutputRuns: number;
|
|
3748
|
+
}, {
|
|
3749
|
+
typeId: number;
|
|
3750
|
+
name: string;
|
|
3751
|
+
maxInputRuns: number;
|
|
3752
|
+
maxOutputRuns: number;
|
|
3753
|
+
}>>>;
|
|
3754
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3755
|
+
blueprintId: number | null;
|
|
3756
|
+
primaryAssetId: string;
|
|
3757
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3758
|
+
runTimeSeconds: number | null;
|
|
3759
|
+
inputs: {
|
|
3760
|
+
assetId: string;
|
|
3761
|
+
name: string | null;
|
|
3762
|
+
quantity: number;
|
|
3763
|
+
}[];
|
|
3764
|
+
outputs: {
|
|
3765
|
+
assetId: string;
|
|
3766
|
+
name: string | null;
|
|
3767
|
+
quantity: number;
|
|
3768
|
+
}[];
|
|
3769
|
+
facilities: {
|
|
3770
|
+
assetId: string;
|
|
3771
|
+
name: string | null;
|
|
3772
|
+
maxInputRuns: number;
|
|
3773
|
+
maxOutputRuns: number;
|
|
3774
|
+
}[];
|
|
3775
|
+
}, {
|
|
3776
|
+
blueprintId: number | null;
|
|
3777
|
+
primaryTypeId: number;
|
|
3778
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3779
|
+
runTime: number;
|
|
3780
|
+
inputs: {
|
|
3781
|
+
assetId: string;
|
|
3782
|
+
name: string | null;
|
|
3783
|
+
quantity: number;
|
|
3784
|
+
}[];
|
|
3785
|
+
outputs: {
|
|
3786
|
+
assetId: string;
|
|
3787
|
+
name: string | null;
|
|
3788
|
+
quantity: number;
|
|
3789
|
+
}[];
|
|
3790
|
+
facilities: {
|
|
3791
|
+
assetId: string;
|
|
3792
|
+
name: string | null;
|
|
3793
|
+
maxInputRuns: number;
|
|
3794
|
+
maxOutputRuns: number;
|
|
3795
|
+
}[];
|
|
3796
|
+
}>>>;
|
|
3797
|
+
usedIn: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3798
|
+
blueprintId: z.ZodNullable<z.ZodNumber>;
|
|
3799
|
+
primaryTypeId: z.ZodNumber;
|
|
3800
|
+
kind: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "manufacture" | "refine" | "construct" | "reverse", string>>;
|
|
3801
|
+
runTime: z.ZodNumber;
|
|
3802
|
+
inputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3803
|
+
id: z.ZodNumber;
|
|
3804
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3805
|
+
quantity: z.ZodNumber;
|
|
3806
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3807
|
+
assetId: string;
|
|
3808
|
+
name: string | null;
|
|
3809
|
+
quantity: number;
|
|
3810
|
+
}, {
|
|
3811
|
+
id: number;
|
|
3812
|
+
quantity: number;
|
|
3813
|
+
name?: string | undefined;
|
|
3814
|
+
}>>>;
|
|
3815
|
+
outputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3816
|
+
id: z.ZodNumber;
|
|
3817
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3818
|
+
quantity: z.ZodNumber;
|
|
3819
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3820
|
+
assetId: string;
|
|
3821
|
+
name: string | null;
|
|
3822
|
+
quantity: number;
|
|
3823
|
+
}, {
|
|
3824
|
+
id: number;
|
|
3825
|
+
quantity: number;
|
|
3826
|
+
name?: string | undefined;
|
|
3827
|
+
}>>>;
|
|
3828
|
+
facilities: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3829
|
+
typeId: z.ZodNumber;
|
|
3830
|
+
name: z.ZodString;
|
|
3831
|
+
maxInputRuns: z.ZodNumber;
|
|
3832
|
+
maxOutputRuns: z.ZodNumber;
|
|
3833
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3834
|
+
assetId: string;
|
|
3835
|
+
name: string | null;
|
|
3836
|
+
maxInputRuns: number;
|
|
3837
|
+
maxOutputRuns: number;
|
|
3838
|
+
}, {
|
|
3839
|
+
typeId: number;
|
|
3840
|
+
name: string;
|
|
3841
|
+
maxInputRuns: number;
|
|
3842
|
+
maxOutputRuns: number;
|
|
3843
|
+
}>>>;
|
|
3844
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3845
|
+
blueprintId: number | null;
|
|
3846
|
+
primaryAssetId: string;
|
|
3847
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3848
|
+
runTimeSeconds: number | null;
|
|
3849
|
+
inputs: {
|
|
3850
|
+
assetId: string;
|
|
3851
|
+
name: string | null;
|
|
3852
|
+
quantity: number;
|
|
3853
|
+
}[];
|
|
3854
|
+
outputs: {
|
|
3855
|
+
assetId: string;
|
|
3856
|
+
name: string | null;
|
|
3857
|
+
quantity: number;
|
|
3858
|
+
}[];
|
|
3859
|
+
facilities: {
|
|
3860
|
+
assetId: string;
|
|
3861
|
+
name: string | null;
|
|
3862
|
+
maxInputRuns: number;
|
|
3863
|
+
maxOutputRuns: number;
|
|
3864
|
+
}[];
|
|
3865
|
+
}, {
|
|
3866
|
+
blueprintId: number | null;
|
|
3867
|
+
primaryTypeId: number;
|
|
3868
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3869
|
+
runTime: number;
|
|
3870
|
+
inputs: {
|
|
3871
|
+
assetId: string;
|
|
3872
|
+
name: string | null;
|
|
3873
|
+
quantity: number;
|
|
3874
|
+
}[];
|
|
3875
|
+
outputs: {
|
|
3876
|
+
assetId: string;
|
|
3877
|
+
name: string | null;
|
|
3878
|
+
quantity: number;
|
|
3879
|
+
}[];
|
|
3880
|
+
facilities: {
|
|
3881
|
+
assetId: string;
|
|
3882
|
+
name: string | null;
|
|
3883
|
+
maxInputRuns: number;
|
|
3884
|
+
maxOutputRuns: number;
|
|
3885
|
+
}[];
|
|
3886
|
+
}>>>;
|
|
3887
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3888
|
+
assetId: string;
|
|
3889
|
+
name: string | null;
|
|
3890
|
+
producedBy: {
|
|
3891
|
+
blueprintId: number | null;
|
|
3892
|
+
primaryAssetId: string;
|
|
3893
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3894
|
+
runTimeSeconds: number | null;
|
|
3895
|
+
inputs: {
|
|
3896
|
+
assetId: string;
|
|
3897
|
+
name: string | null;
|
|
3898
|
+
quantity: number;
|
|
3899
|
+
}[];
|
|
3900
|
+
outputs: {
|
|
3901
|
+
assetId: string;
|
|
3902
|
+
name: string | null;
|
|
3903
|
+
quantity: number;
|
|
3904
|
+
}[];
|
|
3905
|
+
facilities: {
|
|
3906
|
+
assetId: string;
|
|
3907
|
+
name: string | null;
|
|
3908
|
+
maxInputRuns: number;
|
|
3909
|
+
maxOutputRuns: number;
|
|
3910
|
+
}[];
|
|
3911
|
+
}[];
|
|
3912
|
+
usedIn: {
|
|
3913
|
+
blueprintId: number | null;
|
|
3914
|
+
primaryAssetId: string;
|
|
3915
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3916
|
+
runTimeSeconds: number | null;
|
|
3917
|
+
inputs: {
|
|
3918
|
+
assetId: string;
|
|
3919
|
+
name: string | null;
|
|
3920
|
+
quantity: number;
|
|
3921
|
+
}[];
|
|
3922
|
+
outputs: {
|
|
3923
|
+
assetId: string;
|
|
3924
|
+
name: string | null;
|
|
3925
|
+
quantity: number;
|
|
3926
|
+
}[];
|
|
3927
|
+
facilities: {
|
|
3928
|
+
assetId: string;
|
|
3929
|
+
name: string | null;
|
|
3930
|
+
maxInputRuns: number;
|
|
3931
|
+
maxOutputRuns: number;
|
|
3932
|
+
}[];
|
|
3933
|
+
}[];
|
|
3934
|
+
}, {
|
|
3935
|
+
typeId: number;
|
|
3936
|
+
name: string;
|
|
3937
|
+
producedBy: {
|
|
3938
|
+
blueprintId: number | null;
|
|
3939
|
+
primaryAssetId: string;
|
|
3940
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3941
|
+
runTimeSeconds: number | null;
|
|
3942
|
+
inputs: {
|
|
3943
|
+
assetId: string;
|
|
3944
|
+
name: string | null;
|
|
3945
|
+
quantity: number;
|
|
3946
|
+
}[];
|
|
3947
|
+
outputs: {
|
|
3948
|
+
assetId: string;
|
|
3949
|
+
name: string | null;
|
|
3950
|
+
quantity: number;
|
|
3951
|
+
}[];
|
|
3952
|
+
facilities: {
|
|
3953
|
+
assetId: string;
|
|
3954
|
+
name: string | null;
|
|
3955
|
+
maxInputRuns: number;
|
|
3956
|
+
maxOutputRuns: number;
|
|
3957
|
+
}[];
|
|
3958
|
+
}[];
|
|
3959
|
+
usedIn: {
|
|
3960
|
+
blueprintId: number | null;
|
|
3961
|
+
primaryAssetId: string;
|
|
3962
|
+
kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
|
|
3963
|
+
runTimeSeconds: number | null;
|
|
3964
|
+
inputs: {
|
|
3965
|
+
assetId: string;
|
|
3966
|
+
name: string | null;
|
|
3967
|
+
quantity: number;
|
|
3968
|
+
}[];
|
|
3969
|
+
outputs: {
|
|
3970
|
+
assetId: string;
|
|
3971
|
+
name: string | null;
|
|
3972
|
+
quantity: number;
|
|
3973
|
+
}[];
|
|
3974
|
+
facilities: {
|
|
3975
|
+
assetId: string;
|
|
3976
|
+
name: string | null;
|
|
3977
|
+
maxInputRuns: number;
|
|
3978
|
+
maxOutputRuns: number;
|
|
3979
|
+
}[];
|
|
3980
|
+
}[];
|
|
3635
3981
|
}>>;
|
|
3636
3982
|
export declare const ROUTE_OPTIMIZATIONS: readonly ["fuel_efficient", "fastest", "balanced"];
|
|
3637
3983
|
export declare const JUMP_TYPES: readonly ["start", "stargate", "jump_drive"];
|
package/dist/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ClientWithCoreApi } from '@mysten/sui/client';
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { OwnedTradingAccountCap } from './onchain';
|
|
5
5
|
import { TradingAccountCapKind } from './transactions';
|
|
6
|
-
import { AssemblyEnrichedSchema, AssemblyOwnerSchema, AssetBalanceSchema, AutocompleteSystemsSchema, TradingAccountOwnerSchema, BatchSystemsSchema, CoordinateSearchSchema, CoordinatesSchema, CollectionHubSchema, DiscoveryOrderSchema, DiscoveryResultSchema, FillSchema, FillsPageSchema, HubItemOrderbookSchema, HubItemSchema, HubEnrichedSchema, HubItemsPageSchema, HubLocationPageSchema, HubLocationSchema, ItemRecipeComponentSchema, ItemRecipeSchema, ItemSearchPageSchema, ItemSearchResultSchema, HubVaultSchema, InventoryBalancesSchema, OpenOrderSchema, OpenOrdersPageSchema, NearbyHubSchema, NearbySystemSchema, NearbySystemsSchema, OrderbookOrderSchema, PoolMetadataSchema, SolarSystemNameSchema, SolarSystemSchema, SolarSystemSuggestionSchema, SpatialStatsSchema, SweepableItemSchema, SweepablePoolSchema, SweepableSchema, TradeSchema, TradesPageSchema, CharacterLookupSchema, CharacterSchema, DisplayPriceSchema, FillDetailSchema, HubEconomicsSchema, ItemInfoSchema, OrderCharacterSchema, OrderCurrencySchema, OrderDetailFillSchema, OrderDetailSchema, OrderHubSchema, OrderPartySchema, PlatformStatsSchema, PoolFeesSchema, RecentTradeSchema, RecentTradesPageSchema,
|
|
6
|
+
import { AssemblyEnrichedSchema, AssemblyOwnerSchema, AssetBalanceSchema, AutocompleteSystemsSchema, TradingAccountOwnerSchema, BatchSystemsSchema, BlueprintFacilitySchema, BlueprintItemSchema, BlueprintSchema, CoordinateSearchSchema, CoordinatesSchema, CollectionHubSchema, DiscoveryOrderSchema, DiscoveryResultSchema, FillSchema, FillsPageSchema, HubItemOrderbookSchema, HubItemSchema, HubEnrichedSchema, HubItemsPageSchema, HubLocationPageSchema, HubLocationSchema, ItemBlueprintsSchema, ItemRecipeComponentSchema, ItemRecipeSchema, ItemSearchPageSchema, ItemSearchResultSchema, HubVaultSchema, InventoryBalancesSchema, OpenOrderSchema, OpenOrdersPageSchema, NearbyHubSchema, NearbySystemSchema, NearbySystemsSchema, OrderbookOrderSchema, PoolMetadataSchema, SolarSystemNameSchema, SolarSystemSchema, SolarSystemSuggestionSchema, SpatialStatsSchema, SweepableItemSchema, SweepablePoolSchema, SweepableSchema, TradeSchema, TradesPageSchema, CharacterLookupSchema, CharacterSchema, DisplayPriceSchema, FillDetailSchema, HubEconomicsSchema, ItemInfoSchema, OrderCharacterSchema, OrderCurrencySchema, OrderDetailFillSchema, OrderDetailSchema, OrderHubSchema, OrderPartySchema, PlatformStatsSchema, PoolFeesSchema, RecentTradeSchema, RecentTradesPageSchema, RouteComparisonSchema, RouteSchema, RoutingStatsSchema, StatsQuoteVolumeSchema, StatsTopItemSchema, StatsTopOrgSchema, TribeSchema, WaypointSchema, WorldItemSchema } from './schemas';
|
|
7
7
|
export interface ObjectChange {
|
|
8
8
|
type: string;
|
|
9
9
|
objectId?: string;
|
|
@@ -119,8 +119,10 @@ export type CharacterLookup = z.output<typeof CharacterLookupSchema>;
|
|
|
119
119
|
export type Tribe = z.output<typeof TribeSchema>;
|
|
120
120
|
export type WorldItem = z.output<typeof WorldItemSchema>;
|
|
121
121
|
export type ItemInfo = z.output<typeof ItemInfoSchema>;
|
|
122
|
-
export type
|
|
123
|
-
export type
|
|
122
|
+
export type Blueprint = z.output<typeof BlueprintSchema>;
|
|
123
|
+
export type BlueprintItem = z.output<typeof BlueprintItemSchema>;
|
|
124
|
+
export type BlueprintFacility = z.output<typeof BlueprintFacilitySchema>;
|
|
125
|
+
export type ItemBlueprints = z.output<typeof ItemBlueprintsSchema>;
|
|
124
126
|
export type Route = z.output<typeof RouteSchema>;
|
|
125
127
|
export type Waypoint = z.output<typeof WaypointSchema>;
|
|
126
128
|
export type RouteComparison = z.output<typeof RouteComparisonSchema>;
|
package/package.json
CHANGED