@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 CreateModelEntityParams {
table: Table<string, string, string>;
entityName: string;
attributes: Attributes;
}
export declare const createModelEntity: (params: CreateModelEntityParams) => Entity<any>;