fleethub-core 1.10.3 → 1.10.4

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.
@@ -203,6 +203,8 @@ export type ShipCategory =
203
203
  | "Submarine"
204
204
  | "AuxiliaryShip";
205
205
 
206
+ export type Role = "Main" | "Escort";
207
+
206
208
  export interface NodeAttackAnalyzerShipConfig extends NightFleetConditions {
207
209
  formation?: Formation;
208
210
  }
@@ -275,8 +277,6 @@ export interface MoveShipPayload {
275
277
  target: [string | null, string, ShipKey];
276
278
  }
277
279
 
278
- export type Role = "Main" | "Escort";
279
-
280
280
  export type MoraleState = "Sparkle" | "Normal" | "Orange" | "Red";
281
281
 
282
282
  export type NightCutinLike = NightCutin | FleetCutin;
@@ -532,21 +532,6 @@ export interface MasterAttrRule<T> {
532
532
  expr: CompiledEvaler;
533
533
  }
534
534
 
535
- export interface CompMeta {
536
- fleets: Record<FleetType, FleetMeta>;
537
- }
538
-
539
- export interface FleetMeta {
540
- id: string;
541
- len: number;
542
- ships: [string, ShipMeta | null][];
543
- }
544
-
545
- export interface ShipMeta {
546
- id: string;
547
- ship_id: number;
548
- }
549
-
550
535
  export type TorpedoAttackType = null;
551
536
 
552
537
  export type NightPhaseAttackType =
@@ -590,6 +575,21 @@ export interface ShipPosition {
590
575
  index?: number;
591
576
  }
592
577
 
578
+ export interface CompMeta {
579
+ fleets: Record<FleetType, FleetMeta>;
580
+ }
581
+
582
+ export interface FleetMeta {
583
+ id: string;
584
+ len: number;
585
+ ships: [string, ShipMeta | null][];
586
+ }
587
+
588
+ export interface ShipMeta {
589
+ id: string;
590
+ ship_id: number;
591
+ }
592
+
593
593
  export type Engagement = "GreenT" | "Parallel" | "HeadOn" | "RedT";
594
594
 
595
595
  export interface CustomPowerModifiers {
@@ -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_7b6adf8acc6d8625 = function(arg0, arg1) {
2886
+ module.exports.__wbg_createEquipmentBonuses_bfb6061bf74b1305 = 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.3",
3
+ "version": "1.10.4",
4
4
  "license": "UNLICENSED",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -203,6 +203,8 @@ export type ShipCategory =
203
203
  | "Submarine"
204
204
  | "AuxiliaryShip";
205
205
 
206
+ export type Role = "Main" | "Escort";
207
+
206
208
  export interface NodeAttackAnalyzerShipConfig extends NightFleetConditions {
207
209
  formation?: Formation;
208
210
  }
@@ -275,8 +277,6 @@ export interface MoveShipPayload {
275
277
  target: [string | null, string, ShipKey];
276
278
  }
277
279
 
278
- export type Role = "Main" | "Escort";
279
-
280
280
  export type MoraleState = "Sparkle" | "Normal" | "Orange" | "Red";
281
281
 
282
282
  export type NightCutinLike = NightCutin | FleetCutin;
@@ -532,21 +532,6 @@ export interface MasterAttrRule<T> {
532
532
  expr: CompiledEvaler;
533
533
  }
534
534
 
535
- export interface CompMeta {
536
- fleets: Record<FleetType, FleetMeta>;
537
- }
538
-
539
- export interface FleetMeta {
540
- id: string;
541
- len: number;
542
- ships: [string, ShipMeta | null][];
543
- }
544
-
545
- export interface ShipMeta {
546
- id: string;
547
- ship_id: number;
548
- }
549
-
550
535
  export type TorpedoAttackType = null;
551
536
 
552
537
  export type NightPhaseAttackType =
@@ -590,6 +575,21 @@ export interface ShipPosition {
590
575
  index?: number;
591
576
  }
592
577
 
578
+ export interface CompMeta {
579
+ fleets: Record<FleetType, FleetMeta>;
580
+ }
581
+
582
+ export interface FleetMeta {
583
+ id: string;
584
+ len: number;
585
+ ships: [string, ShipMeta | null][];
586
+ }
587
+
588
+ export interface ShipMeta {
589
+ id: string;
590
+ ship_id: number;
591
+ }
592
+
593
593
  export type Engagement = "GreenT" | "Parallel" | "HeadOn" | "RedT";
594
594
 
595
595
  export interface CustomPowerModifiers {
@@ -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_7b6adf8acc6d8625(arg0, arg1) {
2879
+ export function __wbg_createEquipmentBonuses_bfb6061bf74b1305(arg0, arg1) {
2880
2880
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2881
2881
  return addHeapObject(ret);
2882
2882
  };
Binary file