gs2-cdk 1.0.58 → 1.0.60

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.
Files changed (55) hide show
  1. package/buff/model/Namespace.d.ts +1 -0
  2. package/buff/model/Namespace.js +9 -4
  3. package/buff/model/Namespace.js.map +1 -1
  4. package/buff/model/Namespace.ts +7 -0
  5. package/buff/model/OverrideBuffRate.d.ts +9 -0
  6. package/buff/model/OverrideBuffRate.js +20 -0
  7. package/buff/model/OverrideBuffRate.js.map +1 -0
  8. package/buff/model/OverrideBuffRate.ts +44 -0
  9. package/buff/model/index.d.ts +3 -1
  10. package/buff/model/index.js +3 -1
  11. package/buff/model/index.js.map +1 -1
  12. package/buff/model/index.ts +4 -0
  13. package/buff/model/options/NamespaceOptions.d.ts +2 -0
  14. package/buff/model/options/NamespaceOptions.ts +2 -0
  15. package/buff/model/options/OverrideBuffRateOptions.d.ts +2 -0
  16. package/buff/model/options/OverrideBuffRateOptions.js +18 -0
  17. package/buff/model/options/OverrideBuffRateOptions.js.map +1 -0
  18. package/buff/model/options/OverrideBuffRateOptions.ts +19 -0
  19. package/package.json +1 -1
  20. package/ranking/model/CategoryModel.d.ts +8 -6
  21. package/ranking/model/CategoryModel.js +35 -29
  22. package/ranking/model/CategoryModel.js.map +1 -1
  23. package/ranking/model/CategoryModel.ts +34 -19
  24. package/ranking/model/FixedTiming.d.ts +9 -0
  25. package/ranking/model/FixedTiming.js +23 -0
  26. package/ranking/model/FixedTiming.js.map +1 -0
  27. package/ranking/model/FixedTiming.ts +42 -0
  28. package/ranking/model/GlobalRankingSetting.d.ts +13 -0
  29. package/ranking/model/GlobalRankingSetting.js +42 -0
  30. package/ranking/model/GlobalRankingSetting.js.map +1 -0
  31. package/ranking/model/GlobalRankingSetting.ts +68 -0
  32. package/ranking/model/index.d.ts +5 -1
  33. package/ranking/model/index.js +5 -1
  34. package/ranking/model/index.js.map +1 -1
  35. package/ranking/model/index.ts +8 -0
  36. package/ranking/model/options/CategoryModelOptions.d.ts +4 -3
  37. package/ranking/model/options/CategoryModelOptions.ts +5 -3
  38. package/ranking/model/options/CategoryModelScopeIsGlobalOptions.d.ts +2 -2
  39. package/ranking/model/options/CategoryModelScopeIsGlobalOptions.ts +4 -2
  40. package/ranking/model/options/CategoryModelScopeIsScopedOptions.d.ts +2 -2
  41. package/ranking/model/options/CategoryModelScopeIsScopedOptions.ts +4 -2
  42. package/ranking/model/options/FixedTimingOptions.d.ts +4 -0
  43. package/ranking/model/options/FixedTimingOptions.js +18 -0
  44. package/ranking/model/options/FixedTimingOptions.js.map +1 -0
  45. package/ranking/model/options/FixedTimingOptions.ts +21 -0
  46. package/ranking/model/options/GlobalRankingSettingOptions.d.ts +8 -0
  47. package/ranking/model/options/GlobalRankingSettingOptions.js +3 -0
  48. package/ranking/model/options/GlobalRankingSettingOptions.js.map +1 -0
  49. package/ranking/model/options/GlobalRankingSettingOptions.ts +25 -0
  50. package/schedule/model/options/EventOptions.d.ts +1 -1
  51. package/serialKey/ref/CampaignModelRef.js.map +1 -1
  52. package/serialKey/ref/IssueJobRef.js.map +1 -1
  53. package/showcase/ref/SalesItemGroupRef.js +2 -0
  54. package/showcase/ref/SalesItemGroupRef.js.map +1 -1
  55. package/showcase/ref/SalesItemGroupRef.ts +2 -0
@@ -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 applyBuffScript;
10
11
  private readonly logSetting;
11
12
  constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
12
13
  alternateKeys(): string;
@@ -22,14 +22,16 @@ 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;
25
+ var _a, _b, _c;
26
26
  super("Buff_Namespace_" + name);
27
27
  this.description = null;
28
+ this.applyBuffScript = null;
28
29
  this.logSetting = 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.logSetting = (_b = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _b !== void 0 ? _b : null;
33
+ this.applyBuffScript = (_b = options === null || options === void 0 ? void 0 : options.applyBuffScript) !== 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;
33
35
  stack.addResource(this);
34
36
  }
35
37
  alternateKeys() {
@@ -39,7 +41,7 @@ class Namespace extends model_1.CdkResource {
39
41
  return "GS2::Buff::Namespace";
40
42
  }
41
43
  properties() {
42
- var _a;
44
+ var _a, _b;
43
45
  let properties = {};
44
46
  if (this.name != null) {
45
47
  properties["Name"] = this.name;
@@ -47,8 +49,11 @@ class Namespace extends model_1.CdkResource {
47
49
  if (this.description != null) {
48
50
  properties["Description"] = this.description;
49
51
  }
52
+ if (this.applyBuffScript != null) {
53
+ properties["ApplyBuffScript"] = (_a = this.applyBuffScript) === null || _a === void 0 ? void 0 : _a.properties();
54
+ }
50
55
  if (this.logSetting != null) {
51
- properties["LogSetting"] = (_a = this.logSetting) === null || _a === void 0 ? void 0 : _a.properties();
56
+ properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
52
57
  }
53
58
  return properties;
54
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAGxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAM9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,iBAAiB,GAAG,IAAI,CAC3B,CAAC;QAV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IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,MAAA,IAAI,CAAC,eAAe,0CAAE,UAAU,EAC/D,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,eAAiC;QAEjC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,eAAe,CAClB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAvFD,4BAuFC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {CdkResource, Stack} from "../../core/model";
18
18
  import {GetAttr} from "../../core/func";
19
+ import ScriptSetting from "../../core/model/ScriptSetting";
19
20
  import LogSetting from "../../core/model/LogSetting";
20
21
 
21
22
  import NamespaceRef from "../ref/NamespaceRef";
@@ -28,6 +29,7 @@ export default class Namespace extends CdkResource {
28
29
  private readonly stack: Stack;
29
30
  private readonly name: string;
30
31
  private readonly description: string|null = null;
32
+ private readonly applyBuffScript: ScriptSetting|null = null;
31
33
  private readonly logSetting: LogSetting|null = null;
32
34
 
33
35
  public constructor(
@@ -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.applyBuffScript = options?.applyBuffScript ?? null;
45
48
  this.logSetting = options?.logSetting ?? null;
46
49
  stack.addResource(
47
50
  this,
@@ -69,6 +72,10 @@ export default class Namespace extends CdkResource {
69
72
  if (this.description != null) {
70
73
  properties["Description"] = this.description;
71
74
  }
75
+ if (this.applyBuffScript != null) {
76
+ properties["ApplyBuffScript"] = this.applyBuffScript?.properties(
77
+ );
78
+ }
72
79
  if (this.logSetting != null) {
73
80
  properties["LogSetting"] = this.logSetting?.properties(
74
81
  );
@@ -0,0 +1,9 @@
1
+ import { OverrideBuffRateOptions } from "./options/OverrideBuffRateOptions";
2
+ export default class OverrideBuffRate {
3
+ private readonly name;
4
+ private readonly rate;
5
+ constructor(name: string, rate: number, options?: OverrideBuffRateOptions | null);
6
+ properties(): {
7
+ [name: string]: any;
8
+ };
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class OverrideBuffRate {
4
+ constructor(name, rate, options = null) {
5
+ this.name = name;
6
+ this.rate = rate;
7
+ }
8
+ properties() {
9
+ let properties = {};
10
+ if (this.name != null) {
11
+ properties["name"] = this.name;
12
+ }
13
+ if (this.rate != null) {
14
+ properties["rate"] = this.rate;
15
+ }
16
+ return properties;
17
+ }
18
+ }
19
+ exports.default = OverrideBuffRate;
20
+ //# sourceMappingURL=OverrideBuffRate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OverrideBuffRate.js","sourceRoot":"","sources":["OverrideBuffRate.ts"],"names":[],"mappings":";;AAiBA,MAAqB,gBAAgB;IAIjC,YACI,IAAY,EACZ,IAAY,EACZ,UAAwC,IAAI;QAE5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1BD,mCA0BC"}
@@ -0,0 +1,44 @@
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 { OverrideBuffRateOptions } from "./options/OverrideBuffRateOptions";
17
+
18
+ export default class OverrideBuffRate {
19
+ private readonly name: string;
20
+ private readonly rate: number;
21
+
22
+ public constructor(
23
+ name: string,
24
+ rate: number,
25
+ options: OverrideBuffRateOptions|null = null,
26
+ ) {
27
+ this.name = name;
28
+ this.rate = rate;
29
+ }
30
+
31
+ public properties(
32
+ ): {[name: string]: any} {
33
+ let properties: {[name: string]: any} = {};
34
+
35
+ if (this.name != null) {
36
+ properties["name"] = this.name;
37
+ }
38
+ if (this.rate != null) {
39
+ properties["rate"] = this.rate;
40
+ }
41
+
42
+ return properties;
43
+ }
44
+ }
@@ -12,5 +12,7 @@ import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
12
12
  import { BuffEntryModelExpression } from "./enum/BuffEntryModelExpression";
13
13
  import { BuffEntryModelTargetTypeIsModelOptions } from "./options/BuffEntryModelTargetTypeIsModelOptions";
14
14
  import { BuffEntryModelTargetTypeIsActionOptions } from "./options/BuffEntryModelTargetTypeIsActionOptions";
15
+ import OverrideBuffRate from "./OverrideBuffRate";
16
+ import { OverrideBuffRateOptions } from "./options/OverrideBuffRateOptions";
15
17
  import CurrentMasterData from "./CurrentMasterData";
16
- export { Namespace, NamespaceOptions, BuffTargetModel, BuffTargetModelOptions, BuffTargetAction, BuffTargetActionOptions, BuffTargetGrn, BuffTargetGrnOptions, BuffEntryModel, BuffEntryModelOptions, BuffEntryModelTargetType, BuffEntryModelExpression, BuffEntryModelTargetTypeIsModelOptions, BuffEntryModelTargetTypeIsActionOptions, CurrentMasterData, };
18
+ export { Namespace, NamespaceOptions, BuffTargetModel, BuffTargetModelOptions, BuffTargetAction, BuffTargetActionOptions, BuffTargetGrn, BuffTargetGrnOptions, BuffEntryModel, BuffEntryModelOptions, BuffEntryModelTargetType, BuffEntryModelExpression, BuffEntryModelTargetTypeIsModelOptions, BuffEntryModelTargetTypeIsActionOptions, OverrideBuffRate, OverrideBuffRateOptions, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.BuffEntryModelExpression = exports.BuffEntryModelTargetType = exports.BuffEntryModel = exports.BuffTargetGrn = exports.BuffTargetAction = exports.BuffTargetModel = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.OverrideBuffRate = exports.BuffEntryModelExpression = exports.BuffEntryModelTargetType = exports.BuffEntryModel = exports.BuffTargetGrn = exports.BuffTargetAction = exports.BuffTargetModel = exports.Namespace = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -31,6 +31,8 @@ const BuffEntryModelTargetType_1 = require("./enum/BuffEntryModelTargetType");
31
31
  Object.defineProperty(exports, "BuffEntryModelTargetType", { enumerable: true, get: function () { return BuffEntryModelTargetType_1.BuffEntryModelTargetType; } });
32
32
  const BuffEntryModelExpression_1 = require("./enum/BuffEntryModelExpression");
33
33
  Object.defineProperty(exports, "BuffEntryModelExpression", { enumerable: true, get: function () { return BuffEntryModelExpression_1.BuffEntryModelExpression; } });
34
+ const OverrideBuffRate_1 = tslib_1.__importDefault(require("./OverrideBuffRate"));
35
+ exports.OverrideBuffRate = OverrideBuffRate_1.default;
34
36
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
35
37
  exports.CurrentMasterData = CurrentMasterData_1.default;
36
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAiBhC,oBAjBG,mBAAS,CAiBH;AAfb,gFAAgD;AAiB5C,0BAjBG,yBAAe,CAiBH;AAfnB,kFAAkD;AAiB9C,2BAjBG,0BAAgB,CAiBH;AAfpB,4EAA4C;AAiBxC,wBAjBG,uBAAa,CAiBH;AAfjB,8EAA8C;AAiB1C,yBAjBG,wBAAc,CAiBH;AAflB,8EAA2E;AAiBvE,yGAjBK,mDAAwB,OAiBL;AAhB5B,8EAA2E;AAiBvE,yGAjBK,mDAAwB,OAiBL;AAd5B,oFAAoD;AAiBhD,4BAjBG,2BAAiB,CAiBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAmBhC,oBAnBG,mBAAS,CAmBH;AAjBb,gFAAgD;AAmB5C,0BAnBG,yBAAe,CAmBH;AAjBnB,kFAAkD;AAmB9C,2BAnBG,0BAAgB,CAmBH;AAjBpB,4EAA4C;AAmBxC,wBAnBG,uBAAa,CAmBH;AAjBjB,8EAA8C;AAmB1C,yBAnBG,wBAAc,CAmBH;AAjBlB,8EAA2E;AAmBvE,yGAnBK,mDAAwB,OAmBL;AAlB5B,8EAA2E;AAmBvE,yGAnBK,mDAAwB,OAmBL;AAhB5B,kFAAkD;AAmB9C,2BAnBG,0BAAgB,CAmBH;AAjBpB,oFAAoD;AAmBhD,4BAnBG,2BAAiB,CAmBH"}
@@ -27,6 +27,8 @@ import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
27
27
  import { BuffEntryModelExpression } from "./enum/BuffEntryModelExpression";
28
28
  import { BuffEntryModelTargetTypeIsModelOptions } from "./options/BuffEntryModelTargetTypeIsModelOptions"
29
29
  import { BuffEntryModelTargetTypeIsActionOptions } from "./options/BuffEntryModelTargetTypeIsActionOptions"
30
+ import OverrideBuffRate from "./OverrideBuffRate";
31
+ import { OverrideBuffRateOptions } from "./options/OverrideBuffRateOptions";
30
32
  import CurrentMasterData from "./CurrentMasterData";
31
33
 
32
34
  export {
@@ -44,5 +46,7 @@ export {
44
46
  BuffEntryModelExpression,
45
47
  BuffEntryModelTargetTypeIsModelOptions,
46
48
  BuffEntryModelTargetTypeIsActionOptions,
49
+ OverrideBuffRate,
50
+ OverrideBuffRateOptions,
47
51
  CurrentMasterData,
48
52
  }
@@ -1,5 +1,7 @@
1
+ import ScriptSetting from "../../../core/model/ScriptSetting";
1
2
  import LogSetting from "../../../core/model/LogSetting";
2
3
  export interface NamespaceOptions {
3
4
  description?: string | null;
5
+ applyBuffScript?: ScriptSetting | null;
4
6
  logSetting?: LogSetting | null;
5
7
  }
@@ -13,10 +13,12 @@
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";
16
17
  import LogSetting from "../../../core/model/LogSetting";
17
18
 
18
19
  export interface NamespaceOptions {
19
20
  description?: string|null;
21
+ applyBuffScript?: ScriptSetting|null;
20
22
  logSetting?: LogSetting|null;
21
23
  }
22
24
 
@@ -0,0 +1,2 @@
1
+ export interface OverrideBuffRateOptions {
2
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ //# sourceMappingURL=OverrideBuffRateOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OverrideBuffRateOptions.js","sourceRoot":"","sources":["OverrideBuffRateOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,19 @@
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
+
17
+ export interface OverrideBuffRateOptions {
18
+ }
19
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -1,3 +1,4 @@
1
+ import GlobalRankingSetting from "./GlobalRankingSetting";
1
2
  import { CategoryModelOptions } from "./options/CategoryModelOptions";
2
3
  import { CategoryModelScopeIsGlobalOptions } from "./options/CategoryModelScopeIsGlobalOptions";
3
4
  import { CategoryModelScopeIsScopedOptions } from "./options/CategoryModelScopeIsScopedOptions";
@@ -5,24 +6,25 @@ import { CategoryModelOrderDirection } from "./enum/CategoryModelOrderDirection"
5
6
  import { CategoryModelScope } from "./enum/CategoryModelScope";
6
7
  export default class CategoryModel {
7
8
  private readonly name;
9
+ private readonly sum;
8
10
  private readonly orderDirection;
9
11
  private readonly scope;
10
12
  private readonly metadata;
11
13
  private readonly minimumValue;
12
14
  private readonly maximumValue;
15
+ private readonly globalRankingSetting;
16
+ private readonly entryPeriodEventId;
17
+ private readonly accessPeriodEventId;
13
18
  private readonly uniqueByUserId;
14
- private readonly sum;
15
19
  private readonly calculateFixedTimingHour;
16
20
  private readonly calculateFixedTimingMinute;
17
21
  private readonly calculateIntervalMinutes;
18
22
  private readonly additionalScopes;
19
- private readonly entryPeriodEventId;
20
- private readonly accessPeriodEventId;
21
23
  private readonly ignoreUserIds;
22
24
  private readonly generation;
23
- constructor(name: string, orderDirection: CategoryModelOrderDirection, scope: CategoryModelScope, options?: CategoryModelOptions | null);
24
- static scopeIsGlobal(name: string, orderDirection: CategoryModelOrderDirection, uniqueByUserId: boolean, calculateIntervalMinutes: number, options?: CategoryModelScopeIsGlobalOptions | null): CategoryModel;
25
- static scopeIsScoped(name: string, orderDirection: CategoryModelOrderDirection, options?: CategoryModelScopeIsScopedOptions | null): CategoryModel;
25
+ constructor(name: string, sum: boolean, orderDirection: CategoryModelOrderDirection, scope: CategoryModelScope, options?: CategoryModelOptions | null);
26
+ static scopeIsGlobal(name: string, sum: boolean, orderDirection: CategoryModelOrderDirection, globalRankingSetting: GlobalRankingSetting, uniqueByUserId: boolean, calculateIntervalMinutes: number, options?: CategoryModelScopeIsGlobalOptions | null): CategoryModel;
27
+ static scopeIsScoped(name: string, sum: boolean, orderDirection: CategoryModelOrderDirection, options?: CategoryModelScopeIsScopedOptions | null): CategoryModel;
26
28
  properties(): {
27
29
  [name: string]: any;
28
30
  };
@@ -2,69 +2,72 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const CategoryModelScope_1 = require("./enum/CategoryModelScope");
4
4
  class CategoryModel {
5
- constructor(name, orderDirection, scope, options = null) {
5
+ constructor(name, sum, orderDirection, scope, options = null) {
6
6
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
7
7
  this.metadata = null;
8
8
  this.minimumValue = null;
9
9
  this.maximumValue = null;
10
+ this.globalRankingSetting = null;
11
+ this.entryPeriodEventId = null;
12
+ this.accessPeriodEventId = null;
10
13
  this.uniqueByUserId = null;
11
- this.sum = null;
12
14
  this.calculateFixedTimingHour = null;
13
15
  this.calculateFixedTimingMinute = null;
14
16
  this.calculateIntervalMinutes = null;
15
17
  this.additionalScopes = null;
16
- this.entryPeriodEventId = null;
17
- this.accessPeriodEventId = null;
18
18
  this.ignoreUserIds = null;
19
19
  this.generation = null;
20
20
  this.name = name;
21
+ this.sum = sum;
21
22
  this.orderDirection = orderDirection;
22
23
  this.scope = scope;
23
24
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
24
25
  this.minimumValue = (_b = options === null || options === void 0 ? void 0 : options.minimumValue) !== null && _b !== void 0 ? _b : null;
25
26
  this.maximumValue = (_c = options === null || options === void 0 ? void 0 : options.maximumValue) !== null && _c !== void 0 ? _c : null;
26
- this.uniqueByUserId = (_d = options === null || options === void 0 ? void 0 : options.uniqueByUserId) !== null && _d !== void 0 ? _d : null;
27
- this.sum = (_e = options === null || options === void 0 ? void 0 : options.sum) !== null && _e !== void 0 ? _e : null;
28
- this.calculateFixedTimingHour = (_f = options === null || options === void 0 ? void 0 : options.calculateFixedTimingHour) !== null && _f !== void 0 ? _f : null;
29
- this.calculateFixedTimingMinute = (_g = options === null || options === void 0 ? void 0 : options.calculateFixedTimingMinute) !== null && _g !== void 0 ? _g : null;
30
- this.calculateIntervalMinutes = (_h = options === null || options === void 0 ? void 0 : options.calculateIntervalMinutes) !== null && _h !== void 0 ? _h : null;
31
- this.additionalScopes = (_j = options === null || options === void 0 ? void 0 : options.additionalScopes) !== null && _j !== void 0 ? _j : null;
32
- this.entryPeriodEventId = (_k = options === null || options === void 0 ? void 0 : options.entryPeriodEventId) !== null && _k !== void 0 ? _k : null;
33
- this.accessPeriodEventId = (_l = options === null || options === void 0 ? void 0 : options.accessPeriodEventId) !== null && _l !== void 0 ? _l : null;
27
+ this.globalRankingSetting = (_d = options === null || options === void 0 ? void 0 : options.globalRankingSetting) !== null && _d !== void 0 ? _d : null;
28
+ this.entryPeriodEventId = (_e = options === null || options === void 0 ? void 0 : options.entryPeriodEventId) !== null && _e !== void 0 ? _e : null;
29
+ this.accessPeriodEventId = (_f = options === null || options === void 0 ? void 0 : options.accessPeriodEventId) !== null && _f !== void 0 ? _f : null;
30
+ this.uniqueByUserId = (_g = options === null || options === void 0 ? void 0 : options.uniqueByUserId) !== null && _g !== void 0 ? _g : null;
31
+ this.calculateFixedTimingHour = (_h = options === null || options === void 0 ? void 0 : options.calculateFixedTimingHour) !== null && _h !== void 0 ? _h : null;
32
+ this.calculateFixedTimingMinute = (_j = options === null || options === void 0 ? void 0 : options.calculateFixedTimingMinute) !== null && _j !== void 0 ? _j : null;
33
+ this.calculateIntervalMinutes = (_k = options === null || options === void 0 ? void 0 : options.calculateIntervalMinutes) !== null && _k !== void 0 ? _k : null;
34
+ this.additionalScopes = (_l = options === null || options === void 0 ? void 0 : options.additionalScopes) !== null && _l !== void 0 ? _l : null;
34
35
  this.ignoreUserIds = (_m = options === null || options === void 0 ? void 0 : options.ignoreUserIds) !== null && _m !== void 0 ? _m : null;
35
36
  this.generation = (_o = options === null || options === void 0 ? void 0 : options.generation) !== null && _o !== void 0 ? _o : null;
36
37
  }
37
- static scopeIsGlobal(name, orderDirection, uniqueByUserId, calculateIntervalMinutes, options = null) {
38
- return new CategoryModel(name, orderDirection, CategoryModelScope_1.CategoryModelScope.GLOBAL, {
38
+ static scopeIsGlobal(name, sum, orderDirection, globalRankingSetting, uniqueByUserId, calculateIntervalMinutes, options = null) {
39
+ return new CategoryModel(name, sum, orderDirection, CategoryModelScope_1.CategoryModelScope.GLOBAL, {
40
+ globalRankingSetting: globalRankingSetting,
39
41
  uniqueByUserId: uniqueByUserId,
40
42
  calculateIntervalMinutes: calculateIntervalMinutes,
41
43
  metadata: options === null || options === void 0 ? void 0 : options.metadata,
42
44
  minimumValue: options === null || options === void 0 ? void 0 : options.minimumValue,
43
45
  maximumValue: options === null || options === void 0 ? void 0 : options.maximumValue,
46
+ entryPeriodEventId: options === null || options === void 0 ? void 0 : options.entryPeriodEventId,
47
+ accessPeriodEventId: options === null || options === void 0 ? void 0 : options.accessPeriodEventId,
44
48
  calculateFixedTimingHour: options === null || options === void 0 ? void 0 : options.calculateFixedTimingHour,
45
49
  calculateFixedTimingMinute: options === null || options === void 0 ? void 0 : options.calculateFixedTimingMinute,
46
50
  additionalScopes: options === null || options === void 0 ? void 0 : options.additionalScopes,
47
- entryPeriodEventId: options === null || options === void 0 ? void 0 : options.entryPeriodEventId,
48
- accessPeriodEventId: options === null || options === void 0 ? void 0 : options.accessPeriodEventId,
49
51
  ignoreUserIds: options === null || options === void 0 ? void 0 : options.ignoreUserIds,
50
52
  generation: options === null || options === void 0 ? void 0 : options.generation,
51
53
  });
52
54
  }
53
- static scopeIsScoped(name, orderDirection, options = null) {
54
- return new CategoryModel(name, orderDirection, CategoryModelScope_1.CategoryModelScope.SCOPED, {
55
+ static scopeIsScoped(name, sum, orderDirection, options = null) {
56
+ return new CategoryModel(name, sum, orderDirection, CategoryModelScope_1.CategoryModelScope.SCOPED, {
55
57
  metadata: options === null || options === void 0 ? void 0 : options.metadata,
56
58
  minimumValue: options === null || options === void 0 ? void 0 : options.minimumValue,
57
59
  maximumValue: options === null || options === void 0 ? void 0 : options.maximumValue,
60
+ entryPeriodEventId: options === null || options === void 0 ? void 0 : options.entryPeriodEventId,
61
+ accessPeriodEventId: options === null || options === void 0 ? void 0 : options.accessPeriodEventId,
58
62
  calculateFixedTimingHour: options === null || options === void 0 ? void 0 : options.calculateFixedTimingHour,
59
63
  calculateFixedTimingMinute: options === null || options === void 0 ? void 0 : options.calculateFixedTimingMinute,
60
64
  additionalScopes: options === null || options === void 0 ? void 0 : options.additionalScopes,
61
- entryPeriodEventId: options === null || options === void 0 ? void 0 : options.entryPeriodEventId,
62
- accessPeriodEventId: options === null || options === void 0 ? void 0 : options.accessPeriodEventId,
63
65
  ignoreUserIds: options === null || options === void 0 ? void 0 : options.ignoreUserIds,
64
66
  generation: options === null || options === void 0 ? void 0 : options.generation,
65
67
  });
66
68
  }
67
69
  properties() {
70
+ var _a;
68
71
  let properties = {};
69
72
  if (this.name != null) {
70
73
  properties["name"] = this.name;
@@ -78,18 +81,27 @@ class CategoryModel {
78
81
  if (this.maximumValue != null) {
79
82
  properties["maximumValue"] = this.maximumValue;
80
83
  }
84
+ if (this.sum != null) {
85
+ properties["sum"] = this.sum;
86
+ }
81
87
  if (this.orderDirection != null) {
82
88
  properties["orderDirection"] = this.orderDirection;
83
89
  }
84
90
  if (this.scope != null) {
85
91
  properties["scope"] = this.scope;
86
92
  }
93
+ if (this.globalRankingSetting != null) {
94
+ properties["globalRankingSetting"] = (_a = this.globalRankingSetting) === null || _a === void 0 ? void 0 : _a.properties();
95
+ }
96
+ if (this.entryPeriodEventId != null) {
97
+ properties["entryPeriodEventId"] = this.entryPeriodEventId;
98
+ }
99
+ if (this.accessPeriodEventId != null) {
100
+ properties["accessPeriodEventId"] = this.accessPeriodEventId;
101
+ }
87
102
  if (this.uniqueByUserId != null) {
88
103
  properties["uniqueByUserId"] = this.uniqueByUserId;
89
104
  }
90
- if (this.sum != null) {
91
- properties["sum"] = this.sum;
92
- }
93
105
  if (this.calculateFixedTimingHour != null) {
94
106
  properties["calculateFixedTimingHour"] = this.calculateFixedTimingHour;
95
107
  }
@@ -102,12 +114,6 @@ class CategoryModel {
102
114
  if (this.additionalScopes != null) {
103
115
  properties["additionalScopes"] = this.additionalScopes.map(v => v.properties());
104
116
  }
105
- if (this.entryPeriodEventId != null) {
106
- properties["entryPeriodEventId"] = this.entryPeriodEventId;
107
- }
108
- if (this.accessPeriodEventId != null) {
109
- properties["accessPeriodEventId"] = this.accessPeriodEventId;
110
- }
111
117
  if (this.ignoreUserIds != null) {
112
118
  properties["ignoreUserIds"] = this.ignoreUserIds;
113
119
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryModel.js","sourceRoot":"","sources":["CategoryModel.ts"],"names":[],"mappings":";;AAoBA,kEAA+D;AAE/D,MAAqB,aAAa;IAkB9B,YACI,IAAY,EACZ,cAA2C,EAC3C,KAAyB,EACzB,UAAqC,IAAI;;QAlB5B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;QACjC,iBAAY,GAAgB,IAAI,CAAC;QACjC,mBAAc,GAAiB,IAAI,CAAC;QACpC,QAAG,GAAiB,IAAI,CAAC;QACzB,6BAAwB,GAAgB,IAAI,CAAC;QAC7C,+BAA0B,GAAgB,IAAI,CAAC;QAC/C,6BAAwB,GAAgB,IAAI,CAAC;QAC7C,qBAAgB,GAAiB,IAAI,CAAC;QACtC,uBAAkB,GAAgB,IAAI,CAAC;QACvC,wBAAmB,GAAgB,IAAI,CAAC;QACxC,kBAAa,GAAkB,IAAI,CAAC;QACpC,eAAU,GAAgB,IAAI,CAAC;QAQ5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,mCAAI,IAAI,CAAC;QAClD,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,mCAAI,IAAI,CAAC;QA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