@webiny/api-headless-cms-ddb-es
Version:
DynamoDB and Elasticsearch storage operations plugin for Headless CMS API.
9 lines (8 loc) • 329 B
TypeScript
import { Entity, Table } from "@webiny/db-dynamodb/toolbox";
import { Attributes } from "../types";
export interface CreateEntryEntityParams {
table: Table<string, string, string>;
entityName: string;
attributes: Attributes;
}
export declare const createEntryEntity: (params: CreateEntryEntityParams) => Entity<any>;