UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

11 lines (10 loc) 406 B
import type { ISchemaDTO } from '../../../../schema/actions/dto/index.js'; import type { TupleSchema } from '../../../../schema/tuple/index.js'; type TupleSchemaDTO = Extract<ISchemaDTO, { type: 'tuple'; }>; /** * @debt feature "handle defaults, links & validators" */ export declare const fromTupleSchemaDTO: ({ elements, required, hidden, key, savedAs }: TupleSchemaDTO) => TupleSchema; export {};