UNPKG

dynamodb-toolbox

Version:

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

6 lines (5 loc) 389 B
import type { Entity } from '../../entity/index.js'; import type { PrimaryKey } from '../../table/actions/parsePrimaryKey/primaryKeyParser.js'; import type { ComputeObject } from '../../types/computeObject.js'; import type { TransformedItem } from './transformedItem.js'; export type SavedItem<ENTITY extends Entity> = ComputeObject<TransformedItem<ENTITY> & PrimaryKey<ENTITY['table']>>;