@expo/eas-build-job 18.5.0 → 18.6.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/common.d.ts CHANGED
@@ -207,6 +207,26 @@ export declare const StaticWorkflowInterpolationContextZ: z.ZodObject<{
207
207
  app: z.ZodObject<{
208
208
  id: z.ZodString;
209
209
  }, z.core.$loose>;
210
+ app_version: z.ZodOptional<z.ZodObject<{
211
+ id: z.ZodString;
212
+ state: z.ZodEnum<{
213
+ accepted: "accepted";
214
+ developer_rejected: "developer_rejected";
215
+ in_review: "in_review";
216
+ invalid_binary: "invalid_binary";
217
+ metadata_rejected: "metadata_rejected";
218
+ pending_apple_release: "pending_apple_release";
219
+ pending_developer_release: "pending_developer_release";
220
+ prepare_for_submission: "prepare_for_submission";
221
+ processing_for_distribution: "processing_for_distribution";
222
+ ready_for_distribution: "ready_for_distribution";
223
+ ready_for_review: "ready_for_review";
224
+ rejected: "rejected";
225
+ replaced_with_new_version: "replaced_with_new_version";
226
+ waiting_for_export_compliance: "waiting_for_export_compliance";
227
+ waiting_for_review: "waiting_for_review";
228
+ }>;
229
+ }, z.core.$loose>>;
210
230
  build_upload: z.ZodOptional<z.ZodObject<{
211
231
  id: z.ZodString;
212
232
  state: z.ZodEnum<{
@@ -216,6 +236,31 @@ export declare const StaticWorkflowInterpolationContextZ: z.ZodObject<{
216
236
  complete: "complete";
217
237
  }>;
218
238
  }, z.core.$loose>>;
239
+ external_beta: z.ZodOptional<z.ZodObject<{
240
+ id: z.ZodString;
241
+ state: z.ZodEnum<{
242
+ processing: "processing";
243
+ processing_exception: "processing_exception";
244
+ missing_export_compliance: "missing_export_compliance";
245
+ ready_for_beta_testing: "ready_for_beta_testing";
246
+ in_beta_testing: "in_beta_testing";
247
+ expired: "expired";
248
+ ready_for_beta_submission: "ready_for_beta_submission";
249
+ in_export_compliance_review: "in_export_compliance_review";
250
+ waiting_for_beta_review: "waiting_for_beta_review";
251
+ in_beta_review: "in_beta_review";
252
+ beta_rejected: "beta_rejected";
253
+ beta_approved: "beta_approved";
254
+ }>;
255
+ }, z.core.$loose>>;
256
+ beta_feedback: z.ZodOptional<z.ZodObject<{
257
+ id: z.ZodString;
258
+ type: z.ZodEnum<{
259
+ crash: "crash";
260
+ screenshot: "screenshot";
261
+ }>;
262
+ url: z.ZodString;
263
+ }, z.core.$loose>>;
219
264
  }, z.core.$loose>>;
220
265
  }, z.core.$strip>;
221
266
  export type StaticWorkflowInterpolationContext = z.infer<typeof StaticWorkflowInterpolationContextZ>;
package/dist/common.js CHANGED
@@ -167,6 +167,65 @@ const GitHubContextZ = zod_1.z.object({
167
167
  }))
168
168
  .optional(),
169
169
  });
170
+ const AppStoreConnectContextZ = zod_1.z.looseObject({
171
+ app: zod_1.z.looseObject({
172
+ id: zod_1.z.string(),
173
+ }),
174
+ app_version: zod_1.z
175
+ .looseObject({
176
+ id: zod_1.z.string(),
177
+ state: zod_1.z.enum([
178
+ 'accepted',
179
+ 'developer_rejected',
180
+ 'in_review',
181
+ 'invalid_binary',
182
+ 'metadata_rejected',
183
+ 'pending_apple_release',
184
+ 'pending_developer_release',
185
+ 'prepare_for_submission',
186
+ 'processing_for_distribution',
187
+ 'ready_for_distribution',
188
+ 'ready_for_review',
189
+ 'rejected',
190
+ 'replaced_with_new_version',
191
+ 'waiting_for_export_compliance',
192
+ 'waiting_for_review',
193
+ ]),
194
+ })
195
+ .optional(),
196
+ build_upload: zod_1.z
197
+ .looseObject({
198
+ id: zod_1.z.string(),
199
+ state: zod_1.z.enum(['awaiting_upload', 'processing', 'failed', 'complete']),
200
+ })
201
+ .optional(),
202
+ external_beta: zod_1.z
203
+ .looseObject({
204
+ id: zod_1.z.string(),
205
+ state: zod_1.z.enum([
206
+ 'processing',
207
+ 'processing_exception',
208
+ 'missing_export_compliance',
209
+ 'ready_for_beta_testing',
210
+ 'in_beta_testing',
211
+ 'expired',
212
+ 'ready_for_beta_submission',
213
+ 'in_export_compliance_review',
214
+ 'waiting_for_beta_review',
215
+ 'in_beta_review',
216
+ 'beta_rejected',
217
+ 'beta_approved',
218
+ ]),
219
+ })
220
+ .optional(),
221
+ beta_feedback: zod_1.z
222
+ .looseObject({
223
+ id: zod_1.z.string(),
224
+ type: zod_1.z.enum(['crash', 'screenshot']),
225
+ url: zod_1.z.string(),
226
+ })
227
+ .optional(),
228
+ });
170
229
  exports.StaticWorkflowInterpolationContextZ = zod_1.z.object({
171
230
  after: zod_1.z.record(zod_1.z.string(), zod_1.z.object({
172
231
  status: zod_1.z.string(),
@@ -194,19 +253,8 @@ exports.StaticWorkflowInterpolationContextZ = zod_1.z.object({
194
253
  id: zod_1.z.string(),
195
254
  name: zod_1.z.string(),
196
255
  }),
197
- app_store_connect: zod_1.z
198
- .looseObject({
199
- app: zod_1.z.looseObject({
200
- id: zod_1.z.string(),
201
- }),
202
- build_upload: zod_1.z
203
- .looseObject({
204
- id: zod_1.z.string(),
205
- state: zod_1.z.enum(['awaiting_upload', 'processing', 'failed', 'complete']),
206
- })
207
- .optional(),
208
- })
209
- .optional(),
256
+ // We need to .optional() to support jobs that are not triggered by an App Store Connect event.
257
+ app_store_connect: AppStoreConnectContextZ.optional(),
210
258
  });
211
259
  exports.CustomBuildConfigSchema = joi_1.default.object().when('.mode', {
212
260
  is: [BuildMode.CUSTOM, BuildMode.REPACK],
package/dist/generic.d.ts CHANGED
@@ -108,6 +108,26 @@ export declare namespace Generic {
108
108
  app: z.ZodObject<{
109
109
  id: z.ZodString;
110
110
  }, z.core.$loose>;
111
+ app_version: z.ZodOptional<z.ZodObject<{
112
+ id: z.ZodString;
113
+ state: z.ZodEnum<{
114
+ accepted: "accepted";
115
+ developer_rejected: "developer_rejected";
116
+ in_review: "in_review";
117
+ invalid_binary: "invalid_binary";
118
+ metadata_rejected: "metadata_rejected";
119
+ pending_apple_release: "pending_apple_release";
120
+ pending_developer_release: "pending_developer_release";
121
+ prepare_for_submission: "prepare_for_submission";
122
+ processing_for_distribution: "processing_for_distribution";
123
+ ready_for_distribution: "ready_for_distribution";
124
+ ready_for_review: "ready_for_review";
125
+ rejected: "rejected";
126
+ replaced_with_new_version: "replaced_with_new_version";
127
+ waiting_for_export_compliance: "waiting_for_export_compliance";
128
+ waiting_for_review: "waiting_for_review";
129
+ }>;
130
+ }, z.core.$loose>>;
111
131
  build_upload: z.ZodOptional<z.ZodObject<{
112
132
  id: z.ZodString;
113
133
  state: z.ZodEnum<{
@@ -117,6 +137,31 @@ export declare namespace Generic {
117
137
  complete: "complete";
118
138
  }>;
119
139
  }, z.core.$loose>>;
140
+ external_beta: z.ZodOptional<z.ZodObject<{
141
+ id: z.ZodString;
142
+ state: z.ZodEnum<{
143
+ processing: "processing";
144
+ processing_exception: "processing_exception";
145
+ missing_export_compliance: "missing_export_compliance";
146
+ ready_for_beta_testing: "ready_for_beta_testing";
147
+ in_beta_testing: "in_beta_testing";
148
+ expired: "expired";
149
+ ready_for_beta_submission: "ready_for_beta_submission";
150
+ in_export_compliance_review: "in_export_compliance_review";
151
+ waiting_for_beta_review: "waiting_for_beta_review";
152
+ in_beta_review: "in_beta_review";
153
+ beta_rejected: "beta_rejected";
154
+ beta_approved: "beta_approved";
155
+ }>;
156
+ }, z.core.$loose>>;
157
+ beta_feedback: z.ZodOptional<z.ZodObject<{
158
+ id: z.ZodString;
159
+ type: z.ZodEnum<{
160
+ crash: "crash";
161
+ screenshot: "screenshot";
162
+ }>;
163
+ url: z.ZodString;
164
+ }, z.core.$loose>>;
120
165
  }, z.core.$loose>>;
121
166
  }, z.core.$strip>>;
122
167
  initiatingUserId: z.ZodString;
@@ -291,6 +336,26 @@ export declare namespace Generic {
291
336
  app: z.ZodObject<{
292
337
  id: z.ZodString;
293
338
  }, z.core.$loose>;
339
+ app_version: z.ZodOptional<z.ZodObject<{
340
+ id: z.ZodString;
341
+ state: z.ZodEnum<{
342
+ accepted: "accepted";
343
+ developer_rejected: "developer_rejected";
344
+ in_review: "in_review";
345
+ invalid_binary: "invalid_binary";
346
+ metadata_rejected: "metadata_rejected";
347
+ pending_apple_release: "pending_apple_release";
348
+ pending_developer_release: "pending_developer_release";
349
+ prepare_for_submission: "prepare_for_submission";
350
+ processing_for_distribution: "processing_for_distribution";
351
+ ready_for_distribution: "ready_for_distribution";
352
+ ready_for_review: "ready_for_review";
353
+ rejected: "rejected";
354
+ replaced_with_new_version: "replaced_with_new_version";
355
+ waiting_for_export_compliance: "waiting_for_export_compliance";
356
+ waiting_for_review: "waiting_for_review";
357
+ }>;
358
+ }, z.core.$loose>>;
294
359
  build_upload: z.ZodOptional<z.ZodObject<{
295
360
  id: z.ZodString;
296
361
  state: z.ZodEnum<{
@@ -300,6 +365,31 @@ export declare namespace Generic {
300
365
  complete: "complete";
301
366
  }>;
302
367
  }, z.core.$loose>>;
368
+ external_beta: z.ZodOptional<z.ZodObject<{
369
+ id: z.ZodString;
370
+ state: z.ZodEnum<{
371
+ processing: "processing";
372
+ processing_exception: "processing_exception";
373
+ missing_export_compliance: "missing_export_compliance";
374
+ ready_for_beta_testing: "ready_for_beta_testing";
375
+ in_beta_testing: "in_beta_testing";
376
+ expired: "expired";
377
+ ready_for_beta_submission: "ready_for_beta_submission";
378
+ in_export_compliance_review: "in_export_compliance_review";
379
+ waiting_for_beta_review: "waiting_for_beta_review";
380
+ in_beta_review: "in_beta_review";
381
+ beta_rejected: "beta_rejected";
382
+ beta_approved: "beta_approved";
383
+ }>;
384
+ }, z.core.$loose>>;
385
+ beta_feedback: z.ZodOptional<z.ZodObject<{
386
+ id: z.ZodString;
387
+ type: z.ZodEnum<{
388
+ crash: "crash";
389
+ screenshot: "screenshot";
390
+ }>;
391
+ url: z.ZodString;
392
+ }, z.core.$loose>>;
303
393
  }, z.core.$loose>>;
304
394
  }, z.core.$strip>>>;
305
395
  initiatingUserId: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/eas-build-job",
3
- "version": "18.5.0",
3
+ "version": "18.6.0",
4
4
  "bugs": "https://github.com/expo/eas-cli/issues",
5
5
  "license": "MIT",
6
6
  "author": "Expo <support@expo.io>",
@@ -38,5 +38,5 @@
38
38
  "ts-jest": "^29.1.4",
39
39
  "typescript": "^5.5.4"
40
40
  },
41
- "gitHead": "2e2dddb59ae9df5ad2395c74f77701341103b62e"
41
+ "gitHead": "0fb6dfc334f0e496d701ff2afad0d15da9a83478"
42
42
  }