diff --git a/src/@ionic-native/plugins/pro/index.ts b/src/@ionic-native/plugins/pro/index.ts index f1147779..fca81da7 100644 --- a/src/@ionic-native/plugins/pro/index.ts +++ b/src/@ionic-native/plugins/pro/index.ts @@ -31,6 +31,8 @@ export interface DeployConfig { channel?: string; } +export type ProgressMessage = number | string; + /** * @hidden */ @@ -43,7 +45,7 @@ export class ProDeploy { * @param config A valid Deploy config object */ @CordovaInstance() - init(config: DeployConfig): Promise { return; } + init(config: DeployConfig): Promise { return; } /** * Check a channel for an available update @@ -54,27 +56,27 @@ export class ProDeploy { /** * Download an available version - * @return {Observable} Updates with percent completion, or errors with a message. + * @return {Observable} Updates with percent completion, or errors with a message. */ @CordovaInstance({ observable: true }) - download(): Observable { return; } + download(): Observable { return; } /** * Unzip the latest downloaded version - * @return {Observable} Updates with percent completion, or errors with a message. + * @return {Observable} Updates with percent completion, or errors with a message. */ @CordovaInstance({ observable: true }) - extract(): Observable { return; } + extract(): Observable { return; } /** * Reload app with the deployed version */ @CordovaInstance() - redirect(): Promise { return; } + redirect(): Promise { return; } /** * Get info about the version running on the device @@ -87,14 +89,14 @@ export class ProDeploy { * List versions stored on the device */ @CordovaInstance() - getVersions(): Promise { return; } + getVersions(): Promise { return; } /** * Delete a version stored on the device by UUID * @param version A version UUID */ @CordovaInstance() - deleteVersion(version: string): Promise { return; } + deleteVersion(version: string): Promise { return; } } /**