eas-cli 26.0.0 → 27.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +293 -148
- package/build/analytics/AnalyticsManager.d.ts +2 -0
- package/build/analytics/AnalyticsManager.js +2 -0
- package/build/build/build.d.ts +1 -2
- package/build/build/build.js +9 -4
- package/build/build/errors.d.ts +2 -0
- package/build/build/errors.js +4 -1
- package/build/build/evaluateConfigWithEnvVarsAsync.js +1 -3
- package/build/build/freeTierNearLimitAgentUpdatesTip.d.ts +98 -0
- package/build/build/freeTierNearLimitAgentUpdatesTip.js +205 -0
- package/build/build/runBuildAndSubmit.d.ts +2 -0
- package/build/build/runBuildAndSubmit.js +3 -0
- package/build/build/simulatorsLaunchHint.d.ts +7 -0
- package/build/build/simulatorsLaunchHint.js +40 -0
- package/build/build/utils/expoTokenRole.d.ts +4 -0
- package/build/build/utils/expoTokenRole.js +14 -0
- package/build/commandUtils/EasCommand.js +3 -3
- package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +2 -1
- package/build/commandUtils/workflow/referencedFiles.d.ts +6 -0
- package/build/commandUtils/workflow/referencedFiles.js +63 -0
- package/build/commandUtils/workflow/types.d.ts +1 -1
- package/build/commandUtils/workflow/utils.js +34 -5
- package/build/commands/account/login.js +6 -0
- package/build/commands/account/view.d.ts +0 -7
- package/build/commands/account/view.js +4 -74
- package/build/commands/build/index.js +8 -1
- package/build/commands/observe/session.js +4 -3
- package/build/commands/observe/trace.d.ts +17 -0
- package/build/commands/observe/trace.js +58 -0
- package/build/commands/observe/traces.d.ts +33 -0
- package/build/commands/observe/traces.js +159 -0
- package/build/commands/simulator/control.js +41 -6
- package/build/commands/simulator/logs.d.ts +22 -0
- package/build/commands/simulator/logs.js +188 -0
- package/build/commands/workflow/cancel.js +9 -20
- package/build/commands/workflow/run.js +9 -0
- package/build/commands/workflow/runs.js +1 -1
- package/build/graphql/generated.d.ts +698 -5
- package/build/graphql/generated.js +25 -4
- package/build/graphql/mutations/UserPreferenceMutation.d.ts +5 -0
- package/build/graphql/mutations/UserPreferenceMutation.js +24 -0
- package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +3 -2
- package/build/graphql/mutations/WorkflowRevisionMutation.js +12 -3
- package/build/graphql/queries/AccountQuery.d.ts +3 -1
- package/build/graphql/queries/AccountQuery.js +54 -0
- package/build/graphql/queries/ObserveQuery.d.ts +24 -1
- package/build/graphql/queries/ObserveQuery.js +114 -1
- package/build/graphql/queries/UserPreferenceQuery.d.ts +8 -0
- package/build/graphql/queries/UserPreferenceQuery.js +28 -0
- package/build/graphql/queries/WorkflowRunQuery.js +6 -0
- package/build/graphql/types/Observe.d.ts +1 -0
- package/build/graphql/types/Observe.js +53 -1
- package/build/graphql/types/WorkflowRun.js +1 -0
- package/build/help.js +13 -6
- package/build/log.d.ts +2 -0
- package/build/log.js +10 -0
- package/build/observe/fetchSessions.d.ts +12 -1
- package/build/observe/fetchSessions.js +39 -2
- package/build/observe/fetchSpans.d.ts +27 -0
- package/build/observe/fetchSpans.js +36 -0
- package/build/observe/formatSessions.d.ts +3 -1
- package/build/observe/formatSessions.js +40 -3
- package/build/observe/formatSpans.d.ts +110 -0
- package/build/observe/formatSpans.js +250 -0
- package/build/observe/spanFilters.d.ts +5 -0
- package/build/observe/spanFilters.js +32 -0
- package/build/project/projectStatus.js +1 -0
- package/build/simulator/artifacts.d.ts +9 -0
- package/build/simulator/artifacts.js +97 -0
- package/build/simulator/download.d.ts +2 -0
- package/build/simulator/download.js +57 -0
- package/build/simulator/events.js +2 -10
- package/build/simulator/preview.d.ts +26 -0
- package/build/simulator/preview.js +156 -0
- package/build/simulator/utils.d.ts +5 -0
- package/build/simulator/utils.js +42 -0
- package/build/user/accountPermissions.d.ts +11 -0
- package/build/user/accountPermissions.js +89 -0
- package/oclif.manifest.json +920 -422
- package/package.json +6 -6
- package/build/build/freeTierLimitGuidance.d.ts +0 -19
- package/build/build/freeTierLimitGuidance.js +0 -39
|
@@ -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 = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = 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 = void 0;
|
|
9
|
+
exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectWorkflowConnectionStatus = exports.AppStoreConnectUserRole = exports.AppStoreConnectBuildUploadState = exports.AppStoreConnectBuildProcessingState = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUserEventNamesOrderByField = exports.AppObserveUserEventListOrderByField = exports.AppObserveUserEventBreakdownDimension = exports.AppObserveUpdatesOrderByField = exports.AppObserveSpanStatusCode = exports.AppObserveSpanListOrderByField = exports.AppObserveSpanKind = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveOrderDirection = exports.AppObserveNavigationRoutesOrderByField = exports.AppObserveMetricsListOrderByField = exports.AppObserveLogsOrderByField = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveErrorSeverity = exports.AppObserveErrorOccurrencesOrderByField = exports.AppObserveErrorKind = exports.AppObserveErrorGroupsOrderBy = exports.AppObserveErrorBreakdownDimension = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppObserveCustomEventListOrderByField = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.AgentProviderConnectionStatus = exports.AgentProviderConnectionAuthorizationStatus = exports.AgentProvider = exports.AgentKind = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = exports.AccessTokenScopeType = void 0;
|
|
10
|
+
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.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DeviceRunSessionResourceClass = exports.DeviceRunSessionRequestOrigin = exports.DeviceRunSessionEgress = 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 = void 0;
|
|
11
|
+
exports.UpdateDiffReceiptOrderByDirection = exports.TurtleSshTransportType = exports.TurtleSshTargetType = exports.TargetEntityMutationType = exports.SupabaseAdvisorType = exports.SupabaseAdvisorLintLevel = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SourceMapSourceType = exports.SecondFactorMethod = exports.SandboxStatus = exports.SandboxResourceClass = exports.SandboxOperatingSystem = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.RealtimeLogsTargetType = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.PostHogDeepLinkPurpose = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.JobExpoTokenRole = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = void 0;
|
|
12
|
+
exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = 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 = void 0;
|
|
13
13
|
var AccessTokenScopeType;
|
|
14
14
|
(function (AccessTokenScopeType) {
|
|
15
15
|
/** One account, named by accountID, narrowed to the scope's permissions. */
|
|
@@ -49,6 +49,7 @@ var AccountUploadSessionType;
|
|
|
49
49
|
var ActivityTimelineProjectActivityType;
|
|
50
50
|
(function (ActivityTimelineProjectActivityType) {
|
|
51
51
|
ActivityTimelineProjectActivityType["Build"] = "BUILD";
|
|
52
|
+
ActivityTimelineProjectActivityType["DeviceRunSession"] = "DEVICE_RUN_SESSION";
|
|
52
53
|
ActivityTimelineProjectActivityType["Submission"] = "SUBMISSION";
|
|
53
54
|
ActivityTimelineProjectActivityType["Update"] = "UPDATE";
|
|
54
55
|
ActivityTimelineProjectActivityType["Worker"] = "WORKER";
|
|
@@ -193,6 +194,25 @@ var AppObservePropertyType;
|
|
|
193
194
|
AppObservePropertyType["Number"] = "NUMBER";
|
|
194
195
|
AppObservePropertyType["String"] = "STRING";
|
|
195
196
|
})(AppObservePropertyType || (exports.AppObservePropertyType = AppObservePropertyType = {}));
|
|
197
|
+
var AppObserveSpanKind;
|
|
198
|
+
(function (AppObserveSpanKind) {
|
|
199
|
+
AppObserveSpanKind["Client"] = "CLIENT";
|
|
200
|
+
AppObserveSpanKind["Consumer"] = "CONSUMER";
|
|
201
|
+
AppObserveSpanKind["Internal"] = "INTERNAL";
|
|
202
|
+
AppObserveSpanKind["Producer"] = "PRODUCER";
|
|
203
|
+
AppObserveSpanKind["Server"] = "SERVER";
|
|
204
|
+
AppObserveSpanKind["Unspecified"] = "UNSPECIFIED";
|
|
205
|
+
})(AppObserveSpanKind || (exports.AppObserveSpanKind = AppObserveSpanKind = {}));
|
|
206
|
+
var AppObserveSpanListOrderByField;
|
|
207
|
+
(function (AppObserveSpanListOrderByField) {
|
|
208
|
+
AppObserveSpanListOrderByField["StartTimestamp"] = "START_TIMESTAMP";
|
|
209
|
+
})(AppObserveSpanListOrderByField || (exports.AppObserveSpanListOrderByField = AppObserveSpanListOrderByField = {}));
|
|
210
|
+
var AppObserveSpanStatusCode;
|
|
211
|
+
(function (AppObserveSpanStatusCode) {
|
|
212
|
+
AppObserveSpanStatusCode["Error"] = "ERROR";
|
|
213
|
+
AppObserveSpanStatusCode["Ok"] = "OK";
|
|
214
|
+
AppObserveSpanStatusCode["Unset"] = "UNSET";
|
|
215
|
+
})(AppObserveSpanStatusCode || (exports.AppObserveSpanStatusCode = AppObserveSpanStatusCode = {}));
|
|
196
216
|
var AppObserveUpdatesOrderByField;
|
|
197
217
|
(function (AppObserveUpdatesOrderByField) {
|
|
198
218
|
AppObserveUpdatesOrderByField["DownloadCount"] = "DOWNLOAD_COUNT";
|
|
@@ -1321,6 +1341,7 @@ var WorkflowJobType;
|
|
|
1321
1341
|
WorkflowJobType["Custom"] = "CUSTOM";
|
|
1322
1342
|
WorkflowJobType["Deploy"] = "DEPLOY";
|
|
1323
1343
|
WorkflowJobType["Doc"] = "DOC";
|
|
1344
|
+
WorkflowJobType["Email"] = "EMAIL";
|
|
1324
1345
|
WorkflowJobType["Fingerprint"] = "FINGERPRINT";
|
|
1325
1346
|
WorkflowJobType["GetBuild"] = "GET_BUILD";
|
|
1326
1347
|
WorkflowJobType["GithubComment"] = "GITHUB_COMMENT";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
export declare const UserPreferenceMutation: {
|
|
3
|
+
/** Stores the JSON value under the key for the current user. Rejects for robot viewers. */
|
|
4
|
+
setAsync(graphqlClient: ExpoGraphqlClient, key: string, value: unknown): Promise<void>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserPreferenceMutation = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
|
+
const client_1 = require("../client");
|
|
7
|
+
exports.UserPreferenceMutation = {
|
|
8
|
+
/** Stores the JSON value under the key for the current user. Rejects for robot viewers. */
|
|
9
|
+
async setAsync(graphqlClient, key, value) {
|
|
10
|
+
await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
11
|
+
.mutation((0, graphql_tag_1.default) `
|
|
12
|
+
mutation SetUserPreference($key: String!, $value: JSON!) {
|
|
13
|
+
userPreference {
|
|
14
|
+
set(key: $key, value: $value) {
|
|
15
|
+
id
|
|
16
|
+
key
|
|
17
|
+
value
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`, { key, value }, { additionalTypenames: ['UserPreference'], noRetry: true })
|
|
22
|
+
.toPromise());
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
3
|
-
import { WorkflowRevision } from '../generated';
|
|
3
|
+
import { WorkflowReferencedFileInput, WorkflowRevision } from '../generated';
|
|
4
4
|
export declare namespace WorkflowRevisionMutation {
|
|
5
5
|
const ValidationErrorExtensionZ: z.ZodObject<{
|
|
6
6
|
errorCode: z.ZodLiteral<"VALIDATION_ERROR">;
|
|
@@ -14,8 +14,9 @@ export declare namespace WorkflowRevisionMutation {
|
|
|
14
14
|
fileName: string;
|
|
15
15
|
gitRef: string;
|
|
16
16
|
}): Promise<WorkflowRevision | undefined>;
|
|
17
|
-
function validateWorkflowYamlConfigAsync(graphqlClient: ExpoGraphqlClient, { appId, yamlConfig, }: {
|
|
17
|
+
function validateWorkflowYamlConfigAsync(graphqlClient: ExpoGraphqlClient, { appId, yamlConfig, referencedFiles, }: {
|
|
18
18
|
appId: string;
|
|
19
19
|
yamlConfig: string;
|
|
20
|
+
referencedFiles?: WorkflowReferencedFileInput[];
|
|
20
21
|
}): Promise<void>;
|
|
21
22
|
}
|
|
@@ -41,17 +41,26 @@ var WorkflowRevisionMutation;
|
|
|
41
41
|
undefined);
|
|
42
42
|
}
|
|
43
43
|
WorkflowRevisionMutation.getOrCreateWorkflowRevisionFromGitRefAsync = getOrCreateWorkflowRevisionFromGitRefAsync;
|
|
44
|
-
async function validateWorkflowYamlConfigAsync(graphqlClient, { appId, yamlConfig, }) {
|
|
44
|
+
async function validateWorkflowYamlConfigAsync(graphqlClient, { appId, yamlConfig, referencedFiles, }) {
|
|
45
45
|
await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
46
46
|
.mutation((0, graphql_tag_1.default) `
|
|
47
|
-
mutation ValidateWorkflowYamlConfig(
|
|
47
|
+
mutation ValidateWorkflowYamlConfig(
|
|
48
|
+
$appId: ID!
|
|
49
|
+
$yamlConfig: String!
|
|
50
|
+
$referencedFiles: [WorkflowReferencedFileInput!]
|
|
51
|
+
) {
|
|
48
52
|
workflowRevision {
|
|
49
|
-
validateWorkflowYamlConfig(
|
|
53
|
+
validateWorkflowYamlConfig(
|
|
54
|
+
appId: $appId
|
|
55
|
+
yamlConfig: $yamlConfig
|
|
56
|
+
referencedFiles: $referencedFiles
|
|
57
|
+
)
|
|
50
58
|
}
|
|
51
59
|
}
|
|
52
60
|
`, {
|
|
53
61
|
appId,
|
|
54
62
|
yamlConfig,
|
|
63
|
+
referencedFiles,
|
|
55
64
|
})
|
|
56
65
|
.toPromise());
|
|
57
66
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
-
import { AccountByNameQuery as AccountByNameQueryType, AccountFullUsageQuery as AccountFullUsageQueryType, AccountSubscriptionQuery as AccountSubscriptionQueryType, AccountUsageForOverageWarningQuery } from '../generated';
|
|
2
|
+
import { AccountByNameQuery as AccountByNameQueryType, AccountFreeTierBuildUsageQuery, AccountFullUsageQuery as AccountFullUsageQueryType, AccountSubscriptionQuery as AccountSubscriptionQueryType, AccountUsageForOverageWarningQuery } from '../generated';
|
|
3
3
|
export type AccountFullUsageData = NonNullable<AccountFullUsageQueryType['account']['byId']>;
|
|
4
|
+
export type AccountFreeTierBuildUsageData = NonNullable<AccountFreeTierBuildUsageQuery['account']['byId']>;
|
|
4
5
|
export type AccountSubscriptionInfo = NonNullable<NonNullable<AccountSubscriptionQueryType['account']['byId']>['subscription']>;
|
|
5
6
|
export declare const AccountQuery: {
|
|
6
7
|
getByNameAsync(graphqlClient: ExpoGraphqlClient, accountName: string): Promise<AccountByNameQueryType["account"]["byName"] | null>;
|
|
7
8
|
getFullUsageAsync(graphqlClient: ExpoGraphqlClient, accountId: string, currentDate: Date, startDate: Date, endDate: Date): Promise<AccountFullUsageData>;
|
|
9
|
+
getFreeTierBuildUsageAsync(graphqlClient: ExpoGraphqlClient, accountId: string, currentDate: Date): Promise<AccountFreeTierBuildUsageData>;
|
|
8
10
|
getUsageForOverageWarningAsync(graphqlClient: ExpoGraphqlClient, accountId: string, currentDate: Date): Promise<AccountUsageForOverageWarningQuery["account"]["byId"]>;
|
|
9
11
|
getBillingPeriodAsync(graphqlClient: ExpoGraphqlClient, accountId: string, currentDate: Date): Promise<{
|
|
10
12
|
start: Date;
|
|
@@ -163,6 +163,60 @@ exports.AccountQuery = {
|
|
|
163
163
|
}
|
|
164
164
|
return data.account.byId;
|
|
165
165
|
},
|
|
166
|
+
async getFreeTierBuildUsageAsync(graphqlClient, accountId, currentDate) {
|
|
167
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
168
|
+
.query((0, graphql_tag_1.default) `
|
|
169
|
+
query AccountFreeTierBuildUsage($accountId: String!, $currentDate: DateTime!) {
|
|
170
|
+
account {
|
|
171
|
+
byId(accountId: $accountId) {
|
|
172
|
+
id
|
|
173
|
+
subscription {
|
|
174
|
+
id
|
|
175
|
+
name
|
|
176
|
+
}
|
|
177
|
+
billingPeriod(date: $currentDate) {
|
|
178
|
+
id
|
|
179
|
+
start
|
|
180
|
+
end
|
|
181
|
+
}
|
|
182
|
+
usageMetrics {
|
|
183
|
+
EAS_BUILD: byBillingPeriod(date: $currentDate, service: BUILDS) {
|
|
184
|
+
id
|
|
185
|
+
planMetrics {
|
|
186
|
+
id
|
|
187
|
+
serviceMetric
|
|
188
|
+
metricType
|
|
189
|
+
value
|
|
190
|
+
limit
|
|
191
|
+
platformBreakdown {
|
|
192
|
+
ios {
|
|
193
|
+
value
|
|
194
|
+
limit
|
|
195
|
+
}
|
|
196
|
+
android {
|
|
197
|
+
value
|
|
198
|
+
limit
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
`, { accountId, currentDate: currentDate.toISOString() }, {
|
|
208
|
+
additionalTypenames: [
|
|
209
|
+
'Account',
|
|
210
|
+
'AccountUsageMetrics',
|
|
211
|
+
'UsageMetricTotal',
|
|
212
|
+
'BillingPeriod',
|
|
213
|
+
'EstimatedUsage',
|
|
214
|
+
],
|
|
215
|
+
noRetry: true,
|
|
216
|
+
})
|
|
217
|
+
.toPromise());
|
|
218
|
+
return data.account.byId;
|
|
219
|
+
},
|
|
166
220
|
async getUsageForOverageWarningAsync(graphqlClient, accountId, currentDate) {
|
|
167
221
|
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
168
222
|
.query((0, graphql_tag_1.default) `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
-
import { AppObserveAppVersion, AppObserveError, AppObserveErrorGroup, AppObserveErrorOccurrencesFilter, AppObserveErrorOccurrencesOrderBy, AppObserveErrorsGroupsInput, AppObserveLogsOrderBy, AppObserveMetric, AppObserveMetricsListFilter, AppObserveMetricsListOrderBy, AppObserveNavigationFilter, AppObserveNavigationOrderBy, AppObserveNavigationRoute, AppObservePlatform, AppObserveUserEvent, AppObserveUserEventListFilter, AppObserveUserEventListOrderBy, AppObserveUserEventName, PageInfo } from '../generated';
|
|
2
|
+
import { AppObserveAppVersion, AppObserveError, AppObserveErrorGroup, AppObserveErrorOccurrencesFilter, AppObserveErrorOccurrencesOrderBy, AppObserveErrorsGroupsInput, AppObserveLogsOrderBy, AppObserveMetric, AppObserveMetricsListFilter, AppObserveMetricsListOrderBy, AppObserveNavigationFilter, AppObserveNavigationOrderBy, AppObserveNavigationRoute, AppObservePlatform, AppObserveSpan, AppObserveSpanListFilter, AppObserveSpanListOrderBy, AppObserveSpanName, AppObserveSpanNamesInput, AppObserveTrace, AppObserveUserEvent, AppObserveUserEventListFilter, AppObserveUserEventListOrderBy, AppObserveUserEventName, PageInfo } from '../generated';
|
|
3
3
|
/** A `session.logs` node is a user event or an error (the `AppObserveLog` interface). */
|
|
4
4
|
export type AppObserveSessionLog = ({
|
|
5
5
|
__typename: 'AppObserveUserEvent';
|
|
@@ -40,6 +40,18 @@ type AppObserveSessionEventsQueryVariables = {
|
|
|
40
40
|
first?: number;
|
|
41
41
|
metricsOrderBy?: AppObserveMetricsListOrderBy;
|
|
42
42
|
logsOrderBy?: AppObserveLogsOrderBy;
|
|
43
|
+
spansOrderBy?: AppObserveSpanListOrderBy;
|
|
44
|
+
};
|
|
45
|
+
type AppObserveSpanListQueryVariables = {
|
|
46
|
+
appId: string;
|
|
47
|
+
filter: AppObserveSpanListFilter;
|
|
48
|
+
first?: number;
|
|
49
|
+
after?: string;
|
|
50
|
+
orderBy?: AppObserveSpanListOrderBy;
|
|
51
|
+
};
|
|
52
|
+
type AppObserveSpanNamesQueryVariables = {
|
|
53
|
+
appId: string;
|
|
54
|
+
input: AppObserveSpanNamesInput;
|
|
43
55
|
};
|
|
44
56
|
type AppObserveByIdQueryVariables = {
|
|
45
57
|
appId: string;
|
|
@@ -90,9 +102,20 @@ export declare const ObserveQuery: {
|
|
|
90
102
|
sessionEventsAsync(graphqlClient: ExpoGraphqlClient, variables: AppObserveSessionEventsQueryVariables): Promise<{
|
|
91
103
|
metrics: AppObserveMetric[];
|
|
92
104
|
logs: AppObserveSessionLog[];
|
|
105
|
+
spans: AppObserveSpan[];
|
|
93
106
|
metricsPageInfo: PageInfo;
|
|
94
107
|
logsPageInfo: PageInfo;
|
|
108
|
+
spansPageInfo: PageInfo;
|
|
109
|
+
}>;
|
|
110
|
+
spanListAsync(graphqlClient: ExpoGraphqlClient, variables: AppObserveSpanListQueryVariables): Promise<{
|
|
111
|
+
spans: AppObserveSpan[];
|
|
112
|
+
pageInfo: PageInfo;
|
|
113
|
+
}>;
|
|
114
|
+
spanNamesAsync(graphqlClient: ExpoGraphqlClient, variables: AppObserveSpanNamesQueryVariables): Promise<{
|
|
115
|
+
names: AppObserveSpanName[];
|
|
116
|
+
isTruncated: boolean;
|
|
95
117
|
}>;
|
|
118
|
+
traceByIdAsync(graphqlClient: ExpoGraphqlClient, { appId, id }: AppObserveByIdQueryVariables): Promise<AppObserveTrace | null>;
|
|
96
119
|
metricByIdAsync(graphqlClient: ExpoGraphqlClient, { appId, id }: AppObserveByIdQueryVariables): Promise<AppObserveMetric | null>;
|
|
97
120
|
logByIdAsync(graphqlClient: ExpoGraphqlClient, { appId, id }: AppObserveByIdQueryVariables): Promise<AppObserveSessionLog | null>;
|
|
98
121
|
};
|
|
@@ -293,6 +293,7 @@ exports.ObserveQuery = {
|
|
|
293
293
|
$first: Int
|
|
294
294
|
$metricsOrderBy: AppObserveMetricsListOrderBy
|
|
295
295
|
$logsOrderBy: AppObserveLogsOrderBy
|
|
296
|
+
$spansOrderBy: AppObserveSpanListOrderBy
|
|
296
297
|
) {
|
|
297
298
|
app {
|
|
298
299
|
byId(appId: $appId) {
|
|
@@ -332,6 +333,19 @@ exports.ObserveQuery = {
|
|
|
332
333
|
}
|
|
333
334
|
}
|
|
334
335
|
}
|
|
336
|
+
spans(first: $first, orderBy: $spansOrderBy) {
|
|
337
|
+
pageInfo {
|
|
338
|
+
hasNextPage
|
|
339
|
+
hasPreviousPage
|
|
340
|
+
endCursor
|
|
341
|
+
}
|
|
342
|
+
edges {
|
|
343
|
+
node {
|
|
344
|
+
id
|
|
345
|
+
...AppObserveSpanFragment
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
335
349
|
}
|
|
336
350
|
}
|
|
337
351
|
}
|
|
@@ -340,16 +354,115 @@ exports.ObserveQuery = {
|
|
|
340
354
|
${(0, graphql_1.print)(Observe_1.AppObserveMetricFragmentNode)}
|
|
341
355
|
${(0, graphql_1.print)(Observe_1.AppObserveUserEventFragmentNode)}
|
|
342
356
|
${(0, graphql_1.print)(Observe_1.AppObserveErrorFragmentNode)}
|
|
357
|
+
${(0, graphql_1.print)(Observe_1.AppObserveSpanFragmentNode)}
|
|
343
358
|
`, variables)
|
|
344
359
|
.toPromise());
|
|
345
|
-
const { metrics, logs } = data.app.byId.observe.session;
|
|
360
|
+
const { metrics, logs, spans } = data.app.byId.observe.session;
|
|
346
361
|
return {
|
|
347
362
|
metrics: metrics.edges.map(edge => edge.node),
|
|
348
363
|
logs: logs.edges.map(edge => edge.node),
|
|
364
|
+
spans: spans.edges.map(edge => edge.node),
|
|
349
365
|
metricsPageInfo: metrics.pageInfo,
|
|
350
366
|
logsPageInfo: logs.pageInfo,
|
|
367
|
+
spansPageInfo: spans.pageInfo,
|
|
351
368
|
};
|
|
352
369
|
},
|
|
370
|
+
async spanListAsync(graphqlClient, variables) {
|
|
371
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
372
|
+
.query((0, graphql_tag_1.default) `
|
|
373
|
+
query AppObserveSpanList(
|
|
374
|
+
$appId: String!
|
|
375
|
+
$filter: AppObserveSpanListFilter!
|
|
376
|
+
$first: Int
|
|
377
|
+
$after: String
|
|
378
|
+
$orderBy: AppObserveSpanListOrderBy
|
|
379
|
+
) {
|
|
380
|
+
app {
|
|
381
|
+
byId(appId: $appId) {
|
|
382
|
+
id
|
|
383
|
+
observe {
|
|
384
|
+
traces {
|
|
385
|
+
spans(filter: $filter, first: $first, after: $after, orderBy: $orderBy) {
|
|
386
|
+
pageInfo {
|
|
387
|
+
hasNextPage
|
|
388
|
+
hasPreviousPage
|
|
389
|
+
endCursor
|
|
390
|
+
}
|
|
391
|
+
edges {
|
|
392
|
+
cursor
|
|
393
|
+
node {
|
|
394
|
+
id
|
|
395
|
+
...AppObserveSpanFragment
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
${(0, graphql_1.print)(Observe_1.AppObserveSpanFragmentNode)}
|
|
405
|
+
`, variables)
|
|
406
|
+
.toPromise());
|
|
407
|
+
const { edges, pageInfo } = data.app.byId.observe.traces.spans;
|
|
408
|
+
return {
|
|
409
|
+
spans: edges.map(edge => edge.node),
|
|
410
|
+
pageInfo,
|
|
411
|
+
};
|
|
412
|
+
},
|
|
413
|
+
async spanNamesAsync(graphqlClient, variables) {
|
|
414
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
415
|
+
.query((0, graphql_tag_1.default) `
|
|
416
|
+
query AppObserveSpanNames($appId: String!, $input: AppObserveSpanNamesInput!) {
|
|
417
|
+
app {
|
|
418
|
+
byId(appId: $appId) {
|
|
419
|
+
id
|
|
420
|
+
observe {
|
|
421
|
+
traces {
|
|
422
|
+
names(input: $input) {
|
|
423
|
+
isTruncated
|
|
424
|
+
names {
|
|
425
|
+
name
|
|
426
|
+
kind
|
|
427
|
+
count
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
`, variables)
|
|
436
|
+
.toPromise());
|
|
437
|
+
return data.app.byId.observe.traces.names;
|
|
438
|
+
},
|
|
439
|
+
async traceByIdAsync(graphqlClient, { appId, id }) {
|
|
440
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
441
|
+
.query((0, graphql_tag_1.default) `
|
|
442
|
+
query AppObserveTraceById($appId: String!, $id: ID!) {
|
|
443
|
+
app {
|
|
444
|
+
byId(appId: $appId) {
|
|
445
|
+
id
|
|
446
|
+
observe {
|
|
447
|
+
traces {
|
|
448
|
+
trace(id: $id) {
|
|
449
|
+
id
|
|
450
|
+
isTruncated
|
|
451
|
+
spans {
|
|
452
|
+
id
|
|
453
|
+
...AppObserveSpanFragment
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
${(0, graphql_1.print)(Observe_1.AppObserveSpanFragmentNode)}
|
|
462
|
+
`, { appId, id })
|
|
463
|
+
.toPromise());
|
|
464
|
+
return data.app.byId.observe.traces.trace ?? null;
|
|
465
|
+
},
|
|
353
466
|
async metricByIdAsync(graphqlClient, { appId, id }) {
|
|
354
467
|
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
355
468
|
.query((0, graphql_tag_1.default) `
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
export declare const UserPreferenceQuery: {
|
|
3
|
+
/**
|
|
4
|
+
* Returns the JSON value stored under the key for the current user, or null when the key is not
|
|
5
|
+
* set or the viewer is not a user (for example a robot).
|
|
6
|
+
*/
|
|
7
|
+
getValueAsync(graphqlClient: ExpoGraphqlClient, key: string): Promise<unknown>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserPreferenceQuery = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
|
+
const client_1 = require("../client");
|
|
7
|
+
exports.UserPreferenceQuery = {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the JSON value stored under the key for the current user, or null when the key is not
|
|
10
|
+
* set or the viewer is not a user (for example a robot).
|
|
11
|
+
*/
|
|
12
|
+
async getValueAsync(graphqlClient, key) {
|
|
13
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
14
|
+
.query((0, graphql_tag_1.default) `
|
|
15
|
+
query UserPreferenceByKey($key: String!) {
|
|
16
|
+
userPreference {
|
|
17
|
+
get(key: $key) {
|
|
18
|
+
id
|
|
19
|
+
key
|
|
20
|
+
value
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`, { key }, { additionalTypenames: ['UserPreference'], noRetry: true })
|
|
25
|
+
.toPromise());
|
|
26
|
+
return data.userPreference.get?.value ?? null;
|
|
27
|
+
},
|
|
28
|
+
};
|
|
@@ -4,3 +4,4 @@ export declare const AppObserveErrorOccurrenceFragmentNode: import("graphql").Do
|
|
|
4
4
|
export declare const AppObserveMetricFragmentNode: import("graphql").DocumentNode;
|
|
5
5
|
export declare const AppObserveErrorGroupFragmentNode: import("graphql").DocumentNode;
|
|
6
6
|
export declare const AppObserveAppVersionFragmentNode: import("graphql").DocumentNode;
|
|
7
|
+
export declare const AppObserveSpanFragmentNode: import("graphql").DocumentNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppObserveAppVersionFragmentNode = exports.AppObserveErrorGroupFragmentNode = exports.AppObserveMetricFragmentNode = exports.AppObserveErrorOccurrenceFragmentNode = exports.AppObserveErrorFragmentNode = exports.AppObserveUserEventFragmentNode = void 0;
|
|
3
|
+
exports.AppObserveSpanFragmentNode = exports.AppObserveAppVersionFragmentNode = exports.AppObserveErrorGroupFragmentNode = exports.AppObserveMetricFragmentNode = exports.AppObserveErrorOccurrenceFragmentNode = exports.AppObserveErrorFragmentNode = exports.AppObserveUserEventFragmentNode = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
6
|
exports.AppObserveUserEventFragmentNode = (0, graphql_tag_1.default) `
|
|
@@ -168,3 +168,55 @@ exports.AppObserveAppVersionFragmentNode = (0, graphql_tag_1.default) `
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
`;
|
|
171
|
+
exports.AppObserveSpanFragmentNode = (0, graphql_tag_1.default) `
|
|
172
|
+
fragment AppObserveSpanFragment on AppObserveSpan {
|
|
173
|
+
id
|
|
174
|
+
traceId
|
|
175
|
+
spanId
|
|
176
|
+
parentSpanId
|
|
177
|
+
name
|
|
178
|
+
kind
|
|
179
|
+
startTimestamp
|
|
180
|
+
endTimestamp
|
|
181
|
+
durationMs
|
|
182
|
+
statusCode
|
|
183
|
+
statusMessage
|
|
184
|
+
sessionId
|
|
185
|
+
http {
|
|
186
|
+
method
|
|
187
|
+
statusCode
|
|
188
|
+
urlHost
|
|
189
|
+
urlFull
|
|
190
|
+
protocolVersion
|
|
191
|
+
requestSize
|
|
192
|
+
responseSize
|
|
193
|
+
errorType
|
|
194
|
+
}
|
|
195
|
+
attributes {
|
|
196
|
+
key
|
|
197
|
+
value
|
|
198
|
+
type
|
|
199
|
+
}
|
|
200
|
+
events {
|
|
201
|
+
name
|
|
202
|
+
timestamp
|
|
203
|
+
attributes
|
|
204
|
+
}
|
|
205
|
+
droppedAttributesCount
|
|
206
|
+
droppedEventsCount
|
|
207
|
+
droppedLinksCount
|
|
208
|
+
ingestedAt
|
|
209
|
+
appVersion
|
|
210
|
+
appBuildNumber
|
|
211
|
+
appUpdateId
|
|
212
|
+
appEasBuildId
|
|
213
|
+
expoSdkVersion
|
|
214
|
+
reactNativeVersion
|
|
215
|
+
deviceOs
|
|
216
|
+
deviceOsVersion
|
|
217
|
+
deviceModel
|
|
218
|
+
environment
|
|
219
|
+
easClientId
|
|
220
|
+
countryCode
|
|
221
|
+
}
|
|
222
|
+
`;
|
package/build/help.js
CHANGED
|
@@ -40,13 +40,20 @@ class EasHelp extends core_1.Help {
|
|
|
40
40
|
const [command, ...args] = argv;
|
|
41
41
|
if (command === 'simulator:control' || command === 'sim:control') {
|
|
42
42
|
const { default: SimulatorControl } = await Promise.resolve().then(() => __importStar(require('./commands/simulator/control')));
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
let parsed;
|
|
44
|
+
try {
|
|
45
|
+
parsed = await core_1.Parser.parse(args, {
|
|
46
|
+
args: SimulatorControl.args,
|
|
47
|
+
flags: SimulatorControl.flags,
|
|
48
|
+
strict: false,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
catch {
|
|
52
|
+
await super.showHelp(argv);
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
48
55
|
if (parsed.args.action && parsed.flags.help) {
|
|
49
|
-
await
|
|
56
|
+
await this.config.runCommand('simulator:control', args);
|
|
50
57
|
return;
|
|
51
58
|
}
|
|
52
59
|
}
|
package/build/log.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export default class Log {
|
|
|
10
10
|
*/
|
|
11
11
|
static markFreshLine(): void;
|
|
12
12
|
static error(...args: any[]): void;
|
|
13
|
+
static errorToStderr(...args: any[]): void;
|
|
14
|
+
static warnToStderr(...args: any[]): void;
|
|
13
15
|
static warn(...args: any[]): void;
|
|
14
16
|
static debug(...args: any[]): void;
|
|
15
17
|
static gray(...args: any[]): void;
|
package/build/log.js
CHANGED
|
@@ -34,6 +34,16 @@ class Log {
|
|
|
34
34
|
static error(...args) {
|
|
35
35
|
Log.consoleLog(...Log.withTextColor(args, chalk_1.default.red));
|
|
36
36
|
}
|
|
37
|
+
static errorToStderr(...args) {
|
|
38
|
+
Log.updateIsLastLineNewLine(args);
|
|
39
|
+
// eslint-disable-next-line no-console
|
|
40
|
+
console.error(...Log.withTextColor(args, chalk_1.default.stderr.red));
|
|
41
|
+
}
|
|
42
|
+
static warnToStderr(...args) {
|
|
43
|
+
Log.updateIsLastLineNewLine(args);
|
|
44
|
+
// eslint-disable-next-line no-console
|
|
45
|
+
console.error(...Log.withTextColor(args, chalk_1.default.stderr.yellow));
|
|
46
|
+
}
|
|
37
47
|
static warn(...args) {
|
|
38
48
|
Log.consoleLog(...Log.withTextColor(args, chalk_1.default.yellow));
|
|
39
49
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { AppObserveMetric, AppObserveUserEvent } from '../graphql/generated';
|
|
3
3
|
export interface SessionEventEntry {
|
|
4
|
-
source: 'metric' | 'log';
|
|
4
|
+
source: 'metric' | 'log' | 'span';
|
|
5
5
|
id: string;
|
|
6
6
|
timestamp: string;
|
|
7
7
|
sessionId: string;
|
|
@@ -27,6 +27,16 @@ export interface SessionEventEntry {
|
|
|
27
27
|
type: string;
|
|
28
28
|
}>;
|
|
29
29
|
environment?: string | null;
|
|
30
|
+
traceId?: string;
|
|
31
|
+
spanId?: string;
|
|
32
|
+
parentSpanId?: string | null;
|
|
33
|
+
durationMs?: number;
|
|
34
|
+
statusCode?: string;
|
|
35
|
+
httpMethod?: string | null;
|
|
36
|
+
httpStatusCode?: number | null;
|
|
37
|
+
httpErrorType?: string | null;
|
|
38
|
+
urlHost?: string | null;
|
|
39
|
+
urlFull?: string | null;
|
|
30
40
|
}
|
|
31
41
|
export interface SessionMetadata {
|
|
32
42
|
appVersion: string;
|
|
@@ -48,6 +58,7 @@ export interface FetchSessionEventsResult {
|
|
|
48
58
|
metadata: SessionMetadata | null;
|
|
49
59
|
hasMoreMetricEvents: boolean;
|
|
50
60
|
hasMoreLogEvents: boolean;
|
|
61
|
+
hasMoreSpans: boolean;
|
|
51
62
|
}
|
|
52
63
|
/**
|
|
53
64
|
* Issues a throwaway session-scoped query so the server-side session-timeline
|