forked from microsoft/code-push
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand-executor.d.ts
More file actions
23 lines (23 loc) · 1.31 KB
/
Copy pathcommand-executor.d.ts
File metadata and controls
23 lines (23 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import AccountManager = require("code-push");
import * as Q from "q";
import * as cli from "../definitions/cli";
import { UpdateMetrics } from "code-push/script/types";
import Promise = Q.Promise;
export interface UpdateMetricsWithTotalActive extends UpdateMetrics {
totalActive: number;
}
export interface PackageWithMetrics {
metrics?: UpdateMetricsWithTotalActive;
}
export declare var log: (message: string | Chalk.ChalkChain) => void;
export declare var sdk: AccountManager;
export declare var spawn: any;
export declare var execSync: any;
export declare var confirm: () => Q.Promise<boolean>;
export declare var createEmptyTempReleaseFolder: (folderPath: string) => Q.Promise<void>;
export declare var deploymentList: (command: cli.IDeploymentListCommand, showPackage?: boolean) => Q.Promise<void>;
export declare function execute(command: cli.ICommand): Promise<void>;
export declare var release: (command: cli.IReleaseCommand) => Q.Promise<void>;
export declare var releaseCordova: (command: cli.IReleaseCordovaCommand) => Q.Promise<void>;
export declare var releaseReact: (command: cli.IReleaseReactCommand) => Q.Promise<void>;
export declare var runReactNativeBundleCommand: (bundleName: string, development: boolean, entryFile: string, outputFolder: string, platform: string, sourcemapOutput: string) => Q.Promise<void>;