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