gs2-cdk 1.0.119 → 1.0.121
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/account/model/Namespace.d.ts +1 -0
- package/account/model/Namespace.js +23 -18
- package/account/model/Namespace.js.map +1 -1
- package/account/model/Namespace.ts +7 -0
- package/account/model/options/NamespaceOptions.d.ts +2 -0
- package/account/model/options/NamespaceOptions.ts +2 -0
- package/adReward/model/Namespace.d.ts +2 -1
- package/adReward/model/Namespace.js +25 -20
- package/adReward/model/Namespace.js.map +1 -1
- package/adReward/model/Namespace.ts +12 -5
- package/adReward/model/options/NamespaceOptions.d.ts +3 -1
- package/adReward/model/options/NamespaceOptions.ts +3 -1
- package/buff/model/Namespace.d.ts +1 -0
- package/buff/model/Namespace.js +11 -6
- package/buff/model/Namespace.js.map +1 -1
- package/buff/model/Namespace.ts +7 -0
- package/buff/model/options/NamespaceOptions.d.ts +2 -0
- package/buff/model/options/NamespaceOptions.ts +2 -0
- package/chat/model/Namespace.d.ts +1 -0
- package/chat/model/Namespace.js +23 -18
- package/chat/model/Namespace.js.map +1 -1
- package/chat/model/Namespace.ts +7 -0
- package/chat/model/options/NamespaceOptions.d.ts +2 -0
- package/chat/model/options/NamespaceOptions.ts +2 -0
- package/datastore/model/Namespace.d.ts +1 -0
- package/datastore/model/Namespace.js +11 -6
- package/datastore/model/Namespace.js.map +1 -1
- package/datastore/model/Namespace.ts +7 -0
- package/datastore/model/options/NamespaceOptions.d.ts +2 -0
- package/datastore/model/options/NamespaceOptions.ts +2 -0
- package/dictionary/model/Namespace.d.ts +1 -0
- package/dictionary/model/Namespace.js +12 -7
- package/dictionary/model/Namespace.js.map +1 -1
- package/dictionary/model/Namespace.ts +7 -0
- package/dictionary/model/options/NamespaceOptions.d.ts +2 -0
- package/dictionary/model/options/NamespaceOptions.ts +2 -0
- package/distributor/model/Namespace.d.ts +1 -0
- package/distributor/model/Namespace.js +14 -9
- package/distributor/model/Namespace.js.map +1 -1
- package/distributor/model/Namespace.ts +7 -0
- package/distributor/model/options/NamespaceOptions.d.ts +2 -0
- package/distributor/model/options/NamespaceOptions.ts +2 -0
- package/friend/model/Namespace.d.ts +1 -0
- package/friend/model/Namespace.js +37 -32
- package/friend/model/Namespace.js.map +1 -1
- package/friend/model/Namespace.ts +7 -0
- package/friend/model/options/NamespaceOptions.d.ts +2 -0
- package/friend/model/options/NamespaceOptions.ts +2 -0
- package/gateway/model/Namespace.d.ts +1 -0
- package/gateway/model/Namespace.js +10 -5
- package/gateway/model/Namespace.js.map +1 -1
- package/gateway/model/Namespace.ts +7 -0
- package/gateway/model/options/NamespaceOptions.d.ts +2 -0
- package/gateway/model/options/NamespaceOptions.ts +2 -0
- package/guild/model/Namespace.d.ts +1 -0
- package/guild/model/Namespace.js +35 -30
- package/guild/model/Namespace.js.map +1 -1
- package/guild/model/Namespace.ts +7 -0
- package/guild/model/options/NamespaceOptions.d.ts +2 -0
- package/guild/model/options/NamespaceOptions.ts +2 -0
- package/inventory/model/Namespace.d.ts +1 -0
- package/inventory/model/Namespace.js +23 -18
- package/inventory/model/Namespace.js.map +1 -1
- package/inventory/model/Namespace.ts +7 -0
- package/inventory/model/options/NamespaceOptions.d.ts +2 -0
- package/inventory/model/options/NamespaceOptions.ts +2 -0
- package/jobQueue/model/Namespace.d.ts +1 -0
- package/jobQueue/model/Namespace.js +13 -8
- package/jobQueue/model/Namespace.js.map +1 -1
- package/jobQueue/model/Namespace.ts +7 -0
- package/jobQueue/model/options/NamespaceOptions.d.ts +2 -0
- package/jobQueue/model/options/NamespaceOptions.ts +2 -0
- package/limit/model/Namespace.d.ts +1 -0
- package/limit/model/Namespace.js +9 -4
- package/limit/model/Namespace.js.map +1 -1
- package/limit/model/Namespace.ts +7 -0
- package/limit/model/options/NamespaceOptions.d.ts +2 -0
- package/limit/model/options/NamespaceOptions.ts +2 -0
- package/matchmaking/model/Namespace.d.ts +1 -0
- package/matchmaking/model/Namespace.js +29 -24
- package/matchmaking/model/Namespace.js.map +1 -1
- package/matchmaking/model/Namespace.ts +7 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceOptions.ts +2 -0
- package/money/model/Namespace.d.ts +1 -0
- package/money/model/Namespace.js +18 -13
- package/money/model/Namespace.js.map +1 -1
- package/money/model/Namespace.ts +7 -0
- package/money/model/options/NamespaceOptions.d.ts +2 -0
- package/money/model/options/NamespaceOptions.ts +2 -0
- package/money2/model/Namespace.d.ts +2 -0
- package/money2/model/Namespace.js +26 -16
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +13 -0
- package/money2/model/options/NamespaceOptions.d.ts +3 -0
- package/money2/model/options/NamespaceOptions.ts +3 -0
- package/package.json +1 -1
- package/ranking/model/Namespace.d.ts +1 -0
- package/ranking/model/Namespace.js +9 -4
- package/ranking/model/Namespace.js.map +1 -1
- package/ranking/model/Namespace.ts +7 -0
- package/ranking/model/options/NamespaceOptions.d.ts +2 -0
- package/ranking/model/options/NamespaceOptions.ts +2 -0
- package/realtime/model/Namespace.d.ts +1 -0
- package/realtime/model/Namespace.js +11 -6
- package/realtime/model/Namespace.js.map +1 -1
- package/realtime/model/Namespace.ts +7 -0
- package/realtime/model/options/NamespaceOptions.d.ts +2 -0
- package/realtime/model/options/NamespaceOptions.ts +2 -0
- package/schedule/model/Namespace.d.ts +1 -0
- package/schedule/model/Namespace.js +9 -4
- package/schedule/model/Namespace.js.map +1 -1
- package/schedule/model/Namespace.ts +7 -0
- package/schedule/model/options/NamespaceOptions.d.ts +2 -0
- package/schedule/model/options/NamespaceOptions.ts +2 -0
- package/serialKey/model/Namespace.d.ts +1 -0
- package/serialKey/model/Namespace.js +9 -4
- package/serialKey/model/Namespace.js.map +1 -1
- package/serialKey/model/Namespace.ts +7 -0
- package/serialKey/model/options/NamespaceOptions.d.ts +2 -0
- package/serialKey/model/options/NamespaceOptions.ts +2 -0
- package/stamina/model/Namespace.d.ts +1 -0
- package/stamina/model/Namespace.js +10 -5
- package/stamina/model/Namespace.js.map +1 -1
- package/stamina/model/Namespace.ts +7 -0
- package/stamina/model/options/NamespaceOptions.d.ts +2 -0
- package/stamina/model/options/NamespaceOptions.ts +2 -0
- package/version/model/Namespace.d.ts +1 -0
- package/version/model/Namespace.js +12 -7
- package/version/model/Namespace.js.map +1 -1
- package/version/model/Namespace.ts +7 -0
- package/version/model/options/NamespaceOptions.d.ts +2 -0
- package/version/model/options/NamespaceOptions.ts +2 -0
|
@@ -21,9 +21,10 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
|
|
22
22
|
class Namespace extends model_1.CdkResource {
|
|
23
23
|
constructor(stack, name, options = null) {
|
|
24
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
24
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
25
25
|
super("Friend_Namespace_" + name);
|
|
26
26
|
this.description = null;
|
|
27
|
+
this.transactionSetting = null;
|
|
27
28
|
this.followScript = null;
|
|
28
29
|
this.unfollowScript = null;
|
|
29
30
|
this.sendRequestScript = null;
|
|
@@ -42,21 +43,22 @@ class Namespace extends model_1.CdkResource {
|
|
|
42
43
|
this.stack = stack;
|
|
43
44
|
this.name = name;
|
|
44
45
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
46
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
47
|
+
this.followScript = (_c = options === null || options === void 0 ? void 0 : options.followScript) !== null && _c !== void 0 ? _c : null;
|
|
48
|
+
this.unfollowScript = (_d = options === null || options === void 0 ? void 0 : options.unfollowScript) !== null && _d !== void 0 ? _d : null;
|
|
49
|
+
this.sendRequestScript = (_e = options === null || options === void 0 ? void 0 : options.sendRequestScript) !== null && _e !== void 0 ? _e : null;
|
|
50
|
+
this.cancelRequestScript = (_f = options === null || options === void 0 ? void 0 : options.cancelRequestScript) !== null && _f !== void 0 ? _f : null;
|
|
51
|
+
this.acceptRequestScript = (_g = options === null || options === void 0 ? void 0 : options.acceptRequestScript) !== null && _g !== void 0 ? _g : null;
|
|
52
|
+
this.rejectRequestScript = (_h = options === null || options === void 0 ? void 0 : options.rejectRequestScript) !== null && _h !== void 0 ? _h : null;
|
|
53
|
+
this.deleteFriendScript = (_j = options === null || options === void 0 ? void 0 : options.deleteFriendScript) !== null && _j !== void 0 ? _j : null;
|
|
54
|
+
this.updateProfileScript = (_k = options === null || options === void 0 ? void 0 : options.updateProfileScript) !== null && _k !== void 0 ? _k : null;
|
|
55
|
+
this.followNotification = (_l = options === null || options === void 0 ? void 0 : options.followNotification) !== null && _l !== void 0 ? _l : null;
|
|
56
|
+
this.receiveRequestNotification = (_m = options === null || options === void 0 ? void 0 : options.receiveRequestNotification) !== null && _m !== void 0 ? _m : null;
|
|
57
|
+
this.cancelRequestNotification = (_o = options === null || options === void 0 ? void 0 : options.cancelRequestNotification) !== null && _o !== void 0 ? _o : null;
|
|
58
|
+
this.acceptRequestNotification = (_p = options === null || options === void 0 ? void 0 : options.acceptRequestNotification) !== null && _p !== void 0 ? _p : null;
|
|
59
|
+
this.rejectRequestNotification = (_q = options === null || options === void 0 ? void 0 : options.rejectRequestNotification) !== null && _q !== void 0 ? _q : null;
|
|
60
|
+
this.deleteFriendNotification = (_r = options === null || options === void 0 ? void 0 : options.deleteFriendNotification) !== null && _r !== void 0 ? _r : null;
|
|
61
|
+
this.logSetting = (_s = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _s !== void 0 ? _s : null;
|
|
60
62
|
stack.addResource(this);
|
|
61
63
|
}
|
|
62
64
|
alternateKeys() {
|
|
@@ -66,7 +68,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
66
68
|
return "GS2::Friend::Namespace";
|
|
67
69
|
}
|
|
68
70
|
properties() {
|
|
69
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
71
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
70
72
|
let properties = {};
|
|
71
73
|
if (this.name != null) {
|
|
72
74
|
properties["Name"] = this.name;
|
|
@@ -74,50 +76,53 @@ class Namespace extends model_1.CdkResource {
|
|
|
74
76
|
if (this.description != null) {
|
|
75
77
|
properties["Description"] = this.description;
|
|
76
78
|
}
|
|
79
|
+
if (this.transactionSetting != null) {
|
|
80
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
81
|
+
}
|
|
77
82
|
if (this.followScript != null) {
|
|
78
|
-
properties["FollowScript"] = (
|
|
83
|
+
properties["FollowScript"] = (_b = this.followScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
79
84
|
}
|
|
80
85
|
if (this.unfollowScript != null) {
|
|
81
|
-
properties["UnfollowScript"] = (
|
|
86
|
+
properties["UnfollowScript"] = (_c = this.unfollowScript) === null || _c === void 0 ? void 0 : _c.properties();
|
|
82
87
|
}
|
|
83
88
|
if (this.sendRequestScript != null) {
|
|
84
|
-
properties["SendRequestScript"] = (
|
|
89
|
+
properties["SendRequestScript"] = (_d = this.sendRequestScript) === null || _d === void 0 ? void 0 : _d.properties();
|
|
85
90
|
}
|
|
86
91
|
if (this.cancelRequestScript != null) {
|
|
87
|
-
properties["CancelRequestScript"] = (
|
|
92
|
+
properties["CancelRequestScript"] = (_e = this.cancelRequestScript) === null || _e === void 0 ? void 0 : _e.properties();
|
|
88
93
|
}
|
|
89
94
|
if (this.acceptRequestScript != null) {
|
|
90
|
-
properties["AcceptRequestScript"] = (
|
|
95
|
+
properties["AcceptRequestScript"] = (_f = this.acceptRequestScript) === null || _f === void 0 ? void 0 : _f.properties();
|
|
91
96
|
}
|
|
92
97
|
if (this.rejectRequestScript != null) {
|
|
93
|
-
properties["RejectRequestScript"] = (
|
|
98
|
+
properties["RejectRequestScript"] = (_g = this.rejectRequestScript) === null || _g === void 0 ? void 0 : _g.properties();
|
|
94
99
|
}
|
|
95
100
|
if (this.deleteFriendScript != null) {
|
|
96
|
-
properties["DeleteFriendScript"] = (
|
|
101
|
+
properties["DeleteFriendScript"] = (_h = this.deleteFriendScript) === null || _h === void 0 ? void 0 : _h.properties();
|
|
97
102
|
}
|
|
98
103
|
if (this.updateProfileScript != null) {
|
|
99
|
-
properties["UpdateProfileScript"] = (
|
|
104
|
+
properties["UpdateProfileScript"] = (_j = this.updateProfileScript) === null || _j === void 0 ? void 0 : _j.properties();
|
|
100
105
|
}
|
|
101
106
|
if (this.followNotification != null) {
|
|
102
|
-
properties["FollowNotification"] = (
|
|
107
|
+
properties["FollowNotification"] = (_k = this.followNotification) === null || _k === void 0 ? void 0 : _k.properties();
|
|
103
108
|
}
|
|
104
109
|
if (this.receiveRequestNotification != null) {
|
|
105
|
-
properties["ReceiveRequestNotification"] = (
|
|
110
|
+
properties["ReceiveRequestNotification"] = (_l = this.receiveRequestNotification) === null || _l === void 0 ? void 0 : _l.properties();
|
|
106
111
|
}
|
|
107
112
|
if (this.cancelRequestNotification != null) {
|
|
108
|
-
properties["CancelRequestNotification"] = (
|
|
113
|
+
properties["CancelRequestNotification"] = (_m = this.cancelRequestNotification) === null || _m === void 0 ? void 0 : _m.properties();
|
|
109
114
|
}
|
|
110
115
|
if (this.acceptRequestNotification != null) {
|
|
111
|
-
properties["AcceptRequestNotification"] = (
|
|
116
|
+
properties["AcceptRequestNotification"] = (_o = this.acceptRequestNotification) === null || _o === void 0 ? void 0 : _o.properties();
|
|
112
117
|
}
|
|
113
118
|
if (this.rejectRequestNotification != null) {
|
|
114
|
-
properties["RejectRequestNotification"] = (
|
|
119
|
+
properties["RejectRequestNotification"] = (_p = this.rejectRequestNotification) === null || _p === void 0 ? void 0 : _p.properties();
|
|
115
120
|
}
|
|
116
121
|
if (this.deleteFriendNotification != null) {
|
|
117
|
-
properties["DeleteFriendNotification"] = (
|
|
122
|
+
properties["DeleteFriendNotification"] = (_q = this.deleteFriendNotification) === null || _q === void 0 ? void 0 : _q.properties();
|
|
118
123
|
}
|
|
119
124
|
if (this.logSetting != null) {
|
|
120
|
-
properties["LogSetting"] = (
|
|
125
|
+
properties["LogSetting"] = (_r = this.logSetting) === null || _r === void 0 ? void 0 : _r.properties();
|
|
121
126
|
}
|
|
122
127
|
return properties;
|
|
123
128
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAI/C,MAAqB,SAAU,SAAQ,mBAAW;IAqB9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,mBAAmB,GAAG,IAAI,CAC7B,CAAC;QAzBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,iBAAY,GAAuB,IAAI,CAAC;QACxC,mBAAc,GAAuB,IAAI,CAAC;QAC1C,sBAAiB,GAAuB,IAAI,CAAC;QAC7C,wBAAmB,GAAuB,IAAI,CAAC;QAC/C,wBAAm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C;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AA9JD,4BA8JC"}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import {CdkResource, Stack} from "../../core/model";
|
|
18
18
|
import {GetAttr} from "../../core/func";
|
|
19
|
+
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
19
20
|
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
20
21
|
import NotificationSetting from "../../core/model/NotificationSetting";
|
|
21
22
|
import LogSetting from "../../core/model/LogSetting";
|
|
@@ -28,6 +29,7 @@ export default class Namespace extends CdkResource {
|
|
|
28
29
|
private readonly stack: Stack;
|
|
29
30
|
private readonly name: string;
|
|
30
31
|
private readonly description: string|null = null;
|
|
32
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
31
33
|
private readonly followScript: ScriptSetting|null = null;
|
|
32
34
|
private readonly unfollowScript: ScriptSetting|null = null;
|
|
33
35
|
private readonly sendRequestScript: ScriptSetting|null = null;
|
|
@@ -56,6 +58,7 @@ export default class Namespace extends CdkResource {
|
|
|
56
58
|
this.stack = stack;
|
|
57
59
|
this.name = name;
|
|
58
60
|
this.description = options?.description ?? null;
|
|
61
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
59
62
|
this.followScript = options?.followScript ?? null;
|
|
60
63
|
this.unfollowScript = options?.unfollowScript ?? null;
|
|
61
64
|
this.sendRequestScript = options?.sendRequestScript ?? null;
|
|
@@ -97,6 +100,10 @@ export default class Namespace extends CdkResource {
|
|
|
97
100
|
if (this.description != null) {
|
|
98
101
|
properties["Description"] = this.description;
|
|
99
102
|
}
|
|
103
|
+
if (this.transactionSetting != null) {
|
|
104
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
105
|
+
);
|
|
106
|
+
}
|
|
100
107
|
if (this.followScript != null) {
|
|
101
108
|
properties["FollowScript"] = this.followScript?.properties(
|
|
102
109
|
);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
2
3
|
import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
3
4
|
import LogSetting from "../../../core/model/LogSetting";
|
|
4
5
|
export interface NamespaceOptions {
|
|
5
6
|
description?: string | null;
|
|
7
|
+
transactionSetting?: TransactionSetting | null;
|
|
6
8
|
followScript?: ScriptSetting | null;
|
|
7
9
|
unfollowScript?: ScriptSetting | null;
|
|
8
10
|
sendRequestScript?: ScriptSetting | null;
|
|
@@ -13,12 +13,14 @@
|
|
|
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 TransactionSetting from "../../../core/model/TransactionSetting";
|
|
16
17
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
17
18
|
import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
18
19
|
import LogSetting from "../../../core/model/LogSetting";
|
|
19
20
|
|
|
20
21
|
export interface NamespaceOptions {
|
|
21
22
|
description?: string|null;
|
|
23
|
+
transactionSetting?: TransactionSetting|null;
|
|
22
24
|
followScript?: ScriptSetting|null;
|
|
23
25
|
unfollowScript?: ScriptSetting|null;
|
|
24
26
|
sendRequestScript?: ScriptSetting|null;
|
|
@@ -6,6 +6,7 @@ export default class Namespace extends CdkResource {
|
|
|
6
6
|
private readonly stack;
|
|
7
7
|
private readonly name;
|
|
8
8
|
private readonly description;
|
|
9
|
+
private readonly transactionSetting;
|
|
9
10
|
private readonly firebaseSecret;
|
|
10
11
|
private readonly logSetting;
|
|
11
12
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
@@ -21,16 +21,18 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
|
|
22
22
|
class Namespace extends model_1.CdkResource {
|
|
23
23
|
constructor(stack, name, options = null) {
|
|
24
|
-
var _a, _b, _c;
|
|
24
|
+
var _a, _b, _c, _d;
|
|
25
25
|
super("Gateway_Namespace_" + name);
|
|
26
26
|
this.description = null;
|
|
27
|
+
this.transactionSetting = null;
|
|
27
28
|
this.firebaseSecret = null;
|
|
28
29
|
this.logSetting = null;
|
|
29
30
|
this.stack = stack;
|
|
30
31
|
this.name = name;
|
|
31
32
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
33
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
34
|
+
this.firebaseSecret = (_c = options === null || options === void 0 ? void 0 : options.firebaseSecret) !== null && _c !== void 0 ? _c : null;
|
|
35
|
+
this.logSetting = (_d = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _d !== void 0 ? _d : null;
|
|
34
36
|
stack.addResource(this);
|
|
35
37
|
}
|
|
36
38
|
alternateKeys() {
|
|
@@ -40,7 +42,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
40
42
|
return "GS2::Gateway::Namespace";
|
|
41
43
|
}
|
|
42
44
|
properties() {
|
|
43
|
-
var _a;
|
|
45
|
+
var _a, _b;
|
|
44
46
|
let properties = {};
|
|
45
47
|
if (this.name != null) {
|
|
46
48
|
properties["Name"] = this.name;
|
|
@@ -48,11 +50,14 @@ class Namespace extends model_1.CdkResource {
|
|
|
48
50
|
if (this.description != null) {
|
|
49
51
|
properties["Description"] = this.description;
|
|
50
52
|
}
|
|
53
|
+
if (this.transactionSetting != null) {
|
|
54
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
55
|
+
}
|
|
51
56
|
if (this.firebaseSecret != null) {
|
|
52
57
|
properties["FirebaseSecret"] = this.firebaseSecret;
|
|
53
58
|
}
|
|
54
59
|
if (this.logSetting != null) {
|
|
55
|
-
properties["LogSetting"] = (
|
|
60
|
+
properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
|
|
56
61
|
}
|
|
57
62
|
return properties;
|
|
58
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAI/C,MAAqB,SAAU,SAAQ,mBAAW;IAQ9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAZW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,mBAAc,GAAgB,IAAI,CAAC;QACnC,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,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,IAAI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import {CdkResource, Stack} from "../../core/model";
|
|
18
18
|
import {GetAttr} from "../../core/func";
|
|
19
|
+
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
19
20
|
import LogSetting from "../../core/model/LogSetting";
|
|
20
21
|
|
|
21
22
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
@@ -26,6 +27,7 @@ export default class Namespace extends CdkResource {
|
|
|
26
27
|
private readonly stack: Stack;
|
|
27
28
|
private readonly name: string;
|
|
28
29
|
private readonly description: string|null = null;
|
|
30
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
29
31
|
private readonly firebaseSecret: string|null = null;
|
|
30
32
|
private readonly logSetting: LogSetting|null = null;
|
|
31
33
|
|
|
@@ -41,6 +43,7 @@ export default class Namespace extends CdkResource {
|
|
|
41
43
|
this.stack = stack;
|
|
42
44
|
this.name = name;
|
|
43
45
|
this.description = options?.description ?? null;
|
|
46
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
44
47
|
this.firebaseSecret = options?.firebaseSecret ?? null;
|
|
45
48
|
this.logSetting = options?.logSetting ?? null;
|
|
46
49
|
stack.addResource(
|
|
@@ -69,6 +72,10 @@ export default class Namespace extends CdkResource {
|
|
|
69
72
|
if (this.description != null) {
|
|
70
73
|
properties["Description"] = this.description;
|
|
71
74
|
}
|
|
75
|
+
if (this.transactionSetting != null) {
|
|
76
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
77
|
+
);
|
|
78
|
+
}
|
|
72
79
|
if (this.firebaseSecret != null) {
|
|
73
80
|
properties["FirebaseSecret"] = this.firebaseSecret;
|
|
74
81
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import LogSetting from "../../../core/model/LogSetting";
|
|
2
3
|
export interface NamespaceOptions {
|
|
3
4
|
description?: string | null;
|
|
5
|
+
transactionSetting?: TransactionSetting | null;
|
|
4
6
|
firebaseSecret?: string | null;
|
|
5
7
|
logSetting?: LogSetting | null;
|
|
6
8
|
}
|
|
@@ -13,10 +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 TransactionSetting from "../../../core/model/TransactionSetting";
|
|
16
17
|
import LogSetting from "../../../core/model/LogSetting";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceOptions {
|
|
19
20
|
description?: string|null;
|
|
21
|
+
transactionSetting?: TransactionSetting|null;
|
|
20
22
|
firebaseSecret?: string|null;
|
|
21
23
|
logSetting?: LogSetting|null;
|
|
22
24
|
}
|
|
@@ -7,6 +7,7 @@ export default class Namespace extends CdkResource {
|
|
|
7
7
|
private readonly stack;
|
|
8
8
|
private readonly name;
|
|
9
9
|
private readonly description;
|
|
10
|
+
private readonly transactionSetting;
|
|
10
11
|
private readonly changeNotification;
|
|
11
12
|
private readonly joinNotification;
|
|
12
13
|
private readonly leaveNotification;
|
package/guild/model/Namespace.js
CHANGED
|
@@ -22,9 +22,10 @@ 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, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
26
26
|
super("Guild_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.changeNotification = null;
|
|
29
30
|
this.joinNotification = null;
|
|
30
31
|
this.leaveNotification = null;
|
|
@@ -42,20 +43,21 @@ class Namespace extends model_1.CdkResource {
|
|
|
42
43
|
this.stack = stack;
|
|
43
44
|
this.name = name;
|
|
44
45
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
46
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
47
|
+
this.changeNotification = (_c = options === null || options === void 0 ? void 0 : options.changeNotification) !== null && _c !== void 0 ? _c : null;
|
|
48
|
+
this.joinNotification = (_d = options === null || options === void 0 ? void 0 : options.joinNotification) !== null && _d !== void 0 ? _d : null;
|
|
49
|
+
this.leaveNotification = (_e = options === null || options === void 0 ? void 0 : options.leaveNotification) !== null && _e !== void 0 ? _e : null;
|
|
50
|
+
this.changeMemberNotification = (_f = options === null || options === void 0 ? void 0 : options.changeMemberNotification) !== null && _f !== void 0 ? _f : null;
|
|
51
|
+
this.receiveRequestNotification = (_g = options === null || options === void 0 ? void 0 : options.receiveRequestNotification) !== null && _g !== void 0 ? _g : null;
|
|
52
|
+
this.removeRequestNotification = (_h = options === null || options === void 0 ? void 0 : options.removeRequestNotification) !== null && _h !== void 0 ? _h : null;
|
|
53
|
+
this.createGuildScript = (_j = options === null || options === void 0 ? void 0 : options.createGuildScript) !== null && _j !== void 0 ? _j : null;
|
|
54
|
+
this.updateGuildScript = (_k = options === null || options === void 0 ? void 0 : options.updateGuildScript) !== null && _k !== void 0 ? _k : null;
|
|
55
|
+
this.joinGuildScript = (_l = options === null || options === void 0 ? void 0 : options.joinGuildScript) !== null && _l !== void 0 ? _l : null;
|
|
56
|
+
this.receiveJoinRequestScript = (_m = options === null || options === void 0 ? void 0 : options.receiveJoinRequestScript) !== null && _m !== void 0 ? _m : null;
|
|
57
|
+
this.leaveGuildScript = (_o = options === null || options === void 0 ? void 0 : options.leaveGuildScript) !== null && _o !== void 0 ? _o : null;
|
|
58
|
+
this.changeRoleScript = (_p = options === null || options === void 0 ? void 0 : options.changeRoleScript) !== null && _p !== void 0 ? _p : null;
|
|
59
|
+
this.deleteGuildScript = (_q = options === null || options === void 0 ? void 0 : options.deleteGuildScript) !== null && _q !== void 0 ? _q : null;
|
|
60
|
+
this.logSetting = (_r = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _r !== void 0 ? _r : null;
|
|
59
61
|
stack.addResource(this);
|
|
60
62
|
}
|
|
61
63
|
alternateKeys() {
|
|
@@ -65,7 +67,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
65
67
|
return "GS2::Guild::Namespace";
|
|
66
68
|
}
|
|
67
69
|
properties() {
|
|
68
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
70
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
69
71
|
let properties = {};
|
|
70
72
|
if (this.name != null) {
|
|
71
73
|
properties["Name"] = this.name;
|
|
@@ -73,47 +75,50 @@ class Namespace extends model_1.CdkResource {
|
|
|
73
75
|
if (this.description != null) {
|
|
74
76
|
properties["Description"] = this.description;
|
|
75
77
|
}
|
|
78
|
+
if (this.transactionSetting != null) {
|
|
79
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
80
|
+
}
|
|
76
81
|
if (this.changeNotification != null) {
|
|
77
|
-
properties["ChangeNotification"] = (
|
|
82
|
+
properties["ChangeNotification"] = (_b = this.changeNotification) === null || _b === void 0 ? void 0 : _b.properties();
|
|
78
83
|
}
|
|
79
84
|
if (this.joinNotification != null) {
|
|
80
|
-
properties["JoinNotification"] = (
|
|
85
|
+
properties["JoinNotification"] = (_c = this.joinNotification) === null || _c === void 0 ? void 0 : _c.properties();
|
|
81
86
|
}
|
|
82
87
|
if (this.leaveNotification != null) {
|
|
83
|
-
properties["LeaveNotification"] = (
|
|
88
|
+
properties["LeaveNotification"] = (_d = this.leaveNotification) === null || _d === void 0 ? void 0 : _d.properties();
|
|
84
89
|
}
|
|
85
90
|
if (this.changeMemberNotification != null) {
|
|
86
|
-
properties["ChangeMemberNotification"] = (
|
|
91
|
+
properties["ChangeMemberNotification"] = (_e = this.changeMemberNotification) === null || _e === void 0 ? void 0 : _e.properties();
|
|
87
92
|
}
|
|
88
93
|
if (this.receiveRequestNotification != null) {
|
|
89
|
-
properties["ReceiveRequestNotification"] = (
|
|
94
|
+
properties["ReceiveRequestNotification"] = (_f = this.receiveRequestNotification) === null || _f === void 0 ? void 0 : _f.properties();
|
|
90
95
|
}
|
|
91
96
|
if (this.removeRequestNotification != null) {
|
|
92
|
-
properties["RemoveRequestNotification"] = (
|
|
97
|
+
properties["RemoveRequestNotification"] = (_g = this.removeRequestNotification) === null || _g === void 0 ? void 0 : _g.properties();
|
|
93
98
|
}
|
|
94
99
|
if (this.createGuildScript != null) {
|
|
95
|
-
properties["CreateGuildScript"] = (
|
|
100
|
+
properties["CreateGuildScript"] = (_h = this.createGuildScript) === null || _h === void 0 ? void 0 : _h.properties();
|
|
96
101
|
}
|
|
97
102
|
if (this.updateGuildScript != null) {
|
|
98
|
-
properties["UpdateGuildScript"] = (
|
|
103
|
+
properties["UpdateGuildScript"] = (_j = this.updateGuildScript) === null || _j === void 0 ? void 0 : _j.properties();
|
|
99
104
|
}
|
|
100
105
|
if (this.joinGuildScript != null) {
|
|
101
|
-
properties["JoinGuildScript"] = (
|
|
106
|
+
properties["JoinGuildScript"] = (_k = this.joinGuildScript) === null || _k === void 0 ? void 0 : _k.properties();
|
|
102
107
|
}
|
|
103
108
|
if (this.receiveJoinRequestScript != null) {
|
|
104
|
-
properties["ReceiveJoinRequestScript"] = (
|
|
109
|
+
properties["ReceiveJoinRequestScript"] = (_l = this.receiveJoinRequestScript) === null || _l === void 0 ? void 0 : _l.properties();
|
|
105
110
|
}
|
|
106
111
|
if (this.leaveGuildScript != null) {
|
|
107
|
-
properties["LeaveGuildScript"] = (
|
|
112
|
+
properties["LeaveGuildScript"] = (_m = this.leaveGuildScript) === null || _m === void 0 ? void 0 : _m.properties();
|
|
108
113
|
}
|
|
109
114
|
if (this.changeRoleScript != null) {
|
|
110
|
-
properties["ChangeRoleScript"] = (
|
|
115
|
+
properties["ChangeRoleScript"] = (_o = this.changeRoleScript) === null || _o === void 0 ? void 0 : _o.properties();
|
|
111
116
|
}
|
|
112
117
|
if (this.deleteGuildScript != null) {
|
|
113
|
-
properties["DeleteGuildScript"] = (
|
|
118
|
+
properties["DeleteGuildScript"] = (_p = this.deleteGuildScript) === null || _p === void 0 ? void 0 : _p.properties();
|
|
114
119
|
}
|
|
115
120
|
if (this.logSetting != null) {
|
|
116
|
-
properties["LogSetting"] = (
|
|
121
|
+
properties["LogSetting"] = (_q = this.logSetting) === null || _q === void 0 ? void 0 : _q.properties();
|
|
117
122
|
}
|
|
118
123
|
return properties;
|
|
119
124
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAoB9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,kBAAkB,GAAG,IAAI,CAC5B,CAAC;QAxBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,uBAAkB,GAA6B,IAAI,CAAC;QACpD,qBAAgB,GAA6B,IAAI,CAAC;QAClD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EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,WAAyB;QAEzB,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,WAAW,CACd,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AArKD,4BAqKC"}
|
package/guild/model/Namespace.ts
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import {CdkResource, Stack} from "../../core/model";
|
|
18
18
|
import {GetAttr} from "../../core/func";
|
|
19
|
+
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
19
20
|
import NotificationSetting from "../../core/model/NotificationSetting";
|
|
20
21
|
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
21
22
|
import LogSetting from "../../core/model/LogSetting";
|
|
@@ -30,6 +31,7 @@ export default class Namespace extends CdkResource {
|
|
|
30
31
|
private readonly stack: Stack;
|
|
31
32
|
private readonly name: string;
|
|
32
33
|
private readonly description: string|null = null;
|
|
34
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
33
35
|
private readonly changeNotification: NotificationSetting|null = null;
|
|
34
36
|
private readonly joinNotification: NotificationSetting|null = null;
|
|
35
37
|
private readonly leaveNotification: NotificationSetting|null = null;
|
|
@@ -57,6 +59,7 @@ export default class Namespace extends CdkResource {
|
|
|
57
59
|
this.stack = stack;
|
|
58
60
|
this.name = name;
|
|
59
61
|
this.description = options?.description ?? null;
|
|
62
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
60
63
|
this.changeNotification = options?.changeNotification ?? null;
|
|
61
64
|
this.joinNotification = options?.joinNotification ?? null;
|
|
62
65
|
this.leaveNotification = options?.leaveNotification ?? null;
|
|
@@ -97,6 +100,10 @@ export default class Namespace extends CdkResource {
|
|
|
97
100
|
if (this.description != null) {
|
|
98
101
|
properties["Description"] = this.description;
|
|
99
102
|
}
|
|
103
|
+
if (this.transactionSetting != null) {
|
|
104
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
105
|
+
);
|
|
106
|
+
}
|
|
100
107
|
if (this.changeNotification != null) {
|
|
101
108
|
properties["ChangeNotification"] = this.changeNotification?.properties(
|
|
102
109
|
);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
2
3
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
3
4
|
import LogSetting from "../../../core/model/LogSetting";
|
|
4
5
|
export interface NamespaceOptions {
|
|
5
6
|
description?: string | null;
|
|
7
|
+
transactionSetting?: TransactionSetting | null;
|
|
6
8
|
changeNotification?: NotificationSetting | null;
|
|
7
9
|
joinNotification?: NotificationSetting | null;
|
|
8
10
|
leaveNotification?: NotificationSetting | null;
|
|
@@ -13,12 +13,14 @@
|
|
|
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 TransactionSetting from "../../../core/model/TransactionSetting";
|
|
16
17
|
import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
17
18
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
18
19
|
import LogSetting from "../../../core/model/LogSetting";
|
|
19
20
|
|
|
20
21
|
export interface NamespaceOptions {
|
|
21
22
|
description?: string|null;
|
|
23
|
+
transactionSetting?: TransactionSetting|null;
|
|
22
24
|
changeNotification?: NotificationSetting|null;
|
|
23
25
|
joinNotification?: NotificationSetting|null;
|
|
24
26
|
leaveNotification?: NotificationSetting|null;
|
|
@@ -9,6 +9,7 @@ export default class Namespace extends CdkResource {
|
|
|
9
9
|
private readonly stack;
|
|
10
10
|
private readonly name;
|
|
11
11
|
private readonly description;
|
|
12
|
+
private readonly transactionSetting;
|
|
12
13
|
private readonly acquireScript;
|
|
13
14
|
private readonly overflowScript;
|
|
14
15
|
private readonly consumeScript;
|