import type { ApiPipeline, ApiPipelineArgument, User } from "../models"; import type { AssociationIds } from "type_aliases"; export default class PipelineApi { static triggerPipeline(body: ApiPipelineArgument, user: User): Promise; static checkPipelineStatus({ projectId }: AssociationIds, pipelineId: number, user: User): Promise; static getFloorPipelines({ projectId, floorId }: AssociationIds, user: User): Promise; /** * Every pipeline for the project, including project level runs that have no floor. Needed to * discover a run the current browser did not start, which getFloorPipelines cannot do. */ static getProjectPipelines({ projectId }: AssociationIds, user: User): Promise; }