@hot-updater/apple-helper 0.25.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.
@@ -0,0 +1,40 @@
1
+ import { ApplePlatform, NativeBuildIosScheme, NativeBuildOptions } from "@hot-updater/plugin-core";
2
+
3
+ //#region src/buildIos.d.ts
4
+ declare const buildIos: ({
5
+ schemeConfig: _schemeConfig
6
+ }: {
7
+ schemeConfig: NativeBuildIosScheme;
8
+ }) => Promise<{
9
+ buildDirectory: string;
10
+ buildArtifactPath: string;
11
+ }>;
12
+ //#endregion
13
+ //#region src/types.d.ts
14
+ type DeviceState = "Booted" | "Shutdown";
15
+ type AppleDeviceType = "device" | "simulator";
16
+ type AppleDevice = {
17
+ name: string;
18
+ udid: string;
19
+ version: string;
20
+ platform: ApplePlatform;
21
+ state: DeviceState;
22
+ type: AppleDeviceType;
23
+ };
24
+ interface IosNativeRunOptions extends NativeBuildOptions {
25
+ device?: string | boolean;
26
+ }
27
+ //#endregion
28
+ //#region src/runIos.d.ts
29
+ declare const runIos: ({
30
+ schemeConfig: _schemeConfig,
31
+ runOption
32
+ }: {
33
+ schemeConfig: NativeBuildIosScheme;
34
+ runOption: IosNativeRunOptions;
35
+ }) => Promise<{
36
+ appPath: string;
37
+ infoPlistPath: string;
38
+ }>;
39
+ //#endregion
40
+ export { type AppleDevice, type AppleDeviceType, type DeviceState, type IosNativeRunOptions, buildIos, runIos };
@@ -0,0 +1,40 @@
1
+ import { ApplePlatform, NativeBuildIosScheme, NativeBuildOptions } from "@hot-updater/plugin-core";
2
+
3
+ //#region src/buildIos.d.ts
4
+ declare const buildIos: ({
5
+ schemeConfig: _schemeConfig
6
+ }: {
7
+ schemeConfig: NativeBuildIosScheme;
8
+ }) => Promise<{
9
+ buildDirectory: string;
10
+ buildArtifactPath: string;
11
+ }>;
12
+ //#endregion
13
+ //#region src/types.d.ts
14
+ type DeviceState = "Booted" | "Shutdown";
15
+ type AppleDeviceType = "device" | "simulator";
16
+ type AppleDevice = {
17
+ name: string;
18
+ udid: string;
19
+ version: string;
20
+ platform: ApplePlatform;
21
+ state: DeviceState;
22
+ type: AppleDeviceType;
23
+ };
24
+ interface IosNativeRunOptions extends NativeBuildOptions {
25
+ device?: string | boolean;
26
+ }
27
+ //#endregion
28
+ //#region src/runIos.d.ts
29
+ declare const runIos: ({
30
+ schemeConfig: _schemeConfig,
31
+ runOption
32
+ }: {
33
+ schemeConfig: NativeBuildIosScheme;
34
+ runOption: IosNativeRunOptions;
35
+ }) => Promise<{
36
+ appPath: string;
37
+ infoPlistPath: string;
38
+ }>;
39
+ //#endregion
40
+ export { type AppleDevice, type AppleDeviceType, type DeviceState, type IosNativeRunOptions, buildIos, runIos };