ahqstore-types 3.14.1 ā 3.15.1
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 +9 -5
- package/ahqstore_types_bg.js +32 -36
- package/ahqstore_types_bg.wasm +0 -0
- package/package.json +1 -1
package/ahqstore_types.d.ts
CHANGED
|
@@ -47,11 +47,6 @@ export enum WindowsInstallScope {
|
|
|
47
47
|
}
|
|
48
48
|
export type MapData = Record<string, string[]>;
|
|
49
49
|
|
|
50
|
-
export interface Commits {
|
|
51
|
-
ahqstore: string;
|
|
52
|
-
alt: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
50
|
export type AppId = string;
|
|
56
51
|
|
|
57
52
|
export type Str = string;
|
|
@@ -66,6 +61,11 @@ export type AppStatus = "Pending" | "Downloading" | "AVScanning" | "Installing"
|
|
|
66
61
|
|
|
67
62
|
export type UpdateStatusReport = "Disabled" | "UpToDate" | "Checking" | "Updating";
|
|
68
63
|
|
|
64
|
+
export interface Commits {
|
|
65
|
+
ahqstore: string;
|
|
66
|
+
alt: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
69
|
/**
|
|
70
70
|
*Use the official ahqstore (<https://crates.io/crates/ahqstore_cli_rs>) cli\nšÆ Introduced in v1, Revamped in v2
|
|
71
71
|
*/
|
|
@@ -187,6 +187,9 @@ export class Home {
|
|
|
187
187
|
set splash(value: Splash | null | undefined);
|
|
188
188
|
home: HomeMapData;
|
|
189
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* This is exactly `Vec<(String, Vec<String>)>`
|
|
192
|
+
*/
|
|
190
193
|
export class HomeMapData {
|
|
191
194
|
free(): void;
|
|
192
195
|
constructor();
|
|
@@ -374,6 +377,7 @@ export class SearchEntry {
|
|
|
374
377
|
export class Semi {
|
|
375
378
|
private constructor();
|
|
376
379
|
free(): void;
|
|
380
|
+
title: string;
|
|
377
381
|
background: string;
|
|
378
382
|
appId: string;
|
|
379
383
|
}
|
package/ahqstore_types_bg.js
CHANGED
|
@@ -145,6 +145,10 @@ function getDataViewMemory0() {
|
|
|
145
145
|
return cachedDataViewMemory0;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
function isLikeNone(x) {
|
|
149
|
+
return x === undefined || x === null;
|
|
150
|
+
}
|
|
151
|
+
|
|
148
152
|
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
149
153
|
|
|
150
154
|
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
@@ -156,10 +160,6 @@ function getStringFromWasm0(ptr, len) {
|
|
|
156
160
|
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
157
161
|
}
|
|
158
162
|
|
|
159
|
-
function isLikeNone(x) {
|
|
160
|
-
return x === undefined || x === null;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
163
|
function _assertClass(instance, klass) {
|
|
164
164
|
if (!(instance instanceof klass)) {
|
|
165
165
|
throw new Error(`expected instance of ${klass.name}`);
|
|
@@ -770,7 +770,9 @@ export class Home {
|
|
|
770
770
|
const HomeMapDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
771
771
|
? { register: () => {}, unregister: () => {} }
|
|
772
772
|
: new FinalizationRegistry(ptr => wasm.__wbg_homemapdata_free(ptr >>> 0, 1));
|
|
773
|
-
|
|
773
|
+
/**
|
|
774
|
+
* This is exactly `Vec<(String, Vec<String>)>`
|
|
775
|
+
*/
|
|
774
776
|
export class HomeMapData {
|
|
775
777
|
|
|
776
778
|
static __wrap(ptr) {
|
|
@@ -1443,6 +1445,29 @@ export class Semi {
|
|
|
1443
1445
|
const ptr = this.__destroy_into_raw();
|
|
1444
1446
|
wasm.__wbg_semi_free(ptr, 0);
|
|
1445
1447
|
}
|
|
1448
|
+
/**
|
|
1449
|
+
* @returns {string}
|
|
1450
|
+
*/
|
|
1451
|
+
get title() {
|
|
1452
|
+
let deferred1_0;
|
|
1453
|
+
let deferred1_1;
|
|
1454
|
+
try {
|
|
1455
|
+
const ret = wasm.__wbg_get_semi_title(this.__wbg_ptr);
|
|
1456
|
+
deferred1_0 = ret[0];
|
|
1457
|
+
deferred1_1 = ret[1];
|
|
1458
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1459
|
+
} finally {
|
|
1460
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* @param {string} arg0
|
|
1465
|
+
*/
|
|
1466
|
+
set title(arg0) {
|
|
1467
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1468
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1469
|
+
wasm.__wbg_set_devdata_name(this.__wbg_ptr, ptr0, len0);
|
|
1470
|
+
}
|
|
1446
1471
|
/**
|
|
1447
1472
|
* @returns {string}
|
|
1448
1473
|
*/
|
|
@@ -1464,7 +1489,7 @@ export class Semi {
|
|
|
1464
1489
|
set background(arg0) {
|
|
1465
1490
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1466
1491
|
const len0 = WASM_VECTOR_LEN;
|
|
1467
|
-
wasm.
|
|
1492
|
+
wasm.__wbg_set_devdata_id(this.__wbg_ptr, ptr0, len0);
|
|
1468
1493
|
}
|
|
1469
1494
|
/**
|
|
1470
1495
|
* @returns {string}
|
|
@@ -1487,7 +1512,7 @@ export class Semi {
|
|
|
1487
1512
|
set appId(arg0) {
|
|
1488
1513
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1489
1514
|
const len0 = WASM_VECTOR_LEN;
|
|
1490
|
-
wasm.
|
|
1515
|
+
wasm.__wbg_set_devdata_github(this.__wbg_ptr, ptr0, len0);
|
|
1491
1516
|
}
|
|
1492
1517
|
}
|
|
1493
1518
|
|
|
@@ -1674,16 +1699,6 @@ export class SubHero {
|
|
|
1674
1699
|
}
|
|
1675
1700
|
}
|
|
1676
1701
|
|
|
1677
|
-
export function __wbg_new_405e22f390576ce2() {
|
|
1678
|
-
const ret = new Object();
|
|
1679
|
-
return ret;
|
|
1680
|
-
};
|
|
1681
|
-
|
|
1682
|
-
export function __wbg_new_5e0be73521bc8c17() {
|
|
1683
|
-
const ret = new Map();
|
|
1684
|
-
return ret;
|
|
1685
|
-
};
|
|
1686
|
-
|
|
1687
1702
|
export function __wbg_new_78feb108b6472713() {
|
|
1688
1703
|
const ret = new Array();
|
|
1689
1704
|
return ret;
|
|
@@ -1693,15 +1708,6 @@ export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
|
|
|
1693
1708
|
arg0[arg1 >>> 0] = arg2;
|
|
1694
1709
|
};
|
|
1695
1710
|
|
|
1696
|
-
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
1697
|
-
arg0[arg1] = arg2;
|
|
1698
|
-
};
|
|
1699
|
-
|
|
1700
|
-
export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
|
|
1701
|
-
const ret = arg0.set(arg1, arg2);
|
|
1702
|
-
return ret;
|
|
1703
|
-
};
|
|
1704
|
-
|
|
1705
1711
|
export function __wbindgen_debug_string(arg0, arg1) {
|
|
1706
1712
|
const ret = debugString(arg1);
|
|
1707
1713
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1710,11 +1716,6 @@ export function __wbindgen_debug_string(arg0, arg1) {
|
|
|
1710
1716
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1711
1717
|
};
|
|
1712
1718
|
|
|
1713
|
-
export function __wbindgen_error_new(arg0, arg1) {
|
|
1714
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1715
|
-
return ret;
|
|
1716
|
-
};
|
|
1717
|
-
|
|
1718
1719
|
export function __wbindgen_init_externref_table() {
|
|
1719
1720
|
const table = wasm.__wbindgen_export_2;
|
|
1720
1721
|
const offset = table.grow(4);
|
|
@@ -1726,11 +1727,6 @@ export function __wbindgen_init_externref_table() {
|
|
|
1726
1727
|
;
|
|
1727
1728
|
};
|
|
1728
1729
|
|
|
1729
|
-
export function __wbindgen_is_string(arg0) {
|
|
1730
|
-
const ret = typeof(arg0) === 'string';
|
|
1731
|
-
return ret;
|
|
1732
|
-
};
|
|
1733
|
-
|
|
1734
1730
|
export function __wbindgen_number_get(arg0, arg1) {
|
|
1735
1731
|
const obj = arg1;
|
|
1736
1732
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
package/ahqstore_types_bg.wasm
CHANGED
|
Binary file
|