eas-cli 18.9.1 → 18.11.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 (72) hide show
  1. package/README.md +230 -95
  2. package/build/build/runBuildAndSubmit.d.ts +3 -1
  3. package/build/build/runBuildAndSubmit.js +12 -4
  4. package/build/build/utils/repository.js +15 -3
  5. package/build/build/validateLockfile.d.ts +1 -0
  6. package/build/build/validateLockfile.js +37 -0
  7. package/build/commandUtils/buildFlags.d.ts +1 -0
  8. package/build/commandUtils/buildFlags.js +18 -0
  9. package/build/commandUtils/convex.d.ts +12 -0
  10. package/build/commandUtils/convex.js +77 -0
  11. package/build/commands/build/dev.d.ts +1 -0
  12. package/build/commands/build/dev.js +12 -2
  13. package/build/commands/build/resign.js +0 -1
  14. package/build/commands/build/run.d.ts +1 -0
  15. package/build/commands/build/run.js +12 -3
  16. package/build/commands/integrations/convex/connect.d.ts +24 -0
  17. package/build/commands/integrations/convex/connect.js +266 -0
  18. package/build/commands/integrations/convex/dashboard.d.ts +9 -0
  19. package/build/commands/integrations/convex/dashboard.js +42 -0
  20. package/build/commands/integrations/convex/project/delete.d.ts +13 -0
  21. package/build/commands/integrations/convex/project/delete.js +65 -0
  22. package/build/commands/integrations/convex/project.d.ts +9 -0
  23. package/build/commands/integrations/convex/project.js +28 -0
  24. package/build/commands/integrations/convex/team/delete.d.ts +17 -0
  25. package/build/commands/integrations/convex/team/delete.js +93 -0
  26. package/build/commands/integrations/convex/team/invite.d.ts +19 -0
  27. package/build/commands/integrations/convex/team/invite.js +113 -0
  28. package/build/commands/integrations/convex/team.d.ts +9 -0
  29. package/build/commands/integrations/convex/team.js +35 -0
  30. package/build/commands/observe/events.js +12 -24
  31. package/build/commands/observe/logs.d.ts +29 -0
  32. package/build/commands/observe/logs.js +163 -0
  33. package/build/commands/observe/metrics.js +11 -19
  34. package/build/commands/observe/versions.js +11 -19
  35. package/build/commands/simulator/start.js +84 -5
  36. package/build/commands/simulator/stop.js +1 -1
  37. package/build/fingerprint/cli.js +1 -0
  38. package/build/graphql/generated.d.ts +421 -7
  39. package/build/graphql/generated.js +16 -3
  40. package/build/graphql/mutations/ConvexMutation.d.ts +10 -0
  41. package/build/graphql/mutations/ConvexMutation.js +89 -0
  42. package/build/graphql/mutations/DeviceRunSessionMutation.d.ts +2 -2
  43. package/build/graphql/mutations/DeviceRunSessionMutation.js +4 -4
  44. package/build/graphql/queries/ConvexQuery.d.ts +6 -0
  45. package/build/graphql/queries/ConvexQuery.js +49 -0
  46. package/build/graphql/queries/ObserveQuery.d.ts +21 -1
  47. package/build/graphql/queries/ObserveQuery.js +80 -0
  48. package/build/graphql/types/ConvexTeamConnection.d.ts +11 -0
  49. package/build/graphql/types/ConvexTeamConnection.js +43 -0
  50. package/build/graphql/types/Observe.d.ts +1 -0
  51. package/build/graphql/types/Observe.js +26 -1
  52. package/build/observe/fetchCustomEvents.d.ts +19 -0
  53. package/build/observe/fetchCustomEvents.js +21 -0
  54. package/build/observe/formatCustomEvents.d.ts +70 -0
  55. package/build/observe/formatCustomEvents.js +140 -0
  56. package/build/observe/formatEvents.js +5 -34
  57. package/build/observe/formatMetrics.js +2 -7
  58. package/build/observe/formatUtils.d.ts +27 -0
  59. package/build/observe/formatUtils.js +64 -0
  60. package/build/observe/formatVersions.js +2 -9
  61. package/build/observe/platforms.d.ts +21 -0
  62. package/build/observe/platforms.js +48 -0
  63. package/build/observe/resolveProjectContext.d.ts +22 -0
  64. package/build/observe/resolveProjectContext.js +21 -0
  65. package/build/run/ios/run.d.ts +2 -1
  66. package/build/run/ios/run.js +6 -2
  67. package/build/run/ios/simulator.d.ts +4 -1
  68. package/build/run/ios/simulator.js +14 -2
  69. package/build/run/run.d.ts +2 -1
  70. package/build/run/run.js +2 -2
  71. package/oclif.manifest.json +3984 -3243
  72. package/package.json +4 -4
@@ -1808,6 +1808,7 @@ export type AppObserve = {
1808
1808
  events: AppObserveEventsConnection;
1809
1809
  timeSeries: AppObserveTimeSeries;
1810
1810
  totalEventCount: Scalars['Int']['output'];
1811
+ updates: AppObserveUpdatesConnection;
1811
1812
  };
1812
1813
  export type AppObserveAppVersionsArgs = {
1813
1814
  input: AppObserveReleasesInput;
@@ -1844,6 +1845,9 @@ export type AppObserveEventsArgs = {
1844
1845
  export type AppObserveTimeSeriesArgs = {
1845
1846
  input: AppObserveTimeSeriesInput;
1846
1847
  };
1848
+ export type AppObserveUpdatesArgs = {
1849
+ input: AppObserveUpdatesInput;
1850
+ };
1847
1851
  export type AppObserveAppBuildNumber = {
1848
1852
  __typename?: 'AppObserveAppBuildNumber';
1849
1853
  appBuildNumber: Scalars['String']['output'];
@@ -2097,6 +2101,50 @@ export type AppObserveTimeSeriesStatistics = {
2097
2101
  p90?: Maybe<Scalars['Float']['output']>;
2098
2102
  p99?: Maybe<Scalars['Float']['output']>;
2099
2103
  };
2104
+ export type AppObserveUpdate = {
2105
+ __typename?: 'AppObserveUpdate';
2106
+ appUpdateId: Scalars['String']['output'];
2107
+ appVersion: Scalars['String']['output'];
2108
+ downloadCount: Scalars['Int']['output'];
2109
+ firstSeenAt: Scalars['DateTime']['output'];
2110
+ medianDownloadTime: Scalars['Float']['output'];
2111
+ p90DownloadTime: Scalars['Float']['output'];
2112
+ };
2113
+ export type AppObserveUpdateEdge = {
2114
+ __typename?: 'AppObserveUpdateEdge';
2115
+ cursor: Scalars['String']['output'];
2116
+ node: AppObserveUpdate;
2117
+ };
2118
+ export type AppObserveUpdatesConnection = {
2119
+ __typename?: 'AppObserveUpdatesConnection';
2120
+ edges: Array<AppObserveUpdateEdge>;
2121
+ pageInfo: PageInfo;
2122
+ totalCount: Scalars['Int']['output'];
2123
+ totalDownloads: Scalars['Int']['output'];
2124
+ };
2125
+ export type AppObserveUpdatesInput = {
2126
+ after?: InputMaybe<Scalars['String']['input']>;
2127
+ endTime: Scalars['DateTime']['input'];
2128
+ environment?: InputMaybe<Scalars['String']['input']>;
2129
+ first?: InputMaybe<Scalars['Int']['input']>;
2130
+ orderBy?: InputMaybe<AppObserveUpdatesOrderBy>;
2131
+ platform: AppObservePlatform;
2132
+ startTime: Scalars['DateTime']['input'];
2133
+ };
2134
+ export type AppObserveUpdatesOrderBy = {
2135
+ direction: AppObserveUpdatesOrderByDirection;
2136
+ field: AppObserveUpdatesOrderByField;
2137
+ };
2138
+ export declare enum AppObserveUpdatesOrderByDirection {
2139
+ Asc = "ASC",
2140
+ Desc = "DESC"
2141
+ }
2142
+ export declare enum AppObserveUpdatesOrderByField {
2143
+ DownloadCount = "DOWNLOAD_COUNT",
2144
+ FirstSeenAt = "FIRST_SEEN_AT",
2145
+ MedianDownloadTime = "MEDIAN_DOWNLOAD_TIME",
2146
+ P90DownloadTime = "P90_DOWNLOAD_TIME"
2147
+ }
2100
2148
  export type AppObserveVersionMarkerStatistics = {
2101
2149
  __typename?: 'AppObserveVersionMarkerStatistics';
2102
2150
  average?: Maybe<Scalars['Float']['output']>;
@@ -3075,6 +3123,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
3075
3123
  releaseChannel?: Maybe<Scalars['String']['output']>;
3076
3124
  requiredPackageManager?: Maybe<Scalars['String']['output']>;
3077
3125
  resolvedEnvironment?: Maybe<Scalars['EnvironmentVariableEnvironment']['output']>;
3126
+ resolvedImage?: Maybe<Scalars['String']['output']>;
3078
3127
  /**
3079
3128
  * The builder resource class requested by the developer
3080
3129
  * @deprecated Use resourceClassDisplayName instead
@@ -3088,7 +3137,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
3088
3137
  /** @deprecated Use 'runtime' field instead. */
3089
3138
  runtimeVersion?: Maybe<Scalars['String']['output']>;
3090
3139
  sdkVersion?: Maybe<Scalars['String']['output']>;
3091
- /** @deprecated Check logs instead. */
3140
+ /** @deprecated Use 'resolvedImage' for the concrete image the build runs on. */
3092
3141
  selectedImage?: Maybe<Scalars['String']['output']>;
3093
3142
  status: BuildStatus;
3094
3143
  submissions: Array<Submission>;
@@ -3602,12 +3651,29 @@ export type ConvexProject = {
3602
3651
  id: Scalars['ID']['output'];
3603
3652
  updatedAt: Scalars['DateTime']['output'];
3604
3653
  };
3654
+ export type ConvexProjectMutation = {
3655
+ __typename?: 'ConvexProjectMutation';
3656
+ deleteConvexProject: Scalars['ID']['output'];
3657
+ setupConvexProject: SetupConvexProjectResult;
3658
+ };
3659
+ export type ConvexProjectMutationDeleteConvexProjectArgs = {
3660
+ convexProjectId: Scalars['ID']['input'];
3661
+ };
3662
+ export type ConvexProjectMutationSetupConvexProjectArgs = {
3663
+ input: SetupConvexProjectInput;
3664
+ };
3605
3665
  export type ConvexTeamConnection = {
3606
3666
  __typename?: 'ConvexTeamConnection';
3607
3667
  account: Account;
3668
+ convexProjects: Array<ConvexProject>;
3608
3669
  convexTeamIdentifier: Scalars['String']['output'];
3670
+ convexTeamName: Scalars['String']['output'];
3671
+ convexTeamSlug: Scalars['String']['output'];
3609
3672
  createdAt: Scalars['DateTime']['output'];
3673
+ hasBeenClaimed: Scalars['Boolean']['output'];
3610
3674
  id: Scalars['ID']['output'];
3675
+ invitedAt?: Maybe<Scalars['DateTime']['output']>;
3676
+ invitedEmail?: Maybe<Scalars['String']['output']>;
3611
3677
  updatedAt: Scalars['DateTime']['output'];
3612
3678
  };
3613
3679
  export type ConvexTeamConnectionMutation = {
@@ -4214,13 +4280,17 @@ export type DeviceRunSessionMutation = {
4214
4280
  __typename?: 'DeviceRunSessionMutation';
4215
4281
  /** Create a device run session */
4216
4282
  createDeviceRunSession: DeviceRunSession;
4217
- /** Stop a device run session */
4218
- stopDeviceRunSession: DeviceRunSession;
4283
+ /**
4284
+ * Ensure a device run session is stopped. Idempotent: if the session has already
4285
+ * finished, the existing session is returned unchanged (an ERRORED session stays
4286
+ * ERRORED).
4287
+ */
4288
+ ensureDeviceRunSessionStopped: DeviceRunSession;
4219
4289
  };
4220
4290
  export type DeviceRunSessionMutationCreateDeviceRunSessionArgs = {
4221
4291
  deviceRunSessionInput: CreateDeviceRunSessionInput;
4222
4292
  };
4223
- export type DeviceRunSessionMutationStopDeviceRunSessionArgs = {
4293
+ export type DeviceRunSessionMutationEnsureDeviceRunSessionStoppedArgs = {
4224
4294
  deviceRunSessionId: Scalars['ID']['input'];
4225
4295
  };
4226
4296
  export type DeviceRunSessionQuery = {
@@ -6593,6 +6663,7 @@ export type RootMutation = {
6593
6663
  build: BuildMutation;
6594
6664
  /** Mutations that create, update, and delete Build Annotations */
6595
6665
  buildAnnotation: BuildAnnotationMutation;
6666
+ convexProject: ConvexProjectMutation;
6596
6667
  convexTeamConnection: ConvexTeamConnectionMutation;
6597
6668
  customDomain: CustomDomainMutation;
6598
6669
  deployments: DeploymentsMutation;
@@ -7119,6 +7190,19 @@ export type SentryProjectMutationCreateSentryProjectArgs = {
7119
7190
  export type SentryProjectMutationDeleteSentryProjectArgs = {
7120
7191
  sentryProjectId: Scalars['ID']['input'];
7121
7192
  };
7193
+ export type SetupConvexProjectInput = {
7194
+ appId: Scalars['ID']['input'];
7195
+ convexTeamConnectionId: Scalars['ID']['input'];
7196
+ deploymentRegion?: InputMaybe<Scalars['String']['input']>;
7197
+ projectName: Scalars['String']['input'];
7198
+ };
7199
+ export type SetupConvexProjectResult = {
7200
+ __typename?: 'SetupConvexProjectResult';
7201
+ convexDeploymentName: Scalars['String']['output'];
7202
+ convexDeploymentUrl: Scalars['String']['output'];
7203
+ convexProject: ConvexProject;
7204
+ deployKey: Scalars['String']['output'];
7205
+ };
7122
7206
  export type SizeBreakdownCategory = {
7123
7207
  __typename?: 'SizeBreakdownCategory';
7124
7208
  assetCount: Scalars['Int']['output'];
@@ -7394,6 +7478,7 @@ export type SubscriptionDetails = {
7394
7478
  endedAt?: Maybe<Scalars['DateTime']['output']>;
7395
7479
  futureSubscription?: Maybe<FutureSubscription>;
7396
7480
  id: Scalars['ID']['output'];
7481
+ includedAgentCreditsInCents: Scalars['Int']['output'];
7397
7482
  isDowngrading?: Maybe<Scalars['Boolean']['output']>;
7398
7483
  meteredBillingStatus: MeteredBillingStatus;
7399
7484
  name?: Maybe<Scalars['String']['output']>;
@@ -9252,6 +9337,7 @@ export declare enum WorkflowJobStatus {
9252
9337
  }
9253
9338
  export declare enum WorkflowJobType {
9254
9339
  AppleDeviceRegistrationRequest = "APPLE_DEVICE_REGISTRATION_REQUEST",
9340
+ BranchDelete = "BRANCH_DELETE",
9255
9341
  Build = "BUILD",
9256
9342
  Custom = "CUSTOM",
9257
9343
  Deploy = "DEPLOY",
@@ -13886,6 +13972,104 @@ export type RetryIosBuildMutation = {
13886
13972
  };
13887
13973
  };
13888
13974
  };
13975
+ export type CreateConvexTeamConnectionMutationVariables = Exact<{
13976
+ convexTeamConnectionData: CreateConvexTeamConnectionInput;
13977
+ }>;
13978
+ export type CreateConvexTeamConnectionMutation = {
13979
+ __typename?: 'RootMutation';
13980
+ convexTeamConnection: {
13981
+ __typename?: 'ConvexTeamConnectionMutation';
13982
+ createConvexTeamConnection: {
13983
+ __typename?: 'ConvexTeamConnection';
13984
+ id: string;
13985
+ convexTeamIdentifier: string;
13986
+ convexTeamName: string;
13987
+ convexTeamSlug: string;
13988
+ hasBeenClaimed: boolean;
13989
+ createdAt: any;
13990
+ updatedAt: any;
13991
+ invitedAt?: any | null;
13992
+ invitedEmail?: string | null;
13993
+ };
13994
+ };
13995
+ };
13996
+ export type DeleteConvexTeamConnectionMutationVariables = Exact<{
13997
+ convexTeamConnectionId: Scalars['ID']['input'];
13998
+ }>;
13999
+ export type DeleteConvexTeamConnectionMutation = {
14000
+ __typename?: 'RootMutation';
14001
+ convexTeamConnection: {
14002
+ __typename?: 'ConvexTeamConnectionMutation';
14003
+ deleteConvexTeamConnection: {
14004
+ __typename?: 'ConvexTeamConnection';
14005
+ id: string;
14006
+ convexTeamIdentifier: string;
14007
+ convexTeamName: string;
14008
+ convexTeamSlug: string;
14009
+ hasBeenClaimed: boolean;
14010
+ createdAt: any;
14011
+ updatedAt: any;
14012
+ invitedAt?: any | null;
14013
+ invitedEmail?: string | null;
14014
+ };
14015
+ };
14016
+ };
14017
+ export type SetupConvexProjectMutationVariables = Exact<{
14018
+ input: SetupConvexProjectInput;
14019
+ }>;
14020
+ export type SetupConvexProjectMutation = {
14021
+ __typename?: 'RootMutation';
14022
+ convexProject: {
14023
+ __typename?: 'ConvexProjectMutation';
14024
+ setupConvexProject: {
14025
+ __typename?: 'SetupConvexProjectResult';
14026
+ convexDeploymentName: string;
14027
+ convexDeploymentUrl: string;
14028
+ deployKey: string;
14029
+ convexProject: {
14030
+ __typename?: 'ConvexProject';
14031
+ id: string;
14032
+ convexProjectIdentifier: string;
14033
+ convexProjectName: string;
14034
+ convexProjectSlug: string;
14035
+ createdAt: any;
14036
+ updatedAt: any;
14037
+ convexTeamConnection: {
14038
+ __typename?: 'ConvexTeamConnection';
14039
+ id: string;
14040
+ convexTeamIdentifier: string;
14041
+ convexTeamName: string;
14042
+ convexTeamSlug: string;
14043
+ hasBeenClaimed: boolean;
14044
+ createdAt: any;
14045
+ updatedAt: any;
14046
+ invitedAt?: any | null;
14047
+ invitedEmail?: string | null;
14048
+ };
14049
+ };
14050
+ };
14051
+ };
14052
+ };
14053
+ export type DeleteConvexProjectMutationVariables = Exact<{
14054
+ convexProjectId: Scalars['ID']['input'];
14055
+ }>;
14056
+ export type DeleteConvexProjectMutation = {
14057
+ __typename?: 'RootMutation';
14058
+ convexProject: {
14059
+ __typename?: 'ConvexProjectMutation';
14060
+ deleteConvexProject: string;
14061
+ };
14062
+ };
14063
+ export type SendConvexTeamInviteToVerifiedEmailMutationVariables = Exact<{
14064
+ input: SendConvexTeamInviteToVerifiedEmailInput;
14065
+ }>;
14066
+ export type SendConvexTeamInviteToVerifiedEmailMutation = {
14067
+ __typename?: 'RootMutation';
14068
+ convexTeamConnection: {
14069
+ __typename?: 'ConvexTeamConnectionMutation';
14070
+ sendConvexTeamInviteToVerifiedEmail: boolean;
14071
+ };
14072
+ };
13889
14073
  export type CreateDeviceRunSessionMutationVariables = Exact<{
13890
14074
  deviceRunSessionInput: CreateDeviceRunSessionInput;
13891
14075
  }>;
@@ -13914,14 +14098,14 @@ export type CreateDeviceRunSessionMutation = {
13914
14098
  };
13915
14099
  };
13916
14100
  };
13917
- export type StopDeviceRunSessionMutationVariables = Exact<{
14101
+ export type EnsureDeviceRunSessionStoppedMutationVariables = Exact<{
13918
14102
  deviceRunSessionId: Scalars['ID']['input'];
13919
14103
  }>;
13920
- export type StopDeviceRunSessionMutation = {
14104
+ export type EnsureDeviceRunSessionStoppedMutation = {
13921
14105
  __typename?: 'RootMutation';
13922
14106
  deviceRunSession: {
13923
14107
  __typename?: 'DeviceRunSessionMutation';
13924
- stopDeviceRunSession: {
14108
+ ensureDeviceRunSessionStopped: {
13925
14109
  __typename?: 'DeviceRunSession';
13926
14110
  id: string;
13927
14111
  status: DeviceRunSessionStatus;
@@ -16301,6 +16485,65 @@ export type ViewUpdateChannelsPaginatedOnAppQuery = {
16301
16485
  };
16302
16486
  };
16303
16487
  };
16488
+ export type ConvexTeamConnectionsByAccountIdQueryVariables = Exact<{
16489
+ accountId: Scalars['String']['input'];
16490
+ }>;
16491
+ export type ConvexTeamConnectionsByAccountIdQuery = {
16492
+ __typename?: 'RootQuery';
16493
+ account: {
16494
+ __typename?: 'AccountQuery';
16495
+ byId: {
16496
+ __typename?: 'Account';
16497
+ id: string;
16498
+ convexTeamConnections: Array<{
16499
+ __typename?: 'ConvexTeamConnection';
16500
+ id: string;
16501
+ convexTeamIdentifier: string;
16502
+ convexTeamName: string;
16503
+ convexTeamSlug: string;
16504
+ hasBeenClaimed: boolean;
16505
+ createdAt: any;
16506
+ updatedAt: any;
16507
+ invitedAt?: any | null;
16508
+ invitedEmail?: string | null;
16509
+ }>;
16510
+ };
16511
+ };
16512
+ };
16513
+ export type ConvexProjectByAppIdQueryVariables = Exact<{
16514
+ appId: Scalars['String']['input'];
16515
+ }>;
16516
+ export type ConvexProjectByAppIdQuery = {
16517
+ __typename?: 'RootQuery';
16518
+ app: {
16519
+ __typename?: 'AppQuery';
16520
+ byId: {
16521
+ __typename?: 'App';
16522
+ id: string;
16523
+ convexProject?: {
16524
+ __typename?: 'ConvexProject';
16525
+ id: string;
16526
+ convexProjectIdentifier: string;
16527
+ convexProjectName: string;
16528
+ convexProjectSlug: string;
16529
+ createdAt: any;
16530
+ updatedAt: any;
16531
+ convexTeamConnection: {
16532
+ __typename?: 'ConvexTeamConnection';
16533
+ id: string;
16534
+ convexTeamIdentifier: string;
16535
+ convexTeamName: string;
16536
+ convexTeamSlug: string;
16537
+ hasBeenClaimed: boolean;
16538
+ createdAt: any;
16539
+ updatedAt: any;
16540
+ invitedAt?: any | null;
16541
+ invitedEmail?: string | null;
16542
+ };
16543
+ } | null;
16544
+ };
16545
+ };
16546
+ };
16304
16547
  export type DeviceRunSessionByIdQueryVariables = Exact<{
16305
16548
  deviceRunSessionId: Scalars['ID']['input'];
16306
16549
  }>;
@@ -16763,6 +17006,92 @@ export type AppObserveEventsQuery = {
16763
17006
  };
16764
17007
  };
16765
17008
  };
17009
+ export type AppObserveCustomEventListQueryVariables = Exact<{
17010
+ appId: Scalars['String']['input'];
17011
+ filter?: InputMaybe<AppObserveCustomEventListFilter>;
17012
+ first?: InputMaybe<Scalars['Int']['input']>;
17013
+ after?: InputMaybe<Scalars['String']['input']>;
17014
+ }>;
17015
+ export type AppObserveCustomEventListQuery = {
17016
+ __typename?: 'RootQuery';
17017
+ app: {
17018
+ __typename?: 'AppQuery';
17019
+ byId: {
17020
+ __typename?: 'App';
17021
+ id: string;
17022
+ observe: {
17023
+ __typename?: 'AppObserve';
17024
+ customEventList: {
17025
+ __typename?: 'AppObserveCustomEventListConnection';
17026
+ pageInfo: {
17027
+ __typename?: 'PageInfo';
17028
+ hasNextPage: boolean;
17029
+ hasPreviousPage: boolean;
17030
+ endCursor?: string | null;
17031
+ };
17032
+ edges: Array<{
17033
+ __typename?: 'AppObserveCustomEventEdge';
17034
+ cursor: string;
17035
+ node: {
17036
+ __typename?: 'AppObserveCustomEvent';
17037
+ id: string;
17038
+ eventName: string;
17039
+ timestamp: any;
17040
+ sessionId?: string | null;
17041
+ severityNumber?: number | null;
17042
+ severityText?: string | null;
17043
+ appVersion: string;
17044
+ appBuildNumber: string;
17045
+ appUpdateId?: string | null;
17046
+ appEasBuildId?: string | null;
17047
+ deviceOs: string;
17048
+ deviceOsVersion: string;
17049
+ deviceModel: string;
17050
+ environment?: string | null;
17051
+ easClientId: string;
17052
+ countryCode?: string | null;
17053
+ properties: Array<{
17054
+ __typename?: 'AppObserveEventProperty';
17055
+ key: string;
17056
+ value: string;
17057
+ type: AppObservePropertyType;
17058
+ }>;
17059
+ };
17060
+ }>;
17061
+ };
17062
+ };
17063
+ };
17064
+ };
17065
+ };
17066
+ export type AppObserveCustomEventNamesQueryVariables = Exact<{
17067
+ appId: Scalars['String']['input'];
17068
+ startTime: Scalars['DateTime']['input'];
17069
+ endTime: Scalars['DateTime']['input'];
17070
+ platform?: InputMaybe<AppObservePlatform>;
17071
+ environment?: InputMaybe<Scalars['String']['input']>;
17072
+ }>;
17073
+ export type AppObserveCustomEventNamesQuery = {
17074
+ __typename?: 'RootQuery';
17075
+ app: {
17076
+ __typename?: 'AppQuery';
17077
+ byId: {
17078
+ __typename?: 'App';
17079
+ id: string;
17080
+ observe: {
17081
+ __typename?: 'AppObserve';
17082
+ customEventNames: {
17083
+ __typename?: 'AppObserveCustomEventNames';
17084
+ isTruncated: boolean;
17085
+ names: Array<{
17086
+ __typename?: 'AppObserveCustomEventName';
17087
+ eventName: string;
17088
+ count: number;
17089
+ }>;
17090
+ };
17091
+ };
17092
+ };
17093
+ };
17094
+ };
16766
17095
  export type GetAssetMetadataQueryVariables = Exact<{
16767
17096
  storageKeys: Array<Scalars['String']['input']> | Scalars['String']['input'];
16768
17097
  }>;
@@ -18567,6 +18896,66 @@ export type BuildWithFingerprintFragment = {
18567
18896
  buildDuration?: number | null;
18568
18897
  } | null;
18569
18898
  };
18899
+ export type ConvexTeamConnectionFragment = {
18900
+ __typename?: 'ConvexTeamConnection';
18901
+ id: string;
18902
+ convexTeamIdentifier: string;
18903
+ convexTeamName: string;
18904
+ convexTeamSlug: string;
18905
+ hasBeenClaimed: boolean;
18906
+ createdAt: any;
18907
+ updatedAt: any;
18908
+ invitedAt?: any | null;
18909
+ invitedEmail?: string | null;
18910
+ };
18911
+ export type ConvexProjectFragment = {
18912
+ __typename?: 'ConvexProject';
18913
+ id: string;
18914
+ convexProjectIdentifier: string;
18915
+ convexProjectName: string;
18916
+ convexProjectSlug: string;
18917
+ createdAt: any;
18918
+ updatedAt: any;
18919
+ convexTeamConnection: {
18920
+ __typename?: 'ConvexTeamConnection';
18921
+ id: string;
18922
+ convexTeamIdentifier: string;
18923
+ convexTeamName: string;
18924
+ convexTeamSlug: string;
18925
+ hasBeenClaimed: boolean;
18926
+ createdAt: any;
18927
+ updatedAt: any;
18928
+ invitedAt?: any | null;
18929
+ invitedEmail?: string | null;
18930
+ };
18931
+ };
18932
+ export type SetupConvexProjectResultFragment = {
18933
+ __typename?: 'SetupConvexProjectResult';
18934
+ convexDeploymentName: string;
18935
+ convexDeploymentUrl: string;
18936
+ deployKey: string;
18937
+ convexProject: {
18938
+ __typename?: 'ConvexProject';
18939
+ id: string;
18940
+ convexProjectIdentifier: string;
18941
+ convexProjectName: string;
18942
+ convexProjectSlug: string;
18943
+ createdAt: any;
18944
+ updatedAt: any;
18945
+ convexTeamConnection: {
18946
+ __typename?: 'ConvexTeamConnection';
18947
+ id: string;
18948
+ convexTeamIdentifier: string;
18949
+ convexTeamName: string;
18950
+ convexTeamSlug: string;
18951
+ hasBeenClaimed: boolean;
18952
+ createdAt: any;
18953
+ updatedAt: any;
18954
+ invitedAt?: any | null;
18955
+ invitedEmail?: string | null;
18956
+ };
18957
+ };
18958
+ };
18570
18959
  export type EnvironmentSecretFragment = {
18571
18960
  __typename?: 'EnvironmentSecret';
18572
18961
  id: string;
@@ -18690,6 +19079,31 @@ export type AppObserveTimeSeriesFragment = {
18690
19079
  p99?: number | null;
18691
19080
  };
18692
19081
  };
19082
+ export type AppObserveCustomEventFragment = {
19083
+ __typename?: 'AppObserveCustomEvent';
19084
+ id: string;
19085
+ eventName: string;
19086
+ timestamp: any;
19087
+ sessionId?: string | null;
19088
+ severityNumber?: number | null;
19089
+ severityText?: string | null;
19090
+ appVersion: string;
19091
+ appBuildNumber: string;
19092
+ appUpdateId?: string | null;
19093
+ appEasBuildId?: string | null;
19094
+ deviceOs: string;
19095
+ deviceOsVersion: string;
19096
+ deviceModel: string;
19097
+ environment?: string | null;
19098
+ easClientId: string;
19099
+ countryCode?: string | null;
19100
+ properties: Array<{
19101
+ __typename?: 'AppObserveEventProperty';
19102
+ key: string;
19103
+ value: string;
19104
+ type: AppObservePropertyType;
19105
+ }>;
19106
+ };
18693
19107
  export type AppObserveEventFragment = {
18694
19108
  __typename?: 'AppObserveEvent';
18695
19109
  id: string;
@@ -6,9 +6,9 @@
6
6
  * For more info and docs, visit https://graphql-code-generator.com/
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
- exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoProjectIconSource = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = void 0;
11
- exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = void 0;
9
+ exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUpdatesOrderByField = exports.AppObserveUpdatesOrderByDirection = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
+ exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoProjectIconSource = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = void 0;
11
+ exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = void 0;
12
12
  var AccountAppsSortByField;
13
13
  (function (AccountAppsSortByField) {
14
14
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -88,6 +88,18 @@ var AppObservePropertyType;
88
88
  AppObservePropertyType["Number"] = "NUMBER";
89
89
  AppObservePropertyType["String"] = "STRING";
90
90
  })(AppObservePropertyType || (exports.AppObservePropertyType = AppObservePropertyType = {}));
91
+ var AppObserveUpdatesOrderByDirection;
92
+ (function (AppObserveUpdatesOrderByDirection) {
93
+ AppObserveUpdatesOrderByDirection["Asc"] = "ASC";
94
+ AppObserveUpdatesOrderByDirection["Desc"] = "DESC";
95
+ })(AppObserveUpdatesOrderByDirection || (exports.AppObserveUpdatesOrderByDirection = AppObserveUpdatesOrderByDirection = {}));
96
+ var AppObserveUpdatesOrderByField;
97
+ (function (AppObserveUpdatesOrderByField) {
98
+ AppObserveUpdatesOrderByField["DownloadCount"] = "DOWNLOAD_COUNT";
99
+ AppObserveUpdatesOrderByField["FirstSeenAt"] = "FIRST_SEEN_AT";
100
+ AppObserveUpdatesOrderByField["MedianDownloadTime"] = "MEDIAN_DOWNLOAD_TIME";
101
+ AppObserveUpdatesOrderByField["P90DownloadTime"] = "P90_DOWNLOAD_TIME";
102
+ })(AppObserveUpdatesOrderByField || (exports.AppObserveUpdatesOrderByField = AppObserveUpdatesOrderByField = {}));
91
103
  var AppPlatform;
92
104
  (function (AppPlatform) {
93
105
  AppPlatform["Android"] = "ANDROID";
@@ -1047,6 +1059,7 @@ var WorkflowJobStatus;
1047
1059
  var WorkflowJobType;
1048
1060
  (function (WorkflowJobType) {
1049
1061
  WorkflowJobType["AppleDeviceRegistrationRequest"] = "APPLE_DEVICE_REGISTRATION_REQUEST";
1062
+ WorkflowJobType["BranchDelete"] = "BRANCH_DELETE";
1050
1063
  WorkflowJobType["Build"] = "BUILD";
1051
1064
  WorkflowJobType["Custom"] = "CUSTOM";
1052
1065
  WorkflowJobType["Deploy"] = "DEPLOY";
@@ -0,0 +1,10 @@
1
+ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
+ import { CreateConvexTeamConnectionInput, SendConvexTeamInviteToVerifiedEmailInput, SetupConvexProjectInput } from '../generated';
3
+ import { ConvexTeamConnectionData, SetupConvexProjectResultData } from '../types/ConvexTeamConnection';
4
+ export declare const ConvexMutation: {
5
+ createConvexTeamConnectionAsync(graphqlClient: ExpoGraphqlClient, input: CreateConvexTeamConnectionInput): Promise<ConvexTeamConnectionData>;
6
+ deleteConvexTeamConnectionAsync(graphqlClient: ExpoGraphqlClient, convexTeamConnectionId: string): Promise<ConvexTeamConnectionData>;
7
+ setupConvexProjectAsync(graphqlClient: ExpoGraphqlClient, input: SetupConvexProjectInput): Promise<SetupConvexProjectResultData>;
8
+ deleteConvexProjectAsync(graphqlClient: ExpoGraphqlClient, convexProjectId: string): Promise<string>;
9
+ sendConvexTeamInviteToVerifiedEmailAsync(graphqlClient: ExpoGraphqlClient, input: SendConvexTeamInviteToVerifiedEmailInput): Promise<boolean>;
10
+ };