@arkts/image-manager 0.2.0 → 0.2.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/dist/index.cjs +11 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -35,6 +35,10 @@ progress_stream = __toESM(progress_stream);
|
|
|
35
35
|
let unzipper = require("unzipper");
|
|
36
36
|
unzipper = __toESM(unzipper);
|
|
37
37
|
|
|
38
|
+
//#region package.json
|
|
39
|
+
var version = "0.2.1";
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
38
42
|
//#region src/deployer/list.ts
|
|
39
43
|
let DevModel = /* @__PURE__ */ function(DevModel) {
|
|
40
44
|
DevModel["MCHEMU_AL00CN"] = "MCHEMU-AL00CN";
|
|
@@ -717,4 +721,10 @@ function createDeployedImageConfig(productConfigItem) {
|
|
|
717
721
|
exports.DevModel = DevModel;
|
|
718
722
|
exports.RequestUrlError = RequestUrlError;
|
|
719
723
|
exports.createDeployedImageConfig = createDeployedImageConfig;
|
|
720
|
-
exports.createImageManager = createImageManager;
|
|
724
|
+
exports.createImageManager = createImageManager;
|
|
725
|
+
Object.defineProperty(exports, 'version', {
|
|
726
|
+
enumerable: true,
|
|
727
|
+
get: function () {
|
|
728
|
+
return version;
|
|
729
|
+
}
|
|
730
|
+
});
|
package/dist/index.d.cts
CHANGED
|
@@ -9,6 +9,9 @@ import * as node_path0 from "node:path";
|
|
|
9
9
|
import * as node_process0 from "node:process";
|
|
10
10
|
import * as node_crypto0 from "node:crypto";
|
|
11
11
|
|
|
12
|
+
//#region package.json.d.ts
|
|
13
|
+
declare let version: string;
|
|
14
|
+
//#endregion
|
|
12
15
|
//#region src/images/local-image.d.ts
|
|
13
16
|
interface LocalImage extends BaseImage, Stringifiable<LocalImage.Stringifiable> {
|
|
14
17
|
imageType: 'local';
|
|
@@ -284,4 +287,4 @@ interface Device {
|
|
|
284
287
|
delete(): Promise<void | Error>;
|
|
285
288
|
}
|
|
286
289
|
//#endregion
|
|
287
|
-
export { Arch, DeployedDevModel, DeployedImageConfig, DeployedImageConfigWithProductName, DeployedImageOptions, DevModel, Device, DeviceType, FullDeployedImageOptions, Image, type ImageManager, type ImageManagerOptions, ImageType, LocalImage, OS, PascalCaseDeviceType, type ProductConfig, ProductNameable, RemoteImage, RequestUrlError, SnakecaseDeviceType, Stringifiable, createDeployedImageConfig, createImageManager };
|
|
290
|
+
export { Arch, DeployedDevModel, DeployedImageConfig, DeployedImageConfigWithProductName, DeployedImageOptions, DevModel, Device, DeviceType, FullDeployedImageOptions, Image, type ImageManager, type ImageManagerOptions, ImageType, LocalImage, OS, PascalCaseDeviceType, type ProductConfig, type ProductConfigItem, ProductNameable, RemoteImage, RequestUrlError, SnakecaseDeviceType, Stringifiable, createDeployedImageConfig, createImageManager, version };
|
package/dist/index.d.mts
CHANGED
|
@@ -9,6 +9,9 @@ import * as node_os0 from "node:os";
|
|
|
9
9
|
import * as node_path0 from "node:path";
|
|
10
10
|
import * as node_process0 from "node:process";
|
|
11
11
|
|
|
12
|
+
//#region package.json.d.ts
|
|
13
|
+
declare let version: string;
|
|
14
|
+
//#endregion
|
|
12
15
|
//#region src/images/local-image.d.ts
|
|
13
16
|
interface LocalImage extends BaseImage, Stringifiable<LocalImage.Stringifiable> {
|
|
14
17
|
imageType: 'local';
|
|
@@ -284,4 +287,4 @@ interface Device {
|
|
|
284
287
|
delete(): Promise<void | Error>;
|
|
285
288
|
}
|
|
286
289
|
//#endregion
|
|
287
|
-
export { Arch, DeployedDevModel, DeployedImageConfig, DeployedImageConfigWithProductName, DeployedImageOptions, DevModel, type Device, DeviceType, FullDeployedImageOptions, type Image, type ImageManager, type ImageManagerOptions, type ImageType, type LocalImage, OS, PascalCaseDeviceType, type ProductConfig, ProductNameable, type RemoteImage, RequestUrlError, SnakecaseDeviceType, Stringifiable, createDeployedImageConfig, createImageManager };
|
|
290
|
+
export { Arch, DeployedDevModel, DeployedImageConfig, DeployedImageConfigWithProductName, DeployedImageOptions, DevModel, type Device, DeviceType, FullDeployedImageOptions, type Image, type ImageManager, type ImageManagerOptions, type ImageType, type LocalImage, OS, PascalCaseDeviceType, type ProductConfig, type ProductConfigItem, ProductNameable, type RemoteImage, RequestUrlError, SnakecaseDeviceType, Stringifiable, createDeployedImageConfig, createImageManager, version };
|
package/dist/index.mjs
CHANGED
|
@@ -3,6 +3,10 @@ import mitt from "mitt";
|
|
|
3
3
|
import progress from "progress-stream";
|
|
4
4
|
import unzipper from "unzipper";
|
|
5
5
|
|
|
6
|
+
//#region package.json
|
|
7
|
+
var version = "0.2.1";
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
6
10
|
//#region src/deployer/list.ts
|
|
7
11
|
let DevModel = /* @__PURE__ */ function(DevModel) {
|
|
8
12
|
DevModel["MCHEMU_AL00CN"] = "MCHEMU-AL00CN";
|
|
@@ -682,4 +686,4 @@ function createDeployedImageConfig(productConfigItem) {
|
|
|
682
686
|
}
|
|
683
687
|
|
|
684
688
|
//#endregion
|
|
685
|
-
export { DevModel, RequestUrlError, createDeployedImageConfig, createImageManager };
|
|
689
|
+
export { DevModel, RequestUrlError, createDeployedImageConfig, createImageManager, version };
|
package/package.json
CHANGED