dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
11 lines (10 loc) • 441 B
TypeScript
import type { ISchemaDTO } from '../../../../schema/actions/dto/index.js';
import type { MapSchema } from '../../../../schema/map/index.js';
type MapSchemaDTO = Extract<ISchemaDTO, {
type: 'map';
}>;
/**
* @debt feature "handle defaults, links & validators"
*/
export declare const fromMapSchemaDTO: ({ keyDefault, putDefault, updateDefault, keyLink, putLink, updateLink, attributes, ...props }: MapSchemaDTO) => MapSchema;
export {};