mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
Fix import to use @reactivex/rxjs
This commit is contained in:
parent
7f77b8f069
commit
9d35567cb5
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
declare var window: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
/**
|
||||
* @name AdMob
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
/**
|
||||
* @name Battery Status
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
/**
|
||||
* @name BLE
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
/**
|
||||
* @name Bluetooth Serial
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
export interface CameraPreviewRect {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
// below are taken from
|
||||
// https://raw.githubusercontent.com/Microsoft/cordova-plugin-code-push/master/typings/codePush.d.ts
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
export interface DeeplinkMatch {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
export interface AccelerationData {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
export interface CompassHeading {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
/**
|
||||
* @name EstimoteBeacons
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
/**
|
||||
* @name Geofence
|
||||
* @description Monitors circular geofences around latitude/longitude coordinates, and sends a notification to the user when the boundary of a geofence is crossed. Notifications can be sent when the user enters and/or exits a geofence.
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
declare var navigator: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, CordovaInstance, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
declare var cordova: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, CordovaInstance } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
declare var cordova: any;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, CordovaProperty, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
declare var navigator: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { CordovaInstance, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
declare var Media: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, Cordova } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
/**
|
||||
* @name MusicControls
|
||||
* @description
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, CordovaProperty, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
declare var navigator: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, Cordova } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
/**
|
||||
* @name NFC
|
||||
* @description
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { get } from '../util';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
declare var window;
|
||||
declare var Promise;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, Cordova } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
/**
|
||||
* @name Shake
|
||||
* @description Handles shake gesture
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
|
||||
|
||||
export interface ToastOptions {
|
||||
|
Loading…
Reference in New Issue
Block a user