push neon reactor

This commit is contained in:
2026-07-12 15:11:38 +02:00
parent 172e72dbcd
commit aeab5f7820
9597 changed files with 2407488 additions and 0 deletions
@@ -0,0 +1,70 @@
/*!
* Copyright (C) Microsoft Corporation. All rights reserved.
*/
export type AppLoadClientState = 'healthy' | 'unhealthy' | 'throttled' | 'unknown';
export type AppLoadResult = 'optimal' | 'other';
export type AppLoadNonOptimalReason = 'interactionRequired' | 'throttled' | 'screenNavigatedAway' | 'other';
export type AppType = 'CodeApp';
export type AppLoadUnsuccessfulReason = 'AppConnectionsFailed' | 'AppForbidden' | 'AppForbiddenAppIsInQuarantine' | 'AppForbiddenPlansIssue' | 'AppIsPackaging' | 'AppLoadFailed' | 'AppNotFound' | 'CookiesBlocked' | 'InvokeScriptBlocked' | 'NetworkError' | 'PlatformError' | 'PopupError' | 'ProxyError' | 'StorageBlocked' | 'Unknown' | 'UserCancelAppConnections' | 'UserCancelled' | 'UserNotLoggedIn' | 'UserUnauthorized' | 'UserUnsupportedAppVersion' | 'UserUnsupportedBrowser';
export type SessionLoadSummaryMetricData = {
/** Whether this app launch was successful */
successfulAppLaunch: boolean;
/** The reason the app launch was not successful */
unsuccessfulReason?: AppLoadUnsuccessfulReason;
/** The type of state the client loaded in. */
appLoadClientState: AppLoadClientState;
/** The type of app load */
appLoadResult: AppLoadResult;
/** The reason the app load was not considered optimal */
appLoadNonOptimalReason?: AppLoadNonOptimalReason;
/** The type of app */
appType?: AppType;
/** Time in milliseconds for the app to become interactive */
timeToAppInteractive?: number;
/** Date this app was last published */
lastPublishedDate?: string;
};
export type SessionLoadSummaryMetric = {
type: 'sessionLoadSummary';
data: SessionLoadSummaryMetricData;
};
export type NetworkRequestMetricData = {
/** The URL of the network request */
url: string;
/** The HTTP method of the request */
method: string;
/** The status code of the response */
statusCode: number;
/** The time taken for the request in milliseconds */
duration: number;
/** The size of the response in bytes */
responseSize?: number;
};
export type NetworkRequestMetric = {
type: 'networkRequest';
data: NetworkRequestMetricData;
};
export type DataRequestsSummaryMetricData = {
/** Total number of data requests made */
totalDataRequests: number;
/** Number of failed data requests */
failedDataRequests: number;
/** Breakdown of failures by type */
failureCountsByType: Record<string, number>;
/** Optional latency data in milliseconds */
dataRequestsLatency?: number;
/** User agent string */
userAgent?: string;
/** Current client state */
clientState?: string;
/** When the app was last published */
lastPublishedDate?: string;
/** Type of app ('CodeApp') */
appType?: AppType;
};
export type DataRequestsSummaryMetric = {
type: 'dataRequestsSummary';
data: DataRequestsSummaryMetricData;
};
export type Metric = SessionLoadSummaryMetric | NetworkRequestMetric | DataRequestsSummaryMetric;
//# sourceMappingURL=Metrics.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"Metrics.d.ts","sourceRoot":"","sources":["../../src/metrics/Metrics.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;AAEnF,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,MAAM,MAAM,uBAAuB,GAC/B,qBAAqB,GACrB,WAAW,GACX,qBAAqB,GACrB,OAAO,CAAC;AAEZ,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC;AAEhC,MAAM,MAAM,yBAAyB,GACjC,sBAAsB,GACtB,cAAc,GACd,+BAA+B,GAC/B,wBAAwB,GACxB,gBAAgB,GAChB,eAAe,GACf,aAAa,GACb,gBAAgB,GAChB,qBAAqB,GACrB,cAAc,GACd,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,gBAAgB,GAChB,SAAS,GACT,0BAA0B,GAC1B,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,2BAA2B,GAC3B,wBAAwB,CAAC;AAI7B,MAAM,MAAM,4BAA4B,GAAG;IACzC,6CAA6C;IAC7C,mBAAmB,EAAE,OAAO,CAAC;IAC7B,mDAAmD;IACnD,kBAAkB,CAAC,EAAE,yBAAyB,CAAC;IAC/C,8CAA8C;IAC9C,kB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9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,IAAI,EAAE,6BAA6B,CAAC;CACrC,CAAC;AAIF,MAAM,MAAM,MAAM,GAAG,wBAAwB,GAAG,oBAAoB,GAAG,yBAAyB,CAAC"}
@@ -0,0 +1,5 @@
/*!
* Copyright (C) Microsoft Corporation. All rights reserved.
*/
export {};
//# sourceMappingURL=Metrics.js.map
@@ -0,0 +1 @@
{"version":3,"file":"Metrics.js","sourceRoot":"","sources":["../../src/metrics/Metrics.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,5 @@
/*!
* Copyright (C) Microsoft Corporation. All rights reserved.
*/
export type { AppLoadClientState, AppLoadNonOptimalReason, AppLoadResult, AppLoadUnsuccessfulReason, AppType, DataRequestsSummaryMetric, DataRequestsSummaryMetricData, Metric, NetworkRequestMetric, NetworkRequestMetricData, SessionLoadSummaryMetric, SessionLoadSummaryMetricData, } from './Metrics.js';
//# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/metrics/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY,EACV,kBAAkB,EAClB,uBAAuB,EACvB,aAAa,EACb,yBAAyB,EACzB,OAAO,EACP,yBAAyB,EACzB,6BAA6B,EAC7B,MAAM,EACN,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,WAAW,CAAC"}
@@ -0,0 +1,5 @@
/*!
* Copyright (C) Microsoft Corporation. All rights reserved.
*/
export {};
//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/metrics/index.ts"],"names":[],"mappings":"AAAA;;GAEG"}