gs2-cdk 1.0.17 → 1.0.19
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/loginReward/index.d.ts +12 -0
- package/loginReward/index.js +32 -0
- package/loginReward/index.js.map +1 -0
- package/loginReward/index.ts +36 -0
- package/loginReward/model/BonusModel.d.ts +27 -0
- package/loginReward/model/BonusModel.js +90 -0
- package/loginReward/model/BonusModel.js.map +1 -0
- package/loginReward/model/BonusModel.ts +166 -0
- package/loginReward/model/CurrentMasterData.d.ts +13 -0
- package/loginReward/model/CurrentMasterData.js +50 -0
- package/loginReward/model/CurrentMasterData.js.map +1 -0
- package/loginReward/model/CurrentMasterData.ts +70 -0
- package/loginReward/model/Namespace.d.ts +23 -0
- package/loginReward/model/Namespace.js +76 -0
- package/loginReward/model/Namespace.js.map +1 -0
- package/loginReward/model/Namespace.ts +123 -0
- package/loginReward/model/Reward.d.ts +9 -0
- package/loginReward/model/Reward.js +16 -0
- package/loginReward/model/Reward.js.map +1 -0
- package/loginReward/model/Reward.ts +40 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.d.ts +5 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.js +23 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.js.map +1 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.ts +23 -0
- package/loginReward/model/enum/BonusModelMode.d.ts +5 -0
- package/loginReward/model/enum/BonusModelMode.js +23 -0
- package/loginReward/model/enum/BonusModelMode.js.map +1 -0
- package/loginReward/model/enum/BonusModelMode.ts +23 -0
- package/loginReward/model/enum/BonusModelRepeat.d.ts +5 -0
- package/loginReward/model/enum/BonusModelRepeat.js +23 -0
- package/loginReward/model/enum/BonusModelRepeat.js.map +1 -0
- package/loginReward/model/enum/BonusModelRepeat.ts +23 -0
- package/loginReward/model/index.d.ts +15 -0
- package/loginReward/model/index.js +34 -0
- package/loginReward/model/index.js.map +1 -0
- package/loginReward/model/index.ts +46 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js +3 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.ts +28 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js +3 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.ts +28 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.js +3 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.ts +28 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.js +3 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.ts +28 -0
- package/loginReward/model/options/BonusModelOptions.d.ts +11 -0
- package/loginReward/model/options/BonusModelOptions.js +3 -0
- package/loginReward/model/options/BonusModelOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelOptions.ts +31 -0
- package/loginReward/model/options/NamespaceOptions.d.ts +7 -0
- package/loginReward/model/options/NamespaceOptions.js +3 -0
- package/loginReward/model/options/NamespaceOptions.js.map +1 -0
- package/loginReward/model/options/NamespaceOptions.ts +25 -0
- package/loginReward/model/options/RewardOptions.d.ts +2 -0
- package/loginReward/model/options/RewardOptions.js +3 -0
- package/loginReward/model/options/RewardOptions.js.map +1 -0
- package/loginReward/model/options/RewardOptions.ts +20 -0
- package/loginReward/ref/BonusModelRef.d.ts +6 -0
- package/loginReward/ref/BonusModelRef.js +38 -0
- package/loginReward/ref/BonusModelRef.js.map +1 -0
- package/loginReward/ref/BonusModelRef.ts +52 -0
- package/loginReward/ref/NamespaceRef.d.ts +11 -0
- package/loginReward/ref/NamespaceRef.js +48 -0
- package/loginReward/ref/NamespaceRef.js.map +1 -0
- package/loginReward/ref/NamespaceRef.ts +83 -0
- package/loginReward/ref/index.d.ts +3 -0
- package/loginReward/ref/index.js +24 -0
- package/loginReward/ref/index.js.map +1 -0
- package/loginReward/ref/index.ts +22 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.d.ts +4 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js +29 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js.map +1 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.ts +37 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.d.ts +4 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.js +30 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.js.map +1 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.ts +39 -0
- package/loginReward/stampSheet/index.d.ts +3 -0
- package/loginReward/stampSheet/index.js +24 -0
- package/loginReward/stampSheet/index.js.map +1 -0
- package/loginReward/stampSheet/index.ts +22 -0
- package/package.json +1 -1
- package/script/model/Namespace.d.ts +1 -0
- package/script/model/Namespace.js +5 -0
- package/script/model/Namespace.js.map +1 -1
- package/script/model/Namespace.ts +7 -0
- package/stateMachine/index.d.ts +12 -0
- package/stateMachine/index.js +32 -0
- package/stateMachine/index.js.map +1 -0
- package/stateMachine/index.ts +36 -0
- package/stateMachine/integration/ArrayType.d.ts +8 -0
- package/stateMachine/integration/ArrayType.js +18 -0
- package/stateMachine/integration/ArrayType.js.map +1 -0
- package/stateMachine/integration/ArrayType.ts +36 -0
- package/stateMachine/integration/BoolType.d.ts +8 -0
- package/stateMachine/integration/BoolType.js +18 -0
- package/stateMachine/integration/BoolType.js.map +1 -0
- package/stateMachine/integration/BoolType.ts +36 -0
- package/stateMachine/integration/ErrorEvent.d.ts +4 -0
- package/stateMachine/integration/ErrorEvent.js +27 -0
- package/stateMachine/integration/ErrorEvent.js.map +1 -0
- package/stateMachine/integration/ErrorEvent.ts +24 -0
- package/stateMachine/integration/ErrorTask.d.ts +12 -0
- package/stateMachine/integration/ErrorTask.js +27 -0
- package/stateMachine/integration/ErrorTask.js.map +1 -0
- package/stateMachine/integration/ErrorTask.ts +49 -0
- package/stateMachine/integration/Event.d.ts +10 -0
- package/stateMachine/integration/Event.js +15 -0
- package/stateMachine/integration/Event.js.map +1 -0
- package/stateMachine/integration/Event.ts +35 -0
- package/stateMachine/integration/FloatType.d.ts +8 -0
- package/stateMachine/integration/FloatType.js +18 -0
- package/stateMachine/integration/FloatType.js.map +1 -0
- package/stateMachine/integration/FloatType.ts +36 -0
- package/stateMachine/integration/IGslElement.d.ts +3 -0
- package/stateMachine/integration/IGslElement.js +3 -0
- package/stateMachine/integration/IGslElement.js.map +1 -0
- package/stateMachine/integration/IGslElement.ts +18 -0
- package/stateMachine/integration/IMermaidElement.d.ts +3 -0
- package/stateMachine/integration/IMermaidElement.js +3 -0
- package/stateMachine/integration/IMermaidElement.js.map +1 -0
- package/stateMachine/integration/IMermaidElement.ts +18 -0
- package/stateMachine/integration/ITask.d.ts +8 -0
- package/stateMachine/integration/ITask.js +3 -0
- package/stateMachine/integration/ITask.js.map +1 -0
- package/stateMachine/integration/ITask.ts +24 -0
- package/stateMachine/integration/IVariable.d.ts +6 -0
- package/stateMachine/integration/IVariable.js +3 -0
- package/stateMachine/integration/IVariable.js.map +1 -0
- package/stateMachine/integration/IVariable.ts +22 -0
- package/stateMachine/integration/InParam.d.ts +6 -0
- package/stateMachine/integration/InParam.js +10 -0
- package/stateMachine/integration/InParam.js.map +1 -0
- package/stateMachine/integration/InParam.ts +26 -0
- package/stateMachine/integration/IntType.d.ts +8 -0
- package/stateMachine/integration/IntType.js +18 -0
- package/stateMachine/integration/IntType.js.map +1 -0
- package/stateMachine/integration/IntType.ts +36 -0
- package/stateMachine/integration/MapType.d.ts +8 -0
- package/stateMachine/integration/MapType.js +18 -0
- package/stateMachine/integration/MapType.js.map +1 -0
- package/stateMachine/integration/MapType.ts +36 -0
- package/stateMachine/integration/OutParam.d.ts +6 -0
- package/stateMachine/integration/OutParam.js +10 -0
- package/stateMachine/integration/OutParam.js.map +1 -0
- package/stateMachine/integration/OutParam.ts +26 -0
- package/stateMachine/integration/PassTask.d.ts +11 -0
- package/stateMachine/integration/PassTask.js +24 -0
- package/stateMachine/integration/PassTask.js.map +1 -0
- package/stateMachine/integration/PassTask.ts +45 -0
- package/stateMachine/integration/Result.d.ts +7 -0
- package/stateMachine/integration/Result.js +11 -0
- package/stateMachine/integration/Result.js.map +1 -0
- package/stateMachine/integration/Result.ts +28 -0
- package/stateMachine/integration/Script.d.ts +5 -0
- package/stateMachine/integration/Script.js +25 -0
- package/stateMachine/integration/Script.js.map +1 -0
- package/stateMachine/integration/Script.ts +24 -0
- package/stateMachine/integration/StateMachine.d.ts +17 -0
- package/stateMachine/integration/StateMachine.js +83 -0
- package/stateMachine/integration/StateMachine.js.map +1 -0
- package/stateMachine/integration/StateMachine.ts +116 -0
- package/stateMachine/integration/StateMachineDefinition.d.ts +40 -0
- package/stateMachine/integration/StateMachineDefinition.js +107 -0
- package/stateMachine/integration/StateMachineDefinition.js.map +1 -0
- package/stateMachine/integration/StateMachineDefinition.ts +146 -0
- package/stateMachine/integration/StringType.d.ts +8 -0
- package/stateMachine/integration/StringType.js +18 -0
- package/stateMachine/integration/StringType.js.map +1 -0
- package/stateMachine/integration/StringType.ts +36 -0
- package/stateMachine/integration/SubStateMachineTask.d.ts +17 -0
- package/stateMachine/integration/SubStateMachineTask.js +42 -0
- package/stateMachine/integration/SubStateMachineTask.js.map +1 -0
- package/stateMachine/integration/SubStateMachineTask.ts +71 -0
- package/stateMachine/integration/Task.d.ts +19 -0
- package/stateMachine/integration/Task.js +63 -0
- package/stateMachine/integration/Task.js.map +1 -0
- package/stateMachine/integration/Task.ts +98 -0
- package/stateMachine/integration/WaitTask.d.ts +15 -0
- package/stateMachine/integration/WaitTask.js +49 -0
- package/stateMachine/integration/WaitTask.js.map +1 -0
- package/stateMachine/integration/WaitTask.ts +75 -0
- package/stateMachine/integration/indent.d.ts +1 -0
- package/stateMachine/integration/indent.js +22 -0
- package/stateMachine/integration/indent.js.map +1 -0
- package/stateMachine/integration/indent.ts +18 -0
- package/stateMachine/model/Namespace.d.ts +25 -0
- package/stateMachine/model/Namespace.js +89 -0
- package/stateMachine/model/Namespace.js.map +1 -0
- package/stateMachine/model/Namespace.ts +140 -0
- package/stateMachine/model/StackEntry.d.ts +9 -0
- package/stateMachine/model/StackEntry.js +20 -0
- package/stateMachine/model/StackEntry.js.map +1 -0
- package/stateMachine/model/StackEntry.ts +44 -0
- package/stateMachine/model/StateMachineMaster.d.ts +18 -0
- package/stateMachine/model/StateMachineMaster.js +60 -0
- package/stateMachine/model/StateMachineMaster.js.map +1 -0
- package/stateMachine/model/StateMachineMaster.ts +97 -0
- package/stateMachine/model/Variable.d.ts +9 -0
- package/stateMachine/model/Variable.js +20 -0
- package/stateMachine/model/Variable.js.map +1 -0
- package/stateMachine/model/Variable.ts +44 -0
- package/stateMachine/model/index.d.ts +9 -0
- package/stateMachine/model/index.js +28 -0
- package/stateMachine/model/index.js.map +1 -0
- package/stateMachine/model/index.ts +34 -0
- package/stateMachine/model/options/NamespaceOptions.d.ts +10 -0
- package/stateMachine/model/options/NamespaceOptions.js +3 -0
- package/stateMachine/model/options/NamespaceOptions.js.map +1 -0
- package/stateMachine/model/options/NamespaceOptions.ts +27 -0
- package/stateMachine/model/options/StackEntryOptions.d.ts +2 -0
- package/stateMachine/model/options/StackEntryOptions.js +18 -0
- package/stateMachine/model/options/StackEntryOptions.js.map +1 -0
- package/stateMachine/model/options/StackEntryOptions.ts +19 -0
- package/stateMachine/model/options/StateMachineMasterOptions.d.ts +2 -0
- package/stateMachine/model/options/StateMachineMasterOptions.js +18 -0
- package/stateMachine/model/options/StateMachineMasterOptions.js.map +1 -0
- package/stateMachine/model/options/StateMachineMasterOptions.ts +19 -0
- package/stateMachine/model/options/VariableOptions.d.ts +2 -0
- package/stateMachine/model/options/VariableOptions.js +18 -0
- package/stateMachine/model/options/VariableOptions.js.map +1 -0
- package/stateMachine/model/options/VariableOptions.ts +19 -0
- package/stateMachine/ref/NamespaceRef.d.ts +7 -0
- package/stateMachine/ref/NamespaceRef.js +40 -0
- package/stateMachine/ref/NamespaceRef.js.map +1 -0
- package/stateMachine/ref/NamespaceRef.ts +61 -0
- package/stateMachine/ref/StateMachineMasterRef.d.ts +6 -0
- package/stateMachine/ref/StateMachineMasterRef.js +40 -0
- package/stateMachine/ref/StateMachineMasterRef.js.map +1 -0
- package/stateMachine/ref/StateMachineMasterRef.ts +54 -0
- package/stateMachine/ref/index.d.ts +3 -0
- package/stateMachine/ref/index.js +24 -0
- package/stateMachine/ref/index.js.map +1 -0
- package/stateMachine/ref/index.ts +22 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.d.ts +4 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.js +30 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.js.map +1 -0
- package/stateMachine/stampSheet/StartStateMachineByUserId.ts +39 -0
- package/stateMachine/stampSheet/index.d.ts +2 -0
- package/stateMachine/stampSheet/index.js +22 -0
- package/stateMachine/stampSheet/index.js.map +1 -0
- package/stateMachine/stampSheet/index.ts +20 -0
|
@@ -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=StateMachineMasterOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateMachineMasterOptions.js","sourceRoot":"","sources":["StateMachineMasterOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
export interface StateMachineMasterOptions {
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -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=VariableOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VariableOptions.js","sourceRoot":"","sources":["VariableOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
export interface VariableOptions {
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import StartStateMachineByUserId from "../stampSheet/StartStateMachineByUserId";
|
|
2
|
+
export default class NamespaceRef {
|
|
3
|
+
private readonly namespaceName;
|
|
4
|
+
constructor(namespaceName: string);
|
|
5
|
+
startStateMachine(args: string, ttl?: number | null, userId?: string | null): StartStateMachineByUserId;
|
|
6
|
+
grn(): string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
const tslib_1 = require("tslib");
|
|
19
|
+
const func_1 = require("../../core/func");
|
|
20
|
+
const StartStateMachineByUserId_1 = tslib_1.__importDefault(require("../stampSheet/StartStateMachineByUserId"));
|
|
21
|
+
class NamespaceRef {
|
|
22
|
+
constructor(namespaceName) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
}
|
|
25
|
+
startStateMachine(args, ttl = null, userId = "#{userId}") {
|
|
26
|
+
return new StartStateMachineByUserId_1.default(this.namespaceName, args, ttl, userId);
|
|
27
|
+
}
|
|
28
|
+
grn() {
|
|
29
|
+
return new func_1.Join(":", [
|
|
30
|
+
"grn",
|
|
31
|
+
"gs2",
|
|
32
|
+
func_1.GetAttr.region().str(),
|
|
33
|
+
func_1.GetAttr.ownerId().str(),
|
|
34
|
+
"stateMachine",
|
|
35
|
+
this.namespaceName,
|
|
36
|
+
]).str();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.default = NamespaceRef;
|
|
40
|
+
//# sourceMappingURL=NamespaceRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,gHAAgF;AAEhF,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,iBAAiB,CACpB,IAAY,EACZ,MAAmB,IAAI,EACvB,SAAsB,WAAW;QAEjC,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,GAAG,EACH,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,cAAc;YACd,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAzCD,+BAyCC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 {GetAttr, Join} from "../../core/func";
|
|
18
|
+
import StartStateMachineByUserId from "../stampSheet/StartStateMachineByUserId";
|
|
19
|
+
|
|
20
|
+
export default class NamespaceRef {
|
|
21
|
+
private readonly namespaceName: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
) {
|
|
26
|
+
this.namespaceName = namespaceName;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public startStateMachine(
|
|
30
|
+
args: string,
|
|
31
|
+
ttl: number|null = null,
|
|
32
|
+
userId: string|null = "#{userId}",
|
|
33
|
+
): StartStateMachineByUserId {
|
|
34
|
+
return new StartStateMachineByUserId(
|
|
35
|
+
this.namespaceName,
|
|
36
|
+
args,
|
|
37
|
+
ttl,
|
|
38
|
+
userId,
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public grn(
|
|
43
|
+
): string {
|
|
44
|
+
return new Join(
|
|
45
|
+
":",
|
|
46
|
+
[
|
|
47
|
+
"grn",
|
|
48
|
+
"gs2",
|
|
49
|
+
GetAttr.region(
|
|
50
|
+
).str(
|
|
51
|
+
),
|
|
52
|
+
GetAttr.ownerId(
|
|
53
|
+
).str(
|
|
54
|
+
),
|
|
55
|
+
"stateMachine",
|
|
56
|
+
this.namespaceName,
|
|
57
|
+
],
|
|
58
|
+
).str(
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
class StateMachineMasterRef {
|
|
22
|
+
constructor(namespaceName, version) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.version = version;
|
|
25
|
+
}
|
|
26
|
+
grn() {
|
|
27
|
+
return new func_1.Join(":", [
|
|
28
|
+
"grn",
|
|
29
|
+
"gs2",
|
|
30
|
+
func_1.GetAttr.region().str(),
|
|
31
|
+
func_1.GetAttr.ownerId().str(),
|
|
32
|
+
"stateMachine",
|
|
33
|
+
this.namespaceName,
|
|
34
|
+
"master",
|
|
35
|
+
"stateMachine",
|
|
36
|
+
]).str();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.default = StateMachineMasterRef;
|
|
40
|
+
//# sourceMappingURL=StateMachineMasterRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateMachineMasterRef.js","sourceRoot":"","sources":["StateMachineMasterRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAE9C,MAAqB,qBAAqB;IAItC,YACI,aAAqB,EACrB,OAAe;QAEf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,cAAc;YACd,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,cAAc;SACjB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,wCAiCC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import {GetAttr, Join} from "../../core/func";
|
|
20
|
+
|
|
21
|
+
export default class StateMachineMasterRef {
|
|
22
|
+
private readonly namespaceName: string;
|
|
23
|
+
private readonly version: number;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
namespaceName: string,
|
|
27
|
+
version: number,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.version = version;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public grn(
|
|
34
|
+
): string {
|
|
35
|
+
return new Join(
|
|
36
|
+
":",
|
|
37
|
+
[
|
|
38
|
+
"grn",
|
|
39
|
+
"gs2",
|
|
40
|
+
GetAttr.region(
|
|
41
|
+
).str(
|
|
42
|
+
),
|
|
43
|
+
GetAttr.ownerId(
|
|
44
|
+
).str(
|
|
45
|
+
),
|
|
46
|
+
"stateMachine",
|
|
47
|
+
this.namespaceName,
|
|
48
|
+
"master",
|
|
49
|
+
"stateMachine",
|
|
50
|
+
],
|
|
51
|
+
).str(
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StateMachineMasterRef = exports.NamespaceRef = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
* Reserved.
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
* You may not use this file except in compliance with the License.
|
|
11
|
+
* A copy of the License is located at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
* express or implied. See the License for the specific language governing
|
|
18
|
+
* permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
21
|
+
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
|
+
const StateMachineMasterRef_1 = tslib_1.__importDefault(require("./StateMachineMasterRef"));
|
|
23
|
+
exports.StateMachineMasterRef = StateMachineMasterRef_1.default;
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAItC,uBAJG,sBAAY,CAIH;AAHhB,4FAA4D;AAIxD,gCAJG,+BAAqB,CAIH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 NamespaceRef from "./NamespaceRef";
|
|
17
|
+
import StateMachineMasterRef from "./StateMachineMasterRef";
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
NamespaceRef,
|
|
21
|
+
StateMachineMasterRef,
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
const model_1 = require("../../core/model");
|
|
19
|
+
class StartStateMachineByUserId extends model_1.AcquireAction {
|
|
20
|
+
constructor(namespaceName, args = null, ttl = null, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["args"] = args;
|
|
24
|
+
properties["ttl"] = ttl;
|
|
25
|
+
properties["userId"] = userId;
|
|
26
|
+
super("Gs2StateMachine:StartStateMachineByUserId", properties);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.default = StartStateMachineByUserId;
|
|
30
|
+
//# sourceMappingURL=StartStateMachineByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StartStateMachineByUserId.js","sourceRoot":"","sources":["StartStateMachineByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,yBAA0B,SAAQ,qBAAa;IAEhE,YACI,aAAqB,EACrB,OAAoB,IAAI,EACxB,MAAmB,IAAI,EACvB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;QACzB,UAAU,CAAC,KAAK,CAAC,GAAG,GAAG,CAAA;QACvB,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,2CAA2C,EAC3C,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,4CAoBC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 {AcquireAction, ConsumeAction} from "../../core/model";
|
|
18
|
+
|
|
19
|
+
export default class StartStateMachineByUserId extends AcquireAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
args: string|null = null,
|
|
24
|
+
ttl: number|null = null,
|
|
25
|
+
userId: string|null = "#{userId}",
|
|
26
|
+
) {
|
|
27
|
+
let properties: {[name: string]: any} = {};
|
|
28
|
+
|
|
29
|
+
properties["namespaceName"] = namespaceName
|
|
30
|
+
properties["args"] = args
|
|
31
|
+
properties["ttl"] = ttl
|
|
32
|
+
properties["userId"] = userId
|
|
33
|
+
|
|
34
|
+
super(
|
|
35
|
+
"Gs2StateMachine:StartStateMachineByUserId",
|
|
36
|
+
properties,
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartStateMachineByUserId = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
* Reserved.
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
* You may not use this file except in compliance with the License.
|
|
11
|
+
* A copy of the License is located at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
* express or implied. See the License for the specific language governing
|
|
18
|
+
* permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
const StartStateMachineByUserId_1 = tslib_1.__importDefault(require("./StartStateMachineByUserId"));
|
|
21
|
+
exports.StartStateMachineByUserId = StartStateMachineByUserId_1.default;
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oGAAoE;AAGhE,oCAHG,mCAAyB,CAGH"}
|
|
@@ -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
|
+
import StartStateMachineByUserId from "./StartStateMachineByUserId";
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
StartStateMachineByUserId,
|
|
20
|
+
}
|