UNPKG

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

Version:

DynamoDB and Elasticsearch storage operations plugin for Headless CMS API.

13 lines (12 loc) 661 B
import type { CmsModel } from "@webiny/api-headless-cms/types/index.js"; import { CmsModelFieldToGraphQLRegistry } from "@webiny/api-headless-cms/features/graphql/index.js"; import { CmsEntryOpenSearchFieldIndexRegistry } from "../../../features/CmsEntryOpenSearchFieldIndex/index.js"; interface ICreateModelFieldsParams { model: CmsModel; fieldRegistry: CmsModelFieldToGraphQLRegistry.Interface; fieldIndexRegistry: CmsEntryOpenSearchFieldIndexRegistry.Interface; } export declare const createModelFields: ({ model, fieldRegistry, fieldIndexRegistry }: ICreateModelFieldsParams) => { [x: string]: import("./types.js").ModelField; }; export {};