Skip to content

Commit

Permalink
chore: update api_guardian
Browse files Browse the repository at this point in the history
  • Loading branch information
jakovljevic-mladen committed May 25, 2021
1 parent 729bff9 commit a1b9891
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions api_guard/dist/types/operators/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ export declare function audit<T>(durationSelector: (value: T) => ObservableInput

export declare function auditTime<T>(duration: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;

export interface BasicGroupByOptions<K, T> {
connector?: () => SubjectLike<T>;
duration?: (grouped: GroupedObservable<K, T>) => ObservableInput<any>;
element?: undefined;
}

export declare function buffer<T>(closingNotifier: Observable<any>): OperatorFunction<T, T[]>;

export declare function bufferCount<T>(bufferSize: number, startBufferEvery?: number | null): OperatorFunction<T, T[]>;
Expand Down Expand Up @@ -132,6 +138,12 @@ export declare function groupBy<T, K>(key: (value: T) => K, element: void, durat
export declare function groupBy<T, K, R>(key: (value: T) => K, element?: (value: T) => R, duration?: (grouped: GroupedObservable<K, R>) => Observable<any>): OperatorFunction<T, GroupedObservable<K, R>>;
export declare function groupBy<T, K, R>(key: (value: T) => K, element?: (value: T) => R, duration?: (grouped: GroupedObservable<K, R>) => Observable<any>, connector?: () => Subject<R>): OperatorFunction<T, GroupedObservable<K, R>>;

export interface GroupByOptionsWithElement<K, E, T> {
connector?: () => SubjectLike<E>;
duration?: (grouped: GroupedObservable<K, E>) => ObservableInput<any>;
element: (value: T) => E;
}

export declare function ignoreElements(): OperatorFunction<any, never>;

export declare function isEmpty<T>(): OperatorFunction<T, boolean>;
Expand Down Expand Up @@ -246,9 +258,9 @@ export declare function share<T>(options: ShareConfig<T>): MonoTypeOperatorFunct

export interface ShareConfig<T> {
connector?: () => SubjectLike<T>;
resetOnComplete?: boolean;
resetOnError?: boolean;
resetOnRefCountZero?: boolean;
resetOnComplete?: boolean | (() => Observable<any>);
resetOnError?: boolean | ((error: any) => Observable<any>);
resetOnRefCountZero?: boolean | (() => Observable<any>);
}

export declare function shareReplay<T>(config: ShareReplayConfig): MonoTypeOperatorFunction<T>;
Expand Down

0 comments on commit a1b9891

Please sign in to comment.