@sitepong/fastnode 0.1.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.
Files changed (162) hide show
  1. package/README.md +81 -0
  2. package/bin/fastnode.js +13 -0
  3. package/bin/fastnode.ts +5 -0
  4. package/dist/actions/index.cjs +7405 -0
  5. package/dist/actions/index.cjs.map +1 -0
  6. package/dist/actions/index.d.cts +15 -0
  7. package/dist/actions/index.d.ts +15 -0
  8. package/dist/actions/index.mjs +7377 -0
  9. package/dist/actions/index.mjs.map +1 -0
  10. package/dist/cert/index.cjs +219 -0
  11. package/dist/cert/index.cjs.map +1 -0
  12. package/dist/cert/index.d.cts +4 -0
  13. package/dist/cert/index.d.ts +4 -0
  14. package/dist/cert/index.mjs +191 -0
  15. package/dist/cert/index.mjs.map +1 -0
  16. package/dist/cert-BmJGtYtb.d.cts +27 -0
  17. package/dist/cert-owkOFNW8.d.ts +27 -0
  18. package/dist/cli/index.cjs +7998 -0
  19. package/dist/cli/index.cjs.map +1 -0
  20. package/dist/cli/index.d.cts +9 -0
  21. package/dist/cli/index.d.ts +9 -0
  22. package/dist/cli/index.mjs +7972 -0
  23. package/dist/cli/index.mjs.map +1 -0
  24. package/dist/client/index.cjs +2592 -0
  25. package/dist/client/index.cjs.map +1 -0
  26. package/dist/client/index.d.cts +2 -0
  27. package/dist/client/index.d.ts +2 -0
  28. package/dist/client/index.mjs +2582 -0
  29. package/dist/client/index.mjs.map +1 -0
  30. package/dist/context-CymLkfrS.d.cts +13 -0
  31. package/dist/context-CymLkfrS.d.ts +13 -0
  32. package/dist/core/index.cjs +281 -0
  33. package/dist/core/index.cjs.map +1 -0
  34. package/dist/core/index.d.cts +1 -0
  35. package/dist/core/index.d.ts +1 -0
  36. package/dist/core/index.mjs +254 -0
  37. package/dist/core/index.mjs.map +1 -0
  38. package/dist/deliver/index.cjs +328 -0
  39. package/dist/deliver/index.cjs.map +1 -0
  40. package/dist/deliver/index.d.cts +3 -0
  41. package/dist/deliver/index.d.ts +3 -0
  42. package/dist/deliver/index.mjs +322 -0
  43. package/dist/deliver/index.mjs.map +1 -0
  44. package/dist/enums-B609j2rb.d.cts +20 -0
  45. package/dist/enums-B609j2rb.d.ts +20 -0
  46. package/dist/frameit/index.cjs +247 -0
  47. package/dist/frameit/index.cjs.map +1 -0
  48. package/dist/frameit/index.d.cts +1 -0
  49. package/dist/frameit/index.d.ts +1 -0
  50. package/dist/frameit/index.mjs +242 -0
  51. package/dist/frameit/index.mjs.map +1 -0
  52. package/dist/gym/index.cjs +356 -0
  53. package/dist/gym/index.cjs.map +1 -0
  54. package/dist/gym/index.d.cts +2 -0
  55. package/dist/gym/index.d.ts +2 -0
  56. package/dist/gym/index.mjs +346 -0
  57. package/dist/gym/index.mjs.map +1 -0
  58. package/dist/index-1Vu2cRQ2.d.ts +99 -0
  59. package/dist/index-A5MimeQk.d.ts +72 -0
  60. package/dist/index-B0yhu_LZ.d.ts +76 -0
  61. package/dist/index-B9yXicrQ.d.ts +62 -0
  62. package/dist/index-BFdNOmPJ.d.cts +53 -0
  63. package/dist/index-BLubSlgK.d.cts +1513 -0
  64. package/dist/index-BN0ubxjZ.d.ts +70 -0
  65. package/dist/index-BQJIJlK7.d.cts +70 -0
  66. package/dist/index-BYonklf3.d.cts +84 -0
  67. package/dist/index-BYonklf3.d.ts +84 -0
  68. package/dist/index-BimqCmY8.d.cts +78 -0
  69. package/dist/index-BimqCmY8.d.ts +78 -0
  70. package/dist/index-BoU8qt8r.d.cts +59 -0
  71. package/dist/index-BoU8qt8r.d.ts +59 -0
  72. package/dist/index-C2yG3wXA.d.cts +95 -0
  73. package/dist/index-C2yG3wXA.d.ts +95 -0
  74. package/dist/index-CR3BFPIz.d.cts +77 -0
  75. package/dist/index-CR3BFPIz.d.ts +77 -0
  76. package/dist/index-CWNLnSOL.d.cts +99 -0
  77. package/dist/index-Cp6cjtd-.d.cts +65 -0
  78. package/dist/index-Cp6cjtd-.d.ts +65 -0
  79. package/dist/index-D1Izm7qt.d.ts +1513 -0
  80. package/dist/index-D5eihzwM.d.cts +76 -0
  81. package/dist/index-DImN9PWc.d.ts +155 -0
  82. package/dist/index-DfCUVJX1.d.cts +62 -0
  83. package/dist/index-DfirmFbC.d.ts +32 -0
  84. package/dist/index-DkvinY7_.d.ts +54 -0
  85. package/dist/index-DrUpRXRG.d.cts +155 -0
  86. package/dist/index-EcVvViW8.d.cts +72 -0
  87. package/dist/index-HRiaaX-Q.d.cts +54 -0
  88. package/dist/index-TfXqwuac.d.ts +53 -0
  89. package/dist/index-lt819Jgj.d.cts +32 -0
  90. package/dist/index.cjs +8464 -0
  91. package/dist/index.cjs.map +1 -0
  92. package/dist/index.d.cts +23 -0
  93. package/dist/index.d.ts +23 -0
  94. package/dist/index.mjs +8410 -0
  95. package/dist/index.mjs.map +1 -0
  96. package/dist/lane/index.cjs +7641 -0
  97. package/dist/lane/index.cjs.map +1 -0
  98. package/dist/lane/index.d.cts +51 -0
  99. package/dist/lane/index.d.ts +51 -0
  100. package/dist/lane/index.mjs +7603 -0
  101. package/dist/lane/index.mjs.map +1 -0
  102. package/dist/match/index.cjs +942 -0
  103. package/dist/match/index.cjs.map +1 -0
  104. package/dist/match/index.d.cts +5 -0
  105. package/dist/match/index.d.ts +5 -0
  106. package/dist/match/index.mjs +913 -0
  107. package/dist/match/index.mjs.map +1 -0
  108. package/dist/pem/index.cjs +195 -0
  109. package/dist/pem/index.cjs.map +1 -0
  110. package/dist/pem/index.d.cts +3 -0
  111. package/dist/pem/index.d.ts +3 -0
  112. package/dist/pem/index.mjs +170 -0
  113. package/dist/pem/index.mjs.map +1 -0
  114. package/dist/pilot/index.cjs +206 -0
  115. package/dist/pilot/index.cjs.map +1 -0
  116. package/dist/pilot/index.d.cts +3 -0
  117. package/dist/pilot/index.d.ts +3 -0
  118. package/dist/pilot/index.mjs +196 -0
  119. package/dist/pilot/index.mjs.map +1 -0
  120. package/dist/precheck/index.cjs +277 -0
  121. package/dist/precheck/index.cjs.map +1 -0
  122. package/dist/precheck/index.d.cts +3 -0
  123. package/dist/precheck/index.d.ts +3 -0
  124. package/dist/precheck/index.mjs +274 -0
  125. package/dist/precheck/index.mjs.map +1 -0
  126. package/dist/produce/index.cjs +200 -0
  127. package/dist/produce/index.cjs.map +1 -0
  128. package/dist/produce/index.d.cts +3 -0
  129. package/dist/produce/index.d.ts +3 -0
  130. package/dist/produce/index.mjs +191 -0
  131. package/dist/produce/index.mjs.map +1 -0
  132. package/dist/scan/index.cjs +187 -0
  133. package/dist/scan/index.cjs.map +1 -0
  134. package/dist/scan/index.d.cts +1 -0
  135. package/dist/scan/index.d.ts +1 -0
  136. package/dist/scan/index.mjs +183 -0
  137. package/dist/scan/index.mjs.map +1 -0
  138. package/dist/sigh/index.cjs +203 -0
  139. package/dist/sigh/index.cjs.map +1 -0
  140. package/dist/sigh/index.d.cts +3 -0
  141. package/dist/sigh/index.d.ts +3 -0
  142. package/dist/sigh/index.mjs +198 -0
  143. package/dist/sigh/index.mjs.map +1 -0
  144. package/dist/snapshot/index.cjs +448 -0
  145. package/dist/snapshot/index.cjs.map +1 -0
  146. package/dist/snapshot/index.d.cts +1 -0
  147. package/dist/snapshot/index.d.ts +1 -0
  148. package/dist/snapshot/index.mjs +438 -0
  149. package/dist/snapshot/index.mjs.map +1 -0
  150. package/dist/trainer/index.cjs +395 -0
  151. package/dist/trainer/index.cjs.map +1 -0
  152. package/dist/trainer/index.d.cts +1 -0
  153. package/dist/trainer/index.d.ts +1 -0
  154. package/dist/trainer/index.mjs +372 -0
  155. package/dist/trainer/index.mjs.map +1 -0
  156. package/dist/xcode/index.cjs +188 -0
  157. package/dist/xcode/index.cjs.map +1 -0
  158. package/dist/xcode/index.d.cts +1 -0
  159. package/dist/xcode/index.d.ts +1 -0
  160. package/dist/xcode/index.mjs +176 -0
  161. package/dist/xcode/index.mjs.map +1 -0
  162. package/package.json +223 -0
@@ -0,0 +1,95 @@
1
+ interface FastnodeConfig {
2
+ keyId?: string;
3
+ issuerId?: string;
4
+ privateKeyPath?: string;
5
+ teamId?: string;
6
+ bundleIdentifier?: string;
7
+ platform?: string;
8
+ }
9
+ declare function resolveConfig(_overrides?: Partial<FastnodeConfig>): FastnodeConfig;
10
+
11
+ declare class ItunesTransporter {
12
+ upload(options: {
13
+ packagePath: string;
14
+ apiKeyId?: string;
15
+ apiIssuerId?: string;
16
+ onOutput?: (chunk: string) => void;
17
+ }): Promise<{
18
+ success: boolean;
19
+ output: string;
20
+ }>;
21
+ verify(options: {
22
+ packagePath: string;
23
+ apiKeyId?: string;
24
+ apiIssuerId?: string;
25
+ }): Promise<{
26
+ success: boolean;
27
+ output: string;
28
+ }>;
29
+ private run;
30
+ }
31
+
32
+ interface IpaInfo {
33
+ bundleIdentifier: string;
34
+ bundleVersion: string;
35
+ bundleShortVersion: string;
36
+ appName: string;
37
+ minimumOSVersion: string;
38
+ }
39
+ declare function analyzeIpa(ipaPath: string): Promise<IpaInfo>;
40
+
41
+ interface ProvisioningProfileInfo {
42
+ uuid: string;
43
+ name: string;
44
+ appIdName: string;
45
+ teamIdentifier: string[];
46
+ teamName: string;
47
+ creationDate: Date;
48
+ expirationDate: Date;
49
+ certificates: Buffer[];
50
+ provisionedDevices: string[];
51
+ entitlements: Record<string, unknown>;
52
+ }
53
+ declare function parseProvisioningProfile(data: Buffer): Promise<ProvisioningProfileInfo>;
54
+
55
+ interface Simulator {
56
+ udid: string;
57
+ name: string;
58
+ deviceType: string;
59
+ runtime: string;
60
+ state: "Booted" | "Shutdown";
61
+ }
62
+ declare class SimulatorManager {
63
+ list(): Promise<Simulator[]>;
64
+ boot(udid: string): Promise<void>;
65
+ shutdown(udid: string): Promise<void>;
66
+ reset(udid: string): Promise<void>;
67
+ install(udid: string, appPath: string): Promise<void>;
68
+ findBestMatch(deviceName: string, runtime?: string): Promise<Simulator | null>;
69
+ }
70
+
71
+ declare class CredentialManager {
72
+ private serviceName;
73
+ constructor(serviceName?: string);
74
+ get(service: string, account: string): Promise<string | null>;
75
+ set(service: string, account: string, password: string): Promise<void>;
76
+ delete(service: string, account: string): Promise<void>;
77
+ }
78
+
79
+ type index_CredentialManager = CredentialManager;
80
+ declare const index_CredentialManager: typeof CredentialManager;
81
+ type index_FastnodeConfig = FastnodeConfig;
82
+ type index_IpaInfo = IpaInfo;
83
+ type index_ItunesTransporter = ItunesTransporter;
84
+ declare const index_ItunesTransporter: typeof ItunesTransporter;
85
+ type index_ProvisioningProfileInfo = ProvisioningProfileInfo;
86
+ type index_SimulatorManager = SimulatorManager;
87
+ declare const index_SimulatorManager: typeof SimulatorManager;
88
+ declare const index_analyzeIpa: typeof analyzeIpa;
89
+ declare const index_parseProvisioningProfile: typeof parseProvisioningProfile;
90
+ declare const index_resolveConfig: typeof resolveConfig;
91
+ declare namespace index {
92
+ export { index_CredentialManager as CredentialManager, type index_FastnodeConfig as FastnodeConfig, type index_IpaInfo as IpaInfo, index_ItunesTransporter as ItunesTransporter, type index_ProvisioningProfileInfo as ProvisioningProfileInfo, index_SimulatorManager as SimulatorManager, index_analyzeIpa as analyzeIpa, index_parseProvisioningProfile as parseProvisioningProfile, index_resolveConfig as resolveConfig };
93
+ }
94
+
95
+ export { CredentialManager as C, type FastnodeConfig as F, ItunesTransporter as I, type ProvisioningProfileInfo as P, SimulatorManager as S, analyzeIpa as a, type IpaInfo as b, index as i, parseProvisioningProfile as p, resolveConfig as r };
@@ -0,0 +1,77 @@
1
+ interface SimDevice {
2
+ udid: string;
3
+ name: string;
4
+ state: "Booted" | "Shutdown" | "Shutting Down" | "Creating";
5
+ isAvailable: boolean;
6
+ runtime: string;
7
+ deviceTypeIdentifier: string;
8
+ }
9
+ declare function listSimulators(): Promise<SimDevice[]>;
10
+ declare function findDevice(deviceName: string, runtimeFilter?: string): Promise<SimDevice | null>;
11
+ declare function bootSimulator(udid: string): Promise<void>;
12
+ declare function shutdownAll(): Promise<void>;
13
+ declare function eraseSimulator(udid: string): Promise<void>;
14
+ declare function localizeSimulator(udid: string, language: string, locale?: string): Promise<void>;
15
+ declare function setInterfaceStyle(udid: string, style: "light" | "dark"): Promise<void>;
16
+ declare function overrideStatusBar(udid: string, options?: {
17
+ time?: string;
18
+ batteryLevel?: number;
19
+ batteryState?: "charged" | "charging" | "discharging";
20
+ wifiMode?: "active" | "searching" | "failed";
21
+ cellularMode?: "active" | "searching" | "failed" | "notSupported";
22
+ dataNetwork?: "wifi" | "3g" | "4g" | "lte" | "lte-a" | "lte+" | "5g" | "5g+" | "5g-uwb";
23
+ }): Promise<void>;
24
+
25
+ interface SnapshotOptions {
26
+ scheme?: string;
27
+ workspace?: string;
28
+ project?: string;
29
+ devices: string[];
30
+ languages: string[];
31
+ outputDirectory?: string;
32
+ clearPreviousScreenshots?: boolean;
33
+ launchArguments?: string[];
34
+ concurrent?: boolean;
35
+ numberOfRetries?: number;
36
+ darkMode?: boolean;
37
+ overrideStatusBar?: boolean;
38
+ eraseSimulatorBeforeRun?: boolean;
39
+ derivedDataPath?: string;
40
+ testPlan?: string;
41
+ configuration?: string;
42
+ xcargs?: string;
43
+ onOutput?: (chunk: string) => void;
44
+ }
45
+ interface ScreenshotResult {
46
+ success: boolean;
47
+ screenshots: Record<string, Record<string, string[]>>;
48
+ failedDevices: string[];
49
+ }
50
+ /**
51
+ * Capture screenshots across a device x language matrix.
52
+ *
53
+ * Mirrors Fastlane snapshot's runner:
54
+ * 1. Validate macOS
55
+ * 2. Build device x language matrix
56
+ * 3. For each combination: boot sim, set locale, run xcodebuild test, collect screenshots
57
+ * 4. Return aggregated ScreenshotResult
58
+ */
59
+ declare function captureScreenshots(options: SnapshotOptions): Promise<ScreenshotResult>;
60
+
61
+ type index_ScreenshotResult = ScreenshotResult;
62
+ type index_SimDevice = SimDevice;
63
+ type index_SnapshotOptions = SnapshotOptions;
64
+ declare const index_bootSimulator: typeof bootSimulator;
65
+ declare const index_captureScreenshots: typeof captureScreenshots;
66
+ declare const index_eraseSimulator: typeof eraseSimulator;
67
+ declare const index_findDevice: typeof findDevice;
68
+ declare const index_listSimulators: typeof listSimulators;
69
+ declare const index_localizeSimulator: typeof localizeSimulator;
70
+ declare const index_overrideStatusBar: typeof overrideStatusBar;
71
+ declare const index_setInterfaceStyle: typeof setInterfaceStyle;
72
+ declare const index_shutdownAll: typeof shutdownAll;
73
+ declare namespace index {
74
+ export { type index_ScreenshotResult as ScreenshotResult, type index_SimDevice as SimDevice, type index_SnapshotOptions as SnapshotOptions, index_bootSimulator as bootSimulator, index_captureScreenshots as captureScreenshots, index_eraseSimulator as eraseSimulator, index_findDevice as findDevice, index_listSimulators as listSimulators, index_localizeSimulator as localizeSimulator, index_overrideStatusBar as overrideStatusBar, index_setInterfaceStyle as setInterfaceStyle, index_shutdownAll as shutdownAll };
75
+ }
76
+
77
+ export { type SnapshotOptions as S, type ScreenshotResult as a, bootSimulator as b, captureScreenshots as c, localizeSimulator as d, eraseSimulator as e, findDevice as f, setInterfaceStyle as g, type SimDevice as h, index as i, listSimulators as l, overrideStatusBar as o, shutdownAll as s };
@@ -0,0 +1,77 @@
1
+ interface SimDevice {
2
+ udid: string;
3
+ name: string;
4
+ state: "Booted" | "Shutdown" | "Shutting Down" | "Creating";
5
+ isAvailable: boolean;
6
+ runtime: string;
7
+ deviceTypeIdentifier: string;
8
+ }
9
+ declare function listSimulators(): Promise<SimDevice[]>;
10
+ declare function findDevice(deviceName: string, runtimeFilter?: string): Promise<SimDevice | null>;
11
+ declare function bootSimulator(udid: string): Promise<void>;
12
+ declare function shutdownAll(): Promise<void>;
13
+ declare function eraseSimulator(udid: string): Promise<void>;
14
+ declare function localizeSimulator(udid: string, language: string, locale?: string): Promise<void>;
15
+ declare function setInterfaceStyle(udid: string, style: "light" | "dark"): Promise<void>;
16
+ declare function overrideStatusBar(udid: string, options?: {
17
+ time?: string;
18
+ batteryLevel?: number;
19
+ batteryState?: "charged" | "charging" | "discharging";
20
+ wifiMode?: "active" | "searching" | "failed";
21
+ cellularMode?: "active" | "searching" | "failed" | "notSupported";
22
+ dataNetwork?: "wifi" | "3g" | "4g" | "lte" | "lte-a" | "lte+" | "5g" | "5g+" | "5g-uwb";
23
+ }): Promise<void>;
24
+
25
+ interface SnapshotOptions {
26
+ scheme?: string;
27
+ workspace?: string;
28
+ project?: string;
29
+ devices: string[];
30
+ languages: string[];
31
+ outputDirectory?: string;
32
+ clearPreviousScreenshots?: boolean;
33
+ launchArguments?: string[];
34
+ concurrent?: boolean;
35
+ numberOfRetries?: number;
36
+ darkMode?: boolean;
37
+ overrideStatusBar?: boolean;
38
+ eraseSimulatorBeforeRun?: boolean;
39
+ derivedDataPath?: string;
40
+ testPlan?: string;
41
+ configuration?: string;
42
+ xcargs?: string;
43
+ onOutput?: (chunk: string) => void;
44
+ }
45
+ interface ScreenshotResult {
46
+ success: boolean;
47
+ screenshots: Record<string, Record<string, string[]>>;
48
+ failedDevices: string[];
49
+ }
50
+ /**
51
+ * Capture screenshots across a device x language matrix.
52
+ *
53
+ * Mirrors Fastlane snapshot's runner:
54
+ * 1. Validate macOS
55
+ * 2. Build device x language matrix
56
+ * 3. For each combination: boot sim, set locale, run xcodebuild test, collect screenshots
57
+ * 4. Return aggregated ScreenshotResult
58
+ */
59
+ declare function captureScreenshots(options: SnapshotOptions): Promise<ScreenshotResult>;
60
+
61
+ type index_ScreenshotResult = ScreenshotResult;
62
+ type index_SimDevice = SimDevice;
63
+ type index_SnapshotOptions = SnapshotOptions;
64
+ declare const index_bootSimulator: typeof bootSimulator;
65
+ declare const index_captureScreenshots: typeof captureScreenshots;
66
+ declare const index_eraseSimulator: typeof eraseSimulator;
67
+ declare const index_findDevice: typeof findDevice;
68
+ declare const index_listSimulators: typeof listSimulators;
69
+ declare const index_localizeSimulator: typeof localizeSimulator;
70
+ declare const index_overrideStatusBar: typeof overrideStatusBar;
71
+ declare const index_setInterfaceStyle: typeof setInterfaceStyle;
72
+ declare const index_shutdownAll: typeof shutdownAll;
73
+ declare namespace index {
74
+ export { type index_ScreenshotResult as ScreenshotResult, type index_SimDevice as SimDevice, type index_SnapshotOptions as SnapshotOptions, index_bootSimulator as bootSimulator, index_captureScreenshots as captureScreenshots, index_eraseSimulator as eraseSimulator, index_findDevice as findDevice, index_listSimulators as listSimulators, index_localizeSimulator as localizeSimulator, index_overrideStatusBar as overrideStatusBar, index_setInterfaceStyle as setInterfaceStyle, index_shutdownAll as shutdownAll };
75
+ }
76
+
77
+ export { type SnapshotOptions as S, type ScreenshotResult as a, bootSimulator as b, captureScreenshots as c, localizeSimulator as d, eraseSimulator as e, findDevice as f, setInterfaceStyle as g, type SimDevice as h, index as i, listSimulators as l, overrideStatusBar as o, shutdownAll as s };
@@ -0,0 +1,99 @@
1
+ import { A as AppStoreConnectClient } from './index-BLubSlgK.cjs';
2
+ import { b as Platform, R as ReleaseType } from './enums-B609j2rb.cjs';
3
+
4
+ interface LocalizedMetadata {
5
+ locale: string;
6
+ description?: string;
7
+ keywords?: string;
8
+ releaseNotes?: string;
9
+ supportUrl?: string;
10
+ marketingUrl?: string;
11
+ promotionalText?: string;
12
+ name?: string;
13
+ subtitle?: string;
14
+ privacyUrl?: string;
15
+ }
16
+ /**
17
+ * Review information submitted to App Store Connect for App Review.
18
+ * Mirrors Fastlane deliver's `review_first_name`, `review_last_name`,
19
+ * etc. (upload_metadata.rb lines 45-51), mapping to ASC's
20
+ * `appStoreReviewDetails` attribute names.
21
+ */
22
+ interface ReviewInformation {
23
+ firstName?: string;
24
+ lastName?: string;
25
+ phoneNumber?: string;
26
+ emailAddress?: string;
27
+ demoUser?: string;
28
+ demoPassword?: string;
29
+ notes?: string;
30
+ }
31
+ interface MetadataSet {
32
+ localizations: LocalizedMetadata[];
33
+ copyright?: string;
34
+ /** Typed review information extracted from `review_information/`. */
35
+ reviewInformation?: ReviewInformation;
36
+ /** Raw review information map, including any unrecognised filenames. */
37
+ reviewInfo?: Record<string, string>;
38
+ }
39
+ declare function loadMetadata(metadataPath: string): Promise<MetadataSet>;
40
+
41
+ interface DeliverOptions {
42
+ client: AppStoreConnectClient;
43
+ bundleIdentifier: string;
44
+ appVersion?: string;
45
+ platform?: Platform;
46
+ ipaPath?: string;
47
+ pkgPath?: string;
48
+ metadataPath?: string;
49
+ screenshotsPath?: string;
50
+ submitForReview?: boolean;
51
+ automaticRelease?: boolean;
52
+ releaseType?: ReleaseType;
53
+ skipBinaryUpload?: boolean;
54
+ skipMetadata?: boolean;
55
+ skipScreenshots?: boolean;
56
+ force?: boolean;
57
+ apiKeyId?: string;
58
+ apiIssuerId?: string;
59
+ apiPrivateKey?: string;
60
+ copyright?: string;
61
+ onOutput?: (chunk: string) => void;
62
+ }
63
+ interface DeliverResult {
64
+ appId: string;
65
+ versionId: string;
66
+ submitted: boolean;
67
+ }
68
+ declare function uploadToAppStore(options: DeliverOptions): Promise<DeliverResult>;
69
+ declare function submitForReview(options: {
70
+ client: AppStoreConnectClient;
71
+ appId: string;
72
+ versionId: string;
73
+ }): Promise<void>;
74
+ declare function uploadMetadata(options: {
75
+ client: AppStoreConnectClient;
76
+ appId: string;
77
+ versionId: string;
78
+ metadataPath: string;
79
+ }): Promise<void>;
80
+ declare function uploadScreenshots(options: {
81
+ client: AppStoreConnectClient;
82
+ versionId: string;
83
+ screenshotsPath: string;
84
+ }): Promise<void>;
85
+
86
+ type index_DeliverOptions = DeliverOptions;
87
+ type index_DeliverResult = DeliverResult;
88
+ type index_LocalizedMetadata = LocalizedMetadata;
89
+ type index_MetadataSet = MetadataSet;
90
+ declare const index_loadMetadata: typeof loadMetadata;
91
+ declare const index_submitForReview: typeof submitForReview;
92
+ declare const index_uploadMetadata: typeof uploadMetadata;
93
+ declare const index_uploadScreenshots: typeof uploadScreenshots;
94
+ declare const index_uploadToAppStore: typeof uploadToAppStore;
95
+ declare namespace index {
96
+ export { type index_DeliverOptions as DeliverOptions, type index_DeliverResult as DeliverResult, type index_LocalizedMetadata as LocalizedMetadata, type index_MetadataSet as MetadataSet, index_loadMetadata as loadMetadata, index_submitForReview as submitForReview, index_uploadMetadata as uploadMetadata, index_uploadScreenshots as uploadScreenshots, index_uploadToAppStore as uploadToAppStore };
97
+ }
98
+
99
+ export { type DeliverOptions as D, type LocalizedMetadata as L, type MetadataSet as M, type DeliverResult as a, uploadMetadata as b, uploadScreenshots as c, index as i, loadMetadata as l, submitForReview as s, uploadToAppStore as u };
@@ -0,0 +1,65 @@
1
+ declare function requireMacOS(feature: string): void;
2
+ declare function isMacOS(): boolean;
3
+
4
+ interface KeychainHandle {
5
+ path: string;
6
+ password: string;
7
+ cleanup(): Promise<void>;
8
+ }
9
+ declare function createKeychain(options: {
10
+ name: string;
11
+ password?: string;
12
+ }): Promise<KeychainHandle>;
13
+ declare function importCertificate(keychainPath: string, certPath: string, password?: string): Promise<void>;
14
+ declare function installProfile(profilePath: string, uuid: string): Promise<string>;
15
+ declare function cleanupKeychain(handle: KeychainHandle): Promise<void>;
16
+
17
+ declare function updateSigningSettings(options: {
18
+ projectPath: string;
19
+ teamId: string;
20
+ bundleIdentifier: string;
21
+ codeSignIdentity: string;
22
+ targets?: string[];
23
+ profileName?: string;
24
+ profileUuid?: string;
25
+ automaticSigning?: boolean;
26
+ }): Promise<void>;
27
+ declare function setBuildNumber(projectPath: string, buildNumber: string): Promise<void>;
28
+ declare function setVersionNumber(projectPath: string, version: string): Promise<void>;
29
+ declare function readBuildSettings(options: {
30
+ projectPath?: string;
31
+ workspacePath?: string;
32
+ scheme: string;
33
+ configuration?: string;
34
+ }): Promise<Record<string, string>>;
35
+
36
+ declare function uploadWithAltool(options: {
37
+ filePath: string;
38
+ apiKeyId: string;
39
+ apiIssuerId: string;
40
+ apiPrivateKey?: string;
41
+ apiKeyPath?: string;
42
+ platform?: string;
43
+ onOutput?: (chunk: string) => void;
44
+ }): Promise<{
45
+ success: boolean;
46
+ output: string;
47
+ }>;
48
+
49
+ type index_KeychainHandle = KeychainHandle;
50
+ declare const index_cleanupKeychain: typeof cleanupKeychain;
51
+ declare const index_createKeychain: typeof createKeychain;
52
+ declare const index_importCertificate: typeof importCertificate;
53
+ declare const index_installProfile: typeof installProfile;
54
+ declare const index_isMacOS: typeof isMacOS;
55
+ declare const index_readBuildSettings: typeof readBuildSettings;
56
+ declare const index_requireMacOS: typeof requireMacOS;
57
+ declare const index_setBuildNumber: typeof setBuildNumber;
58
+ declare const index_setVersionNumber: typeof setVersionNumber;
59
+ declare const index_updateSigningSettings: typeof updateSigningSettings;
60
+ declare const index_uploadWithAltool: typeof uploadWithAltool;
61
+ declare namespace index {
62
+ export { type index_KeychainHandle as KeychainHandle, index_cleanupKeychain as cleanupKeychain, index_createKeychain as createKeychain, index_importCertificate as importCertificate, index_installProfile as installProfile, index_isMacOS as isMacOS, index_readBuildSettings as readBuildSettings, index_requireMacOS as requireMacOS, index_setBuildNumber as setBuildNumber, index_setVersionNumber as setVersionNumber, index_updateSigningSettings as updateSigningSettings, index_uploadWithAltool as uploadWithAltool };
63
+ }
64
+
65
+ export { type KeychainHandle as K, isMacOS as a, importCertificate as b, createKeychain as c, installProfile as d, cleanupKeychain as e, setVersionNumber as f, readBuildSettings as g, uploadWithAltool as h, index as i, requireMacOS as r, setBuildNumber as s, updateSigningSettings as u };
@@ -0,0 +1,65 @@
1
+ declare function requireMacOS(feature: string): void;
2
+ declare function isMacOS(): boolean;
3
+
4
+ interface KeychainHandle {
5
+ path: string;
6
+ password: string;
7
+ cleanup(): Promise<void>;
8
+ }
9
+ declare function createKeychain(options: {
10
+ name: string;
11
+ password?: string;
12
+ }): Promise<KeychainHandle>;
13
+ declare function importCertificate(keychainPath: string, certPath: string, password?: string): Promise<void>;
14
+ declare function installProfile(profilePath: string, uuid: string): Promise<string>;
15
+ declare function cleanupKeychain(handle: KeychainHandle): Promise<void>;
16
+
17
+ declare function updateSigningSettings(options: {
18
+ projectPath: string;
19
+ teamId: string;
20
+ bundleIdentifier: string;
21
+ codeSignIdentity: string;
22
+ targets?: string[];
23
+ profileName?: string;
24
+ profileUuid?: string;
25
+ automaticSigning?: boolean;
26
+ }): Promise<void>;
27
+ declare function setBuildNumber(projectPath: string, buildNumber: string): Promise<void>;
28
+ declare function setVersionNumber(projectPath: string, version: string): Promise<void>;
29
+ declare function readBuildSettings(options: {
30
+ projectPath?: string;
31
+ workspacePath?: string;
32
+ scheme: string;
33
+ configuration?: string;
34
+ }): Promise<Record<string, string>>;
35
+
36
+ declare function uploadWithAltool(options: {
37
+ filePath: string;
38
+ apiKeyId: string;
39
+ apiIssuerId: string;
40
+ apiPrivateKey?: string;
41
+ apiKeyPath?: string;
42
+ platform?: string;
43
+ onOutput?: (chunk: string) => void;
44
+ }): Promise<{
45
+ success: boolean;
46
+ output: string;
47
+ }>;
48
+
49
+ type index_KeychainHandle = KeychainHandle;
50
+ declare const index_cleanupKeychain: typeof cleanupKeychain;
51
+ declare const index_createKeychain: typeof createKeychain;
52
+ declare const index_importCertificate: typeof importCertificate;
53
+ declare const index_installProfile: typeof installProfile;
54
+ declare const index_isMacOS: typeof isMacOS;
55
+ declare const index_readBuildSettings: typeof readBuildSettings;
56
+ declare const index_requireMacOS: typeof requireMacOS;
57
+ declare const index_setBuildNumber: typeof setBuildNumber;
58
+ declare const index_setVersionNumber: typeof setVersionNumber;
59
+ declare const index_updateSigningSettings: typeof updateSigningSettings;
60
+ declare const index_uploadWithAltool: typeof uploadWithAltool;
61
+ declare namespace index {
62
+ export { type index_KeychainHandle as KeychainHandle, index_cleanupKeychain as cleanupKeychain, index_createKeychain as createKeychain, index_importCertificate as importCertificate, index_installProfile as installProfile, index_isMacOS as isMacOS, index_readBuildSettings as readBuildSettings, index_requireMacOS as requireMacOS, index_setBuildNumber as setBuildNumber, index_setVersionNumber as setVersionNumber, index_updateSigningSettings as updateSigningSettings, index_uploadWithAltool as uploadWithAltool };
63
+ }
64
+
65
+ export { type KeychainHandle as K, isMacOS as a, importCertificate as b, createKeychain as c, installProfile as d, cleanupKeychain as e, setVersionNumber as f, readBuildSettings as g, uploadWithAltool as h, index as i, requireMacOS as r, setBuildNumber as s, updateSigningSettings as u };