UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

11 lines (10 loc) 406 B
import type { SchemaProps } from '../types/index.js'; import type { SetElementSchema } from './types.js'; export declare class SetSchema<ELEMENTS extends SetElementSchema = SetElementSchema, PROPS extends SchemaProps = SchemaProps> { type: 'set'; elements: ELEMENTS; props: PROPS; constructor(elements: ELEMENTS, props: PROPS); get checked(): boolean; check(path?: string): void; }