fleethub-core 1.10.2 → 1.10.3

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.
@@ -751,6 +751,16 @@ export interface AntiAirReport {
751
751
  anti_air_propellant_barrage_chance: number | null;
752
752
  }
753
753
 
754
+ export interface NodeState {
755
+ map?: number;
756
+ node?: NodeId;
757
+ phase?: number;
758
+ debuff?: boolean;
759
+ disable_historical_mod?: boolean;
760
+ }
761
+
762
+ export type NodeId = string;
763
+
754
764
  export type GearAttr =
755
765
  | "Unknown"
756
766
  | "Abyssal"
@@ -783,8 +793,6 @@ export type GearAttr =
783
793
  | "SemiNightPlane"
784
794
  | "HighAltitudeInterceptor";
785
795
 
786
- export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
787
-
788
796
  export interface SupportShellingStyle {
789
797
  tag: "SupportShellingStyle";
790
798
  attack_type: SupportShellingType;
@@ -848,6 +856,8 @@ export interface DamageReport {
848
856
  damage_state_density: Histogram<DamageState, number>;
849
857
  }
850
858
 
859
+ export type Histogram<K, V> = Partial<Record<K, V>>;
860
+
851
861
  export type Formation = SingleFormation | CombinedFormation;
852
862
 
853
863
  export type CombinedFormation =
@@ -864,25 +874,7 @@ export type SingleFormation =
864
874
  | "LineAbreast"
865
875
  | "Vanguard";
866
876
 
867
- export interface CompDayCutinAnalysis {
868
- rank3_air_state: AirState;
869
- rank2_air_state: AirState;
870
- main_fleet_los_mod: number | null;
871
- escort_fleet_los_mod: number | null;
872
- ships: ShipDayCutinAnalysis[];
873
- }
874
-
875
- export interface ShipDayCutinAnalysis {
876
- ship_id: number;
877
- role: Role;
878
- index: number;
879
- rank3: DayCutinReport;
880
- rank2: DayCutinReport;
881
- }
882
-
883
- export interface DayCutinReport extends ActionReport<DayPhaseAttackStyle> {
884
- observation_term: number | null;
885
- }
877
+ export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
886
878
 
887
879
  export interface AttackAnalysis {
888
880
  attacker_is_player: boolean;
@@ -895,8 +887,6 @@ export interface AttackAnalysis {
895
887
  support_shelling: ActionReport<SupportShellingStyle>;
896
888
  }
897
889
 
898
- export type Histogram<K, V> = Partial<Record<K, V>>;
899
-
900
890
  export type SpecialEnemyType =
901
891
  | "None"
902
892
  | "SoftSkinned"
@@ -909,15 +899,6 @@ export type SpecialEnemyType =
909
899
  | "BattleshipSummerPrincess"
910
900
  | "HeavyCruiserSummerPrincess";
911
901
 
912
- export interface NodeState {
913
- map?: number;
914
- node?: NodeId;
915
- phase?: number;
916
- debuff?: boolean;
917
- }
918
-
919
- export type NodeId = string;
920
-
921
902
  export interface MasterShip {
922
903
  ship_id: number;
923
904
  name: string;
@@ -997,6 +978,26 @@ export interface HitRateParams {
997
978
  hit_percentage_bonus: number;
998
979
  }
999
980
 
981
+ export interface CompDayCutinAnalysis {
982
+ rank3_air_state: AirState;
983
+ rank2_air_state: AirState;
984
+ main_fleet_los_mod: number | null;
985
+ escort_fleet_los_mod: number | null;
986
+ ships: ShipDayCutinAnalysis[];
987
+ }
988
+
989
+ export interface ShipDayCutinAnalysis {
990
+ ship_id: number;
991
+ role: Role;
992
+ index: number;
993
+ rank3: DayCutinReport;
994
+ rank2: DayCutinReport;
995
+ }
996
+
997
+ export interface DayCutinReport extends ActionReport<DayPhaseAttackStyle> {
998
+ observation_term: number | null;
999
+ }
1000
+
1000
1001
  export interface ContactAnalysis {
1001
1002
  single: DayContactChance[] | null;
1002
1003
  combined: DayContactChance[] | null;
@@ -2883,7 +2883,7 @@ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
2883
2883
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
2884
2884
  };
2885
2885
 
2886
- module.exports.__wbg_createEquipmentBonuses_6447162a6b954305 = function(arg0, arg1) {
2886
+ module.exports.__wbg_createEquipmentBonuses_7b6adf8acc6d8625 = function(arg0, arg1) {
2887
2887
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2888
2888
  return addHeapObject(ret);
2889
2889
  };
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleethub-core",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "license": "UNLICENSED",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -751,6 +751,16 @@ export interface AntiAirReport {
751
751
  anti_air_propellant_barrage_chance: number | null;
752
752
  }
753
753
 
754
+ export interface NodeState {
755
+ map?: number;
756
+ node?: NodeId;
757
+ phase?: number;
758
+ debuff?: boolean;
759
+ disable_historical_mod?: boolean;
760
+ }
761
+
762
+ export type NodeId = string;
763
+
754
764
  export type GearAttr =
755
765
  | "Unknown"
756
766
  | "Abyssal"
@@ -783,8 +793,6 @@ export type GearAttr =
783
793
  | "SemiNightPlane"
784
794
  | "HighAltitudeInterceptor";
785
795
 
786
- export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
787
-
788
796
  export interface SupportShellingStyle {
789
797
  tag: "SupportShellingStyle";
790
798
  attack_type: SupportShellingType;
@@ -848,6 +856,8 @@ export interface DamageReport {
848
856
  damage_state_density: Histogram<DamageState, number>;
849
857
  }
850
858
 
859
+ export type Histogram<K, V> = Partial<Record<K, V>>;
860
+
851
861
  export type Formation = SingleFormation | CombinedFormation;
852
862
 
853
863
  export type CombinedFormation =
@@ -864,25 +874,7 @@ export type SingleFormation =
864
874
  | "LineAbreast"
865
875
  | "Vanguard";
866
876
 
867
- export interface CompDayCutinAnalysis {
868
- rank3_air_state: AirState;
869
- rank2_air_state: AirState;
870
- main_fleet_los_mod: number | null;
871
- escort_fleet_los_mod: number | null;
872
- ships: ShipDayCutinAnalysis[];
873
- }
874
-
875
- export interface ShipDayCutinAnalysis {
876
- ship_id: number;
877
- role: Role;
878
- index: number;
879
- rank3: DayCutinReport;
880
- rank2: DayCutinReport;
881
- }
882
-
883
- export interface DayCutinReport extends ActionReport<DayPhaseAttackStyle> {
884
- observation_term: number | null;
885
- }
877
+ export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
886
878
 
887
879
  export interface AttackAnalysis {
888
880
  attacker_is_player: boolean;
@@ -895,8 +887,6 @@ export interface AttackAnalysis {
895
887
  support_shelling: ActionReport<SupportShellingStyle>;
896
888
  }
897
889
 
898
- export type Histogram<K, V> = Partial<Record<K, V>>;
899
-
900
890
  export type SpecialEnemyType =
901
891
  | "None"
902
892
  | "SoftSkinned"
@@ -909,15 +899,6 @@ export type SpecialEnemyType =
909
899
  | "BattleshipSummerPrincess"
910
900
  | "HeavyCruiserSummerPrincess";
911
901
 
912
- export interface NodeState {
913
- map?: number;
914
- node?: NodeId;
915
- phase?: number;
916
- debuff?: boolean;
917
- }
918
-
919
- export type NodeId = string;
920
-
921
902
  export interface MasterShip {
922
903
  ship_id: number;
923
904
  name: string;
@@ -997,6 +978,26 @@ export interface HitRateParams {
997
978
  hit_percentage_bonus: number;
998
979
  }
999
980
 
981
+ export interface CompDayCutinAnalysis {
982
+ rank3_air_state: AirState;
983
+ rank2_air_state: AirState;
984
+ main_fleet_los_mod: number | null;
985
+ escort_fleet_los_mod: number | null;
986
+ ships: ShipDayCutinAnalysis[];
987
+ }
988
+
989
+ export interface ShipDayCutinAnalysis {
990
+ ship_id: number;
991
+ role: Role;
992
+ index: number;
993
+ rank3: DayCutinReport;
994
+ rank2: DayCutinReport;
995
+ }
996
+
997
+ export interface DayCutinReport extends ActionReport<DayPhaseAttackStyle> {
998
+ observation_term: number | null;
999
+ }
1000
+
1000
1001
  export interface ContactAnalysis {
1001
1002
  single: DayContactChance[] | null;
1002
1003
  combined: DayContactChance[] | null;
@@ -2876,7 +2876,7 @@ export function __wbindgen_json_serialize(arg0, arg1) {
2876
2876
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
2877
2877
  };
2878
2878
 
2879
- export function __wbg_createEquipmentBonuses_6447162a6b954305(arg0, arg1) {
2879
+ export function __wbg_createEquipmentBonuses_7b6adf8acc6d8625(arg0, arg1) {
2880
2880
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2881
2881
  return addHeapObject(ret);
2882
2882
  };
Binary file