@expo/eas-build-job 1.0.218 → 1.0.221

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
@@ -58,52 +58,22 @@ export type ArchiveSource = {
58
58
  gitCommitHash: string;
59
59
  };
60
60
  export declare const ArchiveSourceSchema: Joi.ObjectSchema<ArchiveSource>;
61
- export declare const ArchiveSourceSchemaZ: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
61
+ export declare const ArchiveSourceSchemaZ: z.ZodDiscriminatedUnion<[z.ZodObject<{
62
62
  type: z.ZodLiteral<ArchiveSourceType.GIT>;
63
63
  repositoryUrl: z.ZodString;
64
64
  gitRef: z.ZodNullable<z.ZodString>;
65
65
  gitCommitHash: z.ZodString;
66
- }, "strip", z.ZodTypeAny, {
67
- type: ArchiveSourceType.GIT;
68
- repositoryUrl: string;
69
- gitRef: string | null;
70
- gitCommitHash: string;
71
- }, {
72
- type: ArchiveSourceType.GIT;
73
- repositoryUrl: string;
74
- gitRef: string | null;
75
- gitCommitHash: string;
76
- }>, z.ZodObject<{
66
+ }, z.core.$strip>, z.ZodObject<{
77
67
  type: z.ZodLiteral<ArchiveSourceType.PATH>;
78
68
  path: z.ZodString;
79
- }, "strip", z.ZodTypeAny, {
80
- path: string;
81
- type: ArchiveSourceType.PATH;
82
- }, {
83
- path: string;
84
- type: ArchiveSourceType.PATH;
85
- }>, z.ZodObject<{
69
+ }, z.core.$strip>, z.ZodObject<{
86
70
  type: z.ZodLiteral<ArchiveSourceType.URL>;
87
71
  url: z.ZodString;
88
- }, "strip", z.ZodTypeAny, {
89
- type: ArchiveSourceType.URL;
90
- url: string;
91
- }, {
92
- type: ArchiveSourceType.URL;
93
- url: string;
94
- }>, z.ZodObject<{
72
+ }, z.core.$strip>, z.ZodObject<{
95
73
  type: z.ZodLiteral<ArchiveSourceType.GCS>;
96
74
  bucketKey: z.ZodString;
97
75
  metadataLocation: z.ZodOptional<z.ZodString>;
98
- }, "strip", z.ZodTypeAny, {
99
- type: ArchiveSourceType.GCS;
100
- bucketKey: string;
101
- metadataLocation?: string | undefined;
102
- }, {
103
- type: ArchiveSourceType.GCS;
104
- bucketKey: string;
105
- metadataLocation?: string | undefined;
106
- }>]>;
76
+ }, z.core.$strip>], "type">;
107
77
  export type Env = Record<string, string>;
108
78
  export declare const EnvSchema: Joi.ObjectSchema<any>;
109
79
  export type EnvironmentSecret = {
@@ -119,16 +89,8 @@ export declare const EnvironmentSecretsSchema: Joi.ArraySchema<any[]>;
119
89
  export declare const EnvironmentSecretZ: z.ZodObject<{
120
90
  name: z.ZodString;
121
91
  value: z.ZodString;
122
- type: z.ZodNativeEnum<typeof EnvironmentSecretType>;
123
- }, "strip", z.ZodTypeAny, {
124
- name: string;
125
- type: EnvironmentSecretType;
126
- value: string;
127
- }, {
128
- name: string;
129
- type: EnvironmentSecretType;
130
- value: string;
131
- }>;
92
+ type: z.ZodEnum<typeof EnvironmentSecretType>;
93
+ }, z.core.$strip>;
132
94
  export interface Cache {
133
95
  disabled: boolean;
134
96
  clear: boolean;
@@ -153,27 +115,20 @@ export declare const StaticWorkflowInterpolationContextZ: z.ZodObject<{
153
115
  after: z.ZodRecord<z.ZodString, z.ZodObject<{
154
116
  status: z.ZodString;
155
117
  outputs: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
156
- }, "strip", z.ZodTypeAny, {
157
- status: string;
158
- outputs: Record<string, string | null>;
159
- }, {
160
- status: string;
161
- outputs: Record<string, string | null>;
162
- }>>;
118
+ }, z.core.$strip>>;
163
119
  needs: z.ZodRecord<z.ZodString, z.ZodObject<{
164
120
  status: z.ZodString;
165
121
  outputs: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
166
- }, "strip", z.ZodTypeAny, {
167
- status: string;
168
- outputs: Record<string, string | null>;
169
- }, {
170
- status: string;
171
- outputs: Record<string, string | null>;
172
- }>>;
173
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
122
+ }, z.core.$strip>>;
123
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
174
124
  github: z.ZodOptional<z.ZodObject<{
175
125
  triggering_actor: z.ZodOptional<z.ZodString>;
176
- event_name: z.ZodEnum<["push", "pull_request", "workflow_dispatch", "schedule"]>;
126
+ event_name: z.ZodEnum<{
127
+ push: "push";
128
+ pull_request: "pull_request";
129
+ workflow_dispatch: "workflow_dispatch";
130
+ schedule: "schedule";
131
+ }>;
177
132
  sha: z.ZodString;
178
133
  ref: z.ZodString;
179
134
  ref_name: z.ZodString;
@@ -185,220 +140,26 @@ export declare const StaticWorkflowInterpolationContextZ: z.ZodObject<{
185
140
  event: z.ZodOptional<z.ZodObject<{
186
141
  label: z.ZodOptional<z.ZodObject<{
187
142
  name: z.ZodString;
188
- }, "strip", z.ZodTypeAny, {
189
- name: string;
190
- }, {
191
- name: string;
192
- }>>;
143
+ }, z.core.$strip>>;
193
144
  head_commit: z.ZodOptional<z.ZodObject<{
194
145
  message: z.ZodString;
195
146
  id: z.ZodString;
196
- }, "strip", z.ZodTypeAny, {
197
- id: string;
198
- message: string;
199
- }, {
200
- id: string;
201
- message: string;
202
- }>>;
147
+ }, z.core.$strip>>;
203
148
  pull_request: z.ZodOptional<z.ZodObject<{
204
149
  number: z.ZodNumber;
205
- }, "strip", z.ZodTypeAny, {
206
- number: number;
207
- }, {
208
- number: number;
209
- }>>;
150
+ }, z.core.$strip>>;
210
151
  number: z.ZodOptional<z.ZodNumber>;
211
152
  schedule: z.ZodOptional<z.ZodString>;
212
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
213
- }, "strip", z.ZodTypeAny, {
214
- number?: number | undefined;
215
- inputs?: Record<string, string | number | boolean> | undefined;
216
- pull_request?: {
217
- number: number;
218
- } | undefined;
219
- schedule?: string | undefined;
220
- label?: {
221
- name: string;
222
- } | undefined;
223
- head_commit?: {
224
- id: string;
225
- message: string;
226
- } | undefined;
227
- }, {
228
- number?: number | undefined;
229
- inputs?: Record<string, string | number | boolean> | undefined;
230
- pull_request?: {
231
- number: number;
232
- } | undefined;
233
- schedule?: string | undefined;
234
- label?: {
235
- name: string;
236
- } | undefined;
237
- head_commit?: {
238
- id: string;
239
- message: string;
240
- } | undefined;
241
- }>>;
242
- }, "strip", z.ZodTypeAny, {
243
- event_name: "push" | "pull_request" | "workflow_dispatch" | "schedule";
244
- sha: string;
245
- ref: string;
246
- ref_name: string;
247
- ref_type: string;
248
- triggering_actor?: string | undefined;
249
- commit_message?: string | undefined;
250
- label?: string | undefined;
251
- repository?: string | undefined;
252
- repository_owner?: string | undefined;
253
- event?: {
254
- number?: number | undefined;
255
- inputs?: Record<string, string | number | boolean> | undefined;
256
- pull_request?: {
257
- number: number;
258
- } | undefined;
259
- schedule?: string | undefined;
260
- label?: {
261
- name: string;
262
- } | undefined;
263
- head_commit?: {
264
- id: string;
265
- message: string;
266
- } | undefined;
267
- } | undefined;
268
- }, {
269
- event_name: "push" | "pull_request" | "workflow_dispatch" | "schedule";
270
- sha: string;
271
- ref: string;
272
- ref_name: string;
273
- ref_type: string;
274
- triggering_actor?: string | undefined;
275
- commit_message?: string | undefined;
276
- label?: string | undefined;
277
- repository?: string | undefined;
278
- repository_owner?: string | undefined;
279
- event?: {
280
- number?: number | undefined;
281
- inputs?: Record<string, string | number | boolean> | undefined;
282
- pull_request?: {
283
- number: number;
284
- } | undefined;
285
- schedule?: string | undefined;
286
- label?: {
287
- name: string;
288
- } | undefined;
289
- head_commit?: {
290
- id: string;
291
- message: string;
292
- } | undefined;
293
- } | undefined;
294
- }>>;
153
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
154
+ }, z.core.$strip>>;
155
+ }, z.core.$strip>>;
295
156
  workflow: z.ZodObject<{
296
157
  id: z.ZodString;
297
158
  name: z.ZodString;
298
159
  filename: z.ZodString;
299
160
  url: z.ZodString;
300
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
301
- id: z.ZodString;
302
- name: z.ZodString;
303
- filename: z.ZodString;
304
- url: z.ZodString;
305
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
306
- id: z.ZodString;
307
- name: z.ZodString;
308
- filename: z.ZodString;
309
- url: z.ZodString;
310
- }, z.ZodTypeAny, "passthrough">>;
311
- }, "strip", z.ZodTypeAny, {
312
- after: Record<string, {
313
- status: string;
314
- outputs: Record<string, string | null>;
315
- }>;
316
- needs: Record<string, {
317
- status: string;
318
- outputs: Record<string, string | null>;
319
- }>;
320
- workflow: {
321
- id: string;
322
- name: string;
323
- url: string;
324
- filename: string;
325
- } & {
326
- [k: string]: unknown;
327
- };
328
- inputs?: Record<string, string | number | boolean> | undefined;
329
- github?: {
330
- event_name: "push" | "pull_request" | "workflow_dispatch" | "schedule";
331
- sha: string;
332
- ref: string;
333
- ref_name: string;
334
- ref_type: string;
335
- triggering_actor?: string | undefined;
336
- commit_message?: string | undefined;
337
- label?: string | undefined;
338
- repository?: string | undefined;
339
- repository_owner?: string | undefined;
340
- event?: {
341
- number?: number | undefined;
342
- inputs?: Record<string, string | number | boolean> | undefined;
343
- pull_request?: {
344
- number: number;
345
- } | undefined;
346
- schedule?: string | undefined;
347
- label?: {
348
- name: string;
349
- } | undefined;
350
- head_commit?: {
351
- id: string;
352
- message: string;
353
- } | undefined;
354
- } | undefined;
355
- } | undefined;
356
- }, {
357
- after: Record<string, {
358
- status: string;
359
- outputs: Record<string, string | null>;
360
- }>;
361
- needs: Record<string, {
362
- status: string;
363
- outputs: Record<string, string | null>;
364
- }>;
365
- workflow: {
366
- id: string;
367
- name: string;
368
- url: string;
369
- filename: string;
370
- } & {
371
- [k: string]: unknown;
372
- };
373
- inputs?: Record<string, string | number | boolean> | undefined;
374
- github?: {
375
- event_name: "push" | "pull_request" | "workflow_dispatch" | "schedule";
376
- sha: string;
377
- ref: string;
378
- ref_name: string;
379
- ref_type: string;
380
- triggering_actor?: string | undefined;
381
- commit_message?: string | undefined;
382
- label?: string | undefined;
383
- repository?: string | undefined;
384
- repository_owner?: string | undefined;
385
- event?: {
386
- number?: number | undefined;
387
- inputs?: Record<string, string | number | boolean> | undefined;
388
- pull_request?: {
389
- number: number;
390
- } | undefined;
391
- schedule?: string | undefined;
392
- label?: {
393
- name: string;
394
- } | undefined;
395
- head_commit?: {
396
- id: string;
397
- message: string;
398
- } | undefined;
399
- } | undefined;
400
- } | undefined;
401
- }>;
161
+ }, z.core.$loose>;
162
+ }, z.core.$strip>;
402
163
  export type StaticWorkflowInterpolationContext = z.infer<typeof StaticWorkflowInterpolationContextZ>;
403
164
  export type DynamicInterpolationContext = {
404
165
  env: Record<string, string | undefined>;