UNPKG

dynamodb-toolbox

Version:

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

11 lines (10 loc) 438 B
import type { ISchemaDTO } from '../../../../schema/actions/dto/index.js'; import type { ItemSchema } from '../../../../schema/item/index.js'; type ItemSchemaDTO = Extract<ISchemaDTO, { type: 'item'; }>; /** * @debt feature "handle defaults, links & validators" */ export declare const fromItemSchemaDTO: ({ keyDefault, putDefault, updateDefault, keyLink, putLink, updateLink, attributes }: ItemSchemaDTO) => ItemSchema; export {};