@wox-launcher/wox-plugin 0.0.46 → 0.0.47
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/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -95,12 +95,16 @@ export interface PublicAPI {
|
|
|
95
95
|
GetTranslation: (key: string) => Promise<string>;
|
|
96
96
|
/**
|
|
97
97
|
* Get customized setting
|
|
98
|
+
*
|
|
99
|
+
* will try to get platform specific setting first, if not found, will try to get global setting
|
|
98
100
|
*/
|
|
99
101
|
GetSetting: (key: string) => Promise<string>;
|
|
100
102
|
/**
|
|
101
103
|
* Save customized setting
|
|
104
|
+
*
|
|
105
|
+
* @isPlatformSpecific If true, setting will be only saved in current platform. If false, setting will be available in all platforms
|
|
102
106
|
*/
|
|
103
|
-
SaveSetting: (key: string, value: string) => Promise<void>;
|
|
107
|
+
SaveSetting: (key: string, value: string, isPlatformSpecific: boolean) => Promise<void>;
|
|
104
108
|
/**
|
|
105
109
|
* Register setting changed callback
|
|
106
110
|
*/
|