import type { PaginatedResponse } from './common.js'; /** * Build state reported by Bitbucket's build-status REST plugin * (`/rest/build-status/latest/commits/{hash}`). * * Bitbucket itself emits `SUCCESSFUL | FAILED | INPROGRESS` and accepts * `UNKNOWN` from older CI integrations, so we widen rather than constrain. */ export type BuildState = 'SUCCESSFUL' | 'FAILED' | 'INPROGRESS' | 'UNKNOWN'; /** * Single build status entry attached to a commit. Both `description` and * `dateAdded` are not always provided (depends on the CI integration that * posted the status). */ export interface RestBuildStatus { state: BuildState; key: string; name?: string; url: string; description?: string; dateAdded?: number; } export interface GetBuildStatusesForCommitParams { commitHash: string; start?: number; limit?: number; } export type BuildStatusesResponse = PaginatedResponse; //# sourceMappingURL=build-status.d.ts.map