gs2-cdk 1.0.120 → 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 +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
package/chat/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;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
26
26
|
super("Chat_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.allowCreateRoom = null;
|
|
29
30
|
this.messageLifeTimeDays = null;
|
|
30
31
|
this.postMessageScript = 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.allowCreateRoom = (_c = options === null || options === void 0 ? void 0 : options.allowCreateRoom) !== null && _c !== void 0 ? _c : null;
|
|
43
|
+
this.messageLifeTimeDays = (_d = options === null || options === void 0 ? void 0 : options.messageLifeTimeDays) !== null && _d !== void 0 ? _d : null;
|
|
44
|
+
this.postMessageScript = (_e = options === null || options === void 0 ? void 0 : options.postMessageScript) !== null && _e !== void 0 ? _e : null;
|
|
45
|
+
this.createRoomScript = (_f = options === null || options === void 0 ? void 0 : options.createRoomScript) !== null && _f !== void 0 ? _f : null;
|
|
46
|
+
this.deleteRoomScript = (_g = options === null || options === void 0 ? void 0 : options.deleteRoomScript) !== null && _g !== void 0 ? _g : null;
|
|
47
|
+
this.subscribeRoomScript = (_h = options === null || options === void 0 ? void 0 : options.subscribeRoomScript) !== null && _h !== void 0 ? _h : null;
|
|
48
|
+
this.unsubscribeRoomScript = (_j = options === null || options === void 0 ? void 0 : options.unsubscribeRoomScript) !== null && _j !== void 0 ? _j : null;
|
|
49
|
+
this.postNotification = (_k = options === null || options === void 0 ? void 0 : options.postNotification) !== 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::Chat::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.allowCreateRoom != null) {
|
|
67
72
|
properties["AllowCreateRoom"] = this.allowCreateRoom;
|
|
68
73
|
}
|
|
@@ -70,25 +75,25 @@ class Namespace extends model_1.CdkResource {
|
|
|
70
75
|
properties["MessageLifeTimeDays"] = this.messageLifeTimeDays;
|
|
71
76
|
}
|
|
72
77
|
if (this.postMessageScript != null) {
|
|
73
|
-
properties["PostMessageScript"] = (
|
|
78
|
+
properties["PostMessageScript"] = (_b = this.postMessageScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
74
79
|
}
|
|
75
80
|
if (this.createRoomScript != null) {
|
|
76
|
-
properties["CreateRoomScript"] = (
|
|
81
|
+
properties["CreateRoomScript"] = (_c = this.createRoomScript) === null || _c === void 0 ? void 0 : _c.properties();
|
|
77
82
|
}
|
|
78
83
|
if (this.deleteRoomScript != null) {
|
|
79
|
-
properties["DeleteRoomScript"] = (
|
|
84
|
+
properties["DeleteRoomScript"] = (_d = this.deleteRoomScript) === null || _d === void 0 ? void 0 : _d.properties();
|
|
80
85
|
}
|
|
81
86
|
if (this.subscribeRoomScript != null) {
|
|
82
|
-
properties["SubscribeRoomScript"] = (
|
|
87
|
+
properties["SubscribeRoomScript"] = (_e = this.subscribeRoomScript) === null || _e === void 0 ? void 0 : _e.properties();
|
|
83
88
|
}
|
|
84
89
|
if (this.unsubscribeRoomScript != null) {
|
|
85
|
-
properties["UnsubscribeRoomScript"] = (
|
|
90
|
+
properties["UnsubscribeRoomScript"] = (_f = this.unsubscribeRoomScript) === null || _f === void 0 ? void 0 : _f.properties();
|
|
86
91
|
}
|
|
87
92
|
if (this.postNotification != null) {
|
|
88
|
-
properties["PostNotification"] = (
|
|
93
|
+
properties["PostNotification"] = (_g = this.postNotification) === 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;AAMxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAe9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,iBAAiB,GAAG,IAAI,CAC3B,CAAC;QAnBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,oBAAe,GAAiB,IAAI,CAAC;QACrC,wBAAmB,GAAgB,IAAI,CAAC;QACxC,sBAAiB,GAAuB,IAAI,CAAC;QAC7C,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,wBAAmB,GAAuB,IAAI,CAAC;QAC/C,0BAAqB,GAAuB,IAAI,CAAC;QACjD,qBAAgB,GAA6B,IAAI,CAAC;QAClD,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,kBAAk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CAAE,UAAU,EAC3E,CAAC;SACL;QACD,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,MAAA,IAAI,CAAC,gBAAgB,0CAAE,UAAU,EACjE,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,cAA+B;QAE/B,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,cAAc,CACjB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AArID,4BAqIC"}
|
package/chat/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 NotificationSetting from "../../core/model/NotificationSetting";
|
|
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 allowCreateRoom: boolean|null = null;
|
|
34
36
|
private readonly messageLifeTimeDays: number|null = null;
|
|
35
37
|
private readonly postMessageScript: ScriptSetting|null = null;
|
|
@@ -52,6 +54,7 @@ export default class Namespace extends CdkResource {
|
|
|
52
54
|
this.stack = stack;
|
|
53
55
|
this.name = name;
|
|
54
56
|
this.description = options?.description ?? null;
|
|
57
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
55
58
|
this.allowCreateRoom = options?.allowCreateRoom ?? null;
|
|
56
59
|
this.messageLifeTimeDays = options?.messageLifeTimeDays ?? null;
|
|
57
60
|
this.postMessageScript = options?.postMessageScript ?? null;
|
|
@@ -87,6 +90,10 @@ export default class Namespace extends CdkResource {
|
|
|
87
90
|
if (this.description != null) {
|
|
88
91
|
properties["Description"] = this.description;
|
|
89
92
|
}
|
|
93
|
+
if (this.transactionSetting != null) {
|
|
94
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
95
|
+
);
|
|
96
|
+
}
|
|
90
97
|
if (this.allowCreateRoom != null) {
|
|
91
98
|
properties["AllowCreateRoom"] = this.allowCreateRoom;
|
|
92
99
|
}
|
|
@@ -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
|
allowCreateRoom?: boolean | null;
|
|
7
9
|
messageLifeTimeDays?: number | null;
|
|
8
10
|
postMessageScript?: 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
|
allowCreateRoom?: boolean|null;
|
|
23
25
|
messageLifeTimeDays?: number|null;
|
|
24
26
|
postMessageScript?: 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 logSetting;
|
|
10
11
|
private readonly doneUploadScript;
|
|
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("Datastore_Namespace_" + name);
|
|
26
26
|
this.description = null;
|
|
27
|
+
this.transactionSetting = null;
|
|
27
28
|
this.logSetting = null;
|
|
28
29
|
this.doneUploadScript = 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.logSetting = (_c = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _c !== void 0 ? _c : null;
|
|
35
|
+
this.doneUploadScript = (_d = options === null || options === void 0 ? void 0 : options.doneUploadScript) !== 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::Datastore::Namespace";
|
|
41
43
|
}
|
|
42
44
|
properties() {
|
|
43
|
-
var _a, _b;
|
|
45
|
+
var _a, _b, _c;
|
|
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.logSetting != null) {
|
|
52
|
-
properties["LogSetting"] = (
|
|
57
|
+
properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
|
|
53
58
|
}
|
|
54
59
|
if (this.doneUploadScript != null) {
|
|
55
|
-
properties["DoneUploadScript"] = (
|
|
60
|
+
properties["DoneUploadScript"] = (_c = this.doneUploadScript) === null || _c === void 0 ? void 0 : _c.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;AAKxC,+EAA+C;AAI/C,MAAqB,SAAU,SAAQ,mBAAW;IAQ9C,YAC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,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,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;QACD,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,MAAA,IAAI,CAAC,gBAAgB,0CAAE,UAAU,EACjE,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;AAhFD,4BAgFC"}
|
|
@@ -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 LogSetting from "../../core/model/LogSetting";
|
|
20
21
|
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
21
22
|
|
|
@@ -27,6 +28,7 @@ export default class Namespace extends CdkResource {
|
|
|
27
28
|
private readonly stack: Stack;
|
|
28
29
|
private readonly name: string;
|
|
29
30
|
private readonly description: string|null = null;
|
|
31
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
30
32
|
private readonly logSetting: LogSetting|null = null;
|
|
31
33
|
private readonly doneUploadScript: ScriptSetting|null = null;
|
|
32
34
|
|
|
@@ -42,6 +44,7 @@ export default class Namespace extends CdkResource {
|
|
|
42
44
|
this.stack = stack;
|
|
43
45
|
this.name = name;
|
|
44
46
|
this.description = options?.description ?? null;
|
|
47
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
45
48
|
this.logSetting = options?.logSetting ?? null;
|
|
46
49
|
this.doneUploadScript = options?.doneUploadScript ?? null;
|
|
47
50
|
stack.addResource(
|
|
@@ -70,6 +73,10 @@ export default class Namespace extends CdkResource {
|
|
|
70
73
|
if (this.description != null) {
|
|
71
74
|
properties["Description"] = this.description;
|
|
72
75
|
}
|
|
76
|
+
if (this.transactionSetting != null) {
|
|
77
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
78
|
+
);
|
|
79
|
+
}
|
|
73
80
|
if (this.logSetting != null) {
|
|
74
81
|
properties["LogSetting"] = this.logSetting?.properties(
|
|
75
82
|
);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import LogSetting from "../../../core/model/LogSetting";
|
|
2
3
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
3
4
|
export interface NamespaceOptions {
|
|
4
5
|
description?: string | null;
|
|
6
|
+
transactionSetting?: TransactionSetting | null;
|
|
5
7
|
logSetting?: LogSetting | null;
|
|
6
8
|
doneUploadScript?: ScriptSetting | 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 LogSetting from "../../../core/model/LogSetting";
|
|
17
18
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
18
19
|
|
|
19
20
|
export interface NamespaceOptions {
|
|
20
21
|
description?: string|null;
|
|
22
|
+
transactionSetting?: TransactionSetting|null;
|
|
21
23
|
logSetting?: LogSetting|null;
|
|
22
24
|
doneUploadScript?: ScriptSetting|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 entryScript;
|
|
11
12
|
private readonly duplicateEntryScript;
|
|
12
13
|
private readonly logSetting;
|
|
@@ -22,18 +22,20 @@ 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;
|
|
25
|
+
var _a, _b, _c, _d, _e;
|
|
26
26
|
super("Dictionary_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.entryScript = null;
|
|
29
30
|
this.duplicateEntryScript = null;
|
|
30
31
|
this.logSetting = null;
|
|
31
32
|
this.stack = stack;
|
|
32
33
|
this.name = name;
|
|
33
34
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
35
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
36
|
+
this.entryScript = (_c = options === null || options === void 0 ? void 0 : options.entryScript) !== null && _c !== void 0 ? _c : null;
|
|
37
|
+
this.duplicateEntryScript = (_d = options === null || options === void 0 ? void 0 : options.duplicateEntryScript) !== 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;
|
|
37
39
|
stack.addResource(this);
|
|
38
40
|
}
|
|
39
41
|
alternateKeys() {
|
|
@@ -43,7 +45,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
43
45
|
return "GS2::Dictionary::Namespace";
|
|
44
46
|
}
|
|
45
47
|
properties() {
|
|
46
|
-
var _a, _b;
|
|
48
|
+
var _a, _b, _c;
|
|
47
49
|
let properties = {};
|
|
48
50
|
if (this.name != null) {
|
|
49
51
|
properties["Name"] = this.name;
|
|
@@ -51,14 +53,17 @@ class Namespace extends model_1.CdkResource {
|
|
|
51
53
|
if (this.description != null) {
|
|
52
54
|
properties["Description"] = this.description;
|
|
53
55
|
}
|
|
56
|
+
if (this.transactionSetting != null) {
|
|
57
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
58
|
+
}
|
|
54
59
|
if (this.entryScript != null) {
|
|
55
|
-
properties["EntryScript"] = (
|
|
60
|
+
properties["EntryScript"] = (_b = this.entryScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
56
61
|
}
|
|
57
62
|
if (this.duplicateEntryScript != null) {
|
|
58
63
|
properties["DuplicateEntryScript"] = this.duplicateEntryScript;
|
|
59
64
|
}
|
|
60
65
|
if (this.logSetting != null) {
|
|
61
|
-
properties["LogSetting"] = (
|
|
66
|
+
properties["LogSetting"] = (_c = this.logSetting) === null || _c === void 0 ? void 0 : _c.properties();
|
|
62
67
|
}
|
|
63
68
|
return properties;
|
|
64
69
|
}
|
|
@@ -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;IAS9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,uBAAuB,GAAG,IAAI,CACjC,CAAC;QAbW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QAC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AkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,UAAU,EACvD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,oBAAoB,IAAI,IAAI,EAAE;YACnC,UAAU,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC;SAClE;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,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;AAlGD,4BAkGC"}
|
|
@@ -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 entryScript: ScriptSetting|null = null;
|
|
33
35
|
private readonly duplicateEntryScript: string|null = null;
|
|
34
36
|
private readonly logSetting: LogSetting|null = null;
|
|
@@ -45,6 +47,7 @@ export default class Namespace extends CdkResource {
|
|
|
45
47
|
this.stack = stack;
|
|
46
48
|
this.name = name;
|
|
47
49
|
this.description = options?.description ?? null;
|
|
50
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
48
51
|
this.entryScript = options?.entryScript ?? null;
|
|
49
52
|
this.duplicateEntryScript = options?.duplicateEntryScript ?? null;
|
|
50
53
|
this.logSetting = options?.logSetting ?? null;
|
|
@@ -74,6 +77,10 @@ export default class Namespace extends CdkResource {
|
|
|
74
77
|
if (this.description != null) {
|
|
75
78
|
properties["Description"] = this.description;
|
|
76
79
|
}
|
|
80
|
+
if (this.transactionSetting != null) {
|
|
81
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
82
|
+
);
|
|
83
|
+
}
|
|
77
84
|
if (this.entryScript != null) {
|
|
78
85
|
properties["EntryScript"] = this.entryScript?.properties(
|
|
79
86
|
);
|
|
@@ -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
|
entryScript?: ScriptSetting | null;
|
|
6
8
|
duplicateEntryScript?: string | null;
|
|
7
9
|
logSetting?: LogSetting | 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
|
entryScript?: ScriptSetting|null;
|
|
22
24
|
duplicateEntryScript?: string|null;
|
|
23
25
|
logSetting?: LogSetting|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 assumeUserId;
|
|
11
12
|
private readonly autoRunStampSheetNotification;
|
|
12
13
|
private readonly autoRunTransactionNotification;
|
|
@@ -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;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f;
|
|
26
26
|
super("Distributor_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.assumeUserId = null;
|
|
29
30
|
this.autoRunStampSheetNotification = null;
|
|
30
31
|
this.autoRunTransactionNotification = null;
|
|
@@ -32,10 +33,11 @@ class Namespace extends model_1.CdkResource {
|
|
|
32
33
|
this.stack = stack;
|
|
33
34
|
this.name = name;
|
|
34
35
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
36
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
37
|
+
this.assumeUserId = (_c = options === null || options === void 0 ? void 0 : options.assumeUserId) !== null && _c !== void 0 ? _c : null;
|
|
38
|
+
this.autoRunStampSheetNotification = (_d = options === null || options === void 0 ? void 0 : options.autoRunStampSheetNotification) !== null && _d !== void 0 ? _d : null;
|
|
39
|
+
this.autoRunTransactionNotification = (_e = options === null || options === void 0 ? void 0 : options.autoRunTransactionNotification) !== 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;
|
|
39
41
|
stack.addResource(this);
|
|
40
42
|
}
|
|
41
43
|
alternateKeys() {
|
|
@@ -45,7 +47,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
45
47
|
return "GS2::Distributor::Namespace";
|
|
46
48
|
}
|
|
47
49
|
properties() {
|
|
48
|
-
var _a, _b, _c;
|
|
50
|
+
var _a, _b, _c, _d;
|
|
49
51
|
let properties = {};
|
|
50
52
|
if (this.name != null) {
|
|
51
53
|
properties["Name"] = this.name;
|
|
@@ -53,17 +55,20 @@ class Namespace extends model_1.CdkResource {
|
|
|
53
55
|
if (this.description != null) {
|
|
54
56
|
properties["Description"] = this.description;
|
|
55
57
|
}
|
|
58
|
+
if (this.transactionSetting != null) {
|
|
59
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
60
|
+
}
|
|
56
61
|
if (this.assumeUserId != null) {
|
|
57
62
|
properties["AssumeUserId"] = this.assumeUserId;
|
|
58
63
|
}
|
|
59
64
|
if (this.autoRunStampSheetNotification != null) {
|
|
60
|
-
properties["AutoRunStampSheetNotification"] = (
|
|
65
|
+
properties["AutoRunStampSheetNotification"] = (_b = this.autoRunStampSheetNotification) === null || _b === void 0 ? void 0 : _b.properties();
|
|
61
66
|
}
|
|
62
67
|
if (this.autoRunTransactionNotification != null) {
|
|
63
|
-
properties["AutoRunTransactionNotification"] = (
|
|
68
|
+
properties["AutoRunTransactionNotification"] = (_c = this.autoRunTransactionNotification) === null || _c === void 0 ? void 0 : _c.properties();
|
|
64
69
|
}
|
|
65
70
|
if (this.logSetting != null) {
|
|
66
|
-
properties["LogSetting"] = (
|
|
71
|
+
properties["LogSetting"] = (_d = this.logSetting) === null || _d === void 0 ? void 0 : _d.properties();
|
|
67
72
|
}
|
|
68
73
|
return properties;
|
|
69
74
|
}
|
|
@@ -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;IAU9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,wBAAwB,GAAG,IAAI,CAClC,CAAC;QAdW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,iBAAY,GAAgB,IAAI,CAAC;QACjC,kCAA6B,GAA6B,IAAI,CAAC;QAC/D,mCAA8B,GAA6B,IAAI,CAAC;QAChE,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,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,Y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AU,CAAC,gCAAgC,CAAC,GAAG,MAAA,IAAI,CAAC,8BAA8B,0CAAE,UAAU,EAC7F,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,iBAAqC;QAErC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,iBAAiB,CACpB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAxGD,4BAwGC"}
|
|
@@ -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 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 assumeUserId: string|null = null;
|
|
33
35
|
private readonly autoRunStampSheetNotification: NotificationSetting|null = null;
|
|
34
36
|
private readonly autoRunTransactionNotification: NotificationSetting|null = null;
|
|
@@ -46,6 +48,7 @@ export default class Namespace extends CdkResource {
|
|
|
46
48
|
this.stack = stack;
|
|
47
49
|
this.name = name;
|
|
48
50
|
this.description = options?.description ?? null;
|
|
51
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
49
52
|
this.assumeUserId = options?.assumeUserId ?? null;
|
|
50
53
|
this.autoRunStampSheetNotification = options?.autoRunStampSheetNotification ?? null;
|
|
51
54
|
this.autoRunTransactionNotification = options?.autoRunTransactionNotification ?? null;
|
|
@@ -76,6 +79,10 @@ export default class Namespace extends CdkResource {
|
|
|
76
79
|
if (this.description != null) {
|
|
77
80
|
properties["Description"] = this.description;
|
|
78
81
|
}
|
|
82
|
+
if (this.transactionSetting != null) {
|
|
83
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
84
|
+
);
|
|
85
|
+
}
|
|
79
86
|
if (this.assumeUserId != null) {
|
|
80
87
|
properties["AssumeUserId"] = this.assumeUserId;
|
|
81
88
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
2
3
|
import LogSetting from "../../../core/model/LogSetting";
|
|
3
4
|
export interface NamespaceOptions {
|
|
4
5
|
description?: string | null;
|
|
6
|
+
transactionSetting?: TransactionSetting | null;
|
|
5
7
|
assumeUserId?: string | null;
|
|
6
8
|
autoRunStampSheetNotification?: NotificationSetting | null;
|
|
7
9
|
autoRunTransactionNotification?: NotificationSetting | 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 NotificationSetting from "../../../core/model/NotificationSetting";
|
|
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
|
assumeUserId?: string|null;
|
|
22
24
|
autoRunStampSheetNotification?: NotificationSetting|null;
|
|
23
25
|
autoRunTransactionNotification?: NotificationSetting|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 followScript;
|
|
10
11
|
private readonly unfollowScript;
|
|
11
12
|
private readonly sendRequestScript;
|