eas-cli 3.3.1 → 3.4.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 (95) hide show
  1. package/README.md +59 -64
  2. package/build/analytics/AnalyticsManager.d.ts +2 -2
  3. package/build/build/android/prepareJob.js +2 -0
  4. package/build/build/build.d.ts +5 -3
  5. package/build/build/build.js +93 -27
  6. package/build/build/configure.js +20 -2
  7. package/build/build/context.d.ts +1 -1
  8. package/build/build/graphql.d.ts +2 -1
  9. package/build/build/graphql.js +11 -1
  10. package/build/build/ios/graphql.js +1 -1
  11. package/build/build/ios/prepareJob.js +2 -0
  12. package/build/build/local.d.ts +18 -1
  13. package/build/build/local.js +19 -1
  14. package/build/build/runBuildAndSubmit.js +3 -1
  15. package/build/channel/utils.d.ts +1 -1
  16. package/build/commandUtils/EasCommand.d.ts +2 -2
  17. package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +1 -1
  18. package/build/commandUtils/pagination.d.ts +1 -1
  19. package/build/commands/build/index.js +5 -6
  20. package/build/commands/build/inspect.js +2 -1
  21. package/build/commands/build/internal.d.ts +21 -0
  22. package/build/commands/build/internal.js +60 -0
  23. package/build/commands/build/resign.js +2 -0
  24. package/build/commands/config.d.ts +3 -0
  25. package/build/commands/config.js +44 -15
  26. package/build/commands/update/index.js +1 -1
  27. package/build/commands/update/republish.d.ts +2 -2
  28. package/build/commands/update/view.js +2 -2
  29. package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.d.ts +1 -1
  30. package/build/credentials/android/credentials.d.ts +3 -3
  31. package/build/credentials/context.d.ts +1 -1
  32. package/build/credentials/credentialsJson/types.d.ts +2 -2
  33. package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.d.ts +1 -1
  34. package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.d.ts +1 -1
  35. package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.d.ts +1 -1
  36. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.d.ts +4 -4
  37. package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.d.ts +1 -1
  38. package/build/credentials/ios/appstore/Credentials.types.d.ts +2 -2
  39. package/build/credentials/ios/appstore/authenticate.d.ts +1 -1
  40. package/build/credentials/ios/appstore/authenticateTypes.d.ts +4 -4
  41. package/build/credentials/ios/appstore/bundleIdCapabilities.d.ts +2 -2
  42. package/build/credentials/ios/credentials.d.ts +1 -1
  43. package/build/credentials/ios/types.d.ts +3 -3
  44. package/build/credentials/manager/Actions.d.ts +1 -1
  45. package/build/credentials/utils/promptForCredentials.d.ts +2 -2
  46. package/build/devices/utils/formatDevice.d.ts +3 -3
  47. package/build/graphql/generated.d.ts +792 -746
  48. package/build/graphql/mutations/PublishMutation.d.ts +2 -2
  49. package/build/graphql/mutations/PublishMutation.js +4 -4
  50. package/build/graphql/queries/BranchQuery.d.ts +1 -1
  51. package/build/graphql/queries/ChannelQuery.d.ts +2 -2
  52. package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +1 -1
  53. package/build/graphql/queries/SubmissionQuery.d.ts +1 -1
  54. package/build/graphql/queries/UserQuery.js +3 -0
  55. package/build/graphql/types/Build.js +1 -0
  56. package/build/graphql/types/Update.js +1 -0
  57. package/build/metadata/apple/config/reader.d.ts +1 -1
  58. package/build/metadata/apple/data.d.ts +2 -2
  59. package/build/metadata/apple/task.d.ts +3 -3
  60. package/build/metadata/apple/tasks/age-rating.d.ts +1 -1
  61. package/build/metadata/apple/tasks/app-info.d.ts +1 -1
  62. package/build/metadata/apple/tasks/app-review-detail.d.ts +1 -1
  63. package/build/metadata/apple/tasks/app-version.d.ts +2 -2
  64. package/build/metadata/apple/tasks/index.d.ts +1 -1
  65. package/build/metadata/apple/types.d.ts +3 -3
  66. package/build/metadata/auth.d.ts +1 -1
  67. package/build/metadata/config/resolve.js +2 -1
  68. package/build/metadata/utils/asc.d.ts +1 -1
  69. package/build/metadata/utils/log.d.ts +1 -1
  70. package/build/metadata/utils/retry.d.ts +1 -1
  71. package/build/metadata/utils/telemetry.d.ts +1 -1
  72. package/build/project/publish.d.ts +8 -8
  73. package/build/prompts.d.ts +1 -1
  74. package/build/submit/ArchiveSource.d.ts +2 -2
  75. package/build/submit/android/ServiceAccountSource.d.ts +5 -5
  76. package/build/submit/ios/AppProduce.d.ts +1 -1
  77. package/build/submit/ios/AppSpecificPasswordSource.d.ts +1 -1
  78. package/build/submit/ios/AscApiKeySource.d.ts +4 -4
  79. package/build/update/utils.d.ts +9 -5
  80. package/build/update/utils.js +15 -1
  81. package/build/user/SessionManager.d.ts +2 -2
  82. package/build/user/User.d.ts +1 -1
  83. package/build/user/User.js +1 -1
  84. package/build/user/UserSettings.d.ts +1 -1
  85. package/build/utils/code-signing.d.ts +1 -1
  86. package/build/utils/code-signing.js +1 -1
  87. package/build/utils/formatFields.d.ts +2 -2
  88. package/build/utils/profiles.d.ts +2 -2
  89. package/build/utils/progress.d.ts +2 -2
  90. package/build/utils/queries.d.ts +3 -3
  91. package/build/vcs/index.js +6 -2
  92. package/build/vcs/local.d.ts +0 -1
  93. package/build/vcs/local.js +2 -11
  94. package/oclif.manifest.json +1 -1
  95. package/package.json +34 -34
@@ -8,13 +8,18 @@ const eas_json_1 = require("@expo/eas-json");
8
8
  const core_1 = require("@oclif/core");
9
9
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
10
10
  const EasCommand_1 = tslib_1.__importDefault(require("../commandUtils/EasCommand"));
11
+ const flags_1 = require("../commandUtils/flags");
11
12
  const AppPlatform_1 = require("../graphql/types/AppPlatform");
12
13
  const log_1 = tslib_1.__importDefault(require("../log"));
13
14
  const platform_1 = require("../platform");
14
15
  const prompts_1 = require("../prompts");
16
+ const json_1 = require("../utils/json");
15
17
  class Config extends EasCommand_1.default {
16
18
  async runAsync() {
17
19
  const { flags } = await this.parse(Config);
20
+ if (flags.json) {
21
+ (0, json_1.enableJsonOutput)();
22
+ }
18
23
  const { platform: maybePlatform, profile: maybeProfile } = flags;
19
24
  const { getDynamicProjectConfigAsync, projectDir } = await this.getContextAsync(Config, {
20
25
  nonInteractive: false,
@@ -35,21 +40,40 @@ class Config extends EasCommand_1.default {
35
40
  },
36
41
  ]));
37
42
  const profile = await eas_json_1.EasJsonUtils.getBuildProfileAsync(accessor, platform, profileName);
38
- const { exp: config } = await getDynamicProjectConfigAsync({
39
- env: profile.env,
40
- isPublicConfig: true,
41
- });
42
- log_1.default.addNewLineIfNone();
43
- log_1.default.log(chalk_1.default.bold((0, config_1.getProjectConfigDescription)(projectDir)));
44
- log_1.default.newLine();
45
- log_1.default.log(JSON.stringify(config, null, 2));
46
- log_1.default.newLine();
47
- log_1.default.newLine();
48
- const appPlatform = (0, AppPlatform_1.toAppPlatform)(platform);
49
- const platformEmoji = platform_1.appPlatformEmojis[appPlatform];
50
- log_1.default.log(`${platformEmoji} ${chalk_1.default.bold(`Build profile "${profileName}"`)}`);
51
- log_1.default.newLine();
52
- log_1.default.log(JSON.stringify(profile, null, 2));
43
+ if (flags['eas-json-only']) {
44
+ if (flags.json) {
45
+ (0, json_1.printJsonOnlyOutput)({ buildProfile: profile });
46
+ }
47
+ else {
48
+ const appPlatform = (0, AppPlatform_1.toAppPlatform)(platform);
49
+ const platformEmoji = platform_1.appPlatformEmojis[appPlatform];
50
+ log_1.default.log(`${platformEmoji} ${chalk_1.default.bold(`Build profile "${profileName}"`)}`);
51
+ log_1.default.newLine();
52
+ log_1.default.log(JSON.stringify(profile, null, 2));
53
+ }
54
+ }
55
+ else {
56
+ const { exp: appConfig } = await getDynamicProjectConfigAsync({
57
+ env: profile.env,
58
+ isPublicConfig: true,
59
+ });
60
+ if (flags.json) {
61
+ (0, json_1.printJsonOnlyOutput)({ buildProfile: profile, appConfig });
62
+ }
63
+ else {
64
+ log_1.default.addNewLineIfNone();
65
+ log_1.default.log(chalk_1.default.bold((0, config_1.getProjectConfigDescription)(projectDir)));
66
+ log_1.default.newLine();
67
+ log_1.default.log(JSON.stringify(appConfig, null, 2));
68
+ log_1.default.newLine();
69
+ log_1.default.newLine();
70
+ const appPlatform = (0, AppPlatform_1.toAppPlatform)(platform);
71
+ const platformEmoji = platform_1.appPlatformEmojis[appPlatform];
72
+ log_1.default.log(`${platformEmoji} ${chalk_1.default.bold(`Build profile "${profileName}"`)}`);
73
+ log_1.default.newLine();
74
+ log_1.default.log(JSON.stringify(profile, null, 2));
75
+ }
76
+ }
53
77
  }
54
78
  }
55
79
  exports.default = Config;
@@ -62,6 +86,11 @@ Config.flags = {
62
86
  description: 'Name of the build profile from eas.json. Defaults to "production" if defined in eas.json.',
63
87
  helpValue: 'PROFILE_NAME',
64
88
  }),
89
+ // This option is used only on EAS Build worker to read build profile from eas.json.
90
+ 'eas-json-only': core_1.Flags.boolean({
91
+ hidden: true,
92
+ }),
93
+ ...flags_1.EasNonInteractiveAndJsonFlags,
65
94
  };
66
95
  Config.contextDefinition = {
67
96
  ..._a.ContextOptions.DynamicProjectConfig,
@@ -256,7 +256,7 @@ class UpdatePublish extends EasCommand_1.default {
256
256
  throw e;
257
257
  }
258
258
  if (jsonFlag) {
259
- (0, json_1.printJsonOnlyOutput)(newUpdates);
259
+ (0, json_1.printJsonOnlyOutput)((0, utils_2.getUpdateGroupJsonInfo)(newUpdates));
260
260
  }
261
261
  else {
262
262
  if (new Set(newUpdates.map(update => update.group)).size > 1) {
@@ -1,6 +1,6 @@
1
1
  import { Platform } from '@expo/config';
2
2
  import EasCommand from '../../commandUtils/EasCommand';
3
- declare type UpdateRepublishRawFlags = {
3
+ type UpdateRepublishRawFlags = {
4
4
  branch?: string;
5
5
  channel?: string;
6
6
  group?: string;
@@ -9,7 +9,7 @@ declare type UpdateRepublishRawFlags = {
9
9
  'non-interactive': boolean;
10
10
  json?: boolean;
11
11
  };
12
- declare type UpdateRepublishFlags = {
12
+ type UpdateRepublishFlags = {
13
13
  branchName?: string;
14
14
  channelName?: string;
15
15
  groupId?: string;
@@ -17,11 +17,11 @@ class UpdateView extends EasCommand_1.default {
17
17
  (0, json_1.enableJsonOutput)();
18
18
  }
19
19
  const updatesByGroup = await UpdateQuery_1.UpdateQuery.viewUpdateGroupAsync(graphqlClient, { groupId });
20
- const [updateGroupDescription] = (0, utils_1.getUpdateGroupDescriptions)([updatesByGroup]);
21
20
  if (jsonFlag) {
22
- (0, json_1.printJsonOnlyOutput)(updateGroupDescription);
21
+ (0, json_1.printJsonOnlyOutput)((0, utils_1.getUpdateGroupJsonInfo)(updatesByGroup));
23
22
  }
24
23
  else {
24
+ const [updateGroupDescription] = (0, utils_1.getUpdateGroupDescriptions)([updatesByGroup]);
25
25
  log_1.default.log(chalk_1.default.bold('Update group:'));
26
26
  log_1.default.log((0, utils_1.formatUpdateGroup)(updateGroupDescription));
27
27
  }
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { AndroidAppBuildCredentialsFragment, AndroidAppBuildCredentialsInput } from '../../../../../graphql/generated';
3
- export declare type AndroidAppBuildCredentialsMetadataInput = Omit<AndroidAppBuildCredentialsInput, 'keystoreId'>;
3
+ export type AndroidAppBuildCredentialsMetadataInput = Omit<AndroidAppBuildCredentialsInput, 'keystoreId'>;
4
4
  export declare const AndroidAppBuildCredentialsMutation: {
5
5
  createAndroidAppBuildCredentialsAsync(graphqlClient: ExpoGraphqlClient, androidAppBuildCredentialsInput: AndroidAppBuildCredentialsInput, androidAppCredentialsId: string): Promise<AndroidAppBuildCredentialsFragment>;
6
6
  setKeystoreAsync(graphqlClient: ExpoGraphqlClient, androidAppBuildCredentialsId: string, keystoreId: string): Promise<AndroidAppBuildCredentialsFragment>;
@@ -9,16 +9,16 @@ export interface Keystore {
9
9
  keyAlias: string;
10
10
  keyPassword?: string;
11
11
  }
12
- export declare type KeystoreWithType = Keystore & {
12
+ export type KeystoreWithType = Keystore & {
13
13
  type: AndroidKeystoreType;
14
14
  };
15
- export declare type GoogleServiceAccountKey = {
15
+ export type GoogleServiceAccountKey = {
16
16
  [key: string]: any;
17
17
  private_key: string;
18
18
  type: string;
19
19
  client_email: string;
20
20
  };
21
- export declare type AndroidCredentials = {
21
+ export type AndroidCredentials = {
22
22
  experienceName: string;
23
23
  keystore: Keystore | null;
24
24
  pushCredentials: FcmCredentials | null;
@@ -7,7 +7,7 @@ import { Actor } from '../user/User';
7
7
  import * as AndroidGraphqlClient from './android/api/GraphqlClient';
8
8
  import * as IosGraphqlClient from './ios/api/GraphqlClient';
9
9
  import AppStoreApi from './ios/appstore/AppStoreApi';
10
- export declare type CredentialsContextProjectInfo = {
10
+ export type CredentialsContextProjectInfo = {
11
11
  exp: ExpoConfig;
12
12
  projectId: string;
13
13
  };
@@ -19,7 +19,7 @@ export interface CredentialsJsonIosTargetCredentials {
19
19
  password: string;
20
20
  };
21
21
  }
22
- export declare type CredentialsJsonIosCredentials = Record<string, CredentialsJsonIosTargetCredentials>;
22
+ export type CredentialsJsonIosCredentials = Record<string, CredentialsJsonIosTargetCredentials>;
23
23
  export interface AndroidCredentials {
24
24
  keystore: Keystore;
25
25
  }
@@ -30,5 +30,5 @@ export interface IosTargetCredentials {
30
30
  certificatePassword: string;
31
31
  };
32
32
  }
33
- export declare type IosCredentials = Record<string, IosTargetCredentials>;
33
+ export type IosCredentials = Record<string, IosTargetCredentials>;
34
34
  export declare const CredentialsJsonSchema: Joi.ObjectSchema<any>;
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { AppleDistributionCertificateFragment, AppleDistributionCertificateInput, AppleTeamFragment } from '../../../../../graphql/generated';
3
- export declare type AppleDistributionCertificateMutationResult = AppleDistributionCertificateFragment & {
3
+ export type AppleDistributionCertificateMutationResult = AppleDistributionCertificateFragment & {
4
4
  appleTeam?: AppleTeamFragment | null;
5
5
  };
6
6
  export declare const AppleDistributionCertificateMutation: {
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { AppleProvisioningProfileFragment, AppleProvisioningProfileInput, AppleTeamFragment } from '../../../../../graphql/generated';
3
- export declare type AppleProvisioningProfileMutationResult = AppleProvisioningProfileFragment & {
3
+ export type AppleProvisioningProfileMutationResult = AppleProvisioningProfileFragment & {
4
4
  appleTeam?: AppleTeamFragment | null;
5
5
  };
6
6
  export declare const AppleProvisioningProfileMutation: {
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { AccountFragment, AppleTeamFragment, AppleTeamInput } from '../../../../../graphql/generated';
3
- export declare type AppleTeamMutationResult = AppleTeamFragment & {
3
+ export type AppleTeamMutationResult = AppleTeamFragment & {
4
4
  account: AccountFragment;
5
5
  };
6
6
  export declare const AppleTeamMutation: {
@@ -1,13 +1,13 @@
1
1
  import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { AppleDevice, AppleDeviceFragment, AppleDevicesByTeamIdentifierQueryVariables, AppleTeamFragment } from '../../../../../graphql/generated';
3
- export declare type AppleDeviceFragmentWithAppleTeam = AppleDeviceFragment & {
3
+ export type AppleDeviceFragmentWithAppleTeam = AppleDeviceFragment & {
4
4
  appleTeam: AppleTeamFragment;
5
5
  };
6
- export declare type AppleDeviceQueryResult = Pick<AppleDevice, 'id' | 'identifier' | 'name' | 'deviceClass' | 'enabled'>;
7
- export declare type AppleDevicesByTeamIdentifierQueryResult = AppleTeamFragment & {
6
+ export type AppleDeviceQueryResult = Pick<AppleDevice, 'id' | 'identifier' | 'name' | 'deviceClass' | 'enabled'>;
7
+ export type AppleDevicesByTeamIdentifierQueryResult = AppleTeamFragment & {
8
8
  appleDevices: AppleDeviceQueryResult[];
9
9
  };
10
- export declare type AppleDevicesByIdentifierQueryResult = AppleDeviceQueryResult & {
10
+ export type AppleDevicesByIdentifierQueryResult = AppleDeviceQueryResult & {
11
11
  appleTeam: AppleTeamFragment;
12
12
  };
13
13
  export declare const AppleDeviceQuery: {
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../../../../../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { AppleAppIdentifierFragment, AppleDeviceFragment, AppleProvisioningProfileFragment, AppleTeamFragment, IosDistributionType } from '../../../../../graphql/generated';
3
- export declare type AppleProvisioningProfileQueryResult = AppleProvisioningProfileFragment & {
3
+ export type AppleProvisioningProfileQueryResult = AppleProvisioningProfileFragment & {
4
4
  appleTeam?: AppleTeamFragment | null;
5
5
  } & {
6
6
  appleDevices: AppleDeviceFragment[];
@@ -47,7 +47,7 @@ export interface PushKey {
47
47
  teamId: string;
48
48
  teamName?: string;
49
49
  }
50
- export declare type AscApiKeyInfo = {
50
+ export type AscApiKeyInfo = {
51
51
  keyId: string;
52
52
  issuerId?: string;
53
53
  teamId: string;
@@ -56,6 +56,6 @@ export declare type AscApiKeyInfo = {
56
56
  roles: UserRole[];
57
57
  isRevoked: boolean;
58
58
  };
59
- export declare type AscApiKey = AscApiKeyInfo & {
59
+ export type AscApiKey = AscApiKeyInfo & {
60
60
  keyP8: string;
61
61
  };
@@ -2,7 +2,7 @@
2
2
  import { RequestContext, Session } from '@expo/apple-utils';
3
3
  import { MinimalAscApiKey } from '../credentials';
4
4
  import { AppleTeamType, AuthCtx, AuthenticationMode, UserAuthCtx } from './authenticateTypes';
5
- export declare type Options = {
5
+ export type Options = {
6
6
  appleId?: string;
7
7
  teamId?: string;
8
8
  teamName?: string;
@@ -12,13 +12,13 @@ export declare enum AppleTeamType {
12
12
  COMPANY_OR_ORGANIZATION = "COMPANY_OR_ORGANIZATION",
13
13
  INDIVIDUAL = "INDIVIDUAL"
14
14
  }
15
- export declare type Team = {
15
+ export type Team = {
16
16
  id: string;
17
17
  /** Name of the development team, this is undefined when ASC API keys are used instead of cookies for authentication. */
18
18
  name?: string;
19
19
  inHouse?: boolean;
20
20
  };
21
- export declare type UserAuthCtx = {
21
+ export type UserAuthCtx = {
22
22
  appleId: string;
23
23
  appleIdPassword?: string;
24
24
  team: Team;
@@ -31,7 +31,7 @@ export declare type UserAuthCtx = {
31
31
  */
32
32
  authState?: Session.AuthState;
33
33
  };
34
- export declare type ApiKeyAuthCtx = {
34
+ export type ApiKeyAuthCtx = {
35
35
  ascApiKey: MinimalAscApiKey;
36
36
  team: Team;
37
37
  /**
@@ -39,4 +39,4 @@ export declare type ApiKeyAuthCtx = {
39
39
  */
40
40
  authState?: Partial<Session.AuthState>;
41
41
  };
42
- export declare type AuthCtx = UserAuthCtx | ApiKeyAuthCtx;
42
+ export type AuthCtx = UserAuthCtx | ApiKeyAuthCtx;
@@ -2,7 +2,7 @@
2
2
  import { BundleId, CapabilityOptionMap, CapabilityType, MerchantId } from '@expo/apple-utils';
3
3
  import { JSONObject, JSONValue } from '@expo/json-file';
4
4
  export declare const EXPO_NO_CAPABILITY_SYNC: boolean;
5
- declare type GetOptionsMethod<T extends CapabilityType = any> = (entitlement: JSONValue, entitlementsJson: JSONObject) => CapabilityOptionMap[T];
5
+ type GetOptionsMethod<T extends CapabilityType = any> = (entitlement: JSONValue, entitlementsJson: JSONObject) => CapabilityOptionMap[T];
6
6
  /**
7
7
  * Given an entitlements JSON object, synchronizes the remote capabilities for a bundle identifier.
8
8
  *
@@ -23,7 +23,7 @@ export declare function syncCapabilitiesForEntitlementsAsync(bundleId: BundleId,
23
23
  disabled: string[];
24
24
  }>;
25
25
  export declare function assertValidOptions(classifier: CapabilityClassifier, value: any): asserts value;
26
- declare type CapabilityClassifier = {
26
+ type CapabilityClassifier = {
27
27
  name: string;
28
28
  entitlement: string;
29
29
  capability: CapabilityType;
@@ -38,7 +38,7 @@ export interface IosDistCredentials extends DistributionCertificate {
38
38
  type: 'dist-cert';
39
39
  }
40
40
  export declare const distributionCertificateSchema: CredentialSchema<DistributionCertificate>;
41
- export declare type MinimalAscApiKey = {
41
+ export type MinimalAscApiKey = {
42
42
  keyP8: string;
43
43
  keyId: string;
44
44
  issuerId: string;
@@ -20,6 +20,6 @@ export interface TargetCredentials {
20
20
  };
21
21
  provisioningProfile: string;
22
22
  }
23
- export declare type IosCredentials = Record<string, TargetCredentials>;
24
- export declare type IosAppBuildCredentialsMap = Record<string, IosAppBuildCredentialsFragment>;
25
- export declare type IosAppCredentialsMap = Record<string, CommonIosAppCredentialsFragment | null>;
23
+ export type IosCredentials = Record<string, TargetCredentials>;
24
+ export type IosAppBuildCredentialsMap = Record<string, IosAppBuildCredentialsFragment>;
25
+ export type IosAppCredentialsMap = Record<string, CommonIosAppCredentialsFragment | null>;
@@ -1,4 +1,4 @@
1
- export declare type ActionInfo = {
1
+ export type ActionInfo = {
2
2
  value: AndroidActionType | IosActionType;
3
3
  title: string;
4
4
  scope: Scope;
@@ -1,10 +1,10 @@
1
- export declare type Question = {
1
+ export type Question = {
2
2
  field: string;
3
3
  question: string;
4
4
  type: 'file' | 'string' | 'password';
5
5
  base64Encode?: boolean;
6
6
  };
7
- export declare type CredentialSchema<T> = {
7
+ export type CredentialSchema<T> = {
8
8
  name: string;
9
9
  questions: Question[];
10
10
  provideMethodQuestion?: {
@@ -1,7 +1,7 @@
1
1
  import { AppleDevice, AppleTeam } from '../../graphql/generated';
2
- declare type Device = Pick<AppleDevice, 'id' | 'identifier' | 'name' | 'deviceClass' | 'enabled' | 'model'>;
3
- declare type NewDevice = Pick<AppleDevice, 'identifier' | 'name' | 'deviceClass'>;
4
- export declare type AppleTeamIdAndName = Pick<AppleTeam, 'appleTeamIdentifier' | 'appleTeamName'>;
2
+ type Device = Pick<AppleDevice, 'id' | 'identifier' | 'name' | 'deviceClass' | 'enabled' | 'model'>;
3
+ type NewDevice = Pick<AppleDevice, 'identifier' | 'name' | 'deviceClass'>;
4
+ export type AppleTeamIdAndName = Pick<AppleTeam, 'appleTeamIdentifier' | 'appleTeamName'>;
5
5
  export default function formatDevice(device: Device, team?: AppleTeamIdAndName): string;
6
6
  export declare function formatNewDevice(device: NewDevice, team?: AppleTeamIdAndName): string;
7
7
  export {};