deepsource-mcp-server
Version:
Model Context Protocol server for DeepSource
40 lines • 1.55 kB
JavaScript
/**
* @fileoverview Report-related type definitions for DeepSource integration.
* @packageDocumentation
*/
/**
* Available report types in DeepSource
* This enum combines both compliance-specific and general report types
* and is referenced in API functions like getComplianceReport() and handleDeepsourceComplianceReport().
* @public
*/
/* eslint-disable no-unused-vars */
export var ReportType;
(function (ReportType) {
// Compliance-specific report types
ReportType["OWASP_TOP_10"] = "OWASP_TOP_10";
ReportType["SANS_TOP_25"] = "SANS_TOP_25";
ReportType["MISRA_C"] = "MISRA_C";
// General report types
ReportType["CODE_COVERAGE"] = "CODE_COVERAGE";
ReportType["CODE_HEALTH_TREND"] = "CODE_HEALTH_TREND";
ReportType["ISSUE_DISTRIBUTION"] = "ISSUE_DISTRIBUTION";
ReportType["ISSUES_PREVENTED"] = "ISSUES_PREVENTED";
ReportType["ISSUES_AUTOFIXED"] = "ISSUES_AUTOFIXED";
})(ReportType || (ReportType = {}));
/* eslint-enable no-unused-vars */
/**
* Report status indicating whether the report is passing, failing, or not applicable
* This enum is exported as part of the public API for use in MCP tools
* and is referenced in handleDeepsourceComplianceReport().
* @public
*/
/* eslint-disable no-unused-vars */
export var ReportStatus;
(function (ReportStatus) {
ReportStatus["PASSING"] = "PASSING";
ReportStatus["FAILING"] = "FAILING";
ReportStatus["NOOP"] = "NOOP";
})(ReportStatus || (ReportStatus = {}));
/* eslint-enable no-unused-vars */
//# sourceMappingURL=report-types.js.map