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,140 @@
|
|
|
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 {CdkResource, Stack} from "../../core/model";
|
|
20
|
+
import {GetAttr} from "../../core/func";
|
|
21
|
+
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
22
|
+
import LogSetting from "../../core/model/LogSetting";
|
|
23
|
+
import ScriptNamespace from "../../script/model/Namespace";
|
|
24
|
+
|
|
25
|
+
import NamespaceRef from "../ref/NamespaceRef";
|
|
26
|
+
|
|
27
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
28
|
+
import StateMachineMaster from "./StateMachineMaster";
|
|
29
|
+
import StateMachineDefinition from "../integration/StateMachineDefinition";
|
|
30
|
+
|
|
31
|
+
export default class Namespace extends CdkResource {
|
|
32
|
+
private readonly stack: Stack;
|
|
33
|
+
private readonly name: string;
|
|
34
|
+
private readonly description: string|null = null;
|
|
35
|
+
private readonly startScript: ScriptSetting|null = null;
|
|
36
|
+
private readonly passScript: ScriptSetting|null = null;
|
|
37
|
+
private readonly errorScript: ScriptSetting|null = null;
|
|
38
|
+
private readonly lowestStateMachineVersion: number|null = null;
|
|
39
|
+
private readonly logSetting: LogSetting|null = null;
|
|
40
|
+
|
|
41
|
+
public constructor(
|
|
42
|
+
stack: Stack,
|
|
43
|
+
name: string,
|
|
44
|
+
options: NamespaceOptions|null = null,
|
|
45
|
+
) {
|
|
46
|
+
super(
|
|
47
|
+
"StateMachine_Namespace_" + name
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
this.stack = stack;
|
|
51
|
+
this.name = name;
|
|
52
|
+
this.description = options?.description ?? null;
|
|
53
|
+
this.startScript = options?.startScript ?? null;
|
|
54
|
+
this.passScript = options?.passScript ?? null;
|
|
55
|
+
this.errorScript = options?.errorScript ?? null;
|
|
56
|
+
this.lowestStateMachineVersion = options?.lowestStateMachineVersion ?? null;
|
|
57
|
+
this.logSetting = options?.logSetting ?? null;
|
|
58
|
+
stack.addResource(
|
|
59
|
+
this,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
public alternateKeys(
|
|
65
|
+
) {
|
|
66
|
+
return "name";
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public resourceType(
|
|
70
|
+
): string {
|
|
71
|
+
return "GS2::StateMachine::Namespace";
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public properties(
|
|
75
|
+
): {[name: string]: any} {
|
|
76
|
+
let properties: {[name: string]: any} = {};
|
|
77
|
+
|
|
78
|
+
if (this.name != null) {
|
|
79
|
+
properties["Name"] = this.name;
|
|
80
|
+
}
|
|
81
|
+
if (this.description != null) {
|
|
82
|
+
properties["Description"] = this.description;
|
|
83
|
+
}
|
|
84
|
+
if (this.startScript != null) {
|
|
85
|
+
properties["StartScript"] = this.startScript?.properties(
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
if (this.passScript != null) {
|
|
89
|
+
properties["PassScript"] = this.passScript?.properties(
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
if (this.errorScript != null) {
|
|
93
|
+
properties["ErrorScript"] = this.errorScript?.properties(
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
if (this.lowestStateMachineVersion != null) {
|
|
97
|
+
properties["LowestStateMachineVersion"] = this.lowestStateMachineVersion;
|
|
98
|
+
}
|
|
99
|
+
if (this.logSetting != null) {
|
|
100
|
+
properties["LogSetting"] = this.logSetting?.properties(
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return properties;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public ref(
|
|
108
|
+
): NamespaceRef {
|
|
109
|
+
return new NamespaceRef(
|
|
110
|
+
this.name!,
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
public getAttrNamespaceId(
|
|
115
|
+
): GetAttr {
|
|
116
|
+
return new GetAttr(
|
|
117
|
+
null,
|
|
118
|
+
null,
|
|
119
|
+
"Item.NamespaceId",
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
public stateMachine(
|
|
124
|
+
scriptNamespace: ScriptNamespace,
|
|
125
|
+
definition: StateMachineDefinition
|
|
126
|
+
) {
|
|
127
|
+
definition.appendScripts(
|
|
128
|
+
this.stack,
|
|
129
|
+
scriptNamespace
|
|
130
|
+
);
|
|
131
|
+
new StateMachineMaster(
|
|
132
|
+
this.stack,
|
|
133
|
+
this.name,
|
|
134
|
+
definition.stateMachineName,
|
|
135
|
+
definition.gsl().replace("{scriptNamespaceName}", scriptNamespace.getName())
|
|
136
|
+
).addDependsOn(
|
|
137
|
+
this
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StackEntryOptions } from "./options/StackEntryOptions";
|
|
2
|
+
export default class StackEntry {
|
|
3
|
+
private readonly stateMachineName;
|
|
4
|
+
private readonly taskName;
|
|
5
|
+
constructor(stateMachineName: string, taskName: string, options?: StackEntryOptions | null);
|
|
6
|
+
properties(): {
|
|
7
|
+
[name: string]: any;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class StackEntry {
|
|
4
|
+
constructor(stateMachineName, taskName, options = null) {
|
|
5
|
+
this.stateMachineName = stateMachineName;
|
|
6
|
+
this.taskName = taskName;
|
|
7
|
+
}
|
|
8
|
+
properties() {
|
|
9
|
+
let properties = {};
|
|
10
|
+
if (this.stateMachineName != null) {
|
|
11
|
+
properties["stateMachineName"] = this.stateMachineName;
|
|
12
|
+
}
|
|
13
|
+
if (this.taskName != null) {
|
|
14
|
+
properties["taskName"] = this.taskName;
|
|
15
|
+
}
|
|
16
|
+
return properties;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = StackEntry;
|
|
20
|
+
//# sourceMappingURL=StackEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackEntry.js","sourceRoot":"","sources":["StackEntry.ts"],"names":[],"mappings":";;AAiBA,MAAqB,UAAU;IAI3B,YACI,gBAAwB,EACxB,QAAgB,EAChB,UAAkC,IAAI;QAEtC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC;SAC1D;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1BD,6BA0BC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { StackEntryOptions } from "./options/StackEntryOptions";
|
|
17
|
+
|
|
18
|
+
export default class StackEntry {
|
|
19
|
+
private readonly stateMachineName: string;
|
|
20
|
+
private readonly taskName: string;
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
stateMachineName: string,
|
|
24
|
+
taskName: string,
|
|
25
|
+
options: StackEntryOptions|null = null,
|
|
26
|
+
) {
|
|
27
|
+
this.stateMachineName = stateMachineName;
|
|
28
|
+
this.taskName = taskName;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public properties(
|
|
32
|
+
): {[name: string]: any} {
|
|
33
|
+
let properties: {[name: string]: any} = {};
|
|
34
|
+
|
|
35
|
+
if (this.stateMachineName != null) {
|
|
36
|
+
properties["stateMachineName"] = this.stateMachineName;
|
|
37
|
+
}
|
|
38
|
+
if (this.taskName != null) {
|
|
39
|
+
properties["taskName"] = this.taskName;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return properties;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CdkResource, Stack } from "../../core/model";
|
|
2
|
+
import { GetAttr } from "../../core/func";
|
|
3
|
+
import StateMachineMasterRef from "../ref/StateMachineMasterRef";
|
|
4
|
+
import { StateMachineMasterOptions } from "./options/StateMachineMasterOptions";
|
|
5
|
+
export default class StateMachineMaster extends CdkResource {
|
|
6
|
+
private readonly stack;
|
|
7
|
+
private readonly namespaceName;
|
|
8
|
+
private readonly mainStateMachineName;
|
|
9
|
+
private readonly payload;
|
|
10
|
+
constructor(stack: Stack, namespaceName: string, mainStateMachineName: string, payload: string, options?: StateMachineMasterOptions | null);
|
|
11
|
+
alternateKeys(): string;
|
|
12
|
+
resourceType(): string;
|
|
13
|
+
properties(): {
|
|
14
|
+
[name: string]: any;
|
|
15
|
+
};
|
|
16
|
+
ref(version: number): StateMachineMasterRef;
|
|
17
|
+
getAttrStateMachineId(): GetAttr;
|
|
18
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 tslib_1 = require("tslib");
|
|
21
|
+
const model_1 = require("../../core/model");
|
|
22
|
+
const func_1 = require("../../core/func");
|
|
23
|
+
const StateMachineMasterRef_1 = tslib_1.__importDefault(require("../ref/StateMachineMasterRef"));
|
|
24
|
+
class StateMachineMaster extends model_1.CdkResource {
|
|
25
|
+
constructor(stack, namespaceName, mainStateMachineName, payload, options = null) {
|
|
26
|
+
super("StateMachine_StateMachineMaster_" + namespaceName);
|
|
27
|
+
this.stack = stack;
|
|
28
|
+
this.namespaceName = namespaceName;
|
|
29
|
+
this.mainStateMachineName = mainStateMachineName;
|
|
30
|
+
this.payload = payload;
|
|
31
|
+
stack.addResource(this);
|
|
32
|
+
}
|
|
33
|
+
alternateKeys() {
|
|
34
|
+
return "version";
|
|
35
|
+
}
|
|
36
|
+
resourceType() {
|
|
37
|
+
return "GS2::StateMachine::StateMachineMaster";
|
|
38
|
+
}
|
|
39
|
+
properties() {
|
|
40
|
+
let properties = {};
|
|
41
|
+
if (this.namespaceName != null) {
|
|
42
|
+
properties["NamespaceName"] = this.namespaceName;
|
|
43
|
+
}
|
|
44
|
+
if (this.mainStateMachineName != null) {
|
|
45
|
+
properties["MainStateMachineName"] = this.mainStateMachineName;
|
|
46
|
+
}
|
|
47
|
+
if (this.payload != null) {
|
|
48
|
+
properties["Payload"] = this.payload;
|
|
49
|
+
}
|
|
50
|
+
return properties;
|
|
51
|
+
}
|
|
52
|
+
ref(version) {
|
|
53
|
+
return new StateMachineMasterRef_1.default(this.namespaceName, version);
|
|
54
|
+
}
|
|
55
|
+
getAttrStateMachineId() {
|
|
56
|
+
return new func_1.GetAttr(null, null, "Item.StateMachineId");
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.default = StateMachineMaster;
|
|
60
|
+
//# sourceMappingURL=StateMachineMaster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateMachineMaster.js","sourceRoot":"","sources":["StateMachineMaster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAExC,iGAAiE;AAIjE,MAAqB,kBAAmB,SAAQ,mBAAW;IAMvD,YACI,KAAY,EACZ,aAAqB,EACrB,oBAA4B,EAC5B,OAAe,EACf,UAA0C,IAAI;QAE9C,KAAK,CACD,kCAAkC,GAAG,aAAa,CACrD,CAAC;QAEF,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,SAAS,CAAC;IACrB,CAAC;IAEM,YAAY;QAEf,OAAO,uCAAuC,CAAC;IACnD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,oBAAoB,IAAI,IAAI,EAAE;YACnC,UAAU,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC;SAClE;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG,CACN,OAAe;QAEf,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,OAAQ,CACX,CAAC;IACN,CAAC;IAEM,qBAAqB;QAExB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,IAAI,EACJ,qBAAqB,CACxB,CAAC;IACN,CAAC;CACJ;AAvED,qCAuEC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 {CdkResource, Stack} from "../../core/model";
|
|
20
|
+
import {GetAttr} from "../../core/func";
|
|
21
|
+
|
|
22
|
+
import StateMachineMasterRef from "../ref/StateMachineMasterRef";
|
|
23
|
+
|
|
24
|
+
import { StateMachineMasterOptions } from "./options/StateMachineMasterOptions";
|
|
25
|
+
|
|
26
|
+
export default class StateMachineMaster extends CdkResource {
|
|
27
|
+
private readonly stack: Stack;
|
|
28
|
+
private readonly namespaceName: string;
|
|
29
|
+
private readonly mainStateMachineName: string;
|
|
30
|
+
private readonly payload: string;
|
|
31
|
+
|
|
32
|
+
public constructor(
|
|
33
|
+
stack: Stack,
|
|
34
|
+
namespaceName: string,
|
|
35
|
+
mainStateMachineName: string,
|
|
36
|
+
payload: string,
|
|
37
|
+
options: StateMachineMasterOptions|null = null,
|
|
38
|
+
) {
|
|
39
|
+
super(
|
|
40
|
+
"StateMachine_StateMachineMaster_" + namespaceName
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
this.stack = stack;
|
|
44
|
+
this.namespaceName = namespaceName;
|
|
45
|
+
this.mainStateMachineName = mainStateMachineName;
|
|
46
|
+
this.payload = payload;
|
|
47
|
+
stack.addResource(
|
|
48
|
+
this,
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
public alternateKeys(
|
|
54
|
+
) {
|
|
55
|
+
return "version";
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public resourceType(
|
|
59
|
+
): string {
|
|
60
|
+
return "GS2::StateMachine::StateMachineMaster";
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public properties(
|
|
64
|
+
): {[name: string]: any} {
|
|
65
|
+
let properties: {[name: string]: any} = {};
|
|
66
|
+
|
|
67
|
+
if (this.namespaceName != null) {
|
|
68
|
+
properties["NamespaceName"] = this.namespaceName;
|
|
69
|
+
}
|
|
70
|
+
if (this.mainStateMachineName != null) {
|
|
71
|
+
properties["MainStateMachineName"] = this.mainStateMachineName;
|
|
72
|
+
}
|
|
73
|
+
if (this.payload != null) {
|
|
74
|
+
properties["Payload"] = this.payload;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return properties;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public ref(
|
|
81
|
+
version: number,
|
|
82
|
+
): StateMachineMasterRef {
|
|
83
|
+
return new StateMachineMasterRef(
|
|
84
|
+
this.namespaceName,
|
|
85
|
+
version!,
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
public getAttrStateMachineId(
|
|
90
|
+
): GetAttr {
|
|
91
|
+
return new GetAttr(
|
|
92
|
+
null,
|
|
93
|
+
null,
|
|
94
|
+
"Item.StateMachineId",
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariableOptions } from "./options/VariableOptions";
|
|
2
|
+
export default class Variable {
|
|
3
|
+
private readonly stateMachineName;
|
|
4
|
+
private readonly value;
|
|
5
|
+
constructor(stateMachineName: string, value: string, options?: VariableOptions | null);
|
|
6
|
+
properties(): {
|
|
7
|
+
[name: string]: any;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Variable {
|
|
4
|
+
constructor(stateMachineName, value, options = null) {
|
|
5
|
+
this.stateMachineName = stateMachineName;
|
|
6
|
+
this.value = value;
|
|
7
|
+
}
|
|
8
|
+
properties() {
|
|
9
|
+
let properties = {};
|
|
10
|
+
if (this.stateMachineName != null) {
|
|
11
|
+
properties["stateMachineName"] = this.stateMachineName;
|
|
12
|
+
}
|
|
13
|
+
if (this.value != null) {
|
|
14
|
+
properties["value"] = this.value;
|
|
15
|
+
}
|
|
16
|
+
return properties;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = Variable;
|
|
20
|
+
//# sourceMappingURL=Variable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Variable.js","sourceRoot":"","sources":["Variable.ts"],"names":[],"mappings":";;AAiBA,MAAqB,QAAQ;IAIzB,YACI,gBAAwB,EACxB,KAAa,EACb,UAAgC,IAAI;QAEpC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC;SAC1D;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;AA1BD,2BA0BC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { VariableOptions } from "./options/VariableOptions";
|
|
17
|
+
|
|
18
|
+
export default class Variable {
|
|
19
|
+
private readonly stateMachineName: string;
|
|
20
|
+
private readonly value: string;
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
stateMachineName: string,
|
|
24
|
+
value: string,
|
|
25
|
+
options: VariableOptions|null = null,
|
|
26
|
+
) {
|
|
27
|
+
this.stateMachineName = stateMachineName;
|
|
28
|
+
this.value = value;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public properties(
|
|
32
|
+
): {[name: string]: any} {
|
|
33
|
+
let properties: {[name: string]: any} = {};
|
|
34
|
+
|
|
35
|
+
if (this.stateMachineName != null) {
|
|
36
|
+
properties["stateMachineName"] = this.stateMachineName;
|
|
37
|
+
}
|
|
38
|
+
if (this.value != null) {
|
|
39
|
+
properties["value"] = this.value;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return properties;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Namespace from "./Namespace";
|
|
2
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
|
+
import StateMachineMaster from "./StateMachineMaster";
|
|
4
|
+
import { StateMachineMasterOptions } from "./options/StateMachineMasterOptions";
|
|
5
|
+
import StackEntry from "./StackEntry";
|
|
6
|
+
import { StackEntryOptions } from "./options/StackEntryOptions";
|
|
7
|
+
import Variable from "./Variable";
|
|
8
|
+
import { VariableOptions } from "./options/VariableOptions";
|
|
9
|
+
export { Namespace, NamespaceOptions, StateMachineMaster, StateMachineMasterOptions, StackEntry, StackEntryOptions, Variable, VariableOptions, };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Variable = exports.StackEntry = exports.StateMachineMaster = exports.Namespace = 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 Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
21
|
+
exports.Namespace = Namespace_1.default;
|
|
22
|
+
const StateMachineMaster_1 = tslib_1.__importDefault(require("./StateMachineMaster"));
|
|
23
|
+
exports.StateMachineMaster = StateMachineMaster_1.default;
|
|
24
|
+
const StackEntry_1 = tslib_1.__importDefault(require("./StackEntry"));
|
|
25
|
+
exports.StackEntry = StackEntry_1.default;
|
|
26
|
+
const Variable_1 = tslib_1.__importDefault(require("./Variable"));
|
|
27
|
+
exports.Variable = Variable_1.default;
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAUhC,oBAVG,mBAAS,CAUH;AARb,sFAAsD;AAUlD,6BAVG,4BAAkB,CAUH;AARtB,sEAAsC;AAUlC,qBAVG,oBAAU,CAUH;AARd,kEAAkC;AAU9B,mBAVG,kBAAQ,CAUH"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 Namespace from "./Namespace";
|
|
17
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
|
+
import StateMachineMaster from "./StateMachineMaster";
|
|
19
|
+
import { StateMachineMasterOptions } from "./options/StateMachineMasterOptions";
|
|
20
|
+
import StackEntry from "./StackEntry";
|
|
21
|
+
import { StackEntryOptions } from "./options/StackEntryOptions";
|
|
22
|
+
import Variable from "./Variable";
|
|
23
|
+
import { VariableOptions } from "./options/VariableOptions";
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
Namespace,
|
|
27
|
+
NamespaceOptions,
|
|
28
|
+
StateMachineMaster,
|
|
29
|
+
StateMachineMasterOptions,
|
|
30
|
+
StackEntry,
|
|
31
|
+
StackEntryOptions,
|
|
32
|
+
Variable,
|
|
33
|
+
VariableOptions,
|
|
34
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
2
|
+
import LogSetting from "../../../core/model/LogSetting";
|
|
3
|
+
export interface NamespaceOptions {
|
|
4
|
+
description?: string | null;
|
|
5
|
+
startScript?: ScriptSetting | null;
|
|
6
|
+
passScript?: ScriptSetting | null;
|
|
7
|
+
errorScript?: ScriptSetting | null;
|
|
8
|
+
lowestStateMachineVersion?: number | null;
|
|
9
|
+
logSetting?: LogSetting | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceOptions.js","sourceRoot":"","sources":["NamespaceOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 ScriptSetting from "../../../core/model/ScriptSetting";
|
|
17
|
+
import LogSetting from "../../../core/model/LogSetting";
|
|
18
|
+
|
|
19
|
+
export interface NamespaceOptions {
|
|
20
|
+
description?: string|null;
|
|
21
|
+
startScript?: ScriptSetting|null;
|
|
22
|
+
passScript?: ScriptSetting|null;
|
|
23
|
+
errorScript?: ScriptSetting|null;
|
|
24
|
+
lowestStateMachineVersion?: number|null;
|
|
25
|
+
logSetting?: LogSetting|null;
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -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=StackEntryOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackEntryOptions.js","sourceRoot":"","sources":["StackEntryOptions.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 StackEntryOptions {
|
|
18
|
+
}
|
|
19
|
+
|