ahqstore-types 3.17.1 ā 3.17.2
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 +21 -16
- package/ahqstore_types_bg.js +14 -9
- package/ahqstore_types_bg.wasm +0 -0
- package/package.json +1 -1
package/ahqstore_types.d.ts
CHANGED
|
@@ -30,16 +30,21 @@ export enum InstallerFormat {
|
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
WindowsUWPMsix = 3,
|
|
33
|
+
/**
|
|
34
|
+
* š¬ Planned in AHQ Store NEO
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
WindowsAHQDB = 4,
|
|
33
38
|
/**
|
|
34
39
|
* šÆ Stable as of v2
|
|
35
40
|
*
|
|
36
41
|
*/
|
|
37
|
-
LinuxAppImage =
|
|
42
|
+
LinuxAppImage = 5,
|
|
38
43
|
/**
|
|
39
44
|
* š¬ Planned in AHQ Store NEO
|
|
40
45
|
*
|
|
41
46
|
*/
|
|
42
|
-
AndroidApkZip =
|
|
47
|
+
AndroidApkZip = 6,
|
|
43
48
|
}
|
|
44
49
|
export enum WindowsInstallScope {
|
|
45
50
|
User = 0,
|
|
@@ -47,6 +52,20 @@ export enum WindowsInstallScope {
|
|
|
47
52
|
}
|
|
48
53
|
export type MapData = string[];
|
|
49
54
|
|
|
55
|
+
export type Str = string;
|
|
56
|
+
|
|
57
|
+
export type AppData = [string, string];
|
|
58
|
+
|
|
59
|
+
export type UpdateStatusReport = "Disabled" | "UpToDate" | "Checking" | "Updating";
|
|
60
|
+
|
|
61
|
+
export type AppId = string;
|
|
62
|
+
|
|
63
|
+
export type RefId = number;
|
|
64
|
+
|
|
65
|
+
export type Success = boolean;
|
|
66
|
+
|
|
67
|
+
export type AppStatus = "Pending" | "Downloading" | "AVScanning" | "Installing" | "Uninstalling" | "InstallSuccessful" | "UninstallSuccessful" | "NotSuccessful" | "AVFlagged";
|
|
68
|
+
|
|
50
69
|
/**
|
|
51
70
|
*Use the official ahqstore (<https://crates.io/crates/ahqstore_cli_rs>) cli\nšÆ Introduced in v1, Revamped in v2
|
|
52
71
|
*/
|
|
@@ -119,20 +138,6 @@ export interface AHQStoreApplication {
|
|
|
119
138
|
verified: boolean;
|
|
120
139
|
}
|
|
121
140
|
|
|
122
|
-
export type AppData = [string, string];
|
|
123
|
-
|
|
124
|
-
export type AppId = string;
|
|
125
|
-
|
|
126
|
-
export type Str = string;
|
|
127
|
-
|
|
128
|
-
export type UpdateStatusReport = "Disabled" | "UpToDate" | "Checking" | "Updating";
|
|
129
|
-
|
|
130
|
-
export type Success = boolean;
|
|
131
|
-
|
|
132
|
-
export type RefId = number;
|
|
133
|
-
|
|
134
|
-
export type AppStatus = "Pending" | "Downloading" | "AVScanning" | "Installing" | "Uninstalling" | "InstallSuccessful" | "UninstallSuccessful" | "NotSuccessful" | "AVFlagged";
|
|
135
|
-
|
|
136
141
|
export interface Commits {
|
|
137
142
|
ahqstore: string;
|
|
138
143
|
alt: string;
|
package/ahqstore_types_bg.js
CHANGED
|
@@ -172,12 +172,6 @@ function getStringFromWasm0(ptr, len) {
|
|
|
172
172
|
return decodeText(ptr, len);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
function _assertClass(instance, klass) {
|
|
176
|
-
if (!(instance instanceof klass)) {
|
|
177
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
175
|
function getArrayJsValueFromWasm0(ptr, len) {
|
|
182
176
|
ptr = ptr >>> 0;
|
|
183
177
|
const mem = getDataViewMemory0();
|
|
@@ -205,6 +199,12 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
205
199
|
return ptr;
|
|
206
200
|
}
|
|
207
201
|
|
|
202
|
+
function _assertClass(instance, klass) {
|
|
203
|
+
if (!(instance instanceof klass)) {
|
|
204
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
208
|
function getArrayU8FromWasm0(ptr, len) {
|
|
209
209
|
ptr = ptr >>> 0;
|
|
210
210
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
@@ -221,7 +221,7 @@ export const AndroidAbi = Object.freeze({
|
|
|
221
221
|
X64: 3, "3": "X64",
|
|
222
222
|
});
|
|
223
223
|
/**
|
|
224
|
-
* @enum {0 | 1 | 2 | 3 | 4 | 5}
|
|
224
|
+
* @enum {0 | 1 | 2 | 3 | 4 | 5 | 6}
|
|
225
225
|
*/
|
|
226
226
|
export const InstallerFormat = Object.freeze({
|
|
227
227
|
/**
|
|
@@ -243,16 +243,21 @@ export const InstallerFormat = Object.freeze({
|
|
|
243
243
|
*
|
|
244
244
|
*/
|
|
245
245
|
WindowsUWPMsix: 3, "3": "WindowsUWPMsix",
|
|
246
|
+
/**
|
|
247
|
+
* š¬ Planned in AHQ Store NEO
|
|
248
|
+
*
|
|
249
|
+
*/
|
|
250
|
+
WindowsAHQDB: 4, "4": "WindowsAHQDB",
|
|
246
251
|
/**
|
|
247
252
|
* šÆ Stable as of v2
|
|
248
253
|
*
|
|
249
254
|
*/
|
|
250
|
-
LinuxAppImage:
|
|
255
|
+
LinuxAppImage: 5, "5": "LinuxAppImage",
|
|
251
256
|
/**
|
|
252
257
|
* š¬ Planned in AHQ Store NEO
|
|
253
258
|
*
|
|
254
259
|
*/
|
|
255
|
-
AndroidApkZip:
|
|
260
|
+
AndroidApkZip: 6, "6": "AndroidApkZip",
|
|
256
261
|
});
|
|
257
262
|
/**
|
|
258
263
|
* @enum {0 | 1}
|
package/ahqstore_types_bg.wasm
CHANGED
|
Binary file
|