import type { RestLinks } from './common.js'; /** * Project type values from Bitbucket Server. */ export type ProjectType = 'NORMAL' | 'PERSONAL'; /** * Bitbucket Server project information (RestProject schema from Swagger). * Simplified to include only commonly used readonly fields. */ export interface RestProject { /** Project ID */ id: number; /** Project key (e.g., "PROJ") */ key: string; /** Project name (e.g., "My Cool Project") */ name: string; /** Project description */ description?: string; /** Project type */ type: ProjectType; /** Whether the project is public */ public?: boolean; /** Project scope (e.g., "PROJECT") */ scope?: string; /** Links */ links?: RestLinks; } /** * Parameters for get method */ export interface GetProjectParams { /** The Bitbucket Server project key */ projectKey: string; } /** * Parameters for list method */ export interface ListProjectsParams { /** Filter projects by name (partial match) */ name?: string; /** Filter by permission (e.g., PROJECT_READ, PROJECT_WRITE, PROJECT_ADMIN) */ permission?: string; /** Starting index for pagination (default: 0) */ start?: number; /** Maximum number of projects to return (default: 25) */ limit?: number; } //# sourceMappingURL=project.d.ts.map