Skip to content

Commit

Permalink
feat(compat): add rxjs/observable/dom/* APIs to compatibility package
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonaden committed Mar 21, 2018
1 parent ac78d89 commit d9a618f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compat/observable/dom/AjaxObservable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { AjaxRequest, AjaxCreationMethod, ajaxGet, ajaxPost, ajaxDelete, ajaxPut, ajaxPatch, ajaxGetJSON,
AjaxObservable, AjaxSubscriber, AjaxResponse, AjaxError, AjaxTimeoutError } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/observable/dom/WebSocketSubject.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { WebSocketSubjectConfig, WebSocketSubject } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/observable/dom/ajax.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ajax } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/observable/dom/webSocket.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { webSocket } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions legacy-reexport/observable/dom/AjaxObservable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/observable/dom/AjaxObservable';
1 change: 1 addition & 0 deletions legacy-reexport/observable/dom/WebSocketSubject.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/observable/dom/WebSocketSubject';
1 change: 1 addition & 0 deletions legacy-reexport/observable/dom/ajax.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/observable/dom/ajax';
1 change: 1 addition & 0 deletions legacy-reexport/observable/dom/webSocket.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/observable/dom/webSocket';
5 changes: 4 additions & 1 deletion src/internal-compatibility/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ export { Subscriber } from '../internal/Subscriber';

export { fromPromise } from '../internal/observable/fromPromise';
export { fromIterable } from '../internal/observable/fromIterable';
export { AjaxCreationMethod } from '../internal/observable/dom/AjaxObservable';
export * from '../internal/observable/dom/ajax';
export * from '../internal/observable/dom/webSocket';
export * from '../internal/observable/dom/AjaxObservable';
export * from '../internal/observable/dom/WebSocketSubject';
export { CombineLatestOperator } from '../internal/observable/combineLatest';
export { dispatch } from '../internal/observable/range';
export { SubscribeOnObservable } from '../internal/observable/SubscribeOnObservable';
Expand Down

0 comments on commit d9a618f

Please sign in to comment.