eas-cli 20.4.0 → 20.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +114 -114
- package/build/build/utils/url.d.ts +1 -0
- package/build/build/utils/url.js +4 -0
- package/build/commands/integrations/posthog/connect.d.ts +3 -0
- package/build/commands/integrations/posthog/connect.js +66 -12
- package/build/commands/simulator/get.js +8 -10
- package/build/commands/simulator/list.js +7 -13
- package/build/commands/simulator/start.js +27 -27
- package/build/commands/simulator/stop.js +5 -5
- package/build/graphql/generated.d.ts +302 -4
- package/build/graphql/generated.js +40 -4
- package/build/graphql/mutations/PostHogMutation.d.ts +2 -2
- package/build/graphql/mutations/PostHogMutation.js +13 -7
- package/build/graphql/queries/AccountQuery.js +5 -0
- package/build/graphql/queries/PostHogQuery.d.ts +3 -1
- package/build/graphql/queries/PostHogQuery.js +5 -2
- package/build/graphql/types/PostHogConnection.d.ts +8 -0
- package/build/utils/usage/checkForOverages.d.ts +13 -3
- package/build/utils/usage/checkForOverages.js +72 -21
- package/oclif.manifest.json +2707 -2707
- package/package.json +2 -2
|
@@ -1269,6 +1269,8 @@ export type App = Project & {
|
|
|
1269
1269
|
/** Android app credentials for the project */
|
|
1270
1270
|
androidAppCredentials: Array<AndroidAppCredentials>;
|
|
1271
1271
|
appStoreConnectApp?: Maybe<AppStoreConnectApp>;
|
|
1272
|
+
/** Connection status for this project's App Store Connect-triggered workflows. */
|
|
1273
|
+
appStoreConnectWorkflowConnectionStatus: AppStoreConnectWorkflowConnectionStatus;
|
|
1272
1274
|
/**
|
|
1273
1275
|
* ios.appStoreUrl field from most recent classic update manifest
|
|
1274
1276
|
* @deprecated Classic updates have been deprecated.
|
|
@@ -1424,6 +1426,7 @@ export type App = Project & {
|
|
|
1424
1426
|
/** EAS updates owned by an app */
|
|
1425
1427
|
updates: Array<Update>;
|
|
1426
1428
|
updatesPaginated: AppUpdatesConnection;
|
|
1429
|
+
updatesTimeline: UpdatesTimelineConnection;
|
|
1427
1430
|
/** Project query object for querying EAS usage metrics */
|
|
1428
1431
|
usageMetrics: AppUsageMetrics;
|
|
1429
1432
|
/** @deprecated Use ownerAccount.name instead */
|
|
@@ -1644,6 +1647,14 @@ export type AppUpdatesPaginatedArgs = {
|
|
|
1644
1647
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1645
1648
|
};
|
|
1646
1649
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
1650
|
+
export type AppUpdatesTimelineArgs = {
|
|
1651
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1652
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1653
|
+
filter?: InputMaybe<UpdatesTimelineFilter>;
|
|
1654
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1655
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1656
|
+
};
|
|
1657
|
+
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
1647
1658
|
export type AppWebhooksArgs = {
|
|
1648
1659
|
filter?: InputMaybe<WebhookFilter>;
|
|
1649
1660
|
};
|
|
@@ -1904,6 +1915,14 @@ export type AppObserve = {
|
|
|
1904
1915
|
customEventList: AppObserveCustomEventListConnection;
|
|
1905
1916
|
customEventNames: AppObserveCustomEventNames;
|
|
1906
1917
|
environments: Array<Scalars['String']['output']>;
|
|
1918
|
+
/** Breaks a single error group down by app version, OS, device, or country (detail page bars). */
|
|
1919
|
+
errorGroupBreakdown: AppObserveErrorGroupBreakdown;
|
|
1920
|
+
/** Distinct unhandled-JS-error groups (the issues list), grouped by fingerprint. */
|
|
1921
|
+
errorGroups: AppObserveErrorGroups;
|
|
1922
|
+
/** Headline error stats for the overview: crash-free rates and error/affected counts. */
|
|
1923
|
+
errorStats: AppObserveErrorStats;
|
|
1924
|
+
/** Time-bucketed exception counts split into fatal vs non-fatal, for the stacked-bar chart. */
|
|
1925
|
+
errorTimeSeries: AppObserveErrorTimeSeries;
|
|
1907
1926
|
events: AppObserveEventsConnection;
|
|
1908
1927
|
navigationRoutes: AppObserveNavigationRoutesConnection;
|
|
1909
1928
|
timeSeries: AppObserveTimeSeries;
|
|
@@ -1949,6 +1968,18 @@ export type AppObserveEnvironmentsArgs = {
|
|
|
1949
1968
|
platform?: InputMaybe<AppObservePlatform>;
|
|
1950
1969
|
startTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1951
1970
|
};
|
|
1971
|
+
export type AppObserveErrorGroupBreakdownArgs = {
|
|
1972
|
+
input: AppObserveErrorGroupBreakdownInput;
|
|
1973
|
+
};
|
|
1974
|
+
export type AppObserveErrorGroupsArgs = {
|
|
1975
|
+
input: AppObserveErrorGroupsInput;
|
|
1976
|
+
};
|
|
1977
|
+
export type AppObserveErrorStatsArgs = {
|
|
1978
|
+
input: AppObserveErrorStatsInput;
|
|
1979
|
+
};
|
|
1980
|
+
export type AppObserveErrorTimeSeriesArgs = {
|
|
1981
|
+
input: AppObserveErrorTimeSeriesInput;
|
|
1982
|
+
};
|
|
1952
1983
|
export type AppObserveEventsArgs = {
|
|
1953
1984
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
1954
1985
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2074,10 +2105,17 @@ export type AppObserveCustomEvent = {
|
|
|
2074
2105
|
deviceOsVersion: Scalars['String']['output'];
|
|
2075
2106
|
easClientId: Scalars['String']['output'];
|
|
2076
2107
|
environment?: Maybe<Scalars['String']['output']>;
|
|
2108
|
+
errorFingerprint?: Maybe<Scalars['String']['output']>;
|
|
2109
|
+
errorSource?: Maybe<Scalars['String']['output']>;
|
|
2077
2110
|
eventName: Scalars['String']['output'];
|
|
2111
|
+
exceptionMessage?: Maybe<Scalars['String']['output']>;
|
|
2112
|
+
exceptionStacktrace?: Maybe<Scalars['String']['output']>;
|
|
2113
|
+
/** Error fields below are populated only for exception events (eventName: exception). */
|
|
2114
|
+
exceptionType?: Maybe<Scalars['String']['output']>;
|
|
2078
2115
|
expoSdkVersion?: Maybe<Scalars['String']['output']>;
|
|
2079
2116
|
id: Scalars['ID']['output'];
|
|
2080
2117
|
ingestedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2118
|
+
isFatal?: Maybe<Scalars['Boolean']['output']>;
|
|
2081
2119
|
properties: Array<AppObserveEventProperty>;
|
|
2082
2120
|
reactNativeVersion?: Maybe<Scalars['String']['output']>;
|
|
2083
2121
|
sessionId?: Maybe<Scalars['String']['output']>;
|
|
@@ -2126,6 +2164,8 @@ export type AppObserveCustomEventListFilter = {
|
|
|
2126
2164
|
easClientId?: InputMaybe<Scalars['String']['input']>;
|
|
2127
2165
|
endTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2128
2166
|
environment?: InputMaybe<Scalars['String']['input']>;
|
|
2167
|
+
/** Restrict to one error group. Combine with the exception eventName to list a group's occurrences. */
|
|
2168
|
+
errorFingerprint?: InputMaybe<Scalars['String']['input']>;
|
|
2129
2169
|
eventName?: InputMaybe<Scalars['String']['input']>;
|
|
2130
2170
|
isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2131
2171
|
platform?: InputMaybe<AppObservePlatform>;
|
|
@@ -2159,6 +2199,153 @@ export type AppObserveCustomEventPropertyFilter = {
|
|
|
2159
2199
|
key: Scalars['String']['input'];
|
|
2160
2200
|
value: Scalars['String']['input'];
|
|
2161
2201
|
};
|
|
2202
|
+
export type AppObserveErrorBreakdownBucket = {
|
|
2203
|
+
__typename?: 'AppObserveErrorBreakdownBucket';
|
|
2204
|
+
count: Scalars['Int']['output'];
|
|
2205
|
+
/** Dimension value (app version, OS, device model, or country code). Empty string when unknown. */
|
|
2206
|
+
key: Scalars['String']['output'];
|
|
2207
|
+
uniqueUserCount: Scalars['Int']['output'];
|
|
2208
|
+
};
|
|
2209
|
+
export declare enum AppObserveErrorBreakdownDimension {
|
|
2210
|
+
AppVersion = "APP_VERSION",
|
|
2211
|
+
Country = "COUNTRY",
|
|
2212
|
+
Device = "DEVICE",
|
|
2213
|
+
Os = "OS"
|
|
2214
|
+
}
|
|
2215
|
+
export type AppObserveErrorGroup = {
|
|
2216
|
+
__typename?: 'AppObserveErrorGroup';
|
|
2217
|
+
affectedSessionCount: Scalars['Int']['output'];
|
|
2218
|
+
/** How the error was captured, from the most recent occurrence (e.g. global). */
|
|
2219
|
+
errorSource?: Maybe<Scalars['String']['output']>;
|
|
2220
|
+
eventCount: Scalars['Int']['output'];
|
|
2221
|
+
/** Error message, from the most recent occurrence. */
|
|
2222
|
+
exceptionMessage?: Maybe<Scalars['String']['output']>;
|
|
2223
|
+
/** Error class/type, from the most recent occurrence (e.g. TypeError). */
|
|
2224
|
+
exceptionType?: Maybe<Scalars['String']['output']>;
|
|
2225
|
+
/** Stable grouping key (sha256 over error type + entropy-normalized message). */
|
|
2226
|
+
fingerprint: Scalars['String']['output'];
|
|
2227
|
+
firstSeenAt: Scalars['DateTime']['output'];
|
|
2228
|
+
isFatal: Scalars['Boolean']['output'];
|
|
2229
|
+
lastSeenAt: Scalars['DateTime']['output'];
|
|
2230
|
+
/** Distinct device OS values seen for this group (e.g. Android, iOS). */
|
|
2231
|
+
platforms: Array<Scalars['String']['output']>;
|
|
2232
|
+
/** FATAL if any occurrence in the group was fatal, otherwise ERROR. */
|
|
2233
|
+
severity: AppObserveErrorSeverity;
|
|
2234
|
+
uniqueUserCount: Scalars['Int']['output'];
|
|
2235
|
+
};
|
|
2236
|
+
export type AppObserveErrorGroupBreakdown = {
|
|
2237
|
+
__typename?: 'AppObserveErrorGroupBreakdown';
|
|
2238
|
+
/** Buckets ordered by count descending. */
|
|
2239
|
+
buckets: Array<AppObserveErrorBreakdownBucket>;
|
|
2240
|
+
/** True when more buckets exist than were returned (top-N truncation). */
|
|
2241
|
+
isTruncated: Scalars['Boolean']['output'];
|
|
2242
|
+
};
|
|
2243
|
+
/** Filters for the per-group breakdown. Same release/time/platform filters used across Observe. */
|
|
2244
|
+
export type AppObserveErrorGroupBreakdownInput = {
|
|
2245
|
+
appBuildNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2246
|
+
appEasBuildId?: InputMaybe<Scalars['String']['input']>;
|
|
2247
|
+
appUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
2248
|
+
appVersion?: InputMaybe<Scalars['String']['input']>;
|
|
2249
|
+
dimension: AppObserveErrorBreakdownDimension;
|
|
2250
|
+
endTime: Scalars['DateTime']['input'];
|
|
2251
|
+
environment?: InputMaybe<Scalars['String']['input']>;
|
|
2252
|
+
fingerprint: Scalars['String']['input'];
|
|
2253
|
+
isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2254
|
+
platform?: InputMaybe<AppObservePlatform>;
|
|
2255
|
+
startTime: Scalars['DateTime']['input'];
|
|
2256
|
+
};
|
|
2257
|
+
export type AppObserveErrorGroups = {
|
|
2258
|
+
__typename?: 'AppObserveErrorGroups';
|
|
2259
|
+
groups: Array<AppObserveErrorGroup>;
|
|
2260
|
+
/** True when more groups exist than were returned (top-N truncation). */
|
|
2261
|
+
isTruncated: Scalars['Boolean']['output'];
|
|
2262
|
+
};
|
|
2263
|
+
export type AppObserveErrorGroupsInput = {
|
|
2264
|
+
appBuildNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2265
|
+
appEasBuildId?: InputMaybe<Scalars['String']['input']>;
|
|
2266
|
+
appUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
2267
|
+
appVersion?: InputMaybe<Scalars['String']['input']>;
|
|
2268
|
+
endTime: Scalars['DateTime']['input'];
|
|
2269
|
+
environment?: InputMaybe<Scalars['String']['input']>;
|
|
2270
|
+
/** Restrict to a single group, e.g. to fetch one group's header on the detail page. */
|
|
2271
|
+
fingerprint?: InputMaybe<Scalars['String']['input']>;
|
|
2272
|
+
isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2273
|
+
orderBy?: InputMaybe<AppObserveErrorGroupsOrderBy>;
|
|
2274
|
+
platform?: InputMaybe<AppObservePlatform>;
|
|
2275
|
+
/** Restrict to fatal-only or non-fatal-only errors. */
|
|
2276
|
+
severity?: InputMaybe<AppObserveErrorSeverity>;
|
|
2277
|
+
/** Restrict to a capture source (e.g. global). */
|
|
2278
|
+
source?: InputMaybe<Scalars['String']['input']>;
|
|
2279
|
+
startTime: Scalars['DateTime']['input'];
|
|
2280
|
+
};
|
|
2281
|
+
export declare enum AppObserveErrorGroupsOrderBy {
|
|
2282
|
+
FirstSeen = "FIRST_SEEN",
|
|
2283
|
+
LastSeen = "LAST_SEEN",
|
|
2284
|
+
MostFrequent = "MOST_FREQUENT",
|
|
2285
|
+
MostUsers = "MOST_USERS"
|
|
2286
|
+
}
|
|
2287
|
+
export declare enum AppObserveErrorSeverity {
|
|
2288
|
+
Error = "ERROR",
|
|
2289
|
+
Fatal = "FATAL"
|
|
2290
|
+
}
|
|
2291
|
+
export type AppObserveErrorStats = {
|
|
2292
|
+
__typename?: 'AppObserveErrorStats';
|
|
2293
|
+
/** Distinct sessions that hit any exception. */
|
|
2294
|
+
affectedSessions: Scalars['Int']['output'];
|
|
2295
|
+
/** Distinct users that hit any exception. */
|
|
2296
|
+
affectedUsers: Scalars['Int']['output'];
|
|
2297
|
+
/** Fraction (0..1) of active sessions without a fatal error. Denominator spans app_metrics and app_events. */
|
|
2298
|
+
crashFreeSessions: Scalars['Float']['output'];
|
|
2299
|
+
/** Fraction (0..1) of active users without a fatal error. */
|
|
2300
|
+
crashFreeUsers: Scalars['Float']['output'];
|
|
2301
|
+
fatalCount: Scalars['Int']['output'];
|
|
2302
|
+
nonFatalCount: Scalars['Int']['output'];
|
|
2303
|
+
/** Total exception events in range. */
|
|
2304
|
+
totalErrors: Scalars['Int']['output'];
|
|
2305
|
+
};
|
|
2306
|
+
/** Filters for the error-stats header. Same release/time/platform filters used across Observe. */
|
|
2307
|
+
export type AppObserveErrorStatsInput = {
|
|
2308
|
+
appBuildNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2309
|
+
appEasBuildId?: InputMaybe<Scalars['String']['input']>;
|
|
2310
|
+
appUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
2311
|
+
appVersion?: InputMaybe<Scalars['String']['input']>;
|
|
2312
|
+
endTime: Scalars['DateTime']['input'];
|
|
2313
|
+
environment?: InputMaybe<Scalars['String']['input']>;
|
|
2314
|
+
isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2315
|
+
platform?: InputMaybe<AppObservePlatform>;
|
|
2316
|
+
startTime: Scalars['DateTime']['input'];
|
|
2317
|
+
};
|
|
2318
|
+
export type AppObserveErrorTimeSeries = {
|
|
2319
|
+
__typename?: 'AppObserveErrorTimeSeries';
|
|
2320
|
+
buckets: Array<AppObserveErrorTimeSeriesBucket>;
|
|
2321
|
+
/** Sum of fatalCount across all buckets. */
|
|
2322
|
+
totalFatalCount: Scalars['Int']['output'];
|
|
2323
|
+
/** Sum of nonFatalCount across all buckets. */
|
|
2324
|
+
totalNonFatalCount: Scalars['Int']['output'];
|
|
2325
|
+
};
|
|
2326
|
+
export type AppObserveErrorTimeSeriesBucket = {
|
|
2327
|
+
__typename?: 'AppObserveErrorTimeSeriesBucket';
|
|
2328
|
+
/** Start of the bucket interval. */
|
|
2329
|
+
bucket: Scalars['DateTime']['output'];
|
|
2330
|
+
fatalCount: Scalars['Int']['output'];
|
|
2331
|
+
nonFatalCount: Scalars['Int']['output'];
|
|
2332
|
+
};
|
|
2333
|
+
/** Filters for the error time series. Same release/time/platform filters used across Observe, plus the bucket size. */
|
|
2334
|
+
export type AppObserveErrorTimeSeriesInput = {
|
|
2335
|
+
appBuildNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2336
|
+
appEasBuildId?: InputMaybe<Scalars['String']['input']>;
|
|
2337
|
+
appUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
2338
|
+
appVersion?: InputMaybe<Scalars['String']['input']>;
|
|
2339
|
+
/** Bucket width in minutes. Defaults to 60. */
|
|
2340
|
+
bucketIntervalMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
2341
|
+
endTime: Scalars['DateTime']['input'];
|
|
2342
|
+
environment?: InputMaybe<Scalars['String']['input']>;
|
|
2343
|
+
/** Restrict to one error group for the detail page's occurrences-over-time chart. Omit for the overview chart. */
|
|
2344
|
+
fingerprint?: InputMaybe<Scalars['String']['input']>;
|
|
2345
|
+
isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2346
|
+
platform?: InputMaybe<AppObservePlatform>;
|
|
2347
|
+
startTime: Scalars['DateTime']['input'];
|
|
2348
|
+
};
|
|
2162
2349
|
export type AppObserveEvent = {
|
|
2163
2350
|
__typename?: 'AppObserveEvent';
|
|
2164
2351
|
appBuildNumber: Scalars['String']['output'];
|
|
@@ -2212,8 +2399,11 @@ export type AppObserveEventsConnection = {
|
|
|
2212
2399
|
export type AppObserveEventsFilter = {
|
|
2213
2400
|
appBuildNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2214
2401
|
appEasBuildId?: InputMaybe<Scalars['String']['input']>;
|
|
2402
|
+
/** Filter by the update the device was *running* at event time (the app_update_id column). */
|
|
2215
2403
|
appUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
2216
2404
|
appVersion?: InputMaybe<Scalars['String']['input']>;
|
|
2405
|
+
/** Filter by the update that was *downloaded* (the expo.update_id tag), as surfaced by the EAS Update Recent updates download drill-down. Distinct from appUpdateId (running update); the two are not interchangeable. */
|
|
2406
|
+
downloadedUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
2217
2407
|
easClientId?: InputMaybe<Scalars['String']['input']>;
|
|
2218
2408
|
endTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2219
2409
|
environment?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2603,6 +2793,15 @@ export declare enum AppStoreConnectUserRole {
|
|
|
2603
2793
|
Technical = "TECHNICAL",
|
|
2604
2794
|
Unknown = "UNKNOWN"
|
|
2605
2795
|
}
|
|
2796
|
+
/** Whether a project has an App Store Connect connection for its ASC-triggered workflows. */
|
|
2797
|
+
export declare enum AppStoreConnectWorkflowConnectionStatus {
|
|
2798
|
+
/** An App Store Connect app connection is linked to this project. */
|
|
2799
|
+
HasWorkflowsIsConnected = "HAS_WORKFLOWS_IS_CONNECTED",
|
|
2800
|
+
/** The project has App Store Connect-triggered workflows but no connection. */
|
|
2801
|
+
HasWorkflowsMissingConnection = "HAS_WORKFLOWS_MISSING_CONNECTION",
|
|
2802
|
+
/** The project has no workflows with an on.app_store_connect trigger. */
|
|
2803
|
+
NoAppStoreConnectWorkflows = "NO_APP_STORE_CONNECT_WORKFLOWS"
|
|
2804
|
+
}
|
|
2606
2805
|
export type AppSubmissionEdge = {
|
|
2607
2806
|
__typename?: 'AppSubmissionEdge';
|
|
2608
2807
|
cursor: Scalars['String']['output'];
|
|
@@ -3356,6 +3555,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
|
|
|
3356
3555
|
deployment?: Maybe<Deployment>;
|
|
3357
3556
|
developmentClient?: Maybe<Scalars['Boolean']['output']>;
|
|
3358
3557
|
distribution?: Maybe<DistributionType>;
|
|
3558
|
+
embeddedUpdate?: Maybe<EmbeddedUpdate>;
|
|
3359
3559
|
enqueuedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3360
3560
|
error?: Maybe<BuildError>;
|
|
3361
3561
|
estimatedWaitTimeLeftSeconds?: Maybe<Scalars['Int']['output']>;
|
|
@@ -3894,6 +4094,10 @@ export type CodeSigningInfoInput = {
|
|
|
3894
4094
|
keyid: Scalars['String']['input'];
|
|
3895
4095
|
sig: Scalars['String']['input'];
|
|
3896
4096
|
};
|
|
4097
|
+
export type CompletePostHogConnectionInput = {
|
|
4098
|
+
code: Scalars['String']['input'];
|
|
4099
|
+
state: Scalars['ID']['input'];
|
|
4100
|
+
};
|
|
3897
4101
|
export type Concurrencies = {
|
|
3898
4102
|
__typename?: 'Concurrencies';
|
|
3899
4103
|
android: Scalars['Int']['output'];
|
|
@@ -4559,6 +4763,7 @@ export type DeploymentsMutationDeleteWorkerDeploymentByIdentifierArgs = {
|
|
|
4559
4763
|
export type DeviceRunSession = {
|
|
4560
4764
|
__typename?: 'DeviceRunSession';
|
|
4561
4765
|
app: App;
|
|
4766
|
+
artifacts: Array<DeviceRunSessionArtifact>;
|
|
4562
4767
|
createdAt: Scalars['DateTime']['output'];
|
|
4563
4768
|
finishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4564
4769
|
id: Scalars['ID']['output'];
|
|
@@ -4576,6 +4781,25 @@ export type DeviceRunSession = {
|
|
|
4576
4781
|
type: DeviceRunSessionType;
|
|
4577
4782
|
updatedAt: Scalars['DateTime']['output'];
|
|
4578
4783
|
};
|
|
4784
|
+
export type DeviceRunSessionArtifact = {
|
|
4785
|
+
__typename?: 'DeviceRunSessionArtifact';
|
|
4786
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4787
|
+
deviceRunSession: DeviceRunSession;
|
|
4788
|
+
downloadUrl: Scalars['String']['output'];
|
|
4789
|
+
fileSizeBytes?: Maybe<Scalars['Float']['output']>;
|
|
4790
|
+
filename: Scalars['String']['output'];
|
|
4791
|
+
id: Scalars['ID']['output'];
|
|
4792
|
+
metadata?: Maybe<Scalars['JSONObject']['output']>;
|
|
4793
|
+
name: Scalars['String']['output'];
|
|
4794
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4795
|
+
};
|
|
4796
|
+
export type DeviceRunSessionArtifactQuery = {
|
|
4797
|
+
__typename?: 'DeviceRunSessionArtifactQuery';
|
|
4798
|
+
byId: DeviceRunSessionArtifact;
|
|
4799
|
+
};
|
|
4800
|
+
export type DeviceRunSessionArtifactQueryByIdArgs = {
|
|
4801
|
+
deviceRunSessionArtifactId: Scalars['ID']['input'];
|
|
4802
|
+
};
|
|
4579
4803
|
export type DeviceRunSessionArtifactUploadSession = {
|
|
4580
4804
|
__typename?: 'DeviceRunSessionArtifactUploadSession';
|
|
4581
4805
|
headers: Scalars['JSONObject']['output'];
|
|
@@ -5261,13 +5485,20 @@ export type EditUpdateBranchInput = {
|
|
|
5261
5485
|
};
|
|
5262
5486
|
export type EmbeddedUpdate = {
|
|
5263
5487
|
__typename?: 'EmbeddedUpdate';
|
|
5488
|
+
build?: Maybe<Build>;
|
|
5264
5489
|
channel: Scalars['String']['output'];
|
|
5265
5490
|
createdAt: Scalars['DateTime']['output'];
|
|
5266
5491
|
/** The manifest UUID baked into the binary by expo-updates at build time. */
|
|
5267
5492
|
id: Scalars['ID']['output'];
|
|
5268
5493
|
launchAsset: EmbeddedUpdateAsset;
|
|
5269
5494
|
platform: AppPlatform;
|
|
5495
|
+
runtime?: Maybe<Runtime>;
|
|
5270
5496
|
runtimeVersion: Scalars['String']['output'];
|
|
5497
|
+
/**
|
|
5498
|
+
* A short-lived signed URL for downloading this bundle's launch asset. Minted on access,
|
|
5499
|
+
* so only select it when the user is actually downloading.
|
|
5500
|
+
*/
|
|
5501
|
+
signedAssetUrl: Scalars['String']['output'];
|
|
5271
5502
|
};
|
|
5272
5503
|
export type EmbeddedUpdateAsset = {
|
|
5273
5504
|
__typename?: 'EmbeddedUpdateAsset';
|
|
@@ -6987,9 +7218,22 @@ export type PostHogOrganizationConnection = {
|
|
|
6987
7218
|
};
|
|
6988
7219
|
export type PostHogOrganizationConnectionMutation = {
|
|
6989
7220
|
__typename?: 'PostHogOrganizationConnectionMutation';
|
|
7221
|
+
/**
|
|
7222
|
+
* Completes an existing-user connection from the browser callback: exchanges the
|
|
7223
|
+
* authorization code with the stored PKCE verifier and persists the connection.
|
|
7224
|
+
*/
|
|
7225
|
+
completePostHogConnection: PostHogOrganizationConnection;
|
|
6990
7226
|
createPostHogAccountRequest: PostHogOrganizationConnection;
|
|
6991
7227
|
/** Removes the Expo-side connection only; the PostHog organization is preserved. */
|
|
6992
7228
|
deletePostHogOrganizationConnection: Scalars['ID']['output'];
|
|
7229
|
+
/**
|
|
7230
|
+
* Starts a PostHog connection. Returns the connection directly for a new PostHog
|
|
7231
|
+
* user, or a pending browser-auth handoff for an existing PostHog user.
|
|
7232
|
+
*/
|
|
7233
|
+
startPostHogConnection: StartPostHogConnectionResult;
|
|
7234
|
+
};
|
|
7235
|
+
export type PostHogOrganizationConnectionMutationCompletePostHogConnectionArgs = {
|
|
7236
|
+
input: CompletePostHogConnectionInput;
|
|
6993
7237
|
};
|
|
6994
7238
|
export type PostHogOrganizationConnectionMutationCreatePostHogAccountRequestArgs = {
|
|
6995
7239
|
input: CreatePostHogAccountRequestInput;
|
|
@@ -6997,6 +7241,19 @@ export type PostHogOrganizationConnectionMutationCreatePostHogAccountRequestArgs
|
|
|
6997
7241
|
export type PostHogOrganizationConnectionMutationDeletePostHogOrganizationConnectionArgs = {
|
|
6998
7242
|
id: Scalars['ID']['input'];
|
|
6999
7243
|
};
|
|
7244
|
+
export type PostHogOrganizationConnectionMutationStartPostHogConnectionArgs = {
|
|
7245
|
+
input: CreatePostHogAccountRequestInput;
|
|
7246
|
+
};
|
|
7247
|
+
/**
|
|
7248
|
+
* Returned when the account's email already belongs to a PostHog account. The user
|
|
7249
|
+
* must approve the connection in their browser at `url`; the CLI then polls for
|
|
7250
|
+
* completion with `state`.
|
|
7251
|
+
*/
|
|
7252
|
+
export type PostHogPendingConnection = {
|
|
7253
|
+
__typename?: 'PostHogPendingConnection';
|
|
7254
|
+
state: Scalars['ID']['output'];
|
|
7255
|
+
url: Scalars['String']['output'];
|
|
7256
|
+
};
|
|
7000
7257
|
export type PostHogProject = {
|
|
7001
7258
|
__typename?: 'PostHogProject';
|
|
7002
7259
|
app: App;
|
|
@@ -7453,6 +7710,7 @@ export type RootQuery = {
|
|
|
7453
7710
|
convexIntegration: ConvexIntegrationQuery;
|
|
7454
7711
|
/** Top-level query object for querying Deployments. */
|
|
7455
7712
|
deployments: DeploymentQuery;
|
|
7713
|
+
deviceRunSessionArtifacts: DeviceRunSessionArtifactQuery;
|
|
7456
7714
|
deviceRunSessions: DeviceRunSessionQuery;
|
|
7457
7715
|
/** Top-level query object for querying Echo chats. */
|
|
7458
7716
|
echoChat: EchoChatQuery;
|
|
@@ -7907,6 +8165,7 @@ export declare enum StandardOffer {
|
|
|
7907
8165
|
/** $348 USD per year, 30 day trial */
|
|
7908
8166
|
YearlySub = "YEARLY_SUB"
|
|
7909
8167
|
}
|
|
8168
|
+
export type StartPostHogConnectionResult = PostHogOrganizationConnection | PostHogPendingConnection;
|
|
7910
8169
|
/** Incident for a given component from Expo status page API. */
|
|
7911
8170
|
export type StatuspageIncident = {
|
|
7912
8171
|
__typename?: 'StatuspageIncident';
|
|
@@ -8552,6 +8811,13 @@ export type UpdateGitHubJobRunTriggerInput = {
|
|
|
8552
8811
|
export type UpdateGitHubRepositorySettingsInput = {
|
|
8553
8812
|
baseDirectory: Scalars['String']['input'];
|
|
8554
8813
|
};
|
|
8814
|
+
export type UpdateGroup = {
|
|
8815
|
+
__typename?: 'UpdateGroup';
|
|
8816
|
+
createdAt: Scalars['DateTime']['output'];
|
|
8817
|
+
/** The shared update_group UUID of the member updates. */
|
|
8818
|
+
id: Scalars['ID']['output'];
|
|
8819
|
+
updates: Array<Update>;
|
|
8820
|
+
};
|
|
8555
8821
|
export type UpdateGroupEdge = {
|
|
8556
8822
|
__typename?: 'UpdateGroupEdge';
|
|
8557
8823
|
cursor: Scalars['String']['output'];
|
|
@@ -8653,6 +8919,27 @@ export type UpdatesMetricsData = {
|
|
|
8653
8919
|
installsDataset: CumulativeUpdatesDataset;
|
|
8654
8920
|
labels: Array<Scalars['String']['output']>;
|
|
8655
8921
|
};
|
|
8922
|
+
export type UpdatesTimelineConnection = {
|
|
8923
|
+
__typename?: 'UpdatesTimelineConnection';
|
|
8924
|
+
edges: Array<UpdatesTimelineEdge>;
|
|
8925
|
+
pageInfo: PageInfo;
|
|
8926
|
+
};
|
|
8927
|
+
export type UpdatesTimelineEdge = {
|
|
8928
|
+
__typename?: 'UpdatesTimelineEdge';
|
|
8929
|
+
cursor: Scalars['String']['output'];
|
|
8930
|
+
node: UpdatesTimelineItem;
|
|
8931
|
+
};
|
|
8932
|
+
export type UpdatesTimelineFilter = {
|
|
8933
|
+
channel?: InputMaybe<Scalars['String']['input']>;
|
|
8934
|
+
platform?: InputMaybe<AppPlatform>;
|
|
8935
|
+
runtimeVersions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8936
|
+
types?: InputMaybe<Array<UpdatesTimelineItemType>>;
|
|
8937
|
+
};
|
|
8938
|
+
export type UpdatesTimelineItem = EmbeddedUpdate | UpdateGroup;
|
|
8939
|
+
export declare enum UpdatesTimelineItemType {
|
|
8940
|
+
EmbeddedUpdate = "EMBEDDED_UPDATE",
|
|
8941
|
+
UpdateGroup = "UPDATE_GROUP"
|
|
8942
|
+
}
|
|
8656
8943
|
export type UploadEmbeddedUpdateInput = {
|
|
8657
8944
|
appId: Scalars['ID']['input'];
|
|
8658
8945
|
channel: Scalars['String']['input'];
|
|
@@ -10456,6 +10743,8 @@ export declare enum WorkflowRunTriggerEventType {
|
|
|
10456
10743
|
AppStoreConnectExternalBetaStateChanged = "APP_STORE_CONNECT_EXTERNAL_BETA_STATE_CHANGED",
|
|
10457
10744
|
EasSubmit = "EAS_SUBMIT",
|
|
10458
10745
|
ExpoLaunch = "EXPO_LAUNCH",
|
|
10746
|
+
GithubPullRequestBaseRefChanged = "GITHUB_PULL_REQUEST_BASE_REF_CHANGED",
|
|
10747
|
+
GithubPullRequestEdited = "GITHUB_PULL_REQUEST_EDITED",
|
|
10459
10748
|
GithubPullRequestLabeled = "GITHUB_PULL_REQUEST_LABELED",
|
|
10460
10749
|
GithubPullRequestOpened = "GITHUB_PULL_REQUEST_OPENED",
|
|
10461
10750
|
GithubPullRequestReadyForReview = "GITHUB_PULL_REQUEST_READY_FOR_REVIEW",
|
|
@@ -15403,21 +15692,24 @@ export type CreateLocalBuildMutation = {
|
|
|
15403
15692
|
};
|
|
15404
15693
|
};
|
|
15405
15694
|
};
|
|
15406
|
-
export type
|
|
15695
|
+
export type StartPostHogConnectionMutationVariables = Exact<{
|
|
15407
15696
|
input: CreatePostHogAccountRequestInput;
|
|
15408
15697
|
}>;
|
|
15409
|
-
export type
|
|
15698
|
+
export type StartPostHogConnectionMutation = {
|
|
15410
15699
|
__typename?: 'RootMutation';
|
|
15411
15700
|
posthogOrganizationConnection: {
|
|
15412
15701
|
__typename?: 'PostHogOrganizationConnectionMutation';
|
|
15413
|
-
|
|
15414
|
-
__typename
|
|
15702
|
+
startPostHogConnection: {
|
|
15703
|
+
__typename: 'PostHogOrganizationConnection';
|
|
15415
15704
|
id: string;
|
|
15416
15705
|
posthogOrganizationIdentifier: string;
|
|
15417
15706
|
posthogOrganizationName: string;
|
|
15418
15707
|
posthogRegion: PostHogRegion;
|
|
15419
15708
|
createdAt: any;
|
|
15420
15709
|
updatedAt: any;
|
|
15710
|
+
} | {
|
|
15711
|
+
__typename: 'PostHogPendingConnection';
|
|
15712
|
+
url: string;
|
|
15421
15713
|
};
|
|
15422
15714
|
};
|
|
15423
15715
|
};
|
|
@@ -16146,6 +16438,7 @@ export type AccountUsageForOverageWarningQuery = {
|
|
|
16146
16438
|
EAS_BUILD: {
|
|
16147
16439
|
__typename?: 'UsageMetricTotal';
|
|
16148
16440
|
id: string;
|
|
16441
|
+
totalCost: number;
|
|
16149
16442
|
planMetrics: Array<{
|
|
16150
16443
|
__typename?: 'EstimatedUsage';
|
|
16151
16444
|
id: string;
|
|
@@ -16153,6 +16446,11 @@ export type AccountUsageForOverageWarningQuery = {
|
|
|
16153
16446
|
value: number;
|
|
16154
16447
|
limit: number;
|
|
16155
16448
|
}>;
|
|
16449
|
+
overageMetrics: Array<{
|
|
16450
|
+
__typename?: 'EstimatedOverageAndCost';
|
|
16451
|
+
id: string;
|
|
16452
|
+
value: number;
|
|
16453
|
+
}>;
|
|
16156
16454
|
};
|
|
16157
16455
|
};
|
|
16158
16456
|
};
|
|
@@ -6,10 +6,10 @@
|
|
|
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.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = void 0;
|
|
9
|
+
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.AppStoreConnectWorkflowConnectionStatus = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUpdatesOrderByField = exports.AppObserveUpdatesOrderByDirection = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveNavigationRoutesOrderByField = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveErrorSeverity = exports.AppObserveErrorGroupsOrderBy = exports.AppObserveErrorBreakdownDimension = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
|
|
10
|
+
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.ExitInterviewOutcome = exports.ExitInterviewMessageRole = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoTurnCompletionStatus = 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 = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = void 0;
|
|
11
|
+
exports.WorkflowDeviceTestCaseSortDirection = exports.WorkflowDeviceTestCaseInsightsTimeSeriesGranularity = 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.UpdatesTimelineItemType = 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 = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = void 0;
|
|
12
|
+
exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = void 0;
|
|
13
13
|
var AccountAppsSortByField;
|
|
14
14
|
(function (AccountAppsSortByField) {
|
|
15
15
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -77,6 +77,25 @@ var AppObserveCustomEventNamesOrderByField;
|
|
|
77
77
|
AppObserveCustomEventNamesOrderByField["Count"] = "COUNT";
|
|
78
78
|
AppObserveCustomEventNamesOrderByField["EventName"] = "EVENT_NAME";
|
|
79
79
|
})(AppObserveCustomEventNamesOrderByField || (exports.AppObserveCustomEventNamesOrderByField = AppObserveCustomEventNamesOrderByField = {}));
|
|
80
|
+
var AppObserveErrorBreakdownDimension;
|
|
81
|
+
(function (AppObserveErrorBreakdownDimension) {
|
|
82
|
+
AppObserveErrorBreakdownDimension["AppVersion"] = "APP_VERSION";
|
|
83
|
+
AppObserveErrorBreakdownDimension["Country"] = "COUNTRY";
|
|
84
|
+
AppObserveErrorBreakdownDimension["Device"] = "DEVICE";
|
|
85
|
+
AppObserveErrorBreakdownDimension["Os"] = "OS";
|
|
86
|
+
})(AppObserveErrorBreakdownDimension || (exports.AppObserveErrorBreakdownDimension = AppObserveErrorBreakdownDimension = {}));
|
|
87
|
+
var AppObserveErrorGroupsOrderBy;
|
|
88
|
+
(function (AppObserveErrorGroupsOrderBy) {
|
|
89
|
+
AppObserveErrorGroupsOrderBy["FirstSeen"] = "FIRST_SEEN";
|
|
90
|
+
AppObserveErrorGroupsOrderBy["LastSeen"] = "LAST_SEEN";
|
|
91
|
+
AppObserveErrorGroupsOrderBy["MostFrequent"] = "MOST_FREQUENT";
|
|
92
|
+
AppObserveErrorGroupsOrderBy["MostUsers"] = "MOST_USERS";
|
|
93
|
+
})(AppObserveErrorGroupsOrderBy || (exports.AppObserveErrorGroupsOrderBy = AppObserveErrorGroupsOrderBy = {}));
|
|
94
|
+
var AppObserveErrorSeverity;
|
|
95
|
+
(function (AppObserveErrorSeverity) {
|
|
96
|
+
AppObserveErrorSeverity["Error"] = "ERROR";
|
|
97
|
+
AppObserveErrorSeverity["Fatal"] = "FATAL";
|
|
98
|
+
})(AppObserveErrorSeverity || (exports.AppObserveErrorSeverity = AppObserveErrorSeverity = {}));
|
|
80
99
|
var AppObserveEventsOrderByDirection;
|
|
81
100
|
(function (AppObserveEventsOrderByDirection) {
|
|
82
101
|
AppObserveEventsOrderByDirection["Asc"] = "ASC";
|
|
@@ -166,6 +185,16 @@ var AppStoreConnectUserRole;
|
|
|
166
185
|
AppStoreConnectUserRole["Technical"] = "TECHNICAL";
|
|
167
186
|
AppStoreConnectUserRole["Unknown"] = "UNKNOWN";
|
|
168
187
|
})(AppStoreConnectUserRole || (exports.AppStoreConnectUserRole = AppStoreConnectUserRole = {}));
|
|
188
|
+
/** Whether a project has an App Store Connect connection for its ASC-triggered workflows. */
|
|
189
|
+
var AppStoreConnectWorkflowConnectionStatus;
|
|
190
|
+
(function (AppStoreConnectWorkflowConnectionStatus) {
|
|
191
|
+
/** An App Store Connect app connection is linked to this project. */
|
|
192
|
+
AppStoreConnectWorkflowConnectionStatus["HasWorkflowsIsConnected"] = "HAS_WORKFLOWS_IS_CONNECTED";
|
|
193
|
+
/** The project has App Store Connect-triggered workflows but no connection. */
|
|
194
|
+
AppStoreConnectWorkflowConnectionStatus["HasWorkflowsMissingConnection"] = "HAS_WORKFLOWS_MISSING_CONNECTION";
|
|
195
|
+
/** The project has no workflows with an on.app_store_connect trigger. */
|
|
196
|
+
AppStoreConnectWorkflowConnectionStatus["NoAppStoreConnectWorkflows"] = "NO_APP_STORE_CONNECT_WORKFLOWS";
|
|
197
|
+
})(AppStoreConnectWorkflowConnectionStatus || (exports.AppStoreConnectWorkflowConnectionStatus = AppStoreConnectWorkflowConnectionStatus = {}));
|
|
169
198
|
var AppUploadSessionType;
|
|
170
199
|
(function (AppUploadSessionType) {
|
|
171
200
|
AppUploadSessionType["ProfileImageUpload"] = "PROFILE_IMAGE_UPLOAD";
|
|
@@ -967,6 +996,11 @@ var UpdateDiffReceiptStateValue;
|
|
|
967
996
|
UpdateDiffReceiptStateValue["Success"] = "SUCCESS";
|
|
968
997
|
UpdateDiffReceiptStateValue["WontCompute"] = "WONT_COMPUTE";
|
|
969
998
|
})(UpdateDiffReceiptStateValue || (exports.UpdateDiffReceiptStateValue = UpdateDiffReceiptStateValue = {}));
|
|
999
|
+
var UpdatesTimelineItemType;
|
|
1000
|
+
(function (UpdatesTimelineItemType) {
|
|
1001
|
+
UpdatesTimelineItemType["EmbeddedUpdate"] = "EMBEDDED_UPDATE";
|
|
1002
|
+
UpdatesTimelineItemType["UpdateGroup"] = "UPDATE_GROUP";
|
|
1003
|
+
})(UpdatesTimelineItemType || (exports.UpdatesTimelineItemType = UpdatesTimelineItemType = {}));
|
|
970
1004
|
var UploadSessionType;
|
|
971
1005
|
(function (UploadSessionType) {
|
|
972
1006
|
UploadSessionType["EasBuildGcsProjectMetadata"] = "EAS_BUILD_GCS_PROJECT_METADATA";
|
|
@@ -1185,6 +1219,8 @@ var WorkflowRunTriggerEventType;
|
|
|
1185
1219
|
WorkflowRunTriggerEventType["AppStoreConnectExternalBetaStateChanged"] = "APP_STORE_CONNECT_EXTERNAL_BETA_STATE_CHANGED";
|
|
1186
1220
|
WorkflowRunTriggerEventType["EasSubmit"] = "EAS_SUBMIT";
|
|
1187
1221
|
WorkflowRunTriggerEventType["ExpoLaunch"] = "EXPO_LAUNCH";
|
|
1222
|
+
WorkflowRunTriggerEventType["GithubPullRequestBaseRefChanged"] = "GITHUB_PULL_REQUEST_BASE_REF_CHANGED";
|
|
1223
|
+
WorkflowRunTriggerEventType["GithubPullRequestEdited"] = "GITHUB_PULL_REQUEST_EDITED";
|
|
1188
1224
|
WorkflowRunTriggerEventType["GithubPullRequestLabeled"] = "GITHUB_PULL_REQUEST_LABELED";
|
|
1189
1225
|
WorkflowRunTriggerEventType["GithubPullRequestOpened"] = "GITHUB_PULL_REQUEST_OPENED";
|
|
1190
1226
|
WorkflowRunTriggerEventType["GithubPullRequestReadyForReview"] = "GITHUB_PULL_REQUEST_READY_FOR_REVIEW";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { CreatePostHogAccountRequestInput, SetupPostHogProjectInput } from '../generated';
|
|
3
|
-
import {
|
|
3
|
+
import { PostHogProjectData, StartPostHogConnectionResult } from '../types/PostHogConnection';
|
|
4
4
|
export declare const PostHogMutation: {
|
|
5
|
-
|
|
5
|
+
startPostHogConnectionAsync(graphqlClient: ExpoGraphqlClient, input: CreatePostHogAccountRequestInput): Promise<StartPostHogConnectionResult>;
|
|
6
6
|
setupPostHogProjectAsync(graphqlClient: ExpoGraphqlClient, input: SetupPostHogProjectInput): Promise<PostHogProjectData>;
|
|
7
7
|
deletePostHogProjectAsync(graphqlClient: ExpoGraphqlClient, id: string): Promise<string>;
|
|
8
8
|
};
|
|
@@ -7,21 +7,27 @@ const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
|
7
7
|
const client_1 = require("../client");
|
|
8
8
|
const PostHogConnection_1 = require("../types/PostHogConnection");
|
|
9
9
|
exports.PostHogMutation = {
|
|
10
|
-
async
|
|
10
|
+
async startPostHogConnectionAsync(graphqlClient, input) {
|
|
11
11
|
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
12
12
|
.mutation((0, graphql_tag_1.default) `
|
|
13
|
-
mutation
|
|
13
|
+
mutation StartPostHogConnection($input: CreatePostHogAccountRequestInput!) {
|
|
14
14
|
posthogOrganizationConnection {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
...
|
|
15
|
+
startPostHogConnection(input: $input) {
|
|
16
|
+
__typename
|
|
17
|
+
... on PostHogOrganizationConnection {
|
|
18
|
+
id
|
|
19
|
+
...PostHogOrganizationConnectionFragment
|
|
20
|
+
}
|
|
21
|
+
... on PostHogPendingConnection {
|
|
22
|
+
url
|
|
23
|
+
}
|
|
18
24
|
}
|
|
19
25
|
}
|
|
20
26
|
}
|
|
21
27
|
${(0, graphql_1.print)(PostHogConnection_1.PostHogOrganizationConnectionFragmentNode)}
|
|
22
|
-
`, { input })
|
|
28
|
+
`, { input }, { additionalTypenames: ['PostHogOrganizationConnection'] })
|
|
23
29
|
.toPromise());
|
|
24
|
-
return data.posthogOrganizationConnection.
|
|
30
|
+
return data.posthogOrganizationConnection.startPostHogConnection;
|
|
25
31
|
},
|
|
26
32
|
async setupPostHogProjectAsync(graphqlClient, input) {
|
|
27
33
|
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|