@infra-blocks/aws-dynamodb 0.75.0 → 0.76.0-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/index.d.ts +1 -1
- package/lib/cjs/commands/index.js.map +1 -1
- package/lib/cjs/commands/inputs/write-transaction.d.ts +6 -3
- package/lib/cjs/commands/inputs/write-transaction.js.map +1 -1
- package/lib/esm/commands/index.d.ts +1 -1
- package/lib/esm/commands/index.js.map +1 -1
- package/lib/esm/commands/inputs/write-transaction.d.ts +6 -3
- package/lib/esm/commands/inputs/write-transaction.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ export { DeleteItem } from "./delete-item.js";
|
|
|
5
5
|
export { DeleteTable } from "./delete-table.js";
|
|
6
6
|
export { type And, type AttributeExists, type AttributeNotExists, add, and, attributeExists, attributeNotExists, attributeType, type BeginsWith, type BeginsWithOperand, type BetweenInput, beginsWith, type ComparableValue, type ConditionComparisonInput, type ConditionFunction, type ConditionInput, type ConditionLogic, type Contains, contains, deleteFrom, type EqualsInput, type GreaterThanInput, type GreaterThanOrEqualsInput, type InInput, type IsAttributeOfType, ifNotExists, type KeyConditionComparisonInput, type KeyConditionFunction, type KeyConditionInput, type KeyConditionLogic, type LowerThanInput, type LowerThanOrEqualsInput, literal, type Not, type NotEqualsInput, not, type Or, or, type PathInput, type PathOrValueInput, type ProjectionInput, path, remove, set, size, type UpdateAction, type UpdateInput, type ValueInput, value, } from "./expressions/index.js";
|
|
7
7
|
export { GetItem } from "./get-item.js";
|
|
8
|
-
export type { ConditionCheckInput, CreateTableInput, DeleteItemInput, DeleteItemReturnValue, DeleteTableInput, GetItemConsumedCapacityReturnValue, GetItemInput, PutItemInput, QueryInput, UpdateItemInput, UpdateTimeToLiveInput, WriteTransactionInput, WriteTransactionWrite, } from "./inputs/index.js";
|
|
8
|
+
export type { ConditionCheckInput, CreateTableInput, DeleteItemInput, DeleteItemReturnValue, DeleteTableInput, GetItemConsumedCapacityReturnValue, GetItemInput, PutItemInput, QueryInput, UpdateItemInput, UpdateTimeToLiveInput, WriteTransactionDeleteItemInput, WriteTransactionInput, WriteTransactionPutItemInput, WriteTransactionUpdateItemInput, WriteTransactionWrite, } from "./inputs/index.js";
|
|
9
9
|
export type { CapacityUnits, ConsumedCapacity, CreateTableOutput, DeleteItemOutput, DeleteTableOutput, GetItemOutput, PutItemOutput, QueryOutput, UpdateItemOutput, UpdateTimeToLiveOutput, WriteTransactionOutput, } from "./outputs/index.js";
|
|
10
10
|
export { PutItem } from "./put-item.js";
|
|
11
11
|
export { Query } from "./query.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":";;;AAEA,qDAAgD;AAAvC,8GAAA,WAAW,OAAA;AACpB,mDAA8C;AAArC,4GAAA,UAAU,OAAA;AACnB,qDAAgD;AAAvC,8GAAA,WAAW,OAAA;AACpB,mDAkDgC;AA9C9B,+FAAA,GAAG,OAAA;AACH,+FAAA,GAAG,OAAA;AACH,2GAAA,eAAe,OAAA;AACf,8GAAA,kBAAkB,OAAA;AAClB,yGAAA,aAAa,OAAA;AAIb,sGAAA,UAAU,OAAA;AAOV,oGAAA,QAAQ,OAAA;AACR,sGAAA,UAAU,OAAA;AAMV,uGAAA,WAAW,OAAA;AAOX,mGAAA,OAAO,OAAA;AAGP,+FAAA,GAAG,OAAA;AAEH,8FAAA,EAAE,OAAA;AAIF,gGAAA,IAAI,OAAA;AACJ,kGAAA,MAAM,OAAA;AACN,+FAAA,GAAG,OAAA;AACH,gGAAA,IAAI,OAAA;AAIJ,iGAAA,KAAK,OAAA;AAEP,6CAAwC;AAA/B,sGAAA,OAAO,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":";;;AAEA,qDAAgD;AAAvC,8GAAA,WAAW,OAAA;AACpB,mDAA8C;AAArC,4GAAA,UAAU,OAAA;AACnB,qDAAgD;AAAvC,8GAAA,WAAW,OAAA;AACpB,mDAkDgC;AA9C9B,+FAAA,GAAG,OAAA;AACH,+FAAA,GAAG,OAAA;AACH,2GAAA,eAAe,OAAA;AACf,8GAAA,kBAAkB,OAAA;AAClB,yGAAA,aAAa,OAAA;AAIb,sGAAA,UAAU,OAAA;AAOV,oGAAA,QAAQ,OAAA;AACR,sGAAA,UAAU,OAAA;AAMV,uGAAA,WAAW,OAAA;AAOX,mGAAA,OAAO,OAAA;AAGP,+FAAA,GAAG,OAAA;AAEH,8FAAA,EAAE,OAAA;AAIF,gGAAA,IAAI,OAAA;AACJ,kGAAA,MAAM,OAAA;AACN,+FAAA,GAAG,OAAA;AACH,gGAAA,IAAI,OAAA;AAIJ,iGAAA,KAAK,OAAA;AAEP,6CAAwC;AAA/B,sGAAA,OAAO,OAAA;AAgChB,6CAAwC;AAA/B,sGAAA,OAAO,OAAA;AAChB,uCAAmC;AAA1B,iGAAA,KAAK,OAAA;AACd,mDAA8C;AAArC,4GAAA,UAAU,OAAA;AACnB,mEAA4D;AAAnD,0HAAA,gBAAgB,OAAA;AACzB,+DAA0D;AAAjD,wHAAA,gBAAgB,OAAA"}
|
|
@@ -3,12 +3,15 @@ import { ConditionCheckInput } from "./condition-check.js";
|
|
|
3
3
|
import { DeleteItemInput } from "./delete-item.js";
|
|
4
4
|
import { PutItemInput } from "./put-item.js";
|
|
5
5
|
import { UpdateItemInput } from "./update-item.js";
|
|
6
|
+
export type WriteTransactionPutItemInput = Pick<PutItemInput, "table" | "item" | "condition" | "returnValuesOnConditionCheckFailure">;
|
|
7
|
+
export type WriteTransactionUpdateItemInput = Pick<UpdateItemInput, "table" | "key" | "update" | "condition" | "returnValuesOnConditionCheckFailure">;
|
|
8
|
+
export type WriteTransactionDeleteItemInput = Pick<DeleteItemInput, "table" | "key" | "condition" | "returnValuesOnConditionCheckFailure">;
|
|
6
9
|
export type WriteTransactionWrite = {
|
|
7
|
-
put:
|
|
10
|
+
put: WriteTransactionPutItemInput;
|
|
8
11
|
} | {
|
|
9
|
-
update:
|
|
12
|
+
update: WriteTransactionUpdateItemInput;
|
|
10
13
|
} | {
|
|
11
|
-
delete:
|
|
14
|
+
delete: WriteTransactionDeleteItemInput;
|
|
12
15
|
} | {
|
|
13
16
|
conditionCheck: ConditionCheckInput;
|
|
14
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-transaction.js","sourceRoot":"","sources":["../../../../src/commands/inputs/write-transaction.ts"],"names":[],"mappings":";;;AACA,+CAAsE;AACtE,6DAA2D;AAC3D,qDAAmD;AACnD,+CAA6C;AAC7C,qDAAmD;
|
|
1
|
+
{"version":3,"file":"write-transaction.js","sourceRoot":"","sources":["../../../../src/commands/inputs/write-transaction.ts"],"names":[],"mappings":";;;AACA,+CAAsE;AACtE,6DAA2D;AAC3D,qDAAmD;AACnD,+CAA6C;AAC7C,qDAAmD;AA+BtC,QAAA,qBAAqB,GAAG;IACnC,MAAM,CAAC,KAA4B;QACjC,OAAO;YACL,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,MAAM,CAAC;SAC9D,CAAC;IACJ,CAAC;CACF,CAAC;AAMF,MAAM,qBAAqB,GAAG;IAC5B,MAAM,CAAC,KAA4B;QACjC,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;YACnB,OAAO;gBACL,GAAG,EAAE,0BAAY,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;aACpC,CAAC;QACJ,CAAC;QACD,IAAI,QAAQ,IAAI,KAAK,EAAE,CAAC;YACtB,OAAO;gBACL,MAAM,EAAE,gCAAe,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;aAC7C,CAAC;QACJ,CAAC;QACD,IAAI,QAAQ,IAAI,KAAK,EAAE,CAAC;YACtB,OAAO;gBACL,MAAM,EAAE,gCAAe,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;aAC7C,CAAC;QACJ,CAAC;QACD,IAAI,gBAAgB,IAAI,KAAK,EAAE,CAAC;YAC9B,OAAO;gBACL,cAAc,EAAE,wCAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC;aACjE,CAAC;QACJ,CAAC;QACD,IAAA,mBAAW,EAAC,KAAK,CAAC,CAAC;IACrB,CAAC;CACF,CAAC"}
|
|
@@ -5,7 +5,7 @@ export { DeleteItem } from "./delete-item.js";
|
|
|
5
5
|
export { DeleteTable } from "./delete-table.js";
|
|
6
6
|
export { type And, type AttributeExists, type AttributeNotExists, add, and, attributeExists, attributeNotExists, attributeType, type BeginsWith, type BeginsWithOperand, type BetweenInput, beginsWith, type ComparableValue, type ConditionComparisonInput, type ConditionFunction, type ConditionInput, type ConditionLogic, type Contains, contains, deleteFrom, type EqualsInput, type GreaterThanInput, type GreaterThanOrEqualsInput, type InInput, type IsAttributeOfType, ifNotExists, type KeyConditionComparisonInput, type KeyConditionFunction, type KeyConditionInput, type KeyConditionLogic, type LowerThanInput, type LowerThanOrEqualsInput, literal, type Not, type NotEqualsInput, not, type Or, or, type PathInput, type PathOrValueInput, type ProjectionInput, path, remove, set, size, type UpdateAction, type UpdateInput, type ValueInput, value, } from "./expressions/index.js";
|
|
7
7
|
export { GetItem } from "./get-item.js";
|
|
8
|
-
export type { ConditionCheckInput, CreateTableInput, DeleteItemInput, DeleteItemReturnValue, DeleteTableInput, GetItemConsumedCapacityReturnValue, GetItemInput, PutItemInput, QueryInput, UpdateItemInput, UpdateTimeToLiveInput, WriteTransactionInput, WriteTransactionWrite, } from "./inputs/index.js";
|
|
8
|
+
export type { ConditionCheckInput, CreateTableInput, DeleteItemInput, DeleteItemReturnValue, DeleteTableInput, GetItemConsumedCapacityReturnValue, GetItemInput, PutItemInput, QueryInput, UpdateItemInput, UpdateTimeToLiveInput, WriteTransactionDeleteItemInput, WriteTransactionInput, WriteTransactionPutItemInput, WriteTransactionUpdateItemInput, WriteTransactionWrite, } from "./inputs/index.js";
|
|
9
9
|
export type { CapacityUnits, ConsumedCapacity, CreateTableOutput, DeleteItemOutput, DeleteTableOutput, GetItemOutput, PutItemOutput, QueryOutput, UpdateItemOutput, UpdateTimeToLiveOutput, WriteTransactionOutput, } from "./outputs/index.js";
|
|
10
10
|
export { PutItem } from "./put-item.js";
|
|
11
11
|
export { Query } from "./query.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAIL,GAAG,EACH,GAAG,EACH,eAAe,EACf,kBAAkB,EAClB,aAAa,EAIb,UAAU,EAOV,QAAQ,EACR,UAAU,EAMV,WAAW,EAOX,OAAO,EAGP,GAAG,EAEH,EAAE,EAIF,IAAI,EACJ,MAAM,EACN,GAAG,EACH,IAAI,EAIJ,KAAK,GACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAIL,GAAG,EACH,GAAG,EACH,eAAe,EACf,kBAAkB,EAClB,aAAa,EAIb,UAAU,EAOV,QAAQ,EACR,UAAU,EAMV,WAAW,EAOX,OAAO,EAGP,GAAG,EAEH,EAAE,EAIF,IAAI,EACJ,MAAM,EACN,GAAG,EACH,IAAI,EAIJ,KAAK,GACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAgCxC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -3,12 +3,15 @@ import { ConditionCheckInput } from "./condition-check.js";
|
|
|
3
3
|
import { DeleteItemInput } from "./delete-item.js";
|
|
4
4
|
import { PutItemInput } from "./put-item.js";
|
|
5
5
|
import { UpdateItemInput } from "./update-item.js";
|
|
6
|
+
export type WriteTransactionPutItemInput = Pick<PutItemInput, "table" | "item" | "condition" | "returnValuesOnConditionCheckFailure">;
|
|
7
|
+
export type WriteTransactionUpdateItemInput = Pick<UpdateItemInput, "table" | "key" | "update" | "condition" | "returnValuesOnConditionCheckFailure">;
|
|
8
|
+
export type WriteTransactionDeleteItemInput = Pick<DeleteItemInput, "table" | "key" | "condition" | "returnValuesOnConditionCheckFailure">;
|
|
6
9
|
export type WriteTransactionWrite = {
|
|
7
|
-
put:
|
|
10
|
+
put: WriteTransactionPutItemInput;
|
|
8
11
|
} | {
|
|
9
|
-
update:
|
|
12
|
+
update: WriteTransactionUpdateItemInput;
|
|
10
13
|
} | {
|
|
11
|
-
delete:
|
|
14
|
+
delete: WriteTransactionDeleteItemInput;
|
|
12
15
|
} | {
|
|
13
16
|
conditionCheck: ConditionCheckInput;
|
|
14
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-transaction.js","sourceRoot":"","sources":["../../../../src/commands/inputs/write-transaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAA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K,EAAE,CAAC;YAC9B,OAAO;gBACL,cAAc,EAAE,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC;aACjE,CAAC;QACJ,CAAC;QACD,WAAW,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;CACF,CAAC"}
|