UNPKG

dynamoose

Version:

Dynamoose is a modeling tool for Amazon's DynamoDB (inspired by Mongoose)

33 lines (32 loc) 1.72 kB
import { itemToJSON } from "./itemToJSON"; declare const _default: { get_provisioned_throughput: (options: Partial<import("./get_provisioned_throughput").TableSettings>) => {} | { BillingMode: "PAY_PER_REQUEST"; } | { ProvisionedThroughput: { ReadCapacityUnits: number; WriteCapacityUnits: number; }; }; index_changes: (table: import("../../Table").Table, existingIndexes?: any[]) => Promise<(import("./index_changes").ModelIndexAddChange | import("./index_changes").ModelIndexDeleteChange)[]>; convertConditionArrayRequestObjectToString: (expression: any[]) => string; getValueTypeCheckResult: (schema: import("../../Schema").Schema, value: any, key: string, settings: { type: "toDynamo" | "fromDynamo"; }, options: { standardKey?: boolean; typeIndexOptionMap?: import("../../General").ObjectType; }) => { typeDetails: import("../../Schema").DynamoDBTypeResult | import("../../Schema").DynamoDBSetTypeResult | import("../../Schema").DynamoDBTypeResult[] | import("../../Schema").DynamoDBSetTypeResult[]; matchedTypeDetailsIndex: number; matchedTypeDetailsIndexes: number[]; matchedTypeDetails: import("../../Schema").DynamoDBTypeResult | import("../../Schema").DynamoDBSetTypeResult; typeDetailsArray: (import("../../Schema").DynamoDBTypeResult | import("../../Schema").DynamoDBSetTypeResult)[]; isValidType: boolean; }; itemToJSON: typeof itemToJSON; wildcard_allowed_check: (saveUnknown: boolean | string[], checkKey: string, settings?: { splitString: string; prefixesDisallowed: boolean; }) => boolean; }; export default _default;