gs2-cdk 1.0.120 → 1.0.132
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/core/model/index.d.ts +4 -1
- package/core/model/index.js +5 -1
- package/core/model/index.js.map +1 -1
- package/core/model/index.ts +6 -0
- package/core/model/nums/NotificationSettingEnable.d.ts +5 -0
- package/core/model/nums/NotificationSettingEnable.js +23 -0
- package/core/model/nums/NotificationSettingEnable.js.map +1 -0
- package/core/model/nums/NotificationSettingEnable.ts +23 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.d.ts +6 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.js +24 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.js.map +1 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.ts +24 -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/SendNotificationEntry.d.ts +13 -0
- package/gateway/model/SendNotificationEntry.js +38 -0
- package/gateway/model/SendNotificationEntry.js.map +1 -0
- package/gateway/model/SendNotificationEntry.ts +67 -0
- package/gateway/model/index.d.ts +3 -1
- package/gateway/model/index.js +3 -1
- package/gateway/model/index.js.map +1 -1
- package/gateway/model/index.ts +4 -0
- package/gateway/model/options/NamespaceOptions.d.ts +2 -0
- package/gateway/model/options/NamespaceOptions.ts +2 -0
- package/gateway/model/options/SendNotificationEntryOptions.d.ts +3 -0
- package/gateway/model/options/SendNotificationEntryOptions.js +18 -0
- package/gateway/model/options/SendNotificationEntryOptions.js.map +1 -0
- package/gateway/model/options/SendNotificationEntryOptions.ts +20 -0
- package/guild/model/Namespace.d.ts +2 -0
- package/guild/model/Namespace.js +40 -30
- package/guild/model/Namespace.js.map +1 -1
- package/guild/model/Namespace.ts +12 -0
- package/guild/model/options/NamespaceOptions.d.ts +3 -0
- package/guild/model/options/NamespaceOptions.ts +3 -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 +2 -0
- package/limit/model/Namespace.js +14 -4
- package/limit/model/Namespace.js.map +1 -1
- package/limit/model/Namespace.ts +14 -0
- package/limit/model/options/NamespaceOptions.d.ts +4 -0
- package/limit/model/options/NamespaceOptions.ts +4 -0
- package/matchmaking/model/Namespace.d.ts +4 -5
- package/matchmaking/model/Namespace.js +34 -27
- package/matchmaking/model/Namespace.js.map +1 -1
- package/matchmaking/model/Namespace.ts +11 -6
- 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 +6 -0
- package/matchmaking/model/options/NamespaceOptions.ts +4 -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/DepositTransaction.js +0 -3
- package/money2/model/DepositTransaction.js.map +1 -1
- package/money2/model/DepositTransaction.ts +0 -3
- package/money2/model/Namespace.d.ts +1 -0
- package/money2/model/Namespace.js +23 -18
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +7 -0
- package/money2/model/options/NamespaceOptions.d.ts +2 -0
- package/money2/model/options/NamespaceOptions.ts +2 -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
|
@@ -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 changePasswordIfTakeOver;
|
|
11
12
|
private readonly differentUserIdForLoginAndDataRetention;
|
|
12
13
|
private readonly createAccountScript;
|
|
@@ -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;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
26
26
|
super("Account_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.changePasswordIfTakeOver = null;
|
|
29
30
|
this.differentUserIdForLoginAndDataRetention = null;
|
|
30
31
|
this.createAccountScript = null;
|
|
@@ -37,15 +38,16 @@ class Namespace extends model_1.CdkResource {
|
|
|
37
38
|
this.stack = stack;
|
|
38
39
|
this.name = name;
|
|
39
40
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
41
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
42
|
+
this.changePasswordIfTakeOver = (_c = options === null || options === void 0 ? void 0 : options.changePasswordIfTakeOver) !== null && _c !== void 0 ? _c : null;
|
|
43
|
+
this.differentUserIdForLoginAndDataRetention = (_d = options === null || options === void 0 ? void 0 : options.differentUserIdForLoginAndDataRetention) !== null && _d !== void 0 ? _d : null;
|
|
44
|
+
this.createAccountScript = (_e = options === null || options === void 0 ? void 0 : options.createAccountScript) !== null && _e !== void 0 ? _e : null;
|
|
45
|
+
this.authenticationScript = (_f = options === null || options === void 0 ? void 0 : options.authenticationScript) !== null && _f !== void 0 ? _f : null;
|
|
46
|
+
this.createTakeOverScript = (_g = options === null || options === void 0 ? void 0 : options.createTakeOverScript) !== null && _g !== void 0 ? _g : null;
|
|
47
|
+
this.doTakeOverScript = (_h = options === null || options === void 0 ? void 0 : options.doTakeOverScript) !== null && _h !== void 0 ? _h : null;
|
|
48
|
+
this.banScript = (_j = options === null || options === void 0 ? void 0 : options.banScript) !== null && _j !== void 0 ? _j : null;
|
|
49
|
+
this.unBanScript = (_k = options === null || options === void 0 ? void 0 : options.unBanScript) !== null && _k !== void 0 ? _k : null;
|
|
50
|
+
this.logSetting = (_l = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _l !== void 0 ? _l : null;
|
|
49
51
|
stack.addResource(this);
|
|
50
52
|
}
|
|
51
53
|
alternateKeys() {
|
|
@@ -55,7 +57,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
55
57
|
return "GS2::Account::Namespace";
|
|
56
58
|
}
|
|
57
59
|
properties() {
|
|
58
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
60
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
59
61
|
let properties = {};
|
|
60
62
|
if (this.name != null) {
|
|
61
63
|
properties["Name"] = this.name;
|
|
@@ -63,6 +65,9 @@ class Namespace extends model_1.CdkResource {
|
|
|
63
65
|
if (this.description != null) {
|
|
64
66
|
properties["Description"] = this.description;
|
|
65
67
|
}
|
|
68
|
+
if (this.transactionSetting != null) {
|
|
69
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
70
|
+
}
|
|
66
71
|
if (this.changePasswordIfTakeOver != null) {
|
|
67
72
|
properties["ChangePasswordIfTakeOver"] = this.changePasswordIfTakeOver;
|
|
68
73
|
}
|
|
@@ -70,25 +75,25 @@ class Namespace extends model_1.CdkResource {
|
|
|
70
75
|
properties["DifferentUserIdForLoginAndDataRetention"] = this.differentUserIdForLoginAndDataRetention;
|
|
71
76
|
}
|
|
72
77
|
if (this.createAccountScript != null) {
|
|
73
|
-
properties["CreateAccountScript"] = (
|
|
78
|
+
properties["CreateAccountScript"] = (_b = this.createAccountScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
74
79
|
}
|
|
75
80
|
if (this.authenticationScript != null) {
|
|
76
|
-
properties["AuthenticationScript"] = (
|
|
81
|
+
properties["AuthenticationScript"] = (_c = this.authenticationScript) === null || _c === void 0 ? void 0 : _c.properties();
|
|
77
82
|
}
|
|
78
83
|
if (this.createTakeOverScript != null) {
|
|
79
|
-
properties["CreateTakeOverScript"] = (
|
|
84
|
+
properties["CreateTakeOverScript"] = (_d = this.createTakeOverScript) === null || _d === void 0 ? void 0 : _d.properties();
|
|
80
85
|
}
|
|
81
86
|
if (this.doTakeOverScript != null) {
|
|
82
|
-
properties["DoTakeOverScript"] = (
|
|
87
|
+
properties["DoTakeOverScript"] = (_e = this.doTakeOverScript) === null || _e === void 0 ? void 0 : _e.properties();
|
|
83
88
|
}
|
|
84
89
|
if (this.banScript != null) {
|
|
85
|
-
properties["BanScript"] = (
|
|
90
|
+
properties["BanScript"] = (_f = this.banScript) === null || _f === void 0 ? void 0 : _f.properties();
|
|
86
91
|
}
|
|
87
92
|
if (this.unBanScript != null) {
|
|
88
|
-
properties["UnBanScript"] = (
|
|
93
|
+
properties["UnBanScript"] = (_g = this.unBanScript) === null || _g === void 0 ? void 0 : _g.properties();
|
|
89
94
|
}
|
|
90
95
|
if (this.logSetting != null) {
|
|
91
|
-
properties["LogSetting"] = (
|
|
96
|
+
properties["LogSetting"] = (_h = this.logSetting) === null || _h === void 0 ? void 0 : _h.properties();
|
|
92
97
|
}
|
|
93
98
|
return properties;
|
|
94
99
|
}
|
|
@@ -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;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAe9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAnBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,6BAAwB,GAAiB,IAAI,CAAC;QAC9C,4CAAuC,GAAiB,IAAI,CAAC;QAC7D,wBAAmB,GAAuB,IAAI,CAAC;QAC/C,yBAAoB,GAAuB,IAAI,CAAC;QAChD,yBAAoB,GAAuB,IAAI,CAAC;QAChD,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,cAAS,GAAuB,IAAI,CAAC;QACrC,gBAAW,GAAuB,IAAI,CAAC;QACvC,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,wBAAwB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,wBAAwB,mCAAI,IAAI,CAAC;QAC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AAE,UAAU,EACvD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;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;IAEM,UAAU,CACb,kBAAuC;QAEvC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,kBAAkB,CACrB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AArID,4BAqIC"}
|
|
@@ -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 LogSetting from "../../core/model/LogSetting";
|
|
21
22
|
|
|
@@ -29,6 +30,7 @@ export default class Namespace extends CdkResource {
|
|
|
29
30
|
private readonly stack: Stack;
|
|
30
31
|
private readonly name: string;
|
|
31
32
|
private readonly description: string|null = null;
|
|
33
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
32
34
|
private readonly changePasswordIfTakeOver: boolean|null = null;
|
|
33
35
|
private readonly differentUserIdForLoginAndDataRetention: boolean|null = null;
|
|
34
36
|
private readonly createAccountScript: ScriptSetting|null = null;
|
|
@@ -51,6 +53,7 @@ export default class Namespace extends CdkResource {
|
|
|
51
53
|
this.stack = stack;
|
|
52
54
|
this.name = name;
|
|
53
55
|
this.description = options?.description ?? null;
|
|
56
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
54
57
|
this.changePasswordIfTakeOver = options?.changePasswordIfTakeOver ?? null;
|
|
55
58
|
this.differentUserIdForLoginAndDataRetention = options?.differentUserIdForLoginAndDataRetention ?? null;
|
|
56
59
|
this.createAccountScript = options?.createAccountScript ?? null;
|
|
@@ -86,6 +89,10 @@ export default class Namespace extends CdkResource {
|
|
|
86
89
|
if (this.description != null) {
|
|
87
90
|
properties["Description"] = this.description;
|
|
88
91
|
}
|
|
92
|
+
if (this.transactionSetting != null) {
|
|
93
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
94
|
+
);
|
|
95
|
+
}
|
|
89
96
|
if (this.changePasswordIfTakeOver != null) {
|
|
90
97
|
properties["ChangePasswordIfTakeOver"] = this.changePasswordIfTakeOver;
|
|
91
98
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
2
3
|
import LogSetting from "../../../core/model/LogSetting";
|
|
3
4
|
export interface NamespaceOptions {
|
|
4
5
|
description?: string | null;
|
|
6
|
+
transactionSetting?: TransactionSetting | null;
|
|
5
7
|
changePasswordIfTakeOver?: boolean | null;
|
|
6
8
|
differentUserIdForLoginAndDataRetention?: boolean | null;
|
|
7
9
|
createAccountScript?: ScriptSetting | null;
|
|
@@ -13,11 +13,13 @@
|
|
|
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 LogSetting from "../../../core/model/LogSetting";
|
|
18
19
|
|
|
19
20
|
export interface NamespaceOptions {
|
|
20
21
|
description?: string|null;
|
|
22
|
+
transactionSetting?: TransactionSetting|null;
|
|
21
23
|
changePasswordIfTakeOver?: boolean|null;
|
|
22
24
|
differentUserIdForLoginAndDataRetention?: boolean|null;
|
|
23
25
|
createAccountScript?: ScriptSetting|null;
|
|
@@ -5,10 +5,11 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
5
5
|
export default class Namespace extends CdkResource {
|
|
6
6
|
private readonly stack;
|
|
7
7
|
private readonly name;
|
|
8
|
+
private readonly description;
|
|
9
|
+
private readonly transactionSetting;
|
|
8
10
|
private readonly admob;
|
|
9
11
|
private readonly unityAd;
|
|
10
12
|
private readonly appLovinMaxes;
|
|
11
|
-
private readonly description;
|
|
12
13
|
private readonly acquirePointScript;
|
|
13
14
|
private readonly consumePointScript;
|
|
14
15
|
private readonly changePointNotification;
|
|
@@ -21,26 +21,28 @@ 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;
|
|
24
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
25
25
|
super("AdReward_Namespace_" + name);
|
|
26
|
+
this.description = null;
|
|
27
|
+
this.transactionSetting = null;
|
|
26
28
|
this.admob = null;
|
|
27
29
|
this.unityAd = null;
|
|
28
30
|
this.appLovinMaxes = null;
|
|
29
|
-
this.description = null;
|
|
30
31
|
this.acquirePointScript = null;
|
|
31
32
|
this.consumePointScript = null;
|
|
32
33
|
this.changePointNotification = null;
|
|
33
34
|
this.logSetting = null;
|
|
34
35
|
this.stack = stack;
|
|
35
36
|
this.name = name;
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
37
|
+
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
38
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
39
|
+
this.admob = (_c = options === null || options === void 0 ? void 0 : options.admob) !== null && _c !== void 0 ? _c : null;
|
|
40
|
+
this.unityAd = (_d = options === null || options === void 0 ? void 0 : options.unityAd) !== null && _d !== void 0 ? _d : null;
|
|
41
|
+
this.appLovinMaxes = (_e = options === null || options === void 0 ? void 0 : options.appLovinMaxes) !== null && _e !== void 0 ? _e : null;
|
|
42
|
+
this.acquirePointScript = (_f = options === null || options === void 0 ? void 0 : options.acquirePointScript) !== null && _f !== void 0 ? _f : null;
|
|
43
|
+
this.consumePointScript = (_g = options === null || options === void 0 ? void 0 : options.consumePointScript) !== null && _g !== void 0 ? _g : null;
|
|
44
|
+
this.changePointNotification = (_h = options === null || options === void 0 ? void 0 : options.changePointNotification) !== null && _h !== void 0 ? _h : null;
|
|
45
|
+
this.logSetting = (_j = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _j !== void 0 ? _j : null;
|
|
44
46
|
stack.addResource(this);
|
|
45
47
|
}
|
|
46
48
|
alternateKeys() {
|
|
@@ -50,34 +52,37 @@ class Namespace extends model_1.CdkResource {
|
|
|
50
52
|
return "GS2::AdReward::Namespace";
|
|
51
53
|
}
|
|
52
54
|
properties() {
|
|
53
|
-
var _a, _b, _c, _d, _e, _f;
|
|
55
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
54
56
|
let properties = {};
|
|
55
57
|
if (this.name != null) {
|
|
56
58
|
properties["Name"] = this.name;
|
|
57
59
|
}
|
|
60
|
+
if (this.description != null) {
|
|
61
|
+
properties["Description"] = this.description;
|
|
62
|
+
}
|
|
63
|
+
if (this.transactionSetting != null) {
|
|
64
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
65
|
+
}
|
|
58
66
|
if (this.admob != null) {
|
|
59
|
-
properties["Admob"] = (
|
|
67
|
+
properties["Admob"] = (_b = this.admob) === null || _b === void 0 ? void 0 : _b.properties();
|
|
60
68
|
}
|
|
61
69
|
if (this.unityAd != null) {
|
|
62
|
-
properties["UnityAd"] = (
|
|
70
|
+
properties["UnityAd"] = (_c = this.unityAd) === null || _c === void 0 ? void 0 : _c.properties();
|
|
63
71
|
}
|
|
64
72
|
if (this.appLovinMaxes != null) {
|
|
65
73
|
properties["AppLovinMaxes"] = this.appLovinMaxes.map(v => v.properties());
|
|
66
74
|
}
|
|
67
|
-
if (this.description != null) {
|
|
68
|
-
properties["Description"] = this.description;
|
|
69
|
-
}
|
|
70
75
|
if (this.acquirePointScript != null) {
|
|
71
|
-
properties["AcquirePointScript"] = (
|
|
76
|
+
properties["AcquirePointScript"] = (_d = this.acquirePointScript) === null || _d === void 0 ? void 0 : _d.properties();
|
|
72
77
|
}
|
|
73
78
|
if (this.consumePointScript != null) {
|
|
74
|
-
properties["ConsumePointScript"] = (
|
|
79
|
+
properties["ConsumePointScript"] = (_e = this.consumePointScript) === null || _e === void 0 ? void 0 : _e.properties();
|
|
75
80
|
}
|
|
76
81
|
if (this.changePointNotification != null) {
|
|
77
|
-
properties["ChangePointNotification"] = (
|
|
82
|
+
properties["ChangePointNotification"] = (_f = this.changePointNotification) === null || _f === void 0 ? void 0 : _f.properties();
|
|
78
83
|
}
|
|
79
84
|
if (this.logSetting != null) {
|
|
80
|
-
properties["LogSetting"] = (
|
|
85
|
+
properties["LogSetting"] = (_g = this.logSetting) === null || _g === void 0 ? void 0 : _g.properties();
|
|
81
86
|
}
|
|
82
87
|
return properties;
|
|
83
88
|
}
|
|
@@ -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;;;;;;;;;;;;;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AC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACjE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,uBAAuB,IAAI,IAAI,EAAE;YACtC,UAAU,CAAC,yBAAyB,CAAC,GAAG,MAAA,IAAI,CAAC,uBAAuB,0CAAE,UAAU,EAC/E,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;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;AA9GD,4BA8GC"}
|
|
@@ -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 AdMob from "./AdMob";
|
|
20
21
|
import UnityAd from "./UnityAd";
|
|
21
22
|
import AppLovinMax from "./AppLovinMax";
|
|
@@ -30,10 +31,11 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
30
31
|
export default class Namespace extends CdkResource {
|
|
31
32
|
private readonly stack: Stack;
|
|
32
33
|
private readonly name: string;
|
|
34
|
+
private readonly description: string|null = null;
|
|
35
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
33
36
|
private readonly admob: AdMob|null = null;
|
|
34
37
|
private readonly unityAd: UnityAd|null = null;
|
|
35
38
|
private readonly appLovinMaxes: AppLovinMax[]|null = null;
|
|
36
|
-
private readonly description: string|null = null;
|
|
37
39
|
private readonly acquirePointScript: ScriptSetting|null = null;
|
|
38
40
|
private readonly consumePointScript: ScriptSetting|null = null;
|
|
39
41
|
private readonly changePointNotification: NotificationSetting|null = null;
|
|
@@ -50,10 +52,11 @@ export default class Namespace extends CdkResource {
|
|
|
50
52
|
|
|
51
53
|
this.stack = stack;
|
|
52
54
|
this.name = name;
|
|
55
|
+
this.description = options?.description ?? null;
|
|
56
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
53
57
|
this.admob = options?.admob ?? null;
|
|
54
58
|
this.unityAd = options?.unityAd ?? null;
|
|
55
59
|
this.appLovinMaxes = options?.appLovinMaxes ?? null;
|
|
56
|
-
this.description = options?.description ?? null;
|
|
57
60
|
this.acquirePointScript = options?.acquirePointScript ?? null;
|
|
58
61
|
this.consumePointScript = options?.consumePointScript ?? null;
|
|
59
62
|
this.changePointNotification = options?.changePointNotification ?? null;
|
|
@@ -81,6 +84,13 @@ export default class Namespace extends CdkResource {
|
|
|
81
84
|
if (this.name != null) {
|
|
82
85
|
properties["Name"] = this.name;
|
|
83
86
|
}
|
|
87
|
+
if (this.description != null) {
|
|
88
|
+
properties["Description"] = this.description;
|
|
89
|
+
}
|
|
90
|
+
if (this.transactionSetting != null) {
|
|
91
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
92
|
+
);
|
|
93
|
+
}
|
|
84
94
|
if (this.admob != null) {
|
|
85
95
|
properties["Admob"] = this.admob?.properties(
|
|
86
96
|
);
|
|
@@ -93,9 +103,6 @@ export default class Namespace extends CdkResource {
|
|
|
93
103
|
properties["AppLovinMaxes"] = this.appLovinMaxes.map(v => v.properties(
|
|
94
104
|
));
|
|
95
105
|
}
|
|
96
|
-
if (this.description != null) {
|
|
97
|
-
properties["Description"] = this.description;
|
|
98
|
-
}
|
|
99
106
|
if (this.acquirePointScript != null) {
|
|
100
107
|
properties["AcquirePointScript"] = this.acquirePointScript?.properties(
|
|
101
108
|
);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import AdMob from "../AdMob";
|
|
2
3
|
import UnityAd from "../UnityAd";
|
|
3
4
|
import AppLovinMax from "../AppLovinMax";
|
|
@@ -5,10 +6,11 @@ import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
|
5
6
|
import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
6
7
|
import LogSetting from "../../../core/model/LogSetting";
|
|
7
8
|
export interface NamespaceOptions {
|
|
9
|
+
description?: string | null;
|
|
10
|
+
transactionSetting?: TransactionSetting | null;
|
|
8
11
|
admob?: AdMob | null;
|
|
9
12
|
unityAd?: UnityAd | null;
|
|
10
13
|
appLovinMaxes?: AppLovinMax[] | null;
|
|
11
|
-
description?: string | null;
|
|
12
14
|
acquirePointScript?: ScriptSetting | null;
|
|
13
15
|
consumePointScript?: ScriptSetting | null;
|
|
14
16
|
changePointNotification?: NotificationSetting | null;
|
|
@@ -13,6 +13,7 @@
|
|
|
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 AdMob from "../AdMob";
|
|
17
18
|
import UnityAd from "../UnityAd";
|
|
18
19
|
import AppLovinMax from "../AppLovinMax";
|
|
@@ -21,10 +22,11 @@ import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
|
21
22
|
import LogSetting from "../../../core/model/LogSetting";
|
|
22
23
|
|
|
23
24
|
export interface NamespaceOptions {
|
|
25
|
+
description?: string|null;
|
|
26
|
+
transactionSetting?: TransactionSetting|null;
|
|
24
27
|
admob?: AdMob|null;
|
|
25
28
|
unityAd?: UnityAd|null;
|
|
26
29
|
appLovinMaxes?: AppLovinMax[]|null;
|
|
27
|
-
description?: string|null;
|
|
28
30
|
acquirePointScript?: ScriptSetting|null;
|
|
29
31
|
consumePointScript?: ScriptSetting|null;
|
|
30
32
|
changePointNotification?: NotificationSetting|null;
|
|
@@ -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 applyBuffScript;
|
|
11
12
|
private readonly logSetting;
|
|
12
13
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
package/buff/model/Namespace.js
CHANGED
|
@@ -22,16 +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;
|
|
25
|
+
var _a, _b, _c, _d;
|
|
26
26
|
super("Buff_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.applyBuffScript = null;
|
|
29
30
|
this.logSetting = null;
|
|
30
31
|
this.stack = stack;
|
|
31
32
|
this.name = name;
|
|
32
33
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
34
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
35
|
+
this.applyBuffScript = (_c = options === null || options === void 0 ? void 0 : options.applyBuffScript) !== 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;
|
|
35
37
|
stack.addResource(this);
|
|
36
38
|
}
|
|
37
39
|
alternateKeys() {
|
|
@@ -41,7 +43,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
41
43
|
return "GS2::Buff::Namespace";
|
|
42
44
|
}
|
|
43
45
|
properties() {
|
|
44
|
-
var _a, _b;
|
|
46
|
+
var _a, _b, _c;
|
|
45
47
|
let properties = {};
|
|
46
48
|
if (this.name != null) {
|
|
47
49
|
properties["Name"] = this.name;
|
|
@@ -49,11 +51,14 @@ class Namespace extends model_1.CdkResource {
|
|
|
49
51
|
if (this.description != null) {
|
|
50
52
|
properties["Description"] = this.description;
|
|
51
53
|
}
|
|
54
|
+
if (this.transactionSetting != null) {
|
|
55
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
56
|
+
}
|
|
52
57
|
if (this.applyBuffScript != null) {
|
|
53
|
-
properties["ApplyBuffScript"] = (
|
|
58
|
+
properties["ApplyBuffScript"] = (_b = this.applyBuffScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
54
59
|
}
|
|
55
60
|
if (this.logSetting != null) {
|
|
56
|
-
properties["LogSetting"] = (
|
|
61
|
+
properties["LogSetting"] = (_c = this.logSetting) === null || _c === void 0 ? void 0 : _c.properties();
|
|
57
62
|
}
|
|
58
63
|
return properties;
|
|
59
64
|
}
|
|
@@ -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;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SA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AAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,MAAA,IAAI,CAAC,eAAe,0CAAE,UAAU,EAC/D,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;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;IAEM,UAAU,CACb,eAAiC;QAEjC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,eAAe,CAClB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA7FD,4BA6FC"}
|
package/buff/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 ScriptSetting from "../../core/model/ScriptSetting";
|
|
20
21
|
import LogSetting from "../../core/model/LogSetting";
|
|
21
22
|
|
|
@@ -29,6 +30,7 @@ export default class Namespace extends CdkResource {
|
|
|
29
30
|
private readonly stack: Stack;
|
|
30
31
|
private readonly name: string;
|
|
31
32
|
private readonly description: string|null = null;
|
|
33
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
32
34
|
private readonly applyBuffScript: ScriptSetting|null = null;
|
|
33
35
|
private readonly logSetting: LogSetting|null = null;
|
|
34
36
|
|
|
@@ -44,6 +46,7 @@ export default class Namespace extends CdkResource {
|
|
|
44
46
|
this.stack = stack;
|
|
45
47
|
this.name = name;
|
|
46
48
|
this.description = options?.description ?? null;
|
|
49
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
47
50
|
this.applyBuffScript = options?.applyBuffScript ?? null;
|
|
48
51
|
this.logSetting = options?.logSetting ?? null;
|
|
49
52
|
stack.addResource(
|
|
@@ -72,6 +75,10 @@ export default class Namespace extends CdkResource {
|
|
|
72
75
|
if (this.description != null) {
|
|
73
76
|
properties["Description"] = this.description;
|
|
74
77
|
}
|
|
78
|
+
if (this.transactionSetting != null) {
|
|
79
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
80
|
+
);
|
|
81
|
+
}
|
|
75
82
|
if (this.applyBuffScript != null) {
|
|
76
83
|
properties["ApplyBuffScript"] = this.applyBuffScript?.properties(
|
|
77
84
|
);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
2
3
|
import LogSetting from "../../../core/model/LogSetting";
|
|
3
4
|
export interface NamespaceOptions {
|
|
4
5
|
description?: string | null;
|
|
6
|
+
transactionSetting?: TransactionSetting | null;
|
|
5
7
|
applyBuffScript?: ScriptSetting | null;
|
|
6
8
|
logSetting?: LogSetting | null;
|
|
7
9
|
}
|
|
@@ -13,11 +13,13 @@
|
|
|
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 LogSetting from "../../../core/model/LogSetting";
|
|
18
19
|
|
|
19
20
|
export interface NamespaceOptions {
|
|
20
21
|
description?: string|null;
|
|
22
|
+
transactionSetting?: TransactionSetting|null;
|
|
21
23
|
applyBuffScript?: ScriptSetting|null;
|
|
22
24
|
logSetting?: LogSetting|null;
|
|
23
25
|
}
|
|
@@ -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 allowCreateRoom;
|
|
11
12
|
private readonly messageLifeTimeDays;
|
|
12
13
|
private readonly postMessageScript;
|