gs2-cdk 1.0.69 → 1.0.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -3,6 +3,7 @@ import { RepeatSettingRepeatTypeIsAlwaysOptions } from "./options/RepeatSettingR
3
3
  import { RepeatSettingRepeatTypeIsDailyOptions } from "./options/RepeatSettingRepeatTypeIsDailyOptions";
4
4
  import { RepeatSettingRepeatTypeIsWeeklyOptions } from "./options/RepeatSettingRepeatTypeIsWeeklyOptions";
5
5
  import { RepeatSettingRepeatTypeIsMonthlyOptions } from "./options/RepeatSettingRepeatTypeIsMonthlyOptions";
6
+ import { RepeatSettingRepeatTypeIsCustomOptions } from "./options/RepeatSettingRepeatTypeIsCustomOptions";
6
7
  import { RepeatSettingRepeatType } from "./enum/RepeatSettingRepeatType";
7
8
  import { RepeatSettingBeginDayOfWeek } from "./enum/RepeatSettingBeginDayOfWeek";
8
9
  import { RepeatSettingEndDayOfWeek } from "./enum/RepeatSettingEndDayOfWeek";
@@ -14,11 +15,15 @@ export default class RepeatSetting {
14
15
  private readonly endDayOfWeek;
15
16
  private readonly beginHour;
16
17
  private readonly endHour;
18
+ private readonly anchorTimestamp;
19
+ private readonly activeDays;
20
+ private readonly inactiveDays;
17
21
  constructor(repeatType: RepeatSettingRepeatType, options?: RepeatSettingOptions | null);
18
22
  static repeatTypeIsAlways(options?: RepeatSettingRepeatTypeIsAlwaysOptions | null): RepeatSetting;
19
23
  static repeatTypeIsDaily(beginHour: number, endHour: number, options?: RepeatSettingRepeatTypeIsDailyOptions | null): RepeatSetting;
20
24
  static repeatTypeIsWeekly(beginDayOfWeek: RepeatSettingBeginDayOfWeek, endDayOfWeek: RepeatSettingEndDayOfWeek, beginHour: number, endHour: number, options?: RepeatSettingRepeatTypeIsWeeklyOptions | null): RepeatSetting;
21
25
  static repeatTypeIsMonthly(beginDayOfMonth: number, endDayOfMonth: number, beginHour: number, endHour: number, options?: RepeatSettingRepeatTypeIsMonthlyOptions | null): RepeatSetting;
26
+ static repeatTypeIsCustom(anchorTimestamp: number, activeDays: number, inactiveDays: number, options?: RepeatSettingRepeatTypeIsCustomOptions | null): RepeatSetting;
22
27
  properties(): {
23
28
  [name: string]: any;
24
29
  };
@@ -3,13 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const RepeatSettingRepeatType_1 = require("./enum/RepeatSettingRepeatType");
4
4
  class RepeatSetting {
5
5
  constructor(repeatType, options = null) {
6
- var _a, _b, _c, _d, _e, _f;
6
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
7
7
  this.beginDayOfMonth = null;
8
8
  this.endDayOfMonth = null;
9
9
  this.beginDayOfWeek = null;
10
10
  this.endDayOfWeek = null;
11
11
  this.beginHour = null;
12
12
  this.endHour = null;
13
+ this.anchorTimestamp = null;
14
+ this.activeDays = null;
15
+ this.inactiveDays = null;
13
16
  this.repeatType = repeatType;
14
17
  this.beginDayOfMonth = (_a = options === null || options === void 0 ? void 0 : options.beginDayOfMonth) !== null && _a !== void 0 ? _a : null;
15
18
  this.endDayOfMonth = (_b = options === null || options === void 0 ? void 0 : options.endDayOfMonth) !== null && _b !== void 0 ? _b : null;
@@ -17,6 +20,9 @@ class RepeatSetting {
17
20
  this.endDayOfWeek = (_d = options === null || options === void 0 ? void 0 : options.endDayOfWeek) !== null && _d !== void 0 ? _d : null;
18
21
  this.beginHour = (_e = options === null || options === void 0 ? void 0 : options.beginHour) !== null && _e !== void 0 ? _e : null;
19
22
  this.endHour = (_f = options === null || options === void 0 ? void 0 : options.endHour) !== null && _f !== void 0 ? _f : null;
23
+ this.anchorTimestamp = (_g = options === null || options === void 0 ? void 0 : options.anchorTimestamp) !== null && _g !== void 0 ? _g : null;
24
+ this.activeDays = (_h = options === null || options === void 0 ? void 0 : options.activeDays) !== null && _h !== void 0 ? _h : null;
25
+ this.inactiveDays = (_j = options === null || options === void 0 ? void 0 : options.inactiveDays) !== null && _j !== void 0 ? _j : null;
20
26
  }
21
27
  static repeatTypeIsAlways(options = null) {
22
28
  return new RepeatSetting(RepeatSettingRepeatType_1.RepeatSettingRepeatType.ALWAYS, {});
@@ -43,6 +49,13 @@ class RepeatSetting {
43
49
  endHour: endHour,
44
50
  });
45
51
  }
52
+ static repeatTypeIsCustom(anchorTimestamp, activeDays, inactiveDays, options = null) {
53
+ return new RepeatSetting(RepeatSettingRepeatType_1.RepeatSettingRepeatType.CUSTOM, {
54
+ anchorTimestamp: anchorTimestamp,
55
+ activeDays: activeDays,
56
+ inactiveDays: inactiveDays,
57
+ });
58
+ }
46
59
  properties() {
47
60
  let properties = {};
48
61
  if (this.repeatType != null) {
@@ -66,6 +79,15 @@ class RepeatSetting {
66
79
  if (this.endHour != null) {
67
80
  properties["endHour"] = this.endHour;
68
81
  }
82
+ if (this.anchorTimestamp != null) {
83
+ properties["anchorTimestamp"] = this.anchorTimestamp;
84
+ }
85
+ if (this.activeDays != null) {
86
+ properties["activeDays"] = this.activeDays;
87
+ }
88
+ if (this.inactiveDays != null) {
89
+ properties["inactiveDays"] = this.inactiveDays;
90
+ }
69
91
  return properties;
70
92
  }
71
93
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RepeatSetting.js","sourceRoot":"","sources":["RepeatSetting.ts"],"names":[],"mappings":";;AAoBA,4EAAyE;AAIzE,MAAqB,aAAa;IAS9B,YACI,UAAmC,EACnC,UAAqC,IAAI;;QAT5B,oBAAe,GAAgB,IAAI,CAAC;QACpC,kBAAa,GAAgB,IAAI,CAAC;QAClC,mBAAc,GAAqC,IAAI,CAAC;QACxD,iBAAY,GAAmC,IAAI,CAAC;QACpD,cAAS,GAAgB,IAAI,CAAC;QAC9B,YAAO,GAAgB,IAAI,CAAC;QAMzC,IAAI,CAAC,UA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,IAAI,CAAC,YAAY,CAAC;SAClD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA7ID,gCA6IC"}
@@ -18,6 +18,7 @@ import { RepeatSettingRepeatTypeIsAlwaysOptions } from "./options/RepeatSettingR
18
18
  import { RepeatSettingRepeatTypeIsDailyOptions } from "./options/RepeatSettingRepeatTypeIsDailyOptions";
19
19
  import { RepeatSettingRepeatTypeIsWeeklyOptions } from "./options/RepeatSettingRepeatTypeIsWeeklyOptions";
20
20
  import { RepeatSettingRepeatTypeIsMonthlyOptions } from "./options/RepeatSettingRepeatTypeIsMonthlyOptions";
21
+ import { RepeatSettingRepeatTypeIsCustomOptions } from "./options/RepeatSettingRepeatTypeIsCustomOptions";
21
22
  import { RepeatSettingRepeatType } from "./enum/RepeatSettingRepeatType";
22
23
  import { RepeatSettingBeginDayOfWeek } from "./enum/RepeatSettingBeginDayOfWeek";
23
24
  import { RepeatSettingEndDayOfWeek } from "./enum/RepeatSettingEndDayOfWeek";
@@ -30,6 +31,9 @@ export default class RepeatSetting {
30
31
  private readonly endDayOfWeek: RepeatSettingEndDayOfWeek|null = null;
31
32
  private readonly beginHour: number|null = null;
32
33
  private readonly endHour: number|null = null;
34
+ private readonly anchorTimestamp: number|null = null;
35
+ private readonly activeDays: number|null = null;
36
+ private readonly inactiveDays: number|null = null;
33
37
 
34
38
  public constructor(
35
39
  repeatType: RepeatSettingRepeatType,
@@ -42,6 +46,9 @@ export default class RepeatSetting {
42
46
  this.endDayOfWeek = options?.endDayOfWeek ?? null;
43
47
  this.beginHour = options?.beginHour ?? null;
44
48
  this.endHour = options?.endHour ?? null;
49
+ this.anchorTimestamp = options?.anchorTimestamp ?? null;
50
+ this.activeDays = options?.activeDays ?? null;
51
+ this.inactiveDays = options?.inactiveDays ?? null;
45
52
  }
46
53
 
47
54
  public static repeatTypeIsAlways(
@@ -104,6 +111,22 @@ export default class RepeatSetting {
104
111
  );
105
112
  }
106
113
 
114
+ public static repeatTypeIsCustom(
115
+ anchorTimestamp: number,
116
+ activeDays: number,
117
+ inactiveDays: number,
118
+ options: RepeatSettingRepeatTypeIsCustomOptions|null = null,
119
+ ): RepeatSetting {
120
+ return new RepeatSetting(
121
+ RepeatSettingRepeatType.CUSTOM,
122
+ {
123
+ anchorTimestamp: anchorTimestamp,
124
+ activeDays: activeDays,
125
+ inactiveDays: inactiveDays,
126
+ },
127
+ );
128
+ }
129
+
107
130
  public properties(
108
131
  ): {[name: string]: any} {
109
132
  let properties: {[name: string]: any} = {};
@@ -129,6 +152,15 @@ export default class RepeatSetting {
129
152
  if (this.endHour != null) {
130
153
  properties["endHour"] = this.endHour;
131
154
  }
155
+ if (this.anchorTimestamp != null) {
156
+ properties["anchorTimestamp"] = this.anchorTimestamp;
157
+ }
158
+ if (this.activeDays != null) {
159
+ properties["activeDays"] = this.activeDays;
160
+ }
161
+ if (this.inactiveDays != null) {
162
+ properties["inactiveDays"] = this.inactiveDays;
163
+ }
132
164
 
133
165
  return properties;
134
166
  }
@@ -3,5 +3,6 @@ export declare const RepeatSettingRepeatType: {
3
3
  readonly DAILY: "daily";
4
4
  readonly WEEKLY: "weekly";
5
5
  readonly MONTHLY: "monthly";
6
+ readonly CUSTOM: "custom";
6
7
  };
7
8
  export type RepeatSettingRepeatType = typeof RepeatSettingRepeatType[keyof typeof RepeatSettingRepeatType];
@@ -21,5 +21,6 @@ exports.RepeatSettingRepeatType = {
21
21
  DAILY: "daily",
22
22
  WEEKLY: "weekly",
23
23
  MONTHLY: "monthly",
24
+ CUSTOM: "custom",
24
25
  };
25
26
  //# sourceMappingURL=RepeatSettingRepeatType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RepeatSettingRepeatType.js","sourceRoot":"","sources":["RepeatSettingRepeatType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,uBAAuB,GAAG;IACnC,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC"}
1
+ {"version":3,"file":"RepeatSettingRepeatType.js","sourceRoot":"","sources":["RepeatSettingRepeatType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,uBAAuB,GAAG;IACnC,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC"}
@@ -21,5 +21,6 @@ export const RepeatSettingRepeatType = {
21
21
  DAILY: "daily",
22
22
  WEEKLY: "weekly",
23
23
  MONTHLY: "monthly",
24
+ CUSTOM: "custom",
24
25
  } as const;
25
26
  export type RepeatSettingRepeatType = typeof RepeatSettingRepeatType[keyof typeof RepeatSettingRepeatType];
@@ -21,7 +21,8 @@ import { RepeatSettingRepeatTypeIsAlwaysOptions } from "./options/RepeatSettingR
21
21
  import { RepeatSettingRepeatTypeIsDailyOptions } from "./options/RepeatSettingRepeatTypeIsDailyOptions";
22
22
  import { RepeatSettingRepeatTypeIsWeeklyOptions } from "./options/RepeatSettingRepeatTypeIsWeeklyOptions";
23
23
  import { RepeatSettingRepeatTypeIsMonthlyOptions } from "./options/RepeatSettingRepeatTypeIsMonthlyOptions";
24
+ import { RepeatSettingRepeatTypeIsCustomOptions } from "./options/RepeatSettingRepeatTypeIsCustomOptions";
24
25
  import RepeatSchedule from "./RepeatSchedule";
25
26
  import { RepeatScheduleOptions } from "./options/RepeatScheduleOptions";
26
27
  import CurrentMasterData from "./CurrentMasterData";
27
- export { Namespace, NamespaceOptions, Event, EventOptions, EventScheduleType, EventRepeatType, EventRepeatBeginDayOfWeek, EventRepeatEndDayOfWeek, EventScheduleTypeIsAbsoluteOptions, EventScheduleTypeIsRelativeOptions, EventRepeatTypeIsAlwaysOptions, EventRepeatTypeIsDailyOptions, EventRepeatTypeIsWeeklyOptions, EventRepeatTypeIsMonthlyOptions, RepeatSetting, RepeatSettingOptions, RepeatSettingRepeatType, RepeatSettingBeginDayOfWeek, RepeatSettingEndDayOfWeek, RepeatSettingRepeatTypeIsAlwaysOptions, RepeatSettingRepeatTypeIsDailyOptions, RepeatSettingRepeatTypeIsWeeklyOptions, RepeatSettingRepeatTypeIsMonthlyOptions, RepeatSchedule, RepeatScheduleOptions, CurrentMasterData, };
28
+ export { Namespace, NamespaceOptions, Event, EventOptions, EventScheduleType, EventRepeatType, EventRepeatBeginDayOfWeek, EventRepeatEndDayOfWeek, EventScheduleTypeIsAbsoluteOptions, EventScheduleTypeIsRelativeOptions, EventRepeatTypeIsAlwaysOptions, EventRepeatTypeIsDailyOptions, EventRepeatTypeIsWeeklyOptions, EventRepeatTypeIsMonthlyOptions, RepeatSetting, RepeatSettingOptions, RepeatSettingRepeatType, RepeatSettingBeginDayOfWeek, RepeatSettingEndDayOfWeek, RepeatSettingRepeatTypeIsAlwaysOptions, RepeatSettingRepeatTypeIsDailyOptions, RepeatSettingRepeatTypeIsWeeklyOptions, RepeatSettingRepeatTypeIsMonthlyOptions, RepeatSettingRepeatTypeIsCustomOptions, RepeatSchedule, RepeatScheduleOptions, CurrentMasterData, };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA4BhC,oBA5BG,mBAAS,CA4BH;AA1Bb,4DAA4B;AA4BxB,gBA5BG,eAAK,CA4BH;AA1BT,gEAA6D;AA4BzD,kGA5BK,qCAAiB,OA4BL;AA3BrB,4DAAyD;AA4BrD,gGA5BK,iCAAe,OA4BL;AA3BnB,gFAA6E;AA4BzE,0GA5BK,qDAAyB,OA4BL;AA3B7B,4EAAyE;AA4BrE,wGA5BK,iDAAuB,OA4BL;AArB3B,4EAA4C;AA4BxC,wBA5BG,uBAAa,CA4BH;AA1BjB,4EAAyE;AA4BrE,wGA5BK,iDAAuB,OA4BL;AA3B3B,oFAAiF;AA4B7E,4GA5BK,yDAA2B,OA4BL;AA3B/B,gFAA6E;AA4BzE,0GA5BK,qDAAyB,OA4BL;AAvB7B,8EAA8C;AA4B1C,yBA5BG,wBAAc,CA4BH;AA1BlB,oFAAoD;AA4BhD,4BA5BG,2BAAiB,CA4BH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA6BhC,oBA7BG,mBAAS,CA6BH;AA3Bb,4DAA4B;AA6BxB,gBA7BG,eAAK,CA6BH;AA3BT,gEAA6D;AA6BzD,kGA7BK,qCAAiB,OA6BL;AA5BrB,4DAAyD;AA6BrD,gGA7BK,iCAAe,OA6BL;AA5BnB,gFAA6E;AA6BzE,0GA7BK,qDAAyB,OA6BL;AA5B7B,4EAAyE;AA6BrE,wGA7BK,iDAAuB,OA6BL;AAtB3B,4EAA4C;AA6BxC,wBA7BG,uBAAa,CA6BH;AA3BjB,4EAAyE;AA6BrE,wGA7BK,iDAAuB,OA6BL;AA5B3B,oFAAiF;AA6B7E,4GA7BK,yDAA2B,OA6BL;AA5B/B,gFAA6E;AA6BzE,0GA7BK,qDAAyB,OA6BL;AAvB7B,8EAA8C;AA6B1C,yBA7BG,wBAAc,CA6BH;AA3BlB,oFAAoD;AA6BhD,4BA7BG,2BAAiB,CA6BH"}
@@ -36,6 +36,7 @@ import { RepeatSettingRepeatTypeIsAlwaysOptions } from "./options/RepeatSettingR
36
36
  import { RepeatSettingRepeatTypeIsDailyOptions } from "./options/RepeatSettingRepeatTypeIsDailyOptions"
37
37
  import { RepeatSettingRepeatTypeIsWeeklyOptions } from "./options/RepeatSettingRepeatTypeIsWeeklyOptions"
38
38
  import { RepeatSettingRepeatTypeIsMonthlyOptions } from "./options/RepeatSettingRepeatTypeIsMonthlyOptions"
39
+ import { RepeatSettingRepeatTypeIsCustomOptions } from "./options/RepeatSettingRepeatTypeIsCustomOptions"
39
40
  import RepeatSchedule from "./RepeatSchedule";
40
41
  import { RepeatScheduleOptions } from "./options/RepeatScheduleOptions";
41
42
  import CurrentMasterData from "./CurrentMasterData";
@@ -64,6 +65,7 @@ export {
64
65
  RepeatSettingRepeatTypeIsDailyOptions,
65
66
  RepeatSettingRepeatTypeIsWeeklyOptions,
66
67
  RepeatSettingRepeatTypeIsMonthlyOptions,
68
+ RepeatSettingRepeatTypeIsCustomOptions,
67
69
  RepeatSchedule,
68
70
  RepeatScheduleOptions,
69
71
  CurrentMasterData,
@@ -7,4 +7,7 @@ export interface RepeatSettingOptions {
7
7
  endDayOfWeek?: RepeatSettingEndDayOfWeek | null;
8
8
  beginHour?: number | null;
9
9
  endHour?: number | null;
10
+ anchorTimestamp?: number | null;
11
+ activeDays?: number | null;
12
+ inactiveDays?: number | null;
10
13
  }
@@ -24,5 +24,8 @@ export interface RepeatSettingOptions {
24
24
  endDayOfWeek?: RepeatSettingEndDayOfWeek|null;
25
25
  beginHour?: number|null;
26
26
  endHour?: number|null;
27
+ anchorTimestamp?: number|null;
28
+ activeDays?: number|null;
29
+ inactiveDays?: number|null;
27
30
  }
28
31
 
@@ -0,0 +1,2 @@
1
+ export interface RepeatSettingRepeatTypeIsCustomOptions {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RepeatSettingRepeatTypeIsCustomOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RepeatSettingRepeatTypeIsCustomOptions.js","sourceRoot":"","sources":["RepeatSettingRepeatTypeIsCustomOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { RepeatSettingRepeatType } from "../enum/RepeatSettingRepeatType";
17
+ import { RepeatSettingBeginDayOfWeek } from "../enum/RepeatSettingBeginDayOfWeek";
18
+ import { RepeatSettingEndDayOfWeek } from "../enum/RepeatSettingEndDayOfWeek";
19
+
20
+ export interface RepeatSettingRepeatTypeIsCustomOptions {
21
+ }