@tiberriver256/mcp-server-azure-devops
Version:
Azure DevOps reference server for the Model Context Protocol (MCP)
109 lines (108 loc) • 3.62 kB
TypeScript
import { z } from 'zod';
/**
* Schema for getting a repository
*/
export declare const GetRepositorySchema: z.ZodObject<{
projectId: z.ZodOptional<z.ZodString>;
organizationId: z.ZodOptional<z.ZodString>;
repositoryId: z.ZodString;
}, "strip", z.ZodTypeAny, {
repositoryId: string;
projectId?: string | undefined;
organizationId?: string | undefined;
}, {
repositoryId: string;
projectId?: string | undefined;
organizationId?: string | undefined;
}>;
/**
* Schema for getting detailed repository information
*/
export declare const GetRepositoryDetailsSchema: z.ZodObject<{
projectId: z.ZodOptional<z.ZodString>;
organizationId: z.ZodOptional<z.ZodString>;
repositoryId: z.ZodString;
includeStatistics: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
includeRefs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
refFilter: z.ZodOptional<z.ZodString>;
branchName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
repositoryId: string;
includeStatistics: boolean;
includeRefs: boolean;
projectId?: string | undefined;
organizationId?: string | undefined;
refFilter?: string | undefined;
branchName?: string | undefined;
}, {
repositoryId: string;
projectId?: string | undefined;
organizationId?: string | undefined;
includeStatistics?: boolean | undefined;
includeRefs?: boolean | undefined;
refFilter?: string | undefined;
branchName?: string | undefined;
}>;
/**
* Schema for listing repositories
*/
export declare const ListRepositoriesSchema: z.ZodObject<{
projectId: z.ZodOptional<z.ZodString>;
organizationId: z.ZodOptional<z.ZodString>;
includeLinks: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
projectId?: string | undefined;
organizationId?: string | undefined;
includeLinks?: boolean | undefined;
}, {
projectId?: string | undefined;
organizationId?: string | undefined;
includeLinks?: boolean | undefined;
}>;
/**
* Schema for getting file content
*/
export declare const GetFileContentSchema: z.ZodObject<{
projectId: z.ZodOptional<z.ZodString>;
organizationId: z.ZodOptional<z.ZodString>;
repositoryId: z.ZodString;
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
version: z.ZodOptional<z.ZodString>;
versionType: z.ZodOptional<z.ZodEnum<["branch", "commit", "tag"]>>;
}, "strip", z.ZodTypeAny, {
path: string;
repositoryId: string;
projectId?: string | undefined;
organizationId?: string | undefined;
version?: string | undefined;
versionType?: "branch" | "commit" | "tag" | undefined;
}, {
repositoryId: string;
path?: string | undefined;
projectId?: string | undefined;
organizationId?: string | undefined;
version?: string | undefined;
versionType?: "branch" | "commit" | "tag" | undefined;
}>;
/**
* Schema for getting all repositories tree structure
*/
export declare const GetAllRepositoriesTreeSchema: z.ZodObject<{
organizationId: z.ZodOptional<z.ZodString>;
projectId: z.ZodOptional<z.ZodString>;
repositoryPattern: z.ZodOptional<z.ZodString>;
depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
pattern: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
depth: number;
projectId?: string | undefined;
organizationId?: string | undefined;
repositoryPattern?: string | undefined;
pattern?: string | undefined;
}, {
projectId?: string | undefined;
organizationId?: string | undefined;
repositoryPattern?: string | undefined;
depth?: number | undefined;
pattern?: string | undefined;
}>;