UNPKG

ionic

Version:

A tool for creating and developing Ionic Framework mobile apps.

38 lines (37 loc) 1.44 kB
import { CommandLineInputs, CommandLineOptions } from '@ionic/cli-framework'; import { CommandMetadata } from '../../definitions'; import { Command } from '../../lib/command'; interface PackageBuild { job_id: number; id: string; caller_id: number; platform: string; build_type: string; created: string; finished: string; state: string; commit: any; stack: any; profile_tag: string; automation_id: number; environment_id: number; native_config_id: number; automation_name: string; environment_name: string; native_config_name: string; job: any; } interface DownloadUrl { url: string | null; } export declare class BuildCommand extends Command { getMetadata(): Promise<CommandMetadata>; preRun(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>; run(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>; createPackageBuild(appflowId: string, token: string, platform: string, buildType: string, options: CommandLineOptions): Promise<PackageBuild>; getPackageBuild(appflowId: string, buildId: number, token: string): Promise<PackageBuild>; getDownloadUrl(appflowId: string, buildId: number, token: string): Promise<DownloadUrl>; tailBuildLog(appflowId: string, buildId: number, token: string): Promise<PackageBuild>; downloadBuild(url: string, filename: string): Promise<string>; } export {};