Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 5535c12

Browse files
committed
Remove cloudant.SearchParams interface.
1 parent b86a998 commit 5535c12

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

types/index.d.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,6 @@ declare namespace cloudant {
8888
name: string;
8989
}
9090

91-
interface SearchParams {
92-
q: string;
93-
include_docs?: boolean;
94-
bookmark?: string;
95-
limit?: number;
96-
skip?: number;
97-
stale?: string;
98-
}
99-
10091
interface Security {
10192
[key: string]: any;
10293
}

types/tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ mydb.set_security(security).then((resp) => {});
9898
mydb.get_security((err, resp) => {});
9999
mydb.get_security().then((resp) => {});
100100

101-
const params: cloudant.SearchParams = {
101+
const params: nano.DocumentSearchParams = {
102102
limit: 10,
103103
q: 'bird:*'
104104
};

0 commit comments

Comments
 (0)