idea-aws 4.0.0 → 4.0.1
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/dist/src/dynamoDB.d.ts +4 -4
- package/package.json +1 -1
package/dist/src/dynamoDB.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare class DynamoDB {
|
|
|
50
50
|
* Get an item of a DynamoDB table.
|
|
51
51
|
* @param params the params to apply to DynamoDB's function
|
|
52
52
|
*/
|
|
53
|
-
get(params: DDB.GetCommandInput): Promise<
|
|
53
|
+
get(params: DDB.GetCommandInput): Promise<any>;
|
|
54
54
|
/**
|
|
55
55
|
* Put an item in a DynamoDB table.
|
|
56
56
|
* @param params the params to apply to DynamoDB's function
|
|
@@ -72,7 +72,7 @@ export declare class DynamoDB {
|
|
|
72
72
|
* @param keys the keys of the objects to retrieve
|
|
73
73
|
* @param ignoreErr if set, ignore the errors and continue the bulk op.
|
|
74
74
|
*/
|
|
75
|
-
batchGet(table: string, keys: Record<string, AttributeValue>[], ignoreErr?: boolean): Promise<
|
|
75
|
+
batchGet(table: string, keys: Record<string, AttributeValue>[], ignoreErr?: boolean): Promise<any[]>;
|
|
76
76
|
protected batchGetHelper(table: string, keys: Record<string, AttributeValue>[], resultElements: Record<string, any>[], ignoreErr: boolean, currentChunk?: number, chunkSize?: number): Promise<Record<string, any>[]>;
|
|
77
77
|
/**
|
|
78
78
|
* Put an array of items in a DynamoDB table, avoiding the limits of DynamoDB's BatchWriteItem.
|
|
@@ -96,12 +96,12 @@ export declare class DynamoDB {
|
|
|
96
96
|
* Query a DynamoDB table, avoiding the limits of DynamoDB's Query.
|
|
97
97
|
* @param params the params to apply to DynamoDB's function
|
|
98
98
|
*/
|
|
99
|
-
query(params: DDB.QueryCommandInput): Promise<
|
|
99
|
+
query(params: DDB.QueryCommandInput): Promise<any[]>;
|
|
100
100
|
/**
|
|
101
101
|
* Scan a DynamoDB table, avoiding the limits of DynamoDB's Query.
|
|
102
102
|
* @param params the params to apply to DynamoDB's function
|
|
103
103
|
*/
|
|
104
|
-
scan(params: DDB.ScanCommandInput): Promise<
|
|
104
|
+
scan(params: DDB.ScanCommandInput): Promise<any[]>;
|
|
105
105
|
protected queryScanHelper(params: DDB.QueryCommandInput | DDB.ScanCommandInput, items: Record<string, any>[], isQuery: boolean): Promise<Record<string, any>[]>;
|
|
106
106
|
/**
|
|
107
107
|
* Query a DynamoDB table in the traditional way (no pagination or data mapping).
|