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