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
+9 -31
View File
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
export interface ZeroconfService {
@@ -65,9 +65,7 @@ export class Zeroconf extends IonicNativePlugin {
* @return {Promise<string>}
*/
@Cordova()
getHostname(): Promise<string> {
return;
}
getHostname(): Promise<string> { return; }
/**
* Publishes a new service.
@@ -79,15 +77,7 @@ export class Zeroconf extends IonicNativePlugin {
* @return {Promise<ZeroconfResult>} Returns a Promise that resolves with the registered service.
*/
@Cordova()
register(
type: string,
domain: string,
name: string,
port: number,
txtRecord: any
): Promise<ZeroconfResult> {
return;
}
register(type: string, domain: string, name: string, port: number, txtRecord: any): Promise<ZeroconfResult> { return; }
/**
* Unregisters a service.
@@ -97,18 +87,14 @@ export class Zeroconf extends IonicNativePlugin {
* @return {Promise<void>}
*/
@Cordova()
unregister(type: string, domain: string, name: string): Promise<void> {
return;
}
unregister(type: string, domain: string, name: string): Promise<void> { return; }
/**
* Unregisters all published services.
* @return {Promise<void>}
*/
@Cordova()
stop(): Promise<void> {
return;
}
stop(): Promise<void> { return; }
/**
* Starts watching for services of the specified type.
@@ -121,9 +107,7 @@ export class Zeroconf extends IonicNativePlugin {
clearFunction: 'unwatch',
clearWithArgs: true
})
watch(type: string, domain: string): Observable<ZeroconfResult> {
return;
}
watch(type: string, domain: string): Observable<ZeroconfResult> { return; }
/**
* Stops watching for services of the specified type.
@@ -132,25 +116,19 @@ export class Zeroconf extends IonicNativePlugin {
* @return {Promise<void>}
*/
@Cordova()
unwatch(type: string, domain: string): Promise<void> {
return;
}
unwatch(type: string, domain: string): Promise<void> { return; }
/**
* Closes the service browser and stops watching.
* @return {Promise<void>}
*/
@Cordova()
close(): Promise<void> {
return;
}
close(): Promise<void> { return; }
/**
* Re-initializes the plugin to clean service & browser state.
* @return {Promise<void>}
*/
@Cordova()
reInit(): Promise<void> {
return;
}
reInit(): Promise<void> { return; }
}