@omegup/msync 0.0.56 → 0.0.57
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) => 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) => 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
|
@@ -1675,7 +1675,7 @@ const executes$1 = (view, input, streamName, skip = false) => {
|
|
|
1675
1675
|
out: run,
|
|
1676
1676
|
};
|
|
1677
1677
|
};
|
|
1678
|
-
const staging = (view, streamName) => pipe(input => executes$1(view, input, streamName), emptyDelta(), concatDelta, emptyDelta);
|
|
1678
|
+
const staging = (view, streamName, skip = false) => pipe(input => executes$1(view, input, streamName, skip), emptyDelta(), concatDelta, emptyDelta);
|
|
1679
1679
|
|
|
1680
1680
|
const executes = (view, input, streamName) => {
|
|
1681
1681
|
const hash = crypto$1
|
package/index.js
CHANGED
|
@@ -1677,7 +1677,7 @@ const executes$1 = (view, input, streamName, skip = false) => {
|
|
|
1677
1677
|
out: run,
|
|
1678
1678
|
};
|
|
1679
1679
|
};
|
|
1680
|
-
const staging = (view, streamName) => pipe(input => executes$1(view, input, streamName), emptyDelta(), concatDelta, emptyDelta);
|
|
1680
|
+
const staging = (view, streamName, skip = false) => pipe(input => executes$1(view, input, streamName, skip), emptyDelta(), concatDelta, emptyDelta);
|
|
1681
1681
|
|
|
1682
1682
|
const executes = (view, input, streamName) => {
|
|
1683
1683
|
const hash = crypto$1
|