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