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