eas-cli 12.0.0 → 12.1.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.
Files changed (35) hide show
  1. package/README.md +60 -60
  2. package/build/build/build.js +8 -45
  3. package/build/build/evaluateConfigWithEnvVarsAsync.d.ts +2 -1
  4. package/build/build/evaluateConfigWithEnvVarsAsync.js +31 -9
  5. package/build/build/graphql.d.ts +2 -1
  6. package/build/build/graphql.js +13 -2
  7. package/build/build/runBuildAndSubmit.js +1 -1
  8. package/build/commands/build/resign.js +1 -0
  9. package/build/commands/build/version/get.js +1 -0
  10. package/build/commands/build/version/set.js +1 -0
  11. package/build/commands/build/version/sync.js +1 -0
  12. package/build/commands/config.js +1 -0
  13. package/build/commands/update/index.js +22 -5
  14. package/build/commands/update/roll-back-to-embedded.js +6 -6
  15. package/build/commands/worker/deploy.d.ts +15 -0
  16. package/build/commands/worker/deploy.js +181 -0
  17. package/build/graphql/generated.d.ts +301 -53
  18. package/build/graphql/generated.js +72 -12
  19. package/build/project/ios/target.js +1 -1
  20. package/build/project/maybeUploadFingerprintAsync.d.ts +15 -0
  21. package/build/project/maybeUploadFingerprintAsync.js +57 -0
  22. package/build/project/publish.d.ts +16 -11
  23. package/build/project/publish.js +33 -30
  24. package/build/project/resolveRuntimeVersionAsync.d.ts +13 -0
  25. package/build/project/resolveRuntimeVersionAsync.js +21 -17
  26. package/build/worker/assets.d.ts +25 -0
  27. package/build/worker/assets.js +110 -0
  28. package/build/worker/deployment.d.ts +6 -0
  29. package/build/worker/deployment.js +57 -0
  30. package/build/worker/mutations.d.ts +11 -0
  31. package/build/worker/mutations.js +45 -0
  32. package/build/worker/upload.d.ts +20 -0
  33. package/build/worker/upload.js +141 -0
  34. package/oclif.manifest.json +22 -1
  35. package/package.json +5 -2
@@ -1216,7 +1216,9 @@ export type App = Project & {
1216
1216
  workerDeployment?: Maybe<WorkerDeployment>;
1217
1217
  workerDeploymentAlias?: Maybe<WorkerDeploymentAlias>;
1218
1218
  workerDeploymentAliases: WorkerDeploymentAliasesConnection;
1219
+ workerDeploymentRequest: WorkerDeploymentRequestEdge;
1219
1220
  workerDeployments: WorkerDeploymentsConnection;
1221
+ workerDeploymentsCrash: WorkerDeploymentCrashEdge;
1220
1222
  workerDeploymentsCrashes?: Maybe<WorkerDeploymentCrashes>;
1221
1223
  workerDeploymentsMetrics?: Maybe<WorkerDeploymentMetrics>;
1222
1224
  workerDeploymentsRequests?: Maybe<WorkerDeploymentRequests>;
@@ -1396,6 +1398,10 @@ export type AppWorkerDeploymentAliasesArgs = {
1396
1398
  last?: InputMaybe<Scalars['Int']['input']>;
1397
1399
  };
1398
1400
  /** Represents an Exponent App (or Experience in legacy terms) */
1401
+ export type AppWorkerDeploymentRequestArgs = {
1402
+ requestId: Scalars['ID']['input'];
1403
+ };
1404
+ /** Represents an Exponent App (or Experience in legacy terms) */
1399
1405
  export type AppWorkerDeploymentsArgs = {
1400
1406
  after?: InputMaybe<Scalars['String']['input']>;
1401
1407
  before?: InputMaybe<Scalars['String']['input']>;
@@ -1403,12 +1409,18 @@ export type AppWorkerDeploymentsArgs = {
1403
1409
  last?: InputMaybe<Scalars['Int']['input']>;
1404
1410
  };
1405
1411
  /** Represents an Exponent App (or Experience in legacy terms) */
1412
+ export type AppWorkerDeploymentsCrashArgs = {
1413
+ crashId: Scalars['ID']['input'];
1414
+ sampleFor?: InputMaybe<CrashSampleFor>;
1415
+ };
1416
+ /** Represents an Exponent App (or Experience in legacy terms) */
1406
1417
  export type AppWorkerDeploymentsCrashesArgs = {
1407
1418
  limit?: Scalars['Int']['input'];
1408
1419
  timespan: CrashesTimespan;
1409
1420
  };
1410
1421
  /** Represents an Exponent App (or Experience in legacy terms) */
1411
1422
  export type AppWorkerDeploymentsMetricsArgs = {
1423
+ filters?: InputMaybe<MetricsFilters>;
1412
1424
  timespan: MetricsTimespan;
1413
1425
  };
1414
1426
  /** Represents an Exponent App (or Experience in legacy terms) */
@@ -2201,6 +2213,14 @@ export type BillingPeriod = {
2201
2213
  export type BranchFilterInput = {
2202
2214
  searchTerm?: InputMaybe<Scalars['String']['input']>;
2203
2215
  };
2216
+ export type BranchQuery = {
2217
+ __typename?: 'BranchQuery';
2218
+ /** Query a Branch by ID */
2219
+ byId: UpdateBranch;
2220
+ };
2221
+ export type BranchQueryByIdArgs = {
2222
+ branchId: Scalars['ID']['input'];
2223
+ };
2204
2224
  /** Represents an EAS Build */
2205
2225
  export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
2206
2226
  __typename?: 'Build';
@@ -2221,6 +2241,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
2221
2241
  createdAt: Scalars['DateTime']['output'];
2222
2242
  customNodeVersion?: Maybe<Scalars['String']['output']>;
2223
2243
  customWorkflowName?: Maybe<Scalars['String']['output']>;
2244
+ deployment?: Maybe<Deployment>;
2224
2245
  developmentClient?: Maybe<Scalars['Boolean']['output']>;
2225
2246
  distribution?: Maybe<DistributionType>;
2226
2247
  enqueuedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -2269,6 +2290,8 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
2269
2290
  resourceClassDisplayName: Scalars['String']['output'];
2270
2291
  retryDisabledReason?: Maybe<BuildRetryDisabledReason>;
2271
2292
  runFromCI?: Maybe<Scalars['Boolean']['output']>;
2293
+ runtime?: Maybe<Runtime>;
2294
+ /** @deprecated Use 'runtime' field . */
2272
2295
  runtimeVersion?: Maybe<Scalars['String']['output']>;
2273
2296
  sdkVersion?: Maybe<Scalars['String']['output']>;
2274
2297
  selectedImage?: Maybe<Scalars['String']['output']>;
@@ -2346,6 +2369,7 @@ export type BuildArtifacts = {
2346
2369
  applicationArchiveUrl?: Maybe<Scalars['String']['output']>;
2347
2370
  buildArtifactsUrl?: Maybe<Scalars['String']['output']>;
2348
2371
  buildUrl?: Maybe<Scalars['String']['output']>;
2372
+ /** @deprecated Use 'runtime.fingerprintDebugInfoUrl' instead. */
2349
2373
  fingerprintUrl?: Maybe<Scalars['String']['output']>;
2350
2374
  xcodeBuildLogsUrl?: Maybe<Scalars['String']['output']>;
2351
2375
  };
@@ -2683,6 +2707,14 @@ export type Card = {
2683
2707
  export type ChannelFilterInput = {
2684
2708
  searchTerm?: InputMaybe<Scalars['String']['input']>;
2685
2709
  };
2710
+ export type ChannelQuery = {
2711
+ __typename?: 'ChannelQuery';
2712
+ /** Query a Channel by ID */
2713
+ byId: UpdateChannel;
2714
+ };
2715
+ export type ChannelQueryByIdArgs = {
2716
+ channelId: Scalars['ID']['input'];
2717
+ };
2686
2718
  export type Charge = {
2687
2719
  __typename?: 'Charge';
2688
2720
  amount: Scalars['Int']['output'];
@@ -2720,6 +2752,10 @@ export declare enum ContinentCode {
2720
2752
  Sa = "SA",
2721
2753
  T1 = "T1"
2722
2754
  }
2755
+ export declare enum CrashSampleFor {
2756
+ Newest = "NEWEST",
2757
+ Oldest = "OLDEST"
2758
+ }
2723
2759
  export type CrashesTimespan = {
2724
2760
  end: Scalars['DateTime']['input'];
2725
2761
  start?: InputMaybe<Scalars['DateTime']['input']>;
@@ -2772,6 +2808,7 @@ export type CreateGitHubBuildTriggerInput = {
2772
2808
  appId: Scalars['ID']['input'];
2773
2809
  autoSubmit: Scalars['Boolean']['input'];
2774
2810
  buildProfile: Scalars['String']['input'];
2811
+ environment?: InputMaybe<EnvironmentVariableEnvironment>;
2775
2812
  executionBehavior: GitHubBuildTriggerExecutionBehavior;
2776
2813
  isActive: Scalars['Boolean']['input'];
2777
2814
  platform: AppPlatform;
@@ -2824,6 +2861,11 @@ export type CreateSubmissionResult = {
2824
2861
  /** Created submission */
2825
2862
  submission: Submission;
2826
2863
  };
2864
+ export type CumulativeMetricsOverTimeData = {
2865
+ __typename?: 'CumulativeMetricsOverTimeData';
2866
+ data: LineChartData;
2867
+ metricsAtLastTimestamp: Array<LineDatapoint>;
2868
+ };
2827
2869
  export type CustomBuildConfigInput = {
2828
2870
  path: Scalars['String']['input'];
2829
2871
  };
@@ -2832,17 +2874,12 @@ export type CustomDomainDnsRecord = {
2832
2874
  dnsContent: Scalars['String']['output'];
2833
2875
  dnsName: Scalars['String']['output'];
2834
2876
  dnsType: CustomDomainDnsRecordType;
2877
+ isConfigured: Scalars['Boolean']['output'];
2835
2878
  };
2836
2879
  export declare enum CustomDomainDnsRecordType {
2837
2880
  Cname = "CNAME",
2838
2881
  Txt = "TXT"
2839
2882
  }
2840
- export type CustomDomainMetadata = {
2841
- __typename?: 'CustomDomainMetadata';
2842
- ownershipVerification?: Maybe<CustomDomainDnsRecord>;
2843
- status: CustomDomainStatus;
2844
- verificationErrors?: Maybe<Array<Scalars['String']['output']>>;
2845
- };
2846
2883
  export type CustomDomainMutation = {
2847
2884
  __typename?: 'CustomDomainMutation';
2848
2885
  deleteCustomDomain: DeleteCustomDomainResult;
@@ -2860,19 +2897,19 @@ export type CustomDomainMutationRegisterCustomDomainArgs = {
2860
2897
  appId: Scalars['ID']['input'];
2861
2898
  hostname: Scalars['String']['input'];
2862
2899
  };
2900
+ export type CustomDomainSetup = {
2901
+ __typename?: 'CustomDomainSetup';
2902
+ sslErrors?: Maybe<Array<Scalars['String']['output']>>;
2903
+ sslStatus?: Maybe<CustomDomainStatus>;
2904
+ status: CustomDomainStatus;
2905
+ verificationErrors?: Maybe<Array<Scalars['String']['output']>>;
2906
+ verificationStatus?: Maybe<CustomDomainStatus>;
2907
+ };
2863
2908
  export declare enum CustomDomainStatus {
2864
2909
  Active = "ACTIVE",
2865
- ActiveRedeploying = "ACTIVE_REDEPLOYING",
2866
- Blocked = "BLOCKED",
2867
- Deleted = "DELETED",
2868
- Moved = "MOVED",
2910
+ Error = "ERROR",
2869
2911
  Pending = "PENDING",
2870
- PendingBlocked = "PENDING_BLOCKED",
2871
- PendingDeletion = "PENDING_DELETION",
2872
- PendingMigration = "PENDING_MIGRATION",
2873
- PendingProvisioned = "PENDING_PROVISIONED",
2874
- Provisioned = "PROVISIONED",
2875
- Unknown = "UNKNOWN"
2912
+ TimedOut = "TIMED_OUT"
2876
2913
  }
2877
2914
  export type DeleteAccessTokenResult = {
2878
2915
  __typename?: 'DeleteAccessTokenResult';
@@ -3012,6 +3049,12 @@ export type DeploymentBuildsConnection = {
3012
3049
  edges: Array<DeploymentBuildEdge>;
3013
3050
  pageInfo: PageInfo;
3014
3051
  };
3052
+ export type DeploymentCumulativeMetricsOverTimeData = {
3053
+ __typename?: 'DeploymentCumulativeMetricsOverTimeData';
3054
+ data: LineChartData;
3055
+ metricsAtLastTimestamp: Array<LineDatapoint>;
3056
+ mostPopularUpdates: Array<Update>;
3057
+ };
3015
3058
  export type DeploymentEdge = {
3016
3059
  __typename?: 'DeploymentEdge';
3017
3060
  cursor: Scalars['String']['output'];
@@ -3023,13 +3066,16 @@ export type DeploymentFilterInput = {
3023
3066
  };
3024
3067
  export type DeploymentInsights = {
3025
3068
  __typename?: 'DeploymentInsights';
3069
+ cumulativeMetricsOverTime: DeploymentCumulativeMetricsOverTimeData;
3026
3070
  embeddedUpdateTotalUniqueUsers: Scalars['Int']['output'];
3027
3071
  embeddedUpdateUniqueUsersOverTime: UniqueUsersOverTimeData;
3028
3072
  id: Scalars['ID']['output'];
3029
3073
  mostPopularUpdates: Array<Update>;
3030
- mostPopularUpdatesNew: Array<Update>;
3031
3074
  uniqueUsersOverTime: UniqueUsersOverTimeData;
3032
3075
  };
3076
+ export type DeploymentInsightsCumulativeMetricsOverTimeArgs = {
3077
+ timespan: InsightsTimespan;
3078
+ };
3033
3079
  export type DeploymentInsightsEmbeddedUpdateTotalUniqueUsersArgs = {
3034
3080
  timespan: InsightsTimespan;
3035
3081
  };
@@ -3039,12 +3085,17 @@ export type DeploymentInsightsEmbeddedUpdateUniqueUsersOverTimeArgs = {
3039
3085
  export type DeploymentInsightsMostPopularUpdatesArgs = {
3040
3086
  timespan: InsightsTimespan;
3041
3087
  };
3042
- export type DeploymentInsightsMostPopularUpdatesNewArgs = {
3043
- timespan: InsightsTimespan;
3044
- };
3045
3088
  export type DeploymentInsightsUniqueUsersOverTimeArgs = {
3046
3089
  timespan: InsightsTimespan;
3047
3090
  };
3091
+ export type DeploymentQuery = {
3092
+ __typename?: 'DeploymentQuery';
3093
+ /** Query a Deployment by ID */
3094
+ byId: Deployment;
3095
+ };
3096
+ export type DeploymentQueryByIdArgs = {
3097
+ deploymentId: Scalars['ID']['input'];
3098
+ };
3048
3099
  export type DeploymentSignedUrlResult = {
3049
3100
  __typename?: 'DeploymentSignedUrlResult';
3050
3101
  deploymentIdentifier: Scalars['ID']['output'];
@@ -3453,6 +3504,7 @@ export type GitHubBuildInput = {
3453
3504
  autoSubmit?: InputMaybe<Scalars['Boolean']['input']>;
3454
3505
  baseDirectory?: InputMaybe<Scalars['String']['input']>;
3455
3506
  buildProfile: Scalars['String']['input'];
3507
+ environment?: InputMaybe<EnvironmentVariableEnvironment>;
3456
3508
  gitRef: Scalars['String']['input'];
3457
3509
  platform: AppPlatform;
3458
3510
  /** Repack the golden dev client build instead of running full build process. Used for onboarding. Do not use outside of onboarding flow, as for now it's only created with this specific use case in mind. */
@@ -3465,6 +3517,7 @@ export type GitHubBuildTrigger = {
3465
3517
  autoSubmit: Scalars['Boolean']['output'];
3466
3518
  buildProfile: Scalars['String']['output'];
3467
3519
  createdAt: Scalars['DateTime']['output'];
3520
+ environment?: Maybe<EnvironmentVariableEnvironment>;
3468
3521
  executionBehavior: GitHubBuildTriggerExecutionBehavior;
3469
3522
  id: Scalars['ID']['output'];
3470
3523
  isActive: Scalars['Boolean']['output'];
@@ -4079,6 +4132,12 @@ export type LineChartData = {
4079
4132
  datasets: Array<LineDataset>;
4080
4133
  labels: Array<Scalars['String']['output']>;
4081
4134
  };
4135
+ export type LineDatapoint = {
4136
+ __typename?: 'LineDatapoint';
4137
+ data: Scalars['Int']['output'];
4138
+ id: Scalars['ID']['output'];
4139
+ label: Scalars['String']['output'];
4140
+ };
4082
4141
  export type LineDataset = {
4083
4142
  __typename?: 'LineDataset';
4084
4143
  data: Array<Maybe<Scalars['Int']['output']>>;
@@ -4117,10 +4176,6 @@ export type MeMutation = {
4117
4176
  certifySecondFactorDevice: SecondFactorBooleanResult;
4118
4177
  /** Create a new Account and grant this User the owner Role */
4119
4178
  createAccount: Account;
4120
- /** Delete an Account created via createAccount */
4121
- deleteAccount: DeleteAccountResult;
4122
- /** Delete a SSO user. Actor must be an owner on the SSO user's SSO account. */
4123
- deleteSSOUser: DeleteSsoUserResult;
4124
4179
  /** Delete a second factor device */
4125
4180
  deleteSecondFactorDevice: SecondFactorBooleanResult;
4126
4181
  /** Delete a Snack that the current user owns */
@@ -4169,12 +4224,6 @@ export type MeMutationCertifySecondFactorDeviceArgs = {
4169
4224
  export type MeMutationCreateAccountArgs = {
4170
4225
  accountData: AccountDataInput;
4171
4226
  };
4172
- export type MeMutationDeleteAccountArgs = {
4173
- accountId: Scalars['ID']['input'];
4174
- };
4175
- export type MeMutationDeleteSsoUserArgs = {
4176
- ssoUserId: Scalars['ID']['input'];
4177
- };
4178
4227
  export type MeMutationDeleteSecondFactorDeviceArgs = {
4179
4228
  otp?: InputMaybe<Scalars['String']['input']>;
4180
4229
  userSecondFactorDeviceId: Scalars['ID']['input'];
@@ -4228,6 +4277,38 @@ export type MeteredBillingStatus = {
4228
4277
  EAS_BUILD: Scalars['Boolean']['output'];
4229
4278
  EAS_UPDATE: Scalars['Boolean']['output'];
4230
4279
  };
4280
+ export declare enum MetricsCacheStatus {
4281
+ Hit = "HIT",
4282
+ Miss = "MISS",
4283
+ Pass = "PASS"
4284
+ }
4285
+ export type MetricsFilters = {
4286
+ cacheStatus?: InputMaybe<Array<MetricsCacheStatus>>;
4287
+ continent?: InputMaybe<Array<ContinentCode>>;
4288
+ hasCustomDomainOrigin?: InputMaybe<Scalars['Boolean']['input']>;
4289
+ isAsset?: InputMaybe<Scalars['Boolean']['input']>;
4290
+ isCrash?: InputMaybe<Scalars['Boolean']['input']>;
4291
+ isVerifiedBot?: InputMaybe<Scalars['Boolean']['input']>;
4292
+ method?: InputMaybe<Array<MetricsRequestMethod>>;
4293
+ os?: InputMaybe<Array<UserAgentOs>>;
4294
+ pathname?: InputMaybe<Scalars['String']['input']>;
4295
+ status?: InputMaybe<Array<Scalars['Int']['input']>>;
4296
+ statusType?: InputMaybe<Array<MetricsStatusType>>;
4297
+ };
4298
+ export declare enum MetricsRequestMethod {
4299
+ Delete = "DELETE",
4300
+ Get = "GET",
4301
+ Options = "OPTIONS",
4302
+ Post = "POST",
4303
+ Put = "PUT"
4304
+ }
4305
+ export declare enum MetricsStatusType {
4306
+ ClientError = "CLIENT_ERROR",
4307
+ None = "NONE",
4308
+ Redirect = "REDIRECT",
4309
+ ServerError = "SERVER_ERROR",
4310
+ Successful = "SUCCESSFUL"
4311
+ }
4231
4312
  export type MetricsTimespan = {
4232
4313
  end: Scalars['DateTime']['input'];
4233
4314
  start: Scalars['DateTime']['input'];
@@ -4425,6 +4506,7 @@ export type PublishUpdateGroupInput = {
4425
4506
  message?: InputMaybe<Scalars['String']['input']>;
4426
4507
  rollBackToEmbeddedInfoGroup?: InputMaybe<UpdateRollBackToEmbeddedGroup>;
4427
4508
  rolloutInfoGroup?: InputMaybe<UpdateRolloutInfoGroup>;
4509
+ runtimeFingerprintSource?: InputMaybe<FingerprintSourceInput>;
4428
4510
  runtimeVersion: Scalars['String']['input'];
4429
4511
  turtleJobRunId?: InputMaybe<Scalars['String']['input']>;
4430
4512
  updateInfoGroup?: InputMaybe<UpdateInfoGroup>;
@@ -4444,7 +4526,8 @@ export type RescindUserInvitationResult = {
4444
4526
  id: Scalars['ID']['output'];
4445
4527
  };
4446
4528
  export declare enum ResourceClassExperiment {
4447
- C3D = "C3D"
4529
+ C3D = "C3D",
4530
+ N2 = "N2"
4448
4531
  }
4449
4532
  /** Represents a robot (not human) actor. */
4450
4533
  export type Robot = Actor & {
@@ -4478,8 +4561,6 @@ export type RobotMutation = {
4478
4561
  __typename?: 'RobotMutation';
4479
4562
  /** Create a Robot and grant it Permissions on an Account */
4480
4563
  createRobotForAccount: Robot;
4481
- /** Delete a Robot */
4482
- deleteRobot: DeleteRobotResult;
4483
4564
  /** Schedule deletion of a Robot */
4484
4565
  scheduleRobotDeletion: BackgroundJobReceipt;
4485
4566
  /** Update a Robot */
@@ -4490,9 +4571,6 @@ export type RobotMutationCreateRobotForAccountArgs = {
4490
4571
  permissions: Array<InputMaybe<Permission>>;
4491
4572
  robotData?: InputMaybe<RobotDataInput>;
4492
4573
  };
4493
- export type RobotMutationDeleteRobotArgs = {
4494
- id: Scalars['String']['input'];
4495
- };
4496
4574
  export type RobotMutationScheduleRobotDeletionArgs = {
4497
4575
  id: Scalars['ID']['input'];
4498
4576
  };
@@ -4658,11 +4736,17 @@ export type RootQuery = {
4658
4736
  /** Top-level query object for querying Audit Logs. */
4659
4737
  auditLogs: AuditLogQuery;
4660
4738
  backgroundJobReceipt: BackgroundJobReceiptQuery;
4739
+ /** Top-level query object for querying Branchs. */
4740
+ branches: BranchQuery;
4661
4741
  /** Top-level query object for querying annotations. */
4662
4742
  buildAnnotations: BuildAnnotationsQuery;
4663
4743
  /** Top-level query object for querying BuildPublicData publicly. */
4664
4744
  buildPublicData: BuildPublicDataQuery;
4665
4745
  builds: BuildQuery;
4746
+ /** Top-level query object for querying Channels. */
4747
+ channels: ChannelQuery;
4748
+ /** Top-level query object for querying Deployments. */
4749
+ deployments: DeploymentQuery;
4666
4750
  /** Top-level query object for querying Experimentation configuration. */
4667
4751
  experimentation: ExperimentationQuery;
4668
4752
  /** Top-level query object for querying GitHub App information and resources it has access to. */
@@ -4687,6 +4771,8 @@ export type RootQuery = {
4687
4771
  meUserActor?: Maybe<UserActor>;
4688
4772
  /** @deprecated Snacks and apps should be queried separately */
4689
4773
  project: ProjectQuery;
4774
+ /** Top-level query object for querying Runtimes. */
4775
+ runtimes: RuntimeQuery;
4690
4776
  snack: SnackQuery;
4691
4777
  /** Top-level query object for querying Expo status page services. */
4692
4778
  statuspageService: StatuspageServiceQuery;
@@ -4743,6 +4829,7 @@ export type RootQueryUserByUsernameArgs = {
4743
4829
  export type Runtime = {
4744
4830
  __typename?: 'Runtime';
4745
4831
  app: App;
4832
+ fingerprintDebugInfoUrl?: Maybe<Scalars['String']['output']>;
4746
4833
  firstBuildCreatedAt: Scalars['DateTime']['output'];
4747
4834
  id: Scalars['ID']['output'];
4748
4835
  version: Scalars['String']['output'];
@@ -4756,6 +4843,14 @@ export type RuntimeFilterInput = {
4756
4843
  /** Only return runtimes shared with this branch */
4757
4844
  branchId?: InputMaybe<Scalars['String']['input']>;
4758
4845
  };
4846
+ export type RuntimeQuery = {
4847
+ __typename?: 'RuntimeQuery';
4848
+ /** Query a Runtime by ID */
4849
+ byId: Runtime;
4850
+ };
4851
+ export type RuntimeQueryByIdArgs = {
4852
+ runtimeId: Scalars['ID']['input'];
4853
+ };
4759
4854
  /** Represents the connection over the runtime edge of an App */
4760
4855
  export type RuntimesConnection = {
4761
4856
  __typename?: 'RuntimesConnection';
@@ -5356,6 +5451,7 @@ export type UpdateChannelMutationEditUpdateChannelArgs = {
5356
5451
  export type UpdateGitHubBuildTriggerInput = {
5357
5452
  autoSubmit: Scalars['Boolean']['input'];
5358
5453
  buildProfile: Scalars['String']['input'];
5454
+ environment?: InputMaybe<EnvironmentVariableEnvironment>;
5359
5455
  executionBehavior: GitHubBuildTriggerExecutionBehavior;
5360
5456
  isActive: Scalars['Boolean']['input'];
5361
5457
  platform: AppPlatform;
@@ -5379,9 +5475,13 @@ export type UpdateInfoGroup = {
5379
5475
  };
5380
5476
  export type UpdateInsights = {
5381
5477
  __typename?: 'UpdateInsights';
5478
+ cumulativeMetricsOverTime: CumulativeMetricsOverTimeData;
5382
5479
  id: Scalars['ID']['output'];
5383
5480
  totalUniqueUsers: Scalars['Int']['output'];
5384
5481
  };
5482
+ export type UpdateInsightsCumulativeMetricsOverTimeArgs = {
5483
+ timespan: InsightsTimespan;
5484
+ };
5385
5485
  export type UpdateInsightsTotalUniqueUsersArgs = {
5386
5486
  timespan: InsightsTimespan;
5387
5487
  };
@@ -5705,6 +5805,32 @@ export type UserActorQueryByIdArgs = {
5705
5805
  export type UserActorQueryByUsernameArgs = {
5706
5806
  username: Scalars['String']['input'];
5707
5807
  };
5808
+ export declare enum UserAgentBrowser {
5809
+ AndroidMobile = "ANDROID_MOBILE",
5810
+ Chrome = "CHROME",
5811
+ ChromeIos = "CHROME_IOS",
5812
+ Edge = "EDGE",
5813
+ FacebookMobile = "FACEBOOK_MOBILE",
5814
+ Firefox = "FIREFOX",
5815
+ FirefoxIos = "FIREFOX_IOS",
5816
+ InternetExplorer = "INTERNET_EXPLORER",
5817
+ Konqueror = "KONQUEROR",
5818
+ Mozilla = "MOZILLA",
5819
+ Opera = "OPERA",
5820
+ Safari = "SAFARI",
5821
+ SafariMobile = "SAFARI_MOBILE",
5822
+ SamsungInternet = "SAMSUNG_INTERNET",
5823
+ UcBrowser = "UC_BROWSER"
5824
+ }
5825
+ export declare enum UserAgentOs {
5826
+ Android = "ANDROID",
5827
+ ChromeOs = "CHROME_OS",
5828
+ Ios = "IOS",
5829
+ IpadOs = "IPAD_OS",
5830
+ Linux = "LINUX",
5831
+ MacOs = "MAC_OS",
5832
+ Windows = "WINDOWS"
5833
+ }
5708
5834
  export type UserAppPinMutation = {
5709
5835
  __typename?: 'UserAppPinMutation';
5710
5836
  pinApp: Scalars['ID']['output'];
@@ -5961,12 +6087,14 @@ export type WorkerCustomDomain = {
5961
6087
  __typename?: 'WorkerCustomDomain';
5962
6088
  alias: WorkerDeploymentAlias;
5963
6089
  createdAt: Scalars['DateTime']['output'];
6090
+ dcvDelegationRecord?: Maybe<CustomDomainDnsRecord>;
5964
6091
  devDomainName: Scalars['DevDomainName']['output'];
5965
6092
  dnsRecord: CustomDomainDnsRecord;
5966
6093
  hostname: Scalars['String']['output'];
5967
6094
  id: Scalars['ID']['output'];
5968
- metadata?: Maybe<CustomDomainMetadata>;
6095
+ setup?: Maybe<CustomDomainSetup>;
5969
6096
  updatedAt: Scalars['DateTime']['output'];
6097
+ verificationRecord?: Maybe<CustomDomainDnsRecord>;
5970
6098
  };
5971
6099
  export type WorkerDeployment = {
5972
6100
  __typename?: 'WorkerDeployment';
@@ -5986,6 +6114,7 @@ export type WorkerDeploymentLogsArgs = {
5986
6114
  timespan: LogsTimespan;
5987
6115
  };
5988
6116
  export type WorkerDeploymentMetricsArgs = {
6117
+ filters?: InputMaybe<MetricsFilters>;
5989
6118
  timespan: MetricsTimespan;
5990
6119
  };
5991
6120
  export type WorkerDeploymentAlias = {
@@ -6010,19 +6139,28 @@ export type WorkerDeploymentAliasesConnection = {
6010
6139
  edges: Array<WorkerDeploymentAliasEdge>;
6011
6140
  pageInfo: PageInfo;
6012
6141
  };
6142
+ export type WorkerDeploymentCrashEdge = {
6143
+ __typename?: 'WorkerDeploymentCrashEdge';
6144
+ logs: Array<WorkerDeploymentLogNode>;
6145
+ request: WorkerDeploymentRequestNode;
6146
+ sample: WorkerDeploymentCrashSample;
6147
+ };
6013
6148
  export type WorkerDeploymentCrashNode = {
6014
6149
  __typename?: 'WorkerDeploymentCrashNode';
6150
+ id: Scalars['ID']['output'];
6015
6151
  minOccurrences: Scalars['Int']['output'];
6016
6152
  mostRecentlyOccurredAt: Scalars['DateTime']['output'];
6017
- sample?: Maybe<WorkerDeploymentCrashSample>;
6018
- sampleMessage?: Maybe<Scalars['String']['output']>;
6153
+ oldestOccurredAt: Scalars['DateTime']['output'];
6154
+ sample: WorkerDeploymentCrashSample;
6019
6155
  };
6020
6156
  export type WorkerDeploymentCrashSample = {
6021
6157
  __typename?: 'WorkerDeploymentCrashSample';
6158
+ firstStackLine?: Maybe<Scalars['String']['output']>;
6022
6159
  message: Scalars['String']['output'];
6023
6160
  name: Scalars['String']['output'];
6024
- requestTimestamp: Scalars['DateTime']['output'];
6161
+ scriptName: Scalars['String']['output'];
6025
6162
  stack?: Maybe<Array<Scalars['String']['output']>>;
6163
+ timestamp: Scalars['DateTime']['output'];
6026
6164
  };
6027
6165
  export type WorkerDeploymentCrashes = {
6028
6166
  __typename?: 'WorkerDeploymentCrashes';
@@ -6055,21 +6193,74 @@ export type WorkerDeploymentLogs = {
6055
6193
  };
6056
6194
  export type WorkerDeploymentMetrics = {
6057
6195
  __typename?: 'WorkerDeploymentMetrics';
6058
- groups: Array<Maybe<WorkerDeploymentMetricsEdge>>;
6059
- id: Scalars['ID']['output'];
6060
- summary: WorkerDeploymentMetricsData;
6061
- };
6062
- export type WorkerDeploymentMetricsData = {
6063
- __typename?: 'WorkerDeploymentMetricsData';
6196
+ byBrowser: Array<WorkerDeploymentMetricsBrowserEdge>;
6197
+ byContinent: Array<WorkerDeploymentMetricsContinentEdge>;
6198
+ byOS: Array<WorkerDeploymentMetricsOperatingSystemEdge>;
6199
+ interval: Scalars['Int']['output'];
6200
+ summary: WorkerDeploymentMetricsNode;
6201
+ timeseries: Array<WorkerDeploymentMetricsTimeseriesEdge>;
6202
+ };
6203
+ export type WorkerDeploymentMetricsBrowserEdge = {
6204
+ __typename?: 'WorkerDeploymentMetricsBrowserEdge';
6205
+ browser?: Maybe<UserAgentBrowser>;
6206
+ node: WorkerDeploymentMetricsNode;
6207
+ };
6208
+ export type WorkerDeploymentMetricsContinentEdge = {
6209
+ __typename?: 'WorkerDeploymentMetricsContinentEdge';
6210
+ continent: ContinentCode;
6211
+ node: WorkerDeploymentMetricsNode;
6212
+ };
6213
+ export type WorkerDeploymentMetricsNode = {
6214
+ __typename?: 'WorkerDeploymentMetricsNode';
6215
+ assetsPerMs?: Maybe<Scalars['Float']['output']>;
6216
+ assetsSum: Scalars['Int']['output'];
6217
+ cacheHitRatio: Scalars['Float']['output'];
6218
+ cacheHitRatioP50: Scalars['Float']['output'];
6219
+ cacheHitRatioP90: Scalars['Float']['output'];
6220
+ cacheHitRatioP99: Scalars['Float']['output'];
6221
+ cacheHitsPerMs?: Maybe<Scalars['Float']['output']>;
6222
+ cacheHitsSum: Scalars['Int']['output'];
6223
+ cachePassRatio: Scalars['Float']['output'];
6224
+ cachePassRatioP50: Scalars['Float']['output'];
6225
+ cachePassRatioP90: Scalars['Float']['output'];
6226
+ cachePassRatioP99: Scalars['Float']['output'];
6227
+ clientErrorRatio: Scalars['Float']['output'];
6228
+ clientErrorRatioP50: Scalars['Float']['output'];
6229
+ clientErrorRatioP90: Scalars['Float']['output'];
6230
+ clientErrorRatioP99: Scalars['Float']['output'];
6231
+ crashRatio: Scalars['Float']['output'];
6232
+ crashRatioP50: Scalars['Float']['output'];
6233
+ crashRatioP90: Scalars['Float']['output'];
6234
+ crashRatioP99: Scalars['Float']['output'];
6235
+ crashesPerMs?: Maybe<Scalars['Float']['output']>;
6064
6236
  crashesSum: Scalars['Int']['output'];
6065
- durationP50?: Maybe<Scalars['Float']['output']>;
6066
- durationP90?: Maybe<Scalars['Float']['output']>;
6067
- durationP99?: Maybe<Scalars['Float']['output']>;
6237
+ duration: Scalars['Float']['output'];
6238
+ durationP50: Scalars['Float']['output'];
6239
+ durationP90: Scalars['Float']['output'];
6240
+ durationP99: Scalars['Float']['output'];
6241
+ requestsPerMs?: Maybe<Scalars['Float']['output']>;
6068
6242
  requestsSum: Scalars['Int']['output'];
6069
- };
6070
- export type WorkerDeploymentMetricsEdge = {
6071
- __typename?: 'WorkerDeploymentMetricsEdge';
6072
- node: WorkerDeploymentMetricsData;
6243
+ sampleRate: Scalars['Float']['output'];
6244
+ serverErrorRatio: Scalars['Float']['output'];
6245
+ serverErrorRatioP50: Scalars['Float']['output'];
6246
+ serverErrorRatioP90: Scalars['Float']['output'];
6247
+ serverErrorRatioP99: Scalars['Float']['output'];
6248
+ staleIfErrorPerMs?: Maybe<Scalars['Float']['output']>;
6249
+ staleIfErrorSum: Scalars['Int']['output'];
6250
+ staleWhileRevalidatePerMs?: Maybe<Scalars['Float']['output']>;
6251
+ staleWhileRevalidateSum: Scalars['Int']['output'];
6252
+ };
6253
+ export type WorkerDeploymentMetricsOperatingSystemEdge = {
6254
+ __typename?: 'WorkerDeploymentMetricsOperatingSystemEdge';
6255
+ node: WorkerDeploymentMetricsNode;
6256
+ os?: Maybe<UserAgentOs>;
6257
+ };
6258
+ export type WorkerDeploymentMetricsTimeseriesEdge = {
6259
+ __typename?: 'WorkerDeploymentMetricsTimeseriesEdge';
6260
+ byBrowser: Array<WorkerDeploymentMetricsBrowserEdge>;
6261
+ byContinent: Array<WorkerDeploymentMetricsContinentEdge>;
6262
+ byOS: Array<WorkerDeploymentMetricsOperatingSystemEdge>;
6263
+ node?: Maybe<WorkerDeploymentMetricsNode>;
6073
6264
  timestamp: Scalars['DateTime']['output'];
6074
6265
  };
6075
6266
  export type WorkerDeploymentQuery = {
@@ -6079,6 +6270,17 @@ export type WorkerDeploymentQuery = {
6079
6270
  export type WorkerDeploymentQueryByIdArgs = {
6080
6271
  id: Scalars['ID']['input'];
6081
6272
  };
6273
+ export type WorkerDeploymentRequestEdge = {
6274
+ __typename?: 'WorkerDeploymentRequestEdge';
6275
+ crash?: Maybe<WorkerDeploymentCrashSample>;
6276
+ logs: Array<WorkerDeploymentLogNode>;
6277
+ node: WorkerDeploymentRequestNode;
6278
+ };
6279
+ export declare enum WorkerDeploymentRequestKind {
6280
+ Asset = "ASSET",
6281
+ Crash = "CRASH",
6282
+ Rejected = "REJECTED"
6283
+ }
6082
6284
  export type WorkerDeploymentRequestLocation = {
6083
6285
  __typename?: 'WorkerDeploymentRequestLocation';
6084
6286
  continent?: Maybe<ContinentCode>;
@@ -6087,12 +6289,21 @@ export type WorkerDeploymentRequestLocation = {
6087
6289
  };
6088
6290
  export type WorkerDeploymentRequestNode = {
6089
6291
  __typename?: 'WorkerDeploymentRequestNode';
6292
+ browser?: Maybe<UserAgentBrowser>;
6293
+ browserVersion?: Maybe<Scalars['String']['output']>;
6294
+ hasCustomDomainOrigin: Scalars['Boolean']['output'];
6295
+ id: Scalars['ID']['output'];
6296
+ isVerifiedBot: Scalars['Boolean']['output'];
6297
+ kind?: Maybe<WorkerDeploymentRequestKind>;
6090
6298
  location?: Maybe<WorkerDeploymentRequestLocation>;
6091
6299
  method: Scalars['String']['output'];
6300
+ os?: Maybe<UserAgentOs>;
6092
6301
  pathname: Scalars['String']['output'];
6302
+ scriptName: Scalars['String']['output'];
6093
6303
  search?: Maybe<Scalars['String']['output']>;
6094
6304
  status: Scalars['Int']['output'];
6095
6305
  timestamp: Scalars['DateTime']['output'];
6306
+ wallTime: Scalars['Int']['output'];
6096
6307
  };
6097
6308
  export type WorkerDeploymentRequests = {
6098
6309
  __typename?: 'WorkerDeploymentRequests';
@@ -6100,11 +6311,17 @@ export type WorkerDeploymentRequests = {
6100
6311
  nodes: Array<WorkerDeploymentRequestNode>;
6101
6312
  };
6102
6313
  export type WorkerDeploymentRequestsFilter = {
6314
+ include?: InputMaybe<WorkerDeploymentRequestsInclude>;
6315
+ includeBotRequests?: InputMaybe<Scalars['Boolean']['input']>;
6103
6316
  methods?: InputMaybe<Array<Scalars['String']['input']>>;
6104
6317
  pathname?: InputMaybe<Scalars['String']['input']>;
6105
6318
  statusCodes?: InputMaybe<Array<Scalars['Int']['input']>>;
6106
6319
  statusPatterns?: InputMaybe<Array<RequestStatusPattern>>;
6107
6320
  };
6321
+ export declare enum WorkerDeploymentRequestsInclude {
6322
+ Assets = "ASSETS",
6323
+ Routes = "ROUTES"
6324
+ }
6108
6325
  export type WorkerDeploymentsConnection = {
6109
6326
  __typename?: 'WorkerDeploymentsConnection';
6110
6327
  edges: Array<WorkerDeploymentEdge>;
@@ -13552,3 +13769,34 @@ export type CommonIosAppCredentialsFragment = {
13552
13769
  } | null;
13553
13770
  } | null;
13554
13771
  };
13772
+ export type CreateDeploymentUrlMutationVariables = Exact<{
13773
+ appId: Scalars['ID']['input'];
13774
+ deploymentIdentifier?: InputMaybe<Scalars['ID']['input']>;
13775
+ }>;
13776
+ export type CreateDeploymentUrlMutation = {
13777
+ __typename?: 'RootMutation';
13778
+ deployments: {
13779
+ __typename?: 'DeploymentsMutation';
13780
+ createSignedDeploymentUrl: {
13781
+ __typename?: 'DeploymentSignedUrlResult';
13782
+ pendingWorkerDeploymentId: string;
13783
+ deploymentIdentifier: string;
13784
+ url: string;
13785
+ };
13786
+ };
13787
+ };
13788
+ export type AssignDevDomainNameMutationVariables = Exact<{
13789
+ appId: Scalars['ID']['input'];
13790
+ name: Scalars['DevDomainName']['input'];
13791
+ }>;
13792
+ export type AssignDevDomainNameMutation = {
13793
+ __typename?: 'RootMutation';
13794
+ devDomainName: {
13795
+ __typename?: 'AppDevDomainNameMutation';
13796
+ assignDevDomainName: {
13797
+ __typename?: 'AppDevDomainName';
13798
+ id: string;
13799
+ name: any;
13800
+ };
13801
+ };
13802
+ };