Merge pull request #31243 from dsabanin/patch-1

[pouchdb-replication] Add missing checkpoint attribute to ReplicateOptions
This commit is contained in:
Nathan Shively-Sanders
2018-12-18 10:32:36 -08:00
committed by GitHub
+8
View File
@@ -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 {