gs2-cdk 1.0.41 → 1.0.42

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.
@@ -43,7 +43,7 @@ class Namespace extends model_1.CdkResource {
43
43
  return "GS2::Dictionary::Namespace";
44
44
  }
45
45
  properties() {
46
- var _a, _b, _c;
46
+ var _a, _b;
47
47
  let properties = {};
48
48
  if (this.name != null) {
49
49
  properties["Name"] = this.name;
@@ -55,10 +55,10 @@ class Namespace extends model_1.CdkResource {
55
55
  properties["EntryScript"] = (_a = this.entryScript) === null || _a === void 0 ? void 0 : _a.properties();
56
56
  }
57
57
  if (this.duplicateEntryScript != null) {
58
- properties["DuplicateEntryScript"] = (_b = this.duplicateEntryScript) === null || _b === void 0 ? void 0 : _b.properties();
58
+ properties["DuplicateEntryScript"] = this.duplicateEntryScript;
59
59
  }
60
60
  if (this.logSetting != null) {
61
- properties["LogSetting"] = (_c = this.logSetting) === null || _c === void 0 ? void 0 : _c.properties();
61
+ properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
62
62
  }
63
63
  return properties;
64
64
  }
@@ -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;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAQ9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,uBAAuB,GAAG,IAAI,CACjC,CAAC;QAZW,gBAAW,GAAgB,IAAI,CAAC;QAChC,gBAAW,GAAuB,IAAI,CAAC;QACvC,yBAAoB,GAAuB,IAAI,CAAC;QAChD,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;Q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,EACV,IAAI,CAAC,IAAI,EACT,WAAW,CACd,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA5FD,4BA4FC"}
@@ -30,7 +30,7 @@ export default class Namespace extends CdkResource {
30
30
  private readonly name: string;
31
31
  private readonly description: string|null = null;
32
32
  private readonly entryScript: ScriptSetting|null = null;
33
- private readonly duplicateEntryScript: ScriptSetting|null = null;
33
+ private readonly duplicateEntryScript: string|null = null;
34
34
  private readonly logSetting: LogSetting|null = null;
35
35
 
36
36
  public constructor(
@@ -79,8 +79,7 @@ export default class Namespace extends CdkResource {
79
79
  );
80
80
  }
81
81
  if (this.duplicateEntryScript != null) {
82
- properties["DuplicateEntryScript"] = this.duplicateEntryScript?.properties(
83
- );
82
+ properties["DuplicateEntryScript"] = this.duplicateEntryScript;
84
83
  }
85
84
  if (this.logSetting != null) {
86
85
  properties["LogSetting"] = this.logSetting?.properties(
@@ -3,6 +3,6 @@ import LogSetting from "../../../core/model/LogSetting";
3
3
  export interface NamespaceOptions {
4
4
  description?: string | null;
5
5
  entryScript?: ScriptSetting | null;
6
- duplicateEntryScript?: ScriptSetting | null;
6
+ duplicateEntryScript?: string | null;
7
7
  logSetting?: LogSetting | null;
8
8
  }
@@ -19,7 +19,7 @@ import LogSetting from "../../../core/model/LogSetting";
19
19
  export interface NamespaceOptions {
20
20
  description?: string|null;
21
21
  entryScript?: ScriptSetting|null;
22
- duplicateEntryScript?: ScriptSetting|null;
22
+ duplicateEntryScript?: string|null;
23
23
  logSetting?: LogSetting|null;
24
24
  }
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -41,7 +41,7 @@ class Namespace extends model_1.CdkResource {
41
41
  return "GS2::Stamina::Namespace";
42
42
  }
43
43
  properties() {
44
- var _a, _b;
44
+ var _a;
45
45
  let properties = {};
46
46
  if (this.name != null) {
47
47
  properties["Name"] = this.name;
@@ -50,10 +50,10 @@ class Namespace extends model_1.CdkResource {
50
50
  properties["Description"] = this.description;
51
51
  }
52
52
  if (this.overflowTriggerScript != null) {
53
- properties["OverflowTriggerScript"] = (_a = this.overflowTriggerScript) === null || _a === void 0 ? void 0 : _a.properties();
53
+ properties["OverflowTriggerScript"] = this.overflowTriggerScript;
54
54
  }
55
55
  if (this.logSetting != null) {
56
- properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
56
+ properties["LogSetting"] = (_a = this.logSetting) === null || _a === void 0 ? void 0 : _a.properties();
57
57
  }
58
58
  return properties;
59
59
  }
@@ -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;AAKpD,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,0BAAqB,GAAuB,IAAI,CAAC;QACjD,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,qBAAqB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,qBAAqB,mCAAI,IAAI,CAAC;QACpE,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,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,IAAI,CAAC,qBAAqB,CAAC;SACpE;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,aAA6B;QAE7B,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,aAAa,CAChB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAtFD,4BAsFC"}
@@ -16,7 +16,6 @@
16
16
 
17
17
  import {CdkResource, Stack} from "../../core/model";
18
18
  import {GetAttr} from "../../core/func";
19
- import ScriptSetting from "../../core/model/ScriptSetting";
20
19
  import LogSetting from "../../core/model/LogSetting";
21
20
 
22
21
  import NamespaceRef from "../ref/NamespaceRef";
@@ -29,7 +28,7 @@ export default class Namespace extends CdkResource {
29
28
  private readonly stack: Stack;
30
29
  private readonly name: string;
31
30
  private readonly description: string|null = null;
32
- private readonly overflowTriggerScript: ScriptSetting|null = null;
31
+ private readonly overflowTriggerScript: string|null = null;
33
32
  private readonly logSetting: LogSetting|null = null;
34
33
 
35
34
  public constructor(
@@ -73,8 +72,7 @@ export default class Namespace extends CdkResource {
73
72
  properties["Description"] = this.description;
74
73
  }
75
74
  if (this.overflowTriggerScript != null) {
76
- properties["OverflowTriggerScript"] = this.overflowTriggerScript?.properties(
77
- );
75
+ properties["OverflowTriggerScript"] = this.overflowTriggerScript;
78
76
  }
79
77
  if (this.logSetting != null) {
80
78
  properties["LogSetting"] = this.logSetting?.properties(
@@ -1,7 +1,6 @@
1
- import ScriptSetting from "../../../core/model/ScriptSetting";
2
1
  import LogSetting from "../../../core/model/LogSetting";
3
2
  export interface NamespaceOptions {
4
3
  description?: string | null;
5
- overflowTriggerScript?: ScriptSetting | null;
4
+ overflowTriggerScript?: string | null;
6
5
  logSetting?: LogSetting | null;
7
6
  }
@@ -13,12 +13,11 @@
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 ScriptSetting from "../../../core/model/ScriptSetting";
17
16
  import LogSetting from "../../../core/model/LogSetting";
18
17
 
19
18
  export interface NamespaceOptions {
20
19
  description?: string|null;
21
- overflowTriggerScript?: ScriptSetting|null;
20
+ overflowTriggerScript?: string|null;
22
21
  logSetting?: LogSetting|null;
23
22
  }
24
23