@mastra/nestjs 0.2.5-alpha.0 → 0.2.5-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/_types/rxjs/dist/types/internal/AsyncSubject.d.ts +0 -2
- package/dist/_types/rxjs/dist/types/internal/BehaviorSubject.d.ts +0 -2
- package/dist/_types/rxjs/dist/types/internal/Notification.d.ts +5 -10
- package/dist/_types/rxjs/dist/types/internal/Observable.d.ts +7 -14
- package/dist/_types/rxjs/dist/types/internal/ReplaySubject.d.ts +3 -3
- package/dist/_types/rxjs/dist/types/internal/Scheduler.d.ts +8 -10
- package/dist/_types/rxjs/dist/types/internal/Subject.d.ts +1 -5
- package/dist/_types/rxjs/dist/types/internal/Subscriber.d.ts +3 -9
- package/dist/_types/rxjs/dist/types/internal/Subscription.d.ts +0 -4
- package/dist/_types/rxjs/dist/types/internal/observable/defer.d.ts +5 -6
- package/dist/_types/rxjs/dist/types/internal/observable/generate.d.ts +21 -18
- package/dist/_types/rxjs/dist/types/internal/observable/interval.d.ts +5 -6
- package/dist/_types/rxjs/dist/types/internal/observable/using.d.ts +3 -5
- package/dist/_types/rxjs/dist/types/internal/operators/auditTime.d.ts +5 -5
- package/dist/_types/rxjs/dist/types/internal/operators/bufferCount.d.ts +2 -2
- package/dist/_types/rxjs/dist/types/internal/operators/bufferWhen.d.ts +2 -2
- package/dist/_types/rxjs/dist/types/internal/operators/debounceTime.d.ts +5 -6
- package/dist/_types/rxjs/dist/types/internal/operators/delay.d.ts +4 -4
- package/dist/_types/rxjs/dist/types/internal/operators/elementAt.d.ts +4 -4
- package/dist/_types/rxjs/dist/types/internal/operators/finalize.d.ts +1 -1
- package/dist/_types/rxjs/dist/types/internal/operators/max.d.ts +5 -4
- package/dist/_types/rxjs/dist/types/internal/operators/mergeAll.d.ts +2 -2
- package/dist/_types/rxjs/dist/types/internal/operators/mergeScan.d.ts +3 -4
- package/dist/_types/rxjs/dist/types/internal/operators/min.d.ts +5 -4
- package/dist/_types/rxjs/dist/types/internal/operators/repeat.d.ts +2 -2
- package/dist/_types/rxjs/dist/types/internal/operators/repeatWhen.d.ts +1 -1
- package/dist/_types/rxjs/dist/types/internal/operators/retryWhen.d.ts +1 -1
- package/dist/_types/rxjs/dist/types/internal/operators/sampleTime.d.ts +4 -4
- package/dist/_types/rxjs/dist/types/internal/operators/skip.d.ts +1 -1
- package/dist/_types/rxjs/dist/types/internal/operators/takeUntil.d.ts +2 -3
- package/dist/_types/rxjs/dist/types/internal/operators/timeInterval.d.ts +1 -1
- package/dist/_types/rxjs/dist/types/internal/operators/timeout.d.ts +0 -2
- package/dist/_types/rxjs/dist/types/internal/operators/windowCount.d.ts +5 -6
- package/dist/_types/rxjs/dist/types/internal/operators/windowToggle.d.ts +4 -6
- package/dist/_types/rxjs/dist/types/internal/operators/windowWhen.d.ts +4 -3
- package/dist/_types/rxjs/dist/types/internal/scheduler/Action.d.ts +5 -7
- package/dist/_types/rxjs/dist/types/internal/scheduler/AsyncAction.d.ts +0 -1
- package/dist/_types/rxjs/dist/types/internal/scheduler/VirtualTimeScheduler.d.ts +0 -1
- package/dist/_types/rxjs/dist/types/internal/types.d.ts +6 -0
- package/dist/_types/rxjs/dist/types/internal/util/ArgumentOutOfRangeError.d.ts +0 -2
- package/dist/_types/rxjs/dist/types/internal/util/EmptyError.d.ts +0 -2
- package/dist/_types/rxjs/dist/types/internal/util/NotFoundError.d.ts +0 -2
- package/dist/_types/rxjs/dist/types/internal/util/SequenceError.d.ts +0 -2
- package/dist/index.cjs +460 -457
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +460 -457
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -34,10 +34,10 @@ import { MonoTypeOperatorFunction, SchedulerLike } from '../types';
|
|
|
34
34
|
* @see {@link sample}
|
|
35
35
|
* @see {@link throttleTime}
|
|
36
36
|
*
|
|
37
|
-
* @param
|
|
38
|
-
*
|
|
39
|
-
* @param
|
|
40
|
-
*
|
|
37
|
+
* @param period The sampling period expressed in milliseconds or the time unit
|
|
38
|
+
* determined internally by the optional `scheduler`.
|
|
39
|
+
* @param scheduler The {@link SchedulerLike} to use for managing the timers
|
|
40
|
+
* that handle the sampling.
|
|
41
41
|
* @return A function that returns an Observable that emits the results of
|
|
42
42
|
* sampling the values emitted by the source Observable at the specified time
|
|
43
43
|
* interval.
|
|
@@ -28,7 +28,7 @@ import { MonoTypeOperatorFunction } from '../types';
|
|
|
28
28
|
* @see {@link skipUntil}
|
|
29
29
|
* @see {@link skipLast}
|
|
30
30
|
*
|
|
31
|
-
* @param
|
|
31
|
+
* @param count The number of times, items emitted by source Observable should be skipped.
|
|
32
32
|
* @return A function that returns an Observable that skips the first `count`
|
|
33
33
|
* values emitted by the source Observable.
|
|
34
34
|
*/
|
|
@@ -32,9 +32,8 @@ import { MonoTypeOperatorFunction, ObservableInput } from '../types';
|
|
|
32
32
|
* @see {@link takeWhile}
|
|
33
33
|
* @see {@link skip}
|
|
34
34
|
*
|
|
35
|
-
* @param
|
|
36
|
-
*
|
|
37
|
-
* source Observable.
|
|
35
|
+
* @param notifier The `ObservableInput` whose first emitted value will cause the output
|
|
36
|
+
* Observable of `takeUntil` to stop emitting values from the source Observable.
|
|
38
37
|
* @return A function that returns an Observable that emits the values from the
|
|
39
38
|
* source Observable until `notifier` emits its first value.
|
|
40
39
|
*/
|
|
@@ -34,7 +34,7 @@ import { SchedulerLike, OperatorFunction } from '../types';
|
|
|
34
34
|
* // { value: 2, interval: 1000 }
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
|
-
* @param
|
|
37
|
+
* @param scheduler Scheduler used to get the current time.
|
|
38
38
|
* @return A function that returns an Observable that emits information about
|
|
39
39
|
* value and interval.
|
|
40
40
|
*/
|
|
@@ -53,12 +53,11 @@ import { OperatorFunction } from '../types';
|
|
|
53
53
|
* @see {@link windowWhen}
|
|
54
54
|
* @see {@link bufferCount}
|
|
55
55
|
*
|
|
56
|
-
* @param
|
|
57
|
-
* window.
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* beginning of the source by default.
|
|
56
|
+
* @param windowSize The maximum number of values emitted by each window.
|
|
57
|
+
* @param startWindowEvery Interval at which to start a new window. For example
|
|
58
|
+
* if `startWindowEvery` is `2`, then a new window will be started on every
|
|
59
|
+
* other value from the source. A new window is started at the beginning of the
|
|
60
|
+
* source by default.
|
|
62
61
|
* @return A function that returns an Observable of windows, which in turn are
|
|
63
62
|
* Observable of values.
|
|
64
63
|
*/
|
|
@@ -38,12 +38,10 @@ import { ObservableInput, OperatorFunction } from '../types';
|
|
|
38
38
|
* @see {@link windowWhen}
|
|
39
39
|
* @see {@link bufferToggle}
|
|
40
40
|
*
|
|
41
|
-
* @param
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* which, when it emits a next notification, signals that the
|
|
46
|
-
* associated window should complete.
|
|
41
|
+
* @param openings An observable of notifications to start new windows.
|
|
42
|
+
* @param closingSelector A function that takes the value emitted by the
|
|
43
|
+
* `openings` observable and returns an Observable, which, when it emits a next
|
|
44
|
+
* notification, signals that the associated window should complete.
|
|
47
45
|
* @return A function that returns an Observable of windows, which in turn are
|
|
48
46
|
* Observables.
|
|
49
47
|
*/
|
|
@@ -38,9 +38,10 @@ import { ObservableInput, OperatorFunction } from '../types';
|
|
|
38
38
|
* @see {@link windowToggle}
|
|
39
39
|
* @see {@link bufferWhen}
|
|
40
40
|
*
|
|
41
|
-
* @param
|
|
42
|
-
*
|
|
43
|
-
* `complete`) when to close the previous window and
|
|
41
|
+
* @param closingSelector A function that takes no arguments and returns an
|
|
42
|
+
* {@link ObservableInput} (that gets converted to Observable) that signals
|
|
43
|
+
* (on either `next` or `complete`) when to close the previous window and
|
|
44
|
+
* start a new one.
|
|
44
45
|
* @return A function that returns an Observable of windows, which in turn are
|
|
45
46
|
* Observables.
|
|
46
47
|
*/
|
|
@@ -12,8 +12,6 @@ import { SchedulerAction } from '../types';
|
|
|
12
12
|
* schedule(state?: T, delay: number = 0): Subscription;
|
|
13
13
|
* }
|
|
14
14
|
* ```
|
|
15
|
-
*
|
|
16
|
-
* @class Action<T>
|
|
17
15
|
*/
|
|
18
16
|
export declare class Action<T> extends Subscription {
|
|
19
17
|
constructor(scheduler: Scheduler, work: (this: SchedulerAction<T>, state?: T) => void);
|
|
@@ -21,11 +19,11 @@ export declare class Action<T> extends Subscription {
|
|
|
21
19
|
* Schedules this action on its parent {@link SchedulerLike} for execution. May be passed
|
|
22
20
|
* some context object, `state`. May happen at some point in the future,
|
|
23
21
|
* according to the `delay` parameter, if specified.
|
|
24
|
-
* @param
|
|
25
|
-
*
|
|
26
|
-
* @param
|
|
27
|
-
*
|
|
28
|
-
* @return
|
|
22
|
+
* @param state Some contextual data that the `work` function uses when called by the
|
|
23
|
+
* Scheduler.
|
|
24
|
+
* @param delay Time to wait before executing the work, where the time unit is implicit
|
|
25
|
+
* and defined by the Scheduler.
|
|
26
|
+
* @return A subscription in order to be able to unsubscribe the scheduled work.
|
|
29
27
|
*/
|
|
30
28
|
schedule(state?: T, delay?: number): Subscription;
|
|
31
29
|
}
|
|
@@ -16,7 +16,6 @@ export declare class AsyncAction<T> extends Action<T> {
|
|
|
16
16
|
protected recycleAsyncId(_scheduler: AsyncScheduler, id?: TimerHandle, delay?: number | null): TimerHandle | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* Immediately executes this action and the `work` it contains.
|
|
19
|
-
* @return {any}
|
|
20
19
|
*/
|
|
21
20
|
execute(state: T, delay: number): any;
|
|
22
21
|
protected _execute(state: T, _delay: number): any;
|
|
@@ -23,6 +23,12 @@ export interface UnaryFunction<T, R> {
|
|
|
23
23
|
export interface OperatorFunction<T, R> extends UnaryFunction<Observable<T>, Observable<R>> {
|
|
24
24
|
}
|
|
25
25
|
export declare type FactoryOrValue<T> = T | (() => T);
|
|
26
|
+
/**
|
|
27
|
+
* A function type interface that describes a function that accepts and returns a parameter of the same type.
|
|
28
|
+
*
|
|
29
|
+
* Used to describe {@link OperatorFunction} with the only one type: `OperatorFunction<T, T>`.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
26
32
|
export interface MonoTypeOperatorFunction<T> extends OperatorFunction<T, T> {
|
|
27
33
|
}
|
|
28
34
|
/**
|
|
@@ -14,8 +14,6 @@ export interface ArgumentOutOfRangeErrorCtor {
|
|
|
14
14
|
* @see {@link elementAt}
|
|
15
15
|
* @see {@link take}
|
|
16
16
|
* @see {@link takeLast}
|
|
17
|
-
*
|
|
18
|
-
* @class ArgumentOutOfRangeError
|
|
19
17
|
*/
|
|
20
18
|
export declare const ArgumentOutOfRangeError: ArgumentOutOfRangeErrorCtor;
|
|
21
19
|
//# sourceMappingURL=ArgumentOutOfRangeError.d.ts.map
|