@arkts/image-manager 0.5.7 → 0.5.9
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.cjs +2 -5
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -5
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -32,7 +32,7 @@ let base64_js = require("base64-js");
|
|
|
32
32
|
let vscode_fs = require("vscode-fs");
|
|
33
33
|
|
|
34
34
|
//#region package.json
|
|
35
|
-
var version = "0.5.
|
|
35
|
+
var version = "0.5.9";
|
|
36
36
|
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/common/serializable-content.ts
|
|
@@ -356,10 +356,7 @@ var ListsFileItemImpl = class extends SerializableContentImpl {
|
|
|
356
356
|
return this.content;
|
|
357
357
|
}
|
|
358
358
|
toJSON() {
|
|
359
|
-
return {
|
|
360
|
-
content: this.getContent(),
|
|
361
|
-
listsFile: this.getListsFile().toJSON()
|
|
362
|
-
};
|
|
359
|
+
return { content: this.getContent() };
|
|
363
360
|
}
|
|
364
361
|
};
|
|
365
362
|
|
package/dist/index.d.cts
CHANGED
|
@@ -318,7 +318,8 @@ interface ListsFileItem<ProductDeviceType extends ProductConfigFile.DeviceType =
|
|
|
318
318
|
getListsFile(): ListsFile;
|
|
319
319
|
}
|
|
320
320
|
declare namespace ListsFileItem {
|
|
321
|
-
|
|
321
|
+
/** Excludes `listsFile` to avoid circular reference: ListsFile contains ListsFileItems, each of which would reference back to ListsFile. */
|
|
322
|
+
interface Serializable extends Omit<BaseSerializable<ListsFileItem>, 'imageManager' | 'listsFile'> {}
|
|
322
323
|
type DeviceType = 'phone' | 'tablet' | '2in1' | 'foldable' | 'widefold' | 'triplefold' | '2in1_foldable' | 'tv' | 'wearable';
|
|
323
324
|
type DeviceTypeWithString = DeviceType | (string & {});
|
|
324
325
|
interface Content<ProductDeviceType extends ProductConfigFile.DeviceType = ProductConfigFile.DeviceType, ProductName extends ProductConfigFile.GenericContent<ProductDeviceType>['name'] = ProductConfigFile.GenericContent<ProductDeviceType>['name']> {
|
package/dist/index.d.mts
CHANGED
|
@@ -318,7 +318,8 @@ interface ListsFileItem<ProductDeviceType extends ProductConfigFile.DeviceType =
|
|
|
318
318
|
getListsFile(): ListsFile;
|
|
319
319
|
}
|
|
320
320
|
declare namespace ListsFileItem {
|
|
321
|
-
|
|
321
|
+
/** Excludes `listsFile` to avoid circular reference: ListsFile contains ListsFileItems, each of which would reference back to ListsFile. */
|
|
322
|
+
interface Serializable extends Omit<BaseSerializable<ListsFileItem>, 'imageManager' | 'listsFile'> {}
|
|
322
323
|
type DeviceType = 'phone' | 'tablet' | '2in1' | 'foldable' | 'widefold' | 'triplefold' | '2in1_foldable' | 'tv' | 'wearable';
|
|
323
324
|
type DeviceTypeWithString = DeviceType | (string & {});
|
|
324
325
|
interface Content<ProductDeviceType extends ProductConfigFile.DeviceType = ProductConfigFile.DeviceType, ProductName extends ProductConfigFile.GenericContent<ProductDeviceType>['name'] = ProductConfigFile.GenericContent<ProductDeviceType>['name']> {
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { fromByteArray } from "base64-js";
|
|
|
3
3
|
import { RelativePattern, WriteableFlags, createNodeFileSystem } from "vscode-fs";
|
|
4
4
|
|
|
5
5
|
//#region package.json
|
|
6
|
-
var version = "0.5.
|
|
6
|
+
var version = "0.5.9";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/common/serializable-content.ts
|
|
@@ -327,10 +327,7 @@ var ListsFileItemImpl = class extends SerializableContentImpl {
|
|
|
327
327
|
return this.content;
|
|
328
328
|
}
|
|
329
329
|
toJSON() {
|
|
330
|
-
return {
|
|
331
|
-
content: this.getContent(),
|
|
332
|
-
listsFile: this.getListsFile().toJSON()
|
|
333
|
-
};
|
|
330
|
+
return { content: this.getContent() };
|
|
334
331
|
}
|
|
335
332
|
};
|
|
336
333
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkts/image-manager",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.9",
|
|
5
5
|
"description": "OpenHarmony/HarmonyOS qemu image manager.",
|
|
6
6
|
"author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"progress-stream": "^2.0.0",
|
|
69
69
|
"semver": "^7.7.4",
|
|
70
70
|
"unzipper": "^0.12.3",
|
|
71
|
-
"vscode-fs": "^0.1.
|
|
71
|
+
"vscode-fs": "^0.1.1",
|
|
72
72
|
"vscode-uri": "^3.1.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|