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
+14 -30
View File
@@ -1,18 +1,18 @@
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @hidden
*/
export interface HealthDataType {
/**
* Read only date types (see https://github.com/dariosalvi78/cordova-plugin-health#supported-data-types)
*/
* Read only date types (see https://github.com/dariosalvi78/cordova-plugin-health#supported-data-types)
*/
read?: string[];
/**
* Write only date types (see https://github.com/dariosalvi78/cordova-plugin-health#supported-data-types)
*/
* Write only date types (see https://github.com/dariosalvi78/cordova-plugin-health#supported-data-types)
*/
write?: string[];
}
@@ -201,6 +201,7 @@ export interface HealthData {
})
@Injectable()
export class Health extends IonicNativePlugin {
/**
* Tells if either Google Fit or HealthKit are available.
*
@@ -209,9 +210,7 @@ export class Health extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
isAvailable(): Promise<boolean> {
return;
}
isAvailable(): Promise<boolean> { return; }
/**
* Checks if recent Google Play Services and Google Fit are installed. If the play services are not installed,
@@ -227,9 +226,7 @@ export class Health extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
promptInstallFit(): Promise<any> {
return;
}
promptInstallFit(): Promise<any> { return; }
/**
* Requests read and/or write access to a set of data types. It is recommendable to always explain why the app
@@ -251,11 +248,7 @@ export class Health extends IonicNativePlugin {
* @return {Promise<any>}
*/
@Cordova()
requestAuthorization(
datatypes: Array<string | HealthDataType>
): Promise<any> {
return;
}
requestAuthorization(datatypes: Array<string | HealthDataType>): Promise<any> { return; }
/**
* Check if the app has authorization to read/write a set of datatypes.
@@ -269,9 +262,7 @@ export class Health extends IonicNativePlugin {
* @return {Promise<boolean>} Returns a promise that resolves with a boolean that indicates the authorization status
*/
@Cordova()
isAuthorized(datatypes: Array<string | HealthDataType>): Promise<boolean> {
return;
}
isAuthorized(datatypes: Array<string | HealthDataType>): Promise<boolean> { return; }
/**
* Gets all the data points of a certain data type within a certain time window.
@@ -305,9 +296,7 @@ export class Health extends IonicNativePlugin {
* @return {Promise<HealthData>}
*/
@Cordova()
query(queryOptions: HealthQueryOptions): Promise<HealthData> {
return;
}
query(queryOptions: HealthQueryOptions): Promise<HealthData> { return; }
/**
* Gets aggregated data in a certain time window. Usually the sum is returned for the given quantity.
@@ -331,11 +320,7 @@ export class Health extends IonicNativePlugin {
* @return {Promise<HealthData[]>}
*/
@Cordova()
queryAggregated(
queryOptionsAggregated: HealthQueryOptionsAggregated
): Promise<HealthData[]> {
return;
}
queryAggregated(queryOptionsAggregated: HealthQueryOptionsAggregated): Promise<HealthData[]> { return; }
/**
* Stores a data point.
@@ -352,7 +337,6 @@ export class Health extends IonicNativePlugin {
* @return {Promise<any>}
*/
@Cordova()
store(storeOptions: HealthStoreOptions): Promise<any> {
return;
}
store(storeOptions: HealthStoreOptions): Promise<any> { return; }
}