gs2-cdk 1.0.28 → 1.0.30
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/formation/model/CurrentMasterData.d.ts +3 -3
- package/formation/model/CurrentMasterData.js +4 -4
- package/formation/model/CurrentMasterData.js.map +1 -1
- package/formation/model/CurrentMasterData.ts +6 -6
- package/formation/model/Namespace.d.ts +2 -2
- package/formation/model/Namespace.js +2 -2
- package/formation/model/Namespace.js.map +1 -1
- package/formation/model/Namespace.ts +3 -3
- package/formation/model/PropertyFormModel.d.ts +11 -0
- package/formation/model/PropertyFormModel.js +26 -0
- package/formation/model/PropertyFormModel.js.map +1 -0
- package/formation/model/PropertyFormModel.ts +51 -0
- package/formation/model/index.d.ts +3 -1
- package/formation/model/index.js +3 -1
- package/formation/model/index.js.map +1 -1
- package/formation/model/index.ts +4 -0
- package/formation/model/options/PropertyFormModelOptions.d.ts +3 -0
- package/formation/model/options/PropertyFormModelOptions.js +3 -0
- package/formation/model/options/PropertyFormModelOptions.js.map +1 -0
- package/formation/model/options/PropertyFormModelOptions.ts +21 -0
- package/formation/ref/FormModelRef.d.ts +3 -2
- package/formation/ref/FormModelRef.js +7 -3
- package/formation/ref/FormModelRef.js.map +1 -1
- package/formation/ref/FormModelRef.ts +7 -2
- package/formation/ref/MoldModelRef.d.ts +4 -2
- package/formation/ref/MoldModelRef.js +11 -7
- package/formation/ref/MoldModelRef.js.map +1 -1
- package/formation/ref/MoldModelRef.ts +19 -8
- package/formation/ref/NamespaceRef.d.ts +8 -8
- package/formation/ref/NamespaceRef.js +15 -15
- package/formation/ref/NamespaceRef.js.map +1 -1
- package/formation/ref/NamespaceRef.ts +18 -18
- package/formation/ref/PropertyFormModelRef.d.ts +10 -0
- package/formation/ref/PropertyFormModelRef.js +44 -0
- package/formation/ref/PropertyFormModelRef.js.map +1 -0
- package/formation/ref/PropertyFormModelRef.ts +72 -0
- package/formation/ref/index.d.ts +2 -1
- package/formation/ref/index.js +3 -1
- package/formation/ref/index.js.map +1 -1
- package/formation/ref/index.ts +2 -0
- package/formation/stampSheet/AcquireActionsToFormProperties.d.ts +1 -1
- package/formation/stampSheet/AcquireActionsToFormProperties.js +2 -2
- package/formation/stampSheet/AcquireActionsToFormProperties.js.map +1 -1
- package/formation/stampSheet/AcquireActionsToFormProperties.ts +2 -2
- package/formation/stampSheet/AcquireActionsToPropertyFormProperties.d.ts +1 -1
- package/formation/stampSheet/AcquireActionsToPropertyFormProperties.js +2 -2
- package/formation/stampSheet/AcquireActionsToPropertyFormProperties.js.map +1 -1
- package/formation/stampSheet/AcquireActionsToPropertyFormProperties.ts +2 -2
- package/formation/stampSheet/AddMoldCapacityByUserId.d.ts +1 -1
- package/formation/stampSheet/AddMoldCapacityByUserId.js +2 -2
- package/formation/stampSheet/AddMoldCapacityByUserId.js.map +1 -1
- package/formation/stampSheet/AddMoldCapacityByUserId.ts +2 -2
- package/formation/stampSheet/SetMoldCapacityByUserId.d.ts +1 -1
- package/formation/stampSheet/SetMoldCapacityByUserId.js +2 -2
- package/formation/stampSheet/SetMoldCapacityByUserId.js.map +1 -1
- package/formation/stampSheet/SetMoldCapacityByUserId.ts +2 -2
- package/formation/stampSheet/SubMoldCapacityByUserId.d.ts +1 -1
- package/formation/stampSheet/SubMoldCapacityByUserId.js +2 -2
- package/formation/stampSheet/SubMoldCapacityByUserId.js.map +1 -1
- package/formation/stampSheet/SubMoldCapacityByUserId.ts +2 -2
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
const tslib_1 = require("tslib");
|
|
19
19
|
const func_1 = require("../../core/func");
|
|
20
20
|
const MoldModelRef_1 = tslib_1.__importDefault(require("./MoldModelRef"));
|
|
21
|
-
const
|
|
21
|
+
const PropertyFormModelRef_1 = tslib_1.__importDefault(require("./PropertyFormModelRef"));
|
|
22
22
|
const AddMoldCapacityByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AddMoldCapacityByUserId"));
|
|
23
23
|
const SetMoldCapacityByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SetMoldCapacityByUserId"));
|
|
24
24
|
const AcquireActionsToFormProperties_1 = tslib_1.__importDefault(require("../stampSheet/AcquireActionsToFormProperties"));
|
|
@@ -28,26 +28,26 @@ class NamespaceRef {
|
|
|
28
28
|
constructor(namespaceName) {
|
|
29
29
|
this.namespaceName = namespaceName;
|
|
30
30
|
}
|
|
31
|
-
moldModel(
|
|
32
|
-
return new MoldModelRef_1.default(this.namespaceName,
|
|
31
|
+
moldModel(moldModelName) {
|
|
32
|
+
return new MoldModelRef_1.default(this.namespaceName, moldModelName);
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
return new
|
|
34
|
+
propertyFormModel(propertyFormModelName) {
|
|
35
|
+
return new PropertyFormModelRef_1.default(this.namespaceName, propertyFormModelName);
|
|
36
36
|
}
|
|
37
|
-
addMoldCapacity(
|
|
38
|
-
return new AddMoldCapacityByUserId_1.default(this.namespaceName,
|
|
37
|
+
addMoldCapacity(moldModelName, capacity, userId = "#{userId}") {
|
|
38
|
+
return new AddMoldCapacityByUserId_1.default(this.namespaceName, moldModelName, capacity, userId);
|
|
39
39
|
}
|
|
40
|
-
setMoldCapacity(
|
|
41
|
-
return new SetMoldCapacityByUserId_1.default(this.namespaceName,
|
|
40
|
+
setMoldCapacity(moldModelName, capacity, userId = "#{userId}") {
|
|
41
|
+
return new SetMoldCapacityByUserId_1.default(this.namespaceName, moldModelName, capacity, userId);
|
|
42
42
|
}
|
|
43
|
-
acquireActionsToFormProperties(
|
|
44
|
-
return new AcquireActionsToFormProperties_1.default(this.namespaceName,
|
|
43
|
+
acquireActionsToFormProperties(moldModelName, index, acquireAction, config = null, userId = "#{userId}") {
|
|
44
|
+
return new AcquireActionsToFormProperties_1.default(this.namespaceName, moldModelName, index, acquireAction, config, userId);
|
|
45
45
|
}
|
|
46
|
-
acquireActionsToPropertyFormProperties(
|
|
47
|
-
return new AcquireActionsToPropertyFormProperties_1.default(this.namespaceName,
|
|
46
|
+
acquireActionsToPropertyFormProperties(propertyFormModelName, propertyId, acquireAction, config = null, userId = "#{userId}") {
|
|
47
|
+
return new AcquireActionsToPropertyFormProperties_1.default(this.namespaceName, propertyFormModelName, propertyId, acquireAction, config, userId);
|
|
48
48
|
}
|
|
49
|
-
subMoldCapacity(
|
|
50
|
-
return new SubMoldCapacityByUserId_1.default(this.namespaceName,
|
|
49
|
+
subMoldCapacity(moldModelName, capacity, userId = "#{userId}") {
|
|
50
|
+
return new SubMoldCapacityByUserId_1.default(this.namespaceName, moldModelName, capacity, userId);
|
|
51
51
|
}
|
|
52
52
|
grn() {
|
|
53
53
|
return new func_1.Join(":", [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,0FAA0D;AAC1D,4GAA4E;AAC5E,4GAA4E;AAC5E,0HAA0F;AAG1F,0IAA0G;AAC1G,4GAA4E;AAE5E,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,aAAqB;QAErB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,aAAa,CAChB,CAAC;IACN,CAAC;IAEM,iBAAiB,CACpB,qBAA6B;QAE7B,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,qBAAqB,CACxB,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,aAAqB,EACrB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,QAAQ,EACR,MAAM,CACT,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,aAAqB,EACrB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,QAAQ,EACR,MAAM,CACT,CAAC;IACN,CAAC;IAEM,8BAA8B,CACjC,aAAqB,EACrB,KAAa,EACb,aAA4B,EAC5B,SAAqC,IAAI,EACzC,SAAsB,WAAW;QAEjC,OAAO,IAAI,wCAA8B,CACrC,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,KAAK,EACL,aAAa,EACb,MAAM,EACN,MAAM,CACT,CAAC;IACN,CAAC;IAEM,sCAAsC,CACzC,qBAA6B,EAC7B,UAAkB,EAClB,aAA4B,EAC5B,SAAqC,IAAI,EACzC,SAAsB,WAAW;QAEjC,OAAO,IAAI,gDAAsC,CAC7C,IAAI,CAAC,aAAa,EAClB,qBAAqB,EACrB,UAAU,EACV,aAAa,EACb,MAAM,EACN,MAAM,CACT,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,aAAqB,EACrB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,QAAQ,EACR,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,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvHD,+BAuHC"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import {GetAttr, Join} from "../../core/func";
|
|
18
18
|
import MoldModelRef from "./MoldModelRef";
|
|
19
|
-
import
|
|
19
|
+
import PropertyFormModelRef from "./PropertyFormModelRef";
|
|
20
20
|
import AddMoldCapacityByUserId from "../stampSheet/AddMoldCapacityByUserId";
|
|
21
21
|
import SetMoldCapacityByUserId from "../stampSheet/SetMoldCapacityByUserId";
|
|
22
22
|
import AcquireActionsToFormProperties from "../stampSheet/AcquireActionsToFormProperties";
|
|
@@ -35,51 +35,51 @@ export default class NamespaceRef {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
public moldModel(
|
|
38
|
-
|
|
38
|
+
moldModelName: string,
|
|
39
39
|
): MoldModelRef {
|
|
40
40
|
return new MoldModelRef(
|
|
41
41
|
this.namespaceName,
|
|
42
|
-
|
|
42
|
+
moldModelName,
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
public
|
|
47
|
-
|
|
48
|
-
):
|
|
49
|
-
return new
|
|
46
|
+
public propertyFormModel(
|
|
47
|
+
propertyFormModelName: string,
|
|
48
|
+
): PropertyFormModelRef {
|
|
49
|
+
return new PropertyFormModelRef(
|
|
50
50
|
this.namespaceName,
|
|
51
|
-
|
|
51
|
+
propertyFormModelName,
|
|
52
52
|
);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
public addMoldCapacity(
|
|
56
|
-
|
|
56
|
+
moldModelName: string,
|
|
57
57
|
capacity: number,
|
|
58
58
|
userId: string|null = "#{userId}",
|
|
59
59
|
): AddMoldCapacityByUserId {
|
|
60
60
|
return new AddMoldCapacityByUserId(
|
|
61
61
|
this.namespaceName,
|
|
62
|
-
|
|
62
|
+
moldModelName,
|
|
63
63
|
capacity,
|
|
64
64
|
userId,
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
public setMoldCapacity(
|
|
69
|
-
|
|
69
|
+
moldModelName: string,
|
|
70
70
|
capacity: number,
|
|
71
71
|
userId: string|null = "#{userId}",
|
|
72
72
|
): SetMoldCapacityByUserId {
|
|
73
73
|
return new SetMoldCapacityByUserId(
|
|
74
74
|
this.namespaceName,
|
|
75
|
-
|
|
75
|
+
moldModelName,
|
|
76
76
|
capacity,
|
|
77
77
|
userId,
|
|
78
78
|
);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
public acquireActionsToFormProperties(
|
|
82
|
-
|
|
82
|
+
moldModelName: string,
|
|
83
83
|
index: number,
|
|
84
84
|
acquireAction: AcquireAction,
|
|
85
85
|
config: AcquireActionConfig[]|null = null,
|
|
@@ -87,7 +87,7 @@ export default class NamespaceRef {
|
|
|
87
87
|
): AcquireActionsToFormProperties {
|
|
88
88
|
return new AcquireActionsToFormProperties(
|
|
89
89
|
this.namespaceName,
|
|
90
|
-
|
|
90
|
+
moldModelName,
|
|
91
91
|
index,
|
|
92
92
|
acquireAction,
|
|
93
93
|
config,
|
|
@@ -96,7 +96,7 @@ export default class NamespaceRef {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
public acquireActionsToPropertyFormProperties(
|
|
99
|
-
|
|
99
|
+
propertyFormModelName: string,
|
|
100
100
|
propertyId: string,
|
|
101
101
|
acquireAction: AcquireAction,
|
|
102
102
|
config: AcquireActionConfig[]|null = null,
|
|
@@ -104,7 +104,7 @@ export default class NamespaceRef {
|
|
|
104
104
|
): AcquireActionsToPropertyFormProperties {
|
|
105
105
|
return new AcquireActionsToPropertyFormProperties(
|
|
106
106
|
this.namespaceName,
|
|
107
|
-
|
|
107
|
+
propertyFormModelName,
|
|
108
108
|
propertyId,
|
|
109
109
|
acquireAction,
|
|
110
110
|
config,
|
|
@@ -113,13 +113,13 @@ export default class NamespaceRef {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
public subMoldCapacity(
|
|
116
|
-
|
|
116
|
+
moldModelName: string,
|
|
117
117
|
capacity: number,
|
|
118
118
|
userId: string|null = "#{userId}",
|
|
119
119
|
): SubMoldCapacityByUserId {
|
|
120
120
|
return new SubMoldCapacityByUserId(
|
|
121
121
|
this.namespaceName,
|
|
122
|
-
|
|
122
|
+
moldModelName,
|
|
123
123
|
capacity,
|
|
124
124
|
userId,
|
|
125
125
|
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import AcquireActionsToPropertyFormProperties from "../stampSheet/AcquireActionsToPropertyFormProperties";
|
|
2
|
+
import { AcquireAction } from "../../core/model";
|
|
3
|
+
import AcquireActionConfig from "../model/AcquireActionConfig";
|
|
4
|
+
export default class PropertyFormModelRef {
|
|
5
|
+
private readonly namespaceName;
|
|
6
|
+
private readonly propertyFormModelName;
|
|
7
|
+
constructor(namespaceName: string, propertyFormModelName: string);
|
|
8
|
+
acquireActionsToPropertyFormProperties(propertyId: string, acquireAction: AcquireAction, config?: AcquireActionConfig[] | null, userId?: string | null): AcquireActionsToPropertyFormProperties;
|
|
9
|
+
grn(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AcquireActionsToPropertyFormProperties_1 = tslib_1.__importDefault(require("../stampSheet/AcquireActionsToPropertyFormProperties"));
|
|
21
|
+
class PropertyFormModelRef {
|
|
22
|
+
constructor(namespaceName, propertyFormModelName) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.propertyFormModelName = propertyFormModelName;
|
|
25
|
+
}
|
|
26
|
+
acquireActionsToPropertyFormProperties(propertyId, acquireAction, config = null, userId = "#{userId}") {
|
|
27
|
+
return new AcquireActionsToPropertyFormProperties_1.default(this.namespaceName, this.propertyFormModelName, propertyId, acquireAction, config, userId);
|
|
28
|
+
}
|
|
29
|
+
grn() {
|
|
30
|
+
return new func_1.Join(":", [
|
|
31
|
+
"grn",
|
|
32
|
+
"gs2",
|
|
33
|
+
func_1.GetAttr.region().str(),
|
|
34
|
+
func_1.GetAttr.ownerId().str(),
|
|
35
|
+
"formation",
|
|
36
|
+
this.namespaceName,
|
|
37
|
+
"model",
|
|
38
|
+
"propertyForm",
|
|
39
|
+
this.propertyFormModelName,
|
|
40
|
+
]).str();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.default = PropertyFormModelRef;
|
|
44
|
+
//# sourceMappingURL=PropertyFormModelRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropertyFormModelRef.js","sourceRoot":"","sources":["PropertyFormModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0IAA0G;AAI1G,MAAqB,oBAAoB;IAIrC,YACI,aAAqB,EACrB,qBAA6B;QAE7B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IACvD,CAAC;IAEM,sCAAsC,CACzC,UAAkB,EAClB,aAA4B,EAC5B,SAAqC,IAAI,EACzC,SAAsB,WAAW;QAEjC,OAAO,IAAI,gDAAsC,CAC7C,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,qBAAqB,EAC1B,UAAU,EACV,aAAa,EACb,MAAM,EACN,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,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,cAAc;YACd,IAAI,CAAC,qBAAqB;SAC7B,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAlDD,uCAkDC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 AcquireActionsToPropertyFormProperties from "../stampSheet/AcquireActionsToPropertyFormProperties";
|
|
19
|
+
import { AcquireAction } from "../../core/model";
|
|
20
|
+
import AcquireActionConfig from "../model/AcquireActionConfig";
|
|
21
|
+
|
|
22
|
+
export default class PropertyFormModelRef {
|
|
23
|
+
private readonly namespaceName: string;
|
|
24
|
+
private readonly propertyFormModelName: string;
|
|
25
|
+
|
|
26
|
+
public constructor(
|
|
27
|
+
namespaceName: string,
|
|
28
|
+
propertyFormModelName: string,
|
|
29
|
+
) {
|
|
30
|
+
this.namespaceName = namespaceName;
|
|
31
|
+
this.propertyFormModelName = propertyFormModelName;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public acquireActionsToPropertyFormProperties(
|
|
35
|
+
propertyId: string,
|
|
36
|
+
acquireAction: AcquireAction,
|
|
37
|
+
config: AcquireActionConfig[]|null = null,
|
|
38
|
+
userId: string|null = "#{userId}",
|
|
39
|
+
): AcquireActionsToPropertyFormProperties {
|
|
40
|
+
return new AcquireActionsToPropertyFormProperties(
|
|
41
|
+
this.namespaceName,
|
|
42
|
+
this.propertyFormModelName,
|
|
43
|
+
propertyId,
|
|
44
|
+
acquireAction,
|
|
45
|
+
config,
|
|
46
|
+
userId,
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public grn(
|
|
51
|
+
): string {
|
|
52
|
+
return new Join(
|
|
53
|
+
":",
|
|
54
|
+
[
|
|
55
|
+
"grn",
|
|
56
|
+
"gs2",
|
|
57
|
+
GetAttr.region(
|
|
58
|
+
).str(
|
|
59
|
+
),
|
|
60
|
+
GetAttr.ownerId(
|
|
61
|
+
).str(
|
|
62
|
+
),
|
|
63
|
+
"formation",
|
|
64
|
+
this.namespaceName,
|
|
65
|
+
"model",
|
|
66
|
+
"propertyForm",
|
|
67
|
+
this.propertyFormModelName,
|
|
68
|
+
],
|
|
69
|
+
).str(
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
}
|
package/formation/ref/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import NamespaceRef from "./NamespaceRef";
|
|
2
2
|
import FormModelRef from "./FormModelRef";
|
|
3
3
|
import MoldModelRef from "./MoldModelRef";
|
|
4
|
-
|
|
4
|
+
import PropertyFormModelRef from "./PropertyFormModelRef";
|
|
5
|
+
export { NamespaceRef, FormModelRef, MoldModelRef, PropertyFormModelRef, };
|
package/formation/ref/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MoldModelRef = exports.FormModelRef = exports.NamespaceRef = void 0;
|
|
3
|
+
exports.PropertyFormModelRef = exports.MoldModelRef = exports.FormModelRef = exports.NamespaceRef = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -23,4 +23,6 @@ const FormModelRef_1 = tslib_1.__importDefault(require("./FormModelRef"));
|
|
|
23
23
|
exports.FormModelRef = FormModelRef_1.default;
|
|
24
24
|
const MoldModelRef_1 = tslib_1.__importDefault(require("./MoldModelRef"));
|
|
25
25
|
exports.MoldModelRef = MoldModelRef_1.default;
|
|
26
|
+
const PropertyFormModelRef_1 = tslib_1.__importDefault(require("./PropertyFormModelRef"));
|
|
27
|
+
exports.PropertyFormModelRef = PropertyFormModelRef_1.default;
|
|
26
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,0FAA0D;AAMtD,+BANG,8BAAoB,CAMH"}
|
package/formation/ref/index.ts
CHANGED
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
import NamespaceRef from "./NamespaceRef";
|
|
17
17
|
import FormModelRef from "./FormModelRef";
|
|
18
18
|
import MoldModelRef from "./MoldModelRef";
|
|
19
|
+
import PropertyFormModelRef from "./PropertyFormModelRef";
|
|
19
20
|
|
|
20
21
|
export {
|
|
21
22
|
NamespaceRef,
|
|
22
23
|
FormModelRef,
|
|
23
24
|
MoldModelRef,
|
|
25
|
+
PropertyFormModelRef,
|
|
24
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AcquireAction } from "../../core/model";
|
|
2
2
|
import AcquireActionConfig from "../model/AcquireActionConfig";
|
|
3
3
|
export default class AcquireActionsToFormProperties extends AcquireAction {
|
|
4
|
-
constructor(namespaceName: string,
|
|
4
|
+
constructor(namespaceName: string, moldModelName: string, index: number, acquireAction: AcquireAction, config?: AcquireActionConfig[] | null, userId?: string | null);
|
|
5
5
|
}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class AcquireActionsToFormProperties extends model_1.AcquireAction {
|
|
20
|
-
constructor(namespaceName,
|
|
20
|
+
constructor(namespaceName, moldModelName, index, acquireAction, config = null, userId = "#{userId}") {
|
|
21
21
|
let properties = {};
|
|
22
22
|
properties["namespaceName"] = namespaceName;
|
|
23
|
-
properties["
|
|
23
|
+
properties["moldModelName"] = moldModelName;
|
|
24
24
|
properties["index"] = index;
|
|
25
25
|
properties["acquireAction"] = acquireAction;
|
|
26
26
|
properties["config"] = config;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcquireActionsToFormProperties.js","sourceRoot":"","sources":["AcquireActionsToFormProperties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,8BAA+B,SAAQ,qBAAa;IAErE,YACI,aAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"AcquireActionsToFormProperties.js","sourceRoot":"","sources":["AcquireActionsToFormProperties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,8BAA+B,SAAQ,qBAAa;IAErE,YACI,aAAqB,EACrB,aAAqB,EACrB,KAAa,EACb,aAA4B,EAC5B,SAAqC,IAAI,EACzC,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;QAC3B,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAC7B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,6CAA6C,EAC7C,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAxBD,iDAwBC"}
|
|
@@ -21,7 +21,7 @@ export default class AcquireActionsToFormProperties extends AcquireAction {
|
|
|
21
21
|
|
|
22
22
|
public constructor(
|
|
23
23
|
namespaceName: string,
|
|
24
|
-
|
|
24
|
+
moldModelName: string,
|
|
25
25
|
index: number,
|
|
26
26
|
acquireAction: AcquireAction,
|
|
27
27
|
config: AcquireActionConfig[]|null = null,
|
|
@@ -30,7 +30,7 @@ export default class AcquireActionsToFormProperties extends AcquireAction {
|
|
|
30
30
|
let properties: {[name: string]: any} = {};
|
|
31
31
|
|
|
32
32
|
properties["namespaceName"] = namespaceName
|
|
33
|
-
properties["
|
|
33
|
+
properties["moldModelName"] = moldModelName
|
|
34
34
|
properties["index"] = index
|
|
35
35
|
properties["acquireAction"] = acquireAction
|
|
36
36
|
properties["config"] = config
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AcquireAction } from "../../core/model";
|
|
2
2
|
import AcquireActionConfig from "../model/AcquireActionConfig";
|
|
3
3
|
export default class AcquireActionsToPropertyFormProperties extends AcquireAction {
|
|
4
|
-
constructor(namespaceName: string,
|
|
4
|
+
constructor(namespaceName: string, propertyFormModelName: string, propertyId: string, acquireAction: AcquireAction, config?: AcquireActionConfig[] | null, userId?: string | null);
|
|
5
5
|
}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class AcquireActionsToPropertyFormProperties extends model_1.AcquireAction {
|
|
20
|
-
constructor(namespaceName,
|
|
20
|
+
constructor(namespaceName, propertyFormModelName, propertyId, acquireAction, config = null, userId = "#{userId}") {
|
|
21
21
|
let properties = {};
|
|
22
22
|
properties["namespaceName"] = namespaceName;
|
|
23
|
-
properties["
|
|
23
|
+
properties["propertyFormModelName"] = propertyFormModelName;
|
|
24
24
|
properties["propertyId"] = propertyId;
|
|
25
25
|
properties["acquireAction"] = acquireAction;
|
|
26
26
|
properties["config"] = config;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcquireActionsToPropertyFormProperties.js","sourceRoot":"","sources":["AcquireActionsToPropertyFormProperties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,sCAAuC,SAAQ,qBAAa;IAE7E,YACI,aAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"AcquireActionsToPropertyFormProperties.js","sourceRoot":"","sources":["AcquireActionsToPropertyFormProperties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,sCAAuC,SAAQ,qBAAa;IAE7E,YACI,aAAqB,EACrB,qBAA6B,EAC7B,UAAkB,EAClB,aAA4B,EAC5B,SAAqC,IAAI,EACzC,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,uBAAuB,CAAC,GAAG,qBAAqB,CAAA;QAC3D,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAC7B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,qDAAqD,EACrD,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAxBD,yDAwBC"}
|
|
@@ -21,7 +21,7 @@ export default class AcquireActionsToPropertyFormProperties extends AcquireActio
|
|
|
21
21
|
|
|
22
22
|
public constructor(
|
|
23
23
|
namespaceName: string,
|
|
24
|
-
|
|
24
|
+
propertyFormModelName: string,
|
|
25
25
|
propertyId: string,
|
|
26
26
|
acquireAction: AcquireAction,
|
|
27
27
|
config: AcquireActionConfig[]|null = null,
|
|
@@ -30,7 +30,7 @@ export default class AcquireActionsToPropertyFormProperties extends AcquireActio
|
|
|
30
30
|
let properties: {[name: string]: any} = {};
|
|
31
31
|
|
|
32
32
|
properties["namespaceName"] = namespaceName
|
|
33
|
-
properties["
|
|
33
|
+
properties["propertyFormModelName"] = propertyFormModelName
|
|
34
34
|
properties["propertyId"] = propertyId
|
|
35
35
|
properties["acquireAction"] = acquireAction
|
|
36
36
|
properties["config"] = config
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { AcquireAction } from "../../core/model";
|
|
2
2
|
export default class AddMoldCapacityByUserId extends AcquireAction {
|
|
3
|
-
constructor(namespaceName: string,
|
|
3
|
+
constructor(namespaceName: string, moldModelName: string, capacity: number, userId?: string | null);
|
|
4
4
|
}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class AddMoldCapacityByUserId extends model_1.AcquireAction {
|
|
20
|
-
constructor(namespaceName,
|
|
20
|
+
constructor(namespaceName, moldModelName, capacity, userId = "#{userId}") {
|
|
21
21
|
let properties = {};
|
|
22
22
|
properties["namespaceName"] = namespaceName;
|
|
23
|
-
properties["
|
|
23
|
+
properties["moldModelName"] = moldModelName;
|
|
24
24
|
properties["capacity"] = capacity;
|
|
25
25
|
properties["userId"] = userId;
|
|
26
26
|
super("Gs2Formation:AddMoldCapacityByUserId", properties);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddMoldCapacityByUserId.js","sourceRoot":"","sources":["AddMoldCapacityByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,uBAAwB,SAAQ,qBAAa;IAE9D,YACI,aAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"AddMoldCapacityByUserId.js","sourceRoot":"","sources":["AddMoldCapacityByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,uBAAwB,SAAQ,qBAAa;IAE9D,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAA;QACjC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,sCAAsC,EACtC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,0CAoBC"}
|
|
@@ -20,14 +20,14 @@ export default class AddMoldCapacityByUserId extends AcquireAction {
|
|
|
20
20
|
|
|
21
21
|
public constructor(
|
|
22
22
|
namespaceName: string,
|
|
23
|
-
|
|
23
|
+
moldModelName: string,
|
|
24
24
|
capacity: number,
|
|
25
25
|
userId: string|null = "#{userId}",
|
|
26
26
|
) {
|
|
27
27
|
let properties: {[name: string]: any} = {};
|
|
28
28
|
|
|
29
29
|
properties["namespaceName"] = namespaceName
|
|
30
|
-
properties["
|
|
30
|
+
properties["moldModelName"] = moldModelName
|
|
31
31
|
properties["capacity"] = capacity
|
|
32
32
|
properties["userId"] = userId
|
|
33
33
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { AcquireAction } from "../../core/model";
|
|
2
2
|
export default class SetMoldCapacityByUserId extends AcquireAction {
|
|
3
|
-
constructor(namespaceName: string,
|
|
3
|
+
constructor(namespaceName: string, moldModelName: string, capacity: number, userId?: string | null);
|
|
4
4
|
}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class SetMoldCapacityByUserId extends model_1.AcquireAction {
|
|
20
|
-
constructor(namespaceName,
|
|
20
|
+
constructor(namespaceName, moldModelName, capacity, userId = "#{userId}") {
|
|
21
21
|
let properties = {};
|
|
22
22
|
properties["namespaceName"] = namespaceName;
|
|
23
|
-
properties["
|
|
23
|
+
properties["moldModelName"] = moldModelName;
|
|
24
24
|
properties["capacity"] = capacity;
|
|
25
25
|
properties["userId"] = userId;
|
|
26
26
|
super("Gs2Formation:SetMoldCapacityByUserId", properties);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetMoldCapacityByUserId.js","sourceRoot":"","sources":["SetMoldCapacityByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,uBAAwB,SAAQ,qBAAa;IAE9D,YACI,aAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"SetMoldCapacityByUserId.js","sourceRoot":"","sources":["SetMoldCapacityByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,uBAAwB,SAAQ,qBAAa;IAE9D,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAA;QACjC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,sCAAsC,EACtC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,0CAoBC"}
|
|
@@ -20,14 +20,14 @@ export default class SetMoldCapacityByUserId extends AcquireAction {
|
|
|
20
20
|
|
|
21
21
|
public constructor(
|
|
22
22
|
namespaceName: string,
|
|
23
|
-
|
|
23
|
+
moldModelName: string,
|
|
24
24
|
capacity: number,
|
|
25
25
|
userId: string|null = "#{userId}",
|
|
26
26
|
) {
|
|
27
27
|
let properties: {[name: string]: any} = {};
|
|
28
28
|
|
|
29
29
|
properties["namespaceName"] = namespaceName
|
|
30
|
-
properties["
|
|
30
|
+
properties["moldModelName"] = moldModelName
|
|
31
31
|
properties["capacity"] = capacity
|
|
32
32
|
properties["userId"] = userId
|
|
33
33
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ConsumeAction } from "../../core/model";
|
|
2
2
|
export default class SubMoldCapacityByUserId extends ConsumeAction {
|
|
3
|
-
constructor(namespaceName: string,
|
|
3
|
+
constructor(namespaceName: string, moldModelName: string, capacity: number, userId?: string | null);
|
|
4
4
|
}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class SubMoldCapacityByUserId extends model_1.ConsumeAction {
|
|
20
|
-
constructor(namespaceName,
|
|
20
|
+
constructor(namespaceName, moldModelName, capacity, userId = "#{userId}") {
|
|
21
21
|
let properties = {};
|
|
22
22
|
properties["namespaceName"] = namespaceName;
|
|
23
|
-
properties["
|
|
23
|
+
properties["moldModelName"] = moldModelName;
|
|
24
24
|
properties["capacity"] = capacity;
|
|
25
25
|
properties["userId"] = userId;
|
|
26
26
|
super("Gs2Formation:SubMoldCapacityByUserId", properties);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubMoldCapacityByUserId.js","sourceRoot":"","sources":["SubMoldCapacityByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,uBAAwB,SAAQ,qBAAa;IAE9D,YACI,aAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"SubMoldCapacityByUserId.js","sourceRoot":"","sources":["SubMoldCapacityByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,uBAAwB,SAAQ,qBAAa;IAE9D,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAA;QACjC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,sCAAsC,EACtC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,0CAoBC"}
|
|
@@ -20,14 +20,14 @@ export default class SubMoldCapacityByUserId extends ConsumeAction {
|
|
|
20
20
|
|
|
21
21
|
public constructor(
|
|
22
22
|
namespaceName: string,
|
|
23
|
-
|
|
23
|
+
moldModelName: string,
|
|
24
24
|
capacity: number,
|
|
25
25
|
userId: string|null = "#{userId}",
|
|
26
26
|
) {
|
|
27
27
|
let properties: {[name: string]: any} = {};
|
|
28
28
|
|
|
29
29
|
properties["namespaceName"] = namespaceName
|
|
30
|
-
properties["
|
|
30
|
+
properties["moldModelName"] = moldModelName
|
|
31
31
|
properties["capacity"] = capacity
|
|
32
32
|
properties["userId"] = userId
|
|
33
33
|
|