From a4d91b3b8ff2f52722d3ece024384ad6ac4d2940 Mon Sep 17 00:00:00 2001 From: Glynn Bird Date: Mon, 2 Jul 2018 18:18:46 +0100 Subject: [PATCH] nano - added startkey & endkey to DocumentListParams interface (#26749) * added startkey & endkey to DocumentListParams interface * added comments to sh show that end_key is an alias for endkey --- types/nano/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/nano/index.d.ts b/types/nano/index.d.ts index 7fafa72382..3e3faeb3cb 100644 --- a/types/nano/index.d.ts +++ b/types/nano/index.d.ts @@ -855,6 +855,9 @@ declare namespace nano { descending?: boolean; // Stop returning records when the specified key is reached. + endkey?: string; + + // Stop returning records when the specified key is reached. end_key is an alias for endkey end_key?: string; // Stop returning records when the specified document ID is reached. @@ -883,6 +886,9 @@ declare namespace nano { stale?: string; // Return records starting with the specified key. + startkey?: string; + + // Return records starting with the specified key. start_key is an alias for startkey start_key?: string; // Return records starting with the specified document ID.