chore(package): bump dependencies and lint rules

This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 7547a94c80
commit 21ad4734fa
178 changed files with 10565 additions and 4194 deletions
@@ -1,5 +1,10 @@
import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, Plugin, IonicNativePlugin } from '@ionic-native/core';
import {
Cordova,
CordovaProperty,
IonicNativePlugin,
Plugin
} from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
declare const navigator: any;
@@ -33,7 +38,10 @@ export interface MediaFile {
* @param {Function} successCallback
* @param {Function} errorCallback
*/
getFormatData(successCallback: (data: MediaFileData) => any, errorCallback?: (err: any) => any): void;
getFormatData(
successCallback: (data: MediaFileData) => any,
errorCallback?: (err: any) => any
): void;
}
export interface MediaFileData {
@@ -101,7 +109,7 @@ export interface ConfigurationData {
/**
* The ASCII-encoded lowercase string representing the media type.
*/
type: string;
type: string;
/**
* The height of the image or video in pixels. The value is zero for sound clips.
*/
@@ -155,22 +163,19 @@ export class MediaCapture extends IonicNativePlugin {
* The recording image sizes and formats supported by the device.
* @returns {ConfigurationData[]}
*/
@CordovaProperty
supportedImageModes: ConfigurationData[];
@CordovaProperty supportedImageModes: ConfigurationData[];
/**
* The audio recording formats supported by the device.
* @returns {ConfigurationData[]}
*/
@CordovaProperty
supportedAudioModes: ConfigurationData[];
@CordovaProperty supportedAudioModes: ConfigurationData[];
/**
* The recording video resolutions and formats supported by the device.
* @returns {ConfigurationData[]}
*/
@CordovaProperty
supportedVideoModes: ConfigurationData[];
@CordovaProperty supportedVideoModes: ConfigurationData[];
/**
* Start the audio recorder application and return information about captured audio clip files.
@@ -180,7 +185,9 @@ export class MediaCapture extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
captureAudio(options?: CaptureAudioOptions): Promise<MediaFile[] | CaptureError> {
captureAudio(
options?: CaptureAudioOptions
): Promise<MediaFile[] | CaptureError> {
return;
}
@@ -192,7 +199,9 @@ export class MediaCapture extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
captureImage(options?: CaptureImageOptions): Promise<MediaFile[] | CaptureError> {
captureImage(
options?: CaptureImageOptions
): Promise<MediaFile[] | CaptureError> {
return;
}
@@ -204,7 +213,9 @@ export class MediaCapture extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
captureVideo(options?: CaptureVideoOptions): Promise<MediaFile[] | CaptureError> {
captureVideo(
options?: CaptureVideoOptions
): Promise<MediaFile[] | CaptureError> {
return;
}
@@ -231,5 +242,4 @@ export class MediaCapture extends IonicNativePlugin {
onPendingCaptureError(): Observable<CaptureError> {
return;
}
}