@overwolf/ow-electron-packages-types 1.1.4 → 1.1.5-beta.1
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/package.json +1 -1
- package/types.d.ts +24 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -4641,6 +4641,30 @@ interface OWPackages extends overwolf.packages.OverwolfPackageManager {
|
|
|
4641
4641
|
gep: OverwolfGameEventPackage;
|
|
4642
4642
|
}
|
|
4643
4643
|
|
|
4644
|
+
/**
|
|
4645
|
+
* Augments the base `OverwolfPackageManager` so that `app.overwolf.packages`
|
|
4646
|
+
* is fully typed without any casting or manual global.d.ts augmentation in
|
|
4647
|
+
* the consuming project.
|
|
4648
|
+
*/
|
|
4649
|
+
declare global {
|
|
4650
|
+
namespace overwolf {
|
|
4651
|
+
namespace packages {
|
|
4652
|
+
interface OverwolfPackageManager {
|
|
4653
|
+
/** Access to Overwolf's video recording and replay functionality. */
|
|
4654
|
+
recorder: IOverwolfRecordingApi;
|
|
4655
|
+
/** Access to overlay-related APIs such as window creation, input control, and hotkeys. */
|
|
4656
|
+
overlay: IOverwolfOverlayApi;
|
|
4657
|
+
/** Access to utility APIs for game launch tracking and game scanning. */
|
|
4658
|
+
utility: IOverwolfUtilityApi;
|
|
4659
|
+
/** Access to crash reporting and notification APIs. */
|
|
4660
|
+
crn: IOverwolfCRNApi;
|
|
4661
|
+
/** Subscribe to real-time in-game events and info updates from supported games. */
|
|
4662
|
+
gep: OverwolfGameEventPackage;
|
|
4663
|
+
}
|
|
4664
|
+
}
|
|
4665
|
+
}
|
|
4666
|
+
}
|
|
4667
|
+
|
|
4644
4668
|
|
|
4645
4669
|
// --- modules\overlay.d.ts ---
|
|
4646
4670
|
/**
|