gs2-cdk 1.0.76 → 1.0.78

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.
Files changed (31) hide show
  1. package/distributor/stampSheet/AndExpressionByUserId.d.ts +12 -0
  2. package/distributor/stampSheet/AndExpressionByUserId.js +50 -0
  3. package/distributor/stampSheet/AndExpressionByUserId.js.map +1 -0
  4. package/distributor/stampSheet/AndExpressionByUserId.ts +64 -0
  5. package/distributor/stampSheet/IfExpressionByUserId.d.ts +15 -0
  6. package/distributor/stampSheet/IfExpressionByUserId.js +65 -0
  7. package/distributor/stampSheet/IfExpressionByUserId.js.map +1 -0
  8. package/distributor/stampSheet/IfExpressionByUserId.ts +84 -0
  9. package/distributor/stampSheet/OrExpressionByUserId.d.ts +12 -0
  10. package/distributor/stampSheet/OrExpressionByUserId.js +50 -0
  11. package/distributor/stampSheet/OrExpressionByUserId.js.map +1 -0
  12. package/distributor/stampSheet/OrExpressionByUserId.ts +64 -0
  13. package/distributor/stampSheet/index.d.ts +4 -1
  14. package/distributor/stampSheet/index.js +9 -1
  15. package/distributor/stampSheet/index.js.map +1 -1
  16. package/distributor/stampSheet/index.ts +6 -0
  17. package/enhance/model/Namespace.d.ts +0 -1
  18. package/enhance/model/Namespace.js +4 -9
  19. package/enhance/model/Namespace.js.map +1 -1
  20. package/enhance/model/Namespace.ts +0 -5
  21. package/enhance/model/options/NamespaceOptions.d.ts +1 -1
  22. package/enhance/model/options/NamespaceOptions.ts +1 -1
  23. package/exchange/ref/NamespaceRef.d.ts +0 -2
  24. package/exchange/ref/NamespaceRef.js +0 -4
  25. package/exchange/ref/NamespaceRef.js.map +1 -1
  26. package/exchange/ref/NamespaceRef.ts +0 -14
  27. package/exchange/stampSheet/index.d.ts +1 -2
  28. package/exchange/stampSheet/index.js +1 -3
  29. package/exchange/stampSheet/index.js.map +1 -1
  30. package/exchange/stampSheet/index.ts +0 -2
  31. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ import { VerifyAction } from "../../core/model";
2
+ export default class AndExpressionByUserId extends VerifyAction {
3
+ private readonly namespaceName;
4
+ private readonly userId;
5
+ private readonly actions;
6
+ private readonly timeOffsetToken;
7
+ constructor(namespaceName: string, actions?: VerifyAction[] | null, timeOffsetToken?: string | null, userId?: string);
8
+ request(): {
9
+ [name: string]: any;
10
+ };
11
+ action(): string;
12
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const model_1 = require("../../core/model");
19
+ class AndExpressionByUserId extends model_1.VerifyAction {
20
+ constructor(namespaceName, actions = null, timeOffsetToken = null, userId = "#{userId}") {
21
+ super();
22
+ this.actions = null;
23
+ this.timeOffsetToken = null;
24
+ this.namespaceName = namespaceName;
25
+ this.actions = actions !== null && actions !== void 0 ? actions : null;
26
+ this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
27
+ this.userId = userId;
28
+ }
29
+ request() {
30
+ let properties = {};
31
+ if (this.namespaceName != null) {
32
+ properties["namespaceName"] = this.namespaceName;
33
+ }
34
+ if (this.userId != null) {
35
+ properties["userId"] = this.userId;
36
+ }
37
+ if (this.actions != null) {
38
+ properties["actions"] = this.actions.map(v => v.properties());
39
+ }
40
+ if (this.timeOffsetToken != null) {
41
+ properties["timeOffsetToken"] = this.timeOffsetToken;
42
+ }
43
+ return properties;
44
+ }
45
+ action() {
46
+ return "Gs2Distributor:AndExpressionByUserId";
47
+ }
48
+ }
49
+ exports.default = AndExpressionByUserId;
50
+ //# sourceMappingURL=AndExpressionByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AndExpressionByUserId.js","sourceRoot":"","sources":["AndExpressionByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA4E;AAE5E,MAAqB,qBAAsB,SAAQ,oBAAY;IAO3D,YACI,aAAqB,EACrB,UAA+B,IAAI,EACnC,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAVK,YAAO,GAAwB,IAAI,CAAC;QACpC,oBAAe,GAAgB,IAAI,CAAC;QAWjD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,IAAI,CAAC;QAC/B,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACrD,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,sCAAsC,CAAC;IAClD,CAAC;CACJ;AA7CD,wCA6CC"}
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {AcquireAction, ConsumeAction, VerifyAction} from "../../core/model";
18
+
19
+ export default class AndExpressionByUserId extends VerifyAction {
20
+ private readonly namespaceName: string;
21
+ private readonly userId: string;
22
+ private readonly actions: VerifyAction[]|null = null;
23
+ private readonly timeOffsetToken: string|null = null;
24
+
25
+
26
+ public constructor(
27
+ namespaceName: string,
28
+ actions: VerifyAction[]|null = null,
29
+ timeOffsetToken: string|null = null,
30
+ userId: string = "#{userId}",
31
+ ) {
32
+ super();
33
+
34
+ this.namespaceName = namespaceName;
35
+ this.actions = actions ?? null;
36
+ this.timeOffsetToken = timeOffsetToken ?? null;
37
+ this.userId = userId;
38
+ }
39
+
40
+ public request(
41
+ ): {[name: string]: any} {
42
+ let properties: {[name: string]: any} = {};
43
+
44
+ if (this.namespaceName != null) {
45
+ properties["namespaceName"] = this.namespaceName;
46
+ }
47
+ if (this.userId != null) {
48
+ properties["userId"] = this.userId;
49
+ }
50
+ if (this.actions != null) {
51
+ properties["actions"] = this.actions.map(v => v.properties(
52
+ ));
53
+ }
54
+ if (this.timeOffsetToken != null) {
55
+ properties["timeOffsetToken"] = this.timeOffsetToken;
56
+ }
57
+
58
+ return properties;
59
+ }
60
+
61
+ public action(): string {
62
+ return "Gs2Distributor:AndExpressionByUserId";
63
+ }
64
+ }
@@ -0,0 +1,15 @@
1
+ import { ConsumeAction, VerifyAction } from "../../core/model";
2
+ export default class IfExpressionByUserId extends ConsumeAction {
3
+ private readonly namespaceName;
4
+ private readonly userId;
5
+ private readonly condition;
6
+ private readonly trueActions;
7
+ private readonly falseActions;
8
+ private readonly multiplyValueSpecifyingQuantity;
9
+ private readonly timeOffsetToken;
10
+ constructor(namespaceName: string, condition: VerifyAction, trueActions?: ConsumeAction[] | null, falseActions?: ConsumeAction[] | null, multiplyValueSpecifyingQuantity?: boolean | null, timeOffsetToken?: string | null, userId?: string);
11
+ request(): {
12
+ [name: string]: any;
13
+ };
14
+ action(): string;
15
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const model_1 = require("../../core/model");
19
+ class IfExpressionByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, condition, trueActions = null, falseActions = null, multiplyValueSpecifyingQuantity = null, timeOffsetToken = null, userId = "#{userId}") {
21
+ super();
22
+ this.trueActions = null;
23
+ this.falseActions = null;
24
+ this.multiplyValueSpecifyingQuantity = null;
25
+ this.timeOffsetToken = null;
26
+ this.namespaceName = namespaceName;
27
+ this.condition = condition;
28
+ this.trueActions = trueActions !== null && trueActions !== void 0 ? trueActions : null;
29
+ this.falseActions = falseActions !== null && falseActions !== void 0 ? falseActions : null;
30
+ this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity !== null && multiplyValueSpecifyingQuantity !== void 0 ? multiplyValueSpecifyingQuantity : null;
31
+ this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
32
+ this.userId = userId;
33
+ }
34
+ request() {
35
+ var _a;
36
+ let properties = {};
37
+ if (this.namespaceName != null) {
38
+ properties["namespaceName"] = this.namespaceName;
39
+ }
40
+ if (this.userId != null) {
41
+ properties["userId"] = this.userId;
42
+ }
43
+ if (this.condition != null) {
44
+ properties["condition"] = (_a = this.condition) === null || _a === void 0 ? void 0 : _a.properties();
45
+ }
46
+ if (this.trueActions != null) {
47
+ properties["trueActions"] = this.trueActions.map(v => v.properties());
48
+ }
49
+ if (this.falseActions != null) {
50
+ properties["falseActions"] = this.falseActions.map(v => v.properties());
51
+ }
52
+ if (this.multiplyValueSpecifyingQuantity != null) {
53
+ properties["multiplyValueSpecifyingQuantity"] = this.multiplyValueSpecifyingQuantity;
54
+ }
55
+ if (this.timeOffsetToken != null) {
56
+ properties["timeOffsetToken"] = this.timeOffsetToken;
57
+ }
58
+ return properties;
59
+ }
60
+ action() {
61
+ return "Gs2Distributor:IfExpressionByUserId";
62
+ }
63
+ }
64
+ exports.default = IfExpressionByUserId;
65
+ //# sourceMappingURL=IfExpressionByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IfExpressionByUserId.js","sourceRoot":"","sources":["IfExpressionByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA4E;AAE5E,MAAqB,oBAAqB,SAAQ,qBAAa;IAU3D,YACI,aAAqB,EACrB,SAAuB,EACvB,cAAoC,IAAI,EACxC,eAAqC,IAAI,EACzC,kCAAgD,IAAI,EACpD,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE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CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC/D,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,+BAA+B,IAAI,IAAI,EAAE;YAC9C,UAAU,CAAC,iCAAiC,CAAC,GAAG,IAAI,CAAC,+BAA+B,CAAC;SACxF;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,qCAAqC,CAAC;IACjD,CAAC;CACJ;AAjED,uCAiEC"}
@@ -0,0 +1,84 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {AcquireAction, ConsumeAction, VerifyAction} from "../../core/model";
18
+
19
+ export default class IfExpressionByUserId extends ConsumeAction {
20
+ private readonly namespaceName: string;
21
+ private readonly userId: string;
22
+ private readonly condition: VerifyAction;
23
+ private readonly trueActions: ConsumeAction[]|null = null;
24
+ private readonly falseActions: ConsumeAction[]|null = null;
25
+ private readonly multiplyValueSpecifyingQuantity: boolean|null = null;
26
+ private readonly timeOffsetToken: string|null = null;
27
+
28
+
29
+ public constructor(
30
+ namespaceName: string,
31
+ condition: VerifyAction,
32
+ trueActions: ConsumeAction[]|null = null,
33
+ falseActions: ConsumeAction[]|null = null,
34
+ multiplyValueSpecifyingQuantity: boolean|null = null,
35
+ timeOffsetToken: string|null = null,
36
+ userId: string = "#{userId}",
37
+ ) {
38
+ super();
39
+
40
+ this.namespaceName = namespaceName;
41
+ this.condition = condition;
42
+ this.trueActions = trueActions ?? null;
43
+ this.falseActions = falseActions ?? null;
44
+ this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity ?? null;
45
+ this.timeOffsetToken = timeOffsetToken ?? null;
46
+ this.userId = userId;
47
+ }
48
+
49
+ public request(
50
+ ): {[name: string]: any} {
51
+ let properties: {[name: string]: any} = {};
52
+
53
+ if (this.namespaceName != null) {
54
+ properties["namespaceName"] = this.namespaceName;
55
+ }
56
+ if (this.userId != null) {
57
+ properties["userId"] = this.userId;
58
+ }
59
+ if (this.condition != null) {
60
+ properties["condition"] = this.condition?.properties(
61
+ );
62
+ }
63
+ if (this.trueActions != null) {
64
+ properties["trueActions"] = this.trueActions.map(v => v.properties(
65
+ ));
66
+ }
67
+ if (this.falseActions != null) {
68
+ properties["falseActions"] = this.falseActions.map(v => v.properties(
69
+ ));
70
+ }
71
+ if (this.multiplyValueSpecifyingQuantity != null) {
72
+ properties["multiplyValueSpecifyingQuantity"] = this.multiplyValueSpecifyingQuantity;
73
+ }
74
+ if (this.timeOffsetToken != null) {
75
+ properties["timeOffsetToken"] = this.timeOffsetToken;
76
+ }
77
+
78
+ return properties;
79
+ }
80
+
81
+ public action(): string {
82
+ return "Gs2Distributor:IfExpressionByUserId";
83
+ }
84
+ }
@@ -0,0 +1,12 @@
1
+ import { VerifyAction } from "../../core/model";
2
+ export default class OrExpressionByUserId extends VerifyAction {
3
+ private readonly namespaceName;
4
+ private readonly userId;
5
+ private readonly actions;
6
+ private readonly timeOffsetToken;
7
+ constructor(namespaceName: string, actions?: VerifyAction[] | null, timeOffsetToken?: string | null, userId?: string);
8
+ request(): {
9
+ [name: string]: any;
10
+ };
11
+ action(): string;
12
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const model_1 = require("../../core/model");
19
+ class OrExpressionByUserId extends model_1.VerifyAction {
20
+ constructor(namespaceName, actions = null, timeOffsetToken = null, userId = "#{userId}") {
21
+ super();
22
+ this.actions = null;
23
+ this.timeOffsetToken = null;
24
+ this.namespaceName = namespaceName;
25
+ this.actions = actions !== null && actions !== void 0 ? actions : null;
26
+ this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
27
+ this.userId = userId;
28
+ }
29
+ request() {
30
+ let properties = {};
31
+ if (this.namespaceName != null) {
32
+ properties["namespaceName"] = this.namespaceName;
33
+ }
34
+ if (this.userId != null) {
35
+ properties["userId"] = this.userId;
36
+ }
37
+ if (this.actions != null) {
38
+ properties["actions"] = this.actions.map(v => v.properties());
39
+ }
40
+ if (this.timeOffsetToken != null) {
41
+ properties["timeOffsetToken"] = this.timeOffsetToken;
42
+ }
43
+ return properties;
44
+ }
45
+ action() {
46
+ return "Gs2Distributor:OrExpressionByUserId";
47
+ }
48
+ }
49
+ exports.default = OrExpressionByUserId;
50
+ //# sourceMappingURL=OrExpressionByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrExpressionByUserId.js","sourceRoot":"","sources":["OrExpressionByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG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All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {AcquireAction, ConsumeAction, VerifyAction} from "../../core/model";
18
+
19
+ export default class OrExpressionByUserId extends VerifyAction {
20
+ private readonly namespaceName: string;
21
+ private readonly userId: string;
22
+ private readonly actions: VerifyAction[]|null = null;
23
+ private readonly timeOffsetToken: string|null = null;
24
+
25
+
26
+ public constructor(
27
+ namespaceName: string,
28
+ actions: VerifyAction[]|null = null,
29
+ timeOffsetToken: string|null = null,
30
+ userId: string = "#{userId}",
31
+ ) {
32
+ super();
33
+
34
+ this.namespaceName = namespaceName;
35
+ this.actions = actions ?? null;
36
+ this.timeOffsetToken = timeOffsetToken ?? null;
37
+ this.userId = userId;
38
+ }
39
+
40
+ public request(
41
+ ): {[name: string]: any} {
42
+ let properties: {[name: string]: any} = {};
43
+
44
+ if (this.namespaceName != null) {
45
+ properties["namespaceName"] = this.namespaceName;
46
+ }
47
+ if (this.userId != null) {
48
+ properties["userId"] = this.userId;
49
+ }
50
+ if (this.actions != null) {
51
+ properties["actions"] = this.actions.map(v => v.properties(
52
+ ));
53
+ }
54
+ if (this.timeOffsetToken != null) {
55
+ properties["timeOffsetToken"] = this.timeOffsetToken;
56
+ }
57
+
58
+ return properties;
59
+ }
60
+
61
+ public action(): string {
62
+ return "Gs2Distributor:OrExpressionByUserId";
63
+ }
64
+ }
@@ -1 +1,4 @@
1
- export {};
1
+ import IfExpressionByUserId from "./IfExpressionByUserId";
2
+ import AndExpressionByUserId from "./AndExpressionByUserId";
3
+ import OrExpressionByUserId from "./OrExpressionByUserId";
4
+ export { IfExpressionByUserId, AndExpressionByUserId, OrExpressionByUserId, };
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrExpressionByUserId = exports.AndExpressionByUserId = exports.IfExpressionByUserId = void 0;
4
+ const tslib_1 = require("tslib");
2
5
  /*
3
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
7
  * Reserved.
@@ -14,5 +17,10 @@
14
17
  * express or implied. See the License for the specific language governing
15
18
  * permissions and limitations under the License.
16
19
  */
17
- Object.defineProperty(exports, "__esModule", { value: true });
20
+ const IfExpressionByUserId_1 = tslib_1.__importDefault(require("./IfExpressionByUserId"));
21
+ exports.IfExpressionByUserId = IfExpressionByUserId_1.default;
22
+ const AndExpressionByUserId_1 = tslib_1.__importDefault(require("./AndExpressionByUserId"));
23
+ exports.AndExpressionByUserId = AndExpressionByUserId_1.default;
24
+ const OrExpressionByUserId_1 = tslib_1.__importDefault(require("./OrExpressionByUserId"));
25
+ exports.OrExpressionByUserId = OrExpressionByUserId_1.default;
18
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0FAA0D;AAKtD,+BALG,8BAAoB,CAKH;AAJxB,4FAA4D;AAKxD,gCALG,+BAAqB,CAKH;AAJzB,0FAA0D;AAKtD,+BALG,8BAAoB,CAKH"}
@@ -13,6 +13,12 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import IfExpressionByUserId from "./IfExpressionByUserId";
17
+ import AndExpressionByUserId from "./AndExpressionByUserId";
18
+ import OrExpressionByUserId from "./OrExpressionByUserId";
16
19
 
17
20
  export {
21
+ IfExpressionByUserId,
22
+ AndExpressionByUserId,
23
+ OrExpressionByUserId,
18
24
  }
@@ -8,7 +8,6 @@ export default class Namespace extends CdkResource {
8
8
  private readonly stack;
9
9
  private readonly name;
10
10
  private readonly description;
11
- private readonly enableDirectEnhance;
12
11
  private readonly transactionSetting;
13
12
  private readonly enhanceScript;
14
13
  private readonly logSetting;
@@ -22,20 +22,18 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
23
23
  class Namespace extends model_1.CdkResource {
24
24
  constructor(stack, name, options = null) {
25
- var _a, _b, _c, _d, _e;
25
+ var _a, _b, _c, _d;
26
26
  super("Enhance_Namespace_" + name);
27
27
  this.description = null;
28
- this.enableDirectEnhance = null;
29
28
  this.transactionSetting = null;
30
29
  this.enhanceScript = null;
31
30
  this.logSetting = null;
32
31
  this.stack = stack;
33
32
  this.name = name;
34
33
  this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
35
- this.enableDirectEnhance = (_b = options === null || options === void 0 ? void 0 : options.enableDirectEnhance) !== null && _b !== void 0 ? _b : null;
36
- this.transactionSetting = (_c = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _c !== void 0 ? _c : null;
37
- this.enhanceScript = (_d = options === null || options === void 0 ? void 0 : options.enhanceScript) !== null && _d !== void 0 ? _d : null;
38
- this.logSetting = (_e = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _e !== void 0 ? _e : null;
34
+ this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
35
+ this.enhanceScript = (_c = options === null || options === void 0 ? void 0 : options.enhanceScript) !== null && _c !== void 0 ? _c : null;
36
+ this.logSetting = (_d = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _d !== void 0 ? _d : null;
39
37
  stack.addResource(this);
40
38
  }
41
39
  alternateKeys() {
@@ -53,9 +51,6 @@ class Namespace extends model_1.CdkResource {
53
51
  if (this.description != null) {
54
52
  properties["Description"] = this.description;
55
53
  }
56
- if (this.enableDirectEnhance != null) {
57
- properties["EnableDirectEnhance"] = this.enableDirectEnhance;
58
- }
59
54
  if (this.transactionSetting != null) {
60
55
  properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
61
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAMpD,MAAqB,SAAU,SAAQ,mBAAW;IAS9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAbW,gBAAW,GAAgB,IAAI,CAAC;QAChC,wBAAmB,GAAiB,IAAI,CAAC;QACzC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,kBAAa,GAAuB,IAAI,CAAC;QACzC,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,mBAAmB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,mBAAmB,mCAAI,IAAI,CAAC;QAChE,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;QACpD,IAAI,CAAC,UAAU,G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4BA+FC"}
@@ -31,7 +31,6 @@ export default class Namespace extends CdkResource {
31
31
  private readonly stack: Stack;
32
32
  private readonly name: string;
33
33
  private readonly description: string|null = null;
34
- private readonly enableDirectEnhance: boolean|null = null;
35
34
  private readonly transactionSetting: TransactionSetting|null = null;
36
35
  private readonly enhanceScript: ScriptSetting|null = null;
37
36
  private readonly logSetting: LogSetting|null = null;
@@ -48,7 +47,6 @@ export default class Namespace extends CdkResource {
48
47
  this.stack = stack;
49
48
  this.name = name;
50
49
  this.description = options?.description ?? null;
51
- this.enableDirectEnhance = options?.enableDirectEnhance ?? null;
52
50
  this.transactionSetting = options?.transactionSetting ?? null;
53
51
  this.enhanceScript = options?.enhanceScript ?? null;
54
52
  this.logSetting = options?.logSetting ?? null;
@@ -78,9 +76,6 @@ export default class Namespace extends CdkResource {
78
76
  if (this.description != null) {
79
77
  properties["Description"] = this.description;
80
78
  }
81
- if (this.enableDirectEnhance != null) {
82
- properties["EnableDirectEnhance"] = this.enableDirectEnhance;
83
- }
84
79
  if (this.transactionSetting != null) {
85
80
  properties["TransactionSetting"] = this.transactionSetting?.properties(
86
81
  );
@@ -3,10 +3,10 @@ import ScriptSetting from "../../../core/model/ScriptSetting";
3
3
  import LogSetting from "../../../core/model/LogSetting";
4
4
  export interface NamespaceOptions {
5
5
  description?: string | null;
6
- enableDirectEnhance?: boolean | null;
7
6
  transactionSetting?: TransactionSetting | null;
8
7
  enhanceScript?: ScriptSetting | null;
9
8
  logSetting?: LogSetting | null;
9
+ enableDirectEnhance?: boolean | null;
10
10
  queueNamespaceId?: string | null;
11
11
  keyId?: string | null;
12
12
  }
@@ -19,10 +19,10 @@ import LogSetting from "../../../core/model/LogSetting";
19
19
 
20
20
  export interface NamespaceOptions {
21
21
  description?: string|null;
22
- enableDirectEnhance?: boolean|null;
23
22
  transactionSetting?: TransactionSetting|null;
24
23
  enhanceScript?: ScriptSetting|null;
25
24
  logSetting?: LogSetting|null;
25
+ enableDirectEnhance?: boolean|null;
26
26
  queueNamespaceId?: string|null;
27
27
  keyId?: string|null;
28
28
  }
@@ -3,7 +3,6 @@ import IncrementalRateModelRef from "./IncrementalRateModelRef";
3
3
  import ExchangeByUserId from "../stampSheet/ExchangeByUserId";
4
4
  import { Config } from "../../core/model";
5
5
  import IncrementalExchangeByUserId from "../stampSheet/IncrementalExchangeByUserId";
6
- import UnlockIncrementalExchangeByUserId from "../stampSheet/UnlockIncrementalExchangeByUserId";
7
6
  import CreateAwaitByUserId from "../stampSheet/CreateAwaitByUserId";
8
7
  import SkipByUserId from "../stampSheet/SkipByUserId";
9
8
  import { AwaitSkipType } from "../stampSheet/enum/AwaitSkipType";
@@ -15,7 +14,6 @@ export default class NamespaceRef {
15
14
  incrementalRateModel(rateName: string): IncrementalRateModelRef;
16
15
  exchange(rateName: string, count: number, config?: Config[] | null, userId?: string): ExchangeByUserId;
17
16
  incrementalExchange(rateName: string, count: number, config?: Config[] | null, userId?: string): IncrementalExchangeByUserId;
18
- unlockIncrementalExchange(rateName: string, lockTransactionId: string, userId?: string): UnlockIncrementalExchangeByUserId;
19
17
  createAwait(rateName: string, count?: number | null, config?: Config[] | null, userId?: string): CreateAwaitByUserId;
20
18
  skip(awaitName?: string | null, skipType?: AwaitSkipType | null, minutes?: number | null, rate?: number | null, userId?: string): SkipByUserId;
21
19
  deleteAwait(awaitName?: string | null, userId?: string): DeleteAwaitByUserId;
@@ -21,7 +21,6 @@ const RateModelRef_1 = tslib_1.__importDefault(require("./RateModelRef"));
21
21
  const IncrementalRateModelRef_1 = tslib_1.__importDefault(require("./IncrementalRateModelRef"));
22
22
  const ExchangeByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ExchangeByUserId"));
23
23
  const IncrementalExchangeByUserId_1 = tslib_1.__importDefault(require("../stampSheet/IncrementalExchangeByUserId"));
24
- const UnlockIncrementalExchangeByUserId_1 = tslib_1.__importDefault(require("../stampSheet/UnlockIncrementalExchangeByUserId"));
25
24
  const CreateAwaitByUserId_1 = tslib_1.__importDefault(require("../stampSheet/CreateAwaitByUserId"));
26
25
  const SkipByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SkipByUserId"));
27
26
  const DeleteAwaitByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteAwaitByUserId"));
@@ -41,9 +40,6 @@ class NamespaceRef {
41
40
  incrementalExchange(rateName, count, config = null, userId = "#{userId}") {
42
41
  return new IncrementalExchangeByUserId_1.default(this.namespaceName, rateName, count, config, userId);
43
42
  }
44
- unlockIncrementalExchange(rateName, lockTransactionId, userId = "#{userId}") {
45
- return new UnlockIncrementalExchangeByUserId_1.default(this.namespaceName, rateName, lockTransactionId, userId);
46
- }
47
43
  createAwait(rateName, count = null, config = null, userId = "#{userId}") {
48
44
  return new CreateAwaitByUserId_1.default(this.namespaceName, rateName, count, config, userId);
49
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,gGAAgE;AAChE,8FAA8D;AAE9D,oHAAoF;AACpF,gIAAgG;AAChG,oGAAoE;AACpE,sFAAsD;AAEtD,oGAAoE;AAEpE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,QAAgB;QAEhB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,oBAAoB,CACvB,QAAgB;QAEhB,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,QAAQ,CACX,QAAgB,EAChB,KAAa,EACb,SAAwB,IAAI,EAC5B,SAAiB,WAAW;QAE5B,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,KAAK,EAC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,UAAuB,IAAI,EAC3B,OAAoB,IAAI,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,YAAyB,IAAI,EAC7B,SAAiB,WAAW;QAE5B,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvHD,+BAuHC"}
@@ -20,7 +20,6 @@ import IncrementalRateModelRef from "./IncrementalRateModelRef";
20
20
  import ExchangeByUserId from "../stampSheet/ExchangeByUserId";
21
21
  import { Config } from "../../core/model";
22
22
  import IncrementalExchangeByUserId from "../stampSheet/IncrementalExchangeByUserId";
23
- import UnlockIncrementalExchangeByUserId from "../stampSheet/UnlockIncrementalExchangeByUserId";
24
23
  import CreateAwaitByUserId from "../stampSheet/CreateAwaitByUserId";
25
24
  import SkipByUserId from "../stampSheet/SkipByUserId";
26
25
  import { AwaitSkipType } from "../stampSheet/enum/AwaitSkipType";
@@ -83,19 +82,6 @@ export default class NamespaceRef {
83
82
  );
84
83
  }
85
84
 
86
- public unlockIncrementalExchange(
87
- rateName: string,
88
- lockTransactionId: string,
89
- userId: string = "#{userId}",
90
- ): UnlockIncrementalExchangeByUserId {
91
- return new UnlockIncrementalExchangeByUserId(
92
- this.namespaceName,
93
- rateName,
94
- lockTransactionId,
95
- userId,
96
- );
97
- }
98
-
99
85
  public createAwait(
100
86
  rateName: string,
101
87
  count: number|null = null,
@@ -1,7 +1,6 @@
1
1
  import ExchangeByUserId from "./ExchangeByUserId";
2
2
  import IncrementalExchangeByUserId from "./IncrementalExchangeByUserId";
3
- import UnlockIncrementalExchangeByUserId from "./UnlockIncrementalExchangeByUserId";
4
3
  import CreateAwaitByUserId from "./CreateAwaitByUserId";
5
4
  import SkipByUserId from "./SkipByUserId";
6
5
  import DeleteAwaitByUserId from "./DeleteAwaitByUserId";
7
- export { ExchangeByUserId, IncrementalExchangeByUserId, UnlockIncrementalExchangeByUserId, CreateAwaitByUserId, SkipByUserId, DeleteAwaitByUserId, };
6
+ export { ExchangeByUserId, IncrementalExchangeByUserId, CreateAwaitByUserId, SkipByUserId, DeleteAwaitByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteAwaitByUserId = exports.SkipByUserId = exports.CreateAwaitByUserId = exports.UnlockIncrementalExchangeByUserId = exports.IncrementalExchangeByUserId = exports.ExchangeByUserId = void 0;
3
+ exports.DeleteAwaitByUserId = exports.SkipByUserId = exports.CreateAwaitByUserId = exports.IncrementalExchangeByUserId = exports.ExchangeByUserId = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -21,8 +21,6 @@ const ExchangeByUserId_1 = tslib_1.__importDefault(require("./ExchangeByUserId")
21
21
  exports.ExchangeByUserId = ExchangeByUserId_1.default;
22
22
  const IncrementalExchangeByUserId_1 = tslib_1.__importDefault(require("./IncrementalExchangeByUserId"));
23
23
  exports.IncrementalExchangeByUserId = IncrementalExchangeByUserId_1.default;
24
- const UnlockIncrementalExchangeByUserId_1 = tslib_1.__importDefault(require("./UnlockIncrementalExchangeByUserId"));
25
- exports.UnlockIncrementalExchangeByUserId = UnlockIncrementalExchangeByUserId_1.default;
26
24
  const CreateAwaitByUserId_1 = tslib_1.__importDefault(require("./CreateAwaitByUserId"));
27
25
  exports.CreateAwaitByUserId = CreateAwaitByUserId_1.default;
28
26
  const SkipByUserId_1 = tslib_1.__importDefault(require("./SkipByUserId"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kFAAkD;AAQ9C,2BARG,0BAAgB,CAQH;AAPpB,wGAAwE;AAQpE,sCARG,qCAA2B,CAQH;AAP/B,oHAAoF;AAQhF,4CARG,2CAAiC,CAQH;AAPrC,wFAAwD;AAQpD,8BARG,6BAAmB,CAQH;AAPvB,0EAA0C;AAQtC,uBARG,sBAAY,CAQH;AAPhB,wFAAwD;AAQpD,8BARG,6BAAmB,CAQH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kFAAkD;AAO9C,2BAPG,0BAAgB,CAOH;AANpB,wGAAwE;AAOpE,sCAPG,qCAA2B,CAOH;AAN/B,wFAAwD;AAOpD,8BAPG,6BAAmB,CAOH;AANvB,0EAA0C;AAOtC,uBAPG,sBAAY,CAOH;AANhB,wFAAwD;AAOpD,8BAPG,6BAAmB,CAOH"}
@@ -15,7 +15,6 @@
15
15
  */
16
16
  import ExchangeByUserId from "./ExchangeByUserId";
17
17
  import IncrementalExchangeByUserId from "./IncrementalExchangeByUserId";
18
- import UnlockIncrementalExchangeByUserId from "./UnlockIncrementalExchangeByUserId";
19
18
  import CreateAwaitByUserId from "./CreateAwaitByUserId";
20
19
  import SkipByUserId from "./SkipByUserId";
21
20
  import DeleteAwaitByUserId from "./DeleteAwaitByUserId";
@@ -23,7 +22,6 @@ import DeleteAwaitByUserId from "./DeleteAwaitByUserId";
23
22
  export {
24
23
  ExchangeByUserId,
25
24
  IncrementalExchangeByUserId,
26
- UnlockIncrementalExchangeByUserId,
27
25
  CreateAwaitByUserId,
28
26
  SkipByUserId,
29
27
  DeleteAwaitByUserId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"