import { ValueOf } from './Utils.js'; import { BUILD_STATUS, SUBBUILD_TYPES, DEPLOYABLE_STATES } from '../enums/build.js'; import { ActivitySource } from './Activity.js'; import { DeployStatusTaskLocator, ProjectStandardError } from './ProjectComponents.js'; export type SubbuildStatus = { buildName: string; buildType: ValueOf; errorMessage: string; finishedAt: string; rootPath: string; standardError: ProjectStandardError | null; startedAt: string; status: ValueOf; id: string; visible: boolean; }; export type Build = { activitySource: ActivitySource; buildId: number; createdAt: string; deployableState: ValueOf; deployStatusTaskLocator: DeployStatusTaskLocator; enqueuedAt: string; finishedAt: string; isAutoDeployEnabled: boolean; portalId: number; projectName: string; startedAt: string; status: ValueOf; subbuildStatuses: Array; uploadMessage: string; autoDeployId: number; platformVersion: string; }; export type FetchProjectBuildsResponse = { results: Array; paging: { next: { after: string; link: string; }; }; };