eas-cli 12.5.4 → 12.6.1
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 +131 -60
- package/build/build/evaluateConfigWithEnvVarsAsync.js +27 -11
- package/build/channel/queries.js +12 -3
- package/build/commandUtils/EasCommand.d.ts +36 -5
- package/build/commandUtils/EasCommand.js +27 -2
- package/build/commandUtils/context/ContextField.d.ts +5 -0
- package/build/commandUtils/context/DynamicLoggedInContextField.d.ts +14 -0
- package/build/commandUtils/context/DynamicLoggedInContextField.js +25 -0
- package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +2 -2
- package/build/commandUtils/context/DynamicProjectConfigContextField.js +40 -2
- package/build/commandUtils/context/LoggedInContextField.d.ts +7 -7
- package/build/commandUtils/context/LoggedInContextField.js +2 -1
- package/build/commandUtils/context/MaybeLoggedInContextField.d.ts +9 -7
- package/build/commandUtils/context/MaybeLoggedInContextField.js +1 -0
- package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.d.ts +1 -1
- package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.js +17 -2
- package/build/commandUtils/context/PrivateProjectConfigContextField.d.ts +1 -1
- package/build/commandUtils/context/PrivateProjectConfigContextField.js +17 -2
- package/build/commandUtils/context/ProjectIdContextField.d.ts +4 -0
- package/build/commandUtils/context/ProjectIdContextField.js +19 -0
- package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.d.ts +6 -0
- package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.js +36 -0
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.d.ts +7 -0
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.js +42 -0
- package/build/commands/account/view.d.ts +0 -1
- package/build/commands/account/view.js +2 -3
- package/build/commands/branch/create.d.ts +1 -1
- package/build/commands/branch/create.js +2 -2
- package/build/commands/branch/delete.d.ts +1 -1
- package/build/commands/branch/delete.js +2 -2
- package/build/commands/branch/list.d.ts +1 -1
- package/build/commands/branch/list.js +2 -2
- package/build/commands/branch/rename.d.ts +1 -1
- package/build/commands/branch/rename.js +2 -2
- package/build/commands/branch/view.d.ts +1 -1
- package/build/commands/branch/view.js +2 -2
- package/build/commands/build/cancel.d.ts +1 -1
- package/build/commands/build/cancel.js +2 -2
- package/build/commands/build/configure.js +1 -0
- package/build/commands/build/delete.d.ts +1 -1
- package/build/commands/build/delete.js +2 -2
- package/build/commands/build/index.js +1 -0
- package/build/commands/build/inspect.js +1 -0
- package/build/commands/build/internal.js +1 -0
- package/build/commands/build/list.d.ts +1 -1
- package/build/commands/build/list.js +2 -2
- package/build/commands/build/resign.js +1 -0
- package/build/commands/build/run.d.ts +1 -2
- package/build/commands/build/run.js +2 -3
- package/build/commands/build/version/get.js +1 -0
- package/build/commands/build/version/set.js +1 -0
- package/build/commands/build/version/sync.js +1 -0
- package/build/commands/build/view.d.ts +1 -1
- package/build/commands/build/view.js +2 -2
- package/build/commands/channel/create.d.ts +1 -1
- package/build/commands/channel/create.js +2 -2
- package/build/commands/channel/delete.d.ts +1 -1
- package/build/commands/channel/delete.js +2 -2
- package/build/commands/channel/edit.d.ts +1 -1
- package/build/commands/channel/edit.js +2 -2
- package/build/commands/channel/list.d.ts +1 -1
- package/build/commands/channel/list.js +2 -2
- package/build/commands/channel/pause.d.ts +22 -0
- package/build/commands/channel/pause.js +90 -0
- package/build/commands/channel/resume.d.ts +22 -0
- package/build/commands/channel/resume.js +90 -0
- package/build/commands/channel/rollout.js +1 -0
- package/build/commands/channel/view.d.ts +1 -1
- package/build/commands/channel/view.js +2 -2
- package/build/commands/config.d.ts +1 -1
- package/build/commands/config.js +4 -7
- package/build/commands/credentials/configure-build.js +1 -0
- package/build/commands/credentials/index.d.ts +1 -1
- package/build/commands/credentials/index.js +2 -1
- package/build/commands/device/create.d.ts +1 -1
- package/build/commands/device/create.js +2 -1
- package/build/commands/device/delete.d.ts +1 -1
- package/build/commands/device/delete.js +2 -2
- package/build/commands/device/list.d.ts +1 -1
- package/build/commands/device/list.js +2 -2
- package/build/commands/device/rename.d.ts +1 -1
- package/build/commands/device/rename.js +2 -2
- package/build/commands/device/view.d.ts +1 -1
- package/build/commands/device/view.js +2 -2
- package/build/commands/env/create.d.ts +1 -1
- package/build/commands/env/create.js +8 -3
- package/build/commands/env/delete.d.ts +1 -1
- package/build/commands/env/delete.js +2 -2
- package/build/commands/env/exec.d.ts +1 -1
- package/build/commands/env/exec.js +2 -2
- package/build/commands/env/get.d.ts +1 -1
- package/build/commands/env/get.js +2 -2
- package/build/commands/env/link.d.ts +1 -1
- package/build/commands/env/link.js +2 -2
- package/build/commands/env/list.d.ts +1 -1
- package/build/commands/env/list.js +2 -2
- package/build/commands/env/pull.d.ts +2 -1
- package/build/commands/env/pull.js +22 -8
- package/build/commands/env/push.d.ts +1 -2
- package/build/commands/env/push.js +21 -10
- package/build/commands/env/unlink.d.ts +1 -1
- package/build/commands/env/unlink.js +2 -2
- package/build/commands/env/update.d.ts +1 -1
- package/build/commands/env/update.js +8 -6
- package/build/commands/metadata/pull.js +1 -0
- package/build/commands/metadata/push.js +1 -0
- package/build/commands/open.js +1 -0
- package/build/commands/project/info.d.ts +1 -1
- package/build/commands/project/info.js +2 -2
- package/build/commands/secret/create.d.ts +1 -1
- package/build/commands/secret/create.js +2 -2
- package/build/commands/secret/delete.d.ts +1 -1
- package/build/commands/secret/delete.js +2 -2
- package/build/commands/secret/list.d.ts +1 -1
- package/build/commands/secret/list.js +2 -2
- package/build/commands/secret/push.d.ts +1 -1
- package/build/commands/secret/push.js +2 -2
- package/build/commands/submit/internal.js +1 -0
- package/build/commands/submit.js +1 -0
- package/build/commands/update/configure.js +1 -0
- package/build/commands/update/edit.d.ts +2 -2
- package/build/commands/update/edit.js +41 -4
- package/build/commands/update/index.d.ts +2 -0
- package/build/commands/update/index.js +29 -3
- package/build/commands/update/list.d.ts +1 -1
- package/build/commands/update/list.js +2 -2
- package/build/commands/update/republish.js +1 -0
- package/build/commands/update/roll-back-to-embedded.js +1 -0
- package/build/commands/webhook/create.d.ts +1 -1
- package/build/commands/webhook/create.js +2 -2
- package/build/commands/webhook/delete.d.ts +1 -1
- package/build/commands/webhook/delete.js +2 -2
- package/build/commands/webhook/list.d.ts +1 -1
- package/build/commands/webhook/list.js +2 -2
- package/build/commands/worker/alias.js +1 -0
- package/build/commands/worker/deploy.js +1 -1
- package/build/graphql/generated.d.ts +147 -19
- package/build/graphql/generated.js +19 -2
- package/build/graphql/mutations/EnvironmentVariableMutation.d.ts +1 -0
- package/build/graphql/queries/ChannelQuery.js +2 -0
- package/build/project/publish.d.ts +2 -1
- package/build/project/publish.js +10 -4
- package/build/user/SessionManager.d.ts +1 -1
- package/build/utils/expoCli.d.ts +2 -1
- package/build/utils/expoCli.js +5 -1
- package/oclif.manifest.json +187 -82
- package/package.json +2 -2
|
@@ -15,8 +15,10 @@ export default class UpdatePublish extends EasCommand {
|
|
|
15
15
|
platform: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
16
16
|
auto: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
'private-key-path': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
18
|
+
'with-eas-environment-variables-set': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
18
19
|
};
|
|
19
20
|
static contextDefinition: {
|
|
21
|
+
getServerSideEnvironmentVariablesAsync: import("../../commandUtils/context/ServerSideEnvironmentVariablesContextField").ServerSideEnvironmentVariablesContextField;
|
|
20
22
|
vcsClient: import("../../commandUtils/context/VcsClientContextField").default;
|
|
21
23
|
loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
|
|
22
24
|
getDynamicPublicProjectConfigAsync: import("../../commandUtils/context/DynamicProjectConfigContextField").DynamicPublicProjectConfigContextField;
|
|
@@ -34,9 +34,10 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
34
34
|
async runAsync() {
|
|
35
35
|
const { flags: rawFlags } = await this.parse(_a);
|
|
36
36
|
const paginatedQueryOptions = (0, pagination_1.getPaginatedQueryOptions)(rawFlags);
|
|
37
|
-
const { auto: autoFlag, platform: requestedPlatform, channelName: channelNameArg, updateMessage: updateMessageArg, inputDir, skipBundler, clearCache, privateKeyPath, json: jsonFlag, nonInteractive, branchName: branchNameArg, emitMetadata, rolloutPercentage, } = this.sanitizeFlags(rawFlags);
|
|
38
|
-
const { getDynamicPublicProjectConfigAsync, getDynamicPrivateProjectConfigAsync, loggedIn: { graphqlClient }, vcsClient, } = await this.getContextAsync(_a, {
|
|
37
|
+
const { auto: autoFlag, platform: requestedPlatform, channelName: channelNameArg, updateMessage: updateMessageArg, inputDir, skipBundler, clearCache, privateKeyPath, json: jsonFlag, nonInteractive, branchName: branchNameArg, emitMetadata, rolloutPercentage, withEasEnvironmentVariablesSet, } = this.sanitizeFlags(rawFlags);
|
|
38
|
+
const { getDynamicPublicProjectConfigAsync, getDynamicPrivateProjectConfigAsync, loggedIn: { graphqlClient }, vcsClient, getServerSideEnvironmentVariablesAsync, } = await this.getContextAsync(_a, {
|
|
39
39
|
nonInteractive,
|
|
40
|
+
withServerSideEnvironment: withEasEnvironmentVariablesSet ?? null,
|
|
40
41
|
});
|
|
41
42
|
if (jsonFlag) {
|
|
42
43
|
(0, json_1.enableJsonOutput)();
|
|
@@ -82,6 +83,11 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
82
83
|
exp,
|
|
83
84
|
platformFlag: requestedPlatform,
|
|
84
85
|
clearCache,
|
|
86
|
+
extraEnv: {
|
|
87
|
+
...(withEasEnvironmentVariablesSet
|
|
88
|
+
? { ...(await getServerSideEnvironmentVariablesAsync()), EXPO_NO_DOTENV: '1' }
|
|
89
|
+
: {}),
|
|
90
|
+
},
|
|
85
91
|
});
|
|
86
92
|
bundleSpinner.succeed('Exported bundle(s)');
|
|
87
93
|
}
|
|
@@ -373,6 +379,12 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
373
379
|
emitMetadata = false;
|
|
374
380
|
log_1.default.warn('ignoring flag --emit-metadata as metadata cannot be generated when skipping bundle generation');
|
|
375
381
|
}
|
|
382
|
+
if (flags['with-eas-environment-variables-set'] &&
|
|
383
|
+
!Object.values(generated_1.EnvironmentVariableEnvironment).includes(flags['with-eas-environment-variables-set'])) {
|
|
384
|
+
core_1.Errors.error(`--with-eas-environment-variables-set must be one of ${Object.values(generated_1.EnvironmentVariableEnvironment)
|
|
385
|
+
.map(env => `"${env.toLocaleLowerCase()}"`)
|
|
386
|
+
.join(', ')}`, { exit: 1 });
|
|
387
|
+
}
|
|
376
388
|
return {
|
|
377
389
|
auto,
|
|
378
390
|
branchName,
|
|
@@ -380,13 +392,14 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
380
392
|
updateMessage,
|
|
381
393
|
inputDir: flags['input-dir'],
|
|
382
394
|
skipBundler,
|
|
383
|
-
clearCache: flags['clear-cache'],
|
|
395
|
+
clearCache: flags['clear-cache'] ? true : !!flags['with-eas-environment-variables-set'],
|
|
384
396
|
platform: flags.platform,
|
|
385
397
|
privateKeyPath: flags['private-key-path'],
|
|
386
398
|
rolloutPercentage: flags['rollout-percentage'],
|
|
387
399
|
nonInteractive,
|
|
388
400
|
emitMetadata,
|
|
389
401
|
json: flags.json ?? false,
|
|
402
|
+
withEasEnvironmentVariablesSet: flags['with-eas-environment-variables-set'],
|
|
390
403
|
};
|
|
391
404
|
}
|
|
392
405
|
}
|
|
@@ -447,11 +460,24 @@ UpdatePublish.flags = {
|
|
|
447
460
|
description: `File containing the PEM-encoded private key corresponding to the certificate in expo-updates' configuration. Defaults to a file named "private-key.pem" in the certificate's directory. Only relevant if you are using code signing: https://docs.expo.dev/eas-update/code-signing/`,
|
|
448
461
|
required: false,
|
|
449
462
|
}),
|
|
463
|
+
'with-eas-environment-variables-set': core_1.Flags.enum({
|
|
464
|
+
description: 'Environment to use for EAS environment variables',
|
|
465
|
+
options: [
|
|
466
|
+
generated_1.EnvironmentVariableEnvironment.Development,
|
|
467
|
+
generated_1.EnvironmentVariableEnvironment.Preview,
|
|
468
|
+
generated_1.EnvironmentVariableEnvironment.Production,
|
|
469
|
+
].map(env => env.toLowerCase()),
|
|
470
|
+
// eslint-disable-next-line async-protect/async-suffix
|
|
471
|
+
parse: async (input) => input.toUpperCase(),
|
|
472
|
+
required: false,
|
|
473
|
+
hidden: true,
|
|
474
|
+
}),
|
|
450
475
|
...flags_1.EasNonInteractiveAndJsonFlags,
|
|
451
476
|
};
|
|
452
477
|
UpdatePublish.contextDefinition = {
|
|
453
478
|
..._a.ContextOptions.DynamicProjectConfig,
|
|
454
479
|
..._a.ContextOptions.LoggedIn,
|
|
455
480
|
..._a.ContextOptions.Vcs,
|
|
481
|
+
..._a.ContextOptions.ServerSideEnvironmentVariables,
|
|
456
482
|
};
|
|
457
483
|
exports.default = UpdatePublish;
|
|
@@ -11,7 +11,7 @@ export default class UpdateList extends EasCommand {
|
|
|
11
11
|
};
|
|
12
12
|
static contextDefinition: {
|
|
13
13
|
loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
|
|
14
|
-
|
|
14
|
+
projectId: import("../../commandUtils/context/ProjectIdContextField").ProjectIdContextField;
|
|
15
15
|
};
|
|
16
16
|
runAsync(): Promise<void>;
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@ class UpdateList extends EasCommand_1.default {
|
|
|
13
13
|
async runAsync() {
|
|
14
14
|
const { flags } = await this.parse(_a);
|
|
15
15
|
const { branch: branchFlag, all, json: jsonFlag, 'non-interactive': nonInteractive } = flags;
|
|
16
|
-
const {
|
|
16
|
+
const { projectId, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
|
|
17
17
|
nonInteractive,
|
|
18
18
|
});
|
|
19
19
|
const paginatedQueryOptions = (0, pagination_1.getPaginatedQueryOptions)(flags);
|
|
@@ -79,7 +79,7 @@ UpdateList.flags = {
|
|
|
79
79
|
...flags_1.EasNonInteractiveAndJsonFlags,
|
|
80
80
|
};
|
|
81
81
|
UpdateList.contextDefinition = {
|
|
82
|
-
..._a.ContextOptions.
|
|
82
|
+
..._a.ContextOptions.ProjectId,
|
|
83
83
|
..._a.ContextOptions.LoggedIn,
|
|
84
84
|
};
|
|
85
85
|
exports.default = UpdateList;
|
|
@@ -25,6 +25,7 @@ class UpdateRepublish extends EasCommand_1.default {
|
|
|
25
25
|
const flags = this.sanitizeFlags(rawFlags);
|
|
26
26
|
const { privateProjectConfig: { exp, projectId }, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
|
|
27
27
|
nonInteractive: flags.nonInteractive,
|
|
28
|
+
withServerSideEnvironment: null,
|
|
28
29
|
});
|
|
29
30
|
if (flags.json) {
|
|
30
31
|
(0, json_1.enableJsonOutput)();
|
|
@@ -32,6 +32,7 @@ class UpdateRollBackToEmbedded extends EasCommand_1.default {
|
|
|
32
32
|
const { auto: autoFlag, platform: platformFlag, channelName: channelNameArg, updateMessage: updateMessageArg, privateKeyPath, json: jsonFlag, nonInteractive, branchName: branchNameArg, } = this.sanitizeFlags(rawFlags);
|
|
33
33
|
const { getDynamicPublicProjectConfigAsync, getDynamicPrivateProjectConfigAsync, loggedIn: { graphqlClient }, vcsClient, } = await this.getContextAsync(_a, {
|
|
34
34
|
nonInteractive,
|
|
35
|
+
withServerSideEnvironment: null,
|
|
35
36
|
});
|
|
36
37
|
if (jsonFlag) {
|
|
37
38
|
(0, json_1.enableJsonOutput)();
|
|
@@ -10,7 +10,7 @@ export default class WebhookCreate extends EasCommand {
|
|
|
10
10
|
};
|
|
11
11
|
static contextDefinition: {
|
|
12
12
|
loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
|
|
13
|
-
|
|
13
|
+
projectId: import("../../commandUtils/context/ProjectIdContextField").ProjectIdContextField;
|
|
14
14
|
};
|
|
15
15
|
runAsync(): Promise<void>;
|
|
16
16
|
}
|
|
@@ -12,7 +12,7 @@ const input_1 = require("../../webhooks/input");
|
|
|
12
12
|
class WebhookCreate extends EasCommand_1.default {
|
|
13
13
|
async runAsync() {
|
|
14
14
|
const { flags } = await this.parse(_a);
|
|
15
|
-
const {
|
|
15
|
+
const { projectId, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
|
|
16
16
|
nonInteractive: flags['non-interactive'],
|
|
17
17
|
});
|
|
18
18
|
const webhookInputParams = await (0, input_1.prepareInputParamsAsync)(flags);
|
|
@@ -43,7 +43,7 @@ WebhookCreate.flags = {
|
|
|
43
43
|
...flags_1.EASNonInteractiveFlag,
|
|
44
44
|
};
|
|
45
45
|
WebhookCreate.contextDefinition = {
|
|
46
|
-
..._a.ContextOptions.
|
|
46
|
+
..._a.ContextOptions.ProjectId,
|
|
47
47
|
..._a.ContextOptions.LoggedIn,
|
|
48
48
|
};
|
|
49
49
|
exports.default = WebhookCreate;
|
|
@@ -11,7 +11,7 @@ export default class WebhookDelete extends EasCommand {
|
|
|
11
11
|
};
|
|
12
12
|
static contextDefinition: {
|
|
13
13
|
loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
|
|
14
|
-
|
|
14
|
+
projectId: import("../../commandUtils/context/ProjectIdContextField").ProjectIdContextField;
|
|
15
15
|
};
|
|
16
16
|
runAsync(): Promise<void>;
|
|
17
17
|
}
|
|
@@ -16,7 +16,7 @@ const formatWebhook_1 = require("../../webhooks/formatWebhook");
|
|
|
16
16
|
class WebhookDelete extends EasCommand_1.default {
|
|
17
17
|
async runAsync() {
|
|
18
18
|
let { args: { ID: webhookId }, flags: { 'non-interactive': nonInteractive }, } = await this.parse(_a);
|
|
19
|
-
const {
|
|
19
|
+
const { projectId, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
|
|
20
20
|
nonInteractive,
|
|
21
21
|
});
|
|
22
22
|
let webhook = webhookId && (await WebhookQuery_1.WebhookQuery.byIdAsync(graphqlClient, webhookId));
|
|
@@ -78,7 +78,7 @@ WebhookDelete.flags = {
|
|
|
78
78
|
...flags_1.EASNonInteractiveFlag,
|
|
79
79
|
};
|
|
80
80
|
WebhookDelete.contextDefinition = {
|
|
81
|
-
..._a.ContextOptions.
|
|
81
|
+
..._a.ContextOptions.ProjectId,
|
|
82
82
|
..._a.ContextOptions.LoggedIn,
|
|
83
83
|
};
|
|
84
84
|
exports.default = WebhookDelete;
|
|
@@ -8,7 +8,7 @@ export default class WebhookList extends EasCommand {
|
|
|
8
8
|
};
|
|
9
9
|
static contextDefinition: {
|
|
10
10
|
loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
|
|
11
|
-
|
|
11
|
+
projectId: import("../../commandUtils/context/ProjectIdContextField").ProjectIdContextField;
|
|
12
12
|
};
|
|
13
13
|
runAsync(): Promise<void>;
|
|
14
14
|
}
|
|
@@ -19,7 +19,7 @@ class WebhookList extends EasCommand_1.default {
|
|
|
19
19
|
if (json) {
|
|
20
20
|
(0, json_1.enableJsonOutput)();
|
|
21
21
|
}
|
|
22
|
-
const {
|
|
22
|
+
const { projectId, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
|
|
23
23
|
nonInteractive: true,
|
|
24
24
|
});
|
|
25
25
|
const projectDisplayName = await (0, projectUtils_1.getDisplayNameForProjectIdAsync)(graphqlClient, projectId);
|
|
@@ -58,7 +58,7 @@ WebhookList.flags = {
|
|
|
58
58
|
...flags_1.EasJsonOnlyFlag,
|
|
59
59
|
};
|
|
60
60
|
WebhookList.contextDefinition = {
|
|
61
|
-
..._a.ContextOptions.
|
|
61
|
+
..._a.ContextOptions.ProjectId,
|
|
62
62
|
..._a.ContextOptions.LoggedIn,
|
|
63
63
|
};
|
|
64
64
|
exports.default = WebhookList;
|
|
@@ -22,6 +22,7 @@ class WorkerAlias extends EasCommand_1.default {
|
|
|
22
22
|
log_1.default.warn('EAS Worker Deployments are in beta and subject to breaking changes.');
|
|
23
23
|
const { getDynamicPrivateProjectConfigAsync, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
|
|
24
24
|
nonInteractive: true,
|
|
25
|
+
withServerSideEnvironment: null,
|
|
25
26
|
});
|
|
26
27
|
const { projectId } = await getDynamicPrivateProjectConfigAsync();
|
|
27
28
|
const aliasName = await resolveDeploymentAliasAsync(flags);
|
|
@@ -29,7 +29,7 @@ class WorkerDeploy extends EasCommand_1.default {
|
|
|
29
29
|
(0, json_1.enableJsonOutput)();
|
|
30
30
|
}
|
|
31
31
|
log_1.default.warn('EAS Worker Deployments are in beta and subject to breaking changes.');
|
|
32
|
-
const { getDynamicPrivateProjectConfigAsync, loggedIn: { graphqlClient }, projectDir, } = await this.getContextAsync(_a, flags);
|
|
32
|
+
const { getDynamicPrivateProjectConfigAsync, loggedIn: { graphqlClient }, projectDir, } = await this.getContextAsync(_a, { ...flags, withServerSideEnvironment: null });
|
|
33
33
|
const projectDist = await resolveExportedProjectAsync(flags, projectDir);
|
|
34
34
|
const { projectId } = await getDynamicPrivateProjectConfigAsync();
|
|
35
35
|
logExportedProjectInfo(projectDist);
|
|
@@ -683,7 +683,8 @@ export type ActivityTimelineProjectActivity = {
|
|
|
683
683
|
export declare enum ActivityTimelineProjectActivityType {
|
|
684
684
|
Build = "BUILD",
|
|
685
685
|
Submission = "SUBMISSION",
|
|
686
|
-
Update = "UPDATE"
|
|
686
|
+
Update = "UPDATE",
|
|
687
|
+
Worker = "WORKER"
|
|
687
688
|
}
|
|
688
689
|
/** A regular user, SSO user, or robot that can authenticate with Expo services and be a member of accounts. */
|
|
689
690
|
export type Actor = {
|
|
@@ -1224,6 +1225,7 @@ export type App = Project & {
|
|
|
1224
1225
|
workerDeploymentsCrashes?: Maybe<WorkerDeploymentCrashes>;
|
|
1225
1226
|
workerDeploymentsRequest: WorkerDeploymentRequestEdge;
|
|
1226
1227
|
workerDeploymentsRequests?: Maybe<WorkerDeploymentRequests>;
|
|
1228
|
+
workflows: Array<Workflow>;
|
|
1227
1229
|
};
|
|
1228
1230
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
1229
1231
|
export type AppActivityTimelineProjectActivitiesArgs = {
|
|
@@ -2140,15 +2142,11 @@ export type AuditLogMutationExportAuditLogsArgs = {
|
|
|
2140
2142
|
};
|
|
2141
2143
|
export type AuditLogQuery = {
|
|
2142
2144
|
__typename?: 'AuditLogQuery';
|
|
2143
|
-
/**
|
|
2144
|
-
|
|
2145
|
+
/** Audit logs for account */
|
|
2146
|
+
byId: AuditLog;
|
|
2145
2147
|
};
|
|
2146
|
-
export type
|
|
2147
|
-
|
|
2148
|
-
limit: Scalars['Int']['input'];
|
|
2149
|
-
offset: Scalars['Int']['input'];
|
|
2150
|
-
targetEntityMutationType?: InputMaybe<Array<TargetEntityMutationType>>;
|
|
2151
|
-
targetEntityTypeName?: InputMaybe<Array<EntityTypeName>>;
|
|
2148
|
+
export type AuditLogQueryByIdArgs = {
|
|
2149
|
+
auditLogId: Scalars['ID']['input'];
|
|
2152
2150
|
};
|
|
2153
2151
|
export declare enum AuditLogsExportFormat {
|
|
2154
2152
|
Csv = "CSV",
|
|
@@ -3274,7 +3272,9 @@ export declare enum EntityTypeName {
|
|
|
3274
3272
|
GoogleServiceAccountKey = "GoogleServiceAccountKey",
|
|
3275
3273
|
IosAppCredentials = "IosAppCredentials",
|
|
3276
3274
|
UserInvitation = "UserInvitation",
|
|
3277
|
-
UserPermission = "UserPermission"
|
|
3275
|
+
UserPermission = "UserPermission",
|
|
3276
|
+
Workflow = "Workflow",
|
|
3277
|
+
WorkflowRevision = "WorkflowRevision"
|
|
3278
3278
|
}
|
|
3279
3279
|
export type EnvironmentSecret = {
|
|
3280
3280
|
__typename?: 'EnvironmentSecret';
|
|
@@ -4575,6 +4575,22 @@ export type RequestsFilters = {
|
|
|
4575
4575
|
status?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
4576
4576
|
statusType?: InputMaybe<Array<ResponseStatusType>>;
|
|
4577
4577
|
};
|
|
4578
|
+
export type RequestsOrderBy = {
|
|
4579
|
+
direction?: InputMaybe<RequestsOrderByDirection>;
|
|
4580
|
+
field: RequestsOrderByField;
|
|
4581
|
+
};
|
|
4582
|
+
export declare enum RequestsOrderByDirection {
|
|
4583
|
+
Asc = "ASC",
|
|
4584
|
+
Desc = "DESC"
|
|
4585
|
+
}
|
|
4586
|
+
export declare enum RequestsOrderByField {
|
|
4587
|
+
AssetsSum = "ASSETS_SUM",
|
|
4588
|
+
CacheHitRatio = "CACHE_HIT_RATIO",
|
|
4589
|
+
CachePassRatio = "CACHE_PASS_RATIO",
|
|
4590
|
+
CrashesSum = "CRASHES_SUM",
|
|
4591
|
+
Duration = "DURATION",
|
|
4592
|
+
RequestsSum = "REQUESTS_SUM"
|
|
4593
|
+
}
|
|
4578
4594
|
export type RescindUserInvitationResult = {
|
|
4579
4595
|
__typename?: 'RescindUserInvitationResult';
|
|
4580
4596
|
id: Scalars['ID']['output'];
|
|
@@ -4887,6 +4903,8 @@ export type RootQuery = {
|
|
|
4887
4903
|
/** Top-level query object for querying Webhooks. */
|
|
4888
4904
|
webhook: WebhookQuery;
|
|
4889
4905
|
workerDeployment: WorkerDeploymentQuery;
|
|
4906
|
+
workflowRevisions: WorkflowRevisionQuery;
|
|
4907
|
+
workflows: WorkflowQuery;
|
|
4890
4908
|
};
|
|
4891
4909
|
export type RootQueryAllPublicAppsArgs = {
|
|
4892
4910
|
filter: AppsFilter;
|
|
@@ -6040,17 +6058,12 @@ export type UserAuditLogMutationExportUserAuditLogsArgs = {
|
|
|
6040
6058
|
};
|
|
6041
6059
|
export type UserAuditLogQuery = {
|
|
6042
6060
|
__typename?: 'UserAuditLogQuery';
|
|
6043
|
-
/** Query User Audit Logs by user ID */
|
|
6044
|
-
byUserId: Array<UserAuditLog>;
|
|
6045
6061
|
/** Audit logs for user */
|
|
6062
|
+
byId: UserAuditLog;
|
|
6046
6063
|
byUserIdPaginated: UserAuditLogConnection;
|
|
6047
6064
|
};
|
|
6048
|
-
export type
|
|
6049
|
-
|
|
6050
|
-
offset: Scalars['Int']['input'];
|
|
6051
|
-
targetEntityMutationType?: InputMaybe<Array<TargetEntityMutationType>>;
|
|
6052
|
-
targetEntityTypeName?: InputMaybe<Array<UserEntityTypeName>>;
|
|
6053
|
-
userId: Scalars['ID']['input'];
|
|
6065
|
+
export type UserAuditLogQueryByIdArgs = {
|
|
6066
|
+
auditLogId: Scalars['ID']['input'];
|
|
6054
6067
|
};
|
|
6055
6068
|
export type UserAuditLogQueryByUserIdPaginatedArgs = {
|
|
6056
6069
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6325,8 +6338,10 @@ export type WorkerCustomDomain = {
|
|
|
6325
6338
|
updatedAt: Scalars['DateTime']['output'];
|
|
6326
6339
|
verificationRecord?: Maybe<CustomDomainDnsRecord>;
|
|
6327
6340
|
};
|
|
6328
|
-
export type WorkerDeployment = {
|
|
6341
|
+
export type WorkerDeployment = ActivityTimelineProjectActivity & {
|
|
6329
6342
|
__typename?: 'WorkerDeployment';
|
|
6343
|
+
activityTimestamp: Scalars['DateTime']['output'];
|
|
6344
|
+
actor?: Maybe<Actor>;
|
|
6330
6345
|
aliases?: Maybe<Array<WorkerDeploymentAlias>>;
|
|
6331
6346
|
crashes?: Maybe<WorkerDeploymentCrashes>;
|
|
6332
6347
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -6501,8 +6516,10 @@ export type WorkerDeploymentRequests = {
|
|
|
6501
6516
|
byBrowser: Array<WorkerDeploymentRequestsBrowserEdge>;
|
|
6502
6517
|
byCacheStatus: Array<WorkerDeploymentRequestsCacheStatusEdge>;
|
|
6503
6518
|
byContinent: Array<WorkerDeploymentRequestsContinentEdge>;
|
|
6519
|
+
byCountry: Array<WorkerDeploymentRequestsCountryEdge>;
|
|
6504
6520
|
byMethod: Array<WorkerDeploymentRequestsMethodEdge>;
|
|
6505
6521
|
byOS: Array<WorkerDeploymentRequestsOperatingSystemEdge>;
|
|
6522
|
+
byResponseType: Array<WorkerDeploymentRequestsResponseTypeEdge>;
|
|
6506
6523
|
byStatusType: Array<WorkerDeploymentRequestsStatusTypeEdge>;
|
|
6507
6524
|
interval: Scalars['Int']['output'];
|
|
6508
6525
|
minRowsWithoutLimit: Scalars['Int']['output'];
|
|
@@ -6510,6 +6527,38 @@ export type WorkerDeploymentRequests = {
|
|
|
6510
6527
|
summary: WorkerDeploymentRequestsAggregationNode;
|
|
6511
6528
|
timeseries: Array<WorkerDeploymentRequestsTimeseriesEdge>;
|
|
6512
6529
|
};
|
|
6530
|
+
export type WorkerDeploymentRequestsByBrowserArgs = {
|
|
6531
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6532
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6533
|
+
};
|
|
6534
|
+
export type WorkerDeploymentRequestsByCacheStatusArgs = {
|
|
6535
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6536
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6537
|
+
};
|
|
6538
|
+
export type WorkerDeploymentRequestsByContinentArgs = {
|
|
6539
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6540
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6541
|
+
};
|
|
6542
|
+
export type WorkerDeploymentRequestsByCountryArgs = {
|
|
6543
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6544
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6545
|
+
};
|
|
6546
|
+
export type WorkerDeploymentRequestsByMethodArgs = {
|
|
6547
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6548
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6549
|
+
};
|
|
6550
|
+
export type WorkerDeploymentRequestsByOsArgs = {
|
|
6551
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6552
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6553
|
+
};
|
|
6554
|
+
export type WorkerDeploymentRequestsByResponseTypeArgs = {
|
|
6555
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6556
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6557
|
+
};
|
|
6558
|
+
export type WorkerDeploymentRequestsByStatusTypeArgs = {
|
|
6559
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6560
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6561
|
+
};
|
|
6513
6562
|
export type WorkerDeploymentRequestsAggregationNode = {
|
|
6514
6563
|
__typename?: 'WorkerDeploymentRequestsAggregationNode';
|
|
6515
6564
|
assetsPerMs?: Maybe<Scalars['Float']['output']>;
|
|
@@ -6565,6 +6614,11 @@ export type WorkerDeploymentRequestsContinentEdge = {
|
|
|
6565
6614
|
continent: ContinentCode;
|
|
6566
6615
|
node: WorkerDeploymentRequestsAggregationNode;
|
|
6567
6616
|
};
|
|
6617
|
+
export type WorkerDeploymentRequestsCountryEdge = {
|
|
6618
|
+
__typename?: 'WorkerDeploymentRequestsCountryEdge';
|
|
6619
|
+
country?: Maybe<Scalars['String']['output']>;
|
|
6620
|
+
node: WorkerDeploymentRequestsAggregationNode;
|
|
6621
|
+
};
|
|
6568
6622
|
export type WorkerDeploymentRequestsMethodEdge = {
|
|
6569
6623
|
__typename?: 'WorkerDeploymentRequestsMethodEdge';
|
|
6570
6624
|
method: Scalars['String']['output'];
|
|
@@ -6575,6 +6629,11 @@ export type WorkerDeploymentRequestsOperatingSystemEdge = {
|
|
|
6575
6629
|
node: WorkerDeploymentRequestsAggregationNode;
|
|
6576
6630
|
os?: Maybe<UserAgentOs>;
|
|
6577
6631
|
};
|
|
6632
|
+
export type WorkerDeploymentRequestsResponseTypeEdge = {
|
|
6633
|
+
__typename?: 'WorkerDeploymentRequestsResponseTypeEdge';
|
|
6634
|
+
node: WorkerDeploymentRequestsAggregationNode;
|
|
6635
|
+
responseType: ResponseType;
|
|
6636
|
+
};
|
|
6578
6637
|
export type WorkerDeploymentRequestsStatusTypeEdge = {
|
|
6579
6638
|
__typename?: 'WorkerDeploymentRequestsStatusTypeEdge';
|
|
6580
6639
|
node: WorkerDeploymentRequestsAggregationNode;
|
|
@@ -6585,8 +6644,10 @@ export type WorkerDeploymentRequestsTimeseriesEdge = {
|
|
|
6585
6644
|
byBrowser: Array<WorkerDeploymentRequestsBrowserEdge>;
|
|
6586
6645
|
byCacheStatus: Array<WorkerDeploymentRequestsCacheStatusEdge>;
|
|
6587
6646
|
byContinent: Array<WorkerDeploymentRequestsContinentEdge>;
|
|
6647
|
+
byCountry: Array<WorkerDeploymentRequestsCountryEdge>;
|
|
6588
6648
|
byMethod: Array<WorkerDeploymentRequestsMethodEdge>;
|
|
6589
6649
|
byOS: Array<WorkerDeploymentRequestsOperatingSystemEdge>;
|
|
6650
|
+
byResponseType: Array<WorkerDeploymentRequestsResponseTypeEdge>;
|
|
6590
6651
|
byStatusType: Array<WorkerDeploymentRequestsStatusTypeEdge>;
|
|
6591
6652
|
node?: Maybe<WorkerDeploymentRequestsAggregationNode>;
|
|
6592
6653
|
timestamp: Scalars['DateTime']['output'];
|
|
@@ -6604,6 +6665,16 @@ export declare enum WorkerLoggerLevel {
|
|
|
6604
6665
|
Trace = "TRACE",
|
|
6605
6666
|
Warn = "WARN"
|
|
6606
6667
|
}
|
|
6668
|
+
export type Workflow = {
|
|
6669
|
+
__typename?: 'Workflow';
|
|
6670
|
+
app: App;
|
|
6671
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6672
|
+
fileName: Scalars['String']['output'];
|
|
6673
|
+
id: Scalars['ID']['output'];
|
|
6674
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
6675
|
+
revisions: Array<WorkflowRevision>;
|
|
6676
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
6677
|
+
};
|
|
6607
6678
|
export type WorkflowJobMutation = {
|
|
6608
6679
|
__typename?: 'WorkflowJobMutation';
|
|
6609
6680
|
approveWorkflowJob: Scalars['ID']['output'];
|
|
@@ -6611,6 +6682,31 @@ export type WorkflowJobMutation = {
|
|
|
6611
6682
|
export type WorkflowJobMutationApproveWorkflowJobArgs = {
|
|
6612
6683
|
workflowJobId: Scalars['ID']['input'];
|
|
6613
6684
|
};
|
|
6685
|
+
/** Look up Workflow by ID */
|
|
6686
|
+
export type WorkflowQuery = {
|
|
6687
|
+
__typename?: 'WorkflowQuery';
|
|
6688
|
+
byId: Workflow;
|
|
6689
|
+
};
|
|
6690
|
+
/** Look up Workflow by ID */
|
|
6691
|
+
export type WorkflowQueryByIdArgs = {
|
|
6692
|
+
workflowId: Scalars['ID']['input'];
|
|
6693
|
+
};
|
|
6694
|
+
export type WorkflowRevision = {
|
|
6695
|
+
__typename?: 'WorkflowRevision';
|
|
6696
|
+
blobSha: Scalars['String']['output'];
|
|
6697
|
+
commitSha: Scalars['String']['output'];
|
|
6698
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6699
|
+
id: Scalars['ID']['output'];
|
|
6700
|
+
workflow: Workflow;
|
|
6701
|
+
yamlConfig: Scalars['String']['output'];
|
|
6702
|
+
};
|
|
6703
|
+
export type WorkflowRevisionQuery = {
|
|
6704
|
+
__typename?: 'WorkflowRevisionQuery';
|
|
6705
|
+
byId: WorkflowRevision;
|
|
6706
|
+
};
|
|
6707
|
+
export type WorkflowRevisionQueryByIdArgs = {
|
|
6708
|
+
workflowRevisionId: Scalars['ID']['input'];
|
|
6709
|
+
};
|
|
6614
6710
|
export type DeleteAndroidAppBuildCredentialsResult = {
|
|
6615
6711
|
__typename?: 'deleteAndroidAppBuildCredentialsResult';
|
|
6616
6712
|
id: Scalars['ID']['output'];
|
|
@@ -6761,6 +6857,36 @@ export type UpdateChannelBranchMappingMutation = {
|
|
|
6761
6857
|
};
|
|
6762
6858
|
};
|
|
6763
6859
|
};
|
|
6860
|
+
export type PauseUpdateChannelMutationVariables = Exact<{
|
|
6861
|
+
channelId: Scalars['ID']['input'];
|
|
6862
|
+
}>;
|
|
6863
|
+
export type PauseUpdateChannelMutation = {
|
|
6864
|
+
__typename?: 'RootMutation';
|
|
6865
|
+
updateChannel: {
|
|
6866
|
+
__typename?: 'UpdateChannelMutation';
|
|
6867
|
+
pauseUpdateChannel: {
|
|
6868
|
+
__typename?: 'UpdateChannel';
|
|
6869
|
+
id: string;
|
|
6870
|
+
name: string;
|
|
6871
|
+
branchMapping: string;
|
|
6872
|
+
};
|
|
6873
|
+
};
|
|
6874
|
+
};
|
|
6875
|
+
export type ResumeUpdateChannelMutationVariables = Exact<{
|
|
6876
|
+
channelId: Scalars['ID']['input'];
|
|
6877
|
+
}>;
|
|
6878
|
+
export type ResumeUpdateChannelMutation = {
|
|
6879
|
+
__typename?: 'RootMutation';
|
|
6880
|
+
updateChannel: {
|
|
6881
|
+
__typename?: 'UpdateChannelMutation';
|
|
6882
|
+
resumeUpdateChannel: {
|
|
6883
|
+
__typename?: 'UpdateChannel';
|
|
6884
|
+
id: string;
|
|
6885
|
+
name: string;
|
|
6886
|
+
branchMapping: string;
|
|
6887
|
+
};
|
|
6888
|
+
};
|
|
6889
|
+
};
|
|
6764
6890
|
export type AppInfoQueryVariables = Exact<{
|
|
6765
6891
|
appId: Scalars['String']['input'];
|
|
6766
6892
|
}>;
|
|
@@ -11908,6 +12034,7 @@ export type ViewUpdateChannelOnAppQuery = {
|
|
|
11908
12034
|
updateChannelByName?: {
|
|
11909
12035
|
__typename?: 'UpdateChannel';
|
|
11910
12036
|
id: string;
|
|
12037
|
+
isPaused: boolean;
|
|
11911
12038
|
name: string;
|
|
11912
12039
|
updatedAt: any;
|
|
11913
12040
|
createdAt: any;
|
|
@@ -11978,6 +12105,7 @@ export type ViewUpdateChannelsOnAppQuery = {
|
|
|
11978
12105
|
updateChannels: Array<{
|
|
11979
12106
|
__typename?: 'UpdateChannel';
|
|
11980
12107
|
id: string;
|
|
12108
|
+
isPaused: boolean;
|
|
11981
12109
|
name: string;
|
|
11982
12110
|
updatedAt: any;
|
|
11983
12111
|
createdAt: any;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentVariableEnvironment = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountAppsSortByField = void 0;
|
|
10
|
-
exports.
|
|
11
|
-
exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WebhookType = void 0;
|
|
10
|
+
exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = void 0;
|
|
11
|
+
exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentOs = void 0;
|
|
12
12
|
var AccountAppsSortByField;
|
|
13
13
|
(function (AccountAppsSortByField) {
|
|
14
14
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -23,6 +23,7 @@ var ActivityTimelineProjectActivityType;
|
|
|
23
23
|
ActivityTimelineProjectActivityType["Build"] = "BUILD";
|
|
24
24
|
ActivityTimelineProjectActivityType["Submission"] = "SUBMISSION";
|
|
25
25
|
ActivityTimelineProjectActivityType["Update"] = "UPDATE";
|
|
26
|
+
ActivityTimelineProjectActivityType["Worker"] = "WORKER";
|
|
26
27
|
})(ActivityTimelineProjectActivityType || (exports.ActivityTimelineProjectActivityType = ActivityTimelineProjectActivityType = {}));
|
|
27
28
|
var AndroidBuildType;
|
|
28
29
|
(function (AndroidBuildType) {
|
|
@@ -356,6 +357,8 @@ var EntityTypeName;
|
|
|
356
357
|
EntityTypeName["IosAppCredentials"] = "IosAppCredentials";
|
|
357
358
|
EntityTypeName["UserInvitation"] = "UserInvitation";
|
|
358
359
|
EntityTypeName["UserPermission"] = "UserPermission";
|
|
360
|
+
EntityTypeName["Workflow"] = "Workflow";
|
|
361
|
+
EntityTypeName["WorkflowRevision"] = "WorkflowRevision";
|
|
359
362
|
})(EntityTypeName || (exports.EntityTypeName = EntityTypeName = {}));
|
|
360
363
|
var EnvironmentSecretType;
|
|
361
364
|
(function (EnvironmentSecretType) {
|
|
@@ -564,6 +567,20 @@ var RequestMethod;
|
|
|
564
567
|
RequestMethod["Post"] = "POST";
|
|
565
568
|
RequestMethod["Put"] = "PUT";
|
|
566
569
|
})(RequestMethod || (exports.RequestMethod = RequestMethod = {}));
|
|
570
|
+
var RequestsOrderByDirection;
|
|
571
|
+
(function (RequestsOrderByDirection) {
|
|
572
|
+
RequestsOrderByDirection["Asc"] = "ASC";
|
|
573
|
+
RequestsOrderByDirection["Desc"] = "DESC";
|
|
574
|
+
})(RequestsOrderByDirection || (exports.RequestsOrderByDirection = RequestsOrderByDirection = {}));
|
|
575
|
+
var RequestsOrderByField;
|
|
576
|
+
(function (RequestsOrderByField) {
|
|
577
|
+
RequestsOrderByField["AssetsSum"] = "ASSETS_SUM";
|
|
578
|
+
RequestsOrderByField["CacheHitRatio"] = "CACHE_HIT_RATIO";
|
|
579
|
+
RequestsOrderByField["CachePassRatio"] = "CACHE_PASS_RATIO";
|
|
580
|
+
RequestsOrderByField["CrashesSum"] = "CRASHES_SUM";
|
|
581
|
+
RequestsOrderByField["Duration"] = "DURATION";
|
|
582
|
+
RequestsOrderByField["RequestsSum"] = "REQUESTS_SUM";
|
|
583
|
+
})(RequestsOrderByField || (exports.RequestsOrderByField = RequestsOrderByField = {}));
|
|
567
584
|
var ResourceClassExperiment;
|
|
568
585
|
(function (ResourceClassExperiment) {
|
|
569
586
|
ResourceClassExperiment["C3D"] = "C3D";
|
|
@@ -29,6 +29,7 @@ exports.ChannelQuery = {
|
|
|
29
29
|
id
|
|
30
30
|
updateChannelByName(name: $channelName) {
|
|
31
31
|
id
|
|
32
|
+
isPaused
|
|
32
33
|
name
|
|
33
34
|
updatedAt
|
|
34
35
|
createdAt
|
|
@@ -63,6 +64,7 @@ exports.ChannelQuery = {
|
|
|
63
64
|
id
|
|
64
65
|
updateChannels(offset: $offset, limit: $limit) {
|
|
65
66
|
id
|
|
67
|
+
isPaused
|
|
66
68
|
name
|
|
67
69
|
updatedAt
|
|
68
70
|
createdAt
|
|
@@ -71,12 +71,13 @@ export declare function convertAssetToUpdateInfoGroupFormatAsync(asset: RawAsset
|
|
|
71
71
|
*/
|
|
72
72
|
export declare function buildUnsortedUpdateInfoGroupAsync(assets: FilteredCollectedAssets, exp: ExpoConfig): Promise<Partial<UpdateInfoGroup>>;
|
|
73
73
|
export type ExpoCLIExportPlatformFlag = ExpoConfigPlatform | 'all';
|
|
74
|
-
export declare function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clearCache, }: {
|
|
74
|
+
export declare function buildBundlesAsync({ projectDir, inputDir, exp, platformFlag, clearCache, extraEnv, }: {
|
|
75
75
|
projectDir: string;
|
|
76
76
|
inputDir: string;
|
|
77
77
|
exp: Pick<ExpoConfig, 'sdkVersion' | 'web'>;
|
|
78
78
|
platformFlag: ExpoCLIExportPlatformFlag;
|
|
79
79
|
clearCache?: boolean;
|
|
80
|
+
extraEnv?: Record<string, string | undefined> | undefined;
|
|
80
81
|
}): Promise<void>;
|
|
81
82
|
export declare function resolveInputDirectoryAsync(inputDir: string, { skipBundler }: {
|
|
82
83
|
skipBundler?: boolean;
|