UNPKG

dynamodb-toolbox

Version:

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

12 lines (11 loc) 739 B
export type AllAttributesSelectOption = 'ALL_ATTRIBUTES'; export type AllProjectedAttributesSelectOption = 'ALL_PROJECTED_ATTRIBUTES'; export type CountSelectOption = 'COUNT'; export type SpecificAttributesSelectOption = 'SPECIFIC_ATTRIBUTES'; export type SelectOption = AllAttributesSelectOption | AllProjectedAttributesSelectOption | CountSelectOption | SpecificAttributesSelectOption; export declare const selectOptions: readonly ["ALL_ATTRIBUTES", "ALL_PROJECTED_ATTRIBUTES", "COUNT", "SPECIFIC_ATTRIBUTES"]; export declare const selectOptionsSet: Set<SelectOption>; export declare const parseSelectOption: (select: SelectOption, { index, attributes }?: { index?: string; attributes?: string[] | undefined; }) => SelectOption;