eas-cli 21.4.0 → 21.5.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 (41) hide show
  1. package/README.md +238 -116
  2. package/build/build/local.js +64 -7
  3. package/build/commandUtils/workflow/compositeFunctions.d.ts +1 -0
  4. package/build/commandUtils/workflow/compositeFunctions.js +64 -0
  5. package/build/commandUtils/workflow/validation.js +3 -0
  6. package/build/commands/account/usage.d.ts +3 -0
  7. package/build/commands/account/usage.js +6 -5
  8. package/build/commands/integrations/posthog/connect.js +1 -1
  9. package/build/commands/project/new.d.ts +1 -1
  10. package/build/commands/simulator/start.js +83 -24
  11. package/build/commands/submit/cancel.d.ts +20 -0
  12. package/build/commands/submit/cancel.js +116 -0
  13. package/build/commands/submit/list.d.ts +27 -0
  14. package/build/commands/submit/list.js +100 -0
  15. package/build/commands/submit/retry.d.ts +18 -0
  16. package/build/commands/submit/retry.js +123 -0
  17. package/build/commands/submit/status.d.ts +19 -0
  18. package/build/commands/submit/status.js +116 -0
  19. package/build/commands/submit/view.d.ts +17 -0
  20. package/build/commands/submit/view.js +96 -0
  21. package/build/graphql/generated.d.ts +580 -4
  22. package/build/graphql/generated.js +3 -0
  23. package/build/graphql/mutations/SubmissionMutation.d.ts +3 -1
  24. package/build/graphql/mutations/SubmissionMutation.js +33 -0
  25. package/build/graphql/queries/SubmissionQuery.d.ts +3 -2
  26. package/build/graphql/queries/SubmissionQuery.js +19 -2
  27. package/build/graphql/types/SubmissionWithSubmittedBuild.d.ts +1 -0
  28. package/build/graphql/types/SubmissionWithSubmittedBuild.js +25 -0
  29. package/build/submit/queries.d.ts +34 -0
  30. package/build/submit/queries.js +94 -0
  31. package/build/submit/status.d.ts +31 -0
  32. package/build/submit/status.js +187 -0
  33. package/build/submit/utils/formatSubmission.d.ts +2 -0
  34. package/build/submit/utils/formatSubmission.js +78 -0
  35. package/build/utils/promise.d.ts +3 -2
  36. package/build/utils/promise.js +17 -3
  37. package/build/utils/terminalText.d.ts +1 -0
  38. package/build/utils/terminalText.js +14 -0
  39. package/build/utils/usage/checkForOverages.js +1 -1
  40. package/oclif.manifest.json +1064 -564
  41. package/package.json +5 -5
@@ -222,6 +222,8 @@ export type Account = {
222
222
  ssoConfiguration?: Maybe<AccountSsoConfiguration>;
223
223
  /** Subscription info visible to members that have VIEWER role */
224
224
  subscription?: Maybe<SubscriptionDetails>;
225
+ /** Supabase connection for this account */
226
+ supabaseConnection?: Maybe<SupabaseConnection>;
225
227
  /** Coalesced project activity for an app using pagination */
226
228
  timelineActivity: TimelineActivityConnection;
227
229
  updatedAt: Scalars['DateTime']['output'];
@@ -1328,6 +1330,7 @@ export type App = Project & {
1328
1330
  submissions: Array<Submission>;
1329
1331
  submissionsPaginated: AppSubmissionsConnection;
1330
1332
  suggestedDevDomainName: Scalars['String']['output'];
1333
+ supabaseProject?: Maybe<SupabaseProject>;
1331
1334
  /** Coalesced project activity for an app using pagination */
1332
1335
  timelineActivity: TimelineActivityConnection;
1333
1336
  turtleBrownfieldArtifactsPaginated: BrownfieldArtifactsConnection;
@@ -2480,15 +2483,16 @@ export type AppObserveOverviewUpdate = {
2480
2483
  __typename?: 'AppObserveOverviewUpdate';
2481
2484
  /** Null for the embedded bundle. */
2482
2485
  appUpdateId?: Maybe<Scalars['ID']['output']>;
2483
- /** Downloads recorded in range; null when none were recorded (and always for the embedded bundle). */
2486
+ /** Downloads recorded in range across platforms; null when none were recorded (and always for the embedded bundle). */
2484
2487
  downloadCount?: Maybe<Scalars['Int']['output']>;
2488
+ /** One entry per platform with downloads in range; empty for the embedded bundle. */
2489
+ downloads: Array<AppObserveOverviewUpdateDownload>;
2485
2490
  eventCount: Scalars['Int']['output'];
2486
2491
  firstSeenAt: Scalars['DateTime']['output'];
2487
2492
  isEmbedded: Scalars['Boolean']['output'];
2488
- medianDownloadTime?: Maybe<Scalars['Float']['output']>;
2489
2493
  /** EAS update message; null for the embedded bundle or when the update row no longer exists. */
2490
2494
  message?: Maybe<Scalars['String']['output']>;
2491
- /** One entry per metric with data in range, all platforms combined. */
2495
+ /** One entry per (metric, platform) with data in range. */
2492
2496
  metrics: Array<AppObserveOverviewUpdateMetric>;
2493
2497
  /** When the update was published; null for the embedded bundle. */
2494
2498
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -2508,10 +2512,17 @@ export type AppObserveOverviewUpdateComparisonInput = {
2508
2512
  metricNames?: InputMaybe<Array<Scalars['String']['input']>>;
2509
2513
  startTime: Scalars['DateTime']['input'];
2510
2514
  };
2515
+ export type AppObserveOverviewUpdateDownload = {
2516
+ __typename?: 'AppObserveOverviewUpdateDownload';
2517
+ downloadCount: Scalars['Int']['output'];
2518
+ medianDownloadTime: Scalars['Float']['output'];
2519
+ platform: AppObservePlatform;
2520
+ };
2511
2521
  export type AppObserveOverviewUpdateMetric = {
2512
2522
  __typename?: 'AppObserveOverviewUpdateMetric';
2513
2523
  eventCount: Scalars['Int']['output'];
2514
2524
  metricName: Scalars['String']['output'];
2525
+ platform: AppObservePlatform;
2515
2526
  statistics: AppObserveVersionMarkerStatistics;
2516
2527
  };
2517
2528
  export type AppObserveOverviewVersion = {
@@ -3556,6 +3567,9 @@ export declare enum BackgroundJobState {
3556
3567
  Queued = "QUEUED",
3557
3568
  Success = "SUCCESS"
3558
3569
  }
3570
+ export type BeginSupabaseOAuthInput = {
3571
+ accountId: Scalars['ID']['input'];
3572
+ };
3559
3573
  export type Billing = {
3560
3574
  __typename?: 'Billing';
3561
3575
  /** History of invoices */
@@ -4177,6 +4191,10 @@ export type CompletePostHogConnectionInput = {
4177
4191
  code: Scalars['String']['input'];
4178
4192
  state: Scalars['ID']['input'];
4179
4193
  };
4194
+ export type CompleteSupabaseOAuthInput = {
4195
+ code: Scalars['String']['input'];
4196
+ state: Scalars['ID']['input'];
4197
+ };
4180
4198
  export type Concurrencies = {
4181
4199
  __typename?: 'Concurrencies';
4182
4200
  android: Scalars['Int']['output'];
@@ -5014,6 +5032,8 @@ export type DeviceRunSessionEventLogUploadSession = {
5014
5032
  url: Scalars['String']['output'];
5015
5033
  };
5016
5034
  export type DeviceRunSessionFilterInput = {
5035
+ /** Case-insensitive prefix match on the session name. */
5036
+ name?: InputMaybe<Scalars['String']['input']>;
5017
5037
  platforms?: InputMaybe<Array<AppPlatform>>;
5018
5038
  statuses?: InputMaybe<Array<DeviceRunSessionStatus>>;
5019
5039
  types?: InputMaybe<Array<DeviceRunSessionType>>;
@@ -5809,12 +5829,15 @@ export declare enum EntityTypeName {
5809
5829
  CustomerEntity = "CustomerEntity",
5810
5830
  EchoProjectEntity = "EchoProjectEntity",
5811
5831
  EchoVersionEntity = "EchoVersionEntity",
5832
+ EnvironmentVariableEntity = "EnvironmentVariableEntity",
5812
5833
  GoogleServiceAccountKeyEntity = "GoogleServiceAccountKeyEntity",
5813
5834
  IosAppCredentialsEntity = "IosAppCredentialsEntity",
5814
5835
  LogRocketOrganizationEntity = "LogRocketOrganizationEntity",
5815
5836
  LogRocketProjectEntity = "LogRocketProjectEntity",
5816
5837
  PostHogOrganizationConnectionEntity = "PostHogOrganizationConnectionEntity",
5817
5838
  PostHogProjectEntity = "PostHogProjectEntity",
5839
+ SupabaseConnectionEntity = "SupabaseConnectionEntity",
5840
+ SupabaseProjectEntity = "SupabaseProjectEntity",
5818
5841
  UserInvitationEntity = "UserInvitationEntity",
5819
5842
  UserPermissionEntity = "UserPermissionEntity",
5820
5843
  VexoAccountConnectionEntity = "VexoAccountConnectionEntity",
@@ -6971,14 +6994,25 @@ export type JobRunError = {
6971
6994
  errorCode: Scalars['String']['output'];
6972
6995
  message: Scalars['String']['output'];
6973
6996
  };
6997
+ export type JobRunLogsCentrifugoSubscriptionToken = {
6998
+ __typename?: 'JobRunLogsCentrifugoSubscriptionToken';
6999
+ channel: Scalars['String']['output'];
7000
+ token: Scalars['String']['output'];
7001
+ };
6974
7002
  export type JobRunMutation = {
6975
7003
  __typename?: 'JobRunMutation';
6976
7004
  /** Cancel an EAS Job Run */
6977
7005
  cancelJobRun: JobRun;
7006
+ /** Generate a token for subscribing to an EAS Job Run log channel */
7007
+ generateLogsCentrifugoSubscriptionToken: JobRunLogsCentrifugoSubscriptionToken;
6978
7008
  };
6979
7009
  export type JobRunMutationCancelJobRunArgs = {
6980
7010
  jobRunId: Scalars['ID']['input'];
6981
7011
  };
7012
+ export type JobRunMutationGenerateLogsCentrifugoSubscriptionTokenArgs = {
7013
+ jobRunId: Scalars['ID']['input'];
7014
+ thread?: InputMaybe<Scalars['String']['input']>;
7015
+ };
6982
7016
  export declare enum JobRunPriority {
6983
7017
  High = "HIGH",
6984
7018
  Normal = "NORMAL"
@@ -7050,6 +7084,10 @@ export type LinkSentryInstallationToExpoAccountInput = {
7050
7084
  installationId: Scalars['ID']['input'];
7051
7085
  sentryOrgSlug: Scalars['String']['input'];
7052
7086
  };
7087
+ export type LinkSupabaseProjectInput = {
7088
+ appId: Scalars['ID']['input'];
7089
+ supabaseProjectRef: Scalars['String']['input'];
7090
+ };
7053
7091
  export type LocalBuildArchiveSourceInput = {
7054
7092
  bucketKey: Scalars['String']['input'];
7055
7093
  type: LocalBuildArchiveSourceType;
@@ -7536,6 +7574,18 @@ export type ProjectPublicData = {
7536
7574
  fullName: Scalars['String']['output'];
7537
7575
  id: Scalars['ID']['output'];
7538
7576
  };
7577
+ export type ProvisionAdditionalSupabaseProjectInput = {
7578
+ appId: Scalars['ID']['input'];
7579
+ /** Suffix appended to the app name for the new Supabase project (e.g. preview). */
7580
+ projectNameSuffix: Scalars['String']['input'];
7581
+ /** A Supabase region code (e.g. us-east-1) or smart-group (americas, emea, apac). */
7582
+ region: Scalars['String']['input'];
7583
+ };
7584
+ export type ProvisionSupabaseProjectInput = {
7585
+ appId: Scalars['ID']['input'];
7586
+ /** A Supabase region code (e.g. us-east-1) or smart-group (americas, emea, apac). */
7587
+ region: Scalars['String']['input'];
7588
+ };
7539
7589
  export type PublicArtifacts = {
7540
7590
  __typename?: 'PublicArtifacts';
7541
7591
  applicationArchiveUrl?: Maybe<Scalars['String']['output']>;
@@ -7559,6 +7609,15 @@ export type PublishUpdateGroupInput = {
7559
7609
  turtleJobRunId?: InputMaybe<Scalars['String']['input']>;
7560
7610
  updateInfoGroup?: InputMaybe<UpdateInfoGroup>;
7561
7611
  };
7612
+ export type RealtimeLogsCentrifugoConnectionToken = {
7613
+ __typename?: 'RealtimeLogsCentrifugoConnectionToken';
7614
+ token: Scalars['String']['output'];
7615
+ };
7616
+ export type RealtimeLogsMutation = {
7617
+ __typename?: 'RealtimeLogsMutation';
7618
+ /** Generate a token for connecting to EAS Logs Centrifugo */
7619
+ generateCentrifugoConnectionToken: RealtimeLogsCentrifugoConnectionToken;
7620
+ };
7562
7621
  export type RemoteAppStoreConnectApp = {
7563
7622
  __typename?: 'RemoteAppStoreConnectApp';
7564
7623
  appStoreIconUrl?: Maybe<Scalars['String']['output']>;
@@ -7816,6 +7875,7 @@ export type RootMutation = {
7816
7875
  notificationPreference: NotificationPreferenceMutation;
7817
7876
  posthogOrganizationConnection: PostHogOrganizationConnectionMutation;
7818
7877
  posthogProject: PostHogProjectMutation;
7878
+ realtimeLogs: RealtimeLogsMutation;
7819
7879
  /** Mutations that create, update, and delete Robots */
7820
7880
  robot: RobotMutation;
7821
7881
  /** Mutations for Sentry installations */
@@ -7824,6 +7884,8 @@ export type RootMutation = {
7824
7884
  sentryProject: SentryProjectMutation;
7825
7885
  /** Mutations that modify an EAS Submit submission */
7826
7886
  submission: SubmissionMutation;
7887
+ supabaseConnection: SupabaseConnectionMutation;
7888
+ supabaseProject: SupabaseProjectMutation;
7827
7889
  tunnels: TunnelsMutation;
7828
7890
  turtleBrownfieldArtifacts: TurtleBrownfieldArtifactMutation;
7829
7891
  update: UpdateMutation;
@@ -8249,6 +8311,10 @@ export type ServeSimRunSessionRemoteConfig = {
8249
8311
  /** @deprecated Use previewUrl instead. */
8250
8312
  streamUrl?: Maybe<Scalars['String']['output']>;
8251
8313
  };
8314
+ export type SetSupabaseConnectionOrganizationInput = {
8315
+ organizationSlug: Scalars['String']['input'];
8316
+ supabaseConnectionId: Scalars['ID']['input'];
8317
+ };
8252
8318
  export type SetupConvexProjectInput = {
8253
8319
  appId: Scalars['ID']['input'];
8254
8320
  convexTeamConnectionId: Scalars['ID']['input'];
@@ -8550,6 +8616,112 @@ export type SubscriptionDetails = {
8550
8616
  export type SubscriptionDetailsPlanEnablementArgs = {
8551
8617
  serviceMetric: EasServiceMetric;
8552
8618
  };
8619
+ export type SupabaseConnection = {
8620
+ __typename?: 'SupabaseConnection';
8621
+ account: Account;
8622
+ createdAt: Scalars['DateTime']['output'];
8623
+ id: Scalars['ID']['output'];
8624
+ supabaseOrganizationName: Scalars['String']['output'];
8625
+ /** The organization new projects are provisioned under. Chosen at connect time; defaults to the first. */
8626
+ supabaseOrganizationSlug: Scalars['String']['output'];
8627
+ supabaseProjects: Array<SupabaseProject>;
8628
+ updatedAt: Scalars['DateTime']['output'];
8629
+ };
8630
+ export type SupabaseConnectionMutation = {
8631
+ __typename?: 'SupabaseConnectionMutation';
8632
+ /** Begins a Supabase connection: creates the PKCE handoff and returns the authorize URL. */
8633
+ beginSupabaseOAuth: SupabaseOAuthStart;
8634
+ /**
8635
+ * Completes a connection from the browser callback: exchanges the authorization code with the
8636
+ * stored PKCE verifier and persists the connection.
8637
+ */
8638
+ completeSupabaseOAuth: SupabaseConnection;
8639
+ /** Removes the Expo-side connection only; the Supabase organization and its projects are preserved. */
8640
+ disconnectSupabase: Scalars['ID']['output'];
8641
+ /**
8642
+ * Live list of Supabase organizations this connection can access (Management API). Used once at
8643
+ * connect-time for the org picker — not a type field, so casual connection reads stay cheap.
8644
+ */
8645
+ listSupabaseOrganizations: Array<SupabaseOrganization>;
8646
+ /** Sets which Supabase organization new projects are provisioned under (the connect-time picker). */
8647
+ setSupabaseConnectionOrganization: SupabaseConnection;
8648
+ };
8649
+ export type SupabaseConnectionMutationBeginSupabaseOAuthArgs = {
8650
+ input: BeginSupabaseOAuthInput;
8651
+ };
8652
+ export type SupabaseConnectionMutationCompleteSupabaseOAuthArgs = {
8653
+ input: CompleteSupabaseOAuthInput;
8654
+ };
8655
+ export type SupabaseConnectionMutationDisconnectSupabaseArgs = {
8656
+ id: Scalars['ID']['input'];
8657
+ };
8658
+ export type SupabaseConnectionMutationListSupabaseOrganizationsArgs = {
8659
+ accountId: Scalars['ID']['input'];
8660
+ };
8661
+ export type SupabaseConnectionMutationSetSupabaseConnectionOrganizationArgs = {
8662
+ input: SetSupabaseConnectionOrganizationInput;
8663
+ };
8664
+ /**
8665
+ * Handoff for the browser OAuth step. The CLI opens `url`, and once the user authorizes,
8666
+ * the website callback completes the connection; the CLI polls for it with `state`.
8667
+ */
8668
+ export type SupabaseOAuthStart = {
8669
+ __typename?: 'SupabaseOAuthStart';
8670
+ state: Scalars['ID']['output'];
8671
+ url: Scalars['String']['output'];
8672
+ };
8673
+ export type SupabaseOrganization = {
8674
+ __typename?: 'SupabaseOrganization';
8675
+ id: Scalars['ID']['output'];
8676
+ name: Scalars['String']['output'];
8677
+ slug: Scalars['String']['output'];
8678
+ };
8679
+ export type SupabaseProject = {
8680
+ __typename?: 'SupabaseProject';
8681
+ app: App;
8682
+ createdAt: Scalars['DateTime']['output'];
8683
+ id: Scalars['ID']['output'];
8684
+ supabaseConnection: SupabaseConnection;
8685
+ supabaseProjectName: Scalars['String']['output'];
8686
+ supabaseProjectRef: Scalars['String']['output'];
8687
+ supabaseProjectUrl: Scalars['String']['output'];
8688
+ supabaseRegion: Scalars['String']['output'];
8689
+ updatedAt: Scalars['DateTime']['output'];
8690
+ };
8691
+ export type SupabaseProjectMutation = {
8692
+ __typename?: 'SupabaseProjectMutation';
8693
+ /** Removes the Expo-side project link only; the Supabase project is preserved. */
8694
+ deleteSupabaseProject: Scalars['ID']['output'];
8695
+ /**
8696
+ * Live publishable (anon) key for the app's linked Supabase project (Management API). Never
8697
+ * stored — null while the project is still provisioning. Used by the CLI to write EAS env vars.
8698
+ */
8699
+ fetchSupabasePublishableKey?: Maybe<Scalars['String']['output']>;
8700
+ /** Links an existing Supabase project (by ref) to the app. */
8701
+ linkSupabaseProject: SupabaseProject;
8702
+ /**
8703
+ * Schedules an additional hosted Supabase project for selected EAS environments. Does not replace
8704
+ * the app's primary linked project — poll the receipt for ref/url/publishableKey in resultData.
8705
+ */
8706
+ provisionAdditionalSupabaseProject: BackgroundJobReceipt;
8707
+ /** Schedules provisioning of a new Supabase project for the app. Poll the returned receipt until success, then read app.supabaseProject. */
8708
+ provisionSupabaseProject: BackgroundJobReceipt;
8709
+ };
8710
+ export type SupabaseProjectMutationDeleteSupabaseProjectArgs = {
8711
+ id: Scalars['ID']['input'];
8712
+ };
8713
+ export type SupabaseProjectMutationFetchSupabasePublishableKeyArgs = {
8714
+ appId: Scalars['ID']['input'];
8715
+ };
8716
+ export type SupabaseProjectMutationLinkSupabaseProjectArgs = {
8717
+ input: LinkSupabaseProjectInput;
8718
+ };
8719
+ export type SupabaseProjectMutationProvisionAdditionalSupabaseProjectArgs = {
8720
+ input: ProvisionAdditionalSupabaseProjectInput;
8721
+ };
8722
+ export type SupabaseProjectMutationProvisionSupabaseProjectArgs = {
8723
+ input: ProvisionSupabaseProjectInput;
8724
+ };
8553
8725
  export declare enum TargetEntityMutationType {
8554
8726
  Create = "CREATE",
8555
8727
  Delete = "DELETE",
@@ -10482,7 +10654,7 @@ export type WorkflowDeviceTestCaseResult = {
10482
10654
  export type WorkflowDeviceTestCaseResultInput = {
10483
10655
  /** Execution time in milliseconds. Must be non-negative. */
10484
10656
  duration?: InputMaybe<Scalars['Int']['input']>;
10485
- /** Error message if failed. Max 4096 characters. */
10657
+ /** Error message if failed. Truncated to 4096 characters. */
10486
10658
  errorMessage?: InputMaybe<Scalars['String']['input']>;
10487
10659
  /** Test case name (e.g., "login", "checkout"). Max 255 characters. */
10488
10660
  name: Scalars['String']['input'];
@@ -16200,6 +16372,67 @@ export type CreateIosSubmissionMutation = {
16200
16372
  };
16201
16373
  };
16202
16374
  };
16375
+ export type CancelSubmissionMutationVariables = Exact<{
16376
+ submissionId: Scalars['ID']['input'];
16377
+ }>;
16378
+ export type CancelSubmissionMutation = {
16379
+ __typename?: 'RootMutation';
16380
+ submission: {
16381
+ __typename?: 'SubmissionMutation';
16382
+ cancelSubmission: {
16383
+ __typename?: 'Submission';
16384
+ id: string;
16385
+ status: SubmissionStatus;
16386
+ };
16387
+ };
16388
+ };
16389
+ export type RetrySubmissionMutationVariables = Exact<{
16390
+ parentSubmissionId: Scalars['ID']['input'];
16391
+ }>;
16392
+ export type RetrySubmissionMutation = {
16393
+ __typename?: 'RootMutation';
16394
+ submission: {
16395
+ __typename?: 'SubmissionMutation';
16396
+ retrySubmission: {
16397
+ __typename?: 'CreateSubmissionResult';
16398
+ submission: {
16399
+ __typename?: 'Submission';
16400
+ id: string;
16401
+ status: SubmissionStatus;
16402
+ platform: AppPlatform;
16403
+ logFiles: Array<string>;
16404
+ app: {
16405
+ __typename?: 'App';
16406
+ id: string;
16407
+ name: string;
16408
+ slug: string;
16409
+ ownerAccount: {
16410
+ __typename?: 'Account';
16411
+ id: string;
16412
+ name: string;
16413
+ };
16414
+ };
16415
+ androidConfig?: {
16416
+ __typename?: 'AndroidSubmissionConfig';
16417
+ applicationIdentifier?: string | null;
16418
+ track: string;
16419
+ releaseStatus?: SubmissionAndroidReleaseStatus | null;
16420
+ rollout?: number | null;
16421
+ } | null;
16422
+ iosConfig?: {
16423
+ __typename?: 'IosSubmissionConfig';
16424
+ ascAppIdentifier: string;
16425
+ appleIdUsername?: string | null;
16426
+ } | null;
16427
+ error?: {
16428
+ __typename?: 'SubmissionError';
16429
+ errorCode?: string | null;
16430
+ message?: string | null;
16431
+ } | null;
16432
+ };
16433
+ };
16434
+ };
16435
+ };
16203
16436
  export type CreateUploadSessionMutationVariables = Exact<{
16204
16437
  type: UploadSessionType;
16205
16438
  filename?: InputMaybe<Scalars['String']['input']>;
@@ -19143,6 +19376,138 @@ export type SubmissionsByIdQuery = {
19143
19376
  };
19144
19377
  };
19145
19378
  };
19379
+ export type SubmissionByIdWithSubmittedBuildQueryVariables = Exact<{
19380
+ submissionId: Scalars['ID']['input'];
19381
+ }>;
19382
+ export type SubmissionByIdWithSubmittedBuildQuery = {
19383
+ __typename?: 'RootQuery';
19384
+ submissions: {
19385
+ __typename?: 'SubmissionQuery';
19386
+ byId: {
19387
+ __typename?: 'Submission';
19388
+ id: string;
19389
+ createdAt: any;
19390
+ completedAt?: any | null;
19391
+ canRetry: boolean;
19392
+ maxRetryTimeMinutes: number;
19393
+ status: SubmissionStatus;
19394
+ platform: AppPlatform;
19395
+ logFiles: Array<string>;
19396
+ submittedBuild?: {
19397
+ __typename?: 'Build';
19398
+ id: string;
19399
+ status: BuildStatus;
19400
+ platform: AppPlatform;
19401
+ logFiles: Array<string>;
19402
+ channel?: string | null;
19403
+ distribution?: DistributionType | null;
19404
+ iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
19405
+ buildProfile?: string | null;
19406
+ sdkVersion?: string | null;
19407
+ appVersion?: string | null;
19408
+ appBuildVersion?: string | null;
19409
+ runtimeVersion?: string | null;
19410
+ gitCommitHash?: string | null;
19411
+ gitCommitMessage?: string | null;
19412
+ initialQueuePosition?: number | null;
19413
+ queuePosition?: number | null;
19414
+ estimatedWaitTimeLeftSeconds?: number | null;
19415
+ priority: BuildPriority;
19416
+ createdAt: any;
19417
+ updatedAt: any;
19418
+ message?: string | null;
19419
+ completedAt?: any | null;
19420
+ expirationDate?: any | null;
19421
+ isForIosSimulator: boolean;
19422
+ error?: {
19423
+ __typename?: 'BuildError';
19424
+ errorCode: string;
19425
+ message: string;
19426
+ docsUrl?: string | null;
19427
+ } | null;
19428
+ artifacts?: {
19429
+ __typename?: 'BuildArtifacts';
19430
+ buildUrl?: string | null;
19431
+ xcodeBuildLogsUrl?: string | null;
19432
+ applicationArchiveUrl?: string | null;
19433
+ buildArtifactsUrl?: string | null;
19434
+ } | null;
19435
+ fingerprint?: {
19436
+ __typename?: 'Fingerprint';
19437
+ id: string;
19438
+ hash: string;
19439
+ } | null;
19440
+ initiatingActor?: {
19441
+ __typename: 'PartnerActor';
19442
+ id: string;
19443
+ displayName: string;
19444
+ } | {
19445
+ __typename: 'Robot';
19446
+ id: string;
19447
+ displayName: string;
19448
+ } | {
19449
+ __typename: 'SSOUser';
19450
+ id: string;
19451
+ displayName: string;
19452
+ } | {
19453
+ __typename: 'User';
19454
+ id: string;
19455
+ displayName: string;
19456
+ } | null;
19457
+ project: {
19458
+ __typename: 'App';
19459
+ id: string;
19460
+ name: string;
19461
+ slug: string;
19462
+ ownerAccount: {
19463
+ __typename?: 'Account';
19464
+ id: string;
19465
+ name: string;
19466
+ };
19467
+ } | {
19468
+ __typename: 'Snack';
19469
+ id: string;
19470
+ name: string;
19471
+ slug: string;
19472
+ };
19473
+ metrics?: {
19474
+ __typename?: 'BuildMetrics';
19475
+ buildWaitTime?: number | null;
19476
+ buildQueueTime?: number | null;
19477
+ buildDuration?: number | null;
19478
+ } | null;
19479
+ } | null;
19480
+ app: {
19481
+ __typename?: 'App';
19482
+ id: string;
19483
+ name: string;
19484
+ slug: string;
19485
+ ownerAccount: {
19486
+ __typename?: 'Account';
19487
+ id: string;
19488
+ name: string;
19489
+ };
19490
+ };
19491
+ androidConfig?: {
19492
+ __typename?: 'AndroidSubmissionConfig';
19493
+ applicationIdentifier?: string | null;
19494
+ track: string;
19495
+ releaseStatus?: SubmissionAndroidReleaseStatus | null;
19496
+ rollout?: number | null;
19497
+ } | null;
19498
+ iosConfig?: {
19499
+ __typename?: 'IosSubmissionConfig';
19500
+ ascAppIdentifier: string;
19501
+ appleIdUsername?: string | null;
19502
+ } | null;
19503
+ error?: {
19504
+ __typename?: 'SubmissionError';
19505
+ errorCode?: string | null;
19506
+ message?: string | null;
19507
+ } | null;
19508
+ };
19509
+ };
19510
+ };
19146
19511
  export type GetAllSubmissionsForAppQueryVariables = Exact<{
19147
19512
  appId: Scalars['String']['input'];
19148
19513
  offset: Scalars['Int']['input'];
@@ -19160,9 +19525,97 @@ export type GetAllSubmissionsForAppQuery = {
19160
19525
  submissions: Array<{
19161
19526
  __typename?: 'Submission';
19162
19527
  id: string;
19528
+ createdAt: any;
19529
+ completedAt?: any | null;
19530
+ canRetry: boolean;
19531
+ maxRetryTimeMinutes: number;
19163
19532
  status: SubmissionStatus;
19164
19533
  platform: AppPlatform;
19165
19534
  logFiles: Array<string>;
19535
+ submittedBuild?: {
19536
+ __typename?: 'Build';
19537
+ id: string;
19538
+ status: BuildStatus;
19539
+ platform: AppPlatform;
19540
+ logFiles: Array<string>;
19541
+ channel?: string | null;
19542
+ distribution?: DistributionType | null;
19543
+ iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
19544
+ buildProfile?: string | null;
19545
+ sdkVersion?: string | null;
19546
+ appVersion?: string | null;
19547
+ appBuildVersion?: string | null;
19548
+ runtimeVersion?: string | null;
19549
+ gitCommitHash?: string | null;
19550
+ gitCommitMessage?: string | null;
19551
+ initialQueuePosition?: number | null;
19552
+ queuePosition?: number | null;
19553
+ estimatedWaitTimeLeftSeconds?: number | null;
19554
+ priority: BuildPriority;
19555
+ createdAt: any;
19556
+ updatedAt: any;
19557
+ message?: string | null;
19558
+ completedAt?: any | null;
19559
+ expirationDate?: any | null;
19560
+ isForIosSimulator: boolean;
19561
+ error?: {
19562
+ __typename?: 'BuildError';
19563
+ errorCode: string;
19564
+ message: string;
19565
+ docsUrl?: string | null;
19566
+ } | null;
19567
+ artifacts?: {
19568
+ __typename?: 'BuildArtifacts';
19569
+ buildUrl?: string | null;
19570
+ xcodeBuildLogsUrl?: string | null;
19571
+ applicationArchiveUrl?: string | null;
19572
+ buildArtifactsUrl?: string | null;
19573
+ } | null;
19574
+ fingerprint?: {
19575
+ __typename?: 'Fingerprint';
19576
+ id: string;
19577
+ hash: string;
19578
+ } | null;
19579
+ initiatingActor?: {
19580
+ __typename: 'PartnerActor';
19581
+ id: string;
19582
+ displayName: string;
19583
+ } | {
19584
+ __typename: 'Robot';
19585
+ id: string;
19586
+ displayName: string;
19587
+ } | {
19588
+ __typename: 'SSOUser';
19589
+ id: string;
19590
+ displayName: string;
19591
+ } | {
19592
+ __typename: 'User';
19593
+ id: string;
19594
+ displayName: string;
19595
+ } | null;
19596
+ project: {
19597
+ __typename: 'App';
19598
+ id: string;
19599
+ name: string;
19600
+ slug: string;
19601
+ ownerAccount: {
19602
+ __typename?: 'Account';
19603
+ id: string;
19604
+ name: string;
19605
+ };
19606
+ } | {
19607
+ __typename: 'Snack';
19608
+ id: string;
19609
+ name: string;
19610
+ slug: string;
19611
+ };
19612
+ metrics?: {
19613
+ __typename?: 'BuildMetrics';
19614
+ buildWaitTime?: number | null;
19615
+ buildQueueTime?: number | null;
19616
+ buildDuration?: number | null;
19617
+ } | null;
19618
+ } | null;
19166
19619
  app: {
19167
19620
  __typename?: 'App';
19168
19621
  id: string;
@@ -21297,6 +21750,129 @@ export type SubmissionFragment = {
21297
21750
  message?: string | null;
21298
21751
  } | null;
21299
21752
  };
21753
+ export type SubmissionWithSubmittedBuildFragment = {
21754
+ __typename?: 'Submission';
21755
+ id: string;
21756
+ createdAt: any;
21757
+ completedAt?: any | null;
21758
+ canRetry: boolean;
21759
+ maxRetryTimeMinutes: number;
21760
+ status: SubmissionStatus;
21761
+ platform: AppPlatform;
21762
+ logFiles: Array<string>;
21763
+ submittedBuild?: {
21764
+ __typename?: 'Build';
21765
+ id: string;
21766
+ status: BuildStatus;
21767
+ platform: AppPlatform;
21768
+ logFiles: Array<string>;
21769
+ channel?: string | null;
21770
+ distribution?: DistributionType | null;
21771
+ iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
21772
+ buildProfile?: string | null;
21773
+ sdkVersion?: string | null;
21774
+ appVersion?: string | null;
21775
+ appBuildVersion?: string | null;
21776
+ runtimeVersion?: string | null;
21777
+ gitCommitHash?: string | null;
21778
+ gitCommitMessage?: string | null;
21779
+ initialQueuePosition?: number | null;
21780
+ queuePosition?: number | null;
21781
+ estimatedWaitTimeLeftSeconds?: number | null;
21782
+ priority: BuildPriority;
21783
+ createdAt: any;
21784
+ updatedAt: any;
21785
+ message?: string | null;
21786
+ completedAt?: any | null;
21787
+ expirationDate?: any | null;
21788
+ isForIosSimulator: boolean;
21789
+ error?: {
21790
+ __typename?: 'BuildError';
21791
+ errorCode: string;
21792
+ message: string;
21793
+ docsUrl?: string | null;
21794
+ } | null;
21795
+ artifacts?: {
21796
+ __typename?: 'BuildArtifacts';
21797
+ buildUrl?: string | null;
21798
+ xcodeBuildLogsUrl?: string | null;
21799
+ applicationArchiveUrl?: string | null;
21800
+ buildArtifactsUrl?: string | null;
21801
+ } | null;
21802
+ fingerprint?: {
21803
+ __typename?: 'Fingerprint';
21804
+ id: string;
21805
+ hash: string;
21806
+ } | null;
21807
+ initiatingActor?: {
21808
+ __typename: 'PartnerActor';
21809
+ id: string;
21810
+ displayName: string;
21811
+ } | {
21812
+ __typename: 'Robot';
21813
+ id: string;
21814
+ displayName: string;
21815
+ } | {
21816
+ __typename: 'SSOUser';
21817
+ id: string;
21818
+ displayName: string;
21819
+ } | {
21820
+ __typename: 'User';
21821
+ id: string;
21822
+ displayName: string;
21823
+ } | null;
21824
+ project: {
21825
+ __typename: 'App';
21826
+ id: string;
21827
+ name: string;
21828
+ slug: string;
21829
+ ownerAccount: {
21830
+ __typename?: 'Account';
21831
+ id: string;
21832
+ name: string;
21833
+ };
21834
+ } | {
21835
+ __typename: 'Snack';
21836
+ id: string;
21837
+ name: string;
21838
+ slug: string;
21839
+ };
21840
+ metrics?: {
21841
+ __typename?: 'BuildMetrics';
21842
+ buildWaitTime?: number | null;
21843
+ buildQueueTime?: number | null;
21844
+ buildDuration?: number | null;
21845
+ } | null;
21846
+ } | null;
21847
+ app: {
21848
+ __typename?: 'App';
21849
+ id: string;
21850
+ name: string;
21851
+ slug: string;
21852
+ ownerAccount: {
21853
+ __typename?: 'Account';
21854
+ id: string;
21855
+ name: string;
21856
+ };
21857
+ };
21858
+ androidConfig?: {
21859
+ __typename?: 'AndroidSubmissionConfig';
21860
+ applicationIdentifier?: string | null;
21861
+ track: string;
21862
+ releaseStatus?: SubmissionAndroidReleaseStatus | null;
21863
+ rollout?: number | null;
21864
+ } | null;
21865
+ iosConfig?: {
21866
+ __typename?: 'IosSubmissionConfig';
21867
+ ascAppIdentifier: string;
21868
+ appleIdUsername?: string | null;
21869
+ } | null;
21870
+ error?: {
21871
+ __typename?: 'SubmissionError';
21872
+ errorCode?: string | null;
21873
+ message?: string | null;
21874
+ } | null;
21875
+ };
21300
21876
  export type UpdateFragment = {
21301
21877
  __typename?: 'Update';
21302
21878
  id: string;