gs2 1.3.229 → 1.3.230

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 (52) hide show
  1. package/matchmaking/request/EarlyCompleteByUserIdRequest.d.ts +37 -0
  2. package/matchmaking/request/EarlyCompleteByUserIdRequest.js +123 -0
  3. package/matchmaking/request/EarlyCompleteByUserIdRequest.js.map +1 -0
  4. package/matchmaking/request/EarlyCompleteByUserIdRequest.ts +133 -0
  5. package/matchmaking/request/EarlyCompleteRequest.d.ts +33 -0
  6. package/matchmaking/request/EarlyCompleteRequest.js +109 -0
  7. package/matchmaking/request/EarlyCompleteRequest.js.map +1 -0
  8. package/matchmaking/request/EarlyCompleteRequest.ts +119 -0
  9. package/matchmaking/request/index.d.ts +3 -1
  10. package/matchmaking/request/index.js +5 -1
  11. package/matchmaking/request/index.js.map +1 -1
  12. package/matchmaking/request/index.ts +4 -0
  13. package/matchmaking/rest.d.ts +2 -0
  14. package/matchmaking/rest.js +59 -0
  15. package/matchmaking/rest.js.map +1 -1
  16. package/matchmaking/rest.ts +67 -0
  17. package/matchmaking/result/EarlyCompleteByUserIdResult.d.ts +14 -0
  18. package/matchmaking/result/EarlyCompleteByUserIdResult.js +48 -0
  19. package/matchmaking/result/EarlyCompleteByUserIdResult.js.map +1 -0
  20. package/matchmaking/result/EarlyCompleteByUserIdResult.ts +47 -0
  21. package/matchmaking/result/EarlyCompleteResult.d.ts +14 -0
  22. package/matchmaking/result/EarlyCompleteResult.js +48 -0
  23. package/matchmaking/result/EarlyCompleteResult.js.map +1 -0
  24. package/matchmaking/result/EarlyCompleteResult.ts +47 -0
  25. package/matchmaking/result/index.d.ts +3 -1
  26. package/matchmaking/result/index.js +5 -1
  27. package/matchmaking/result/index.js.map +1 -1
  28. package/matchmaking/result/index.ts +4 -0
  29. package/package.json +1 -1
  30. package/watch/model/FormationForm.d.ts +2 -2
  31. package/watch/model/FormationForm.js +13 -13
  32. package/watch/model/FormationForm.js.map +1 -1
  33. package/watch/model/FormationForm.ts +13 -13
  34. package/watch/model/FormationMold.d.ts +6 -6
  35. package/watch/model/FormationMold.js +21 -21
  36. package/watch/model/FormationMold.js.map +1 -1
  37. package/watch/model/FormationMold.ts +21 -21
  38. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.d.ts +4 -4
  39. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js +9 -9
  40. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js.map +1 -1
  41. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.ts +9 -9
  42. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.d.ts +4 -4
  43. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js +9 -9
  44. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js.map +1 -1
  45. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.ts +9 -9
  46. package/watch/request/DescribeFormationFormMetricsRequest.d.ts +4 -4
  47. package/watch/request/DescribeFormationFormMetricsRequest.js +9 -9
  48. package/watch/request/DescribeFormationFormMetricsRequest.js.map +1 -1
  49. package/watch/request/DescribeFormationFormMetricsRequest.ts +9 -9
  50. package/watch/rest.js +2 -2
  51. package/watch/rest.js.map +1 -1
  52. package/watch/rest.ts +2 -2
@@ -0,0 +1,47 @@
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
+ import IResult from '../../core/interface/IResult';
18
+ import * as Gs2Matchmaking from '../model'
19
+
20
+ export default class EarlyCompleteResult implements IResult {
21
+ private item: Gs2Matchmaking.Gathering|null = null;
22
+
23
+ public getItem(): Gs2Matchmaking.Gathering|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Matchmaking.Gathering|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Matchmaking.Gathering|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): EarlyCompleteResult {
38
+ return new EarlyCompleteResult()
39
+ .withItem(Gs2Matchmaking.Gathering.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -22,6 +22,8 @@ import DoMatchmakingByUserIdResult from "./DoMatchmakingByUserIdResult";
22
22
  import GetGatheringResult from "./GetGatheringResult";
23
23
  import CancelMatchmakingResult from "./CancelMatchmakingResult";
24
24
  import CancelMatchmakingByUserIdResult from "./CancelMatchmakingByUserIdResult";
25
+ import EarlyCompleteResult from "./EarlyCompleteResult";
26
+ import EarlyCompleteByUserIdResult from "./EarlyCompleteByUserIdResult";
25
27
  import DeleteGatheringResult from "./DeleteGatheringResult";
26
28
  import DescribeRatingModelMastersResult from "./DescribeRatingModelMastersResult";
27
29
  import CreateRatingModelMasterResult from "./CreateRatingModelMasterResult";
@@ -45,4 +47,4 @@ import GetBallotByUserIdResult from "./GetBallotByUserIdResult";
45
47
  import VoteResult from "./VoteResult";
46
48
  import VoteMultipleResult from "./VoteMultipleResult";
47
49
  import CommitVoteResult from "./CommitVoteResult";
48
- export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DumpUserDataByUserIdResult, CheckDumpUserDataByUserIdResult, CleanUserDataByUserIdResult, CheckCleanUserDataByUserIdResult, PrepareImportUserDataByUserIdResult, ImportUserDataByUserIdResult, CheckImportUserDataByUserIdResult, DescribeGatheringsResult, CreateGatheringResult, CreateGatheringByUserIdResult, UpdateGatheringResult, UpdateGatheringByUserIdResult, DoMatchmakingByPlayerResult, DoMatchmakingResult, DoMatchmakingByUserIdResult, GetGatheringResult, CancelMatchmakingResult, CancelMatchmakingByUserIdResult, DeleteGatheringResult, DescribeRatingModelMastersResult, CreateRatingModelMasterResult, GetRatingModelMasterResult, UpdateRatingModelMasterResult, DeleteRatingModelMasterResult, DescribeRatingModelsResult, GetRatingModelResult, ExportMasterResult, GetCurrentRatingModelMasterResult, UpdateCurrentRatingModelMasterResult, UpdateCurrentRatingModelMasterFromGitHubResult, DescribeRatingsResult, DescribeRatingsByUserIdResult, GetRatingResult, GetRatingByUserIdResult, PutResultResult, DeleteRatingResult, GetBallotResult, GetBallotByUserIdResult, VoteResult, VoteMultipleResult, CommitVoteResult, };
50
+ export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DumpUserDataByUserIdResult, CheckDumpUserDataByUserIdResult, CleanUserDataByUserIdResult, CheckCleanUserDataByUserIdResult, PrepareImportUserDataByUserIdResult, ImportUserDataByUserIdResult, CheckImportUserDataByUserIdResult, DescribeGatheringsResult, CreateGatheringResult, CreateGatheringByUserIdResult, UpdateGatheringResult, UpdateGatheringByUserIdResult, DoMatchmakingByPlayerResult, DoMatchmakingResult, DoMatchmakingByUserIdResult, GetGatheringResult, CancelMatchmakingResult, CancelMatchmakingByUserIdResult, EarlyCompleteResult, EarlyCompleteByUserIdResult, DeleteGatheringResult, DescribeRatingModelMastersResult, CreateRatingModelMasterResult, GetRatingModelMasterResult, UpdateRatingModelMasterResult, DeleteRatingModelMasterResult, DescribeRatingModelsResult, GetRatingModelResult, ExportMasterResult, GetCurrentRatingModelMasterResult, UpdateCurrentRatingModelMasterResult, UpdateCurrentRatingModelMasterFromGitHubResult, DescribeRatingsResult, DescribeRatingsByUserIdResult, GetRatingResult, GetRatingByUserIdResult, PutResultResult, DeleteRatingResult, GetBallotResult, GetBallotByUserIdResult, VoteResult, VoteMultipleResult, CommitVoteResult, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CommitVoteResult = exports.VoteMultipleResult = exports.VoteResult = exports.GetBallotByUserIdResult = exports.GetBallotResult = exports.DeleteRatingResult = exports.PutResultResult = exports.GetRatingByUserIdResult = exports.GetRatingResult = exports.DescribeRatingsByUserIdResult = exports.DescribeRatingsResult = exports.UpdateCurrentRatingModelMasterFromGitHubResult = exports.UpdateCurrentRatingModelMasterResult = exports.GetCurrentRatingModelMasterResult = exports.ExportMasterResult = exports.GetRatingModelResult = exports.DescribeRatingModelsResult = exports.DeleteRatingModelMasterResult = exports.UpdateRatingModelMasterResult = exports.GetRatingModelMasterResult = exports.CreateRatingModelMasterResult = exports.DescribeRatingModelMastersResult = exports.DeleteGatheringResult = exports.CancelMatchmakingByUserIdResult = exports.CancelMatchmakingResult = exports.GetGatheringResult = exports.DoMatchmakingByUserIdResult = exports.DoMatchmakingResult = exports.DoMatchmakingByPlayerResult = exports.UpdateGatheringByUserIdResult = exports.UpdateGatheringResult = exports.CreateGatheringByUserIdResult = exports.CreateGatheringResult = exports.DescribeGatheringsResult = exports.CheckImportUserDataByUserIdResult = exports.ImportUserDataByUserIdResult = exports.PrepareImportUserDataByUserIdResult = exports.CheckCleanUserDataByUserIdResult = exports.CleanUserDataByUserIdResult = exports.CheckDumpUserDataByUserIdResult = exports.DumpUserDataByUserIdResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
3
+ exports.CommitVoteResult = exports.VoteMultipleResult = exports.VoteResult = exports.GetBallotByUserIdResult = exports.GetBallotResult = exports.DeleteRatingResult = exports.PutResultResult = exports.GetRatingByUserIdResult = exports.GetRatingResult = exports.DescribeRatingsByUserIdResult = exports.DescribeRatingsResult = exports.UpdateCurrentRatingModelMasterFromGitHubResult = exports.UpdateCurrentRatingModelMasterResult = exports.GetCurrentRatingModelMasterResult = exports.ExportMasterResult = exports.GetRatingModelResult = exports.DescribeRatingModelsResult = exports.DeleteRatingModelMasterResult = exports.UpdateRatingModelMasterResult = exports.GetRatingModelMasterResult = exports.CreateRatingModelMasterResult = exports.DescribeRatingModelMastersResult = exports.DeleteGatheringResult = exports.EarlyCompleteByUserIdResult = exports.EarlyCompleteResult = exports.CancelMatchmakingByUserIdResult = exports.CancelMatchmakingResult = exports.GetGatheringResult = exports.DoMatchmakingByUserIdResult = exports.DoMatchmakingResult = exports.DoMatchmakingByPlayerResult = exports.UpdateGatheringByUserIdResult = exports.UpdateGatheringResult = exports.CreateGatheringByUserIdResult = exports.CreateGatheringResult = exports.DescribeGatheringsResult = exports.CheckImportUserDataByUserIdResult = exports.ImportUserDataByUserIdResult = exports.PrepareImportUserDataByUserIdResult = exports.CheckCleanUserDataByUserIdResult = exports.CleanUserDataByUserIdResult = exports.CheckDumpUserDataByUserIdResult = exports.DumpUserDataByUserIdResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /*
6
6
  Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
@@ -65,6 +65,10 @@ var CancelMatchmakingResult_1 = tslib_1.__importDefault(require("./CancelMatchma
65
65
  exports.CancelMatchmakingResult = CancelMatchmakingResult_1.default;
66
66
  var CancelMatchmakingByUserIdResult_1 = tslib_1.__importDefault(require("./CancelMatchmakingByUserIdResult"));
67
67
  exports.CancelMatchmakingByUserIdResult = CancelMatchmakingByUserIdResult_1.default;
68
+ var EarlyCompleteResult_1 = tslib_1.__importDefault(require("./EarlyCompleteResult"));
69
+ exports.EarlyCompleteResult = EarlyCompleteResult_1.default;
70
+ var EarlyCompleteByUserIdResult_1 = tslib_1.__importDefault(require("./EarlyCompleteByUserIdResult"));
71
+ exports.EarlyCompleteByUserIdResult = EarlyCompleteByUserIdResult_1.default;
68
72
  var DeleteGatheringResult_1 = tslib_1.__importDefault(require("./DeleteGatheringResult"));
69
73
  exports.DeleteGatheringResult = DeleteGatheringResult_1.default;
70
74
  var DescribeRatingModelMastersResult_1 = tslib_1.__importDefault(require("./DescribeRatingModelMastersResult"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAiE;AAiD7D,mCAjDG,kCAAwB,CAiDH;AAhD5B,0FAA2D;AAiDvD,gCAjDG,+BAAqB,CAiDH;AAhDzB,gGAAiE;AAiD7D,mCAjDG,kCAAwB,CAiDH;AAhD5B,oFAAqD;AAiDjD,6BAjDG,4BAAkB,CAiDH;AAhDtB,0FAA2D;AAiDvD,gCAjDG,+BAAqB,CAiDH;AAhDzB,0FAA2D;AAiDvD,gCAjDG,+BAAqB,CAiDH;AAhDzB,oGAAqE;AAiDjE,qCAjDG,oCAA0B,CAiDH;AAhD9B,8GAA+E;AAiD3E,0CAjDG,yCAA+B,CAiDH;AAhDnC,sGAAuE;AAiDnE,sCAjDG,qCAA2B,CAiDH;AAhD/B,gHAAiF;AAiD7E,2CAjDG,0CAAgC,CAiDH;AAhDpC,sHAAuF;AAiDnF,8CAjDG,6CAAmC,CAiDH;AAhDvC,wGAAyE;AAiDrE,uCAjDG,sCAA4B,CAiDH;AAhDhC,kHAAmF;AAiD/E,4CAjDG,2CAAiC,CAiDH;AAhDrC,gGAAiE;AAiD7D,mCAjDG,kCAAwB,CAiDH;AAhD5B,0FAA2D;AAiDvD,gCAjDG,+BAAqB,CAiDH;AAhDzB,0GAA2E;AAiDvE,wCAjDG,uCAA6B,CAiDH;AAhDjC,0FAA2D;AAiDvD,gCAjDG,+BAAqB,CAiDH;AAh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mDjD,6BAnDG,4BAAkB,CAmDH;AAlDtB,8EAA+C;AAmD3C,0BAnDG,yBAAe,CAmDH;AAlDnB,8FAA+D;AAmD3D,kCAnDG,iCAAuB,CAmDH;AAlD3B,oEAAqC;AAmDjC,qBAnDG,oBAAU,CAmDH;AAlDd,oFAAqD;AAmDjD,6BAnDG,4BAAkB,CAmDH;AAlDtB,gFAAiD;AAmD7C,2BAnDG,0BAAgB,CAmDH"}
@@ -37,6 +37,8 @@ import DoMatchmakingByUserIdResult from "./DoMatchmakingByUserIdResult"
37
37
  import GetGatheringResult from "./GetGatheringResult"
38
38
  import CancelMatchmakingResult from "./CancelMatchmakingResult"
39
39
  import CancelMatchmakingByUserIdResult from "./CancelMatchmakingByUserIdResult"
40
+ import EarlyCompleteResult from "./EarlyCompleteResult"
41
+ import EarlyCompleteByUserIdResult from "./EarlyCompleteByUserIdResult"
40
42
  import DeleteGatheringResult from "./DeleteGatheringResult"
41
43
  import DescribeRatingModelMastersResult from "./DescribeRatingModelMastersResult"
42
44
  import CreateRatingModelMasterResult from "./CreateRatingModelMasterResult"
@@ -86,6 +88,8 @@ export {
86
88
  GetGatheringResult,
87
89
  CancelMatchmakingResult,
88
90
  CancelMatchmakingByUserIdResult,
91
+ EarlyCompleteResult,
92
+ EarlyCompleteByUserIdResult,
89
93
  DeleteGatheringResult,
90
94
  DescribeRatingModelMastersResult,
91
95
  CreateRatingModelMasterResult,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2",
3
- "version": "1.3.229",
3
+ "version": "1.3.230",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -12,10 +12,10 @@ export default class FormationForm implements IModel {
12
12
  static getMonth(grn: string): string | null;
13
13
  static getDay(grn: string): string | null;
14
14
  static getNamespaceName(grn: string): string | null;
15
- static getMoldName(grn: string): string | null;
15
+ static getMoldModelName(grn: string): string | null;
16
16
  static getIndex(grn: string): string | null;
17
17
  static isValid(grn: string): boolean;
18
- static createGrn(region: string | null, ownerId: string | null, year: string | null, month: string | null, day: string | null, namespaceName: string | null, moldName: string | null, index: string | null): string | null;
18
+ static createGrn(region: string | null, ownerId: string | null, year: string | null, month: string | null, day: string | null, namespaceName: string | null, moldModelName: string | null, index: string | null): string | null;
19
19
  getFormId(): string | null;
20
20
  setFormId(formId: string | null): this;
21
21
  withFormId(formId: string | null): this;
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  var tslib_1 = require("tslib");
19
19
  var FormationFormStatistics_1 = tslib_1.__importDefault(require("./FormationFormStatistics"));
20
20
  var FormationFormDistributions_1 = tslib_1.__importDefault(require("./FormationFormDistributions"));
21
- var grnFormat = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{moldName}:form:{index}";
21
+ var grnFormat = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{moldModelName}:form:{index}";
22
22
  var FormationForm = /** @class */ (function () {
23
23
  function FormationForm() {
24
24
  this.formId = null;
@@ -34,7 +34,7 @@ var FormationForm = /** @class */ (function () {
34
34
  .replace('{month}', '.*')
35
35
  .replace('{day}', '.*')
36
36
  .replace('{namespaceName}', '.*')
37
- .replace('{moldName}', '.*')
37
+ .replace('{moldModelName}', '.*')
38
38
  .replace('{index}', '.*'));
39
39
  if (match) {
40
40
  return match[1];
@@ -49,7 +49,7 @@ var FormationForm = /** @class */ (function () {
49
49
  .replace('{month}', '.*')
50
50
  .replace('{day}', '.*')
51
51
  .replace('{namespaceName}', '.*')
52
- .replace('{moldName}', '.*')
52
+ .replace('{moldModelName}', '.*')
53
53
  .replace('{index}', '.*'));
54
54
  if (match) {
55
55
  return match[1];
@@ -64,7 +64,7 @@ var FormationForm = /** @class */ (function () {
64
64
  .replace('{month}', '.*')
65
65
  .replace('{day}', '.*')
66
66
  .replace('{namespaceName}', '.*')
67
- .replace('{moldName}', '.*')
67
+ .replace('{moldModelName}', '.*')
68
68
  .replace('{index}', '.*'));
69
69
  if (match) {
70
70
  return match[1];
@@ -79,7 +79,7 @@ var FormationForm = /** @class */ (function () {
79
79
  .replace('{month}', '(.*)')
80
80
  .replace('{day}', '.*')
81
81
  .replace('{namespaceName}', '.*')
82
- .replace('{moldName}', '.*')
82
+ .replace('{moldModelName}', '.*')
83
83
  .replace('{index}', '.*'));
84
84
  if (match) {
85
85
  return match[1];
@@ -94,7 +94,7 @@ var FormationForm = /** @class */ (function () {
94
94
  .replace('{month}', '.*')
95
95
  .replace('{day}', '(.*)')
96
96
  .replace('{namespaceName}', '.*')
97
- .replace('{moldName}', '.*')
97
+ .replace('{moldModelName}', '.*')
98
98
  .replace('{index}', '.*'));
99
99
  if (match) {
100
100
  return match[1];
@@ -109,14 +109,14 @@ var FormationForm = /** @class */ (function () {
109
109
  .replace('{month}', '.*')
110
110
  .replace('{day}', '.*')
111
111
  .replace('{namespaceName}', '(.*)')
112
- .replace('{moldName}', '.*')
112
+ .replace('{moldModelName}', '.*')
113
113
  .replace('{index}', '.*'));
114
114
  if (match) {
115
115
  return match[1];
116
116
  }
117
117
  return null;
118
118
  };
119
- FormationForm.getMoldName = function (grn) {
119
+ FormationForm.getMoldModelName = function (grn) {
120
120
  var match = grn.match(grnFormat
121
121
  .replace('{region}', '.*')
122
122
  .replace('{ownerId}', '.*')
@@ -124,7 +124,7 @@ var FormationForm = /** @class */ (function () {
124
124
  .replace('{month}', '.*')
125
125
  .replace('{day}', '.*')
126
126
  .replace('{namespaceName}', '.*')
127
- .replace('{moldName}', '(.*)')
127
+ .replace('{moldModelName}', '(.*)')
128
128
  .replace('{index}', '.*'));
129
129
  if (match) {
130
130
  return match[1];
@@ -139,7 +139,7 @@ var FormationForm = /** @class */ (function () {
139
139
  .replace('{month}', '.*')
140
140
  .replace('{day}', '.*')
141
141
  .replace('{namespaceName}', '.*')
142
- .replace('{moldName}', '.*')
142
+ .replace('{moldModelName}', '.*')
143
143
  .replace('{index}', '(.*)'));
144
144
  if (match) {
145
145
  return match[1];
@@ -165,7 +165,7 @@ var FormationForm = /** @class */ (function () {
165
165
  if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
166
166
  return false;
167
167
  }
168
- if (this.getMoldName(grn) == null || this.getMoldName(grn) === '') {
168
+ if (this.getMoldModelName(grn) == null || this.getMoldModelName(grn) === '') {
169
169
  return false;
170
170
  }
171
171
  if (this.getIndex(grn) == null || this.getIndex(grn) === '') {
@@ -173,7 +173,7 @@ var FormationForm = /** @class */ (function () {
173
173
  }
174
174
  return true;
175
175
  };
176
- FormationForm.createGrn = function (region, ownerId, year, month, day, namespaceName, moldName, index) {
176
+ FormationForm.createGrn = function (region, ownerId, year, month, day, namespaceName, moldModelName, index) {
177
177
  return grnFormat
178
178
  .replace('{region}', region !== null && region !== void 0 ? region : '')
179
179
  .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
@@ -181,7 +181,7 @@ var FormationForm = /** @class */ (function () {
181
181
  .replace('{month}', month !== null && month !== void 0 ? month : '')
182
182
  .replace('{day}', day !== null && day !== void 0 ? day : '')
183
183
  .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
184
- .replace('{moldName}', moldName !== null && moldName !== void 0 ? moldName : '')
184
+ .replace('{moldModelName}', moldModelName !== null && moldModelName !== void 0 ? moldModelName : '')
185
185
  .replace('{index}', index !== null && index !== void 0 ? index : '');
186
186
  };
187
187
  FormationForm.prototype.getFormId = function () {
@@ -1 +1 @@
1
- {"version":3,"file":"FormationForm.js","sourceRoot":"","sources":["FormationForm.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,8FAAgE;AAOhE,oGAAsE;AACtE,IAAM,SAAS,GAAW,gIAAgI,CAAC;AAE3J;IAAA;QACY,WAAM,GAAgB,IAAI,CAAC;QAC3B,UAAK,GAAgB,IAAI,CAAC;QAC1B,eAAU,GAAiC,IAAI,CA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istributionStatistics from './FormationFormUsageDistri
23
23
  import FormationFormUsageDistributionSegment from './FormationFormUsageDistributionSegment';
24
24
  import FormationFormUsageDistribution from './FormationFormUsageDistribution';
25
25
  import FormationFormDistributions from './FormationFormDistributions';
26
- const grnFormat: string = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{moldName}:form:{index}";
26
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{moldModelName}:form:{index}";
27
27
 
28
28
  export default class FormationForm implements IModel {
29
29
  private formId: string|null = null;
@@ -39,7 +39,7 @@ export default class FormationForm implements IModel {
39
39
  .replace('{month}', '.*')
40
40
  .replace('{day}', '.*')
41
41
  .replace('{namespaceName}', '.*')
42
- .replace('{moldName}', '.*')
42
+ .replace('{moldModelName}', '.*')
43
43
  .replace('{index}', '.*')
44
44
  );
45
45
  if (match) {
@@ -56,7 +56,7 @@ export default class FormationForm implements IModel {
56
56
  .replace('{month}', '.*')
57
57
  .replace('{day}', '.*')
58
58
  .replace('{namespaceName}', '.*')
59
- .replace('{moldName}', '.*')
59
+ .replace('{moldModelName}', '.*')
60
60
  .replace('{index}', '.*')
61
61
  );
62
62
  if (match) {
@@ -73,7 +73,7 @@ export default class FormationForm implements IModel {
73
73
  .replace('{month}', '.*')
74
74
  .replace('{day}', '.*')
75
75
  .replace('{namespaceName}', '.*')
76
- .replace('{moldName}', '.*')
76
+ .replace('{moldModelName}', '.*')
77
77
  .replace('{index}', '.*')
78
78
  );
79
79
  if (match) {
@@ -90,7 +90,7 @@ export default class FormationForm implements IModel {
90
90
  .replace('{month}', '(.*)')
91
91
  .replace('{day}', '.*')
92
92
  .replace('{namespaceName}', '.*')
93
- .replace('{moldName}', '.*')
93
+ .replace('{moldModelName}', '.*')
94
94
  .replace('{index}', '.*')
95
95
  );
96
96
  if (match) {
@@ -107,7 +107,7 @@ export default class FormationForm implements IModel {
107
107
  .replace('{month}', '.*')
108
108
  .replace('{day}', '(.*)')
109
109
  .replace('{namespaceName}', '.*')
110
- .replace('{moldName}', '.*')
110
+ .replace('{moldModelName}', '.*')
111
111
  .replace('{index}', '.*')
112
112
  );
113
113
  if (match) {
@@ -124,7 +124,7 @@ export default class FormationForm implements IModel {
124
124
  .replace('{month}', '.*')
125
125
  .replace('{day}', '.*')
126
126
  .replace('{namespaceName}', '(.*)')
127
- .replace('{moldName}', '.*')
127
+ .replace('{moldModelName}', '.*')
128
128
  .replace('{index}', '.*')
129
129
  );
130
130
  if (match) {
@@ -133,7 +133,7 @@ export default class FormationForm implements IModel {
133
133
  return null;
134
134
  }
135
135
 
136
- public static getMoldName(grn: string): string|null {
136
+ public static getMoldModelName(grn: string): string|null {
137
137
  const match = grn.match(grnFormat
138
138
  .replace('{region}', '.*')
139
139
  .replace('{ownerId}', '.*')
@@ -141,7 +141,7 @@ export default class FormationForm implements IModel {
141
141
  .replace('{month}', '.*')
142
142
  .replace('{day}', '.*')
143
143
  .replace('{namespaceName}', '.*')
144
- .replace('{moldName}', '(.*)')
144
+ .replace('{moldModelName}', '(.*)')
145
145
  .replace('{index}', '.*')
146
146
  );
147
147
  if (match) {
@@ -158,7 +158,7 @@ export default class FormationForm implements IModel {
158
158
  .replace('{month}', '.*')
159
159
  .replace('{day}', '.*')
160
160
  .replace('{namespaceName}', '.*')
161
- .replace('{moldName}', '.*')
161
+ .replace('{moldModelName}', '.*')
162
162
  .replace('{index}', '(.*)')
163
163
  );
164
164
  if (match) {
@@ -186,7 +186,7 @@ export default class FormationForm implements IModel {
186
186
  if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
187
187
  return false;
188
188
  }
189
- if (this.getMoldName(grn) == null || this.getMoldName(grn) === '') {
189
+ if (this.getMoldModelName(grn) == null || this.getMoldModelName(grn) === '') {
190
190
  return false;
191
191
  }
192
192
  if (this.getIndex(grn) == null || this.getIndex(grn) === '') {
@@ -202,7 +202,7 @@ export default class FormationForm implements IModel {
202
202
  month: string|null,
203
203
  day: string|null,
204
204
  namespaceName: string|null,
205
- moldName: string|null,
205
+ moldModelName: string|null,
206
206
  index: string|null,
207
207
  ): string|null {
208
208
  return grnFormat
@@ -212,7 +212,7 @@ export default class FormationForm implements IModel {
212
212
  .replace('{month}', month ?? '')
213
213
  .replace('{day}', day ?? '')
214
214
  .replace('{namespaceName}', namespaceName ?? '')
215
- .replace('{moldName}', moldName ?? '')
215
+ .replace('{moldModelName}', moldModelName ?? '')
216
216
  .replace('{index}', index ?? '');
217
217
  }
218
218
  public getFormId(): string|null {
@@ -4,7 +4,7 @@ import FormationMoldDistributions from './FormationMoldDistributions';
4
4
  import FormationForm from './FormationForm';
5
5
  export default class FormationMold implements IModel {
6
6
  private moldId;
7
- private moldName;
7
+ private moldModelName;
8
8
  private statistics;
9
9
  private distributions;
10
10
  private forms;
@@ -14,15 +14,15 @@ export default class FormationMold implements IModel {
14
14
  static getMonth(grn: string): string | null;
15
15
  static getDay(grn: string): string | null;
16
16
  static getNamespaceName(grn: string): string | null;
17
- static getMoldName(grn: string): string | null;
17
+ static getMoldModelName(grn: string): string | null;
18
18
  static isValid(grn: string): boolean;
19
- static createGrn(region: string | null, ownerId: string | null, year: string | null, month: string | null, day: string | null, namespaceName: string | null, moldName: string | null): string | null;
19
+ static createGrn(region: string | null, ownerId: string | null, year: string | null, month: string | null, day: string | null, namespaceName: string | null, moldModelName: string | null): string | null;
20
20
  getMoldId(): string | null;
21
21
  setMoldId(moldId: string | null): this;
22
22
  withMoldId(moldId: string | null): this;
23
- getMoldName(): string | null;
24
- setMoldName(moldName: string | null): this;
25
- withMoldName(moldName: string | null): this;
23
+ getMoldModelName(): string | null;
24
+ setMoldModelName(moldModelName: string | null): this;
25
+ withMoldModelName(moldModelName: string | null): this;
26
26
  getStatistics(): FormationMoldStatistics | null;
27
27
  setStatistics(statistics: FormationMoldStatistics | null): this;
28
28
  withStatistics(statistics: FormationMoldStatistics | null): this;
@@ -19,11 +19,11 @@ var tslib_1 = require("tslib");
19
19
  var FormationMoldStatistics_1 = tslib_1.__importDefault(require("./FormationMoldStatistics"));
20
20
  var FormationMoldDistributions_1 = tslib_1.__importDefault(require("./FormationMoldDistributions"));
21
21
  var FormationForm_1 = tslib_1.__importDefault(require("./FormationForm"));
22
- var grnFormat = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{moldName}";
22
+ var grnFormat = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{moldModelName}";
23
23
  var FormationMold = /** @class */ (function () {
24
24
  function FormationMold() {
25
25
  this.moldId = null;
26
- this.moldName = null;
26
+ this.moldModelName = null;
27
27
  this.statistics = null;
28
28
  this.distributions = null;
29
29
  this.forms = null;
@@ -36,7 +36,7 @@ var FormationMold = /** @class */ (function () {
36
36
  .replace('{month}', '.*')
37
37
  .replace('{day}', '.*')
38
38
  .replace('{namespaceName}', '.*')
39
- .replace('{moldName}', '.*'));
39
+ .replace('{moldModelName}', '.*'));
40
40
  if (match) {
41
41
  return match[1];
42
42
  }
@@ -50,7 +50,7 @@ var FormationMold = /** @class */ (function () {
50
50
  .replace('{month}', '.*')
51
51
  .replace('{day}', '.*')
52
52
  .replace('{namespaceName}', '.*')
53
- .replace('{moldName}', '.*'));
53
+ .replace('{moldModelName}', '.*'));
54
54
  if (match) {
55
55
  return match[1];
56
56
  }
@@ -64,7 +64,7 @@ var FormationMold = /** @class */ (function () {
64
64
  .replace('{month}', '.*')
65
65
  .replace('{day}', '.*')
66
66
  .replace('{namespaceName}', '.*')
67
- .replace('{moldName}', '.*'));
67
+ .replace('{moldModelName}', '.*'));
68
68
  if (match) {
69
69
  return match[1];
70
70
  }
@@ -78,7 +78,7 @@ var FormationMold = /** @class */ (function () {
78
78
  .replace('{month}', '(.*)')
79
79
  .replace('{day}', '.*')
80
80
  .replace('{namespaceName}', '.*')
81
- .replace('{moldName}', '.*'));
81
+ .replace('{moldModelName}', '.*'));
82
82
  if (match) {
83
83
  return match[1];
84
84
  }
@@ -92,7 +92,7 @@ var FormationMold = /** @class */ (function () {
92
92
  .replace('{month}', '.*')
93
93
  .replace('{day}', '(.*)')
94
94
  .replace('{namespaceName}', '.*')
95
- .replace('{moldName}', '.*'));
95
+ .replace('{moldModelName}', '.*'));
96
96
  if (match) {
97
97
  return match[1];
98
98
  }
@@ -106,13 +106,13 @@ var FormationMold = /** @class */ (function () {
106
106
  .replace('{month}', '.*')
107
107
  .replace('{day}', '.*')
108
108
  .replace('{namespaceName}', '(.*)')
109
- .replace('{moldName}', '.*'));
109
+ .replace('{moldModelName}', '.*'));
110
110
  if (match) {
111
111
  return match[1];
112
112
  }
113
113
  return null;
114
114
  };
115
- FormationMold.getMoldName = function (grn) {
115
+ FormationMold.getMoldModelName = function (grn) {
116
116
  var match = grn.match(grnFormat
117
117
  .replace('{region}', '.*')
118
118
  .replace('{ownerId}', '.*')
@@ -120,7 +120,7 @@ var FormationMold = /** @class */ (function () {
120
120
  .replace('{month}', '.*')
121
121
  .replace('{day}', '.*')
122
122
  .replace('{namespaceName}', '.*')
123
- .replace('{moldName}', '(.*)'));
123
+ .replace('{moldModelName}', '(.*)'));
124
124
  if (match) {
125
125
  return match[1];
126
126
  }
@@ -145,12 +145,12 @@ var FormationMold = /** @class */ (function () {
145
145
  if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
146
146
  return false;
147
147
  }
148
- if (this.getMoldName(grn) == null || this.getMoldName(grn) === '') {
148
+ if (this.getMoldModelName(grn) == null || this.getMoldModelName(grn) === '') {
149
149
  return false;
150
150
  }
151
151
  return true;
152
152
  };
153
- FormationMold.createGrn = function (region, ownerId, year, month, day, namespaceName, moldName) {
153
+ FormationMold.createGrn = function (region, ownerId, year, month, day, namespaceName, moldModelName) {
154
154
  return grnFormat
155
155
  .replace('{region}', region !== null && region !== void 0 ? region : '')
156
156
  .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
@@ -158,7 +158,7 @@ var FormationMold = /** @class */ (function () {
158
158
  .replace('{month}', month !== null && month !== void 0 ? month : '')
159
159
  .replace('{day}', day !== null && day !== void 0 ? day : '')
160
160
  .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
161
- .replace('{moldName}', moldName !== null && moldName !== void 0 ? moldName : '');
161
+ .replace('{moldModelName}', moldModelName !== null && moldModelName !== void 0 ? moldModelName : '');
162
162
  };
163
163
  FormationMold.prototype.getMoldId = function () {
164
164
  return this.moldId;
@@ -171,15 +171,15 @@ var FormationMold = /** @class */ (function () {
171
171
  this.moldId = moldId;
172
172
  return this;
173
173
  };
174
- FormationMold.prototype.getMoldName = function () {
175
- return this.moldName;
174
+ FormationMold.prototype.getMoldModelName = function () {
175
+ return this.moldModelName;
176
176
  };
177
- FormationMold.prototype.setMoldName = function (moldName) {
178
- this.moldName = moldName;
177
+ FormationMold.prototype.setMoldModelName = function (moldModelName) {
178
+ this.moldModelName = moldModelName;
179
179
  return this;
180
180
  };
181
- FormationMold.prototype.withMoldName = function (moldName) {
182
- this.moldName = moldName;
181
+ FormationMold.prototype.withMoldModelName = function (moldModelName) {
182
+ this.moldModelName = moldModelName;
183
183
  return this;
184
184
  };
185
185
  FormationMold.prototype.getStatistics = function () {
@@ -221,7 +221,7 @@ var FormationMold = /** @class */ (function () {
221
221
  }
222
222
  return new FormationMold()
223
223
  .withMoldId(data["moldId"])
224
- .withMoldName(data["moldName"])
224
+ .withMoldModelName(data["moldModelName"])
225
225
  .withStatistics(FormationMoldStatistics_1.default.fromDict(data["statistics"]))
226
226
  .withDistributions(FormationMoldDistributions_1.default.fromDict(data["distributions"]))
227
227
  .withForms(data.forms ?
@@ -233,7 +233,7 @@ var FormationMold = /** @class */ (function () {
233
233
  var _a, _b;
234
234
  return {
235
235
  "moldId": this.getMoldId(),
236
- "moldName": this.getMoldName(),
236
+ "moldModelName": this.getMoldModelName(),
237
237
  "statistics": (_a = this.getStatistics()) === null || _a === void 0 ? void 0 : _a.toDict(),
238
238
  "distributions": (_b = this.getDistributions()) === null || _b === void 0 ? void 0 : _b.toDict(),
239
239
  "forms": this.getForms() ?