@tallyui/core 3.15.0 → 3.17.0
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/dist/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/types/replication.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -238,6 +238,12 @@ interface ReplicationAdapter<RxDocType, CheckpointType = any> {
|
|
|
238
238
|
*/
|
|
239
239
|
stream$?: Observable<RxReplicationPullStreamItem<RxDocType, CheckpointType>>;
|
|
240
240
|
};
|
|
241
|
+
/**
|
|
242
|
+
* A push adapter must accept the same rows twice: a cancel after a send re-sends them. A direct RxDB `pause()`
|
|
243
|
+
* before the first push starts, or RxDB 17.5 pausing a hidden non-leader tab when `multiInstance` is on
|
|
244
|
+
* (`createTallyDatabase` turns it off and refuses it), still drops the queued rows unsent (#645).
|
|
245
|
+
* `startReplication`'s own sign-in path holds instead of pausing.
|
|
246
|
+
*/
|
|
241
247
|
push?: {
|
|
242
248
|
/**
|
|
243
249
|
* Push local changes to the remote API.
|
package/package.json
CHANGED
package/src/types/replication.ts
CHANGED
|
@@ -46,6 +46,12 @@ export interface ReplicationAdapter<RxDocType, CheckpointType = any> {
|
|
|
46
46
|
stream$?: Observable<RxReplicationPullStreamItem<RxDocType, CheckpointType>>;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* A push adapter must accept the same rows twice: a cancel after a send re-sends them. A direct RxDB `pause()`
|
|
51
|
+
* before the first push starts, or RxDB 17.5 pausing a hidden non-leader tab when `multiInstance` is on
|
|
52
|
+
* (`createTallyDatabase` turns it off and refuses it), still drops the queued rows unsent (#645).
|
|
53
|
+
* `startReplication`'s own sign-in path holds instead of pausing.
|
|
54
|
+
*/
|
|
49
55
|
push?: {
|
|
50
56
|
/**
|
|
51
57
|
* Push local changes to the remote API.
|