@overwolf/ow-electron-packages-types 1.1.6-beta.0 → 1.1.6-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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +31 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron-packages-types",
3
- "version": "1.1.6-beta.0",
3
+ "version": "1.1.6-beta.1",
4
4
  "description": "Type definition file for autocompletion and documentation purposes for ow-electron packages",
5
5
  "license": "MIT",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -3815,6 +3815,29 @@ interface EncoderInformation {
3815
3815
  audio: AudioEncoderInfo[];
3816
3816
  }
3817
3817
 
3818
+ /**
3819
+ * Crash dump detail level for the OBS host process.
3820
+ * - `mini`: small dump (thread stacks + module list); the default.
3821
+ * - `full`: complete-memory dump; large — opt-in for debugging only.
3822
+ */
3823
+ type CrashDumpType = 'mini' | 'full';
3824
+
3825
+ /**
3826
+ * Crash dump configuration for the OBS host process.
3827
+ */
3828
+ interface CrashDumpOptions {
3829
+ /**
3830
+ * Dump detail level; defaults to `mini`. See {@link CrashDumpType}.
3831
+ */
3832
+ type?: CrashDumpType;
3833
+
3834
+ /**
3835
+ * Max crash dumps to retain in `ow-obs/crashdumps`; the oldest are deleted
3836
+ * beyond this count. Positive integer, defaults to `3`.
3837
+ */
3838
+ maxFiles?: number;
3839
+ }
3840
+
3818
3841
  /**
3819
3842
  * Configuration options for launching or customizing the recording application behavior.
3820
3843
  *
@@ -3850,6 +3873,14 @@ interface RecordingAppOptions {
3850
3873
  * Must be a positive integer. Defaults to `10`.
3851
3874
  */
3852
3875
  maxLogFiles?: number;
3876
+
3877
+ /**
3878
+ * Tune OBS-host crash dumps. Mini-dump capture is always on; these options
3879
+ * only change the detail level and retention count.
3880
+ *
3881
+ * @see {@link CrashDumpOptions}
3882
+ */
3883
+ crashDumps?: CrashDumpOptions;
3853
3884
  }
3854
3885
 
3855
3886