mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #31243 from dsabanin/patch-1
[pouchdb-replication] Add missing checkpoint attribute to ReplicateOptions
This commit is contained in:
Vendored
+8
@@ -82,6 +82,14 @@ declare namespace PouchDB {
|
||||
* The default delay will never exceed 10 minutes.
|
||||
*/
|
||||
back_off_function?(delay: number): number;
|
||||
|
||||
/**
|
||||
* Can be used if you want to disable checkpoints on the source, target, or both.
|
||||
* Setting this option to false will prevent writing checkpoints on both source and target.
|
||||
* Setting it to source will only write checkpoints on the source.
|
||||
* Setting it to target will only write checkpoints on the target.
|
||||
*/
|
||||
checkpoint?: boolean | 'target' | 'source';
|
||||
}
|
||||
|
||||
interface ReplicationEventEmitter<Content extends {}, C, F> extends EventEmitter {
|
||||
|
||||
Reference in New Issue
Block a user