Skip to main content

elasticsearch-store / elasticsearch-client/method-helpers/helper-utils

elasticsearch-client/method-helpers/helper-utils

Functions

ensureNoTypeInMapping()

ensureNoTypeInMapping(mappings): Record<string, any>

Parameters

ParameterType
mappingsundefined | Record<string, any>

Returns

Record<string, any>

Source

elasticsearch-store/src/elasticsearch-client/method-helpers/helper-utils.ts:31


ensureTypeInMapping()

ensureTypeInMapping(body): undefined | IndexTemplateProperties

Parameters

ParameterType
bodyundefined | IndexTemplateProperties

Returns

undefined | IndexTemplateProperties

Source

elasticsearch-store/src/elasticsearch-client/method-helpers/helper-utils.ts:47


validateDistribution()

validateDistribution(distributionMeta): void

Parameters

ParameterType
distributionMetaClientMetadata

Returns

void

Source

elasticsearch-store/src/elasticsearch-client/method-helpers/helper-utils.ts:3