@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.
- package/package.json +1 -1
- package/types.d.ts +10 -4
package/package.json
CHANGED
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
|
|
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
|
|
586
|
+
* Optional array of possible values for this property.
|
|
587
587
|
* Useful for dropdowns or presets.
|
|
588
588
|
*/
|
|
589
|
-
readonly values?:
|
|
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:
|
|
688
|
+
readonly index: number;
|
|
683
689
|
|
|
684
690
|
/**
|
|
685
691
|
* The display name of the GPU adapter.
|