ahqstore-types 3.9.1 → 3.10.0
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/ahqstore_types.d.ts +14 -1
- package/ahqstore_types_bg.js +29 -2
- package/ahqstore_types_bg.wasm +0 -0
- package/package.json +1 -1
package/ahqstore_types.d.ts
CHANGED
|
@@ -53,6 +53,10 @@ export enum InstallerFormat {
|
|
|
53
53
|
*/
|
|
54
54
|
AndroidApkZip = 7,
|
|
55
55
|
}
|
|
56
|
+
export enum WindowsInstallScope {
|
|
57
|
+
User = 0,
|
|
58
|
+
Machine = 1,
|
|
59
|
+
}
|
|
56
60
|
export type AppId = string;
|
|
57
61
|
|
|
58
62
|
export type Str = string;
|
|
@@ -224,7 +228,7 @@ export class InstallerOptionsWindows {
|
|
|
224
228
|
*/
|
|
225
229
|
exec?: string;
|
|
226
230
|
/**
|
|
227
|
-
|
|
231
|
+
*🎯 Stable as of v2.5
|
|
228
232
|
*
|
|
229
233
|
*
|
|
230
234
|
* Args to pass to the custom exe installer[^1]
|
|
@@ -232,6 +236,15 @@ export class InstallerOptionsWindows {
|
|
|
232
236
|
* [^1]: Only if you choose WindowsInstallerExe
|
|
233
237
|
*/
|
|
234
238
|
installerArgs?: (string)[];
|
|
239
|
+
/**
|
|
240
|
+
*🎯 Introduced in v2.5
|
|
241
|
+
*
|
|
242
|
+
*
|
|
243
|
+
* The scope of the installer[^1]
|
|
244
|
+
*
|
|
245
|
+
* [^1]: Applicable for WindowsInstallerExe or WindowsZip only, WindowsInstallerMsi is treated as Machine
|
|
246
|
+
*/
|
|
247
|
+
scope?: WindowsInstallScope;
|
|
235
248
|
}
|
|
236
249
|
export class Prefs {
|
|
237
250
|
free(): void;
|
package/ahqstore_types_bg.js
CHANGED
|
@@ -196,6 +196,8 @@ LinuxFlathubFlatpak:6,"6":"LinuxFlathubFlatpak",
|
|
|
196
196
|
*/
|
|
197
197
|
AndroidApkZip:7,"7":"AndroidApkZip", });
|
|
198
198
|
|
|
199
|
+
export const WindowsInstallScope = Object.freeze({ User:0,"0":"User",Machine:1,"1":"Machine", });
|
|
200
|
+
|
|
199
201
|
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
200
202
|
|
|
201
203
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
@@ -896,7 +898,32 @@ export class InstallerOptionsWindows {
|
|
|
896
898
|
wasm.__wbg_set_installeroptionswindows_exec(this.__wbg_ptr, ptr0, len0);
|
|
897
899
|
}
|
|
898
900
|
/**
|
|
899
|
-
|
|
901
|
+
*🎯 Introduced in v2.5
|
|
902
|
+
*
|
|
903
|
+
*
|
|
904
|
+
* The scope of the installer[^1]
|
|
905
|
+
*
|
|
906
|
+
* [^1]: Applicable for WindowsInstallerExe or WindowsZip only, WindowsInstallerMsi is treated as Machine
|
|
907
|
+
* @returns {WindowsInstallScope | undefined}
|
|
908
|
+
*/
|
|
909
|
+
get scope() {
|
|
910
|
+
const ret = wasm.__wbg_get_installeroptionswindows_scope(this.__wbg_ptr);
|
|
911
|
+
return ret === 2 ? undefined : ret;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
*🎯 Introduced in v2.5
|
|
915
|
+
*
|
|
916
|
+
*
|
|
917
|
+
* The scope of the installer[^1]
|
|
918
|
+
*
|
|
919
|
+
* [^1]: Applicable for WindowsInstallerExe or WindowsZip only, WindowsInstallerMsi is treated as Machine
|
|
920
|
+
* @param {WindowsInstallScope | undefined} [arg0]
|
|
921
|
+
*/
|
|
922
|
+
set scope(arg0) {
|
|
923
|
+
wasm.__wbg_set_installeroptionswindows_scope(this.__wbg_ptr, isLikeNone(arg0) ? 2 : arg0);
|
|
924
|
+
}
|
|
925
|
+
/**
|
|
926
|
+
*🎯 Stable as of v2.5
|
|
900
927
|
*
|
|
901
928
|
*
|
|
902
929
|
* Args to pass to the custom exe installer[^1]
|
|
@@ -914,7 +941,7 @@ export class InstallerOptionsWindows {
|
|
|
914
941
|
return v1;
|
|
915
942
|
}
|
|
916
943
|
/**
|
|
917
|
-
|
|
944
|
+
*🎯 Stable as of v2.5
|
|
918
945
|
*
|
|
919
946
|
*
|
|
920
947
|
* Args to pass to the custom exe installer[^1]
|
package/ahqstore_types_bg.wasm
CHANGED
|
Binary file
|