@tiberriver256/mcp-server-azure-devops
Version:
Azure DevOps reference server for the Model Context Protocol (MCP)
23 lines • 888 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DownloadPipelineArtifactSchema = void 0;
const zod_1 = require("zod");
const environment_1 = require("../../../utils/environment");
exports.DownloadPipelineArtifactSchema = zod_1.z.object({
projectId: zod_1.z
.string()
.optional()
.describe(`The ID or name of the project (Default: ${environment_1.defaultProject})`),
runId: zod_1.z.number().int().min(1).describe('Pipeline run identifier'),
artifactPath: zod_1.z
.string()
.min(1)
.describe('Path to the desired file inside the artifact (format: <artifactName>/<path/to/file>)'),
pipelineId: zod_1.z
.number()
.int()
.min(1)
.optional()
.describe('Optional guard; validates the run belongs to this pipeline'),
});
//# sourceMappingURL=schema.js.map