dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
12 lines (11 loc) • 455 B
TypeScript
import type { IEntityDTO } from '../../../entity/actions/dto/index.js';
import type { AWSConfig, FetchOpts } from './types.js';
interface Entity extends Omit<IEntityDTO, 'table'> {
icon: string;
title?: string;
description?: string;
}
export declare const putEntity: ({ awsAccountId, awsRegion, tableName, ...entity }: AWSConfig & {
tableName: string;
} & Entity, { apiUrl, fetch: _fetch, apiKey }: FetchOpts) => Promise<void>;
export {};