gs2-cdk 1.0.121 → 1.0.132
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/core/model/index.d.ts +4 -1
- package/core/model/index.js +5 -1
- package/core/model/index.js.map +1 -1
- package/core/model/index.ts +6 -0
- package/core/model/nums/NotificationSettingEnable.d.ts +5 -0
- package/core/model/nums/NotificationSettingEnable.js +23 -0
- package/core/model/nums/NotificationSettingEnable.js.map +1 -0
- package/core/model/nums/NotificationSettingEnable.ts +23 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.d.ts +6 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.js +24 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.js.map +1 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.ts +24 -0
- package/gateway/model/SendNotificationEntry.d.ts +13 -0
- package/gateway/model/SendNotificationEntry.js +38 -0
- package/gateway/model/SendNotificationEntry.js.map +1 -0
- package/gateway/model/SendNotificationEntry.ts +67 -0
- package/gateway/model/index.d.ts +3 -1
- package/gateway/model/index.js +3 -1
- package/gateway/model/index.js.map +1 -1
- package/gateway/model/index.ts +4 -0
- package/gateway/model/options/SendNotificationEntryOptions.d.ts +3 -0
- package/gateway/model/options/SendNotificationEntryOptions.js +18 -0
- package/gateway/model/options/SendNotificationEntryOptions.js.map +1 -0
- package/gateway/model/options/SendNotificationEntryOptions.ts +20 -0
- package/guild/model/Namespace.d.ts +1 -0
- package/guild/model/Namespace.js +16 -11
- package/guild/model/Namespace.js.map +1 -1
- package/guild/model/Namespace.ts +5 -0
- package/guild/model/options/NamespaceOptions.d.ts +1 -0
- package/guild/model/options/NamespaceOptions.ts +1 -0
- package/limit/model/Namespace.d.ts +1 -0
- package/limit/model/Namespace.js +9 -4
- package/limit/model/Namespace.js.map +1 -1
- package/limit/model/Namespace.ts +7 -0
- package/limit/model/options/NamespaceOptions.d.ts +2 -0
- package/limit/model/options/NamespaceOptions.ts +2 -0
- package/matchmaking/model/Namespace.d.ts +3 -5
- package/matchmaking/model/Namespace.js +19 -17
- package/matchmaking/model/Namespace.js.map +1 -1
- package/matchmaking/model/Namespace.ts +4 -6
- package/matchmaking/model/options/NamespaceOptions.d.ts +4 -0
- package/matchmaking/model/options/NamespaceOptions.ts +2 -0
- package/money2/model/DepositTransaction.js +0 -3
- package/money2/model/DepositTransaction.js.map +1 -1
- package/money2/model/DepositTransaction.ts +0 -3
- package/package.json +1 -1
package/core/model/index.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ import ConsumeAction from "./ConsumeAction";
|
|
|
5
5
|
import VerifyAction from "./VerifyAction";
|
|
6
6
|
import LogSetting from "./LogSetting";
|
|
7
7
|
import NotificationSetting from "./NotificationSetting";
|
|
8
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
8
9
|
import ScriptSetting from "./ScriptSetting";
|
|
10
|
+
import { ScriptSettingDoneTriggerTargetType } from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
9
11
|
import Stack from "./Stack";
|
|
10
12
|
import TransactionSetting from "./TransactionSetting";
|
|
11
|
-
|
|
13
|
+
import { TransactionSettingOptions } from "./TransactionSettingOptions";
|
|
14
|
+
export { AcquireAction, CdkResource, Config, ConsumeAction, VerifyAction, LogSetting, NotificationSetting, NotificationSettingEnable, ScriptSetting, ScriptSettingDoneTriggerTargetType, Stack, TransactionSetting, TransactionSettingOptions };
|
package/core/model/index.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.TransactionSetting = exports.Stack = exports.ScriptSetting = exports.NotificationSetting = exports.LogSetting = exports.VerifyAction = exports.ConsumeAction = exports.Config = exports.CdkResource = exports.AcquireAction = void 0;
|
|
18
|
+
exports.TransactionSetting = exports.Stack = exports.ScriptSettingDoneTriggerTargetType = exports.ScriptSetting = exports.NotificationSettingEnable = exports.NotificationSetting = exports.LogSetting = exports.VerifyAction = exports.ConsumeAction = exports.Config = exports.CdkResource = exports.AcquireAction = void 0;
|
|
19
19
|
const tslib_1 = require("tslib");
|
|
20
20
|
const AcquireAction_1 = tslib_1.__importDefault(require("./AcquireAction"));
|
|
21
21
|
exports.AcquireAction = AcquireAction_1.default;
|
|
@@ -31,8 +31,12 @@ const LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
|
|
31
31
|
exports.LogSetting = LogSetting_1.default;
|
|
32
32
|
const NotificationSetting_1 = tslib_1.__importDefault(require("./NotificationSetting"));
|
|
33
33
|
exports.NotificationSetting = NotificationSetting_1.default;
|
|
34
|
+
const NotificationSettingEnable_1 = require("./nums/NotificationSettingEnable");
|
|
35
|
+
Object.defineProperty(exports, "NotificationSettingEnable", { enumerable: true, get: function () { return NotificationSettingEnable_1.NotificationSettingEnable; } });
|
|
34
36
|
const ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
|
|
35
37
|
exports.ScriptSetting = ScriptSetting_1.default;
|
|
38
|
+
const ScriptSettingDoneTriggerTargetType_1 = require("./nums/ScriptSettingDoneTriggerTargetType");
|
|
39
|
+
Object.defineProperty(exports, "ScriptSettingDoneTriggerTargetType", { enumerable: true, get: function () { return ScriptSettingDoneTriggerTargetType_1.ScriptSettingDoneTriggerTargetType; } });
|
|
36
40
|
const Stack_1 = tslib_1.__importDefault(require("./Stack"));
|
|
37
41
|
exports.Stack = Stack_1.default;
|
|
38
42
|
const TransactionSetting_1 = tslib_1.__importDefault(require("./TransactionSetting"));
|
package/core/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,4EAA4C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,4EAA4C;AAexC,wBAfG,uBAAa,CAeH;AAdjB,wEAAwC;AAepC,sBAfG,qBAAW,CAeH;AAdf,8DAA8B;AAe1B,iBAfG,gBAAM,CAeH;AAdV,4EAA4C;AAexC,wBAfG,uBAAa,CAeH;AAdjB,0EAA0C;AAetC,uBAfG,sBAAY,CAeH;AAdhB,sEAAsC;AAelC,qBAfG,oBAAU,CAeH;AAdd,wFAAwD;AAepD,8BAfG,6BAAmB,CAeH;AAdvB,gFAA6E;AAezE,0GAfK,qDAAyB,OAeL;AAd7B,4EAA4C;AAexC,wBAfG,uBAAa,CAeH;AAdjB,kGAA+F;AAe3F,mHAfK,uEAAkC,OAeL;AAdtC,4DAA4B;AAexB,gBAfG,eAAK,CAeH;AAdT,sFAAsD;AAelD,6BAfG,4BAAkB,CAeH"}
|
package/core/model/index.ts
CHANGED
|
@@ -21,9 +21,12 @@ import ConsumeAction from "./ConsumeAction";
|
|
|
21
21
|
import VerifyAction from "./VerifyAction";
|
|
22
22
|
import LogSetting from "./LogSetting";
|
|
23
23
|
import NotificationSetting from "./NotificationSetting";
|
|
24
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
24
25
|
import ScriptSetting from "./ScriptSetting";
|
|
26
|
+
import { ScriptSettingDoneTriggerTargetType } from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
25
27
|
import Stack from "./Stack";
|
|
26
28
|
import TransactionSetting from "./TransactionSetting";
|
|
29
|
+
import { TransactionSettingOptions } from "./TransactionSettingOptions";
|
|
27
30
|
|
|
28
31
|
export {
|
|
29
32
|
AcquireAction,
|
|
@@ -33,7 +36,10 @@ export {
|
|
|
33
36
|
VerifyAction,
|
|
34
37
|
LogSetting,
|
|
35
38
|
NotificationSetting,
|
|
39
|
+
NotificationSettingEnable,
|
|
36
40
|
ScriptSetting,
|
|
41
|
+
ScriptSettingDoneTriggerTargetType,
|
|
37
42
|
Stack,
|
|
38
43
|
TransactionSetting,
|
|
44
|
+
TransactionSettingOptions
|
|
39
45
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
exports.NotificationSettingEnable = void 0;
|
|
19
|
+
exports.NotificationSettingEnable = {
|
|
20
|
+
Enabled: "Enabled",
|
|
21
|
+
Disabled: "Disabled",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=NotificationSettingEnable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationSettingEnable.js","sourceRoot":"","sources":["NotificationSettingEnable.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,yBAAyB,GAAG;IACrC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
|
|
18
|
+
|
|
19
|
+
export const NotificationSettingEnable = {
|
|
20
|
+
Enabled: "Enabled",
|
|
21
|
+
Disabled: "Disabled",
|
|
22
|
+
} as const;
|
|
23
|
+
export type NotificationSettingEnable = typeof NotificationSettingEnable[keyof typeof NotificationSettingEnable];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ScriptSettingDoneTriggerTargetType: {
|
|
2
|
+
readonly NONE: "none";
|
|
3
|
+
readonly GS2_SCRIPT: "gs2_script";
|
|
4
|
+
readonly AWS: "aws";
|
|
5
|
+
};
|
|
6
|
+
export type ScriptSettingDoneTriggerTargetType = typeof ScriptSettingDoneTriggerTargetType[keyof typeof ScriptSettingDoneTriggerTargetType];
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
exports.ScriptSettingDoneTriggerTargetType = void 0;
|
|
19
|
+
exports.ScriptSettingDoneTriggerTargetType = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GS2_SCRIPT: "gs2_script",
|
|
22
|
+
AWS: "aws",
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ScriptSettingDoneTriggerTargetType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScriptSettingDoneTriggerTargetType.js","sourceRoot":"","sources":["ScriptSettingDoneTriggerTargetType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,kCAAkC,GAAG;IAC9C,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,GAAG,EAAE,KAAK;CACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
18
|
+
|
|
19
|
+
export const ScriptSettingDoneTriggerTargetType = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GS2_SCRIPT: "gs2_script",
|
|
22
|
+
AWS: "aws",
|
|
23
|
+
} as const;
|
|
24
|
+
export type ScriptSettingDoneTriggerTargetType = typeof ScriptSettingDoneTriggerTargetType[keyof typeof ScriptSettingDoneTriggerTargetType];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
2
|
+
export default class SendNotificationEntry {
|
|
3
|
+
private readonly userId;
|
|
4
|
+
private readonly issuer;
|
|
5
|
+
private readonly subject;
|
|
6
|
+
private readonly payload;
|
|
7
|
+
private readonly enableTransferMobileNotification;
|
|
8
|
+
private readonly sound;
|
|
9
|
+
constructor(userId: string, issuer: string, subject: string, payload: string, enableTransferMobileNotification: boolean, options?: SendNotificationEntryOptions | null);
|
|
10
|
+
properties(): {
|
|
11
|
+
[name: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class SendNotificationEntry {
|
|
4
|
+
constructor(userId, issuer, subject, payload, enableTransferMobileNotification, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.sound = null;
|
|
7
|
+
this.userId = userId;
|
|
8
|
+
this.issuer = issuer;
|
|
9
|
+
this.subject = subject;
|
|
10
|
+
this.payload = payload;
|
|
11
|
+
this.enableTransferMobileNotification = enableTransferMobileNotification;
|
|
12
|
+
this.sound = (_a = options === null || options === void 0 ? void 0 : options.sound) !== null && _a !== void 0 ? _a : null;
|
|
13
|
+
}
|
|
14
|
+
properties() {
|
|
15
|
+
let properties = {};
|
|
16
|
+
if (this.userId != null) {
|
|
17
|
+
properties["userId"] = this.userId;
|
|
18
|
+
}
|
|
19
|
+
if (this.issuer != null) {
|
|
20
|
+
properties["issuer"] = this.issuer;
|
|
21
|
+
}
|
|
22
|
+
if (this.subject != null) {
|
|
23
|
+
properties["subject"] = this.subject;
|
|
24
|
+
}
|
|
25
|
+
if (this.payload != null) {
|
|
26
|
+
properties["payload"] = this.payload;
|
|
27
|
+
}
|
|
28
|
+
if (this.enableTransferMobileNotification != null) {
|
|
29
|
+
properties["enableTransferMobileNotification"] = this.enableTransferMobileNotification;
|
|
30
|
+
}
|
|
31
|
+
if (this.sound != null) {
|
|
32
|
+
properties["sound"] = this.sound;
|
|
33
|
+
}
|
|
34
|
+
return properties;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = SendNotificationEntry;
|
|
38
|
+
//# sourceMappingURL=SendNotificationEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendNotificationEntry.js","sourceRoot":"","sources":["SendNotificationEntry.ts"],"names":[],"mappings":";;AAiBA,MAAqB,qBAAqB;IAQtC,YACI,MAAc,EACd,MAAc,EACd,OAAe,EACf,OAAe,EACf,gCAAyC,EACzC,UAA6C,IAAI;;QARpC,UAAK,GAAgB,IAAI,CAAC;QAUvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;QACzE,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;IACxC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,gCAAgC,IAAI,IAAI,EAAE;YAC/C,UAAU,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,gCAAgC,CAAC;SAC1F;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAjDD,wCAiDC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
17
|
+
|
|
18
|
+
export default class SendNotificationEntry {
|
|
19
|
+
private readonly userId: string;
|
|
20
|
+
private readonly issuer: string;
|
|
21
|
+
private readonly subject: string;
|
|
22
|
+
private readonly payload: string;
|
|
23
|
+
private readonly enableTransferMobileNotification: boolean;
|
|
24
|
+
private readonly sound: string|null = null;
|
|
25
|
+
|
|
26
|
+
public constructor(
|
|
27
|
+
userId: string,
|
|
28
|
+
issuer: string,
|
|
29
|
+
subject: string,
|
|
30
|
+
payload: string,
|
|
31
|
+
enableTransferMobileNotification: boolean,
|
|
32
|
+
options: SendNotificationEntryOptions|null = null,
|
|
33
|
+
) {
|
|
34
|
+
this.userId = userId;
|
|
35
|
+
this.issuer = issuer;
|
|
36
|
+
this.subject = subject;
|
|
37
|
+
this.payload = payload;
|
|
38
|
+
this.enableTransferMobileNotification = enableTransferMobileNotification;
|
|
39
|
+
this.sound = options?.sound ?? null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public properties(
|
|
43
|
+
): {[name: string]: any} {
|
|
44
|
+
let properties: {[name: string]: any} = {};
|
|
45
|
+
|
|
46
|
+
if (this.userId != null) {
|
|
47
|
+
properties["userId"] = this.userId;
|
|
48
|
+
}
|
|
49
|
+
if (this.issuer != null) {
|
|
50
|
+
properties["issuer"] = this.issuer;
|
|
51
|
+
}
|
|
52
|
+
if (this.subject != null) {
|
|
53
|
+
properties["subject"] = this.subject;
|
|
54
|
+
}
|
|
55
|
+
if (this.payload != null) {
|
|
56
|
+
properties["payload"] = this.payload;
|
|
57
|
+
}
|
|
58
|
+
if (this.enableTransferMobileNotification != null) {
|
|
59
|
+
properties["enableTransferMobileNotification"] = this.enableTransferMobileNotification;
|
|
60
|
+
}
|
|
61
|
+
if (this.sound != null) {
|
|
62
|
+
properties["sound"] = this.sound;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return properties;
|
|
66
|
+
}
|
|
67
|
+
}
|
package/gateway/model/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import Namespace from "./Namespace";
|
|
2
2
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
|
-
|
|
3
|
+
import SendNotificationEntry from "./SendNotificationEntry";
|
|
4
|
+
import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
5
|
+
export { Namespace, NamespaceOptions, SendNotificationEntry, SendNotificationEntryOptions, };
|
package/gateway/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Namespace = void 0;
|
|
3
|
+
exports.SendNotificationEntry = 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
|
|
@@ -19,4 +19,6 @@ const tslib_1 = require("tslib");
|
|
|
19
19
|
*/
|
|
20
20
|
const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
21
21
|
exports.Namespace = Namespace_1.default;
|
|
22
|
+
const SendNotificationEntry_1 = tslib_1.__importDefault(require("./SendNotificationEntry"));
|
|
23
|
+
exports.SendNotificationEntry = SendNotificationEntry_1.default;
|
|
22
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAMhC,oBANG,mBAAS,CAMH;AAJb,4FAA4D;AAMxD,gCANG,+BAAqB,CAMH"}
|
package/gateway/model/index.ts
CHANGED
|
@@ -15,8 +15,12 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import Namespace from "./Namespace";
|
|
17
17
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
|
+
import SendNotificationEntry from "./SendNotificationEntry";
|
|
19
|
+
import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
18
20
|
|
|
19
21
|
export {
|
|
20
22
|
Namespace,
|
|
21
23
|
NamespaceOptions,
|
|
24
|
+
SendNotificationEntry,
|
|
25
|
+
SendNotificationEntryOptions,
|
|
22
26
|
}
|
|
@@ -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=SendNotificationEntryOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendNotificationEntryOptions.js","sourceRoot":"","sources":["SendNotificationEntryOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 SendNotificationEntryOptions {
|
|
18
|
+
sound?: string|null;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -12,6 +12,7 @@ export default class Namespace extends CdkResource {
|
|
|
12
12
|
private readonly joinNotification;
|
|
13
13
|
private readonly leaveNotification;
|
|
14
14
|
private readonly changeMemberNotification;
|
|
15
|
+
private readonly changeMemberNotificationIgnoreChangeMetadata;
|
|
15
16
|
private readonly receiveRequestNotification;
|
|
16
17
|
private readonly removeRequestNotification;
|
|
17
18
|
private readonly createGuildScript;
|
package/guild/model/Namespace.js
CHANGED
|
@@ -22,7 +22,7 @@ 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, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
26
26
|
super("Guild_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.transactionSetting = null;
|
|
@@ -30,6 +30,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
30
30
|
this.joinNotification = null;
|
|
31
31
|
this.leaveNotification = null;
|
|
32
32
|
this.changeMemberNotification = null;
|
|
33
|
+
this.changeMemberNotificationIgnoreChangeMetadata = null;
|
|
33
34
|
this.receiveRequestNotification = null;
|
|
34
35
|
this.removeRequestNotification = null;
|
|
35
36
|
this.createGuildScript = null;
|
|
@@ -48,16 +49,17 @@ class Namespace extends model_1.CdkResource {
|
|
|
48
49
|
this.joinNotification = (_d = options === null || options === void 0 ? void 0 : options.joinNotification) !== null && _d !== void 0 ? _d : null;
|
|
49
50
|
this.leaveNotification = (_e = options === null || options === void 0 ? void 0 : options.leaveNotification) !== null && _e !== void 0 ? _e : null;
|
|
50
51
|
this.changeMemberNotification = (_f = options === null || options === void 0 ? void 0 : options.changeMemberNotification) !== null && _f !== void 0 ? _f : null;
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
52
|
+
this.changeMemberNotificationIgnoreChangeMetadata = (_g = options === null || options === void 0 ? void 0 : options.changeMemberNotificationIgnoreChangeMetadata) !== null && _g !== void 0 ? _g : null;
|
|
53
|
+
this.receiveRequestNotification = (_h = options === null || options === void 0 ? void 0 : options.receiveRequestNotification) !== null && _h !== void 0 ? _h : null;
|
|
54
|
+
this.removeRequestNotification = (_j = options === null || options === void 0 ? void 0 : options.removeRequestNotification) !== null && _j !== void 0 ? _j : null;
|
|
55
|
+
this.createGuildScript = (_k = options === null || options === void 0 ? void 0 : options.createGuildScript) !== null && _k !== void 0 ? _k : null;
|
|
56
|
+
this.updateGuildScript = (_l = options === null || options === void 0 ? void 0 : options.updateGuildScript) !== null && _l !== void 0 ? _l : null;
|
|
57
|
+
this.joinGuildScript = (_m = options === null || options === void 0 ? void 0 : options.joinGuildScript) !== null && _m !== void 0 ? _m : null;
|
|
58
|
+
this.receiveJoinRequestScript = (_o = options === null || options === void 0 ? void 0 : options.receiveJoinRequestScript) !== null && _o !== void 0 ? _o : null;
|
|
59
|
+
this.leaveGuildScript = (_p = options === null || options === void 0 ? void 0 : options.leaveGuildScript) !== null && _p !== void 0 ? _p : null;
|
|
60
|
+
this.changeRoleScript = (_q = options === null || options === void 0 ? void 0 : options.changeRoleScript) !== null && _q !== void 0 ? _q : null;
|
|
61
|
+
this.deleteGuildScript = (_r = options === null || options === void 0 ? void 0 : options.deleteGuildScript) !== null && _r !== void 0 ? _r : null;
|
|
62
|
+
this.logSetting = (_s = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _s !== void 0 ? _s : null;
|
|
61
63
|
stack.addResource(this);
|
|
62
64
|
}
|
|
63
65
|
alternateKeys() {
|
|
@@ -90,6 +92,9 @@ class Namespace extends model_1.CdkResource {
|
|
|
90
92
|
if (this.changeMemberNotification != null) {
|
|
91
93
|
properties["ChangeMemberNotification"] = (_e = this.changeMemberNotification) === null || _e === void 0 ? void 0 : _e.properties();
|
|
92
94
|
}
|
|
95
|
+
if (this.changeMemberNotificationIgnoreChangeMetadata != null) {
|
|
96
|
+
properties["ChangeMemberNotificationIgnoreChangeMetadata"] = this.changeMemberNotificationIgnoreChangeMetadata;
|
|
97
|
+
}
|
|
93
98
|
if (this.receiveRequestNotification != null) {
|
|
94
99
|
properties["ReceiveRequestNotification"] = (_f = this.receiveRequestNotification) === null || _f === void 0 ? void 0 : _f.properties();
|
|
95
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAqB9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,kBAAkB,GAAG,IAAI,CAC5B,CAAC;QAzBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,uBAAkB,GAA6B,IAAI,CAAC;QACpD,qBAAgB,GAA6B,IAAI,CAAC;QAClD,sBAAiB,GAA6B,IAAI,CAAC;QACnD,6BAAwB,GAA6B,IAAI,CAAC;QAC1D,iDAA4C,GAAiB,IAAI,CAAC;QAClE,+BAA0B,GAA6B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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,WAAyB;QAEzB,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,WAAW,CACd,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA1KD,4BA0KC"}
|
package/guild/model/Namespace.ts
CHANGED
|
@@ -36,6 +36,7 @@ export default class Namespace extends CdkResource {
|
|
|
36
36
|
private readonly joinNotification: NotificationSetting|null = null;
|
|
37
37
|
private readonly leaveNotification: NotificationSetting|null = null;
|
|
38
38
|
private readonly changeMemberNotification: NotificationSetting|null = null;
|
|
39
|
+
private readonly changeMemberNotificationIgnoreChangeMetadata: boolean|null = null;
|
|
39
40
|
private readonly receiveRequestNotification: NotificationSetting|null = null;
|
|
40
41
|
private readonly removeRequestNotification: NotificationSetting|null = null;
|
|
41
42
|
private readonly createGuildScript: ScriptSetting|null = null;
|
|
@@ -64,6 +65,7 @@ export default class Namespace extends CdkResource {
|
|
|
64
65
|
this.joinNotification = options?.joinNotification ?? null;
|
|
65
66
|
this.leaveNotification = options?.leaveNotification ?? null;
|
|
66
67
|
this.changeMemberNotification = options?.changeMemberNotification ?? null;
|
|
68
|
+
this.changeMemberNotificationIgnoreChangeMetadata = options?.changeMemberNotificationIgnoreChangeMetadata ?? null;
|
|
67
69
|
this.receiveRequestNotification = options?.receiveRequestNotification ?? null;
|
|
68
70
|
this.removeRequestNotification = options?.removeRequestNotification ?? null;
|
|
69
71
|
this.createGuildScript = options?.createGuildScript ?? null;
|
|
@@ -120,6 +122,9 @@ export default class Namespace extends CdkResource {
|
|
|
120
122
|
properties["ChangeMemberNotification"] = this.changeMemberNotification?.properties(
|
|
121
123
|
);
|
|
122
124
|
}
|
|
125
|
+
if (this.changeMemberNotificationIgnoreChangeMetadata != null) {
|
|
126
|
+
properties["ChangeMemberNotificationIgnoreChangeMetadata"] = this.changeMemberNotificationIgnoreChangeMetadata;
|
|
127
|
+
}
|
|
123
128
|
if (this.receiveRequestNotification != null) {
|
|
124
129
|
properties["ReceiveRequestNotification"] = this.receiveRequestNotification?.properties(
|
|
125
130
|
);
|
|
@@ -9,6 +9,7 @@ export interface NamespaceOptions {
|
|
|
9
9
|
joinNotification?: NotificationSetting | null;
|
|
10
10
|
leaveNotification?: NotificationSetting | null;
|
|
11
11
|
changeMemberNotification?: NotificationSetting | null;
|
|
12
|
+
changeMemberNotificationIgnoreChangeMetadata?: boolean | null;
|
|
12
13
|
receiveRequestNotification?: NotificationSetting | null;
|
|
13
14
|
removeRequestNotification?: NotificationSetting | null;
|
|
14
15
|
createGuildScript?: ScriptSetting | null;
|
|
@@ -25,6 +25,7 @@ export interface NamespaceOptions {
|
|
|
25
25
|
joinNotification?: NotificationSetting|null;
|
|
26
26
|
leaveNotification?: NotificationSetting|null;
|
|
27
27
|
changeMemberNotification?: NotificationSetting|null;
|
|
28
|
+
changeMemberNotificationIgnoreChangeMetadata?: boolean|null;
|
|
28
29
|
receiveRequestNotification?: NotificationSetting|null;
|
|
29
30
|
removeRequestNotification?: NotificationSetting|null;
|
|
30
31
|
createGuildScript?: ScriptSetting|null;
|
|
@@ -8,6 +8,7 @@ export default class Namespace extends CdkResource {
|
|
|
8
8
|
private readonly name;
|
|
9
9
|
private readonly description;
|
|
10
10
|
private readonly transactionSetting;
|
|
11
|
+
private readonly countUpScript;
|
|
11
12
|
private readonly logSetting;
|
|
12
13
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
13
14
|
alternateKeys(): string;
|
package/limit/model/Namespace.js
CHANGED
|
@@ -22,16 +22,18 @@ 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, _c;
|
|
25
|
+
var _a, _b, _c, _d;
|
|
26
26
|
super("Limit_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.transactionSetting = null;
|
|
29
|
+
this.countUpScript = null;
|
|
29
30
|
this.logSetting = null;
|
|
30
31
|
this.stack = stack;
|
|
31
32
|
this.name = name;
|
|
32
33
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
33
34
|
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
34
|
-
this.
|
|
35
|
+
this.countUpScript = (_c = options === null || options === void 0 ? void 0 : options.countUpScript) !== null && _c !== void 0 ? _c : null;
|
|
36
|
+
this.logSetting = (_d = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _d !== void 0 ? _d : null;
|
|
35
37
|
stack.addResource(this);
|
|
36
38
|
}
|
|
37
39
|
alternateKeys() {
|
|
@@ -41,7 +43,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
41
43
|
return "GS2::Limit::Namespace";
|
|
42
44
|
}
|
|
43
45
|
properties() {
|
|
44
|
-
var _a, _b;
|
|
46
|
+
var _a, _b, _c;
|
|
45
47
|
let properties = {};
|
|
46
48
|
if (this.name != null) {
|
|
47
49
|
properties["Name"] = this.name;
|
|
@@ -52,8 +54,11 @@ class Namespace extends model_1.CdkResource {
|
|
|
52
54
|
if (this.transactionSetting != null) {
|
|
53
55
|
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
54
56
|
}
|
|
57
|
+
if (this.countUpScript != null) {
|
|
58
|
+
properties["CountUpScript"] = (_b = this.countUpScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
59
|
+
}
|
|
55
60
|
if (this.logSetting != null) {
|
|
56
|
-
properties["LogSetting"] = (
|
|
61
|
+
properties["LogSetting"] = (_c = this.logSetting) === null || _c === void 0 ? void 0 : _c.properties();
|
|
57
62
|
}
|
|
58
63
|
return properties;
|
|
59
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAQ9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,kBAAkB,GAAG,IAAI,CAC5B,CAAC;QAZW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,kBAAa,GAAuB,IAAI,CAAC;QACzC,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;QACpD,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,mCAAI,IAAI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O,IAAI,CAAC;IAChB,CAAC;CACJ;AA7FD,4BA6FC"}
|
package/limit/model/Namespace.ts
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
import {CdkResource, Stack} from "../../core/model";
|
|
18
18
|
import {GetAttr} from "../../core/func";
|
|
19
19
|
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
20
|
+
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
20
21
|
import LogSetting from "../../core/model/LogSetting";
|
|
21
22
|
|
|
22
23
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
@@ -30,6 +31,7 @@ export default class Namespace extends CdkResource {
|
|
|
30
31
|
private readonly name: string;
|
|
31
32
|
private readonly description: string|null = null;
|
|
32
33
|
private readonly transactionSetting: TransactionSetting|null = null;
|
|
34
|
+
private readonly countUpScript: ScriptSetting|null = null;
|
|
33
35
|
private readonly logSetting: LogSetting|null = null;
|
|
34
36
|
|
|
35
37
|
public constructor(
|
|
@@ -45,6 +47,7 @@ export default class Namespace extends CdkResource {
|
|
|
45
47
|
this.name = name;
|
|
46
48
|
this.description = options?.description ?? null;
|
|
47
49
|
this.transactionSetting = options?.transactionSetting ?? null;
|
|
50
|
+
this.countUpScript = options?.countUpScript ?? null;
|
|
48
51
|
this.logSetting = options?.logSetting ?? null;
|
|
49
52
|
stack.addResource(
|
|
50
53
|
this,
|
|
@@ -76,6 +79,10 @@ export default class Namespace extends CdkResource {
|
|
|
76
79
|
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
77
80
|
);
|
|
78
81
|
}
|
|
82
|
+
if (this.countUpScript != null) {
|
|
83
|
+
properties["CountUpScript"] = this.countUpScript?.properties(
|
|
84
|
+
);
|
|
85
|
+
}
|
|
79
86
|
if (this.logSetting != null) {
|
|
80
87
|
properties["LogSetting"] = this.logSetting?.properties(
|
|
81
88
|
);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
2
|
+
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
2
3
|
import LogSetting from "../../../core/model/LogSetting";
|
|
3
4
|
export interface NamespaceOptions {
|
|
4
5
|
description?: string | null;
|
|
5
6
|
transactionSetting?: TransactionSetting | null;
|
|
7
|
+
countUpScript?: ScriptSetting | null;
|
|
6
8
|
logSetting?: LogSetting | null;
|
|
7
9
|
}
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
17
|
+
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
17
18
|
import LogSetting from "../../../core/model/LogSetting";
|
|
18
19
|
|
|
19
20
|
export interface NamespaceOptions {
|
|
20
21
|
description?: string|null;
|
|
21
22
|
transactionSetting?: TransactionSetting|null;
|
|
23
|
+
countUpScript?: ScriptSetting|null;
|
|
22
24
|
logSetting?: LogSetting|null;
|
|
23
25
|
}
|
|
24
26
|
|
|
@@ -3,21 +3,19 @@ import { GetAttr } from "../../core/func";
|
|
|
3
3
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
4
4
|
import RatingModel from "./RatingModel";
|
|
5
5
|
import SeasonModel from "./SeasonModel";
|
|
6
|
-
import { NamespaceCreateGatheringTriggerType } from "./enums/NamespaceCreateGatheringTriggerType";
|
|
7
|
-
import { NamespaceCompleteMatchmakingTriggerType } from "./enums/NamespaceCompleteMatchmakingTriggerType";
|
|
8
6
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
9
7
|
export default class Namespace extends CdkResource {
|
|
10
8
|
private readonly stack;
|
|
11
9
|
private readonly name;
|
|
12
|
-
private readonly createGatheringTriggerType;
|
|
13
|
-
private readonly completeMatchmakingTriggerType;
|
|
14
10
|
private readonly description;
|
|
15
11
|
private readonly transactionSetting;
|
|
16
12
|
private readonly enableRating;
|
|
17
13
|
private readonly enableDisconnectDetection;
|
|
18
14
|
private readonly disconnectDetectionTimeoutSeconds;
|
|
15
|
+
private readonly createGatheringTriggerType;
|
|
19
16
|
private readonly createGatheringTriggerRealtimeNamespaceId;
|
|
20
17
|
private readonly createGatheringTriggerScriptId;
|
|
18
|
+
private readonly completeMatchmakingTriggerType;
|
|
21
19
|
private readonly completeMatchmakingTriggerRealtimeNamespaceId;
|
|
22
20
|
private readonly completeMatchmakingTriggerScriptId;
|
|
23
21
|
private readonly enableCollaborateSeasonRating;
|
|
@@ -29,7 +27,7 @@ export default class Namespace extends CdkResource {
|
|
|
29
27
|
private readonly completeNotification;
|
|
30
28
|
private readonly changeRatingNotification;
|
|
31
29
|
private readonly logSetting;
|
|
32
|
-
constructor(stack: Stack, name: string,
|
|
30
|
+
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
33
31
|
alternateKeys(): string;
|
|
34
32
|
resourceType(): string;
|
|
35
33
|
properties(): {
|
|
@@ -21,16 +21,18 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
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
|
-
constructor(stack, name,
|
|
25
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
24
|
+
constructor(stack, name, options = null) {
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
26
26
|
super("Matchmaking_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.transactionSetting = null;
|
|
29
29
|
this.enableRating = null;
|
|
30
30
|
this.enableDisconnectDetection = null;
|
|
31
31
|
this.disconnectDetectionTimeoutSeconds = null;
|
|
32
|
+
this.createGatheringTriggerType = null;
|
|
32
33
|
this.createGatheringTriggerRealtimeNamespaceId = null;
|
|
33
34
|
this.createGatheringTriggerScriptId = null;
|
|
35
|
+
this.completeMatchmakingTriggerType = null;
|
|
34
36
|
this.completeMatchmakingTriggerRealtimeNamespaceId = null;
|
|
35
37
|
this.completeMatchmakingTriggerScriptId = null;
|
|
36
38
|
this.enableCollaborateSeasonRating = null;
|
|
@@ -44,26 +46,26 @@ class Namespace extends model_1.CdkResource {
|
|
|
44
46
|
this.logSetting = null;
|
|
45
47
|
this.stack = stack;
|
|
46
48
|
this.name = name;
|
|
47
|
-
this.createGatheringTriggerType = createGatheringTriggerType;
|
|
48
|
-
this.completeMatchmakingTriggerType = completeMatchmakingTriggerType;
|
|
49
49
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
50
50
|
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
51
51
|
this.enableRating = (_c = options === null || options === void 0 ? void 0 : options.enableRating) !== null && _c !== void 0 ? _c : null;
|
|
52
52
|
this.enableDisconnectDetection = (_d = options === null || options === void 0 ? void 0 : options.enableDisconnectDetection) !== null && _d !== void 0 ? _d : null;
|
|
53
53
|
this.disconnectDetectionTimeoutSeconds = (_e = options === null || options === void 0 ? void 0 : options.disconnectDetectionTimeoutSeconds) !== null && _e !== void 0 ? _e : null;
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
54
|
+
this.createGatheringTriggerType = (_f = options === null || options === void 0 ? void 0 : options.createGatheringTriggerType) !== null && _f !== void 0 ? _f : null;
|
|
55
|
+
this.createGatheringTriggerRealtimeNamespaceId = (_g = options === null || options === void 0 ? void 0 : options.createGatheringTriggerRealtimeNamespaceId) !== null && _g !== void 0 ? _g : null;
|
|
56
|
+
this.createGatheringTriggerScriptId = (_h = options === null || options === void 0 ? void 0 : options.createGatheringTriggerScriptId) !== null && _h !== void 0 ? _h : null;
|
|
57
|
+
this.completeMatchmakingTriggerType = (_j = options === null || options === void 0 ? void 0 : options.completeMatchmakingTriggerType) !== null && _j !== void 0 ? _j : null;
|
|
58
|
+
this.completeMatchmakingTriggerRealtimeNamespaceId = (_k = options === null || options === void 0 ? void 0 : options.completeMatchmakingTriggerRealtimeNamespaceId) !== null && _k !== void 0 ? _k : null;
|
|
59
|
+
this.completeMatchmakingTriggerScriptId = (_l = options === null || options === void 0 ? void 0 : options.completeMatchmakingTriggerScriptId) !== null && _l !== void 0 ? _l : null;
|
|
60
|
+
this.enableCollaborateSeasonRating = (_m = options === null || options === void 0 ? void 0 : options.enableCollaborateSeasonRating) !== null && _m !== void 0 ? _m : null;
|
|
61
|
+
this.collaborateSeasonRatingNamespaceId = (_o = options === null || options === void 0 ? void 0 : options.collaborateSeasonRatingNamespaceId) !== null && _o !== void 0 ? _o : null;
|
|
62
|
+
this.collaborateSeasonRatingTtl = (_p = options === null || options === void 0 ? void 0 : options.collaborateSeasonRatingTtl) !== null && _p !== void 0 ? _p : null;
|
|
63
|
+
this.changeRatingScript = (_q = options === null || options === void 0 ? void 0 : options.changeRatingScript) !== null && _q !== void 0 ? _q : null;
|
|
64
|
+
this.joinNotification = (_r = options === null || options === void 0 ? void 0 : options.joinNotification) !== null && _r !== void 0 ? _r : null;
|
|
65
|
+
this.leaveNotification = (_s = options === null || options === void 0 ? void 0 : options.leaveNotification) !== null && _s !== void 0 ? _s : null;
|
|
66
|
+
this.completeNotification = (_t = options === null || options === void 0 ? void 0 : options.completeNotification) !== null && _t !== void 0 ? _t : null;
|
|
67
|
+
this.changeRatingNotification = (_u = options === null || options === void 0 ? void 0 : options.changeRatingNotification) !== null && _u !== void 0 ? _u : null;
|
|
68
|
+
this.logSetting = (_v = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _v !== void 0 ? _v : null;
|
|
67
69
|
stack.addResource(this);
|
|
68
70
|
}
|
|
69
71
|
alternateKeys() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAC/C,oFAAoD;AAUpD,MAAqB,SAAU,SAAQ,mBAAW;IAwB9C,YACI,KAAY,EACZ,IAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAC/C,oFAAoD;AAUpD,MAAqB,SAAU,SAAQ,mBAAW;IAwB9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,wBAAwB,GAAG,IAAI,CAClC,CAAC;QA5BW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,iBAAY,GAAiB,IAAI,CAAC;QAClC,8BAAyB,GAA4C,IAAI,CAAC;QAC1E,sCAAiC,GAAgB,IAAI,CAAC;QACtD,+BAA0B,GAA6C,IAAI,CAAC;QAC5E,8CAAyC,GAAgB,IAAI,CAAC;QAC9D,mCAA8B,GAAgB,IAAI,CAAC;QACnD,mCAA8B,GAAiD,IAAI,CAAC;QACpF,kDAA6C,GAAgB,IAAI,CAAC;QAClE,uCAAkC,GAAgB,IAAI,CAAC;QACvD,kCAA6B,GAAgD,IAAI,CAAC;QAClF,uCAAkC,GAAgB,IAAI,CAAC;QACvD,+BAA0B,GAAgB,IAAI,CAAC;QAC/C,uBAAkB,GAAuB,IAAI,CAAC;QAC9C,qBAAgB,GAA6B,IAAI,CAAC;QAClD,sBAAiB,GAA6B,IAAI,CAAC;QACnD,yBAAoB,GAA6B,IAAI,CAAC;QACtD,6BAAwB,GAA6B,IAAI,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AAU,EACjF,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,YAA2B,EAC3B,YAA2B;QAE3B,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,YAAY,EACZ,YAAY,CACf,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAnLD,4BAmLC"}
|
|
@@ -35,15 +35,15 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
35
35
|
export default class Namespace extends CdkResource {
|
|
36
36
|
private readonly stack: Stack;
|
|
37
37
|
private readonly name: string;
|
|
38
|
-
private readonly createGatheringTriggerType: NamespaceCreateGatheringTriggerType;
|
|
39
|
-
private readonly completeMatchmakingTriggerType: NamespaceCompleteMatchmakingTriggerType;
|
|
40
38
|
private readonly description: string|null = null;
|
|
41
39
|
private readonly transactionSetting: TransactionSetting|null = null;
|
|
42
40
|
private readonly enableRating: boolean|null = null;
|
|
43
41
|
private readonly enableDisconnectDetection: NamespaceEnableDisconnectDetection|null = null;
|
|
44
42
|
private readonly disconnectDetectionTimeoutSeconds: number|null = null;
|
|
43
|
+
private readonly createGatheringTriggerType: NamespaceCreateGatheringTriggerType|null = null;
|
|
45
44
|
private readonly createGatheringTriggerRealtimeNamespaceId: string|null = null;
|
|
46
45
|
private readonly createGatheringTriggerScriptId: string|null = null;
|
|
46
|
+
private readonly completeMatchmakingTriggerType: NamespaceCompleteMatchmakingTriggerType|null = null;
|
|
47
47
|
private readonly completeMatchmakingTriggerRealtimeNamespaceId: string|null = null;
|
|
48
48
|
private readonly completeMatchmakingTriggerScriptId: string|null = null;
|
|
49
49
|
private readonly enableCollaborateSeasonRating: NamespaceEnableCollaborateSeasonRating|null = null;
|
|
@@ -59,8 +59,6 @@ export default class Namespace extends CdkResource {
|
|
|
59
59
|
public constructor(
|
|
60
60
|
stack: Stack,
|
|
61
61
|
name: string,
|
|
62
|
-
createGatheringTriggerType: NamespaceCreateGatheringTriggerType,
|
|
63
|
-
completeMatchmakingTriggerType: NamespaceCompleteMatchmakingTriggerType,
|
|
64
62
|
options: NamespaceOptions|null = null,
|
|
65
63
|
) {
|
|
66
64
|
super(
|
|
@@ -69,15 +67,15 @@ export default class Namespace extends CdkResource {
|
|
|
69
67
|
|
|
70
68
|
this.stack = stack;
|
|
71
69
|
this.name = name;
|
|
72
|
-
this.createGatheringTriggerType = createGatheringTriggerType;
|
|
73
|
-
this.completeMatchmakingTriggerType = completeMatchmakingTriggerType;
|
|
74
70
|
this.description = options?.description ?? null;
|
|
75
71
|
this.transactionSetting = options?.transactionSetting ?? null;
|
|
76
72
|
this.enableRating = options?.enableRating ?? null;
|
|
77
73
|
this.enableDisconnectDetection = options?.enableDisconnectDetection ?? null;
|
|
78
74
|
this.disconnectDetectionTimeoutSeconds = options?.disconnectDetectionTimeoutSeconds ?? null;
|
|
75
|
+
this.createGatheringTriggerType = options?.createGatheringTriggerType ?? null;
|
|
79
76
|
this.createGatheringTriggerRealtimeNamespaceId = options?.createGatheringTriggerRealtimeNamespaceId ?? null;
|
|
80
77
|
this.createGatheringTriggerScriptId = options?.createGatheringTriggerScriptId ?? null;
|
|
78
|
+
this.completeMatchmakingTriggerType = options?.completeMatchmakingTriggerType ?? null;
|
|
81
79
|
this.completeMatchmakingTriggerRealtimeNamespaceId = options?.completeMatchmakingTriggerRealtimeNamespaceId ?? null;
|
|
82
80
|
this.completeMatchmakingTriggerScriptId = options?.completeMatchmakingTriggerScriptId ?? null;
|
|
83
81
|
this.enableCollaborateSeasonRating = options?.enableCollaborateSeasonRating ?? null;
|
|
@@ -3,6 +3,8 @@ import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
|
3
3
|
import NotificationSetting from "../../../core/model/NotificationSetting";
|
|
4
4
|
import LogSetting from "../../../core/model/LogSetting";
|
|
5
5
|
import { NamespaceEnableDisconnectDetection } from "../enums/NamespaceEnableDisconnectDetection";
|
|
6
|
+
import { NamespaceCreateGatheringTriggerType } from "../enums/NamespaceCreateGatheringTriggerType";
|
|
7
|
+
import { NamespaceCompleteMatchmakingTriggerType } from "../enums/NamespaceCompleteMatchmakingTriggerType";
|
|
6
8
|
import { NamespaceEnableCollaborateSeasonRating } from "../enums/NamespaceEnableCollaborateSeasonRating";
|
|
7
9
|
export interface NamespaceOptions {
|
|
8
10
|
description?: string | null;
|
|
@@ -10,8 +12,10 @@ export interface NamespaceOptions {
|
|
|
10
12
|
enableRating?: boolean | null;
|
|
11
13
|
enableDisconnectDetection?: NamespaceEnableDisconnectDetection | null;
|
|
12
14
|
disconnectDetectionTimeoutSeconds?: number | null;
|
|
15
|
+
createGatheringTriggerType?: NamespaceCreateGatheringTriggerType | null;
|
|
13
16
|
createGatheringTriggerRealtimeNamespaceId?: string | null;
|
|
14
17
|
createGatheringTriggerScriptId?: string | null;
|
|
18
|
+
completeMatchmakingTriggerType?: NamespaceCompleteMatchmakingTriggerType | null;
|
|
15
19
|
completeMatchmakingTriggerRealtimeNamespaceId?: string | null;
|
|
16
20
|
completeMatchmakingTriggerScriptId?: string | null;
|
|
17
21
|
enableCollaborateSeasonRating?: NamespaceEnableCollaborateSeasonRating | null;
|
|
@@ -28,8 +28,10 @@ export interface NamespaceOptions {
|
|
|
28
28
|
enableRating?: boolean|null;
|
|
29
29
|
enableDisconnectDetection?: NamespaceEnableDisconnectDetection|null;
|
|
30
30
|
disconnectDetectionTimeoutSeconds?: number|null;
|
|
31
|
+
createGatheringTriggerType?: NamespaceCreateGatheringTriggerType|null;
|
|
31
32
|
createGatheringTriggerRealtimeNamespaceId?: string|null;
|
|
32
33
|
createGatheringTriggerScriptId?: string|null;
|
|
34
|
+
completeMatchmakingTriggerType?: NamespaceCompleteMatchmakingTriggerType|null;
|
|
33
35
|
completeMatchmakingTriggerRealtimeNamespaceId?: string|null;
|
|
34
36
|
completeMatchmakingTriggerScriptId?: string|null;
|
|
35
37
|
enableCollaborateSeasonRating?: NamespaceEnableCollaborateSeasonRating|null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositTransaction.js","sourceRoot":"","sources":["DepositTransaction.ts"],"names":[],"mappings":";;AAiBA,MAAqB,kBAAkB;IAMnC,YACI,KAAa,EACb,KAAa,EACb,UAA0C,IAAI;;QANjC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,gBAAW,GAAgB,IAAI,CAAC;QAO7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,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,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;IACpD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GA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