ahqstore-types 3.5.3 → 3.7.4
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 +2 -7
- package/ahqstore_types_bg.js +1 -56
- package/ahqstore_types_bg.wasm +0 -0
- package/package.json +1 -1
package/ahqstore_types.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export type AppStatus = "Pending" | "Downloading" | "AVScanning" | "Installing"
|
|
|
85
85
|
|
|
86
86
|
export type UpdateStatusReport = "Disabled" | "UpToDate" | "Checking" | "Updating";
|
|
87
87
|
|
|
88
|
-
export type ResponseToSend = "Ready" | { Error: ErrorType } | { SHAId: [RefId,
|
|
88
|
+
export type ResponseToSend = "Ready" | { Error: ErrorType } | { SHAId: [RefId, Commits] } | { Disconnect: Reason } | { AppData: [RefId, AppId, AHQStoreApplication] } | { AppDataUrl: [RefId, AppId, string] } | { ListApps: [RefId, AppData[]] } | { Library: [RefId, Library[]] } | { UpdateStatus: [RefId, UpdateStatusReport] } | { Acknowledged: RefId } | { Prefs: [RefId, Prefs] } | { PrefsSet: RefId } | { DownloadPkgProg: [RefId, [number, number]] } | { InstallPkg: RefId } | { InstalledPkg: RefId } | { TerminateBlock: RefId };
|
|
89
89
|
|
|
90
90
|
export type MapData = Record<string, string>;
|
|
91
91
|
|
|
@@ -104,8 +104,8 @@ export interface AHQStoreApplication {
|
|
|
104
104
|
site: string | null;
|
|
105
105
|
source: string | null;
|
|
106
106
|
license_or_tos: string | null;
|
|
107
|
-
app_page: string | null;
|
|
108
107
|
resources: Record<number, number[]> | null;
|
|
108
|
+
verified: boolean;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export class AppRepo {
|
|
@@ -261,8 +261,3 @@ export class SearchEntry {
|
|
|
261
261
|
name: string;
|
|
262
262
|
title: string;
|
|
263
263
|
}
|
|
264
|
-
export class ServerJSONResp {
|
|
265
|
-
free(): void;
|
|
266
|
-
config: string;
|
|
267
|
-
last_updated: bigint;
|
|
268
|
-
}
|
package/ahqstore_types_bg.js
CHANGED
|
@@ -576,7 +576,7 @@ export class GHRepoCommit {
|
|
|
576
576
|
set sha(arg0) {
|
|
577
577
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
578
578
|
const len0 = WASM_VECTOR_LEN;
|
|
579
|
-
wasm.
|
|
579
|
+
wasm.__wbg_set_ghrepocommit_sha(this.__wbg_ptr, ptr0, len0);
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
|
|
@@ -1156,61 +1156,6 @@ export class SearchEntry {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
|
-
const ServerJSONRespFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1160
|
-
? { register: () => {}, unregister: () => {} }
|
|
1161
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_serverjsonresp_free(ptr >>> 0, 1));
|
|
1162
|
-
|
|
1163
|
-
export class ServerJSONResp {
|
|
1164
|
-
|
|
1165
|
-
__destroy_into_raw() {
|
|
1166
|
-
const ptr = this.__wbg_ptr;
|
|
1167
|
-
this.__wbg_ptr = 0;
|
|
1168
|
-
ServerJSONRespFinalization.unregister(this);
|
|
1169
|
-
return ptr;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
free() {
|
|
1173
|
-
const ptr = this.__destroy_into_raw();
|
|
1174
|
-
wasm.__wbg_serverjsonresp_free(ptr, 0);
|
|
1175
|
-
}
|
|
1176
|
-
/**
|
|
1177
|
-
* @returns {bigint}
|
|
1178
|
-
*/
|
|
1179
|
-
get last_updated() {
|
|
1180
|
-
const ret = wasm.__wbg_get_serverjsonresp_last_updated(this.__wbg_ptr);
|
|
1181
|
-
return BigInt.asUintN(64, ret);
|
|
1182
|
-
}
|
|
1183
|
-
/**
|
|
1184
|
-
* @param {bigint} arg0
|
|
1185
|
-
*/
|
|
1186
|
-
set last_updated(arg0) {
|
|
1187
|
-
wasm.__wbg_set_serverjsonresp_last_updated(this.__wbg_ptr, arg0);
|
|
1188
|
-
}
|
|
1189
|
-
/**
|
|
1190
|
-
* @returns {string}
|
|
1191
|
-
*/
|
|
1192
|
-
get config() {
|
|
1193
|
-
let deferred1_0;
|
|
1194
|
-
let deferred1_1;
|
|
1195
|
-
try {
|
|
1196
|
-
const ret = wasm.__wbg_get_serverjsonresp_config(this.__wbg_ptr);
|
|
1197
|
-
deferred1_0 = ret[0];
|
|
1198
|
-
deferred1_1 = ret[1];
|
|
1199
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
1200
|
-
} finally {
|
|
1201
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
/**
|
|
1205
|
-
* @param {string} arg0
|
|
1206
|
-
*/
|
|
1207
|
-
set config(arg0) {
|
|
1208
|
-
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1209
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1210
|
-
wasm.__wbg_set_serverjsonresp_config(this.__wbg_ptr, ptr0, len0);
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
1159
|
export function __wbindgen_is_undefined(arg0) {
|
|
1215
1160
|
const ret = arg0 === undefined;
|
|
1216
1161
|
return ret;
|
package/ahqstore_types_bg.wasm
CHANGED
|
Binary file
|