@webiny/db-dynamodb 5.20.0 → 5.21.0-beta.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/BatchProcess.d.ts +1 -1
- package/package.json +9 -9
- package/utils/query.d.ts +1 -2
package/BatchProcess.d.ts
CHANGED
|
@@ -26,6 +26,6 @@ declare class BatchProcess {
|
|
|
26
26
|
addBatchDelete(args: any): () => any;
|
|
27
27
|
addBatchGet(args: any): () => any;
|
|
28
28
|
allOperationsAdded(): boolean;
|
|
29
|
-
startExecution(): import("aws-sdk/lib/request").Request<DocumentClient.
|
|
29
|
+
startExecution(): import("aws-sdk/lib/request").Request<DocumentClient.BatchWriteItemOutput, import("aws-sdk/lib/error").AWSError> | import("aws-sdk/lib/request").Request<DocumentClient.BatchGetItemOutput, import("aws-sdk/lib/error").AWSError>;
|
|
30
30
|
}
|
|
31
31
|
export default BatchProcess;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/db-dynamodb",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.21.0-beta.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"author": "Webiny Ltd",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@webiny/db": "5.
|
|
14
|
-
"@webiny/error": "5.
|
|
15
|
-
"@webiny/handler": "5.
|
|
16
|
-
"@webiny/handler-db": "5.
|
|
17
|
-
"@webiny/plugins": "5.
|
|
13
|
+
"@webiny/db": "5.21.0-beta.0",
|
|
14
|
+
"@webiny/error": "5.21.0-beta.0",
|
|
15
|
+
"@webiny/handler": "5.21.0-beta.0",
|
|
16
|
+
"@webiny/handler-db": "5.21.0-beta.0",
|
|
17
|
+
"@webiny/plugins": "5.21.0-beta.0",
|
|
18
18
|
"date-fns": "2.25.0",
|
|
19
19
|
"dot-prop": "6.0.1",
|
|
20
20
|
"fuse.js": "6.4.6",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@babel/cli": "^7.5.5",
|
|
26
26
|
"@babel/core": "^7.5.5",
|
|
27
|
-
"@webiny/cli": "^5.
|
|
28
|
-
"@webiny/project-utils": "^5.
|
|
27
|
+
"@webiny/cli": "^5.21.0-beta.0",
|
|
28
|
+
"@webiny/project-utils": "^5.21.0-beta.0",
|
|
29
29
|
"dynamodb-toolbox": "^0.3.4",
|
|
30
30
|
"jest": "^26.6.3",
|
|
31
31
|
"jest-dynalite": "^3.2.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"build": "yarn webiny run build",
|
|
42
42
|
"watch": "yarn webiny run watch"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "cad155812edbdd577a1cc858b41038fdd7a6d2d9"
|
|
45
45
|
}
|
package/utils/query.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface QueryResult<T> {
|
|
|
15
15
|
result: any | null;
|
|
16
16
|
items: T[];
|
|
17
17
|
}
|
|
18
|
-
declare type DbItem<T> = T & {
|
|
18
|
+
export declare type DbItem<T> = T & {
|
|
19
19
|
PK: string;
|
|
20
20
|
SK: string;
|
|
21
21
|
TYPE: string;
|
|
@@ -30,4 +30,3 @@ export declare const queryOne: <T>(params: QueryOneParams) => Promise<DbItem<T>>
|
|
|
30
30
|
* Will run the query to fetch the results no matter how much iterations it needs to go through.
|
|
31
31
|
*/
|
|
32
32
|
export declare const queryAll: <T>(params: QueryAllParams) => Promise<DbItem<T>[]>;
|
|
33
|
-
export {};
|