Skip to content

Commit 6b254d3

Browse files
Yousef Sultanbidoubiwa
authored andcommitted
Rename FieldDistribution type to FieldsDistribution
1 parent fa9e375 commit 6b254d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export interface SearchResponse<T, P extends SearchParams<T>> {
114114
query: string
115115
}
116116

117-
export interface FieldDistribution {
117+
export interface FieldsDistribution {
118118
[field: string]: number
119119
}
120120

@@ -200,7 +200,7 @@ export interface Update {
200200
export interface IndexStats {
201201
numberOfDocuments: number
202202
isIndexing: boolean
203-
fieldsDistribution: FieldDistribution
203+
fieldsDistribution: FieldsDistribution
204204
}
205205

206206
export interface Stats {

0 commit comments

Comments
 (0)