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
+31 -9
View File
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
export interface ZeroconfService {
@@ -65,7 +65,9 @@ export class Zeroconf extends IonicNativePlugin {
* @return {Promise<string>}
*/
@Cordova()
getHostname(): Promise<string> { return; }
getHostname(): Promise<string> {
return;
}
/**
* Publishes a new service.
@@ -77,7 +79,15 @@ 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.
@@ -87,14 +97,18 @@ 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.
@@ -107,7 +121,9 @@ 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.
@@ -116,19 +132,25 @@ 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;
}
}