fleethub-core 1.10.1 → 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.
@@ -57,6 +57,7 @@ export interface MasterGear {
57
57
  improvable?: boolean;
58
58
  ship_anti_air_resist?: number;
59
59
  fleet_anti_air_resist?: number;
60
+ historical_aircraft_group?: number;
60
61
  }
61
62
 
62
63
  export interface CompAnalyzerConfig {
@@ -750,6 +751,16 @@ export interface AntiAirReport {
750
751
  anti_air_propellant_barrage_chance: number | null;
751
752
  }
752
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
+
753
764
  export type GearAttr =
754
765
  | "Unknown"
755
766
  | "Abyssal"
@@ -782,8 +793,6 @@ export type GearAttr =
782
793
  | "SemiNightPlane"
783
794
  | "HighAltitudeInterceptor";
784
795
 
785
- export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
786
-
787
796
  export interface SupportShellingStyle {
788
797
  tag: "SupportShellingStyle";
789
798
  attack_type: SupportShellingType;
@@ -847,6 +856,8 @@ export interface DamageReport {
847
856
  damage_state_density: Histogram<DamageState, number>;
848
857
  }
849
858
 
859
+ export type Histogram<K, V> = Partial<Record<K, V>>;
860
+
850
861
  export type Formation = SingleFormation | CombinedFormation;
851
862
 
852
863
  export type CombinedFormation =
@@ -863,25 +874,7 @@ export type SingleFormation =
863
874
  | "LineAbreast"
864
875
  | "Vanguard";
865
876
 
866
- export interface CompDayCutinAnalysis {
867
- rank3_air_state: AirState;
868
- rank2_air_state: AirState;
869
- main_fleet_los_mod: number | null;
870
- escort_fleet_los_mod: number | null;
871
- ships: ShipDayCutinAnalysis[];
872
- }
873
-
874
- export interface ShipDayCutinAnalysis {
875
- ship_id: number;
876
- role: Role;
877
- index: number;
878
- rank3: DayCutinReport;
879
- rank2: DayCutinReport;
880
- }
881
-
882
- export interface DayCutinReport extends ActionReport<DayPhaseAttackStyle> {
883
- observation_term: number | null;
884
- }
877
+ export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
885
878
 
886
879
  export interface AttackAnalysis {
887
880
  attacker_is_player: boolean;
@@ -894,8 +887,6 @@ export interface AttackAnalysis {
894
887
  support_shelling: ActionReport<SupportShellingStyle>;
895
888
  }
896
889
 
897
- export type Histogram<K, V> = Partial<Record<K, V>>;
898
-
899
890
  export type SpecialEnemyType =
900
891
  | "None"
901
892
  | "SoftSkinned"
@@ -908,15 +899,6 @@ export type SpecialEnemyType =
908
899
  | "BattleshipSummerPrincess"
909
900
  | "HeavyCruiserSummerPrincess";
910
901
 
911
- export interface NodeState {
912
- map?: number;
913
- node?: NodeId;
914
- phase?: number;
915
- debuff?: boolean;
916
- }
917
-
918
- export type NodeId = string;
919
-
920
902
  export interface MasterShip {
921
903
  ship_id: number;
922
904
  name: string;
@@ -996,6 +978,26 @@ export interface HitRateParams {
996
978
  hit_percentage_bonus: number;
997
979
  }
998
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
+
999
1001
  export interface ContactAnalysis {
1000
1002
  single: DayContactChance[] | null;
1001
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_c5daaffd822a0d22 = 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.1",
3
+ "version": "1.10.3",
4
4
  "license": "UNLICENSED",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -57,6 +57,7 @@ export interface MasterGear {
57
57
  improvable?: boolean;
58
58
  ship_anti_air_resist?: number;
59
59
  fleet_anti_air_resist?: number;
60
+ historical_aircraft_group?: number;
60
61
  }
61
62
 
62
63
  export interface CompAnalyzerConfig {
@@ -750,6 +751,16 @@ export interface AntiAirReport {
750
751
  anti_air_propellant_barrage_chance: number | null;
751
752
  }
752
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
+
753
764
  export type GearAttr =
754
765
  | "Unknown"
755
766
  | "Abyssal"
@@ -782,8 +793,6 @@ export type GearAttr =
782
793
  | "SemiNightPlane"
783
794
  | "HighAltitudeInterceptor";
784
795
 
785
- export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
786
-
787
796
  export interface SupportShellingStyle {
788
797
  tag: "SupportShellingStyle";
789
798
  attack_type: SupportShellingType;
@@ -847,6 +856,8 @@ export interface DamageReport {
847
856
  damage_state_density: Histogram<DamageState, number>;
848
857
  }
849
858
 
859
+ export type Histogram<K, V> = Partial<Record<K, V>>;
860
+
850
861
  export type Formation = SingleFormation | CombinedFormation;
851
862
 
852
863
  export type CombinedFormation =
@@ -863,25 +874,7 @@ export type SingleFormation =
863
874
  | "LineAbreast"
864
875
  | "Vanguard";
865
876
 
866
- export interface CompDayCutinAnalysis {
867
- rank3_air_state: AirState;
868
- rank2_air_state: AirState;
869
- main_fleet_los_mod: number | null;
870
- escort_fleet_los_mod: number | null;
871
- ships: ShipDayCutinAnalysis[];
872
- }
873
-
874
- export interface ShipDayCutinAnalysis {
875
- ship_id: number;
876
- role: Role;
877
- index: number;
878
- rank3: DayCutinReport;
879
- rank2: DayCutinReport;
880
- }
881
-
882
- export interface DayCutinReport extends ActionReport<DayPhaseAttackStyle> {
883
- observation_term: number | null;
884
- }
877
+ export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
885
878
 
886
879
  export interface AttackAnalysis {
887
880
  attacker_is_player: boolean;
@@ -894,8 +887,6 @@ export interface AttackAnalysis {
894
887
  support_shelling: ActionReport<SupportShellingStyle>;
895
888
  }
896
889
 
897
- export type Histogram<K, V> = Partial<Record<K, V>>;
898
-
899
890
  export type SpecialEnemyType =
900
891
  | "None"
901
892
  | "SoftSkinned"
@@ -908,15 +899,6 @@ export type SpecialEnemyType =
908
899
  | "BattleshipSummerPrincess"
909
900
  | "HeavyCruiserSummerPrincess";
910
901
 
911
- export interface NodeState {
912
- map?: number;
913
- node?: NodeId;
914
- phase?: number;
915
- debuff?: boolean;
916
- }
917
-
918
- export type NodeId = string;
919
-
920
902
  export interface MasterShip {
921
903
  ship_id: number;
922
904
  name: string;
@@ -996,6 +978,26 @@ export interface HitRateParams {
996
978
  hit_percentage_bonus: number;
997
979
  }
998
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
+
999
1001
  export interface ContactAnalysis {
1000
1002
  single: DayContactChance[] | null;
1001
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_c5daaffd822a0d22(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