@webiny/api-headless-cms-ddb-es
Version:
DynamoDB and Elasticsearch storage operations plugin for Headless CMS API.
10 lines (9 loc) • 474 B
TypeScript
import type { Client } from "@webiny/api-opensearch";
import type { CmsModel } from "@webiny/api-headless-cms/types/index.js";
import type { CmsEntryOpenSearchIndex } from "../features/CmsEntryOpenSearchIndex/index.js";
export interface CreateElasticsearchIndexParams {
client: Client;
indexConfigs: CmsEntryOpenSearchIndex.Interface[];
model: CmsModel;
}
export declare const createElasticsearchIndex: (params: CreateElasticsearchIndexParams) => Promise<void>;