Revert "chore(package): bump dependencies and lint rules"

This reverts commit 21ad4734fa.
This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 21ad4734fa
commit 6c938bfdb7
178 changed files with 4221 additions and 10592 deletions
@@ -1,6 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
/**
* @name Native Audio
* @description Native Audio Playback
@@ -46,9 +45,7 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
preloadSimple(id: string, assetPath: string): Promise<any> {
return;
}
preloadSimple(id: string, assetPath: string): Promise<any> {return; }
/**
* Loads an audio file into memory. Optimized for background music / ambient sound. Uses highlevel native APIs with a larger footprint. (iOS: AVAudioPlayer). Can be stopped / looped and used with multiple voices. Can be faded in and out using the delay parameter.
@@ -60,15 +57,7 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
preloadComplex(
id: string,
assetPath: string,
volume: number,
voices: number,
delay: number
): Promise<any> {
return;
}
preloadComplex(id: string, assetPath: string, volume: number, voices: number, delay: number): Promise<any> {return; }
/**
* Plays an audio asset
@@ -80,9 +69,7 @@ export class NativeAudio extends IonicNativePlugin {
successIndex: 1,
errorIndex: 2
})
play(id: string, completeCallback?: Function): Promise<any> {
return;
}
play(id: string, completeCallback?: Function): Promise<any> {return; }
/**
* Stops playing an audio
@@ -90,9 +77,7 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
stop(id: string): Promise<any> {
return;
}
stop(id: string): Promise<any> {return; }
/**
* Loops an audio asset infinitely, this only works for complex assets
@@ -100,9 +85,7 @@ export class NativeAudio extends IonicNativePlugin {
* @return {Promise<any>}
*/
@Cordova()
loop(id: string): Promise<any> {
return;
}
loop(id: string): Promise<any> {return; }
/**
* Unloads an audio file from memory
@@ -110,9 +93,7 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
unload(id: string): Promise<any> {
return;
}
unload(id: string): Promise<any> {return; }
/**
* Changes the volume for preloaded complex assets.
@@ -121,7 +102,6 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
setVolumeForComplexAsset(id: string, volume: number): Promise<any> {
return;
}
setVolumeForComplexAsset(id: string, volume: number): Promise<any> {return; }
}