@infra-blocks/aws-dynamodb 0.16.0-alpha.0 → 0.17.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.
@@ -1,3 +1,4 @@
1
1
  export * from "./condition.js";
2
2
  export * from "./key-condition.js";
3
3
  export * from "./operands.js";
4
+ export * from "./update.js";
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./condition.js"), exports);
18
18
  __exportStar(require("./key-condition.js"), exports);
19
19
  __exportStar(require("./operands.js"), exports);
20
+ __exportStar(require("./update.js"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/expressions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,qDAAmC;AACnC,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/expressions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,qDAAmC;AACnC,gDAA8B;AAC9B,8CAA4B"}
@@ -0,0 +1,70 @@
1
+ import type { AttributeNames } from "../attributes/names.js";
2
+ import type { AttributeValues } from "../attributes/values.js";
3
+ import type { AttributeOperand, IOperand, Operand } from "./operands.js";
4
+ export interface IUpdateAction {
5
+ stringify(params: {
6
+ names: AttributeNames;
7
+ values: AttributeValues;
8
+ }): string;
9
+ }
10
+ export type UpdateAction = SetAction;
11
+ export type SetAction = Assignment | PlusAssignment | MinusAssignment;
12
+ export type SetOperand = Operand | IfNotExistsOperand;
13
+ declare class Assignment implements IUpdateAction {
14
+ private readonly path;
15
+ private readonly operand;
16
+ constructor(params: {
17
+ path: AttributeOperand;
18
+ operand: SetOperand;
19
+ });
20
+ plus(operand: SetOperand): PlusAssignment;
21
+ minus(operand: SetOperand): MinusAssignment;
22
+ stringify(params: {
23
+ names: AttributeNames;
24
+ values: AttributeValues;
25
+ }): string;
26
+ }
27
+ export declare class PlusAssignment implements IUpdateAction {
28
+ private readonly inner;
29
+ private readonly operand;
30
+ constructor(params: {
31
+ inner: Assignment;
32
+ operand: SetOperand;
33
+ });
34
+ stringify(params: {
35
+ names: AttributeNames;
36
+ values: AttributeValues;
37
+ }): string;
38
+ }
39
+ export declare class MinusAssignment implements IUpdateAction {
40
+ private readonly inner;
41
+ private readonly operand;
42
+ constructor(params: {
43
+ inner: Assignment;
44
+ operand: SetOperand;
45
+ });
46
+ stringify(params: {
47
+ names: AttributeNames;
48
+ values: AttributeValues;
49
+ }): string;
50
+ }
51
+ declare class AssignmentBuilder {
52
+ private readonly path;
53
+ constructor(path: AttributeOperand);
54
+ to(operand: SetOperand): Assignment;
55
+ }
56
+ export declare function assign(path: AttributeOperand): AssignmentBuilder;
57
+ export declare class IfNotExistsOperand implements IOperand {
58
+ private readonly path;
59
+ private readonly defaultValue;
60
+ constructor(params: {
61
+ path: AttributeOperand;
62
+ defaultValue: Operand;
63
+ });
64
+ substitute(params: {
65
+ names: AttributeNames;
66
+ values: AttributeValues;
67
+ }): string;
68
+ }
69
+ export declare function ifNotExists(path: AttributeOperand, defaultValue: Operand): IfNotExistsOperand;
70
+ export {};
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ /*
3
+ Notes: an update is made of a series of actions. Each action belongs to a clause and each clause
4
+ can be present at least once in an update. The clauses are:
5
+ - SET,
6
+ - REMOVE,
7
+ - ADD,
8
+ - DELETE
9
+
10
+ SET actions can use the `if_not_exists` function, which returns the value of the attribute if it exists, or a default value if it does not.
11
+ You can also use SET to add or subtract from an attribute that is of type Number. To perform multiple SET actions, separate them with commas.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.IfNotExistsOperand = exports.MinusAssignment = exports.PlusAssignment = void 0;
15
+ exports.assign = assign;
16
+ exports.ifNotExists = ifNotExists;
17
+ // Note: incrementation works with attribute names and values no prob.
18
+ // There can only be one "+" sign.
19
+ // Nothing forces the operation to happen on the same attribute. For example: SET x = y + 2 is valid and should
20
+ // be supported. Increment should only be a fast track there.
21
+ class Assignment {
22
+ path;
23
+ operand;
24
+ constructor(params) {
25
+ const { path, operand } = params;
26
+ this.path = path;
27
+ this.operand = operand;
28
+ }
29
+ plus(operand) {
30
+ return new PlusAssignment({ inner: this, operand });
31
+ }
32
+ minus(operand) {
33
+ return new MinusAssignment({ inner: this, operand });
34
+ }
35
+ stringify(params) {
36
+ const { names, values } = params;
37
+ return `${this.path.substitute({ names, values })} = ${this.operand.substitute({
38
+ names,
39
+ values,
40
+ })}`;
41
+ }
42
+ }
43
+ class PlusAssignment {
44
+ inner;
45
+ operand;
46
+ constructor(params) {
47
+ const { inner, operand } = params;
48
+ this.inner = inner;
49
+ this.operand = operand;
50
+ }
51
+ stringify(params) {
52
+ const { names, values } = params;
53
+ return `${this.inner.stringify({ names, values })} + ${this.operand.substitute({
54
+ names,
55
+ values,
56
+ })}`;
57
+ }
58
+ }
59
+ exports.PlusAssignment = PlusAssignment;
60
+ class MinusAssignment {
61
+ inner;
62
+ operand;
63
+ constructor(params) {
64
+ const { inner, operand } = params;
65
+ this.inner = inner;
66
+ this.operand = operand;
67
+ }
68
+ stringify(params) {
69
+ const { names, values } = params;
70
+ return `${this.inner.stringify({ names, values })} - ${this.operand.substitute({
71
+ names,
72
+ values,
73
+ })}`;
74
+ }
75
+ }
76
+ exports.MinusAssignment = MinusAssignment;
77
+ class AssignmentBuilder {
78
+ path;
79
+ constructor(path) {
80
+ this.path = path;
81
+ }
82
+ to(operand) {
83
+ return new Assignment({ path: this.path, operand });
84
+ }
85
+ }
86
+ // TODO: increment/decrement utilities built on top of the assignments.
87
+ function assign(path) {
88
+ return new AssignmentBuilder(path);
89
+ }
90
+ class IfNotExistsOperand {
91
+ path;
92
+ defaultValue;
93
+ constructor(params) {
94
+ const { path, defaultValue } = params;
95
+ this.path = path;
96
+ this.defaultValue = defaultValue;
97
+ }
98
+ substitute(params) {
99
+ const { names, values } = params;
100
+ return `if_not_exists(${this.path.substitute({ names, values })}, ${this.defaultValue.substitute({ names, values })})`;
101
+ }
102
+ }
103
+ exports.IfNotExistsOperand = IfNotExistsOperand;
104
+ function ifNotExists(path, defaultValue) {
105
+ return new IfNotExistsOperand({ path, defaultValue });
106
+ }
107
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/expressions/update.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;EAUE;;;AAqIF,wBAEC;AAqBD,kCAKC;AAnID,sEAAsE;AACtE,kCAAkC;AAClC,+GAA+G;AAC/G,6DAA6D;AAC7D,MAAM,UAAU;IACG,IAAI,CAAmB;IACvB,OAAO,CAAa;IAErC,YAAY,MAAuD;QACjE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QACjC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,IAAI,CAAC,OAAmB;QACtB,OAAO,IAAI,cAAc,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,KAAK,CAAC,OAAmB;QACvB,OAAO,IAAI,eAAe,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACvD,CAAC;IAED,SAAS,CAAC,MAGT;QACC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5E;YACE,KAAK;YACL,MAAM;SACP,CACF,EAAE,CAAC;IACN,CAAC;CACF;AAED,MAAa,cAAc;IACR,KAAK,CAAa;IAClB,OAAO,CAAa;IAErC,Y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;AACvE,SAAgB,MAAM,CAAC,IAAsB;IAC3C,OAAO,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAED,MAAa,kBAAkB;IACZ,IAAI,CAAmB;IACvB,YAAY,CAAU;IAEvC,YAAY,MAAyD;QACnE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED,UAAU,CAAC,MAGV;QACC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,iBAAiB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC;IACzH,CAAC;CACF;AAjBD,gDAiBC;AAED,SAAgB,WAAW,CACzB,IAAsB,EACtB,YAAqB;IAErB,OAAO,IAAI,kBAAkB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;AACxD,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from "./condition.js";
2
2
  export * from "./key-condition.js";
3
3
  export * from "./operands.js";
4
+ export * from "./update.js";
@@ -1,4 +1,5 @@
1
1
  export * from "./condition.js";
2
2
  export * from "./key-condition.js";
3
3
  export * from "./operands.js";
4
+ export * from "./update.js";
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/expressions/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/expressions/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,70 @@
1
+ import type { AttributeNames } from "../attributes/names.js";
2
+ import type { AttributeValues } from "../attributes/values.js";
3
+ import type { AttributeOperand, IOperand, Operand } from "./operands.js";
4
+ export interface IUpdateAction {
5
+ stringify(params: {
6
+ names: AttributeNames;
7
+ values: AttributeValues;
8
+ }): string;
9
+ }
10
+ export type UpdateAction = SetAction;
11
+ export type SetAction = Assignment | PlusAssignment | MinusAssignment;
12
+ export type SetOperand = Operand | IfNotExistsOperand;
13
+ declare class Assignment implements IUpdateAction {
14
+ private readonly path;
15
+ private readonly operand;
16
+ constructor(params: {
17
+ path: AttributeOperand;
18
+ operand: SetOperand;
19
+ });
20
+ plus(operand: SetOperand): PlusAssignment;
21
+ minus(operand: SetOperand): MinusAssignment;
22
+ stringify(params: {
23
+ names: AttributeNames;
24
+ values: AttributeValues;
25
+ }): string;
26
+ }
27
+ export declare class PlusAssignment implements IUpdateAction {
28
+ private readonly inner;
29
+ private readonly operand;
30
+ constructor(params: {
31
+ inner: Assignment;
32
+ operand: SetOperand;
33
+ });
34
+ stringify(params: {
35
+ names: AttributeNames;
36
+ values: AttributeValues;
37
+ }): string;
38
+ }
39
+ export declare class MinusAssignment implements IUpdateAction {
40
+ private readonly inner;
41
+ private readonly operand;
42
+ constructor(params: {
43
+ inner: Assignment;
44
+ operand: SetOperand;
45
+ });
46
+ stringify(params: {
47
+ names: AttributeNames;
48
+ values: AttributeValues;
49
+ }): string;
50
+ }
51
+ declare class AssignmentBuilder {
52
+ private readonly path;
53
+ constructor(path: AttributeOperand);
54
+ to(operand: SetOperand): Assignment;
55
+ }
56
+ export declare function assign(path: AttributeOperand): AssignmentBuilder;
57
+ export declare class IfNotExistsOperand implements IOperand {
58
+ private readonly path;
59
+ private readonly defaultValue;
60
+ constructor(params: {
61
+ path: AttributeOperand;
62
+ defaultValue: Operand;
63
+ });
64
+ substitute(params: {
65
+ names: AttributeNames;
66
+ values: AttributeValues;
67
+ }): string;
68
+ }
69
+ export declare function ifNotExists(path: AttributeOperand, defaultValue: Operand): IfNotExistsOperand;
70
+ export {};
@@ -0,0 +1,99 @@
1
+ /*
2
+ Notes: an update is made of a series of actions. Each action belongs to a clause and each clause
3
+ can be present at least once in an update. The clauses are:
4
+ - SET,
5
+ - REMOVE,
6
+ - ADD,
7
+ - DELETE
8
+
9
+ SET actions can use the `if_not_exists` function, which returns the value of the attribute if it exists, or a default value if it does not.
10
+ You can also use SET to add or subtract from an attribute that is of type Number. To perform multiple SET actions, separate them with commas.
11
+ */
12
+ // Note: incrementation works with attribute names and values no prob.
13
+ // There can only be one "+" sign.
14
+ // Nothing forces the operation to happen on the same attribute. For example: SET x = y + 2 is valid and should
15
+ // be supported. Increment should only be a fast track there.
16
+ class Assignment {
17
+ path;
18
+ operand;
19
+ constructor(params) {
20
+ const { path, operand } = params;
21
+ this.path = path;
22
+ this.operand = operand;
23
+ }
24
+ plus(operand) {
25
+ return new PlusAssignment({ inner: this, operand });
26
+ }
27
+ minus(operand) {
28
+ return new MinusAssignment({ inner: this, operand });
29
+ }
30
+ stringify(params) {
31
+ const { names, values } = params;
32
+ return `${this.path.substitute({ names, values })} = ${this.operand.substitute({
33
+ names,
34
+ values,
35
+ })}`;
36
+ }
37
+ }
38
+ export class PlusAssignment {
39
+ inner;
40
+ operand;
41
+ constructor(params) {
42
+ const { inner, operand } = params;
43
+ this.inner = inner;
44
+ this.operand = operand;
45
+ }
46
+ stringify(params) {
47
+ const { names, values } = params;
48
+ return `${this.inner.stringify({ names, values })} + ${this.operand.substitute({
49
+ names,
50
+ values,
51
+ })}`;
52
+ }
53
+ }
54
+ export class MinusAssignment {
55
+ inner;
56
+ operand;
57
+ constructor(params) {
58
+ const { inner, operand } = params;
59
+ this.inner = inner;
60
+ this.operand = operand;
61
+ }
62
+ stringify(params) {
63
+ const { names, values } = params;
64
+ return `${this.inner.stringify({ names, values })} - ${this.operand.substitute({
65
+ names,
66
+ values,
67
+ })}`;
68
+ }
69
+ }
70
+ class AssignmentBuilder {
71
+ path;
72
+ constructor(path) {
73
+ this.path = path;
74
+ }
75
+ to(operand) {
76
+ return new Assignment({ path: this.path, operand });
77
+ }
78
+ }
79
+ // TODO: increment/decrement utilities built on top of the assignments.
80
+ export function assign(path) {
81
+ return new AssignmentBuilder(path);
82
+ }
83
+ export class IfNotExistsOperand {
84
+ path;
85
+ defaultValue;
86
+ constructor(params) {
87
+ const { path, defaultValue } = params;
88
+ this.path = path;
89
+ this.defaultValue = defaultValue;
90
+ }
91
+ substitute(params) {
92
+ const { names, values } = params;
93
+ return `if_not_exists(${this.path.substitute({ names, values })}, ${this.defaultValue.substitute({ names, values })})`;
94
+ }
95
+ }
96
+ export function ifNotExists(path, defaultValue) {
97
+ return new IfNotExistsOperand({ path, defaultValue });
98
+ }
99
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/expressions/update.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AA8BF,sEAAsE;AACtE,kCAAkC;AAClC,+GAA+G;AAC/G,6DAA6D;AAC7D,MAAM,UAAU;IACG,IAAI,CAAmB;IACvB,OAAO,CAAa;IAErC,YAAY,MAAuD;QACjE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QACjC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,IAAI,CAAC,OAAmB;QACtB,OAAO,IAAI,cAAc,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,KAAK,CAAC,OAAmB;QACvB,OAAO,IAAI,eAAe,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACvD,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YACE,KAAK;YACL,MAAM;SACP,CACF,EAAE,CAAC;IACN,CAAC;CACF;AAED,MAAM,iBAAiB;IACJ,IAAI,CAAmB;IAExC,YAAY,IAAsB;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,EAAE,CAAC,OAAmB;QACpB,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACtD,CAAC;CACF;AAED,uEAAuE;AACvE,MAAM,UAAU,MAAM,CAAC,IAAsB;IAC3C,OAAO,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAED,MAAM,OAAO,kBAAkB;IACZ,IAAI,CAAmB;IACvB,YAAY,CAAU;IAEvC,YAAY,MAAyD;QACnE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED,UAAU,CAAC,MAGV;QACC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,iBAAiB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC;IACzH,CAAC;CACF;AAED,MAAM,UAAU,WAAW,CACzB,IAAsB,EACtB,YAAqB;IAErB,OAAO,IAAI,kBAAkB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;AACxD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infra-blocks/aws-dynamodb",
3
- "version": "0.16.0-alpha.0",
3
+ "version": "0.17.0-alpha.0",
4
4
  "description": "A convenience wrapper over @aws-sdk/client-dynamodb and @aws-sdk/lib-dynamodb.",
5
5
  "keywords": [
6
6
  "aws",