dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
11 lines (10 loc) • 423 B
TypeScript
import type { ISchemaDTO } from '../../../../schema/actions/dto/index.js';
import type { PrimitiveSchema } from '../../../../schema/index.js';
type PrimitiveSchemaDTO = Extract<ISchemaDTO, {
type: 'null' | 'boolean' | 'number' | 'string' | 'binary';
}>;
/**
* @debt feature "handle defaults, links & validators"
*/
export declare const fromPrimitiveSchemaDTO: (dto: PrimitiveSchemaDTO) => PrimitiveSchema;
export {};