@absolutejs/deploy 0.23.0 → 0.25.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/README.md +204 -123
- package/dist/appStoreConnect.d.ts +182 -0
- package/dist/appStoreConnect.js +587 -0
- package/dist/appStoreConnect.js.map +10 -0
- package/dist/cloudTarget.d.ts +4 -4
- package/dist/cloudflare.d.ts +2 -2
- package/dist/cloudflare.js +11 -9
- package/dist/cloudflare.js.map +3 -3
- package/dist/deployer.d.ts +9 -9
- package/dist/digitalocean.d.ts +5 -5
- package/dist/digitalocean.js +21 -13
- package/dist/digitalocean.js.map +5 -5
- package/dist/digitaloceanDns.d.ts +2 -2
- package/dist/digitaloceanDns.js +16 -8
- package/dist/digitaloceanDns.js.map +6 -6
- package/dist/digitaloceanEphemeralInfrastructure.js +16 -8
- package/dist/digitaloceanEphemeralInfrastructure.js.map +5 -5
- package/dist/digitaloceanInfrastructure.js +16 -8
- package/dist/digitaloceanInfrastructure.js.map +6 -6
- package/dist/digitaloceanIngress.js +16 -8
- package/dist/digitaloceanIngress.js.map +5 -5
- package/dist/dns.d.ts +1 -1
- package/dist/dns.js +9 -7
- package/dist/dns.js.map +3 -3
- package/dist/edgeIngress.js +11 -9
- package/dist/edgeIngress.js.map +2 -2
- package/dist/env.d.ts +1 -1
- package/dist/env.js +13 -11
- package/dist/env.js.map +3 -3
- package/dist/gcp.js +99 -93
- package/dist/gcp.js.map +3 -3
- package/dist/gcpIngress.js +93 -91
- package/dist/gcpIngress.js.map +2 -2
- package/dist/googlePlay.d.ts +10 -2
- package/dist/googlePlay.js +96 -91
- package/dist/googlePlay.js.map +3 -3
- package/dist/hetzner.d.ts +3 -3
- package/dist/hetzner.js +21 -13
- package/dist/hetzner.js.map +5 -5
- package/dist/hetznerDns.d.ts +2 -2
- package/dist/hetznerDns.js +11 -9
- package/dist/hetznerDns.js.map +3 -3
- package/dist/hetznerInfrastructure.js +16 -8
- package/dist/hetznerInfrastructure.js.map +7 -7
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1347 -284
- package/dist/index.js.map +10 -8
- package/dist/linode.d.ts +3 -3
- package/dist/linode.js +21 -13
- package/dist/linode.js.map +5 -5
- package/dist/linodeInfrastructure.js +21 -9
- package/dist/linodeInfrastructure.js.map +7 -7
- package/dist/managedPreview.js +9 -7
- package/dist/managedPreview.js.map +2 -2
- package/dist/mobileUpdate.d.ts +109 -0
- package/dist/mobileUpdate.js +464 -0
- package/dist/mobileUpdate.js.map +10 -0
- package/dist/nativeRelease.d.ts +17 -1
- package/dist/nativeRelease.js +63 -22
- package/dist/nativeRelease.js.map +3 -3
- package/dist/preview.d.ts +3 -3
- package/dist/preview.js +15 -10
- package/dist/preview.js.map +3 -3
- package/dist/processManagers.d.ts +4 -4
- package/dist/releaseArtifact.js +12 -10
- package/dist/releaseArtifact.js.map +2 -2
- package/dist/route53.d.ts +2 -2
- package/dist/route53.js +9 -7
- package/dist/route53.js.map +3 -3
- package/dist/targets.d.ts +1 -1
- package/dist/tls.d.ts +5 -5
- package/dist/tls.js +23 -18
- package/dist/tls.js.map +3 -3
- package/dist/vultr.d.ts +4 -4
- package/dist/vultr.js +21 -13
- package/dist/vultr.js.map +5 -5
- package/dist/vultrInfrastructure.js +16 -8
- package/dist/vultrInfrastructure.js.map +7 -7
- package/package.json +12 -2
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import type { NativeReleaseBlobStore, NativeReleasePublication } from "./nativeRelease";
|
|
2
|
+
declare const RECEIPT_FORMAT: 1;
|
|
3
|
+
export type AppStoreConnectAuth = {
|
|
4
|
+
issuerId: string;
|
|
5
|
+
keyId: string;
|
|
6
|
+
privateKey: string;
|
|
7
|
+
};
|
|
8
|
+
export type AppStoreConnectReleaseTarget = {
|
|
9
|
+
groups?: readonly string[];
|
|
10
|
+
submitForReview?: boolean;
|
|
11
|
+
whatsNew?: readonly {
|
|
12
|
+
locale: string;
|
|
13
|
+
text: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
export type AppStoreConnectReleaseIntent = {
|
|
17
|
+
groups: string[];
|
|
18
|
+
submitForReview: boolean;
|
|
19
|
+
whatsNew: Array<{
|
|
20
|
+
locale: string;
|
|
21
|
+
text: string;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
|
24
|
+
export type AppStoreConnectBuild = {
|
|
25
|
+
id: string;
|
|
26
|
+
processingState: "PROCESSING" | "FAILED" | "INVALID" | "VALID";
|
|
27
|
+
version: string;
|
|
28
|
+
};
|
|
29
|
+
export type AppStoreConnectBuildUpload = {
|
|
30
|
+
id: string;
|
|
31
|
+
state: "AWAITING_UPLOAD" | "PROCESSING" | "FAILED" | "COMPLETE";
|
|
32
|
+
};
|
|
33
|
+
export type AppStoreConnectTestFlightGroup = {
|
|
34
|
+
id: string;
|
|
35
|
+
isInternal: boolean;
|
|
36
|
+
name: string;
|
|
37
|
+
};
|
|
38
|
+
export type AppStoreConnectReleaseReceipt = {
|
|
39
|
+
appleAppId: string;
|
|
40
|
+
buildId?: string;
|
|
41
|
+
buildNumber: number;
|
|
42
|
+
buildUploadFileId?: string;
|
|
43
|
+
buildUploadId?: string;
|
|
44
|
+
format: typeof RECEIPT_FORMAT;
|
|
45
|
+
intent: AppStoreConnectReleaseIntent;
|
|
46
|
+
marketingVersion: string;
|
|
47
|
+
provider: "app-store-connect";
|
|
48
|
+
releaseId: string;
|
|
49
|
+
sha256: string;
|
|
50
|
+
stage: "preparing" | "uploading" | "processing" | "distributed" | "review-submitted";
|
|
51
|
+
updatedAt: string;
|
|
52
|
+
};
|
|
53
|
+
export type AppStoreConnectClient = {
|
|
54
|
+
addBuildToGroup(options: {
|
|
55
|
+
buildId: string;
|
|
56
|
+
groupId: string;
|
|
57
|
+
signal?: AbortSignal;
|
|
58
|
+
}): Promise<void>;
|
|
59
|
+
commitBuildUploadFile(options: {
|
|
60
|
+
fileId: string;
|
|
61
|
+
sha256: string;
|
|
62
|
+
signal?: AbortSignal;
|
|
63
|
+
}): Promise<void>;
|
|
64
|
+
createBuildUpload(options: {
|
|
65
|
+
appId: string;
|
|
66
|
+
buildNumber: number;
|
|
67
|
+
marketingVersion: string;
|
|
68
|
+
signal?: AbortSignal;
|
|
69
|
+
}): Promise<AppStoreConnectBuildUpload>;
|
|
70
|
+
createBuildUploadFile(options: {
|
|
71
|
+
buildUploadId: string;
|
|
72
|
+
bytes: number;
|
|
73
|
+
fileName: string;
|
|
74
|
+
signal?: AbortSignal;
|
|
75
|
+
}): Promise<string>;
|
|
76
|
+
findAppId(options: {
|
|
77
|
+
bundleId: string;
|
|
78
|
+
signal?: AbortSignal;
|
|
79
|
+
}): Promise<string>;
|
|
80
|
+
findBuild(options: {
|
|
81
|
+
appId: string;
|
|
82
|
+
buildNumber: number;
|
|
83
|
+
signal?: AbortSignal;
|
|
84
|
+
}): Promise<AppStoreConnectBuild | null>;
|
|
85
|
+
findBuildUploadFile(options: {
|
|
86
|
+
buildUploadId: string;
|
|
87
|
+
signal?: AbortSignal;
|
|
88
|
+
}): Promise<string | null>;
|
|
89
|
+
findBuildUpload(options: {
|
|
90
|
+
appId: string;
|
|
91
|
+
buildNumber: number;
|
|
92
|
+
marketingVersion: string;
|
|
93
|
+
signal?: AbortSignal;
|
|
94
|
+
}): Promise<AppStoreConnectBuildUpload | null>;
|
|
95
|
+
getBuildUpload(options: {
|
|
96
|
+
buildUploadId: string;
|
|
97
|
+
signal?: AbortSignal;
|
|
98
|
+
}): Promise<AppStoreConnectBuildUpload>;
|
|
99
|
+
hasBetaReviewSubmission(options: {
|
|
100
|
+
buildId: string;
|
|
101
|
+
signal?: AbortSignal;
|
|
102
|
+
}): Promise<boolean>;
|
|
103
|
+
listBuildNumbers(options: {
|
|
104
|
+
appId: string;
|
|
105
|
+
signal?: AbortSignal;
|
|
106
|
+
}): Promise<number[]>;
|
|
107
|
+
resolveGroups(options: {
|
|
108
|
+
appId: string;
|
|
109
|
+
groups: readonly string[];
|
|
110
|
+
signal?: AbortSignal;
|
|
111
|
+
}): Promise<AppStoreConnectTestFlightGroup[]>;
|
|
112
|
+
submitBetaReview(options: {
|
|
113
|
+
buildId: string;
|
|
114
|
+
signal?: AbortSignal;
|
|
115
|
+
}): Promise<void>;
|
|
116
|
+
uploadBuildFile(options: {
|
|
117
|
+
artifactPath: string;
|
|
118
|
+
fileId: string;
|
|
119
|
+
signal?: AbortSignal;
|
|
120
|
+
}): Promise<void>;
|
|
121
|
+
upsertWhatsNew(options: {
|
|
122
|
+
buildId: string;
|
|
123
|
+
locale: string;
|
|
124
|
+
signal?: AbortSignal;
|
|
125
|
+
text: string;
|
|
126
|
+
}): Promise<void>;
|
|
127
|
+
};
|
|
128
|
+
type NativePublisherBase = {
|
|
129
|
+
publish(options: {
|
|
130
|
+
allowUnsigned?: boolean;
|
|
131
|
+
channel?: string;
|
|
132
|
+
releaseRoot: string;
|
|
133
|
+
signal?: AbortSignal;
|
|
134
|
+
[key: string]: unknown;
|
|
135
|
+
}): Promise<NativeReleasePublication>;
|
|
136
|
+
};
|
|
137
|
+
export type AppStoreConnectReleasePublisherOptions = {
|
|
138
|
+
auth?: AppStoreConnectAuth;
|
|
139
|
+
client?: AppStoreConnectClient;
|
|
140
|
+
clock?: () => Date;
|
|
141
|
+
maxWaitMs?: number;
|
|
142
|
+
pollIntervalMs?: number;
|
|
143
|
+
receiptPrefix?: string;
|
|
144
|
+
receiptStore: NativeReleaseBlobStore;
|
|
145
|
+
registry: NativePublisherBase;
|
|
146
|
+
target?: AppStoreConnectReleaseTarget;
|
|
147
|
+
};
|
|
148
|
+
export type AppStoreConnectNativeReleasePublication = NativeReleasePublication & {
|
|
149
|
+
appStoreConnect?: {
|
|
150
|
+
receipt: AppStoreConnectReleaseReceipt;
|
|
151
|
+
reused: boolean;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
export type AppStoreConnectNativeReleasePublisher = Omit<NativePublisherBase, "publish"> & {
|
|
155
|
+
prepareIosRelease(options: {
|
|
156
|
+
buildIdentity: string;
|
|
157
|
+
bundleId: string;
|
|
158
|
+
marketingVersion: string;
|
|
159
|
+
signal?: AbortSignal;
|
|
160
|
+
}): Promise<{
|
|
161
|
+
buildNumber: number;
|
|
162
|
+
}>;
|
|
163
|
+
publish(options: {
|
|
164
|
+
allowUnsigned?: boolean;
|
|
165
|
+
appStoreConnect?: AppStoreConnectReleaseTarget;
|
|
166
|
+
channel?: string;
|
|
167
|
+
releaseRoot: string;
|
|
168
|
+
signal?: AbortSignal;
|
|
169
|
+
[key: string]: unknown;
|
|
170
|
+
}): Promise<AppStoreConnectNativeReleasePublication>;
|
|
171
|
+
};
|
|
172
|
+
export declare class AppStoreConnectReleaseError extends Error {
|
|
173
|
+
readonly status?: number;
|
|
174
|
+
constructor(message: string, status?: number);
|
|
175
|
+
}
|
|
176
|
+
export declare const createAppStoreConnectClient: (options: {
|
|
177
|
+
auth: AppStoreConnectAuth;
|
|
178
|
+
clock?: () => Date;
|
|
179
|
+
fetch?: typeof fetch;
|
|
180
|
+
}) => AppStoreConnectClient;
|
|
181
|
+
export declare const createAppStoreConnectReleasePublisher: (options: AppStoreConnectReleasePublisherOptions) => AppStoreConnectNativeReleasePublisher;
|
|
182
|
+
export {};
|