gs2-cdk 1.0.48 → 1.0.49
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/core/model/Config.js +8 -4
- package/core/model/Config.js.map +1 -1
- package/core/model/Config.ts +10 -4
- package/core/model/LogSetting.js +5 -3
- package/core/model/LogSetting.js.map +1 -1
- package/core/model/LogSetting.ts +7 -3
- package/core/model/NotificationSetting.js +11 -5
- package/core/model/NotificationSetting.js.map +1 -1
- package/core/model/NotificationSetting.ts +13 -5
- package/core/model/ScriptSetting.js +14 -6
- package/core/model/ScriptSetting.js.map +1 -1
- package/core/model/ScriptSetting.ts +16 -6
- package/core/model/TransactionSetting.js +9 -5
- package/core/model/TransactionSetting.js.map +1 -1
- package/core/model/TransactionSetting.ts +11 -5
- package/enchant/model/Namespace.d.ts +2 -3
- package/enchant/model/Namespace.js +5 -4
- package/enchant/model/Namespace.js.map +1 -1
- package/enchant/model/Namespace.ts +2 -3
- package/enchant/model/options/NamespaceOptions.d.ts +2 -0
- package/enchant/model/options/NamespaceOptions.ts +1 -0
- package/enhance/model/Namespace.d.ts +2 -3
- package/enhance/model/Namespace.js +6 -5
- package/enhance/model/Namespace.js.map +1 -1
- package/enhance/model/Namespace.ts +2 -3
- package/enhance/model/options/NamespaceOptions.d.ts +2 -0
- package/enhance/model/options/NamespaceOptions.ts +1 -0
- package/exchange/model/Namespace.d.ts +2 -3
- package/exchange/model/Namespace.js +6 -5
- package/exchange/model/Namespace.js.map +1 -1
- package/exchange/model/Namespace.ts +2 -3
- package/exchange/model/options/NamespaceOptions.d.ts +2 -0
- package/exchange/model/options/NamespaceOptions.ts +1 -0
- package/idle/model/Namespace.d.ts +2 -3
- package/idle/model/Namespace.js +6 -5
- package/idle/model/Namespace.js.map +1 -1
- package/idle/model/Namespace.ts +2 -3
- package/idle/model/options/NamespaceOptions.d.ts +2 -0
- package/idle/model/options/NamespaceOptions.ts +1 -0
- package/loginReward/model/Namespace.d.ts +2 -3
- package/loginReward/model/Namespace.js +6 -5
- package/loginReward/model/Namespace.js.map +1 -1
- package/loginReward/model/Namespace.ts +2 -3
- package/loginReward/model/options/NamespaceOptions.d.ts +2 -0
- package/loginReward/model/options/NamespaceOptions.ts +1 -0
- package/lottery/model/Namespace.d.ts +2 -3
- package/lottery/model/Namespace.js +7 -6
- package/lottery/model/Namespace.js.map +1 -1
- package/lottery/model/Namespace.ts +2 -3
- package/lottery/model/options/NamespaceOptions.d.ts +2 -0
- package/lottery/model/options/NamespaceOptions.ts +1 -0
- package/mission/model/Namespace.d.ts +2 -3
- package/mission/model/Namespace.js +9 -8
- package/mission/model/Namespace.js.map +1 -1
- package/mission/model/Namespace.ts +2 -3
- package/mission/model/options/NamespaceOptions.d.ts +2 -0
- package/mission/model/options/NamespaceOptions.ts +1 -0
- package/package.json +1 -1
- package/quest/model/Namespace.d.ts +2 -3
- package/quest/model/Namespace.js +8 -7
- package/quest/model/Namespace.js.map +1 -1
- package/quest/model/Namespace.ts +2 -3
- package/quest/model/options/NamespaceOptions.d.ts +2 -0
- package/quest/model/options/NamespaceOptions.ts +1 -0
- package/schedule/ref/NamespaceRef.js.map +1 -1
- package/serialKey/ref/NamespaceRef.js.map +1 -1
- package/serialKey/ref/SerialKeyRef.js.map +1 -1
- package/showcase/model/Namespace.d.ts +2 -3
- package/showcase/model/Namespace.js +6 -5
- package/showcase/model/Namespace.js.map +1 -1
- package/showcase/model/Namespace.ts +2 -3
- package/showcase/model/options/NamespaceOptions.d.ts +2 -0
- package/showcase/model/options/NamespaceOptions.ts +1 -0
- package/showcase/ref/NamespaceRef.js.map +1 -1
- package/skillTree/model/Namespace.d.ts +2 -3
- package/skillTree/model/Namespace.js +7 -6
- package/skillTree/model/Namespace.js.map +1 -1
- package/skillTree/model/Namespace.ts +2 -3
- package/skillTree/model/options/NamespaceOptions.d.ts +2 -0
- package/skillTree/model/options/NamespaceOptions.ts +1 -0
- package/skillTree/ref/NamespaceRef.js.map +1 -1
- package/stamina/ref/NamespaceRef.js.map +1 -1
- package/stamina/ref/StaminaModelRef.js.map +1 -1
- package/stateMachine/model/StateMachineMaster.js +1 -1
- package/stateMachine/model/StateMachineMaster.js.map +1 -1
- package/stateMachine/ref/NamespaceRef.js.map +1 -1
package/core/model/Config.js
CHANGED
|
@@ -21,10 +21,14 @@ class Config {
|
|
|
21
21
|
this.value = value;
|
|
22
22
|
}
|
|
23
23
|
properties() {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
}
|
|
24
|
+
let properties = {};
|
|
25
|
+
if (this.key != null) {
|
|
26
|
+
properties["key"] = this.key;
|
|
27
|
+
}
|
|
28
|
+
if (this.value != null) {
|
|
29
|
+
properties["value"] = this.value;
|
|
30
|
+
}
|
|
31
|
+
return properties;
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
34
|
exports.default = Config;
|
package/core/model/Config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.js","sourceRoot":"","sources":["Config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,MAAM;IAKvB,YACI,GAAW,EACX,KAAa;QAEb,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAEM,UAAU;QACb,
|
|
1
|
+
{"version":3,"file":"Config.js","sourceRoot":"","sources":["Config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,MAAM;IAKvB,YACI,GAAW,EACX,KAAa;QAEb,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;SAChC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAzBD,yBAyBC"}
|
package/core/model/Config.ts
CHANGED
|
@@ -28,9 +28,15 @@ export default class Config {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
public properties(): { [name: string]: any } {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
let properties: {[name: string]: any} = {};
|
|
32
|
+
|
|
33
|
+
if (this.key != null) {
|
|
34
|
+
properties["key"] = this.key;
|
|
35
|
+
}
|
|
36
|
+
if (this.value != null) {
|
|
37
|
+
properties["value"] = this.value;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return properties;
|
|
35
41
|
}
|
|
36
42
|
}
|
package/core/model/LogSetting.js
CHANGED
|
@@ -20,9 +20,11 @@ class LogSetting {
|
|
|
20
20
|
this.loggingNamespaceId = loggingNamespaceId;
|
|
21
21
|
}
|
|
22
22
|
properties() {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
let properties = {};
|
|
24
|
+
if (this.loggingNamespaceId != null) {
|
|
25
|
+
properties["LoggingNamespaceId"] = this.loggingNamespaceId;
|
|
26
|
+
}
|
|
27
|
+
return properties;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
exports.default = LogSetting;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogSetting.js","sourceRoot":"","sources":["LogSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,UAAU;IAI3B,YACI,kBAA0B;QAE1B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAEM,UAAU;QACb,
|
|
1
|
+
{"version":3,"file":"LogSetting.js","sourceRoot":"","sources":["LogSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,UAAU;IAI3B,YACI,kBAA0B;QAE1B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnBD,6BAmBC"}
|
package/core/model/LogSetting.ts
CHANGED
|
@@ -25,8 +25,12 @@ export default class LogSetting {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
public properties(): { [name: string]: any } {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
let properties: {[name: string]: any} = {};
|
|
29
|
+
|
|
30
|
+
if (this.loggingNamespaceId != null) {
|
|
31
|
+
properties["LoggingNamespaceId"] = this.loggingNamespaceId;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return properties;
|
|
31
35
|
}
|
|
32
36
|
}
|
|
@@ -22,11 +22,17 @@ class NotificationSetting {
|
|
|
22
22
|
this.sound = sound;
|
|
23
23
|
}
|
|
24
24
|
properties() {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
let properties = {};
|
|
26
|
+
if (this.gatewayNamespaceId != null) {
|
|
27
|
+
properties["GatewayNamespaceId"] = this.gatewayNamespaceId;
|
|
28
|
+
}
|
|
29
|
+
if (this.enableTransferMobileNotification != null) {
|
|
30
|
+
properties["EnableTransferMobileNotification"] = this.enableTransferMobileNotification;
|
|
31
|
+
}
|
|
32
|
+
if (this.sound != null) {
|
|
33
|
+
properties["Sound"] = this.sound;
|
|
34
|
+
}
|
|
35
|
+
return properties;
|
|
30
36
|
}
|
|
31
37
|
}
|
|
32
38
|
exports.default = NotificationSetting;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSetting.js","sourceRoot":"","sources":["NotificationSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,mBAAmB;IAMpC,YACI,qBAAoC,IAAI,EACxC,mCAAmD,IAAI,EACvD,QAAuB,IAAI;QAE3B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;QACzE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAEM,UAAU;QACb,
|
|
1
|
+
{"version":3,"file":"NotificationSetting.js","sourceRoot":"","sources":["NotificationSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,mBAAmB;IAMpC,YACI,qBAAoC,IAAI,EACxC,mCAAmD,IAAI,EACvD,QAAuB,IAAI;QAE3B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;QACzE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,gCAAgC,IAAI,IAAI,EAAE;YAC/C,UAAU,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,gCAAgC,CAAC;SAC1F;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA/BD,sCA+BC"}
|
|
@@ -31,10 +31,18 @@ export default class NotificationSetting {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
public properties(): { [name: string]: any } {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
}
|
|
34
|
+
let properties: {[name: string]: any} = {};
|
|
35
|
+
|
|
36
|
+
if (this.gatewayNamespaceId != null) {
|
|
37
|
+
properties["GatewayNamespaceId"] = this.gatewayNamespaceId;
|
|
38
|
+
}
|
|
39
|
+
if (this.enableTransferMobileNotification != null) {
|
|
40
|
+
properties["EnableTransferMobileNotification"] = this.enableTransferMobileNotification;
|
|
41
|
+
}
|
|
42
|
+
if (this.sound != null) {
|
|
43
|
+
properties["Sound"] = this.sound;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return properties;
|
|
39
47
|
}
|
|
40
48
|
}
|
|
@@ -23,12 +23,20 @@ class ScriptSetting {
|
|
|
23
23
|
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
24
24
|
}
|
|
25
25
|
properties() {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
let properties = {};
|
|
27
|
+
if (this.triggerScriptId != null) {
|
|
28
|
+
properties["TriggerScriptId"] = this.triggerScriptId;
|
|
29
|
+
}
|
|
30
|
+
if (this.doneTriggerTargetType != null) {
|
|
31
|
+
properties["DoneTriggerTargetType"] = this.doneTriggerTargetType;
|
|
32
|
+
}
|
|
33
|
+
if (this.doneTriggerScriptId != null) {
|
|
34
|
+
properties["DoneTriggerScriptId"] = this.doneTriggerScriptId;
|
|
35
|
+
}
|
|
36
|
+
if (this.doneTriggerQueueNamespaceId != null) {
|
|
37
|
+
properties["DoneTriggerQueueNamespaceId"] = this.doneTriggerQueueNamespaceId;
|
|
38
|
+
}
|
|
39
|
+
return properties;
|
|
32
40
|
}
|
|
33
41
|
}
|
|
34
42
|
exports.default = ScriptSetting;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScriptSetting.js","sourceRoot":"","sources":["ScriptSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,aAAa;IAQ9B,YACI,qBAA6B,EAC7B,kBAAiC,IAAI,EACrC,sBAAqC,IAAI,EACzC,8BAA6C,IAAI;QAEjD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;IACnE,CAAC;IAEM,UAAU;QACb,
|
|
1
|
+
{"version":3,"file":"ScriptSetting.js","sourceRoot":"","sources":["ScriptSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,aAAa;IAQ9B,YACI,qBAA6B,EAC7B,kBAAiC,IAAI,EACrC,sBAAqC,IAAI,EACzC,8BAA6C,IAAI;QAEjD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;IACnE,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC;SACpE;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,2BAA2B,IAAI,IAAI,EAAE;YAC1C,UAAU,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,2BAA2B,CAAC;SAChF;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAtCD,gCAsCC"}
|
|
@@ -35,11 +35,21 @@ export default class ScriptSetting {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
public properties(): { [name: string]: any } {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
let properties: {[name: string]: any} = {};
|
|
39
|
+
|
|
40
|
+
if (this.triggerScriptId != null) {
|
|
41
|
+
properties["TriggerScriptId"] = this.triggerScriptId;
|
|
42
|
+
}
|
|
43
|
+
if (this.doneTriggerTargetType != null) {
|
|
44
|
+
properties["DoneTriggerTargetType"] = this.doneTriggerTargetType;
|
|
45
|
+
}
|
|
46
|
+
if (this.doneTriggerScriptId != null) {
|
|
47
|
+
properties["DoneTriggerScriptId"] = this.doneTriggerScriptId;
|
|
48
|
+
}
|
|
49
|
+
if (this.doneTriggerQueueNamespaceId != null) {
|
|
50
|
+
properties["DoneTriggerQueueNamespaceId"] = this.doneTriggerQueueNamespaceId;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
return properties;
|
|
44
54
|
}
|
|
45
55
|
}
|
|
@@ -21,11 +21,15 @@ class TransactionSetting {
|
|
|
21
21
|
this.queueNamespaceId = queueNamespaceId;
|
|
22
22
|
}
|
|
23
23
|
properties() {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
}
|
|
24
|
+
let properties = {};
|
|
25
|
+
properties["EnableAutoRun"] = true;
|
|
26
|
+
if (this.distributorNamespaceId != null) {
|
|
27
|
+
properties["DistributorNamespaceId"] = this.distributorNamespaceId;
|
|
28
|
+
}
|
|
29
|
+
if (this.queueNamespaceId != null) {
|
|
30
|
+
properties["QueueNamespaceId"] = this.queueNamespaceId;
|
|
31
|
+
}
|
|
32
|
+
return properties;
|
|
29
33
|
}
|
|
30
34
|
}
|
|
31
35
|
exports.default = TransactionSetting;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionSetting.js","sourceRoot":"","sources":["TransactionSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,kBAAkB;IAKnC,YACI,yBAAwC,IAAI,EAC5C,mBAAkC,IAAI;QAEtC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC7C,CAAC;IAEM,UAAU;QACb,
|
|
1
|
+
{"version":3,"file":"TransactionSetting.js","sourceRoot":"","sources":["TransactionSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,kBAAkB;IAKnC,YACI,yBAAwC,IAAI,EAC5C,mBAAkC,IAAI;QAEtC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC7C,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;QACnC,IAAI,IAAI,CAAC,sBAAsB,IAAI,IAAI,EAAE;YACrC,UAAU,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,sBAAsB,CAAC;SACtE;QACD,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC;SAC1D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1BD,qCA0BC"}
|
|
@@ -28,10 +28,16 @@ export default class TransactionSetting {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
public properties(): { [name: string]: any } {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
let properties: {[name: string]: any} = {};
|
|
32
|
+
|
|
33
|
+
properties["EnableAutoRun"] = true;
|
|
34
|
+
if (this.distributorNamespaceId != null) {
|
|
35
|
+
properties["DistributorNamespaceId"] = this.distributorNamespaceId;
|
|
36
|
+
}
|
|
37
|
+
if (this.queueNamespaceId != null) {
|
|
38
|
+
properties["QueueNamespaceId"] = this.queueNamespaceId;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return properties;
|
|
36
42
|
}
|
|
37
43
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CdkResource, Stack } from "../../core/model";
|
|
2
2
|
import { GetAttr } from "../../core/func";
|
|
3
|
-
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
4
3
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
5
4
|
import BalanceParameterModel from "./BalanceParameterModel";
|
|
6
5
|
import RarityParameterModel from "./RarityParameterModel";
|
|
@@ -8,10 +7,10 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
8
7
|
export default class Namespace extends CdkResource {
|
|
9
8
|
private readonly stack;
|
|
10
9
|
private readonly name;
|
|
11
|
-
private readonly transactionSetting;
|
|
12
10
|
private readonly description;
|
|
11
|
+
private readonly transactionSetting;
|
|
13
12
|
private readonly logSetting;
|
|
14
|
-
constructor(stack: Stack, name: string,
|
|
13
|
+
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
15
14
|
alternateKeys(): string;
|
|
16
15
|
resourceType(): string;
|
|
17
16
|
properties(): {
|
|
@@ -21,16 +21,17 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
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
|
-
constructor(stack, name,
|
|
25
|
-
var _a, _b;
|
|
24
|
+
constructor(stack, name, options = null) {
|
|
25
|
+
var _a, _b, _c;
|
|
26
26
|
super("Enchant_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.logSetting = null;
|
|
29
30
|
this.stack = stack;
|
|
30
31
|
this.name = name;
|
|
31
|
-
this.transactionSetting = transactionSetting;
|
|
32
32
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
33
|
-
this.
|
|
33
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
34
|
+
this.logSetting = (_c = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _c !== void 0 ? _c : null;
|
|
34
35
|
stack.addResource(this);
|
|
35
36
|
}
|
|
36
37
|
alternateKeys() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAC/C,oFAAoD;AAMpD,MAAqB,SAAU,SAAQ,mBAAW;IAO9C,YACI,KAAY,EACZ,IAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAC/C,oFAAoD;AAMpD,MAAqB,SAAU,SAAQ,mBAAW;IAO9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAXW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,eAAU,GAAo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,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,sBAA+C,EAC/C,qBAA6C;QAE7C,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,sBAAsB,EACtB,qBAAqB,CACxB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAzFD,4BAyFC"}
|
|
@@ -29,14 +29,13 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
29
29
|
export default class Namespace extends CdkResource {
|
|
30
30
|
private readonly stack: Stack;
|
|
31
31
|
private readonly name: string;
|
|
32
|
-
private readonly transactionSetting: TransactionSetting;
|
|
33
32
|
private readonly description: string|null = null;
|
|
33
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
34
34
|
private readonly logSetting: LogSetting|null = null;
|
|
35
35
|
|
|
36
36
|
public constructor(
|
|
37
37
|
stack: Stack,
|
|
38
38
|
name: string,
|
|
39
|
-
transactionSetting: TransactionSetting,
|
|
40
39
|
options: NamespaceOptions|null = null,
|
|
41
40
|
) {
|
|
42
41
|
super(
|
|
@@ -45,8 +44,8 @@ export default class Namespace extends CdkResource {
|
|
|
45
44
|
|
|
46
45
|
this.stack = stack;
|
|
47
46
|
this.name = name;
|
|
48
|
-
this.transactionSetting = transactionSetting;
|
|
49
47
|
this.description = options?.description ?? null;
|
|
48
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
50
49
|
this.logSetting = options?.logSetting ?? null;
|
|
51
50
|
stack.addResource(
|
|
52
51
|
this,
|
|
@@ -1,5 +1,7 @@
|
|
|
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
|
logSetting?: LogSetting | null;
|
|
5
7
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { CdkResource, Stack } from "../../core/model";
|
|
2
2
|
import { GetAttr } from "../../core/func";
|
|
3
|
-
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
4
3
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
5
4
|
import RateModel from "./RateModel";
|
|
6
5
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
7
6
|
export default class Namespace extends CdkResource {
|
|
8
7
|
private readonly stack;
|
|
9
8
|
private readonly name;
|
|
10
|
-
private readonly transactionSetting;
|
|
11
9
|
private readonly description;
|
|
12
10
|
private readonly enableDirectEnhance;
|
|
11
|
+
private readonly transactionSetting;
|
|
13
12
|
private readonly enhanceScript;
|
|
14
13
|
private readonly logSetting;
|
|
15
|
-
constructor(stack: Stack, name: string,
|
|
14
|
+
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
16
15
|
alternateKeys(): string;
|
|
17
16
|
resourceType(): string;
|
|
18
17
|
properties(): {
|
|
@@ -21,20 +21,21 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
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
|
-
constructor(stack, name,
|
|
25
|
-
var _a, _b, _c, _d;
|
|
24
|
+
constructor(stack, name, options = null) {
|
|
25
|
+
var _a, _b, _c, _d, _e;
|
|
26
26
|
super("Enhance_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.enableDirectEnhance = null;
|
|
29
|
+
this.transactionSetting = null;
|
|
29
30
|
this.enhanceScript = null;
|
|
30
31
|
this.logSetting = null;
|
|
31
32
|
this.stack = stack;
|
|
32
33
|
this.name = name;
|
|
33
|
-
this.transactionSetting = transactionSetting;
|
|
34
34
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
35
35
|
this.enableDirectEnhance = (_b = options === null || options === void 0 ? void 0 : options.enableDirectEnhance) !== null && _b !== void 0 ? _b : null;
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
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;
|
|
38
39
|
stack.addResource(this);
|
|
39
40
|
}
|
|
40
41
|
alternateKeys() {
|
|
@@ -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;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAS9C,YACI,KAAY,EACZ,IAAY,EACZ,
|
|
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;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,I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,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,MAAA,IAAI,CAAC,aAAa,0CAAE,UAAU,EAC3D,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,UAAuB;QAEvB,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,UAAU,CACb,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAlGD,4BAkGC"}
|
|
@@ -29,16 +29,15 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
29
29
|
export default class Namespace extends CdkResource {
|
|
30
30
|
private readonly stack: Stack;
|
|
31
31
|
private readonly name: string;
|
|
32
|
-
private readonly transactionSetting: TransactionSetting;
|
|
33
32
|
private readonly description: string|null = null;
|
|
34
33
|
private readonly enableDirectEnhance: boolean|null = null;
|
|
34
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
35
35
|
private readonly enhanceScript: ScriptSetting|null = null;
|
|
36
36
|
private readonly logSetting: LogSetting|null = null;
|
|
37
37
|
|
|
38
38
|
public constructor(
|
|
39
39
|
stack: Stack,
|
|
40
40
|
name: string,
|
|
41
|
-
transactionSetting: TransactionSetting,
|
|
42
41
|
options: NamespaceOptions|null = null,
|
|
43
42
|
) {
|
|
44
43
|
super(
|
|
@@ -47,9 +46,9 @@ export default class Namespace extends CdkResource {
|
|
|
47
46
|
|
|
48
47
|
this.stack = stack;
|
|
49
48
|
this.name = name;
|
|
50
|
-
this.transactionSetting = transactionSetting;
|
|
51
49
|
this.description = options?.description ?? null;
|
|
52
50
|
this.enableDirectEnhance = options?.enableDirectEnhance ?? null;
|
|
51
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
53
52
|
this.enhanceScript = options?.enhanceScript ?? null;
|
|
54
53
|
this.logSetting = options?.logSetting ?? null;
|
|
55
54
|
stack.addResource(
|
|
@@ -1,8 +1,10 @@
|
|
|
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;
|
|
5
6
|
enableDirectEnhance?: boolean | null;
|
|
7
|
+
transactionSetting?: TransactionSetting | null;
|
|
6
8
|
enhanceScript?: ScriptSetting | null;
|
|
7
9
|
logSetting?: LogSetting | null;
|
|
8
10
|
queueNamespaceId?: string | null;
|
|
@@ -20,6 +20,7 @@ import LogSetting from "../../../core/model/LogSetting";
|
|
|
20
20
|
export interface NamespaceOptions {
|
|
21
21
|
description?: string|null;
|
|
22
22
|
enableDirectEnhance?: boolean|null;
|
|
23
|
+
transactionSetting?: TransactionSetting|null;
|
|
23
24
|
enhanceScript?: ScriptSetting|null;
|
|
24
25
|
logSetting?: LogSetting|null;
|
|
25
26
|
queueNamespaceId?: string|null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CdkResource, Stack } from "../../core/model";
|
|
2
2
|
import { GetAttr } from "../../core/func";
|
|
3
|
-
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
4
3
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
5
4
|
import RateModel from "./RateModel";
|
|
6
5
|
import IncrementalRateModel from "./IncrementalRateModel";
|
|
@@ -8,13 +7,13 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
8
7
|
export default class Namespace extends CdkResource {
|
|
9
8
|
private readonly stack;
|
|
10
9
|
private readonly name;
|
|
11
|
-
private readonly transactionSetting;
|
|
12
10
|
private readonly description;
|
|
13
11
|
private readonly enableAwaitExchange;
|
|
14
12
|
private readonly enableDirectExchange;
|
|
13
|
+
private readonly transactionSetting;
|
|
15
14
|
private readonly exchangeScript;
|
|
16
15
|
private readonly logSetting;
|
|
17
|
-
constructor(stack: Stack, name: string,
|
|
16
|
+
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
18
17
|
alternateKeys(): string;
|
|
19
18
|
resourceType(): string;
|
|
20
19
|
properties(): {
|
|
@@ -21,22 +21,23 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
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
|
-
constructor(stack, name,
|
|
25
|
-
var _a, _b, _c, _d, _e;
|
|
24
|
+
constructor(stack, name, options = null) {
|
|
25
|
+
var _a, _b, _c, _d, _e, _f;
|
|
26
26
|
super("Exchange_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.enableAwaitExchange = null;
|
|
29
29
|
this.enableDirectExchange = null;
|
|
30
|
+
this.transactionSetting = null;
|
|
30
31
|
this.exchangeScript = null;
|
|
31
32
|
this.logSetting = null;
|
|
32
33
|
this.stack = stack;
|
|
33
34
|
this.name = name;
|
|
34
|
-
this.transactionSetting = transactionSetting;
|
|
35
35
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
36
36
|
this.enableAwaitExchange = (_b = options === null || options === void 0 ? void 0 : options.enableAwaitExchange) !== null && _b !== void 0 ? _b : null;
|
|
37
37
|
this.enableDirectExchange = (_c = options === null || options === void 0 ? void 0 : options.enableDirectExchange) !== null && _c !== void 0 ? _c : null;
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
38
|
+
this.transactionSetting = (_d = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _d !== void 0 ? _d : null;
|
|
39
|
+
this.exchangeScript = (_e = options === null || options === void 0 ? void 0 : options.exchangeScript) !== null && _e !== void 0 ? _e : null;
|
|
40
|
+
this.logSetting = (_f = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _f !== void 0 ? _f : null;
|
|
40
41
|
stack.addResource(this);
|
|
41
42
|
}
|
|
42
43
|
alternateKeys() {
|
|
@@ -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;IAU9C,YACI,KAAY,EACZ,IAAY,EACZ,
|
|
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;IAU9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,qBAAqB,GAAG,IAAI,CAC/B,CAAC;QAdW,gBAAW,GAAgB,IAAI,CAAC;QAChC,wBAAmB,GAAiB,IAAI,CAAC;QACzC,yBAAoB,GAAiB,IAAI,CAAC;QAC1C,uBAAkB,GAA4B,IAAI,CAAC;QACnD,mBAAc,GAAuB,IAAI,CAAC;QAC1C,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;Q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AAoB,IAAI,IAAI,EAAE;YACnC,UAAU,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC;SAClE;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,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,MAAA,IAAI,CAAC,cAAc,0CAAE,UAAU,EAC7D,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,UAAuB,EACvB,qBAA6C;QAE7C,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,UAAU,EACV,qBAAqB,CACxB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAzGD,4BAyGC"}
|
|
@@ -30,17 +30,16 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
30
30
|
export default class Namespace extends CdkResource {
|
|
31
31
|
private readonly stack: Stack;
|
|
32
32
|
private readonly name: string;
|
|
33
|
-
private readonly transactionSetting: TransactionSetting;
|
|
34
33
|
private readonly description: string|null = null;
|
|
35
34
|
private readonly enableAwaitExchange: boolean|null = null;
|
|
36
35
|
private readonly enableDirectExchange: boolean|null = null;
|
|
36
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
37
37
|
private readonly exchangeScript: ScriptSetting|null = null;
|
|
38
38
|
private readonly logSetting: LogSetting|null = null;
|
|
39
39
|
|
|
40
40
|
public constructor(
|
|
41
41
|
stack: Stack,
|
|
42
42
|
name: string,
|
|
43
|
-
transactionSetting: TransactionSetting,
|
|
44
43
|
options: NamespaceOptions|null = null,
|
|
45
44
|
) {
|
|
46
45
|
super(
|
|
@@ -49,10 +48,10 @@ export default class Namespace extends CdkResource {
|
|
|
49
48
|
|
|
50
49
|
this.stack = stack;
|
|
51
50
|
this.name = name;
|
|
52
|
-
this.transactionSetting = transactionSetting;
|
|
53
51
|
this.description = options?.description ?? null;
|
|
54
52
|
this.enableAwaitExchange = options?.enableAwaitExchange ?? null;
|
|
55
53
|
this.enableDirectExchange = options?.enableDirectExchange ?? null;
|
|
54
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
56
55
|
this.exchangeScript = options?.exchangeScript ?? null;
|
|
57
56
|
this.logSetting = options?.logSetting ?? null;
|
|
58
57
|
stack.addResource(
|
|
@@ -1,9 +1,11 @@
|
|
|
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;
|
|
5
6
|
enableAwaitExchange?: boolean | null;
|
|
6
7
|
enableDirectExchange?: boolean | null;
|
|
8
|
+
transactionSetting?: TransactionSetting | null;
|
|
7
9
|
exchangeScript?: ScriptSetting | null;
|
|
8
10
|
logSetting?: LogSetting | null;
|
|
9
11
|
queueNamespaceId?: string | null;
|
|
@@ -21,6 +21,7 @@ export interface NamespaceOptions {
|
|
|
21
21
|
description?: string|null;
|
|
22
22
|
enableAwaitExchange?: boolean|null;
|
|
23
23
|
enableDirectExchange?: boolean|null;
|
|
24
|
+
transactionSetting?: TransactionSetting|null;
|
|
24
25
|
exchangeScript?: ScriptSetting|null;
|
|
25
26
|
logSetting?: LogSetting|null;
|
|
26
27
|
queueNamespaceId?: string|null;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { CdkResource, Stack } from "../../core/model";
|
|
2
2
|
import { GetAttr } from "../../core/func";
|
|
3
|
-
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
4
3
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
5
4
|
import CategoryModel from "./CategoryModel";
|
|
6
5
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
7
6
|
export default class Namespace extends CdkResource {
|
|
8
7
|
private readonly stack;
|
|
9
8
|
private readonly name;
|
|
10
|
-
private readonly transactionSetting;
|
|
11
9
|
private readonly description;
|
|
10
|
+
private readonly transactionSetting;
|
|
12
11
|
private readonly receiveScript;
|
|
13
12
|
private readonly logSetting;
|
|
14
|
-
constructor(stack: Stack, name: string,
|
|
13
|
+
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
15
14
|
alternateKeys(): string;
|
|
16
15
|
resourceType(): string;
|
|
17
16
|
properties(): {
|