dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
11 lines (10 loc) • 421 B
TypeScript
import type { ISchemaDTO } from '../../../../schema/actions/dto/index.js';
import type { AnyOfSchema } from '../../../../schema/anyOf/index.js';
type AnyOfSchemaDTO = Extract<ISchemaDTO, {
type: 'anyOf';
}>;
/**
* @debt feature "handle defaults, links & validators"
*/
export declare const fromAnyOfSchemaDTO: ({ elements, required, hidden, key, savedAs, discriminator }: AnyOfSchemaDTO) => AnyOfSchema;
export {};