@arkts/image-manager 0.3.5 → 0.4.0
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/default-emulator-config.cjs +793 -0
- package/dist/default-emulator-config.d.cts +5 -0
- package/dist/default-emulator-config.d.mts +6 -0
- package/dist/default-emulator-config.mjs +792 -0
- package/dist/default-product-config.d.cts +1 -1
- package/dist/default-product-config.d.mts +1 -1
- package/dist/emulator-config-DbI3FRE5.d.mts +64 -0
- package/dist/emulator-config-HeXlMqZ-.d.cts +64 -0
- package/dist/index.cjs +528 -53
- package/dist/index.d.cts +160 -19
- package/dist/index.d.mts +160 -19
- package/dist/index.mjs +486 -51
- package/dist/{product-config-2xNDbvax.d.cts → product-config-ByDVg0-5.d.mts} +6 -11
- package/dist/{product-config-CDvEXtfy.d.mts → product-config-DuzOJEvZ.d.cts} +6 -11
- package/dist/types-CayFonNb.d.cts +16 -0
- package/dist/types-DD8_iqBV.d.mts +16 -0
- package/package.json +21 -3
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { c as SnakecaseDeviceType, i as PCAllSnakecaseDeviceType, s as PhoneAllSnakecaseDeviceType } from "./types-DD8_iqBV.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/emulator-config.d.ts
|
|
4
|
+
interface BaseEmulatorConfigItem {
|
|
5
|
+
name: string;
|
|
6
|
+
api: number;
|
|
7
|
+
}
|
|
8
|
+
declare namespace BaseEmulatorConfigItem {
|
|
9
|
+
function is(value: unknown): value is BaseEmulatorConfigItem;
|
|
10
|
+
}
|
|
11
|
+
interface ParentEmulatorConfigItem extends BaseEmulatorConfigItem {
|
|
12
|
+
deviceType: SnakecaseDeviceType;
|
|
13
|
+
resolutionWidth: number;
|
|
14
|
+
resolutionHeight: number;
|
|
15
|
+
physicalWidth: number;
|
|
16
|
+
physicalHeight: number;
|
|
17
|
+
diagonalSize: number;
|
|
18
|
+
density: number;
|
|
19
|
+
memoryRamSize: number;
|
|
20
|
+
datadiskSize: number;
|
|
21
|
+
procNumber: number;
|
|
22
|
+
coverResolutionWidth?: number;
|
|
23
|
+
coverResolutionHeight?: number;
|
|
24
|
+
coverDiagonalSize?: number;
|
|
25
|
+
}
|
|
26
|
+
declare namespace ParentEmulatorConfigItem {
|
|
27
|
+
function is(value: unknown): value is ParentEmulatorConfigItem;
|
|
28
|
+
}
|
|
29
|
+
interface PhoneAllEmulatorConfigItem extends ParentEmulatorConfigItem {
|
|
30
|
+
deviceType: PhoneAllSnakecaseDeviceType;
|
|
31
|
+
singleResolutionHeight?: number;
|
|
32
|
+
singleResolutionWidth?: number;
|
|
33
|
+
singleDiagonalSize?: number;
|
|
34
|
+
doubleResolutionWidth?: number;
|
|
35
|
+
doubleResolutionHeight?: number;
|
|
36
|
+
doubleDiagonalSize?: number;
|
|
37
|
+
}
|
|
38
|
+
declare namespace PhoneAllEmulatorConfigItem {
|
|
39
|
+
function is(value: unknown): value is PhoneAllEmulatorConfigItem;
|
|
40
|
+
}
|
|
41
|
+
interface GroupPhoneAllEmulatorConfigItem extends BaseEmulatorConfigItem {
|
|
42
|
+
deviceType: 'phone_all';
|
|
43
|
+
children: PhoneAllEmulatorConfigItem[];
|
|
44
|
+
}
|
|
45
|
+
declare namespace GroupPhoneAllEmulatorConfigItem {
|
|
46
|
+
function is(value: unknown): value is GroupPhoneAllEmulatorConfigItem;
|
|
47
|
+
}
|
|
48
|
+
interface PCAllEmulatorConfigItem extends ParentEmulatorConfigItem {
|
|
49
|
+
deviceType: PCAllSnakecaseDeviceType;
|
|
50
|
+
}
|
|
51
|
+
declare namespace PCAllEmulatorConfigItem {
|
|
52
|
+
function is(value: unknown): value is PCAllEmulatorConfigItem;
|
|
53
|
+
}
|
|
54
|
+
interface GroupPCAllEmulatorConfigItem extends BaseEmulatorConfigItem {
|
|
55
|
+
deviceType: 'pc_all';
|
|
56
|
+
children: PCAllEmulatorConfigItem[];
|
|
57
|
+
}
|
|
58
|
+
declare namespace GroupPCAllEmulatorConfigItem {
|
|
59
|
+
function is(value: unknown): value is GroupPCAllEmulatorConfigItem;
|
|
60
|
+
}
|
|
61
|
+
type EmulatorConfig = (ParentEmulatorConfigItem | GroupPhoneAllEmulatorConfigItem | GroupPCAllEmulatorConfigItem)[];
|
|
62
|
+
type EmulatorConfigItem = ParentEmulatorConfigItem | PhoneAllEmulatorConfigItem | PCAllEmulatorConfigItem;
|
|
63
|
+
//#endregion
|
|
64
|
+
export { GroupPhoneAllEmulatorConfigItem as a, PhoneAllEmulatorConfigItem as c, GroupPCAllEmulatorConfigItem as i, EmulatorConfig as n, PCAllEmulatorConfigItem as o, EmulatorConfigItem as r, ParentEmulatorConfigItem as s, BaseEmulatorConfigItem as t };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { c as SnakecaseDeviceType, i as PCAllSnakecaseDeviceType, s as PhoneAllSnakecaseDeviceType } from "./types-CayFonNb.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/emulator-config.d.ts
|
|
4
|
+
interface BaseEmulatorConfigItem {
|
|
5
|
+
name: string;
|
|
6
|
+
api: number;
|
|
7
|
+
}
|
|
8
|
+
declare namespace BaseEmulatorConfigItem {
|
|
9
|
+
function is(value: unknown): value is BaseEmulatorConfigItem;
|
|
10
|
+
}
|
|
11
|
+
interface ParentEmulatorConfigItem extends BaseEmulatorConfigItem {
|
|
12
|
+
deviceType: SnakecaseDeviceType;
|
|
13
|
+
resolutionWidth: number;
|
|
14
|
+
resolutionHeight: number;
|
|
15
|
+
physicalWidth: number;
|
|
16
|
+
physicalHeight: number;
|
|
17
|
+
diagonalSize: number;
|
|
18
|
+
density: number;
|
|
19
|
+
memoryRamSize: number;
|
|
20
|
+
datadiskSize: number;
|
|
21
|
+
procNumber: number;
|
|
22
|
+
coverResolutionWidth?: number;
|
|
23
|
+
coverResolutionHeight?: number;
|
|
24
|
+
coverDiagonalSize?: number;
|
|
25
|
+
}
|
|
26
|
+
declare namespace ParentEmulatorConfigItem {
|
|
27
|
+
function is(value: unknown): value is ParentEmulatorConfigItem;
|
|
28
|
+
}
|
|
29
|
+
interface PhoneAllEmulatorConfigItem extends ParentEmulatorConfigItem {
|
|
30
|
+
deviceType: PhoneAllSnakecaseDeviceType;
|
|
31
|
+
singleResolutionHeight?: number;
|
|
32
|
+
singleResolutionWidth?: number;
|
|
33
|
+
singleDiagonalSize?: number;
|
|
34
|
+
doubleResolutionWidth?: number;
|
|
35
|
+
doubleResolutionHeight?: number;
|
|
36
|
+
doubleDiagonalSize?: number;
|
|
37
|
+
}
|
|
38
|
+
declare namespace PhoneAllEmulatorConfigItem {
|
|
39
|
+
function is(value: unknown): value is PhoneAllEmulatorConfigItem;
|
|
40
|
+
}
|
|
41
|
+
interface GroupPhoneAllEmulatorConfigItem extends BaseEmulatorConfigItem {
|
|
42
|
+
deviceType: 'phone_all';
|
|
43
|
+
children: PhoneAllEmulatorConfigItem[];
|
|
44
|
+
}
|
|
45
|
+
declare namespace GroupPhoneAllEmulatorConfigItem {
|
|
46
|
+
function is(value: unknown): value is GroupPhoneAllEmulatorConfigItem;
|
|
47
|
+
}
|
|
48
|
+
interface PCAllEmulatorConfigItem extends ParentEmulatorConfigItem {
|
|
49
|
+
deviceType: PCAllSnakecaseDeviceType;
|
|
50
|
+
}
|
|
51
|
+
declare namespace PCAllEmulatorConfigItem {
|
|
52
|
+
function is(value: unknown): value is PCAllEmulatorConfigItem;
|
|
53
|
+
}
|
|
54
|
+
interface GroupPCAllEmulatorConfigItem extends BaseEmulatorConfigItem {
|
|
55
|
+
deviceType: 'pc_all';
|
|
56
|
+
children: PCAllEmulatorConfigItem[];
|
|
57
|
+
}
|
|
58
|
+
declare namespace GroupPCAllEmulatorConfigItem {
|
|
59
|
+
function is(value: unknown): value is GroupPCAllEmulatorConfigItem;
|
|
60
|
+
}
|
|
61
|
+
type EmulatorConfig = (ParentEmulatorConfigItem | GroupPhoneAllEmulatorConfigItem | GroupPCAllEmulatorConfigItem)[];
|
|
62
|
+
type EmulatorConfigItem = ParentEmulatorConfigItem | PhoneAllEmulatorConfigItem | PCAllEmulatorConfigItem;
|
|
63
|
+
//#endregion
|
|
64
|
+
export { GroupPhoneAllEmulatorConfigItem as a, PhoneAllEmulatorConfigItem as c, GroupPCAllEmulatorConfigItem as i, EmulatorConfig as n, PCAllEmulatorConfigItem as o, EmulatorConfigItem as r, ParentEmulatorConfigItem as s, BaseEmulatorConfigItem as t };
|