elasticsearch: expandWildcards type

This commit is contained in:
Uros Smolnik
2016-07-07 15:17:28 -07:00
parent f396791a8f
commit 9878f5ecee
+3 -3
View File
@@ -134,7 +134,7 @@ declare module Elasticsearch {
masterTimeout?: Date | number;
ignoreUnavailable?: boolean;
allowNoIndices?: boolean;
expandWildcards?: string;
expandWildcards?: "open" | "closed" | "none" | "all";
updateAllTypes?: boolean;
index: string | string[] | boolean;
type: string;
@@ -143,7 +143,7 @@ declare module Elasticsearch {
export interface IndicesGetAliasParams extends GenericParams {
ignoreUnavailable?: boolean;
allowNoIndices?: boolean;
expandWildcards?: string;
expandWildcards?: "open" | "closed" | "none" | "all";
local?: boolean;
index?: string | string[] | boolean;
name: string | string[] | boolean;
@@ -275,7 +275,7 @@ declare module Elasticsearch {
export interface SuggestParams extends GenericParams {
ignoreUnavailable?: boolean;
allowNoIndices?: boolean;
expandWildcards?: string;
expandWildcards?: "open" | "closed" | "none" | "all";
preference?: string;
routing?: string;
source?: string;