eas-cli 26.0.0 → 27.2.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 (82) hide show
  1. package/README.md +293 -148
  2. package/build/analytics/AnalyticsManager.d.ts +2 -0
  3. package/build/analytics/AnalyticsManager.js +2 -0
  4. package/build/build/build.d.ts +1 -2
  5. package/build/build/build.js +9 -4
  6. package/build/build/errors.d.ts +2 -0
  7. package/build/build/errors.js +4 -1
  8. package/build/build/evaluateConfigWithEnvVarsAsync.js +1 -3
  9. package/build/build/freeTierNearLimitAgentUpdatesTip.d.ts +98 -0
  10. package/build/build/freeTierNearLimitAgentUpdatesTip.js +205 -0
  11. package/build/build/runBuildAndSubmit.d.ts +2 -0
  12. package/build/build/runBuildAndSubmit.js +3 -0
  13. package/build/build/simulatorsLaunchHint.d.ts +7 -0
  14. package/build/build/simulatorsLaunchHint.js +40 -0
  15. package/build/build/utils/expoTokenRole.d.ts +4 -0
  16. package/build/build/utils/expoTokenRole.js +14 -0
  17. package/build/commandUtils/EasCommand.js +3 -3
  18. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +2 -1
  19. package/build/commandUtils/workflow/referencedFiles.d.ts +6 -0
  20. package/build/commandUtils/workflow/referencedFiles.js +63 -0
  21. package/build/commandUtils/workflow/types.d.ts +1 -1
  22. package/build/commandUtils/workflow/utils.js +34 -5
  23. package/build/commands/account/login.js +6 -0
  24. package/build/commands/account/view.d.ts +0 -7
  25. package/build/commands/account/view.js +4 -74
  26. package/build/commands/build/index.js +8 -1
  27. package/build/commands/observe/session.js +4 -3
  28. package/build/commands/observe/trace.d.ts +17 -0
  29. package/build/commands/observe/trace.js +58 -0
  30. package/build/commands/observe/traces.d.ts +33 -0
  31. package/build/commands/observe/traces.js +159 -0
  32. package/build/commands/simulator/control.js +41 -6
  33. package/build/commands/simulator/logs.d.ts +22 -0
  34. package/build/commands/simulator/logs.js +188 -0
  35. package/build/commands/workflow/cancel.js +9 -20
  36. package/build/commands/workflow/run.js +9 -0
  37. package/build/commands/workflow/runs.js +1 -1
  38. package/build/graphql/generated.d.ts +698 -5
  39. package/build/graphql/generated.js +25 -4
  40. package/build/graphql/mutations/UserPreferenceMutation.d.ts +5 -0
  41. package/build/graphql/mutations/UserPreferenceMutation.js +24 -0
  42. package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +3 -2
  43. package/build/graphql/mutations/WorkflowRevisionMutation.js +12 -3
  44. package/build/graphql/queries/AccountQuery.d.ts +3 -1
  45. package/build/graphql/queries/AccountQuery.js +54 -0
  46. package/build/graphql/queries/ObserveQuery.d.ts +24 -1
  47. package/build/graphql/queries/ObserveQuery.js +114 -1
  48. package/build/graphql/queries/UserPreferenceQuery.d.ts +8 -0
  49. package/build/graphql/queries/UserPreferenceQuery.js +28 -0
  50. package/build/graphql/queries/WorkflowRunQuery.js +6 -0
  51. package/build/graphql/types/Observe.d.ts +1 -0
  52. package/build/graphql/types/Observe.js +53 -1
  53. package/build/graphql/types/WorkflowRun.js +1 -0
  54. package/build/help.js +13 -6
  55. package/build/log.d.ts +2 -0
  56. package/build/log.js +10 -0
  57. package/build/observe/fetchSessions.d.ts +12 -1
  58. package/build/observe/fetchSessions.js +39 -2
  59. package/build/observe/fetchSpans.d.ts +27 -0
  60. package/build/observe/fetchSpans.js +36 -0
  61. package/build/observe/formatSessions.d.ts +3 -1
  62. package/build/observe/formatSessions.js +40 -3
  63. package/build/observe/formatSpans.d.ts +110 -0
  64. package/build/observe/formatSpans.js +250 -0
  65. package/build/observe/spanFilters.d.ts +5 -0
  66. package/build/observe/spanFilters.js +32 -0
  67. package/build/project/projectStatus.js +1 -0
  68. package/build/simulator/artifacts.d.ts +9 -0
  69. package/build/simulator/artifacts.js +97 -0
  70. package/build/simulator/download.d.ts +2 -0
  71. package/build/simulator/download.js +57 -0
  72. package/build/simulator/events.js +2 -10
  73. package/build/simulator/preview.d.ts +26 -0
  74. package/build/simulator/preview.js +156 -0
  75. package/build/simulator/utils.d.ts +5 -0
  76. package/build/simulator/utils.js +42 -0
  77. package/build/user/accountPermissions.d.ts +11 -0
  78. package/build/user/accountPermissions.js +89 -0
  79. package/oclif.manifest.json +920 -422
  80. package/package.json +6 -6
  81. package/build/build/freeTierLimitGuidance.d.ts +0 -19
  82. package/build/build/freeTierLimitGuidance.js +0 -39
@@ -237,8 +237,7 @@ export type Account = {
237
237
  * Whether the account turned on environment variable protection. When protection is on,
238
238
  * reading, using, creating, changing, or deleting an environment variable whose environments are
239
239
  * exclusively production needs the PUBLISH_PROTECTED permission, whatever its visibility, in
240
- * every project of the account. Expo can also turn protection on for an account; this field
241
- * does not show that.
240
+ * every project of the account.
242
241
  */
243
242
  environmentVariableProtectionEnabled: Scalars['Boolean']['output'];
244
243
  /** Environment variables for an account */
@@ -992,6 +991,7 @@ export type ActivityTimelineProjectActivity = {
992
991
  };
993
992
  export declare enum ActivityTimelineProjectActivityType {
994
993
  Build = "BUILD",
994
+ DeviceRunSession = "DEVICE_RUN_SESSION",
995
995
  Submission = "SUBMISSION",
996
996
  Update = "UPDATE",
997
997
  Worker = "WORKER",
@@ -2145,11 +2145,13 @@ export type AppObserve = {
2145
2145
  * @deprecated Use overview.stability instead.
2146
2146
  */
2147
2147
  overviewStability: AppObserveOverviewStability;
2148
- /** One session's metrics and logs for the timeline (ENG-26160). Unknown session ids yield empty lists. */
2148
+ /** One session's metrics, logs and spans for the timeline (ENG-26160). Unknown session ids yield empty lists. */
2149
2149
  session: AppObserveSession;
2150
2150
  /** @deprecated Use metrics.timeSeries instead. */
2151
2151
  timeSeries: AppObserveTimeSeries;
2152
2152
  totalEventCount: Scalars['Int']['output'];
2153
+ /** Trace spans: today the HTTP request spans recorded with the SDK's networkTraces option (ENG-28448). */
2154
+ traces: AppObserveTraces;
2153
2155
  /**
2154
2156
  * Approximate count of unique users (`eas_client_id`) with at least one
2155
2157
  * supported-metric event in `[startTime, endTime)`. Uses a ClickHouse
@@ -3418,6 +3420,8 @@ export type AppObserveSession = {
3418
3420
  logs: AppObserveLogConnection;
3419
3421
  /** Metric samples in the session. */
3420
3422
  metrics: AppObserveMetricConnection;
3423
+ /** Trace spans in the session. Defaults to oldest first. */
3424
+ spans: AppObserveSpanConnection;
3421
3425
  };
3422
3426
  export type AppObserveSession_LogsArgs = {
3423
3427
  after?: InputMaybe<Scalars['String']['input']>;
@@ -3433,6 +3437,177 @@ export type AppObserveSession_MetricsArgs = {
3433
3437
  last?: InputMaybe<Scalars['Int']['input']>;
3434
3438
  orderBy?: InputMaybe<AppObserveMetricsListOrderBy>;
3435
3439
  };
3440
+ export type AppObserveSession_SpansArgs = {
3441
+ after?: InputMaybe<Scalars['String']['input']>;
3442
+ filter?: InputMaybe<AppObserveSessionSpanFilter>;
3443
+ first?: InputMaybe<Scalars['Int']['input']>;
3444
+ orderBy?: InputMaybe<AppObserveSpanListOrderBy>;
3445
+ };
3446
+ /** Filters for the spans of one session. The session already bounds the query. */
3447
+ export type AppObserveSessionSpanFilter = {
3448
+ hosts?: InputMaybe<Array<Scalars['String']['input']>>;
3449
+ httpStatusCodes?: InputMaybe<Array<Scalars['Int']['input']>>;
3450
+ kinds?: InputMaybe<Array<AppObserveSpanKind>>;
3451
+ minDurationMs?: InputMaybe<Scalars['Float']['input']>;
3452
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
3453
+ rootOnly?: InputMaybe<Scalars['Boolean']['input']>;
3454
+ statusCodes?: InputMaybe<Array<AppObserveSpanStatusCode>>;
3455
+ };
3456
+ export type AppObserveSpan = {
3457
+ __typename?: 'AppObserveSpan';
3458
+ appBuildNumber: Scalars['String']['output'];
3459
+ appEasBuildId?: Maybe<Scalars['String']['output']>;
3460
+ appIdentifier: Scalars['String']['output'];
3461
+ appUpdateId?: Maybe<Scalars['String']['output']>;
3462
+ appVersion: Scalars['String']['output'];
3463
+ /** Span attributes other than those extracted to dedicated fields. */
3464
+ attributes: Array<AppObserveEventProperty>;
3465
+ clientVersion?: Maybe<Scalars['String']['output']>;
3466
+ countryCode?: Maybe<Scalars['String']['output']>;
3467
+ deviceLanguageTag?: Maybe<Scalars['String']['output']>;
3468
+ deviceModel: Scalars['String']['output'];
3469
+ deviceOs: Scalars['String']['output'];
3470
+ deviceOsVersion: Scalars['String']['output'];
3471
+ droppedAttributesCount: Scalars['Int']['output'];
3472
+ droppedEventsCount: Scalars['Int']['output'];
3473
+ /** Span links are not stored; this counts the links received. */
3474
+ droppedLinksCount: Scalars['Int']['output'];
3475
+ /** Keeps sub-millisecond precision. */
3476
+ durationMs: Scalars['Float']['output'];
3477
+ easClientId: Scalars['String']['output'];
3478
+ endTimestamp: Scalars['DateTime']['output'];
3479
+ environment?: Maybe<Scalars['String']['output']>;
3480
+ events: Array<AppObserveSpanEvent>;
3481
+ expoSdkVersion?: Maybe<Scalars['String']['output']>;
3482
+ /** Null when the span is not an HTTP request span. */
3483
+ http?: Maybe<AppObserveSpanHttp>;
3484
+ id: Scalars['ID']['output'];
3485
+ ingestedAt?: Maybe<Scalars['DateTime']['output']>;
3486
+ kind: AppObserveSpanKind;
3487
+ /** Per the producer's semantic conventions: the HTTP method for request spans. */
3488
+ name: Scalars['String']['output'];
3489
+ /** Null for a root span. */
3490
+ parentSpanId?: Maybe<Scalars['String']['output']>;
3491
+ reactNativeVersion?: Maybe<Scalars['String']['output']>;
3492
+ sessionId?: Maybe<Scalars['String']['output']>;
3493
+ spanId: Scalars['String']['output'];
3494
+ startTimestamp: Scalars['DateTime']['output'];
3495
+ statusCode: AppObserveSpanStatusCode;
3496
+ statusMessage?: Maybe<Scalars['String']['output']>;
3497
+ traceId: Scalars['String']['output'];
3498
+ };
3499
+ export type AppObserveSpanAttributeFilter = {
3500
+ key: Scalars['String']['input'];
3501
+ value: Scalars['String']['input'];
3502
+ };
3503
+ export type AppObserveSpanConnection = {
3504
+ __typename?: 'AppObserveSpanConnection';
3505
+ edges: Array<AppObserveSpanEdge>;
3506
+ pageInfo: PageInfo;
3507
+ };
3508
+ export type AppObserveSpanEdge = {
3509
+ __typename?: 'AppObserveSpanEdge';
3510
+ cursor: Scalars['String']['output'];
3511
+ node: AppObserveSpan;
3512
+ };
3513
+ export type AppObserveSpanEvent = {
3514
+ __typename?: 'AppObserveSpanEvent';
3515
+ /** The event's attributes as a JSON object. */
3516
+ attributes: Scalars['JSON']['output'];
3517
+ name: Scalars['String']['output'];
3518
+ timestamp: Scalars['DateTime']['output'];
3519
+ };
3520
+ /** HTTP request fields of a span, from the OpenTelemetry HTTP client semantic conventions. */
3521
+ export type AppObserveSpanHttp = {
3522
+ __typename?: 'AppObserveSpanHttp';
3523
+ /** Set when the request failed before a response: an NSURLError code on iOS, an exception class on Android. */
3524
+ errorType?: Maybe<Scalars['String']['output']>;
3525
+ method?: Maybe<Scalars['String']['output']>;
3526
+ protocolVersion?: Maybe<Scalars['String']['output']>;
3527
+ /** On-the-wire bytes including headers. */
3528
+ requestSize?: Maybe<Scalars['Int']['output']>;
3529
+ responseSize?: Maybe<Scalars['Int']['output']>;
3530
+ /** Null when the request got no response. */
3531
+ statusCode?: Maybe<Scalars['Int']['output']>;
3532
+ /** Credentials and signing query parameters are redacted at ingestion. */
3533
+ urlFull?: Maybe<Scalars['String']['output']>;
3534
+ urlHost?: Maybe<Scalars['String']['output']>;
3535
+ };
3536
+ export declare enum AppObserveSpanKind {
3537
+ Client = "CLIENT",
3538
+ Consumer = "CONSUMER",
3539
+ Internal = "INTERNAL",
3540
+ Producer = "PRODUCER",
3541
+ Server = "SERVER",
3542
+ Unspecified = "UNSPECIFIED"
3543
+ }
3544
+ export type AppObserveSpanListFilter = {
3545
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
3546
+ appEasBuildId?: InputMaybe<Scalars['String']['input']>;
3547
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
3548
+ appVersion?: InputMaybe<Scalars['String']['input']>;
3549
+ /** At most 5. Matches spans whose attribute has exactly this value. */
3550
+ attributeFilters?: InputMaybe<Array<AppObserveSpanAttributeFilter>>;
3551
+ easClientId?: InputMaybe<Scalars['String']['input']>;
3552
+ endTime: Scalars['DateTime']['input'];
3553
+ environment?: InputMaybe<Scalars['String']['input']>;
3554
+ /** HTTP request spans to any of these hosts. */
3555
+ hosts?: InputMaybe<Array<Scalars['String']['input']>>;
3556
+ /** HTTP request spans with any of these response status codes. */
3557
+ httpStatusCodes?: InputMaybe<Array<Scalars['Int']['input']>>;
3558
+ isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
3559
+ kinds?: InputMaybe<Array<AppObserveSpanKind>>;
3560
+ minDurationMs?: InputMaybe<Scalars['Float']['input']>;
3561
+ /** Span names, such as GET or POST. The cheapest filter: span name is in the table's sort key. */
3562
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
3563
+ /** Filter to these platforms. */
3564
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
3565
+ /** Only spans with no parent. */
3566
+ rootOnly?: InputMaybe<Scalars['Boolean']['input']>;
3567
+ sessionId?: InputMaybe<Scalars['String']['input']>;
3568
+ startTime: Scalars['DateTime']['input'];
3569
+ statusCodes?: InputMaybe<Array<AppObserveSpanStatusCode>>;
3570
+ /** 32-character hex trace id. */
3571
+ traceId?: InputMaybe<Scalars['String']['input']>;
3572
+ };
3573
+ export type AppObserveSpanListOrderBy = {
3574
+ direction: AppObserveOrderDirection;
3575
+ field: AppObserveSpanListOrderByField;
3576
+ };
3577
+ export declare enum AppObserveSpanListOrderByField {
3578
+ StartTimestamp = "START_TIMESTAMP"
3579
+ }
3580
+ export type AppObserveSpanName = {
3581
+ __typename?: 'AppObserveSpanName';
3582
+ count: Scalars['Int']['output'];
3583
+ kind: AppObserveSpanKind;
3584
+ name: Scalars['String']['output'];
3585
+ };
3586
+ export type AppObserveSpanNames = {
3587
+ __typename?: 'AppObserveSpanNames';
3588
+ /** True when more names exist than were returned (top-N truncation). */
3589
+ isTruncated: Scalars['Boolean']['output'];
3590
+ names: Array<AppObserveSpanName>;
3591
+ };
3592
+ export type AppObserveSpanNamesInput = {
3593
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
3594
+ appEasBuildId?: InputMaybe<Scalars['String']['input']>;
3595
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
3596
+ appVersion?: InputMaybe<Scalars['String']['input']>;
3597
+ endTime: Scalars['DateTime']['input'];
3598
+ environment?: InputMaybe<Scalars['String']['input']>;
3599
+ isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
3600
+ /** Maximum names to return, 1 to 500. Defaults to 100. */
3601
+ limit?: InputMaybe<Scalars['Int']['input']>;
3602
+ /** Filter to these platforms. */
3603
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
3604
+ startTime: Scalars['DateTime']['input'];
3605
+ };
3606
+ export declare enum AppObserveSpanStatusCode {
3607
+ Error = "ERROR",
3608
+ Ok = "OK",
3609
+ Unset = "UNSET"
3610
+ }
3436
3611
  /** Stability-tile filters. No release filters: the tiles always span all versions. */
3437
3612
  export type AppObserveStabilityInput = {
3438
3613
  /** Series bucket size. Defaults to one day. */
@@ -3491,6 +3666,60 @@ export type AppObserveTimeSeriesStatistics = {
3491
3666
  p90?: Maybe<Scalars['Float']['output']>;
3492
3667
  p99?: Maybe<Scalars['Float']['output']>;
3493
3668
  };
3669
+ export type AppObserveTrace = {
3670
+ __typename?: 'AppObserveTrace';
3671
+ id: Scalars['ID']['output'];
3672
+ /** True when the trace has more spans than were returned. */
3673
+ isTruncated: Scalars['Boolean']['output'];
3674
+ /** Oldest first. The root span, when present, is the one with no parent. */
3675
+ spans: Array<AppObserveSpan>;
3676
+ };
3677
+ /**
3678
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3679
+ * API is generic so other span producers can be added without a schema change.
3680
+ */
3681
+ export type AppObserveTraces = {
3682
+ __typename?: 'AppObserveTraces';
3683
+ /** Distinct span names and kinds with counts over the time range, most frequent first. */
3684
+ names: AppObserveSpanNames;
3685
+ /** A single span by id. Null when missing or aged out of retention. */
3686
+ span?: Maybe<AppObserveSpan>;
3687
+ /** Individual spans. Defaults to newest first. */
3688
+ spans: AppObserveSpanConnection;
3689
+ /** All spans of one trace by its 32-character hex trace id. Null when unknown or aged out of retention. */
3690
+ trace?: Maybe<AppObserveTrace>;
3691
+ };
3692
+ /**
3693
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3694
+ * API is generic so other span producers can be added without a schema change.
3695
+ */
3696
+ export type AppObserveTraces_NamesArgs = {
3697
+ input: AppObserveSpanNamesInput;
3698
+ };
3699
+ /**
3700
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3701
+ * API is generic so other span producers can be added without a schema change.
3702
+ */
3703
+ export type AppObserveTraces_SpanArgs = {
3704
+ id: Scalars['ID']['input'];
3705
+ };
3706
+ /**
3707
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3708
+ * API is generic so other span producers can be added without a schema change.
3709
+ */
3710
+ export type AppObserveTraces_SpansArgs = {
3711
+ after?: InputMaybe<Scalars['String']['input']>;
3712
+ filter: AppObserveSpanListFilter;
3713
+ first?: InputMaybe<Scalars['Int']['input']>;
3714
+ orderBy?: InputMaybe<AppObserveSpanListOrderBy>;
3715
+ };
3716
+ /**
3717
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3718
+ * API is generic so other span producers can be added without a schema change.
3719
+ */
3720
+ export type AppObserveTraces_TraceArgs = {
3721
+ id: Scalars['ID']['input'];
3722
+ };
3494
3723
  export type AppObserveUpdate = {
3495
3724
  __typename?: 'AppObserveUpdate';
3496
3725
  appUpdateId: Scalars['String']['output'];
@@ -6118,8 +6347,10 @@ export type DeploymentsMutation_DeleteWorkerDeploymentByIdentifierArgs = {
6118
6347
  appId: Scalars['ID']['input'];
6119
6348
  deploymentIdentifier: Scalars['ID']['input'];
6120
6349
  };
6121
- export type DeviceRunSession = {
6350
+ export type DeviceRunSession = ActivityTimelineProjectActivity & {
6122
6351
  __typename?: 'DeviceRunSession';
6352
+ activityTimestamp: Scalars['DateTime']['output'];
6353
+ actor?: Maybe<Actor>;
6123
6354
  app: App;
6124
6355
  /**
6125
6356
  * Direct application archive URL installed and launched for this session. Null when
@@ -11883,6 +12114,13 @@ export type WorkflowJob = {
11883
12114
  __typename?: 'WorkflowJob';
11884
12115
  allDeviceTestCaseResults: Array<WorkflowDeviceTestCaseResult>;
11885
12116
  approvals: Array<WorkflowJobApproval>;
12117
+ /**
12118
+ * The workflow run started by a WORKFLOW_CALL job. Null for other job types, while the
12119
+ * called run is not created yet, and for a failed call that never started a run. A call
12120
+ * job copied by "re-run from failed jobs" resolves to the called run of the attempt it
12121
+ * was copied from.
12122
+ */
12123
+ childWorkflowRun?: Maybe<WorkflowRun>;
11886
12124
  createdAt: Scalars['DateTime']['output'];
11887
12125
  credentialsAppleDeviceRegistrationRequest?: Maybe<AppleDeviceRegistrationRequest>;
11888
12126
  /**
@@ -11998,6 +12236,7 @@ export declare enum WorkflowJobType {
11998
12236
  Custom = "CUSTOM",
11999
12237
  Deploy = "DEPLOY",
12000
12238
  Doc = "DOC",
12239
+ Email = "EMAIL",
12001
12240
  Fingerprint = "FINGERPRINT",
12002
12241
  GetBuild = "GET_BUILD",
12003
12242
  GithubComment = "GITHUB_COMMENT",
@@ -12036,6 +12275,10 @@ export type WorkflowQuery_ByAppIdAndFileNameArgs = {
12036
12275
  export type WorkflowQuery_ByIdArgs = {
12037
12276
  workflowId: Scalars['ID']['input'];
12038
12277
  };
12278
+ export type WorkflowReferencedFileInput = {
12279
+ fileName: Scalars['String']['input'];
12280
+ yamlConfig: Scalars['String']['input'];
12281
+ };
12039
12282
  export type WorkflowRevision = {
12040
12283
  __typename?: 'WorkflowRevision';
12041
12284
  blobSha: Scalars['String']['output'];
@@ -12053,6 +12296,12 @@ export type WorkflowRevisionEdge = {
12053
12296
  };
12054
12297
  export type WorkflowRevisionInput = {
12055
12298
  fileName: Scalars['String']['input'];
12299
+ /**
12300
+ * Other workflow files of the project that `uses` jobs reference, by bare file name.
12301
+ * Required when the workflow has `uses` jobs. Every uploaded file is stored as a
12302
+ * revision and pinned on the run, whether or not a job calls it.
12303
+ */
12304
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput>>;
12056
12305
  yamlConfig: Scalars['String']['input'];
12057
12306
  };
12058
12307
  export type WorkflowRevisionMutation = {
@@ -12072,6 +12321,7 @@ export type WorkflowRevisionMutation_GetWorkflowRevisionsFromGitRefArgs = {
12072
12321
  };
12073
12322
  export type WorkflowRevisionMutation_ValidateWorkflowYamlConfigArgs = {
12074
12323
  appId: Scalars['ID']['input'];
12324
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput>>;
12075
12325
  yamlConfig: Scalars['String']['input'];
12076
12326
  };
12077
12327
  export type WorkflowRevisionQuery = {
@@ -12091,6 +12341,12 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12091
12341
  activityTimestamp: Scalars['DateTime']['output'];
12092
12342
  actor?: Maybe<Actor>;
12093
12343
  app: App;
12344
+ /**
12345
+ * The run currently holding the concurrency group this run is waiting for.
12346
+ * Null for runs that are not waiting, and briefly null while the group's
12347
+ * next run is being promoted.
12348
+ */
12349
+ blockingWorkflowRun?: Maybe<WorkflowRun>;
12094
12350
  /**
12095
12351
  * Why the server canceled this run. Null for manually canceled runs and for
12096
12352
  * runs canceled before the reason was recorded.
@@ -12110,6 +12366,11 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12110
12366
  jobs: Array<WorkflowJob>;
12111
12367
  /** Snapshot of the workflow's name at run creation. */
12112
12368
  name: Scalars['String']['output'];
12369
+ /**
12370
+ * The WORKFLOW_CALL job of another run that started this run. Null for runs started by
12371
+ * a trigger, a manual dispatch or a retry. Called runs are omitted from run lists.
12372
+ */
12373
+ parentWorkflowJob?: Maybe<WorkflowJob>;
12113
12374
  pullRequestNumber?: Maybe<Scalars['Int']['output']>;
12114
12375
  requestedGitRef?: Maybe<Scalars['String']['output']>;
12115
12376
  retriedWorkflowRun?: Maybe<WorkflowRun>;
@@ -12124,7 +12385,7 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12124
12385
  workflow: Workflow;
12125
12386
  workflowRevision?: Maybe<WorkflowRevision>;
12126
12387
  };
12127
- export type WorkflowRunCancelReason = WorkflowRunCancelReasonConcurrencyGroup | WorkflowRunCancelReasonWorkflowCall;
12388
+ export type WorkflowRunCancelReason = WorkflowRunCancelReasonConcurrencyGroup | WorkflowRunCancelReasonConcurrencyGroupQueueFull | WorkflowRunCancelReasonConcurrencyGroupReplaced | WorkflowRunCancelReasonWorkflowCall;
12128
12389
  export type WorkflowRunCancelReasonConcurrencyGroup = {
12129
12390
  __typename?: 'WorkflowRunCancelReasonConcurrencyGroup';
12130
12391
  /**
@@ -12133,6 +12394,22 @@ export type WorkflowRunCancelReasonConcurrencyGroup = {
12133
12394
  */
12134
12395
  cancelingWorkflowRun?: Maybe<WorkflowRun>;
12135
12396
  };
12397
+ export type WorkflowRunCancelReasonConcurrencyGroupQueueFull = {
12398
+ __typename?: 'WorkflowRunCancelReasonConcurrencyGroupQueueFull';
12399
+ /**
12400
+ * The waiting-run capacity the concurrency group's queue was at when this
12401
+ * run arrived.
12402
+ */
12403
+ maximumWaitingRuns: Scalars['Int']['output'];
12404
+ };
12405
+ export type WorkflowRunCancelReasonConcurrencyGroupReplaced = {
12406
+ __typename?: 'WorkflowRunCancelReasonConcurrencyGroupReplaced';
12407
+ /**
12408
+ * The newer run that took this run's place in the concurrency group's waiting
12409
+ * slot. Null if that run no longer exists.
12410
+ */
12411
+ replacingWorkflowRun?: Maybe<WorkflowRun>;
12412
+ };
12136
12413
  export type WorkflowRunCancelReasonWorkflowCall = {
12137
12414
  __typename?: 'WorkflowRunCancelReasonWorkflowCall';
12138
12415
  /**
@@ -17582,6 +17859,22 @@ export type CreateAppScopedUploadSessionMutation = {
17582
17859
  createAppScopedUploadSession: any;
17583
17860
  };
17584
17861
  };
17862
+ export type SetUserPreferenceMutationVariables = Exact<{
17863
+ key: Scalars['String']['input'];
17864
+ value: Scalars['JSON']['input'];
17865
+ }>;
17866
+ export type SetUserPreferenceMutation = {
17867
+ __typename?: 'RootMutation';
17868
+ userPreference: {
17869
+ __typename?: 'UserPreferenceMutation';
17870
+ set: {
17871
+ __typename?: 'UserPreference';
17872
+ id: string;
17873
+ key: string;
17874
+ value: any;
17875
+ };
17876
+ };
17877
+ };
17585
17878
  export type CreateWebhookMutationVariables = Exact<{
17586
17879
  appId: Scalars['String']['input'];
17587
17880
  webhookInput: WebhookInput;
@@ -17657,6 +17950,7 @@ export type GetOrCreateWorkflowRevisionFromGitRefMutation = {
17657
17950
  export type ValidateWorkflowYamlConfigMutationVariables = Exact<{
17658
17951
  appId: Scalars['ID']['input'];
17659
17952
  yamlConfig: Scalars['String']['input'];
17953
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput> | WorkflowReferencedFileInput>;
17660
17954
  }>;
17661
17955
  export type ValidateWorkflowYamlConfigMutation = {
17662
17956
  __typename?: 'RootMutation';
@@ -18020,6 +18314,59 @@ export type AccountFullUsageQuery = {
18020
18314
  };
18021
18315
  };
18022
18316
  };
18317
+ export type AccountFreeTierBuildUsageQueryVariables = Exact<{
18318
+ accountId: Scalars['String']['input'];
18319
+ currentDate: Scalars['DateTime']['input'];
18320
+ }>;
18321
+ export type AccountFreeTierBuildUsageQuery = {
18322
+ __typename?: 'RootQuery';
18323
+ account: {
18324
+ __typename?: 'AccountQuery';
18325
+ byId: {
18326
+ __typename?: 'Account';
18327
+ id: string;
18328
+ subscription?: {
18329
+ __typename?: 'SubscriptionDetails';
18330
+ id: string;
18331
+ name?: string | null;
18332
+ } | null;
18333
+ billingPeriod: {
18334
+ __typename?: 'BillingPeriod';
18335
+ id: string;
18336
+ start: any;
18337
+ end: any;
18338
+ };
18339
+ usageMetrics: {
18340
+ __typename?: 'AccountUsageMetrics';
18341
+ EAS_BUILD: {
18342
+ __typename?: 'UsageMetricTotal';
18343
+ id: string;
18344
+ planMetrics: Array<{
18345
+ __typename?: 'EstimatedUsage';
18346
+ id: string;
18347
+ serviceMetric: EasServiceMetric;
18348
+ metricType: UsageMetricType;
18349
+ value: number;
18350
+ limit: number;
18351
+ platformBreakdown?: {
18352
+ __typename?: 'EstimatedUsagePlatformBreakdown';
18353
+ ios: {
18354
+ __typename?: 'EstimatedUsagePlatformDetail';
18355
+ value: number;
18356
+ limit: number;
18357
+ };
18358
+ android: {
18359
+ __typename?: 'EstimatedUsagePlatformDetail';
18360
+ value: number;
18361
+ limit: number;
18362
+ };
18363
+ } | null;
18364
+ }>;
18365
+ };
18366
+ };
18367
+ };
18368
+ };
18369
+ };
18023
18370
  export type AccountUsageForOverageWarningQueryVariables = Exact<{
18024
18371
  accountId: Scalars['String']['input'];
18025
18372
  currentDate: Scalars['DateTime']['input'];
@@ -18291,6 +18638,7 @@ export type AppByIdWorkflowRunsFilteredByStatusQuery = {
18291
18638
  triggeringSchedule?: string | null;
18292
18639
  createdAt: any;
18293
18640
  updatedAt: any;
18641
+ finalizedAt?: any | null;
18294
18642
  actor?: {
18295
18643
  __typename: 'PartnerActor';
18296
18644
  id: string;
@@ -20550,6 +20898,7 @@ export type AppObserveSessionEventsQueryVariables = Exact<{
20550
20898
  first?: InputMaybe<Scalars['Int']['input']>;
20551
20899
  metricsOrderBy?: InputMaybe<AppObserveMetricsListOrderBy>;
20552
20900
  logsOrderBy?: InputMaybe<AppObserveLogsOrderBy>;
20901
+ spansOrderBy?: InputMaybe<AppObserveSpanListOrderBy>;
20553
20902
  }>;
20554
20903
  export type AppObserveSessionEventsQuery = {
20555
20904
  __typename?: 'RootQuery';
@@ -20658,6 +21007,271 @@ export type AppObserveSessionEventsQuery = {
20658
21007
  };
20659
21008
  }>;
20660
21009
  };
21010
+ spans: {
21011
+ __typename?: 'AppObserveSpanConnection';
21012
+ pageInfo: {
21013
+ __typename?: 'PageInfo';
21014
+ hasNextPage: boolean;
21015
+ hasPreviousPage: boolean;
21016
+ endCursor?: string | null;
21017
+ };
21018
+ edges: Array<{
21019
+ __typename?: 'AppObserveSpanEdge';
21020
+ node: {
21021
+ __typename?: 'AppObserveSpan';
21022
+ id: string;
21023
+ traceId: string;
21024
+ spanId: string;
21025
+ parentSpanId?: string | null;
21026
+ name: string;
21027
+ kind: AppObserveSpanKind;
21028
+ startTimestamp: any;
21029
+ endTimestamp: any;
21030
+ durationMs: number;
21031
+ statusCode: AppObserveSpanStatusCode;
21032
+ statusMessage?: string | null;
21033
+ sessionId?: string | null;
21034
+ droppedAttributesCount: number;
21035
+ droppedEventsCount: number;
21036
+ droppedLinksCount: number;
21037
+ ingestedAt?: any | null;
21038
+ appVersion: string;
21039
+ appBuildNumber: string;
21040
+ appUpdateId?: string | null;
21041
+ appEasBuildId?: string | null;
21042
+ expoSdkVersion?: string | null;
21043
+ reactNativeVersion?: string | null;
21044
+ deviceOs: string;
21045
+ deviceOsVersion: string;
21046
+ deviceModel: string;
21047
+ environment?: string | null;
21048
+ easClientId: string;
21049
+ countryCode?: string | null;
21050
+ http?: {
21051
+ __typename?: 'AppObserveSpanHttp';
21052
+ method?: string | null;
21053
+ statusCode?: number | null;
21054
+ urlHost?: string | null;
21055
+ urlFull?: string | null;
21056
+ protocolVersion?: string | null;
21057
+ requestSize?: number | null;
21058
+ responseSize?: number | null;
21059
+ errorType?: string | null;
21060
+ } | null;
21061
+ attributes: Array<{
21062
+ __typename?: 'AppObserveEventProperty';
21063
+ key: string;
21064
+ value: string;
21065
+ type: AppObservePropertyType;
21066
+ }>;
21067
+ events: Array<{
21068
+ __typename?: 'AppObserveSpanEvent';
21069
+ name: string;
21070
+ timestamp: any;
21071
+ attributes: any;
21072
+ }>;
21073
+ };
21074
+ }>;
21075
+ };
21076
+ };
21077
+ };
21078
+ };
21079
+ };
21080
+ };
21081
+ export type AppObserveSpanListQueryVariables = Exact<{
21082
+ appId: Scalars['String']['input'];
21083
+ filter: AppObserveSpanListFilter;
21084
+ first?: InputMaybe<Scalars['Int']['input']>;
21085
+ after?: InputMaybe<Scalars['String']['input']>;
21086
+ orderBy?: InputMaybe<AppObserveSpanListOrderBy>;
21087
+ }>;
21088
+ export type AppObserveSpanListQuery = {
21089
+ __typename?: 'RootQuery';
21090
+ app: {
21091
+ __typename?: 'AppQuery';
21092
+ byId: {
21093
+ __typename?: 'App';
21094
+ id: string;
21095
+ observe: {
21096
+ __typename?: 'AppObserve';
21097
+ traces: {
21098
+ __typename?: 'AppObserveTraces';
21099
+ spans: {
21100
+ __typename?: 'AppObserveSpanConnection';
21101
+ pageInfo: {
21102
+ __typename?: 'PageInfo';
21103
+ hasNextPage: boolean;
21104
+ hasPreviousPage: boolean;
21105
+ endCursor?: string | null;
21106
+ };
21107
+ edges: Array<{
21108
+ __typename?: 'AppObserveSpanEdge';
21109
+ cursor: string;
21110
+ node: {
21111
+ __typename?: 'AppObserveSpan';
21112
+ id: string;
21113
+ traceId: string;
21114
+ spanId: string;
21115
+ parentSpanId?: string | null;
21116
+ name: string;
21117
+ kind: AppObserveSpanKind;
21118
+ startTimestamp: any;
21119
+ endTimestamp: any;
21120
+ durationMs: number;
21121
+ statusCode: AppObserveSpanStatusCode;
21122
+ statusMessage?: string | null;
21123
+ sessionId?: string | null;
21124
+ droppedAttributesCount: number;
21125
+ droppedEventsCount: number;
21126
+ droppedLinksCount: number;
21127
+ ingestedAt?: any | null;
21128
+ appVersion: string;
21129
+ appBuildNumber: string;
21130
+ appUpdateId?: string | null;
21131
+ appEasBuildId?: string | null;
21132
+ expoSdkVersion?: string | null;
21133
+ reactNativeVersion?: string | null;
21134
+ deviceOs: string;
21135
+ deviceOsVersion: string;
21136
+ deviceModel: string;
21137
+ environment?: string | null;
21138
+ easClientId: string;
21139
+ countryCode?: string | null;
21140
+ http?: {
21141
+ __typename?: 'AppObserveSpanHttp';
21142
+ method?: string | null;
21143
+ statusCode?: number | null;
21144
+ urlHost?: string | null;
21145
+ urlFull?: string | null;
21146
+ protocolVersion?: string | null;
21147
+ requestSize?: number | null;
21148
+ responseSize?: number | null;
21149
+ errorType?: string | null;
21150
+ } | null;
21151
+ attributes: Array<{
21152
+ __typename?: 'AppObserveEventProperty';
21153
+ key: string;
21154
+ value: string;
21155
+ type: AppObservePropertyType;
21156
+ }>;
21157
+ events: Array<{
21158
+ __typename?: 'AppObserveSpanEvent';
21159
+ name: string;
21160
+ timestamp: any;
21161
+ attributes: any;
21162
+ }>;
21163
+ };
21164
+ }>;
21165
+ };
21166
+ };
21167
+ };
21168
+ };
21169
+ };
21170
+ };
21171
+ export type AppObserveSpanNamesQueryVariables = Exact<{
21172
+ appId: Scalars['String']['input'];
21173
+ input: AppObserveSpanNamesInput;
21174
+ }>;
21175
+ export type AppObserveSpanNamesQuery = {
21176
+ __typename?: 'RootQuery';
21177
+ app: {
21178
+ __typename?: 'AppQuery';
21179
+ byId: {
21180
+ __typename?: 'App';
21181
+ id: string;
21182
+ observe: {
21183
+ __typename?: 'AppObserve';
21184
+ traces: {
21185
+ __typename?: 'AppObserveTraces';
21186
+ names: {
21187
+ __typename?: 'AppObserveSpanNames';
21188
+ isTruncated: boolean;
21189
+ names: Array<{
21190
+ __typename?: 'AppObserveSpanName';
21191
+ name: string;
21192
+ kind: AppObserveSpanKind;
21193
+ count: number;
21194
+ }>;
21195
+ };
21196
+ };
21197
+ };
21198
+ };
21199
+ };
21200
+ };
21201
+ export type AppObserveTraceByIdQueryVariables = Exact<{
21202
+ appId: Scalars['String']['input'];
21203
+ id: Scalars['ID']['input'];
21204
+ }>;
21205
+ export type AppObserveTraceByIdQuery = {
21206
+ __typename?: 'RootQuery';
21207
+ app: {
21208
+ __typename?: 'AppQuery';
21209
+ byId: {
21210
+ __typename?: 'App';
21211
+ id: string;
21212
+ observe: {
21213
+ __typename?: 'AppObserve';
21214
+ traces: {
21215
+ __typename?: 'AppObserveTraces';
21216
+ trace?: {
21217
+ __typename?: 'AppObserveTrace';
21218
+ id: string;
21219
+ isTruncated: boolean;
21220
+ spans: Array<{
21221
+ __typename?: 'AppObserveSpan';
21222
+ id: string;
21223
+ traceId: string;
21224
+ spanId: string;
21225
+ parentSpanId?: string | null;
21226
+ name: string;
21227
+ kind: AppObserveSpanKind;
21228
+ startTimestamp: any;
21229
+ endTimestamp: any;
21230
+ durationMs: number;
21231
+ statusCode: AppObserveSpanStatusCode;
21232
+ statusMessage?: string | null;
21233
+ sessionId?: string | null;
21234
+ droppedAttributesCount: number;
21235
+ droppedEventsCount: number;
21236
+ droppedLinksCount: number;
21237
+ ingestedAt?: any | null;
21238
+ appVersion: string;
21239
+ appBuildNumber: string;
21240
+ appUpdateId?: string | null;
21241
+ appEasBuildId?: string | null;
21242
+ expoSdkVersion?: string | null;
21243
+ reactNativeVersion?: string | null;
21244
+ deviceOs: string;
21245
+ deviceOsVersion: string;
21246
+ deviceModel: string;
21247
+ environment?: string | null;
21248
+ easClientId: string;
21249
+ countryCode?: string | null;
21250
+ http?: {
21251
+ __typename?: 'AppObserveSpanHttp';
21252
+ method?: string | null;
21253
+ statusCode?: number | null;
21254
+ urlHost?: string | null;
21255
+ urlFull?: string | null;
21256
+ protocolVersion?: string | null;
21257
+ requestSize?: number | null;
21258
+ responseSize?: number | null;
21259
+ errorType?: string | null;
21260
+ } | null;
21261
+ attributes: Array<{
21262
+ __typename?: 'AppObserveEventProperty';
21263
+ key: string;
21264
+ value: string;
21265
+ type: AppObservePropertyType;
21266
+ }>;
21267
+ events: Array<{
21268
+ __typename?: 'AppObserveSpanEvent';
21269
+ name: string;
21270
+ timestamp: any;
21271
+ attributes: any;
21272
+ }>;
21273
+ }>;
21274
+ } | null;
20661
21275
  };
20662
21276
  };
20663
21277
  };
@@ -21929,6 +22543,21 @@ export type UpdateByIdQuery = {
21929
22543
  };
21930
22544
  };
21931
22545
  };
22546
+ export type UserPreferenceByKeyQueryVariables = Exact<{
22547
+ key: Scalars['String']['input'];
22548
+ }>;
22549
+ export type UserPreferenceByKeyQuery = {
22550
+ __typename?: 'RootQuery';
22551
+ userPreference: {
22552
+ __typename?: 'UserPreferenceQuery';
22553
+ get?: {
22554
+ __typename?: 'UserPreference';
22555
+ id: string;
22556
+ key: string;
22557
+ value: any;
22558
+ } | null;
22559
+ };
22560
+ };
21932
22561
  export type CurrentUserQueryVariables = Exact<{
21933
22562
  [key: string]: never;
21934
22563
  }>;
@@ -22609,6 +23238,13 @@ export type WorkflowRunByIdWithJobsQuery = {
22609
23238
  triggeringSchedule?: string | null;
22610
23239
  createdAt: any;
22611
23240
  updatedAt: any;
23241
+ finalizedAt?: any | null;
23242
+ blockingWorkflowRun?: {
23243
+ __typename?: 'WorkflowRun';
23244
+ id: string;
23245
+ name: string;
23246
+ status: WorkflowRunStatus;
23247
+ } | null;
22612
23248
  workflow: {
22613
23249
  __typename?: 'Workflow';
22614
23250
  id: string;
@@ -22618,6 +23254,7 @@ export type WorkflowRunByIdWithJobsQuery = {
22618
23254
  __typename?: 'App';
22619
23255
  id: string;
22620
23256
  name: string;
23257
+ slug: string;
22621
23258
  ownerAccount: {
22622
23259
  __typename?: 'Account';
22623
23260
  id: string;
@@ -22805,6 +23442,7 @@ export type WorkflowRunsForAppIdFileNameAndStatusQuery = {
22805
23442
  triggeringSchedule?: string | null;
22806
23443
  createdAt: any;
22807
23444
  updatedAt: any;
23445
+ finalizedAt?: any | null;
22808
23446
  actor?: {
22809
23447
  __typename: 'PartnerActor';
22810
23448
  id: string;
@@ -23941,6 +24579,60 @@ export type AppObserveAppVersionFragment = {
23941
24579
  };
23942
24580
  }>;
23943
24581
  };
24582
+ export type AppObserveSpanFragment = {
24583
+ __typename?: 'AppObserveSpan';
24584
+ id: string;
24585
+ traceId: string;
24586
+ spanId: string;
24587
+ parentSpanId?: string | null;
24588
+ name: string;
24589
+ kind: AppObserveSpanKind;
24590
+ startTimestamp: any;
24591
+ endTimestamp: any;
24592
+ durationMs: number;
24593
+ statusCode: AppObserveSpanStatusCode;
24594
+ statusMessage?: string | null;
24595
+ sessionId?: string | null;
24596
+ droppedAttributesCount: number;
24597
+ droppedEventsCount: number;
24598
+ droppedLinksCount: number;
24599
+ ingestedAt?: any | null;
24600
+ appVersion: string;
24601
+ appBuildNumber: string;
24602
+ appUpdateId?: string | null;
24603
+ appEasBuildId?: string | null;
24604
+ expoSdkVersion?: string | null;
24605
+ reactNativeVersion?: string | null;
24606
+ deviceOs: string;
24607
+ deviceOsVersion: string;
24608
+ deviceModel: string;
24609
+ environment?: string | null;
24610
+ easClientId: string;
24611
+ countryCode?: string | null;
24612
+ http?: {
24613
+ __typename?: 'AppObserveSpanHttp';
24614
+ method?: string | null;
24615
+ statusCode?: number | null;
24616
+ urlHost?: string | null;
24617
+ urlFull?: string | null;
24618
+ protocolVersion?: string | null;
24619
+ requestSize?: number | null;
24620
+ responseSize?: number | null;
24621
+ errorType?: string | null;
24622
+ } | null;
24623
+ attributes: Array<{
24624
+ __typename?: 'AppObserveEventProperty';
24625
+ key: string;
24626
+ value: string;
24627
+ type: AppObservePropertyType;
24628
+ }>;
24629
+ events: Array<{
24630
+ __typename?: 'AppObserveSpanEvent';
24631
+ name: string;
24632
+ timestamp: any;
24633
+ attributes: any;
24634
+ }>;
24635
+ };
23944
24636
  export type PostHogOrganizationConnectionFragment = {
23945
24637
  __typename?: 'PostHogOrganizationConnection';
23946
24638
  id: string;
@@ -24566,6 +25258,7 @@ export type WorkflowRunFragment = {
24566
25258
  triggeringSchedule?: string | null;
24567
25259
  createdAt: any;
24568
25260
  updatedAt: any;
25261
+ finalizedAt?: any | null;
24569
25262
  actor?: {
24570
25263
  __typename: 'PartnerActor';
24571
25264
  id: string;