gs2 1.3.245 → 1.3.246
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/buff/model/Namespace.d.ts +5 -0
- package/buff/model/Namespace.js +17 -2
- package/buff/model/Namespace.js.map +1 -1
- package/buff/model/Namespace.ts +15 -0
- package/buff/model/OverrideBuffRate.d.ts +17 -0
- package/buff/model/OverrideBuffRate.js +62 -0
- package/buff/model/OverrideBuffRate.js.map +1 -0
- package/buff/model/OverrideBuffRate.ts +60 -0
- package/buff/model/ScriptSetting.d.ts +25 -0
- package/buff/model/ScriptSetting.js +90 -0
- package/buff/model/ScriptSetting.js.map +1 -0
- package/buff/model/ScriptSetting.ts +88 -0
- package/buff/model/index.d.ts +3 -1
- package/buff/model/index.js +5 -1
- package/buff/model/index.js.map +1 -1
- package/buff/model/index.ts +4 -0
- package/buff/request/CreateNamespaceRequest.d.ts +4 -0
- package/buff/request/CreateNamespaceRequest.js +16 -2
- package/buff/request/CreateNamespaceRequest.js.map +1 -1
- package/buff/request/CreateNamespaceRequest.ts +14 -0
- package/buff/request/UpdateNamespaceRequest.d.ts +4 -0
- package/buff/request/UpdateNamespaceRequest.js +16 -2
- package/buff/request/UpdateNamespaceRequest.js.map +1 -1
- package/buff/request/UpdateNamespaceRequest.ts +14 -0
- package/buff/rest.js +6 -4
- package/buff/rest.js.map +1 -1
- package/buff/rest.ts +2 -0
- package/inbox/model/GlobalMessage.d.ts +3 -0
- package/inbox/model/GlobalMessage.js +3 -0
- package/inbox/model/GlobalMessage.js.map +1 -1
- package/inbox/model/GlobalMessage.ts +3 -0
- package/inbox/model/GlobalMessageMaster.d.ts +3 -0
- package/inbox/model/GlobalMessageMaster.js +3 -0
- package/inbox/model/GlobalMessageMaster.js.map +1 -1
- package/inbox/model/GlobalMessageMaster.ts +3 -0
- package/inbox/request/CreateGlobalMessageMasterRequest.d.ts +3 -0
- package/inbox/request/CreateGlobalMessageMasterRequest.js +3 -0
- package/inbox/request/CreateGlobalMessageMasterRequest.js.map +1 -1
- package/inbox/request/CreateGlobalMessageMasterRequest.ts +3 -0
- package/inbox/request/UpdateGlobalMessageMasterRequest.d.ts +3 -0
- package/inbox/request/UpdateGlobalMessageMasterRequest.js +3 -0
- package/inbox/request/UpdateGlobalMessageMasterRequest.js.map +1 -1
- package/inbox/request/UpdateGlobalMessageMasterRequest.ts +3 -0
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import ScriptSetting from './ScriptSetting';
|
|
2
3
|
import LogSetting from './LogSetting';
|
|
3
4
|
export default class Namespace implements IModel {
|
|
4
5
|
private namespaceId;
|
|
5
6
|
private name;
|
|
6
7
|
private description;
|
|
8
|
+
private applyBuffScript;
|
|
7
9
|
private logSetting;
|
|
8
10
|
private createdAt;
|
|
9
11
|
private updatedAt;
|
|
@@ -22,6 +24,9 @@ export default class Namespace implements IModel {
|
|
|
22
24
|
getDescription(): string | null;
|
|
23
25
|
setDescription(description: string | null): this;
|
|
24
26
|
withDescription(description: string | null): this;
|
|
27
|
+
getApplyBuffScript(): ScriptSetting | null;
|
|
28
|
+
setApplyBuffScript(applyBuffScript: ScriptSetting | null): this;
|
|
29
|
+
withApplyBuffScript(applyBuffScript: ScriptSetting | null): this;
|
|
25
30
|
getLogSetting(): LogSetting | null;
|
|
26
31
|
setLogSetting(logSetting: LogSetting | null): this;
|
|
27
32
|
withLogSetting(logSetting: LogSetting | null): this;
|
package/buff/model/Namespace.js
CHANGED
|
@@ -16,6 +16,7 @@ permissions and limitations under the License.
|
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var tslib_1 = require("tslib");
|
|
19
|
+
var ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
|
|
19
20
|
var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
|
20
21
|
var grnFormat = "grn:gs2:{region}:{ownerId}:buff:{namespaceName}";
|
|
21
22
|
var Namespace = /** @class */ (function () {
|
|
@@ -23,6 +24,7 @@ var Namespace = /** @class */ (function () {
|
|
|
23
24
|
this.namespaceId = null;
|
|
24
25
|
this.name = null;
|
|
25
26
|
this.description = null;
|
|
27
|
+
this.applyBuffScript = null;
|
|
26
28
|
this.logSetting = null;
|
|
27
29
|
this.createdAt = null;
|
|
28
30
|
this.updatedAt = null;
|
|
@@ -109,6 +111,17 @@ var Namespace = /** @class */ (function () {
|
|
|
109
111
|
this.description = description;
|
|
110
112
|
return this;
|
|
111
113
|
};
|
|
114
|
+
Namespace.prototype.getApplyBuffScript = function () {
|
|
115
|
+
return this.applyBuffScript;
|
|
116
|
+
};
|
|
117
|
+
Namespace.prototype.setApplyBuffScript = function (applyBuffScript) {
|
|
118
|
+
this.applyBuffScript = applyBuffScript;
|
|
119
|
+
return this;
|
|
120
|
+
};
|
|
121
|
+
Namespace.prototype.withApplyBuffScript = function (applyBuffScript) {
|
|
122
|
+
this.applyBuffScript = applyBuffScript;
|
|
123
|
+
return this;
|
|
124
|
+
};
|
|
112
125
|
Namespace.prototype.getLogSetting = function () {
|
|
113
126
|
return this.logSetting;
|
|
114
127
|
};
|
|
@@ -161,18 +174,20 @@ var Namespace = /** @class */ (function () {
|
|
|
161
174
|
.withNamespaceId(data["namespaceId"])
|
|
162
175
|
.withName(data["name"])
|
|
163
176
|
.withDescription(data["description"])
|
|
177
|
+
.withApplyBuffScript(ScriptSetting_1.default.fromDict(data["applyBuffScript"]))
|
|
164
178
|
.withLogSetting(LogSetting_1.default.fromDict(data["logSetting"]))
|
|
165
179
|
.withCreatedAt(data["createdAt"])
|
|
166
180
|
.withUpdatedAt(data["updatedAt"])
|
|
167
181
|
.withRevision(data["revision"]);
|
|
168
182
|
};
|
|
169
183
|
Namespace.prototype.toDict = function () {
|
|
170
|
-
var _a;
|
|
184
|
+
var _a, _b;
|
|
171
185
|
return {
|
|
172
186
|
"namespaceId": this.getNamespaceId(),
|
|
173
187
|
"name": this.getName(),
|
|
174
188
|
"description": this.getDescription(),
|
|
175
|
-
"
|
|
189
|
+
"applyBuffScript": (_a = this.getApplyBuffScript()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
190
|
+
"logSetting": (_b = this.getLogSetting()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
176
191
|
"createdAt": this.getCreatedAt(),
|
|
177
192
|
"updatedAt": this.getUpdatedAt(),
|
|
178
193
|
"revision": this.getRevision(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,oEAAsC;AACtC,IAAM,SAAS,GAAW,iDAAiD,CAAC;AAE5E;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAoB,IAAI,CAAC;QACnC,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,aAAQ,GAAgB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0EAA4C;AAC5C,oEAAsC;AACtC,IAAM,SAAS,GAAW,iDAAiD,CAAC;AAE5E;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,oBAAe,GAAuB,IAAI,CAAC;QAC3C,eAAU,GAAoB,IAAI,CAAC;QACnC,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,aAAQ,GAAgB,IAAI,CAAC;IAiLzC,CAAC;IA/KiB,mBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG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AAc,EAAE;YACpC,iBAAiB,EAAE,MAAA,IAAI,CAAC,kBAAkB,EAAE,0CAAE,MAAM,EAAE;YACtD,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;YAC5C,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,gBAAC;AAAD,CAAC,AAzLD,IAyLC"}
|
package/buff/model/Namespace.ts
CHANGED
|
@@ -15,6 +15,7 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import ScriptSetting from './ScriptSetting';
|
|
18
19
|
import LogSetting from './LogSetting';
|
|
19
20
|
const grnFormat: string = "grn:gs2:{region}:{ownerId}:buff:{namespaceName}";
|
|
20
21
|
|
|
@@ -22,6 +23,7 @@ export default class Namespace implements IModel {
|
|
|
22
23
|
private namespaceId: string|null = null;
|
|
23
24
|
private name: string|null = null;
|
|
24
25
|
private description: string|null = null;
|
|
26
|
+
private applyBuffScript: ScriptSetting|null = null;
|
|
25
27
|
private logSetting: LogSetting|null = null;
|
|
26
28
|
private createdAt: number|null = null;
|
|
27
29
|
private updatedAt: number|null = null;
|
|
@@ -119,6 +121,17 @@ export default class Namespace implements IModel {
|
|
|
119
121
|
this.description = description;
|
|
120
122
|
return this;
|
|
121
123
|
}
|
|
124
|
+
public getApplyBuffScript(): ScriptSetting|null {
|
|
125
|
+
return this.applyBuffScript;
|
|
126
|
+
}
|
|
127
|
+
public setApplyBuffScript(applyBuffScript: ScriptSetting|null) {
|
|
128
|
+
this.applyBuffScript = applyBuffScript;
|
|
129
|
+
return this;
|
|
130
|
+
}
|
|
131
|
+
public withApplyBuffScript(applyBuffScript: ScriptSetting|null): this {
|
|
132
|
+
this.applyBuffScript = applyBuffScript;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
122
135
|
public getLogSetting(): LogSetting|null {
|
|
123
136
|
return this.logSetting;
|
|
124
137
|
}
|
|
@@ -172,6 +185,7 @@ export default class Namespace implements IModel {
|
|
|
172
185
|
.withNamespaceId(data["namespaceId"])
|
|
173
186
|
.withName(data["name"])
|
|
174
187
|
.withDescription(data["description"])
|
|
188
|
+
.withApplyBuffScript(ScriptSetting.fromDict(data["applyBuffScript"]))
|
|
175
189
|
.withLogSetting(LogSetting.fromDict(data["logSetting"]))
|
|
176
190
|
.withCreatedAt(data["createdAt"])
|
|
177
191
|
.withUpdatedAt(data["updatedAt"])
|
|
@@ -183,6 +197,7 @@ export default class Namespace implements IModel {
|
|
|
183
197
|
"namespaceId": this.getNamespaceId(),
|
|
184
198
|
"name": this.getName(),
|
|
185
199
|
"description": this.getDescription(),
|
|
200
|
+
"applyBuffScript": this.getApplyBuffScript()?.toDict(),
|
|
186
201
|
"logSetting": this.getLogSetting()?.toDict(),
|
|
187
202
|
"createdAt": this.getCreatedAt(),
|
|
188
203
|
"updatedAt": this.getUpdatedAt(),
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class OverrideBuffRate implements IModel {
|
|
3
|
+
private name;
|
|
4
|
+
private rate;
|
|
5
|
+
getName(): string | null;
|
|
6
|
+
setName(name: string | null): this;
|
|
7
|
+
withName(name: string | null): this;
|
|
8
|
+
getRate(): number | null;
|
|
9
|
+
setRate(rate: number | null): this;
|
|
10
|
+
withRate(rate: number | null): this;
|
|
11
|
+
static fromDict(data: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}): OverrideBuffRate | null;
|
|
14
|
+
toDict(): {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
var OverrideBuffRate = /** @class */ (function () {
|
|
19
|
+
function OverrideBuffRate() {
|
|
20
|
+
this.name = null;
|
|
21
|
+
this.rate = null;
|
|
22
|
+
}
|
|
23
|
+
OverrideBuffRate.prototype.getName = function () {
|
|
24
|
+
return this.name;
|
|
25
|
+
};
|
|
26
|
+
OverrideBuffRate.prototype.setName = function (name) {
|
|
27
|
+
this.name = name;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
OverrideBuffRate.prototype.withName = function (name) {
|
|
31
|
+
this.name = name;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
OverrideBuffRate.prototype.getRate = function () {
|
|
35
|
+
return this.rate;
|
|
36
|
+
};
|
|
37
|
+
OverrideBuffRate.prototype.setRate = function (rate) {
|
|
38
|
+
this.rate = rate;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
OverrideBuffRate.prototype.withRate = function (rate) {
|
|
42
|
+
this.rate = rate;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
OverrideBuffRate.fromDict = function (data) {
|
|
46
|
+
if (data == undefined || data == null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return new OverrideBuffRate()
|
|
50
|
+
.withName(data["name"])
|
|
51
|
+
.withRate(data["rate"]);
|
|
52
|
+
};
|
|
53
|
+
OverrideBuffRate.prototype.toDict = function () {
|
|
54
|
+
return {
|
|
55
|
+
"name": this.getName(),
|
|
56
|
+
"rate": this.getRate(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return OverrideBuffRate;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = OverrideBuffRate;
|
|
62
|
+
//# sourceMappingURL=OverrideBuffRate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverrideBuffRate.js","sourceRoot":"","sources":["OverrideBuffRate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,SAAI,GAAgB,IAAI,CAAC;QACzB,SAAI,GAAgB,IAAI,CAAC;IAuCrC,CAAC;IAtCU,kCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IACM,kCAAO,GAAd,UAAe,IAAiB;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mCAAQ,GAAf,UAAgB,IAAiB;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IACM,kCAAO,GAAd,UAAe,IAAiB;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mCAAQ,GAAf,UAAgB,IAAiB;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,gBAAgB,EAAE;aACxB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,CAAC;IAEM,iCAAM,GAAb;QACI,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;SACzB,CAAC;IACN,CAAC;IACL,uBAAC;AAAD,CAAC,AAzCD,IAyCC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class OverrideBuffRate implements IModel {
|
|
20
|
+
private name: string|null = null;
|
|
21
|
+
private rate: number|null = null;
|
|
22
|
+
public getName(): string|null {
|
|
23
|
+
return this.name;
|
|
24
|
+
}
|
|
25
|
+
public setName(name: string|null) {
|
|
26
|
+
this.name = name;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
public withName(name: string|null): this {
|
|
30
|
+
this.name = name;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
public getRate(): number|null {
|
|
34
|
+
return this.rate;
|
|
35
|
+
}
|
|
36
|
+
public setRate(rate: number|null) {
|
|
37
|
+
this.rate = rate;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
public withRate(rate: number|null): this {
|
|
41
|
+
this.rate = rate;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public static fromDict(data: {[key: string]: any}): OverrideBuffRate|null {
|
|
46
|
+
if (data == undefined || data == null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return new OverrideBuffRate()
|
|
50
|
+
.withName(data["name"])
|
|
51
|
+
.withRate(data["rate"]);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public toDict(): {[key: string]: any} {
|
|
55
|
+
return {
|
|
56
|
+
"name": this.getName(),
|
|
57
|
+
"rate": this.getRate(),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class ScriptSetting implements IModel {
|
|
3
|
+
private triggerScriptId;
|
|
4
|
+
private doneTriggerTargetType;
|
|
5
|
+
private doneTriggerScriptId;
|
|
6
|
+
private doneTriggerQueueNamespaceId;
|
|
7
|
+
getTriggerScriptId(): string | null;
|
|
8
|
+
setTriggerScriptId(triggerScriptId: string | null): this;
|
|
9
|
+
withTriggerScriptId(triggerScriptId: string | null): this;
|
|
10
|
+
getDoneTriggerTargetType(): string | null;
|
|
11
|
+
setDoneTriggerTargetType(doneTriggerTargetType: string | null): this;
|
|
12
|
+
withDoneTriggerTargetType(doneTriggerTargetType: string | null): this;
|
|
13
|
+
getDoneTriggerScriptId(): string | null;
|
|
14
|
+
setDoneTriggerScriptId(doneTriggerScriptId: string | null): this;
|
|
15
|
+
withDoneTriggerScriptId(doneTriggerScriptId: string | null): this;
|
|
16
|
+
getDoneTriggerQueueNamespaceId(): string | null;
|
|
17
|
+
setDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string | null): this;
|
|
18
|
+
withDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): ScriptSetting | null;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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
|
+
var ScriptSetting = /** @class */ (function () {
|
|
19
|
+
function ScriptSetting() {
|
|
20
|
+
this.triggerScriptId = null;
|
|
21
|
+
this.doneTriggerTargetType = null;
|
|
22
|
+
this.doneTriggerScriptId = null;
|
|
23
|
+
this.doneTriggerQueueNamespaceId = null;
|
|
24
|
+
}
|
|
25
|
+
ScriptSetting.prototype.getTriggerScriptId = function () {
|
|
26
|
+
return this.triggerScriptId;
|
|
27
|
+
};
|
|
28
|
+
ScriptSetting.prototype.setTriggerScriptId = function (triggerScriptId) {
|
|
29
|
+
this.triggerScriptId = triggerScriptId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
ScriptSetting.prototype.withTriggerScriptId = function (triggerScriptId) {
|
|
33
|
+
this.triggerScriptId = triggerScriptId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
ScriptSetting.prototype.getDoneTriggerTargetType = function () {
|
|
37
|
+
return this.doneTriggerTargetType;
|
|
38
|
+
};
|
|
39
|
+
ScriptSetting.prototype.setDoneTriggerTargetType = function (doneTriggerTargetType) {
|
|
40
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
ScriptSetting.prototype.withDoneTriggerTargetType = function (doneTriggerTargetType) {
|
|
44
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
ScriptSetting.prototype.getDoneTriggerScriptId = function () {
|
|
48
|
+
return this.doneTriggerScriptId;
|
|
49
|
+
};
|
|
50
|
+
ScriptSetting.prototype.setDoneTriggerScriptId = function (doneTriggerScriptId) {
|
|
51
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
ScriptSetting.prototype.withDoneTriggerScriptId = function (doneTriggerScriptId) {
|
|
55
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
ScriptSetting.prototype.getDoneTriggerQueueNamespaceId = function () {
|
|
59
|
+
return this.doneTriggerQueueNamespaceId;
|
|
60
|
+
};
|
|
61
|
+
ScriptSetting.prototype.setDoneTriggerQueueNamespaceId = function (doneTriggerQueueNamespaceId) {
|
|
62
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
ScriptSetting.prototype.withDoneTriggerQueueNamespaceId = function (doneTriggerQueueNamespaceId) {
|
|
66
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
ScriptSetting.fromDict = function (data) {
|
|
70
|
+
if (data == undefined || data == null) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
return new ScriptSetting()
|
|
74
|
+
.withTriggerScriptId(data["triggerScriptId"])
|
|
75
|
+
.withDoneTriggerTargetType(data["doneTriggerTargetType"])
|
|
76
|
+
.withDoneTriggerScriptId(data["doneTriggerScriptId"])
|
|
77
|
+
.withDoneTriggerQueueNamespaceId(data["doneTriggerQueueNamespaceId"]);
|
|
78
|
+
};
|
|
79
|
+
ScriptSetting.prototype.toDict = function () {
|
|
80
|
+
return {
|
|
81
|
+
"triggerScriptId": this.getTriggerScriptId(),
|
|
82
|
+
"doneTriggerTargetType": this.getDoneTriggerTargetType(),
|
|
83
|
+
"doneTriggerScriptId": this.getDoneTriggerScriptId(),
|
|
84
|
+
"doneTriggerQueueNamespaceId": this.getDoneTriggerQueueNamespaceId(),
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
return ScriptSetting;
|
|
88
|
+
}());
|
|
89
|
+
exports.default = ScriptSetting;
|
|
90
|
+
//# sourceMappingURL=ScriptSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScriptSetting.js","sourceRoot":"","sources":["ScriptSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,oBAAe,GAAgB,IAAI,CAAC;QACpC,0BAAqB,GAAgB,IAAI,CAAC;QAC1C,wBAAmB,GAAgB,IAAI,CAAC;QACxC,gCAA2B,GAAgB,IAAI,CAAC;IAiE5D,CAAC;IAhEU,0CAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACM,0CAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAwB,GAA/B;QACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;IACtC,CAAC;IACM,g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;IAC9E,CAAC;IAEM,8BAAM,GAAb;QACI,OAAO;YACH,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,uBAAuB,EAAE,IAAI,CAAC,wBAAwB,EAAE;YACxD,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,6BAA6B,EAAE,IAAI,CAAC,8BAA8B,EAAE;SACvE,CAAC;IACN,CAAC;IACL,oBAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class ScriptSetting implements IModel {
|
|
20
|
+
private triggerScriptId: string|null = null;
|
|
21
|
+
private doneTriggerTargetType: string|null = null;
|
|
22
|
+
private doneTriggerScriptId: string|null = null;
|
|
23
|
+
private doneTriggerQueueNamespaceId: string|null = null;
|
|
24
|
+
public getTriggerScriptId(): string|null {
|
|
25
|
+
return this.triggerScriptId;
|
|
26
|
+
}
|
|
27
|
+
public setTriggerScriptId(triggerScriptId: string|null) {
|
|
28
|
+
this.triggerScriptId = triggerScriptId;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
public withTriggerScriptId(triggerScriptId: string|null): this {
|
|
32
|
+
this.triggerScriptId = triggerScriptId;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
public getDoneTriggerTargetType(): string|null {
|
|
36
|
+
return this.doneTriggerTargetType;
|
|
37
|
+
}
|
|
38
|
+
public setDoneTriggerTargetType(doneTriggerTargetType: string|null) {
|
|
39
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withDoneTriggerTargetType(doneTriggerTargetType: string|null): this {
|
|
43
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public getDoneTriggerScriptId(): string|null {
|
|
47
|
+
return this.doneTriggerScriptId;
|
|
48
|
+
}
|
|
49
|
+
public setDoneTriggerScriptId(doneTriggerScriptId: string|null) {
|
|
50
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
public withDoneTriggerScriptId(doneTriggerScriptId: string|null): this {
|
|
54
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
public getDoneTriggerQueueNamespaceId(): string|null {
|
|
58
|
+
return this.doneTriggerQueueNamespaceId;
|
|
59
|
+
}
|
|
60
|
+
public setDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string|null) {
|
|
61
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public withDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string|null): this {
|
|
65
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public static fromDict(data: {[key: string]: any}): ScriptSetting|null {
|
|
70
|
+
if (data == undefined || data == null) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
return new ScriptSetting()
|
|
74
|
+
.withTriggerScriptId(data["triggerScriptId"])
|
|
75
|
+
.withDoneTriggerTargetType(data["doneTriggerTargetType"])
|
|
76
|
+
.withDoneTriggerScriptId(data["doneTriggerScriptId"])
|
|
77
|
+
.withDoneTriggerQueueNamespaceId(data["doneTriggerQueueNamespaceId"]);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public toDict(): {[key: string]: any} {
|
|
81
|
+
return {
|
|
82
|
+
"triggerScriptId": this.getTriggerScriptId(),
|
|
83
|
+
"doneTriggerTargetType": this.getDoneTriggerTargetType(),
|
|
84
|
+
"doneTriggerScriptId": this.getDoneTriggerScriptId(),
|
|
85
|
+
"doneTriggerQueueNamespaceId": this.getDoneTriggerQueueNamespaceId(),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}
|
package/buff/model/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import BuffTargetGrn from "./BuffTargetGrn";
|
|
|
5
5
|
import BuffEntryModel from "./BuffEntryModel";
|
|
6
6
|
import BuffEntryModelMaster from "./BuffEntryModelMaster";
|
|
7
7
|
import CurrentBuffMaster from "./CurrentBuffMaster";
|
|
8
|
+
import OverrideBuffRate from "./OverrideBuffRate";
|
|
9
|
+
import ScriptSetting from "./ScriptSetting";
|
|
8
10
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
|
|
9
11
|
import LogSetting from "./LogSetting";
|
|
10
|
-
export { Namespace, BuffTargetModel, BuffTargetAction, BuffTargetGrn, BuffEntryModel, BuffEntryModelMaster, CurrentBuffMaster, GitHubCheckoutSetting, LogSetting, };
|
|
12
|
+
export { Namespace, BuffTargetModel, BuffTargetAction, BuffTargetGrn, BuffEntryModel, BuffEntryModelMaster, CurrentBuffMaster, OverrideBuffRate, ScriptSetting, GitHubCheckoutSetting, LogSetting, };
|
package/buff/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogSetting = exports.GitHubCheckoutSetting = exports.CurrentBuffMaster = exports.BuffEntryModelMaster = exports.BuffEntryModel = exports.BuffTargetGrn = exports.BuffTargetAction = exports.BuffTargetModel = exports.Namespace = void 0;
|
|
3
|
+
exports.LogSetting = exports.GitHubCheckoutSetting = exports.ScriptSetting = exports.OverrideBuffRate = exports.CurrentBuffMaster = exports.BuffEntryModelMaster = exports.BuffEntryModel = exports.BuffTargetGrn = exports.BuffTargetAction = exports.BuffTargetModel = exports.Namespace = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -31,6 +31,10 @@ var BuffEntryModelMaster_1 = tslib_1.__importDefault(require("./BuffEntryModelMa
|
|
|
31
31
|
exports.BuffEntryModelMaster = BuffEntryModelMaster_1.default;
|
|
32
32
|
var CurrentBuffMaster_1 = tslib_1.__importDefault(require("./CurrentBuffMaster"));
|
|
33
33
|
exports.CurrentBuffMaster = CurrentBuffMaster_1.default;
|
|
34
|
+
var OverrideBuffRate_1 = tslib_1.__importDefault(require("./OverrideBuffRate"));
|
|
35
|
+
exports.OverrideBuffRate = OverrideBuffRate_1.default;
|
|
36
|
+
var ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
|
|
37
|
+
exports.ScriptSetting = ScriptSetting_1.default;
|
|
34
38
|
var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutSetting"));
|
|
35
39
|
exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
|
|
36
40
|
var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
package/buff/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAa/B,oBAbG,mBAAS,CAaH;AAZb,8EAA+C;AAa3C,0BAbG,yBAAe,CAaH;AAZnB,gFAAiD;AAa7C,2BAbG,0BAAgB,CAaH;AAZpB,0EAA2C;AAavC,wBAbG,uBAAa,CAaH;AAZjB,4EAA6C;AAazC,yBAbG,wBAAc,CAaH;AAZlB,wFAAyD;AAarD,+BAbG,8BAAoB,CAaH;AAZxB,kFAAmD;AAa/C,4BAbG,2BAAiB,CAaH;AAZrB,gFAAiD;AAa7C,2BAbG,0BAAgB,CAaH;AAZpB,0EAA2C;AAavC,wBAbG,uBAAa,CAaH;AAZjB,0FAA2D;AAavD,gCAbG,+BAAqB,CAaH;AAZzB,oEAAqC;AAajC,qBAbG,oBAAU,CAaH"}
|
package/buff/model/index.ts
CHANGED
|
@@ -20,6 +20,8 @@ import BuffTargetGrn from "./BuffTargetGrn"
|
|
|
20
20
|
import BuffEntryModel from "./BuffEntryModel"
|
|
21
21
|
import BuffEntryModelMaster from "./BuffEntryModelMaster"
|
|
22
22
|
import CurrentBuffMaster from "./CurrentBuffMaster"
|
|
23
|
+
import OverrideBuffRate from "./OverrideBuffRate"
|
|
24
|
+
import ScriptSetting from "./ScriptSetting"
|
|
23
25
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
|
|
24
26
|
import LogSetting from "./LogSetting"
|
|
25
27
|
|
|
@@ -31,6 +33,8 @@ export {
|
|
|
31
33
|
BuffEntryModel,
|
|
32
34
|
BuffEntryModelMaster,
|
|
33
35
|
CurrentBuffMaster,
|
|
36
|
+
OverrideBuffRate,
|
|
37
|
+
ScriptSetting,
|
|
34
38
|
GitHubCheckoutSetting,
|
|
35
39
|
LogSetting,
|
|
36
40
|
};
|
|
@@ -5,6 +5,7 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
5
5
|
private contextStack;
|
|
6
6
|
private name;
|
|
7
7
|
private description;
|
|
8
|
+
private applyBuffScript;
|
|
8
9
|
private logSetting;
|
|
9
10
|
getRequestId(): string | null;
|
|
10
11
|
setRequestId(requestId: string | null): this;
|
|
@@ -18,6 +19,9 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
18
19
|
getDescription(): string | null;
|
|
19
20
|
setDescription(description: string | null): this;
|
|
20
21
|
withDescription(description: string | null): this;
|
|
22
|
+
getApplyBuffScript(): Gs2Buff.ScriptSetting | null;
|
|
23
|
+
setApplyBuffScript(applyBuffScript: Gs2Buff.ScriptSetting | null): this;
|
|
24
|
+
withApplyBuffScript(applyBuffScript: Gs2Buff.ScriptSetting | null): this;
|
|
21
25
|
getLogSetting(): Gs2Buff.LogSetting | null;
|
|
22
26
|
setLogSetting(logSetting: Gs2Buff.LogSetting | null): this;
|
|
23
27
|
withLogSetting(logSetting: Gs2Buff.LogSetting | null): this;
|
|
@@ -23,6 +23,7 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
23
23
|
this.contextStack = null;
|
|
24
24
|
this.name = null;
|
|
25
25
|
this.description = null;
|
|
26
|
+
this.applyBuffScript = null;
|
|
26
27
|
this.logSetting = null;
|
|
27
28
|
}
|
|
28
29
|
CreateNamespaceRequest.prototype.getRequestId = function () {
|
|
@@ -69,6 +70,17 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
69
70
|
this.description = description;
|
|
70
71
|
return this;
|
|
71
72
|
};
|
|
73
|
+
CreateNamespaceRequest.prototype.getApplyBuffScript = function () {
|
|
74
|
+
return this.applyBuffScript;
|
|
75
|
+
};
|
|
76
|
+
CreateNamespaceRequest.prototype.setApplyBuffScript = function (applyBuffScript) {
|
|
77
|
+
this.applyBuffScript = applyBuffScript;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
CreateNamespaceRequest.prototype.withApplyBuffScript = function (applyBuffScript) {
|
|
81
|
+
this.applyBuffScript = applyBuffScript;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
72
84
|
CreateNamespaceRequest.prototype.getLogSetting = function () {
|
|
73
85
|
return this.logSetting;
|
|
74
86
|
};
|
|
@@ -84,14 +96,16 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
84
96
|
return new CreateNamespaceRequest()
|
|
85
97
|
.withName(data["name"])
|
|
86
98
|
.withDescription(data["description"])
|
|
99
|
+
.withApplyBuffScript(Gs2Buff.ScriptSetting.fromDict(data["applyBuffScript"]))
|
|
87
100
|
.withLogSetting(Gs2Buff.LogSetting.fromDict(data["logSetting"]));
|
|
88
101
|
};
|
|
89
102
|
CreateNamespaceRequest.prototype.toDict = function () {
|
|
90
|
-
var _a;
|
|
103
|
+
var _a, _b;
|
|
91
104
|
return {
|
|
92
105
|
"name": this.getName(),
|
|
93
106
|
"description": this.getDescription(),
|
|
94
|
-
"
|
|
107
|
+
"applyBuffScript": (_a = this.getApplyBuffScript()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
108
|
+
"logSetting": (_b = this.getLogSetting()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
95
109
|
};
|
|
96
110
|
};
|
|
97
111
|
return CreateNamespaceRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNamespaceRequest.js","sourceRoot":"","sources":["CreateNamespaceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,wDAAmC;AAEnC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAA4B,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateNamespaceRequest.js","sourceRoot":"","sources":["CreateNamespaceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,wDAAmC;AAEnC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY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