@overwolf/ow-electron-packages-types 1.0.0-beta.7 → 1.0.0-beta.8

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 +10 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron-packages-types",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.0-beta.8",
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
@@ -575,7 +575,7 @@ interface EncoderProperty {
575
575
  /**
576
576
  * The default value for this encoder property.
577
577
  */
578
- readonly default: any;
578
+ readonly default?: any;
579
579
 
580
580
  /**
581
581
  * A human-readable explanation of the property's purpose.
@@ -583,10 +583,16 @@ interface EncoderProperty {
583
583
  readonly description: string;
584
584
 
585
585
  /**
586
- * Optional map of possible values to their corresponding display labels.
586
+ * Optional array of possible values for this property.
587
587
  * Useful for dropdowns or presets.
588
588
  */
589
- readonly values?: Record<string | number, string>;
589
+ readonly values?: (string | number)[];
590
+
591
+ /**
592
+ * Optional array of descriptions corresponding to the `values` array.
593
+ * Helps provide additional context for each option.
594
+ */
595
+ readonly valuesDesc?: string[];
590
596
  }
591
597
 
592
598
  /**
@@ -679,7 +685,7 @@ interface AdapterInfo {
679
685
  /**
680
686
  * The index of the adapter (usually starts at 0 for the primary GPU).
681
687
  */
682
- readonly index: 0;
688
+ readonly index: number;
683
689
 
684
690
  /**
685
691
  * The display name of the GPU adapter.