This is an automated email from the ASF dual-hosted git repository.

glynnbird pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git


The following commit(s) were added to refs/heads/main by this push:
     new 0951133  Changed datatype of update_seq and pure_seq to be `number | 
string` (#317)
0951133 is described below

commit 0951133d9c1bace58ca4cd100eb062ea06ddfc99
Author: Divyansh Shekhar Gaur <[email protected]>
AuthorDate: Sat Dec 31 14:02:46 2022 +0530

    Changed datatype of update_seq and pure_seq to be `number | string` (#317)
---
 lib/nano.d.ts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/nano.d.ts b/lib/nano.d.ts
index abc79d3..c816606 100644
--- a/lib/nano.d.ts
+++ b/lib/nano.d.ts
@@ -778,7 +778,7 @@ declare namespace nano {
     instance_start_time: string;
 
     /** The number of purge operations on the database. */
-    purge_seq: number;
+    purge_seq: number | string;
 
     sizes: {
       /** The size of live data inside the database, in bytes. */
@@ -792,7 +792,7 @@ declare namespace nano {
     };
 
     /** The current number of updates to the database. */
-    update_seq: number;
+    update_seq: number | string;
   }
 
   /** OK response
@@ -1347,7 +1347,7 @@ declare namespace nano {
     total_rows: number;
 
     /** Current update sequence for the database. */
-    update_seq?: number;
+    update_seq?: number | string;
   }
 
   /** Fetch with POST _all_docs parameters.
@@ -1381,7 +1381,7 @@ declare namespace nano {
     offset: number;
     rows: Array<DocumentResponseRow<D> | DocumentLookupFailure>;
     total_rows: number;
-    update_seq?: number;
+    update_seq?: number | string;
   }
 
   /** Fetch revisions response
@@ -1390,7 +1390,7 @@ declare namespace nano {
     offset: number;
     rows: Array<DocumentResponseRow<D> | DocumentLookupFailure>;
     total_rows: number;
-    update_seq?: number;
+    update_seq?: number | string;
   }
 
   /** Search response

Reply via email to