eas-cli 18.10.0 → 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.
- package/README.md +107 -102
- package/build/build/runBuildAndSubmit.d.ts +3 -1
- package/build/build/runBuildAndSubmit.js +12 -4
- package/build/build/utils/repository.js +8 -0
- package/build/build/validateLockfile.d.ts +1 -0
- package/build/build/validateLockfile.js +37 -0
- package/build/commandUtils/buildFlags.d.ts +1 -0
- package/build/commandUtils/buildFlags.js +18 -0
- package/build/commandUtils/convex.d.ts +1 -0
- package/build/commandUtils/convex.js +8 -2
- package/build/commands/build/dev.d.ts +1 -0
- package/build/commands/build/dev.js +12 -2
- package/build/commands/build/run.d.ts +1 -0
- package/build/commands/build/run.js +12 -3
- package/build/commands/integrations/convex/connect.js +12 -4
- package/build/commands/integrations/convex/team/invite.js +6 -1
- package/build/commands/observe/events.js +12 -24
- package/build/commands/observe/logs.d.ts +29 -0
- package/build/commands/observe/logs.js +163 -0
- package/build/commands/observe/metrics.js +11 -19
- package/build/commands/observe/versions.js +11 -19
- package/build/commands/simulator/start.js +84 -5
- package/build/commands/simulator/stop.js +1 -1
- package/build/graphql/generated.d.ts +180 -6
- package/build/graphql/generated.js +16 -3
- package/build/graphql/mutations/DeviceRunSessionMutation.d.ts +2 -2
- package/build/graphql/mutations/DeviceRunSessionMutation.js +4 -4
- package/build/graphql/queries/ObserveQuery.d.ts +21 -1
- package/build/graphql/queries/ObserveQuery.js +80 -0
- package/build/graphql/types/ConvexTeamConnection.d.ts +1 -1
- package/build/graphql/types/ConvexTeamConnection.js +1 -0
- package/build/graphql/types/Observe.d.ts +1 -0
- package/build/graphql/types/Observe.js +26 -1
- package/build/observe/fetchCustomEvents.d.ts +19 -0
- package/build/observe/fetchCustomEvents.js +21 -0
- package/build/observe/formatCustomEvents.d.ts +70 -0
- package/build/observe/formatCustomEvents.js +140 -0
- package/build/observe/formatEvents.js +5 -34
- package/build/observe/formatMetrics.js +2 -7
- package/build/observe/formatUtils.d.ts +27 -0
- package/build/observe/formatUtils.js +64 -0
- package/build/observe/formatVersions.js +2 -9
- package/build/observe/platforms.d.ts +21 -0
- package/build/observe/platforms.js +48 -0
- package/build/observe/resolveProjectContext.d.ts +22 -0
- package/build/observe/resolveProjectContext.js +21 -0
- package/build/run/ios/run.d.ts +2 -1
- package/build/run/ios/run.js +6 -2
- package/build/run/ios/simulator.d.ts +4 -1
- package/build/run/ios/simulator.js +14 -2
- package/build/run/run.d.ts +2 -1
- package/build/run/run.js +2 -2
- package/oclif.manifest.json +955 -762
- package/package.json +2 -2
|
@@ -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']>;
|
|
@@ -3617,10 +3665,12 @@ export type ConvexProjectMutationSetupConvexProjectArgs = {
|
|
|
3617
3665
|
export type ConvexTeamConnection = {
|
|
3618
3666
|
__typename?: 'ConvexTeamConnection';
|
|
3619
3667
|
account: Account;
|
|
3668
|
+
convexProjects: Array<ConvexProject>;
|
|
3620
3669
|
convexTeamIdentifier: Scalars['String']['output'];
|
|
3621
3670
|
convexTeamName: Scalars['String']['output'];
|
|
3622
3671
|
convexTeamSlug: Scalars['String']['output'];
|
|
3623
3672
|
createdAt: Scalars['DateTime']['output'];
|
|
3673
|
+
hasBeenClaimed: Scalars['Boolean']['output'];
|
|
3624
3674
|
id: Scalars['ID']['output'];
|
|
3625
3675
|
invitedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3626
3676
|
invitedEmail?: Maybe<Scalars['String']['output']>;
|
|
@@ -4230,13 +4280,17 @@ export type DeviceRunSessionMutation = {
|
|
|
4230
4280
|
__typename?: 'DeviceRunSessionMutation';
|
|
4231
4281
|
/** Create a device run session */
|
|
4232
4282
|
createDeviceRunSession: DeviceRunSession;
|
|
4233
|
-
/**
|
|
4234
|
-
|
|
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;
|
|
4235
4289
|
};
|
|
4236
4290
|
export type DeviceRunSessionMutationCreateDeviceRunSessionArgs = {
|
|
4237
4291
|
deviceRunSessionInput: CreateDeviceRunSessionInput;
|
|
4238
4292
|
};
|
|
4239
|
-
export type
|
|
4293
|
+
export type DeviceRunSessionMutationEnsureDeviceRunSessionStoppedArgs = {
|
|
4240
4294
|
deviceRunSessionId: Scalars['ID']['input'];
|
|
4241
4295
|
};
|
|
4242
4296
|
export type DeviceRunSessionQuery = {
|
|
@@ -9283,6 +9337,7 @@ export declare enum WorkflowJobStatus {
|
|
|
9283
9337
|
}
|
|
9284
9338
|
export declare enum WorkflowJobType {
|
|
9285
9339
|
AppleDeviceRegistrationRequest = "APPLE_DEVICE_REGISTRATION_REQUEST",
|
|
9340
|
+
BranchDelete = "BRANCH_DELETE",
|
|
9286
9341
|
Build = "BUILD",
|
|
9287
9342
|
Custom = "CUSTOM",
|
|
9288
9343
|
Deploy = "DEPLOY",
|
|
@@ -13930,6 +13985,7 @@ export type CreateConvexTeamConnectionMutation = {
|
|
|
13930
13985
|
convexTeamIdentifier: string;
|
|
13931
13986
|
convexTeamName: string;
|
|
13932
13987
|
convexTeamSlug: string;
|
|
13988
|
+
hasBeenClaimed: boolean;
|
|
13933
13989
|
createdAt: any;
|
|
13934
13990
|
updatedAt: any;
|
|
13935
13991
|
invitedAt?: any | null;
|
|
@@ -13950,6 +14006,7 @@ export type DeleteConvexTeamConnectionMutation = {
|
|
|
13950
14006
|
convexTeamIdentifier: string;
|
|
13951
14007
|
convexTeamName: string;
|
|
13952
14008
|
convexTeamSlug: string;
|
|
14009
|
+
hasBeenClaimed: boolean;
|
|
13953
14010
|
createdAt: any;
|
|
13954
14011
|
updatedAt: any;
|
|
13955
14012
|
invitedAt?: any | null;
|
|
@@ -13983,6 +14040,7 @@ export type SetupConvexProjectMutation = {
|
|
|
13983
14040
|
convexTeamIdentifier: string;
|
|
13984
14041
|
convexTeamName: string;
|
|
13985
14042
|
convexTeamSlug: string;
|
|
14043
|
+
hasBeenClaimed: boolean;
|
|
13986
14044
|
createdAt: any;
|
|
13987
14045
|
updatedAt: any;
|
|
13988
14046
|
invitedAt?: any | null;
|
|
@@ -14040,14 +14098,14 @@ export type CreateDeviceRunSessionMutation = {
|
|
|
14040
14098
|
};
|
|
14041
14099
|
};
|
|
14042
14100
|
};
|
|
14043
|
-
export type
|
|
14101
|
+
export type EnsureDeviceRunSessionStoppedMutationVariables = Exact<{
|
|
14044
14102
|
deviceRunSessionId: Scalars['ID']['input'];
|
|
14045
14103
|
}>;
|
|
14046
|
-
export type
|
|
14104
|
+
export type EnsureDeviceRunSessionStoppedMutation = {
|
|
14047
14105
|
__typename?: 'RootMutation';
|
|
14048
14106
|
deviceRunSession: {
|
|
14049
14107
|
__typename?: 'DeviceRunSessionMutation';
|
|
14050
|
-
|
|
14108
|
+
ensureDeviceRunSessionStopped: {
|
|
14051
14109
|
__typename?: 'DeviceRunSession';
|
|
14052
14110
|
id: string;
|
|
14053
14111
|
status: DeviceRunSessionStatus;
|
|
@@ -16443,6 +16501,7 @@ export type ConvexTeamConnectionsByAccountIdQuery = {
|
|
|
16443
16501
|
convexTeamIdentifier: string;
|
|
16444
16502
|
convexTeamName: string;
|
|
16445
16503
|
convexTeamSlug: string;
|
|
16504
|
+
hasBeenClaimed: boolean;
|
|
16446
16505
|
createdAt: any;
|
|
16447
16506
|
updatedAt: any;
|
|
16448
16507
|
invitedAt?: any | null;
|
|
@@ -16475,6 +16534,7 @@ export type ConvexProjectByAppIdQuery = {
|
|
|
16475
16534
|
convexTeamIdentifier: string;
|
|
16476
16535
|
convexTeamName: string;
|
|
16477
16536
|
convexTeamSlug: string;
|
|
16537
|
+
hasBeenClaimed: boolean;
|
|
16478
16538
|
createdAt: any;
|
|
16479
16539
|
updatedAt: any;
|
|
16480
16540
|
invitedAt?: any | null;
|
|
@@ -16946,6 +17006,92 @@ export type AppObserveEventsQuery = {
|
|
|
16946
17006
|
};
|
|
16947
17007
|
};
|
|
16948
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
|
+
};
|
|
16949
17095
|
export type GetAssetMetadataQueryVariables = Exact<{
|
|
16950
17096
|
storageKeys: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
16951
17097
|
}>;
|
|
@@ -18756,6 +18902,7 @@ export type ConvexTeamConnectionFragment = {
|
|
|
18756
18902
|
convexTeamIdentifier: string;
|
|
18757
18903
|
convexTeamName: string;
|
|
18758
18904
|
convexTeamSlug: string;
|
|
18905
|
+
hasBeenClaimed: boolean;
|
|
18759
18906
|
createdAt: any;
|
|
18760
18907
|
updatedAt: any;
|
|
18761
18908
|
invitedAt?: any | null;
|
|
@@ -18775,6 +18922,7 @@ export type ConvexProjectFragment = {
|
|
|
18775
18922
|
convexTeamIdentifier: string;
|
|
18776
18923
|
convexTeamName: string;
|
|
18777
18924
|
convexTeamSlug: string;
|
|
18925
|
+
hasBeenClaimed: boolean;
|
|
18778
18926
|
createdAt: any;
|
|
18779
18927
|
updatedAt: any;
|
|
18780
18928
|
invitedAt?: any | null;
|
|
@@ -18800,6 +18948,7 @@ export type SetupConvexProjectResultFragment = {
|
|
|
18800
18948
|
convexTeamIdentifier: string;
|
|
18801
18949
|
convexTeamName: string;
|
|
18802
18950
|
convexTeamSlug: string;
|
|
18951
|
+
hasBeenClaimed: boolean;
|
|
18803
18952
|
createdAt: any;
|
|
18804
18953
|
updatedAt: any;
|
|
18805
18954
|
invitedAt?: any | null;
|
|
@@ -18930,6 +19079,31 @@ export type AppObserveTimeSeriesFragment = {
|
|
|
18930
19079
|
p99?: number | null;
|
|
18931
19080
|
};
|
|
18932
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
|
+
};
|
|
18933
19107
|
export type AppObserveEventFragment = {
|
|
18934
19108
|
__typename?: 'AppObserveEvent';
|
|
18935
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.
|
|
10
|
-
exports.
|
|
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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
-
import { CreateDeviceRunSessionInput, CreateDeviceRunSessionMutation,
|
|
2
|
+
import { CreateDeviceRunSessionInput, CreateDeviceRunSessionMutation, EnsureDeviceRunSessionStoppedMutation } from '../generated';
|
|
3
3
|
export declare const DeviceRunSessionMutation: {
|
|
4
4
|
createDeviceRunSessionAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionInput: CreateDeviceRunSessionInput): Promise<CreateDeviceRunSessionMutation["deviceRunSession"]["createDeviceRunSession"]>;
|
|
5
|
-
|
|
5
|
+
ensureDeviceRunSessionStoppedAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionId: string): Promise<EnsureDeviceRunSessionStoppedMutation["deviceRunSession"]["ensureDeviceRunSessionStopped"]>;
|
|
6
6
|
};
|
|
@@ -31,12 +31,12 @@ exports.DeviceRunSessionMutation = {
|
|
|
31
31
|
.toPromise());
|
|
32
32
|
return data.deviceRunSession.createDeviceRunSession;
|
|
33
33
|
},
|
|
34
|
-
async
|
|
34
|
+
async ensureDeviceRunSessionStoppedAsync(graphqlClient, deviceRunSessionId) {
|
|
35
35
|
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
36
36
|
.mutation((0, graphql_tag_1.default) `
|
|
37
|
-
mutation
|
|
37
|
+
mutation EnsureDeviceRunSessionStoppedMutation($deviceRunSessionId: ID!) {
|
|
38
38
|
deviceRunSession {
|
|
39
|
-
|
|
39
|
+
ensureDeviceRunSessionStopped(deviceRunSessionId: $deviceRunSessionId) {
|
|
40
40
|
id
|
|
41
41
|
status
|
|
42
42
|
}
|
|
@@ -44,6 +44,6 @@ exports.DeviceRunSessionMutation = {
|
|
|
44
44
|
}
|
|
45
45
|
`, { deviceRunSessionId }, { noRetry: true })
|
|
46
46
|
.toPromise());
|
|
47
|
-
return data.deviceRunSession.
|
|
47
|
+
return data.deviceRunSession.ensureDeviceRunSessionStopped;
|
|
48
48
|
},
|
|
49
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
-
import { AppObserveAppVersion, AppObserveEvent, AppObserveEventsFilter, AppObserveEventsOrderBy, AppObservePlatform, AppObserveTimeSeriesStatistics, PageInfo } from '../generated';
|
|
2
|
+
import { AppObserveAppVersion, AppObserveCustomEvent, AppObserveCustomEventListFilter, AppObserveCustomEventName, AppObserveEvent, AppObserveEventsFilter, AppObserveEventsOrderBy, AppObservePlatform, AppObserveTimeSeriesStatistics, PageInfo } from '../generated';
|
|
3
3
|
export type AppObserveTimeSeriesResult = {
|
|
4
4
|
appVersionMarkers: AppObserveAppVersion[];
|
|
5
5
|
eventCount: number;
|
|
@@ -12,6 +12,12 @@ type AppObserveEventsQueryVariables = {
|
|
|
12
12
|
after?: string;
|
|
13
13
|
orderBy?: AppObserveEventsOrderBy;
|
|
14
14
|
};
|
|
15
|
+
type AppObserveCustomEventListQueryVariables = {
|
|
16
|
+
appId: string;
|
|
17
|
+
filter?: AppObserveCustomEventListFilter;
|
|
18
|
+
first?: number;
|
|
19
|
+
after?: string;
|
|
20
|
+
};
|
|
15
21
|
export declare const ObserveQuery: {
|
|
16
22
|
timeSeriesAsync(graphqlClient: ExpoGraphqlClient, { appId, metricName, platform, startTime, endTime, }: {
|
|
17
23
|
appId: string;
|
|
@@ -31,5 +37,19 @@ export declare const ObserveQuery: {
|
|
|
31
37
|
events: AppObserveEvent[];
|
|
32
38
|
pageInfo: PageInfo;
|
|
33
39
|
}>;
|
|
40
|
+
customEventListAsync(graphqlClient: ExpoGraphqlClient, variables: AppObserveCustomEventListQueryVariables): Promise<{
|
|
41
|
+
events: AppObserveCustomEvent[];
|
|
42
|
+
pageInfo: PageInfo;
|
|
43
|
+
}>;
|
|
44
|
+
customEventNamesAsync(graphqlClient: ExpoGraphqlClient, { appId, startTime, endTime, platform, environment, }: {
|
|
45
|
+
appId: string;
|
|
46
|
+
startTime: string;
|
|
47
|
+
endTime: string;
|
|
48
|
+
platform?: AppObservePlatform;
|
|
49
|
+
environment?: string;
|
|
50
|
+
}): Promise<{
|
|
51
|
+
names: AppObserveCustomEventName[];
|
|
52
|
+
isTruncated: boolean;
|
|
53
|
+
}>;
|
|
34
54
|
};
|
|
35
55
|
export {};
|
|
@@ -106,4 +106,84 @@ exports.ObserveQuery = {
|
|
|
106
106
|
pageInfo,
|
|
107
107
|
};
|
|
108
108
|
},
|
|
109
|
+
async customEventListAsync(graphqlClient, variables) {
|
|
110
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
111
|
+
.query((0, graphql_tag_1.default) `
|
|
112
|
+
query AppObserveCustomEventList(
|
|
113
|
+
$appId: String!
|
|
114
|
+
$filter: AppObserveCustomEventListFilter
|
|
115
|
+
$first: Int
|
|
116
|
+
$after: String
|
|
117
|
+
) {
|
|
118
|
+
app {
|
|
119
|
+
byId(appId: $appId) {
|
|
120
|
+
id
|
|
121
|
+
observe {
|
|
122
|
+
customEventList(filter: $filter, first: $first, after: $after) {
|
|
123
|
+
pageInfo {
|
|
124
|
+
hasNextPage
|
|
125
|
+
hasPreviousPage
|
|
126
|
+
endCursor
|
|
127
|
+
}
|
|
128
|
+
edges {
|
|
129
|
+
cursor
|
|
130
|
+
node {
|
|
131
|
+
id
|
|
132
|
+
...AppObserveCustomEventFragment
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
${(0, graphql_1.print)(Observe_1.AppObserveCustomEventFragmentNode)}
|
|
141
|
+
`, variables)
|
|
142
|
+
.toPromise());
|
|
143
|
+
const { edges, pageInfo } = data.app.byId.observe.customEventList;
|
|
144
|
+
return {
|
|
145
|
+
events: edges.map(edge => edge.node),
|
|
146
|
+
pageInfo,
|
|
147
|
+
};
|
|
148
|
+
},
|
|
149
|
+
async customEventNamesAsync(graphqlClient, { appId, startTime, endTime, platform, environment, }) {
|
|
150
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
151
|
+
.query((0, graphql_tag_1.default) `
|
|
152
|
+
query AppObserveCustomEventNames(
|
|
153
|
+
$appId: String!
|
|
154
|
+
$startTime: DateTime!
|
|
155
|
+
$endTime: DateTime!
|
|
156
|
+
$platform: AppObservePlatform
|
|
157
|
+
$environment: String
|
|
158
|
+
) {
|
|
159
|
+
app {
|
|
160
|
+
byId(appId: $appId) {
|
|
161
|
+
id
|
|
162
|
+
observe {
|
|
163
|
+
customEventNames(
|
|
164
|
+
startTime: $startTime
|
|
165
|
+
endTime: $endTime
|
|
166
|
+
platform: $platform
|
|
167
|
+
environment: $environment
|
|
168
|
+
) {
|
|
169
|
+
isTruncated
|
|
170
|
+
names {
|
|
171
|
+
eventName
|
|
172
|
+
count
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
`, {
|
|
180
|
+
appId,
|
|
181
|
+
startTime,
|
|
182
|
+
endTime,
|
|
183
|
+
...(platform && { platform }),
|
|
184
|
+
...(environment && { environment }),
|
|
185
|
+
})
|
|
186
|
+
.toPromise());
|
|
187
|
+
return data.app.byId.observe.customEventNames;
|
|
188
|
+
},
|
|
109
189
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConvexProject, ConvexTeamConnection, SetupConvexProjectResult } from '../generated';
|
|
2
|
-
export type ConvexTeamConnectionData = Pick<ConvexTeamConnection, 'id' | 'convexTeamIdentifier' | 'convexTeamName' | 'convexTeamSlug' | 'createdAt' | 'updatedAt' | 'invitedAt' | 'invitedEmail'>;
|
|
2
|
+
export type ConvexTeamConnectionData = Pick<ConvexTeamConnection, 'id' | 'convexTeamIdentifier' | 'convexTeamName' | 'convexTeamSlug' | 'hasBeenClaimed' | 'createdAt' | 'updatedAt' | 'invitedAt' | 'invitedEmail'>;
|
|
3
3
|
export type ConvexProjectData = Pick<ConvexProject, 'id' | 'convexProjectIdentifier' | 'convexProjectName' | 'convexProjectSlug' | 'createdAt' | 'updatedAt'> & {
|
|
4
4
|
convexTeamConnection: ConvexTeamConnectionData;
|
|
5
5
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const AppObserveTimeSeriesFragmentNode: import("graphql").DocumentNode;
|
|
2
|
+
export declare const AppObserveCustomEventFragmentNode: import("graphql").DocumentNode;
|
|
2
3
|
export declare const AppObserveEventFragmentNode: import("graphql").DocumentNode;
|
|
3
4
|
export declare const AppObserveAppVersionFragmentNode: import("graphql").DocumentNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppObserveAppVersionFragmentNode = exports.AppObserveEventFragmentNode = exports.AppObserveTimeSeriesFragmentNode = void 0;
|
|
3
|
+
exports.AppObserveAppVersionFragmentNode = exports.AppObserveEventFragmentNode = exports.AppObserveCustomEventFragmentNode = exports.AppObserveTimeSeriesFragmentNode = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
6
|
exports.AppObserveTimeSeriesFragmentNode = (0, graphql_tag_1.default) `
|
|
@@ -20,6 +20,31 @@ exports.AppObserveTimeSeriesFragmentNode = (0, graphql_tag_1.default) `
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
`;
|
|
23
|
+
exports.AppObserveCustomEventFragmentNode = (0, graphql_tag_1.default) `
|
|
24
|
+
fragment AppObserveCustomEventFragment on AppObserveCustomEvent {
|
|
25
|
+
id
|
|
26
|
+
eventName
|
|
27
|
+
timestamp
|
|
28
|
+
sessionId
|
|
29
|
+
severityNumber
|
|
30
|
+
severityText
|
|
31
|
+
properties {
|
|
32
|
+
key
|
|
33
|
+
value
|
|
34
|
+
type
|
|
35
|
+
}
|
|
36
|
+
appVersion
|
|
37
|
+
appBuildNumber
|
|
38
|
+
appUpdateId
|
|
39
|
+
appEasBuildId
|
|
40
|
+
deviceOs
|
|
41
|
+
deviceOsVersion
|
|
42
|
+
deviceModel
|
|
43
|
+
environment
|
|
44
|
+
easClientId
|
|
45
|
+
countryCode
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
23
48
|
exports.AppObserveEventFragmentNode = (0, graphql_tag_1.default) `
|
|
24
49
|
fragment AppObserveEventFragment on AppObserveEvent {
|
|
25
50
|
id
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { AppObserveCustomEvent, AppObservePlatform, PageInfo } from '../graphql/generated';
|
|
3
|
+
interface FetchCustomEventsOptions {
|
|
4
|
+
eventName?: string;
|
|
5
|
+
limit: number;
|
|
6
|
+
after?: string;
|
|
7
|
+
startTime: string;
|
|
8
|
+
endTime: string;
|
|
9
|
+
platform?: AppObservePlatform;
|
|
10
|
+
appVersion?: string;
|
|
11
|
+
updateId?: string;
|
|
12
|
+
sessionId?: string;
|
|
13
|
+
}
|
|
14
|
+
interface FetchCustomEventsResult {
|
|
15
|
+
events: AppObserveCustomEvent[];
|
|
16
|
+
pageInfo: PageInfo;
|
|
17
|
+
}
|
|
18
|
+
export declare function fetchObserveCustomEventsAsync(graphqlClient: ExpoGraphqlClient, appId: string, options: FetchCustomEventsOptions): Promise<FetchCustomEventsResult>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchObserveCustomEventsAsync = fetchObserveCustomEventsAsync;
|
|
4
|
+
const ObserveQuery_1 = require("../graphql/queries/ObserveQuery");
|
|
5
|
+
async function fetchObserveCustomEventsAsync(graphqlClient, appId, options) {
|
|
6
|
+
const filter = {
|
|
7
|
+
startTime: options.startTime,
|
|
8
|
+
endTime: options.endTime,
|
|
9
|
+
...(options.eventName && { eventName: options.eventName }),
|
|
10
|
+
...(options.platform && { platform: options.platform }),
|
|
11
|
+
...(options.appVersion && { appVersion: options.appVersion }),
|
|
12
|
+
...(options.updateId && { appUpdateId: options.updateId }),
|
|
13
|
+
...(options.sessionId && { sessionId: options.sessionId }),
|
|
14
|
+
};
|
|
15
|
+
return await ObserveQuery_1.ObserveQuery.customEventListAsync(graphqlClient, {
|
|
16
|
+
appId,
|
|
17
|
+
filter,
|
|
18
|
+
first: options.limit,
|
|
19
|
+
...(options.after && { after: options.after }),
|
|
20
|
+
});
|
|
21
|
+
}
|