gs2-cdk 1.0.99 → 1.0.100
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/exchange/model/Namespace.d.ts +1 -0
- package/exchange/model/Namespace.js +9 -4
- package/exchange/model/Namespace.js.map +1 -1
- package/exchange/model/Namespace.ts +6 -0
- package/exchange/model/options/NamespaceOptions.d.ts +1 -0
- package/exchange/model/options/NamespaceOptions.ts +1 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export default class Namespace extends CdkResource {
|
|
|
13
13
|
private readonly transactionSetting;
|
|
14
14
|
private readonly exchangeScript;
|
|
15
15
|
private readonly incrementalExchangeScript;
|
|
16
|
+
private readonly acquireAwaitScript;
|
|
16
17
|
private readonly logSetting;
|
|
17
18
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
18
19
|
alternateKeys(): string;
|
|
@@ -22,7 +22,7 @@ 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;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
26
26
|
super("Exchange_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.enableAwaitExchange = null;
|
|
@@ -30,6 +30,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
30
30
|
this.transactionSetting = null;
|
|
31
31
|
this.exchangeScript = null;
|
|
32
32
|
this.incrementalExchangeScript = null;
|
|
33
|
+
this.acquireAwaitScript = null;
|
|
33
34
|
this.logSetting = null;
|
|
34
35
|
this.stack = stack;
|
|
35
36
|
this.name = name;
|
|
@@ -39,7 +40,8 @@ class Namespace extends model_1.CdkResource {
|
|
|
39
40
|
this.transactionSetting = (_d = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _d !== void 0 ? _d : null;
|
|
40
41
|
this.exchangeScript = (_e = options === null || options === void 0 ? void 0 : options.exchangeScript) !== null && _e !== void 0 ? _e : null;
|
|
41
42
|
this.incrementalExchangeScript = (_f = options === null || options === void 0 ? void 0 : options.incrementalExchangeScript) !== null && _f !== void 0 ? _f : null;
|
|
42
|
-
this.
|
|
43
|
+
this.acquireAwaitScript = (_g = options === null || options === void 0 ? void 0 : options.acquireAwaitScript) !== null && _g !== void 0 ? _g : null;
|
|
44
|
+
this.logSetting = (_h = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _h !== void 0 ? _h : null;
|
|
43
45
|
stack.addResource(this);
|
|
44
46
|
}
|
|
45
47
|
alternateKeys() {
|
|
@@ -49,7 +51,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
49
51
|
return "GS2::Exchange::Namespace";
|
|
50
52
|
}
|
|
51
53
|
properties() {
|
|
52
|
-
var _a, _b, _c, _d;
|
|
54
|
+
var _a, _b, _c, _d, _e;
|
|
53
55
|
let properties = {};
|
|
54
56
|
if (this.name != null) {
|
|
55
57
|
properties["Name"] = this.name;
|
|
@@ -72,8 +74,11 @@ class Namespace extends model_1.CdkResource {
|
|
|
72
74
|
if (this.incrementalExchangeScript != null) {
|
|
73
75
|
properties["IncrementalExchangeScript"] = (_c = this.incrementalExchangeScript) === null || _c === void 0 ? void 0 : _c.properties();
|
|
74
76
|
}
|
|
77
|
+
if (this.acquireAwaitScript != null) {
|
|
78
|
+
properties["AcquireAwaitScript"] = (_d = this.acquireAwaitScript) === null || _d === void 0 ? void 0 : _d.properties();
|
|
79
|
+
}
|
|
75
80
|
if (this.logSetting != null) {
|
|
76
|
-
properties["LogSetting"] = (
|
|
81
|
+
properties["LogSetting"] = (_e = this.logSetting) === null || _e === void 0 ? void 0 : _e.properties();
|
|
77
82
|
}
|
|
78
83
|
return properties;
|
|
79
84
|
}
|
|
@@ -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;
|
|
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;IAY9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,qBAAqB,GAAG,IAAI,CAC/B,CAAC;QAhBW,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,8BAAyB,GAAuB,IAAI,CAAC;QACrD,uBAAkB,GAAuB,IAAI,CAAC;QAC9C,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,mBAAmB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,mBAAmB,mCAAI,IAAI,CAAC;QAChE,IAAI,CAAC,oBAAoB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB,mCAAI,IAAI,CAAC;QAClE,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,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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,yBAAyB,IAAI,IAAI,EAAE;YACxC,UAAU,CAAC,2BAA2B,CAAC,GAAG,MAAA,IAAI,CAAC,yBAAyB,0CAAE,UAAU,EACnF,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,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;AArHD,4BAqHC"}
|
|
@@ -36,6 +36,7 @@ export default class Namespace extends CdkResource {
|
|
|
36
36
|
private readonly transactionSetting: TransactionSetting|null = null;
|
|
37
37
|
private readonly exchangeScript: ScriptSetting|null = null;
|
|
38
38
|
private readonly incrementalExchangeScript: ScriptSetting|null = null;
|
|
39
|
+
private readonly acquireAwaitScript: ScriptSetting|null = null;
|
|
39
40
|
private readonly logSetting: LogSetting|null = null;
|
|
40
41
|
|
|
41
42
|
public constructor(
|
|
@@ -55,6 +56,7 @@ export default class Namespace extends CdkResource {
|
|
|
55
56
|
this.transactionSetting = options?.transactionSetting ?? null;
|
|
56
57
|
this.exchangeScript = options?.exchangeScript ?? null;
|
|
57
58
|
this.incrementalExchangeScript = options?.incrementalExchangeScript ?? null;
|
|
59
|
+
this.acquireAwaitScript = options?.acquireAwaitScript ?? null;
|
|
58
60
|
this.logSetting = options?.logSetting ?? null;
|
|
59
61
|
stack.addResource(
|
|
60
62
|
this,
|
|
@@ -100,6 +102,10 @@ export default class Namespace extends CdkResource {
|
|
|
100
102
|
properties["IncrementalExchangeScript"] = this.incrementalExchangeScript?.properties(
|
|
101
103
|
);
|
|
102
104
|
}
|
|
105
|
+
if (this.acquireAwaitScript != null) {
|
|
106
|
+
properties["AcquireAwaitScript"] = this.acquireAwaitScript?.properties(
|
|
107
|
+
);
|
|
108
|
+
}
|
|
103
109
|
if (this.logSetting != null) {
|
|
104
110
|
properties["LogSetting"] = this.logSetting?.properties(
|
|
105
111
|
);
|
|
@@ -8,6 +8,7 @@ export interface NamespaceOptions {
|
|
|
8
8
|
transactionSetting?: TransactionSetting | null;
|
|
9
9
|
exchangeScript?: ScriptSetting | null;
|
|
10
10
|
incrementalExchangeScript?: ScriptSetting | null;
|
|
11
|
+
acquireAwaitScript?: ScriptSetting | null;
|
|
11
12
|
logSetting?: LogSetting | null;
|
|
12
13
|
queueNamespaceId?: string | null;
|
|
13
14
|
keyId?: string | null;
|
|
@@ -24,6 +24,7 @@ export interface NamespaceOptions {
|
|
|
24
24
|
transactionSetting?: TransactionSetting|null;
|
|
25
25
|
exchangeScript?: ScriptSetting|null;
|
|
26
26
|
incrementalExchangeScript?: ScriptSetting|null;
|
|
27
|
+
acquireAwaitScript?: ScriptSetting|null;
|
|
27
28
|
logSetting?: LogSetting|null;
|
|
28
29
|
queueNamespaceId?: string|null;
|
|
29
30
|
keyId?: string|null;
|