UNPKG

@webiny/api-headless-cms-ddb-es

Version:

DynamoDB and Elasticsearch storage operations plugin for Headless CMS API.

17 lines (16 loc) 515 B
/** * We use any for input and output because they really can be anything. * Plugin, if exists, makes sure that response value is correct. */ import { CmsModelField } from "@webiny/api-headless-cms/types"; import { ElasticsearchQuerySearchValuePlugins } from "./types"; interface Params { plugins: ElasticsearchQuerySearchValuePlugins; field: CmsModelField; value: any; } /** * Transformed value can be anything. */ export declare const transformValueForSearch: (params: Params) => any; export {};