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
+10 -16
View File
@@ -1,8 +1,9 @@
import { Plugin, IonicNativePlugin, Cordova } from '@ionic-native/core';
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
export interface NotificationData {
/**
* Determines whether the notification was pressed or not
*/
@@ -14,6 +15,7 @@ export interface NotificationData {
*/
[name: string]: any;
}
/**
@@ -62,15 +64,14 @@ export interface NotificationData {
})
@Injectable()
export class FCM extends IonicNativePlugin {
/**
* Get's device's current registration id
*
* @returns {Promise<string>} Returns a Promise that resolves with the registration id token
*/
@Cordova()
getToken(): Promise<string> {
return;
}
getToken(): Promise<string> { return; }
/**
* Event firing on the token refresh
@@ -80,9 +81,7 @@ export class FCM extends IonicNativePlugin {
@Cordova({
observable: true
})
onTokenRefresh(): Observable<string> {
return;
}
onTokenRefresh(): Observable<string> { return; }
/**
* Subscribes you to a [topic](https://firebase.google.com/docs/notifications/android/console-topics)
@@ -92,9 +91,7 @@ export class FCM extends IonicNativePlugin {
* @returns {Promise<any>} Returns a promise resolving in result of subscribing to a topic
*/
@Cordova()
subscribeToTopic(topic: string): Promise<any> {
return;
}
subscribeToTopic(topic: string): Promise<any> { return; }
/**
* Unubscribes you from a [topic](https://firebase.google.com/docs/notifications/android/console-topics)
@@ -104,9 +101,7 @@ export class FCM extends IonicNativePlugin {
* @returns {Promise<any>} Returns a promise resolving in result of unsubscribing from a topic
*/
@Cordova()
unsubscribeFromTopic(topic: string): Promise<any> {
return;
}
unsubscribeFromTopic(topic: string): Promise<any> { return; }
/**
* Watch for incoming notifications
@@ -118,7 +113,6 @@ export class FCM extends IonicNativePlugin {
successIndex: 0,
errorIndex: 2
})
onNotification(): Observable<NotificationData> {
return;
}
onNotification(): Observable<NotificationData> { return; }
}