add some more docs to the template body type as well as optional composed_of
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
@@ -146,7 +146,8 @@ export type ElasticSearchCustomIndexTemplate = {
|
||||
// @public
|
||||
export type ElasticSearchCustomIndexTemplateBody = {
|
||||
index_patterns: string[];
|
||||
template: Record<string, any>;
|
||||
composed_of?: string[];
|
||||
template?: Record<string, any>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
+14
-3
@@ -50,10 +50,21 @@ export type ElasticSearchCustomIndexTemplate = {
|
||||
* @public
|
||||
*/
|
||||
export type ElasticSearchCustomIndexTemplateBody = {
|
||||
/**
|
||||
* Array of wildcard (*) expressions used to match the names of data streams and indices during creation.
|
||||
*/
|
||||
index_patterns: string[];
|
||||
// See available properties of template
|
||||
// https://www.elastic.co/guide/en/elasticsearch/reference/7.15/indices-put-template.html#put-index-template-api-request-body
|
||||
template: Record<string, any>;
|
||||
/**
|
||||
* An ordered list of component template names.
|
||||
* Component templates are merged in the order specified,
|
||||
* meaning that the last component template specified has the highest precedence.
|
||||
*/
|
||||
composed_of?: string[];
|
||||
/**
|
||||
* See available properties of template
|
||||
* https://www.elastic.co/guide/en/elasticsearch/reference/7.15/indices-put-template.html#put-index-template-api-request-body
|
||||
*/
|
||||
template?: Record<string, any>;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user