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