export type WorkItem = { id: string; name: string; subject?: string; description?: string; status: string; owner: string; DevopsProjectId: string; PipelineId?: string; PipelineStageId?: string; SourceCodeRepository?: { repoUrl: string; repoType: string; }; WorkItemBranch?: string; TargetStageId?: string; TargetBranch?: string; }; export type PipelineStageRecord = { Id: string; Name?: string; NextStageId?: string | null; SourceCodeRepositoryBranch?: { Name?: string; } | null; }; export type ProjectStagesContext = { pipelineId: string; stages: PipelineStageRecord[]; firstStageId: string | undefined; }; export type VcsType = 'GITHUB' | 'BITBUCKET'; export type SourceCodeRepositoryQueryRecord = { Name: string | null; RepositoryOwner: string | null; Provider: string | null; }; export type SourceCodeRepositoryBranchQueryRecord = { Name: string | null; SourceCodeRepositoryId: string | null; SourceCodeRepository: SourceCodeRepositoryQueryRecord | null; }; export type WorkItemQueryRecord = { Id: string; Name: string; Subject: string | null; Description: string | null; Status: string; AssignedToId: string | null; SourceCodeRepositoryBranchId: string | null; SourceCodeRepositoryBranch: SourceCodeRepositoryBranchQueryRecord | null; DevopsPipelineStageId: string | null; DevopsProjectId: string; }; export type DevopsProjectPipelineQueryRecord = { DevopsPipelineId: string; };