dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
11 lines (10 loc) • 394 B
TypeScript
import type { SchemaProps, SchemaRequiredProp } from '../types/index.js';
export declare const schemaRequiredPropSet: Set<SchemaRequiredProp>;
/**
* Validates an attribute shared properties
*
* @param props Schema Props
* @param path Path of the instance in the related schema (string)
* @return void
*/
export declare const checkSchemaProps: (props: SchemaProps, path?: string) => void;