UNPKG

dynamodb-toolbox

Version:

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

6 lines (5 loc) 409 B
import type { Table } from '../../table/index.js'; import type { Key } from '../../table/types/index.js'; import type { EntityAttributes, SchemaOf } from './entityAttributes.js'; export declare const doesSchemaValidateTableSchemaKey: (schema: SchemaOf<EntityAttributes>, key?: Key) => boolean; export declare const doesSchemaValidateTableSchema: (schema: SchemaOf<EntityAttributes>, table: Table) => boolean;