@testrelic/maestro-analytics 1.3.2 → 1.4.0-next.121

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/dist/index.d.cts CHANGED
@@ -269,6 +269,14 @@ interface MaestroReportOptions {
269
269
 
270
270
  declare function resolveConfig(options?: Partial<MaestroReporterConfig>): ResolvedMaestroConfig;
271
271
 
272
+ /**
273
+ * JSON schema version for the Maestro analytics report output.
274
+ *
275
+ * Two writers emit a report — the orchestrator and `merge` — and they hard-coded
276
+ * the version separately, which is how the two drift.
277
+ */
278
+ declare const SCHEMA_VERSION = "1.1.0";
279
+
272
280
  /**
273
281
  * JUnit XML parser for Maestro test reports.
274
282
  *
@@ -727,4 +735,4 @@ interface ArtifactUploadResult {
727
735
  declare function uploadArtifact(endpoint: string, accessToken: string, request: ArtifactUploadRequest, maxSizeMb: number): Promise<ArtifactUploadResult>;
728
736
  declare function uploadArtifacts(endpoint: string, accessToken: string, requests: readonly ArtifactUploadRequest[], maxSizeMb: number): Promise<Map<string, ArtifactUploadResult>>;
729
737
 
730
- export { type AIAnalysisReport, type AIDefect, type AIDefectSeverity, type ArtifactUploadRequest, type ArtifactUploadResult, type AuthError, CloudClient, type CollectedArtifacts, DEFAULT_CLOUD_CONFIG, type JUnitProperty, type JUnitReport, type JUnitTestCase, type JUnitTestSuite, type MaestroCommandCategory, type MaestroCommandStep, type MaestroFlowMetadata, type MaestroFlowResult, type MaestroLogEntry, type MaestroPlatform, type MaestroReportOptions, type MaestroReporterConfig, type MaestroRunResult, type MaestroTestOptions, type OrchestratorInput, type OrchestratorResult, type PerTestArtifact, type RealtimeInitResult, type RepoResolveResult, type ResolvedMaestroConfig, type RunUploadPayload, type TestResultForUpload, type TokenExchangeResult, type TokenRefreshResult, type UploadFailure, type UploadResult, buildMaestroArgs, buildSummary, buildTimeline, buildTimelineEntry, buildUploadPayload, categorizeCommand, cleanupExpiredQueue, collectArtifacts, collectGitMetadata, deriveNonGitProjectId, deriveRepoDisplayName, detectCI, detectPlatformFromLogs, discoverAiReports, discoverCommandFiles, discoverConfigFile, discoverFlowFiles, discoverLogFiles, enforceHttps, exchangeToken, finalizeAndUpload, finalizeRun, flushQueue, generateHtmlReport, getArtifactStats, healthCheck, initRealtimeRun, isAuthError, mergeCloudConfig, normalizeGitRemoteUrl, openInBrowser, orchestrateReport, parseAiReportFile, parseAiReportHtml, parseCommandsFile, parseCommandsJson, parseConfigFile, parseDuration, parseFlowFile, parseFlowYaml, parseJUnitFile, parseJUnitXml, parseLogContent, parseLogFile, printConsoleSummary, readPackageJsonName, refreshAccessToken, renderHtmlDocument, resolveConfig, resolveEnvVar, resolveEnvVars, resolveRepo, runMaestro, uploadArtifact, uploadArtifacts, uploadBatchRun, writeToQueue };
738
+ export { type AIAnalysisReport, type AIDefect, type AIDefectSeverity, type ArtifactUploadRequest, type ArtifactUploadResult, type AuthError, CloudClient, type CollectedArtifacts, DEFAULT_CLOUD_CONFIG, type JUnitProperty, type JUnitReport, type JUnitTestCase, type JUnitTestSuite, type MaestroCommandCategory, type MaestroCommandStep, type MaestroFlowMetadata, type MaestroFlowResult, type MaestroLogEntry, type MaestroPlatform, type MaestroReportOptions, type MaestroReporterConfig, type MaestroRunResult, type MaestroTestOptions, type OrchestratorInput, type OrchestratorResult, type PerTestArtifact, type RealtimeInitResult, type RepoResolveResult, type ResolvedMaestroConfig, type RunUploadPayload, SCHEMA_VERSION, type TestResultForUpload, type TokenExchangeResult, type TokenRefreshResult, type UploadFailure, type UploadResult, buildMaestroArgs, buildSummary, buildTimeline, buildTimelineEntry, buildUploadPayload, categorizeCommand, cleanupExpiredQueue, collectArtifacts, collectGitMetadata, deriveNonGitProjectId, deriveRepoDisplayName, detectCI, detectPlatformFromLogs, discoverAiReports, discoverCommandFiles, discoverConfigFile, discoverFlowFiles, discoverLogFiles, enforceHttps, exchangeToken, finalizeAndUpload, finalizeRun, flushQueue, generateHtmlReport, getArtifactStats, healthCheck, initRealtimeRun, isAuthError, mergeCloudConfig, normalizeGitRemoteUrl, openInBrowser, orchestrateReport, parseAiReportFile, parseAiReportHtml, parseCommandsFile, parseCommandsJson, parseConfigFile, parseDuration, parseFlowFile, parseFlowYaml, parseJUnitFile, parseJUnitXml, parseLogContent, parseLogFile, printConsoleSummary, readPackageJsonName, refreshAccessToken, renderHtmlDocument, resolveConfig, resolveEnvVar, resolveEnvVars, resolveRepo, runMaestro, uploadArtifact, uploadArtifacts, uploadBatchRun, writeToQueue };
package/dist/index.d.ts CHANGED
@@ -269,6 +269,14 @@ interface MaestroReportOptions {
269
269
 
270
270
  declare function resolveConfig(options?: Partial<MaestroReporterConfig>): ResolvedMaestroConfig;
271
271
 
272
+ /**
273
+ * JSON schema version for the Maestro analytics report output.
274
+ *
275
+ * Two writers emit a report — the orchestrator and `merge` — and they hard-coded
276
+ * the version separately, which is how the two drift.
277
+ */
278
+ declare const SCHEMA_VERSION = "1.1.0";
279
+
272
280
  /**
273
281
  * JUnit XML parser for Maestro test reports.
274
282
  *
@@ -727,4 +735,4 @@ interface ArtifactUploadResult {
727
735
  declare function uploadArtifact(endpoint: string, accessToken: string, request: ArtifactUploadRequest, maxSizeMb: number): Promise<ArtifactUploadResult>;
728
736
  declare function uploadArtifacts(endpoint: string, accessToken: string, requests: readonly ArtifactUploadRequest[], maxSizeMb: number): Promise<Map<string, ArtifactUploadResult>>;
729
737
 
730
- export { type AIAnalysisReport, type AIDefect, type AIDefectSeverity, type ArtifactUploadRequest, type ArtifactUploadResult, type AuthError, CloudClient, type CollectedArtifacts, DEFAULT_CLOUD_CONFIG, type JUnitProperty, type JUnitReport, type JUnitTestCase, type JUnitTestSuite, type MaestroCommandCategory, type MaestroCommandStep, type MaestroFlowMetadata, type MaestroFlowResult, type MaestroLogEntry, type MaestroPlatform, type MaestroReportOptions, type MaestroReporterConfig, type MaestroRunResult, type MaestroTestOptions, type OrchestratorInput, type OrchestratorResult, type PerTestArtifact, type RealtimeInitResult, type RepoResolveResult, type ResolvedMaestroConfig, type RunUploadPayload, type TestResultForUpload, type TokenExchangeResult, type TokenRefreshResult, type UploadFailure, type UploadResult, buildMaestroArgs, buildSummary, buildTimeline, buildTimelineEntry, buildUploadPayload, categorizeCommand, cleanupExpiredQueue, collectArtifacts, collectGitMetadata, deriveNonGitProjectId, deriveRepoDisplayName, detectCI, detectPlatformFromLogs, discoverAiReports, discoverCommandFiles, discoverConfigFile, discoverFlowFiles, discoverLogFiles, enforceHttps, exchangeToken, finalizeAndUpload, finalizeRun, flushQueue, generateHtmlReport, getArtifactStats, healthCheck, initRealtimeRun, isAuthError, mergeCloudConfig, normalizeGitRemoteUrl, openInBrowser, orchestrateReport, parseAiReportFile, parseAiReportHtml, parseCommandsFile, parseCommandsJson, parseConfigFile, parseDuration, parseFlowFile, parseFlowYaml, parseJUnitFile, parseJUnitXml, parseLogContent, parseLogFile, printConsoleSummary, readPackageJsonName, refreshAccessToken, renderHtmlDocument, resolveConfig, resolveEnvVar, resolveEnvVars, resolveRepo, runMaestro, uploadArtifact, uploadArtifacts, uploadBatchRun, writeToQueue };
738
+ export { type AIAnalysisReport, type AIDefect, type AIDefectSeverity, type ArtifactUploadRequest, type ArtifactUploadResult, type AuthError, CloudClient, type CollectedArtifacts, DEFAULT_CLOUD_CONFIG, type JUnitProperty, type JUnitReport, type JUnitTestCase, type JUnitTestSuite, type MaestroCommandCategory, type MaestroCommandStep, type MaestroFlowMetadata, type MaestroFlowResult, type MaestroLogEntry, type MaestroPlatform, type MaestroReportOptions, type MaestroReporterConfig, type MaestroRunResult, type MaestroTestOptions, type OrchestratorInput, type OrchestratorResult, type PerTestArtifact, type RealtimeInitResult, type RepoResolveResult, type ResolvedMaestroConfig, type RunUploadPayload, SCHEMA_VERSION, type TestResultForUpload, type TokenExchangeResult, type TokenRefreshResult, type UploadFailure, type UploadResult, buildMaestroArgs, buildSummary, buildTimeline, buildTimelineEntry, buildUploadPayload, categorizeCommand, cleanupExpiredQueue, collectArtifacts, collectGitMetadata, deriveNonGitProjectId, deriveRepoDisplayName, detectCI, detectPlatformFromLogs, discoverAiReports, discoverCommandFiles, discoverConfigFile, discoverFlowFiles, discoverLogFiles, enforceHttps, exchangeToken, finalizeAndUpload, finalizeRun, flushQueue, generateHtmlReport, getArtifactStats, healthCheck, initRealtimeRun, isAuthError, mergeCloudConfig, normalizeGitRemoteUrl, openInBrowser, orchestrateReport, parseAiReportFile, parseAiReportHtml, parseCommandsFile, parseCommandsJson, parseConfigFile, parseDuration, parseFlowFile, parseFlowYaml, parseJUnitFile, parseJUnitXml, parseLogContent, parseLogFile, printConsoleSummary, readPackageJsonName, refreshAccessToken, renderHtmlDocument, resolveConfig, resolveEnvVar, resolveEnvVars, resolveRepo, runMaestro, uploadArtifact, uploadArtifacts, uploadBatchRun, writeToQueue };