@infra-blocks/aws-dynamodb 0.32.0-alpha.0 → 0.32.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/types.d.ts +6 -0
- package/lib/esm/types.d.ts +6 -0
- package/package.json +1 -1
package/lib/cjs/types.d.ts
CHANGED
|
@@ -41,6 +41,12 @@ export type AttributeName = string;
|
|
|
41
41
|
*/
|
|
42
42
|
export type AttributePath = AttributeName;
|
|
43
43
|
export type AttributeValue = NativeBinary | NativeBinarySet | NativeBoolean | NativeList | NativeMap | NativeNull | NativeNumber | NativeNumberSet | NativeSet | NativeString | NativeStringSet;
|
|
44
|
+
/**
|
|
45
|
+
* Type representing a record of attributes belonging to a DynamoDB item.
|
|
46
|
+
*
|
|
47
|
+
* Undefined fields are stripped off before being marshalled, and undefined
|
|
48
|
+
* values within collections result in errors being thrown.
|
|
49
|
+
*/
|
|
44
50
|
export type Attributes = Record<AttributeName, AttributeValue>;
|
|
45
51
|
export type IndexAttributeType = Extract<NativeType, "B" | "N" | "S">;
|
|
46
52
|
export interface IndexAttributeDefinition {
|
package/lib/esm/types.d.ts
CHANGED
|
@@ -41,6 +41,12 @@ export type AttributeName = string;
|
|
|
41
41
|
*/
|
|
42
42
|
export type AttributePath = AttributeName;
|
|
43
43
|
export type AttributeValue = NativeBinary | NativeBinarySet | NativeBoolean | NativeList | NativeMap | NativeNull | NativeNumber | NativeNumberSet | NativeSet | NativeString | NativeStringSet;
|
|
44
|
+
/**
|
|
45
|
+
* Type representing a record of attributes belonging to a DynamoDB item.
|
|
46
|
+
*
|
|
47
|
+
* Undefined fields are stripped off before being marshalled, and undefined
|
|
48
|
+
* values within collections result in errors being thrown.
|
|
49
|
+
*/
|
|
44
50
|
export type Attributes = Record<AttributeName, AttributeValue>;
|
|
45
51
|
export type IndexAttributeType = Extract<NativeType, "B" | "N" | "S">;
|
|
46
52
|
export interface IndexAttributeDefinition {
|