@infra-blocks/aws-dynamodb 0.78.0 → 0.78.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/commands/inputs/delete-item.js +2 -1
- package/lib/cjs/commands/inputs/delete-item.js.map +1 -1
- package/lib/cjs/commands/inputs/put-item.js +2 -1
- package/lib/cjs/commands/inputs/put-item.js.map +1 -1
- package/lib/cjs/commands/inputs/query.js +3 -2
- package/lib/cjs/commands/inputs/query.js.map +1 -1
- package/lib/cjs/commands/inputs/update-item.js +2 -1
- package/lib/cjs/commands/inputs/update-item.js.map +1 -1
- package/lib/cjs/commands/lib.d.ts +1 -22
- package/lib/cjs/commands/lib.js +0 -24
- package/lib/cjs/commands/lib.js.map +1 -1
- package/lib/cjs/commands/outputs/consumed-capacity.js +4 -3
- package/lib/cjs/commands/outputs/consumed-capacity.js.map +1 -1
- package/lib/cjs/commands/outputs/delete-item.js +3 -2
- package/lib/cjs/commands/outputs/delete-item.js.map +1 -1
- package/lib/cjs/commands/outputs/get-item.js +3 -2
- package/lib/cjs/commands/outputs/get-item.js.map +1 -1
- package/lib/cjs/commands/outputs/put-item.js +4 -3
- package/lib/cjs/commands/outputs/put-item.js.map +1 -1
- package/lib/cjs/commands/outputs/query.js +3 -2
- package/lib/cjs/commands/outputs/query.js.map +1 -1
- package/lib/cjs/commands/outputs/update-item.js +3 -2
- package/lib/cjs/commands/outputs/update-item.js.map +1 -1
- package/lib/cjs/commands/outputs/write-transaction.js +2 -1
- package/lib/cjs/commands/outputs/write-transaction.js.map +1 -1
- package/lib/esm/commands/inputs/delete-item.js +2 -1
- package/lib/esm/commands/inputs/delete-item.js.map +1 -1
- package/lib/esm/commands/inputs/put-item.js +2 -1
- package/lib/esm/commands/inputs/put-item.js.map +1 -1
- package/lib/esm/commands/inputs/query.js +2 -1
- package/lib/esm/commands/inputs/query.js.map +1 -1
- package/lib/esm/commands/inputs/update-item.js +2 -1
- package/lib/esm/commands/inputs/update-item.js.map +1 -1
- package/lib/esm/commands/lib.d.ts +1 -22
- package/lib/esm/commands/lib.js +0 -23
- package/lib/esm/commands/lib.js.map +1 -1
- package/lib/esm/commands/outputs/consumed-capacity.js +2 -1
- package/lib/esm/commands/outputs/consumed-capacity.js.map +1 -1
- package/lib/esm/commands/outputs/delete-item.js +2 -1
- package/lib/esm/commands/outputs/delete-item.js.map +1 -1
- package/lib/esm/commands/outputs/get-item.js +2 -1
- package/lib/esm/commands/outputs/get-item.js.map +1 -1
- package/lib/esm/commands/outputs/put-item.js +2 -1
- package/lib/esm/commands/outputs/put-item.js.map +1 -1
- package/lib/esm/commands/outputs/query.js +2 -1
- package/lib/esm/commands/outputs/query.js.map +1 -1
- package/lib/esm/commands/outputs/update-item.js +2 -1
- package/lib/esm/commands/outputs/update-item.js.map +1 -1
- package/lib/esm/commands/outputs/write-transaction.js +2 -1
- package/lib/esm/commands/outputs/write-transaction.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteItemInput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const index_js_1 = require("../expressions/index.js");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const lib_js_2 = require("./lib.js");
|
|
@@ -12,7 +13,7 @@ function encode(input) {
|
|
|
12
13
|
return (0, lib_js_1.unsetUndefined)({
|
|
13
14
|
TableName: input.table,
|
|
14
15
|
Key: input.key,
|
|
15
|
-
ConditionExpression: (0,
|
|
16
|
+
ConditionExpression: (0, toolkit_1.ifDefined)(input.condition, (v) => formatter.format(index_js_1.Condition.from(v))),
|
|
16
17
|
ExpressionAttributeNames: formatter.getExpressionAttributeNames(),
|
|
17
18
|
ExpressionAttributeValues: formatter.getExpressionAttributeValues(),
|
|
18
19
|
ReturnConsumedCapacity: input.returnConsumedCapacity,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/delete-item.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/delete-item.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAElD,sDAAyE;AACzE,sCAA2C;AAK3C,qCAAgD;AAqCnC,QAAA,eAAe,GAAG;IAC7B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAyB;IAEzB,MAAM,SAAS,GAAG,6BAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,IAAA,uBAAc,EAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,mBAAmB,EAAE,IAAA,mBAAS,EAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,SAAS,CAAC,MAAM,CAAC,oBAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACpC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;QACnE,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,mCAAmC,EACjC,KAAK,CAAC,mCAAmC;KAC5C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutItemInput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const index_js_1 = require("../expressions/index.js");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const lib_js_2 = require("./lib.js");
|
|
@@ -12,7 +13,7 @@ function encode(input) {
|
|
|
12
13
|
return (0, lib_js_1.unsetUndefined)({
|
|
13
14
|
TableName: input.table,
|
|
14
15
|
Item: input.item,
|
|
15
|
-
ConditionExpression: (0,
|
|
16
|
+
ConditionExpression: (0, toolkit_1.ifDefined)(input.condition, (v) => formatter.format(index_js_1.Condition.from(v))),
|
|
16
17
|
ExpressionAttributeNames: formatter.getExpressionAttributeNames(),
|
|
17
18
|
ExpressionAttributeValues: formatter.getExpressionAttributeValues(),
|
|
18
19
|
ReturnConsumedCapacity: input.returnConsumedCapacity,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/put-item.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/put-item.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAElD,sDAAyE;AACzE,sCAA2C;AAM3C,qCAAgD;AAyCnC,QAAA,YAAY,GAAG;IAC1B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAsB;IAEtB,MAAM,SAAS,GAAG,6BAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,IAAA,uBAAc,EAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,mBAAmB,EAAE,IAAA,mBAAS,EAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,SAAS,CAAC,MAAM,CAAC,oBAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACpC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;QACnE,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,2BAA2B,EAAE,KAAK,CAAC,2BAA2B;QAC9D,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,mCAAmC,EACjC,KAAK,CAAC,mCAAmC;KAC5C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryInput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const index_js_1 = require("../expressions/index.js");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const lib_js_2 = require("./lib.js");
|
|
@@ -19,8 +20,8 @@ function encode(input) {
|
|
|
19
20
|
ScanIndexForward: input.scanIndexForward,
|
|
20
21
|
// Expressions
|
|
21
22
|
KeyConditionExpression: formatter.format(index_js_1.KeyCondition.from(input.keyCondition)),
|
|
22
|
-
FilterExpression: (0,
|
|
23
|
-
ProjectionExpression: (0,
|
|
23
|
+
FilterExpression: (0, toolkit_1.ifDefined)(input.filter, (v) => formatter.format(index_js_1.Filter.from(v))),
|
|
24
|
+
ProjectionExpression: (0, toolkit_1.ifDefined)(input.projection, (v) => formatter.format(index_js_1.Projection.from(v))),
|
|
24
25
|
ExpressionAttributeNames: formatter.getExpressionAttributeNames(),
|
|
25
26
|
ExpressionAttributeValues: formatter.getExpressionAttributeValues(),
|
|
26
27
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/inputs/query.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/inputs/query.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAElD,sDAOiC;AACjC,sCAA2C;AAC3C,qCAGkB;AAiBL,QAAA,UAAU,GAAG;IACxB,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAoB;IAEpB,MAAM,SAAS,GAAG,6BAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,IAAA,uBAAc,EAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;QAC1C,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,cAAc;QACd,sBAAsB,EAAE,SAAS,CAAC,MAAM,CACtC,uBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CACtC;QACD,gBAAgB,EAAE,IAAA,mBAAS,EAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAC9C,SAAS,CAAC,MAAM,CAAC,iBAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACjC;QACD,oBAAoB,EAAE,IAAA,mBAAS,EAAC,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CACtD,SAAS,CAAC,MAAM,CAAC,qBAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACrC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;KACpE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateItemInput = exports.UPDATE_ITEM_RETURN_VALUES = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const index_js_1 = require("../expressions/index.js");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const lib_js_2 = require("./lib.js");
|
|
@@ -20,7 +21,7 @@ function encode(input) {
|
|
|
20
21
|
TableName: input.table,
|
|
21
22
|
Key: input.key,
|
|
22
23
|
UpdateExpression: formatter.format(index_js_1.Update.from(input.update)),
|
|
23
|
-
ConditionExpression: (0,
|
|
24
|
+
ConditionExpression: (0, toolkit_1.ifDefined)(input.condition, (v) => formatter.format(index_js_1.Condition.from(v))),
|
|
24
25
|
ExpressionAttributeNames: formatter.getExpressionAttributeNames(),
|
|
25
26
|
ExpressionAttributeValues: formatter.getExpressionAttributeValues(),
|
|
26
27
|
ReturnConsumedCapacity: input.returnConsumedCapacity,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/update-item.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/update-item.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAGlD,sDAKiC;AACjC,sCAA2C;AAK3C,qCAAgD;AAWnC,QAAA,yBAAyB,GAAyC;IAC7E,MAAM;IACN,SAAS;IACT,aAAa;IACb,SAAS;IACT,aAAa;CACd,CAAC;AAqCW,QAAA,eAAe,GAAG;IAC7B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAyB;IAEzB,MAAM,SAAS,GAAG,6BAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,IAAA,uBAAc,EAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,gBAAgB,EAAE,SAAS,CAAC,MAAM,CAAC,iBAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7D,mBAAmB,EAAE,IAAA,mBAAS,EAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,SAAS,CAAC,MAAM,CAAC,oBAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACpC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;QACnE,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,mCAAmC,EACjC,KAAK,CAAC,mCAAmC;KAC5C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyRecord
|
|
1
|
+
import type { AnyRecord } from "@infra-blocks/types";
|
|
2
2
|
/**
|
|
3
3
|
* Modifies an object inplace by removing `undefined` properties.
|
|
4
4
|
*
|
|
@@ -8,24 +8,3 @@ import type { AnyRecord, Transform } from "@infra-blocks/types";
|
|
|
8
8
|
* properties have been omitted.
|
|
9
9
|
*/
|
|
10
10
|
export declare function unsetUndefined<O extends AnyRecord>(obj: O): O;
|
|
11
|
-
/**
|
|
12
|
-
* Takes a value and transforms it only if it is not `undefined`.
|
|
13
|
-
*
|
|
14
|
-
* If the value is `undefined`, than the transformation function is not called
|
|
15
|
-
* and the function immediately returns `undefined`.
|
|
16
|
-
*
|
|
17
|
-
* Otherwise, the function is called with the guarantee that T is defined.
|
|
18
|
-
*
|
|
19
|
-
* This is a useful function to shorten certain snippets.
|
|
20
|
-
* @example
|
|
21
|
-
* const x = someVariable !== undefined ? someFunction(someVariable) : undefined;
|
|
22
|
-
* // Becomes
|
|
23
|
-
* const x = ifDefined(someVariable, someFunction);
|
|
24
|
-
*
|
|
25
|
-
* @param value - The value to test and forward to the function.
|
|
26
|
-
* @param transform - The transformation function.
|
|
27
|
-
*
|
|
28
|
-
* @returns Either `undefined` when the input is `undefined`, or the return value
|
|
29
|
-
* of the transform.
|
|
30
|
-
*/
|
|
31
|
-
export declare function ifDefined<T, R>(value: T | undefined, transform: Transform<T, R>): R | undefined;
|
package/lib/cjs/commands/lib.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unsetUndefined = unsetUndefined;
|
|
4
|
-
exports.ifDefined = ifDefined;
|
|
5
4
|
const es_toolkit_1 = require("es-toolkit");
|
|
6
5
|
// TODO: this should make it to my own toolkit lib mfk.
|
|
7
6
|
/**
|
|
@@ -20,27 +19,4 @@ function unsetUndefined(obj) {
|
|
|
20
19
|
}
|
|
21
20
|
return obj;
|
|
22
21
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Takes a value and transforms it only if it is not `undefined`.
|
|
25
|
-
*
|
|
26
|
-
* If the value is `undefined`, than the transformation function is not called
|
|
27
|
-
* and the function immediately returns `undefined`.
|
|
28
|
-
*
|
|
29
|
-
* Otherwise, the function is called with the guarantee that T is defined.
|
|
30
|
-
*
|
|
31
|
-
* This is a useful function to shorten certain snippets.
|
|
32
|
-
* @example
|
|
33
|
-
* const x = someVariable !== undefined ? someFunction(someVariable) : undefined;
|
|
34
|
-
* // Becomes
|
|
35
|
-
* const x = ifDefined(someVariable, someFunction);
|
|
36
|
-
*
|
|
37
|
-
* @param value - The value to test and forward to the function.
|
|
38
|
-
* @param transform - The transformation function.
|
|
39
|
-
*
|
|
40
|
-
* @returns Either `undefined` when the input is `undefined`, or the return value
|
|
41
|
-
* of the transform.
|
|
42
|
-
*/
|
|
43
|
-
function ifDefined(value, transform) {
|
|
44
|
-
return value !== undefined ? transform(value) : undefined;
|
|
45
|
-
}
|
|
46
22
|
//# sourceMappingURL=lib.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../../../src/commands/lib.ts"],"names":[],"mappings":";;AAYA,wCAOC;
|
|
1
|
+
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../../../src/commands/lib.ts"],"names":[],"mappings":";;AAYA,wCAOC;AAlBD,2CAAyC;AAEzC,uDAAuD;AACvD;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAsB,GAAM;IACxD,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACzC,IAAI,IAAA,wBAAW,EAAC,CAAC,CAAC,EAAE,CAAC;YACnB,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CapacityUnits = exports.ConsumedCapacity = void 0;
|
|
4
4
|
const checks_1 = require("@infra-blocks/checks");
|
|
5
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
5
6
|
const object_1 = require("es-toolkit/object");
|
|
6
7
|
const lib_js_1 = require("../lib.js");
|
|
7
8
|
exports.ConsumedCapacity = {
|
|
@@ -9,9 +10,9 @@ exports.ConsumedCapacity = {
|
|
|
9
10
|
return (0, lib_js_1.unsetUndefined)({
|
|
10
11
|
...exports.CapacityUnits.decode(output),
|
|
11
12
|
tableName: (0, checks_1.checkNotNull)(output.TableName),
|
|
12
|
-
table: (0,
|
|
13
|
-
globalSecondaryIndexes: (0,
|
|
14
|
-
localSecondaryIndexes: (0,
|
|
13
|
+
table: (0, toolkit_1.ifDefined)(output.Table, exports.CapacityUnits.decode),
|
|
14
|
+
globalSecondaryIndexes: (0, toolkit_1.ifDefined)(output.GlobalSecondaryIndexes, (gsis) => (0, object_1.mapValues)(gsis, exports.CapacityUnits.decode)),
|
|
15
|
+
localSecondaryIndexes: (0, toolkit_1.ifDefined)(output.LocalSecondaryIndexes, (lsis) => (0, object_1.mapValues)(lsis, exports.CapacityUnits.decode)),
|
|
15
16
|
});
|
|
16
17
|
},
|
|
17
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consumed-capacity.js","sourceRoot":"","sources":["../../../../src/commands/outputs/consumed-capacity.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AACpD,8CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"consumed-capacity.js","sourceRoot":"","sources":["../../../../src/commands/outputs/consumed-capacity.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AACpD,mDAAkD;AAClD,8CAA8C;AAC9C,sCAA2C;AAe9B,QAAA,gBAAgB,GAAG;IAC9B,MAAM,CAAC,MAA4B;QACjC,OAAO,IAAA,uBAAc,EAAC;YACpB,GAAG,qBAAa,CAAC,MAAM,CAAC,MAAM,CAAC;YAC/B,SAAS,EAAE,IAAA,qBAAY,EAAC,MAAM,CAAC,SAAS,CAAC;YACzC,KAAK,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,KAAK,EAAE,qBAAa,CAAC,MAAM,CAAC;YACpD,sBAAsB,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,sBAAsB,EAAE,CAAC,IAAI,EAAE,EAAE,CACxE,IAAA,kBAAS,EAAC,IAAI,EAAE,qBAAa,CAAC,MAAM,CAAC,CACtC;YACD,qBAAqB,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,qBAAqB,EAAE,CAAC,IAAI,EAAE,EAAE,CACtE,IAAA,kBAAS,EAAC,IAAI,EAAE,qBAAa,CAAC,MAAM,CAAC,CACtC;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAC;AASW,QAAA,aAAa,GAAG;IAC3B,MAAM,CAAC,MAIN;QACC,OAAO,IAAA,uBAAc,EAAC;YACpB,aAAa,EAAE,IAAA,qBAAY,EAAC,MAAM,CAAC,aAAa,CAAC;YACjD,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;YAC3C,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;SAC9C,CAAC,CAAC;IACL,CAAC;CACF,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteItemOutput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const types_1 = require("@infra-blocks/types");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const consumed_capacity_js_1 = require("./consumed-capacity.js");
|
|
@@ -9,8 +10,8 @@ exports.DeleteItemOutput = {
|
|
|
9
10
|
};
|
|
10
11
|
function decode(output) {
|
|
11
12
|
return (0, lib_js_1.unsetUndefined)({
|
|
12
|
-
item: (0,
|
|
13
|
-
consumedCapacity: (0,
|
|
13
|
+
item: (0, toolkit_1.ifDefined)(output.Attributes, (types_1.trusted)),
|
|
14
|
+
consumedCapacity: (0, toolkit_1.ifDefined)(output.ConsumedCapacity, consumed_capacity_js_1.ConsumedCapacity.decode),
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
//# sourceMappingURL=delete-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/delete-item.ts"],"names":[],"mappings":";;;AACA,+CAA8C;AAE9C,
|
|
1
|
+
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/delete-item.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAClD,+CAA8C;AAE9C,sCAA2C;AAC3C,iEAA0D;AAO7C,QAAA,gBAAgB,GAAG;IAC9B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAA2B;IAE3B,OAAO,IAAA,uBAAc,EAAC;QACpB,IAAI,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,UAAU,EAAE,CAAA,eAAU,CAAA,CAAC;QAC9C,gBAAgB,EAAE,IAAA,mBAAS,EACzB,MAAM,CAAC,gBAAgB,EACvB,uCAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetItemOutput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const types_1 = require("@infra-blocks/types");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const consumed_capacity_js_1 = require("./consumed-capacity.js");
|
|
@@ -9,8 +10,8 @@ exports.GetItemOutput = {
|
|
|
9
10
|
};
|
|
10
11
|
function decode(output) {
|
|
11
12
|
return (0, lib_js_1.unsetUndefined)({
|
|
12
|
-
item: (0,
|
|
13
|
-
consumedCapacity: (0,
|
|
13
|
+
item: (0, toolkit_1.ifDefined)(output.Item, (types_1.trusted)),
|
|
14
|
+
consumedCapacity: (0, toolkit_1.ifDefined)(output.ConsumedCapacity, consumed_capacity_js_1.ConsumedCapacity.decode),
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
//# sourceMappingURL=get-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/get-item.ts"],"names":[],"mappings":";;;AACA,+CAA8C;AAE9C,
|
|
1
|
+
{"version":3,"file":"get-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/get-item.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAClD,+CAA8C;AAE9C,sCAA2C;AAC3C,iEAA0D;AAO7C,QAAA,aAAa,GAAG;IAC3B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAAwB;IAExB,OAAO,IAAA,uBAAc,EAAC;QACpB,IAAI,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,IAAI,EAAE,CAAA,eAAU,CAAA,CAAC;QACxC,gBAAgB,EAAE,IAAA,mBAAS,EACzB,MAAM,CAAC,gBAAgB,EACvB,uCAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutItemOutput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const types_1 = require("@infra-blocks/types");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const consumed_capacity_js_1 = require("./consumed-capacity.js");
|
|
@@ -10,9 +11,9 @@ exports.PutItemOutput = {
|
|
|
10
11
|
};
|
|
11
12
|
function decode(output) {
|
|
12
13
|
return (0, lib_js_1.unsetUndefined)({
|
|
13
|
-
item: (0,
|
|
14
|
-
itemCollectionMetrics: (0,
|
|
15
|
-
consumedCapacity: (0,
|
|
14
|
+
item: (0, toolkit_1.ifDefined)(output.Attributes, (types_1.trusted)),
|
|
15
|
+
itemCollectionMetrics: (0, toolkit_1.ifDefined)(output.ItemCollectionMetrics, item_collection_metrics_js_1.ItemCollectionMetrics.decode),
|
|
16
|
+
consumedCapacity: (0, toolkit_1.ifDefined)(output.ConsumedCapacity, consumed_capacity_js_1.ConsumedCapacity.decode),
|
|
16
17
|
});
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=put-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/put-item.ts"],"names":[],"mappings":";;;AACA,+CAA8C;AAE9C,
|
|
1
|
+
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/put-item.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAClD,+CAA8C;AAE9C,sCAA2C;AAC3C,iEAA0D;AAC1D,6EAAqE;AAiBxD,QAAA,aAAa,GAAG;IAC3B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAAwB;IAExB,OAAO,IAAA,uBAAc,EAAC;QACpB,IAAI,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,UAAU,EAAE,CAAA,eAAU,CAAA,CAAC;QAC9C,qBAAqB,EAAE,IAAA,mBAAS,EAC9B,MAAM,CAAC,qBAAqB,EAC5B,kDAAqB,CAAC,MAAM,CAC7B;QACD,gBAAgB,EAAE,IAAA,mBAAS,EACzB,MAAM,CAAC,gBAAgB,EACvB,uCAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryOutput = void 0;
|
|
4
4
|
const checks_1 = require("@infra-blocks/checks");
|
|
5
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
5
6
|
const types_1 = require("@infra-blocks/types");
|
|
6
7
|
const lib_js_1 = require("../lib.js");
|
|
7
8
|
const consumed_capacity_js_1 = require("./consumed-capacity.js");
|
|
@@ -13,8 +14,8 @@ function decode(output) {
|
|
|
13
14
|
count: (0, checks_1.checkNotNull)(output.Count),
|
|
14
15
|
items: (output.Items ?? []),
|
|
15
16
|
scannedCount: (0, checks_1.checkNotNull)(output.ScannedCount),
|
|
16
|
-
consumedCapacity: (0,
|
|
17
|
-
lastEvaluatedKey: (0,
|
|
17
|
+
consumedCapacity: (0, toolkit_1.ifDefined)(output.ConsumedCapacity, consumed_capacity_js_1.ConsumedCapacity.decode),
|
|
18
|
+
lastEvaluatedKey: (0, toolkit_1.ifDefined)(output.LastEvaluatedKey, (types_1.trusted)),
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
21
|
//# sourceMappingURL=query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/outputs/query.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AACpD,+CAA8C;AAE9C,
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/outputs/query.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AACpD,mDAAkD;AAClD,+CAA8C;AAE9C,sCAA2C;AAC3C,iEAA0D;AAa7C,QAAA,WAAW,GAAG;IACzB,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CAGb,MAA0B;IAC1B,OAAO,IAAA,uBAAc,EAAC;QACpB,KAAK,EAAE,IAAA,qBAAY,EAAC,MAAM,CAAC,KAAK,CAAC;QACjC,KAAK,EAAE,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAa;QACvC,YAAY,EAAE,IAAA,qBAAY,EAAC,MAAM,CAAC,YAAY,CAAC;QAC/C,gBAAgB,EAAE,IAAA,mBAAS,EACzB,MAAM,CAAC,gBAAgB,EACvB,uCAAgB,CAAC,MAAM,CACxB;QACD,gBAAgB,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,gBAAgB,EAAE,CAAA,eAAU,CAAA,CAAC;KACjE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateItemOutput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const types_1 = require("@infra-blocks/types");
|
|
5
6
|
const lib_js_1 = require("../lib.js");
|
|
6
7
|
const consumed_capacity_js_1 = require("./consumed-capacity.js");
|
|
@@ -9,8 +10,8 @@ exports.UpdateItemOutput = {
|
|
|
9
10
|
};
|
|
10
11
|
function decode(output) {
|
|
11
12
|
return (0, lib_js_1.unsetUndefined)({
|
|
12
|
-
attributes: (0,
|
|
13
|
-
consumedCapacity: (0,
|
|
13
|
+
attributes: (0, toolkit_1.ifDefined)(output.Attributes, (types_1.trusted)),
|
|
14
|
+
consumedCapacity: (0, toolkit_1.ifDefined)(output.ConsumedCapacity, consumed_capacity_js_1.ConsumedCapacity.decode),
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
//# sourceMappingURL=update-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/update-item.ts"],"names":[],"mappings":";;;AACA,+CAA8C;AAE9C,
|
|
1
|
+
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/update-item.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAClD,+CAA8C;AAE9C,sCAA2C;AAC3C,iEAA0D;AAO7C,QAAA,gBAAgB,GAAG;IAC9B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAA2B;IAE3B,OAAO,IAAA,uBAAc,EAAC;QACpB,UAAU,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,UAAU,EAAE,CAAA,eAAU,CAAA,CAAC;QACpD,gBAAgB,EAAE,IAAA,mBAAS,EACzB,MAAM,CAAC,gBAAgB,EACvB,uCAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WriteTransactionOutput = void 0;
|
|
4
|
+
const toolkit_1 = require("@infra-blocks/toolkit");
|
|
4
5
|
const lib_js_1 = require("../lib.js");
|
|
5
6
|
const consumed_capacity_js_1 = require("./consumed-capacity.js");
|
|
6
7
|
exports.WriteTransactionOutput = {
|
|
@@ -8,7 +9,7 @@ exports.WriteTransactionOutput = {
|
|
|
8
9
|
};
|
|
9
10
|
function decode(output) {
|
|
10
11
|
return (0, lib_js_1.unsetUndefined)({
|
|
11
|
-
consumedCapacity: (0,
|
|
12
|
+
consumedCapacity: (0, toolkit_1.ifDefined)(output.ConsumedCapacity, (v) => v.map(consumed_capacity_js_1.ConsumedCapacity.decode)),
|
|
12
13
|
});
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=write-transaction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-transaction.js","sourceRoot":"","sources":["../../../../src/commands/outputs/write-transaction.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"write-transaction.js","sourceRoot":"","sources":["../../../../src/commands/outputs/write-transaction.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAClD,sCAA2C;AAC3C,iEAA0D;AAM7C,QAAA,sBAAsB,GAAG;IACpC,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CAAC,MAAkC;IAChD,OAAO,IAAA,uBAAc,EAAC;QACpB,gBAAgB,EAAE,IAAA,mBAAS,EAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CACzD,CAAC,CAAC,GAAG,CAAC,uCAAgB,CAAC,MAAM,CAAC,CAC/B;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { Condition } from "../expressions/index.js";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ExpressionsFormatter } from "./lib.js";
|
|
4
5
|
export const DeleteItemInput = {
|
|
5
6
|
encode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/delete-item.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/delete-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAuB,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAK3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAqChD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAyB;IAEzB,MAAM,SAAS,GAAG,oBAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,cAAc,CAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,mBAAmB,EAAE,SAAS,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACpC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;QACnE,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,mCAAmC,EACjC,KAAK,CAAC,mCAAmC;KAC5C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { Condition } from "../expressions/index.js";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ExpressionsFormatter } from "./lib.js";
|
|
4
5
|
export const PutItemInput = {
|
|
5
6
|
encode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/put-item.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/put-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAuB,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAM3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAyChD,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAsB;IAEtB,MAAM,SAAS,GAAG,oBAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,cAAc,CAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,mBAAmB,EAAE,SAAS,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACpC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;QACnE,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,2BAA2B,EAAE,KAAK,CAAC,2BAA2B;QAC9D,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,mCAAmC,EACjC,KAAK,CAAC,mCAAmC;KAC5C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { Filter, KeyCondition, Projection, } from "../expressions/index.js";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ExpressionsFormatter, } from "./lib.js";
|
|
4
5
|
export const QueryInput = {
|
|
5
6
|
encode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/inputs/query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/inputs/query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EACL,MAAM,EAEN,YAAY,EAEZ,UAAU,GAEX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAEL,oBAAoB,GACrB,MAAM,UAAU,CAAC;AAiBlB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAoB;IAEpB,MAAM,SAAS,GAAG,oBAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,cAAc,CAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;QAC1C,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,cAAc;QACd,sBAAsB,EAAE,SAAS,CAAC,MAAM,CACtC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CACtC;QACD,gBAAgB,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAC9C,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACjC;QACD,oBAAoB,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CACtD,SAAS,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACrC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;KACpE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { Condition, Update, } from "../expressions/index.js";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ExpressionsFormatter } from "./lib.js";
|
|
4
5
|
export const UPDATE_ITEM_RETURN_VALUES = [
|
|
5
6
|
"NONE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/update-item.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/inputs/update-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EACL,SAAS,EAET,MAAM,GAEP,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAK3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAWhD,MAAM,CAAC,MAAM,yBAAyB,GAAyC;IAC7E,MAAM;IACN,SAAS;IACT,aAAa;IACb,SAAS;IACT,aAAa;CACd,CAAC;AAqCF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,KAAyB;IAEzB,MAAM,SAAS,GAAG,oBAAoB,CAAC,MAAM,EAAE,CAAC;IAChD,OAAO,cAAc,CAAC;QACpB,SAAS,EAAE,KAAK,CAAC,KAAK;QACtB,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,gBAAgB,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7D,mBAAmB,EAAE,SAAS,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACpC;QACD,wBAAwB,EAAE,SAAS,CAAC,2BAA2B,EAAE;QACjE,yBAAyB,EAAE,SAAS,CAAC,4BAA4B,EAAE;QACnE,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;QACpD,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,mCAAmC,EACjC,KAAK,CAAC,mCAAmC;KAC5C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyRecord
|
|
1
|
+
import type { AnyRecord } from "@infra-blocks/types";
|
|
2
2
|
/**
|
|
3
3
|
* Modifies an object inplace by removing `undefined` properties.
|
|
4
4
|
*
|
|
@@ -8,24 +8,3 @@ import type { AnyRecord, Transform } from "@infra-blocks/types";
|
|
|
8
8
|
* properties have been omitted.
|
|
9
9
|
*/
|
|
10
10
|
export declare function unsetUndefined<O extends AnyRecord>(obj: O): O;
|
|
11
|
-
/**
|
|
12
|
-
* Takes a value and transforms it only if it is not `undefined`.
|
|
13
|
-
*
|
|
14
|
-
* If the value is `undefined`, than the transformation function is not called
|
|
15
|
-
* and the function immediately returns `undefined`.
|
|
16
|
-
*
|
|
17
|
-
* Otherwise, the function is called with the guarantee that T is defined.
|
|
18
|
-
*
|
|
19
|
-
* This is a useful function to shorten certain snippets.
|
|
20
|
-
* @example
|
|
21
|
-
* const x = someVariable !== undefined ? someFunction(someVariable) : undefined;
|
|
22
|
-
* // Becomes
|
|
23
|
-
* const x = ifDefined(someVariable, someFunction);
|
|
24
|
-
*
|
|
25
|
-
* @param value - The value to test and forward to the function.
|
|
26
|
-
* @param transform - The transformation function.
|
|
27
|
-
*
|
|
28
|
-
* @returns Either `undefined` when the input is `undefined`, or the return value
|
|
29
|
-
* of the transform.
|
|
30
|
-
*/
|
|
31
|
-
export declare function ifDefined<T, R>(value: T | undefined, transform: Transform<T, R>): R | undefined;
|
package/lib/esm/commands/lib.js
CHANGED
|
@@ -16,27 +16,4 @@ export function unsetUndefined(obj) {
|
|
|
16
16
|
}
|
|
17
17
|
return obj;
|
|
18
18
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Takes a value and transforms it only if it is not `undefined`.
|
|
21
|
-
*
|
|
22
|
-
* If the value is `undefined`, than the transformation function is not called
|
|
23
|
-
* and the function immediately returns `undefined`.
|
|
24
|
-
*
|
|
25
|
-
* Otherwise, the function is called with the guarantee that T is defined.
|
|
26
|
-
*
|
|
27
|
-
* This is a useful function to shorten certain snippets.
|
|
28
|
-
* @example
|
|
29
|
-
* const x = someVariable !== undefined ? someFunction(someVariable) : undefined;
|
|
30
|
-
* // Becomes
|
|
31
|
-
* const x = ifDefined(someVariable, someFunction);
|
|
32
|
-
*
|
|
33
|
-
* @param value - The value to test and forward to the function.
|
|
34
|
-
* @param transform - The transformation function.
|
|
35
|
-
*
|
|
36
|
-
* @returns Either `undefined` when the input is `undefined`, or the return value
|
|
37
|
-
* of the transform.
|
|
38
|
-
*/
|
|
39
|
-
export function ifDefined(value, transform) {
|
|
40
|
-
return value !== undefined ? transform(value) : undefined;
|
|
41
|
-
}
|
|
42
19
|
//# sourceMappingURL=lib.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../../../src/commands/lib.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,uDAAuD;AACvD;;;;;;;GAOG;AACH,MAAM,UAAU,cAAc,CAAsB,GAAM;IACxD,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACzC,IAAI,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;YACnB,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC
|
|
1
|
+
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../../../src/commands/lib.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,uDAAuD;AACvD;;;;;;;GAOG;AACH,MAAM,UAAU,cAAc,CAAsB,GAAM;IACxD,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACzC,IAAI,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;YACnB,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { checkNotNull } from "@infra-blocks/checks";
|
|
2
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
2
3
|
import { mapValues } from "es-toolkit/object";
|
|
3
|
-
import {
|
|
4
|
+
import { unsetUndefined } from "../lib.js";
|
|
4
5
|
export const ConsumedCapacity = {
|
|
5
6
|
decode(output) {
|
|
6
7
|
return unsetUndefined({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consumed-capacity.js","sourceRoot":"","sources":["../../../../src/commands/outputs/consumed-capacity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"consumed-capacity.js","sourceRoot":"","sources":["../../../../src/commands/outputs/consumed-capacity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAe3C,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,CAAC,MAA4B;QACjC,OAAO,cAAc,CAAC;YACpB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;YAC/B,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,SAAS,CAAC;YACzC,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC;YACpD,sBAAsB,EAAE,SAAS,CAAC,MAAM,CAAC,sBAAsB,EAAE,CAAC,IAAI,EAAE,EAAE,CACxE,SAAS,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CACtC;YACD,qBAAqB,EAAE,SAAS,CAAC,MAAM,CAAC,qBAAqB,EAAE,CAAC,IAAI,EAAE,EAAE,CACtE,SAAS,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CACtC;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAC;AASF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM,CAAC,MAIN;QACC,OAAO,cAAc,CAAC;YACpB,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC;YACjD,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;YAC3C,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;SAC9C,CAAC,CAAC;IACL,CAAC;CACF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { trusted } from "@infra-blocks/types";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ConsumedCapacity } from "./consumed-capacity.js";
|
|
4
5
|
export const DeleteItemOutput = {
|
|
5
6
|
decode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/delete-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"delete-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/delete-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAO1D,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAA2B;IAE3B,OAAO,cAAc,CAAC;QACpB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,CAAA,OAAU,CAAA,CAAC;QAC9C,gBAAgB,EAAE,SAAS,CACzB,MAAM,CAAC,gBAAgB,EACvB,gBAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { trusted } from "@infra-blocks/types";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ConsumedCapacity } from "./consumed-capacity.js";
|
|
4
5
|
export const GetItemOutput = {
|
|
5
6
|
decode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/get-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/get-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAO1D,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAAwB;IAExB,OAAO,cAAc,CAAC;QACpB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA,OAAU,CAAA,CAAC;QACxC,gBAAgB,EAAE,SAAS,CACzB,MAAM,CAAC,gBAAgB,EACvB,gBAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { trusted } from "@infra-blocks/types";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ConsumedCapacity } from "./consumed-capacity.js";
|
|
4
5
|
import { ItemCollectionMetrics } from "./item-collection-metrics.js";
|
|
5
6
|
export const PutItemOutput = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/put-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"put-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/put-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAiBrE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAAwB;IAExB,OAAO,cAAc,CAAC;QACpB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,CAAA,OAAU,CAAA,CAAC;QAC9C,qBAAqB,EAAE,SAAS,CAC9B,MAAM,CAAC,qBAAqB,EAC5B,qBAAqB,CAAC,MAAM,CAC7B;QACD,gBAAgB,EAAE,SAAS,CACzB,MAAM,CAAC,gBAAgB,EACvB,gBAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { checkNotNull } from "@infra-blocks/checks";
|
|
2
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
2
3
|
import { trusted } from "@infra-blocks/types";
|
|
3
|
-
import {
|
|
4
|
+
import { unsetUndefined } from "../lib.js";
|
|
4
5
|
import { ConsumedCapacity } from "./consumed-capacity.js";
|
|
5
6
|
export const QueryOutput = {
|
|
6
7
|
decode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/outputs/query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/commands/outputs/query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAa1D,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CAGb,MAA0B;IAC1B,OAAO,cAAc,CAAC;QACpB,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC;QACjC,KAAK,EAAE,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAa;QACvC,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC;QAC/C,gBAAgB,EAAE,SAAS,CACzB,MAAM,CAAC,gBAAgB,EACvB,gBAAgB,CAAC,MAAM,CACxB;QACD,gBAAgB,EAAE,SAAS,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAA,OAAU,CAAA,CAAC;KACjE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ifDefined } from "@infra-blocks/toolkit";
|
|
1
2
|
import { trusted } from "@infra-blocks/types";
|
|
2
|
-
import {
|
|
3
|
+
import { unsetUndefined } from "../lib.js";
|
|
3
4
|
import { ConsumedCapacity } from "./consumed-capacity.js";
|
|
4
5
|
export const UpdateItemOutput = {
|
|
5
6
|
decode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/update-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"update-item.js","sourceRoot":"","sources":["../../../../src/commands/outputs/update-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAO1D,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CACb,MAA2B;IAE3B,OAAO,cAAc,CAAC;QACpB,UAAU,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,CAAA,OAAU,CAAA,CAAC;QACpD,gBAAgB,EAAE,SAAS,CACzB,MAAM,CAAC,gBAAgB,EACvB,gBAAgB,CAAC,MAAM,CACxB;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-transaction.js","sourceRoot":"","sources":["../../../../src/commands/outputs/write-transaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"write-transaction.js","sourceRoot":"","sources":["../../../../src/commands/outputs/write-transaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAM1D,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,MAAM;CACP,CAAC;AAEF,SAAS,MAAM,CAAC,MAAkC;IAChD,OAAO,cAAc,CAAC;QACpB,gBAAgB,EAAE,SAAS,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CACzD,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAC/B;KACF,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infra-blocks/aws-dynamodb",
|
|
3
|
-
"version": "0.78.0",
|
|
3
|
+
"version": "0.78.1-alpha.0",
|
|
4
4
|
"description": "A convenience wrapper over @aws-sdk/client-dynamodb and @aws-sdk/lib-dynamodb.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"@infra-blocks/logger-interface": "^0.3.1",
|
|
67
67
|
"@infra-blocks/null-logger": "^0.1.1",
|
|
68
68
|
"@infra-blocks/retry": "^0.1.1",
|
|
69
|
+
"@infra-blocks/toolkit": "^0.1.0",
|
|
69
70
|
"@infra-blocks/types": "^0.32.0",
|
|
70
71
|
"es-toolkit": "^1.45.0"
|
|
71
72
|
}
|