@webiny/api-headless-cms-ddb
Version:
DynamoDB storage operations plugin for Headless CMS API.
16 lines (15 loc) • 464 B
TypeScript
import { CmsEntry, CmsEntryListWhere } from "@webiny/api-headless-cms/types";
import { PluginsContainer } from "@webiny/plugins";
import { Field } from "./types";
interface Params {
items: CmsEntry[];
where: Partial<CmsEntryListWhere>;
plugins: PluginsContainer;
fields: Record<string, Field>;
fullTextSearch?: {
term?: string;
fields?: string[];
};
}
export declare const filter: (params: Params) => CmsEntry[];
export {};