@omegup/msync 0.0.64 → 0.0.66
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/index.d.ts +1 -1
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -513,7 +513,7 @@ interface SnapshotStreamHKT extends HKT<O2> {
|
|
|
513
513
|
interface DeltaHKT extends HKT<O3> {
|
|
514
514
|
readonly out: DeltaStages<I<O3, this>[0], I<O3, this>[1], I<O3, this>[2]>;
|
|
515
515
|
}
|
|
516
|
-
declare const staging: <V extends Model, KK extends StrKey<V>>(view: View<V, Allowed$1<KK>>, streamName: string, skip?: boolean) => DeltaPipe<AllowedPick$1<V, KK>, AllowedPick$1<V, KK>, SnapshotStreamHKT, DeltaHKT>;
|
|
516
|
+
declare const staging: <V extends Model, KK extends StrKey<V>>(view: View<V, Allowed$1<KK>>, streamName: string, skip?: boolean, after?: () => Promise<void>) => DeltaPipe<AllowedPick$1<V, KK>, AllowedPick$1<V, KK>, SnapshotStreamHKT, DeltaHKT>;
|
|
517
517
|
|
|
518
518
|
type Allowed<K> = Exclude<K, 'deletedAt' | '_id'>;
|
|
519
519
|
type AllowedPick<V extends Model, K extends StrKey<V>> = OPickD<V, Allowed<K>>;
|
package/index.esm.js
CHANGED
|
@@ -1702,7 +1702,7 @@ const executes$1 = (view, input, streamName, skip = false, after) => {
|
|
|
1702
1702
|
out: run,
|
|
1703
1703
|
};
|
|
1704
1704
|
};
|
|
1705
|
-
const staging = (view, streamName, skip = false) => pipe(input => executes$1(view, input, streamName, skip), emptyDelta(), concatDelta, emptyDelta);
|
|
1705
|
+
const staging = (view, streamName, skip = false, after) => pipe(input => executes$1(view, input, streamName, skip, after), emptyDelta(), concatDelta, emptyDelta);
|
|
1706
1706
|
|
|
1707
1707
|
const executes = (view, input, streamName) => {
|
|
1708
1708
|
const hash = crypto$1
|
package/index.js
CHANGED
|
@@ -1704,7 +1704,7 @@ const executes$1 = (view, input, streamName, skip = false, after) => {
|
|
|
1704
1704
|
out: run,
|
|
1705
1705
|
};
|
|
1706
1706
|
};
|
|
1707
|
-
const staging = (view, streamName, skip = false) => pipe(input => executes$1(view, input, streamName, skip), emptyDelta(), concatDelta, emptyDelta);
|
|
1707
|
+
const staging = (view, streamName, skip = false, after) => pipe(input => executes$1(view, input, streamName, skip, after), emptyDelta(), concatDelta, emptyDelta);
|
|
1708
1708
|
|
|
1709
1709
|
const executes = (view, input, streamName) => {
|
|
1710
1710
|
const hash = crypto$1
|