-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(reorganize): All patch operators moved to
internal
directory
Moves all patching operator implementations to a directory `internal/patching/operator`. BREAKING CHANGE: Deep imports to `rxjs/operator/*` (NOT `rxjs/operators/*`!!!) will no longer work. Again, pipe operators are still where they were.
- Loading branch information
Showing
204 changed files
with
460 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Observable } from '../../Observable'; | ||
import { audit } from '../../operator/audit'; | ||
import { audit } from '../../internal/patching/operator/audit'; | ||
|
||
Observable.prototype.audit = audit; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
audit: typeof audit; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Observable } from '../../Observable'; | ||
import { auditTime } from '../../operator/auditTime'; | ||
import { auditTime } from '../../internal/patching/operator/auditTime'; | ||
|
||
Observable.prototype.auditTime = auditTime; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
auditTime: typeof auditTime; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { buffer } from '../../operator/buffer'; | ||
import { buffer } from '../../internal/patching/operator/buffer'; | ||
|
||
Observable.prototype.buffer = buffer; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
buffer: typeof buffer; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { bufferCount } from '../../operator/bufferCount'; | ||
import { bufferCount } from '../../internal/patching/operator/bufferCount'; | ||
|
||
Observable.prototype.bufferCount = bufferCount; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
bufferCount: typeof bufferCount; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { bufferTime } from '../../operator/bufferTime'; | ||
import { bufferTime } from '../../internal/patching/operator/bufferTime'; | ||
|
||
Observable.prototype.bufferTime = bufferTime; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
bufferTime: typeof bufferTime; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { bufferToggle } from '../../operator/bufferToggle'; | ||
import { bufferToggle } from '../../internal/patching/operator/bufferToggle'; | ||
|
||
Observable.prototype.bufferToggle = bufferToggle; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
bufferToggle: typeof bufferToggle; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { bufferWhen } from '../../operator/bufferWhen'; | ||
import { bufferWhen } from '../../internal/patching/operator/bufferWhen'; | ||
|
||
Observable.prototype.bufferWhen = bufferWhen; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
bufferWhen: typeof bufferWhen; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { combineAll } from '../../operator/combineAll'; | ||
import { combineAll } from '../../internal/patching/operator/combineAll'; | ||
|
||
Observable.prototype.combineAll = combineAll; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
combineAll: typeof combineAll; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { combineLatest } from '../../operator/combineLatest'; | ||
import { combineLatest } from '../../internal/patching/operator/combineLatest'; | ||
|
||
Observable.prototype.combineLatest = combineLatest; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
combineLatest: typeof combineLatest; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { concat } from '../../operator/concat'; | ||
import { concat } from '../../internal/patching/operator/concat'; | ||
|
||
Observable.prototype.concat = concat; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
concat: typeof concat; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { concatAll } from '../../operator/concatAll'; | ||
import { concatAll } from '../../internal/patching/operator/concatAll'; | ||
|
||
Observable.prototype.concatAll = concatAll; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
concatAll: typeof concatAll; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { concatMap } from '../../operator/concatMap'; | ||
import { concatMap } from '../../internal/patching/operator/concatMap'; | ||
|
||
Observable.prototype.concatMap = concatMap; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
concatMap: typeof concatMap; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { concatMapTo } from '../../operator/concatMapTo'; | ||
import { concatMapTo } from '../../internal/patching/operator/concatMapTo'; | ||
|
||
Observable.prototype.concatMapTo = concatMapTo; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
concatMapTo: typeof concatMapTo; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { count } from '../../operator/count'; | ||
import { count } from '../../internal/patching/operator/count'; | ||
|
||
Observable.prototype.count = count; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
count: typeof count; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { debounce } from '../../operator/debounce'; | ||
import { debounce } from '../../internal/patching/operator/debounce'; | ||
|
||
Observable.prototype.debounce = debounce; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
debounce: typeof debounce; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { debounceTime } from '../../operator/debounceTime'; | ||
import { debounceTime } from '../../internal/patching/operator/debounceTime'; | ||
|
||
Observable.prototype.debounceTime = debounceTime; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
debounceTime: typeof debounceTime; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { defaultIfEmpty } from '../../operator/defaultIfEmpty'; | ||
import { defaultIfEmpty } from '../../internal/patching/operator/defaultIfEmpty'; | ||
|
||
Observable.prototype.defaultIfEmpty = defaultIfEmpty; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
defaultIfEmpty: typeof defaultIfEmpty; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { delay } from '../../operator/delay'; | ||
import { delay } from '../../internal/patching/operator/delay'; | ||
|
||
Observable.prototype.delay = delay; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
delay: typeof delay; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { delayWhen } from '../../operator/delayWhen'; | ||
import { delayWhen } from '../../internal/patching/operator/delayWhen'; | ||
|
||
Observable.prototype.delayWhen = delayWhen; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
delayWhen: typeof delayWhen; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { dematerialize } from '../../operator/dematerialize'; | ||
import { dematerialize } from '../../internal/patching/operator/dematerialize'; | ||
|
||
Observable.prototype.dematerialize = dematerialize; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
dematerialize: typeof dematerialize; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Observable } from '../../Observable'; | ||
import { distinct } from '../../operator/distinct'; | ||
import { distinct } from '../../internal/patching/operator/distinct'; | ||
|
||
Observable.prototype.distinct = distinct; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
distinct: typeof distinct; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { distinctUntilChanged } from '../../operator/distinctUntilChanged'; | ||
import { distinctUntilChanged } from '../../internal/patching/operator/distinctUntilChanged'; | ||
|
||
Observable.prototype.distinctUntilChanged = distinctUntilChanged; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
distinctUntilChanged: typeof distinctUntilChanged; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { distinctUntilKeyChanged } from '../../operator/distinctUntilKeyChanged'; | ||
import { distinctUntilKeyChanged } from '../../internal/patching/operator/distinctUntilKeyChanged'; | ||
|
||
Observable.prototype.distinctUntilKeyChanged = distinctUntilKeyChanged; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
distinctUntilKeyChanged: typeof distinctUntilKeyChanged; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
import { Observable } from '../../Observable'; | ||
import { elementAt } from '../../operator/elementAt'; | ||
import { elementAt } from '../../internal/patching/operator/elementAt'; | ||
|
||
Observable.prototype.elementAt = elementAt; | ||
|
||
declare module '../../Observable' { | ||
interface Observable<T> { | ||
elementAt: typeof elementAt; | ||
} | ||
} | ||
} |
Oops, something went wrong.