dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
5 lines (4 loc) • 316 B
TypeScript
import type { Entity } from '../../entity/index.js';
import type { FormattedValue } from '../../schema/index.js';
import type { ReadItemOptions } from './options.js';
export type FormattedItem<ENTITY extends Entity = Entity, OPTIONS extends ReadItemOptions<ENTITY> = {}> = FormattedValue<ENTITY['schema'], OPTIONS>;