@elite-dangerous-plugin-framework/journal 0.20260207.0 → 0.20260214.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.
@@ -11,7 +11,7 @@ type CarrierJumpEvent_BI = Event & {
11
11
  OnFoot?: OnFoot;
12
12
  StationName: StationName;
13
13
  StationType: StationType;
14
- MarketID: MarketID;
14
+ MarketID?: MarketID;
15
15
  StationFaction?: StationFaction;
16
16
  StationGovernment: StationGovernment;
17
17
  StationGovernment_Localised?: StationGovernment_Localised;
@@ -11,7 +11,7 @@ type CarrierJumpEvent = Event & {
11
11
  OnFoot?: OnFoot;
12
12
  StationName: StationName;
13
13
  StationType: StationType;
14
- MarketID: MarketID;
14
+ MarketID?: MarketID;
15
15
  StationFaction?: StationFaction;
16
16
  StationGovernment: StationGovernment;
17
17
  StationGovernment_Localised?: StationGovernment_Localised;
@@ -57,7 +57,7 @@ type ValueStr = string;
57
57
  type ValueStr_Localised = string;
58
58
  type OriginalValue = number;
59
59
  /**
60
- * Either 0 or 1
60
+ * Either 0 or 1. Visible on number types of modifiers
61
61
  */
62
62
  type LessIsGood = number;
63
63
  type Modifiers = {
@@ -66,7 +66,7 @@ type Modifiers = {
66
66
  ValueStr?: ValueStr;
67
67
  ValueStr_Localised?: ValueStr_Localised;
68
68
  OriginalValue?: OriginalValue;
69
- LessIsGood: LessIsGood;
69
+ LessIsGood?: LessIsGood;
70
70
  }[];
71
71
  /**
72
72
  * when applying a new effect
@@ -57,7 +57,7 @@ type ValueStr = string;
57
57
  type ValueStr_Localised = string;
58
58
  type OriginalValue = number;
59
59
  /**
60
- * Either 0 or 1
60
+ * Either 0 or 1. Visible on number types of modifiers
61
61
  */
62
62
  type LessIsGood = number;
63
63
  type Modifiers = {
@@ -66,7 +66,7 @@ type Modifiers = {
66
66
  ValueStr?: ValueStr;
67
67
  ValueStr_Localised?: ValueStr_Localised;
68
68
  OriginalValue?: OriginalValue;
69
- LessIsGood: LessIsGood;
69
+ LessIsGood?: LessIsGood;
70
70
  }[];
71
71
  /**
72
72
  * when applying a new effect
@@ -4,7 +4,7 @@
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
6
  /**
7
- * When Written: when a player increases their access to an engineer
7
+ * When Written: when a player increases their access to an engineer or at startup. At startup the Engineers array is written.
8
8
  */
9
9
  type EngineerProgressEvent_BI = Event & {
10
10
  Engineers?: Engineers;
@@ -19,18 +19,33 @@ type EngineerProgressEvent_BI = Event & {
19
19
  */
20
20
  type Timestamp = string;
21
21
  type Event1 = "EngineerProgress";
22
+ /**
23
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
24
+ */
22
25
  type Engineer = string;
26
+ /**
27
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
28
+ */
23
29
  type EngineerID = number;
30
+ /**
31
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
32
+ */
24
33
  type Progress = string;
34
+ /**
35
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
36
+ */
25
37
  type RankProgress = number;
38
+ /**
39
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
40
+ */
26
41
  type Rank = number;
27
42
  /**
28
43
  * Summary at startup
29
44
  */
30
45
  type Engineers = {
31
- Engineer: Engineer;
32
- EngineerID: EngineerID;
33
- Progress: Progress;
46
+ Engineer?: Engineer;
47
+ EngineerID?: EngineerID;
48
+ Progress?: Progress;
34
49
  RankProgress?: RankProgress;
35
50
  Rank?: Rank;
36
51
  }[];
@@ -4,7 +4,7 @@
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
6
  /**
7
- * When Written: when a player increases their access to an engineer
7
+ * When Written: when a player increases their access to an engineer or at startup. At startup the Engineers array is written.
8
8
  */
9
9
  type EngineerProgressEvent = Event & {
10
10
  Engineers?: Engineers;
@@ -19,18 +19,33 @@ type EngineerProgressEvent = Event & {
19
19
  */
20
20
  type Timestamp = string;
21
21
  type Event1 = "EngineerProgress";
22
+ /**
23
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
24
+ */
22
25
  type Engineer = string;
26
+ /**
27
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
28
+ */
23
29
  type EngineerID = number;
30
+ /**
31
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
32
+ */
24
33
  type Progress = string;
34
+ /**
35
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
36
+ */
25
37
  type RankProgress = number;
38
+ /**
39
+ * This property might not show up if it is an Odyssey engineer and the game is in Horizons mode
40
+ */
26
41
  type Rank = number;
27
42
  /**
28
43
  * Summary at startup
29
44
  */
30
45
  type Engineers = {
31
- Engineer: Engineer;
32
- EngineerID: EngineerID;
33
- Progress: Progress;
46
+ Engineer?: Engineer;
47
+ EngineerID?: EngineerID;
48
+ Progress?: Progress;
34
49
  RankProgress?: RankProgress;
35
50
  Rank?: Rank;
36
51
  }[];
@@ -7,7 +7,7 @@
7
7
  * When a holoscreen is hacked
8
8
  */
9
9
  type HoloscreenHackedEvent_BI = Event & {
10
- PowerBefore: PowerBefore;
10
+ PowerBefore?: PowerBefore;
11
11
  PowerAfter: PowerAfter;
12
12
  };
13
13
  /**
@@ -7,7 +7,7 @@
7
7
  * When a holoscreen is hacked
8
8
  */
9
9
  type HoloscreenHackedEvent = Event & {
10
- PowerBefore: PowerBefore;
10
+ PowerBefore?: PowerBefore;
11
11
  PowerAfter: PowerAfter;
12
12
  };
13
13
  /**
@@ -6,7 +6,7 @@
6
6
  type InterdictionEvent_BI = Event & {
7
7
  Success: Success;
8
8
  Submitted?: Submitted;
9
- Interdicted: Interdicted;
9
+ Interdicted?: Interdicted;
10
10
  Interdicted_Localised?: Interdicted_Localised;
11
11
  IsPlayer: IsPlayer;
12
12
  CombatRank?: CombatRank;
@@ -6,7 +6,7 @@
6
6
  type InterdictionEvent = Event & {
7
7
  Success: Success;
8
8
  Submitted?: Submitted;
9
- Interdicted: Interdicted;
9
+ Interdicted?: Interdicted;
10
10
  Interdicted_Localised?: Interdicted_Localised;
11
11
  IsPlayer: IsPlayer;
12
12
  CombatRank?: CombatRank;
@@ -10,7 +10,7 @@ type ReceiveTextEvent_BI = Event & {
10
10
  From: From;
11
11
  Message: Message;
12
12
  Message_Localised?: Message_Localised;
13
- Channel: Channel;
13
+ Channel?: Channel;
14
14
  From_Localised?: From_Localised;
15
15
  };
16
16
  /**
@@ -10,7 +10,7 @@ type ReceiveTextEvent = Event & {
10
10
  From: From;
11
11
  Message: Message;
12
12
  Message_Localised?: Message_Localised;
13
- Channel: Channel;
13
+ Channel?: Channel;
14
14
  From_Localised?: From_Localised;
15
15
  };
16
16
  /**
@@ -489,10 +489,10 @@ interface TG_ENCOUNTERS {
489
489
  TG_ENCOUNTER_IMPRINT?: TG_ENCOUNTER_IMPRINT;
490
490
  TG_ENCOUNTER_WAKES?: TG_ENCOUNTER_WAKES;
491
491
  TG_ENCOUNTER_KILLED?: TG_ENCOUNTER_KILLED;
492
- TG_ENCOUNTER_TOTAL: TG_ENCOUNTER_TOTAL;
493
- TG_ENCOUNTER_TOTAL_LAST_SYSTEM: TG_ENCOUNTER_TOTAL_LAST_SYSTEM;
494
- TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP: TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP;
495
- TG_ENCOUNTER_TOTAL_LAST_SHIP: TG_ENCOUNTER_TOTAL_LAST_SHIP;
492
+ TG_ENCOUNTER_TOTAL?: TG_ENCOUNTER_TOTAL;
493
+ TG_ENCOUNTER_TOTAL_LAST_SYSTEM?: TG_ENCOUNTER_TOTAL_LAST_SYSTEM;
494
+ TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP?: TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP;
495
+ TG_ENCOUNTER_TOTAL_LAST_SHIP?: TG_ENCOUNTER_TOTAL_LAST_SHIP;
496
496
  TG_SCOUT_COUNT?: TG_SCOUT_COUNT;
497
497
  }
498
498
  interface CQC {
@@ -489,10 +489,10 @@ interface TG_ENCOUNTERS {
489
489
  TG_ENCOUNTER_IMPRINT?: TG_ENCOUNTER_IMPRINT;
490
490
  TG_ENCOUNTER_WAKES?: TG_ENCOUNTER_WAKES;
491
491
  TG_ENCOUNTER_KILLED?: TG_ENCOUNTER_KILLED;
492
- TG_ENCOUNTER_TOTAL: TG_ENCOUNTER_TOTAL;
493
- TG_ENCOUNTER_TOTAL_LAST_SYSTEM: TG_ENCOUNTER_TOTAL_LAST_SYSTEM;
494
- TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP: TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP;
495
- TG_ENCOUNTER_TOTAL_LAST_SHIP: TG_ENCOUNTER_TOTAL_LAST_SHIP;
492
+ TG_ENCOUNTER_TOTAL?: TG_ENCOUNTER_TOTAL;
493
+ TG_ENCOUNTER_TOTAL_LAST_SYSTEM?: TG_ENCOUNTER_TOTAL_LAST_SYSTEM;
494
+ TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP?: TG_ENCOUNTER_TOTAL_LAST_TIMESTAMP;
495
+ TG_ENCOUNTER_TOTAL_LAST_SHIP?: TG_ENCOUNTER_TOTAL_LAST_SHIP;
496
496
  TG_SCOUT_COUNT?: TG_SCOUT_COUNT;
497
497
  }
498
498
  interface CQC {