gs2-cdk 1.0.133 → 1.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/buff/model/BuffTargetAction.d.ts +2 -1
- package/buff/model/BuffTargetAction.js +1 -1
- package/buff/model/BuffTargetAction.js.map +1 -1
- package/buff/model/BuffTargetAction.ts +4 -3
- package/buff/model/BuffTargetModel.d.ts +2 -1
- package/buff/model/BuffTargetModel.js +1 -1
- package/buff/model/BuffTargetModel.js.map +1 -1
- package/buff/model/BuffTargetModel.ts +4 -3
- package/identifier/model/index.js +2 -0
- package/identifier/model/index.js.map +1 -1
- package/identifier/model/index.ts +2 -0
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import BuffTargetGrn from "./BuffTargetGrn";
|
|
2
2
|
import { BuffTargetActionOptions } from "./options/BuffTargetActionOptions";
|
|
3
|
+
import { BuffTargetActionTargetActionName } from "./enums/BuffTargetActionTargetActionName";
|
|
3
4
|
export default class BuffTargetAction {
|
|
4
5
|
private readonly targetActionName;
|
|
5
6
|
private readonly targetFieldName;
|
|
6
7
|
private readonly conditionGrns;
|
|
7
8
|
private readonly rate;
|
|
8
|
-
constructor(targetActionName:
|
|
9
|
+
constructor(targetActionName: BuffTargetActionTargetActionName, targetFieldName: string, conditionGrns: BuffTargetGrn[], rate: number, options?: BuffTargetActionOptions | null);
|
|
9
10
|
properties(): {
|
|
10
11
|
[name: string]: any;
|
|
11
12
|
};
|
|
@@ -10,7 +10,7 @@ class BuffTargetAction {
|
|
|
10
10
|
properties() {
|
|
11
11
|
let properties = {};
|
|
12
12
|
if (this.targetActionName != null) {
|
|
13
|
-
properties["targetActionName"] = this.targetActionName;
|
|
13
|
+
properties["targetActionName"] = this.targetActionName.toString();
|
|
14
14
|
}
|
|
15
15
|
if (this.targetFieldName != null) {
|
|
16
16
|
properties["targetFieldName"] = this.targetFieldName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuffTargetAction.js","sourceRoot":"","sources":["BuffTargetAction.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"BuffTargetAction.js","sourceRoot":"","sources":["BuffTargetAction.ts"],"names":[],"mappings":";;AAqBA,MAAqB,gBAAgB;IAMjC,YACI,gBAAkD,EAClD,eAAuB,EACvB,aAA8B,EAC9B,IAAY,EACZ,UAAwC,IAAI;QAE5C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,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,QAAQ,EAAE,CAAC;SACrE;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACjE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAvCD,mCAuCC"}
|
|
@@ -17,15 +17,16 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import BuffTargetGrn from "./BuffTargetGrn";
|
|
19
19
|
import { BuffTargetActionOptions } from "./options/BuffTargetActionOptions";
|
|
20
|
+
import { BuffTargetActionTargetActionName } from "./enums/BuffTargetActionTargetActionName";
|
|
20
21
|
|
|
21
22
|
export default class BuffTargetAction {
|
|
22
|
-
private readonly targetActionName:
|
|
23
|
+
private readonly targetActionName: BuffTargetActionTargetActionName;
|
|
23
24
|
private readonly targetFieldName: string;
|
|
24
25
|
private readonly conditionGrns: BuffTargetGrn[];
|
|
25
26
|
private readonly rate: number;
|
|
26
27
|
|
|
27
28
|
public constructor(
|
|
28
|
-
targetActionName:
|
|
29
|
+
targetActionName: BuffTargetActionTargetActionName,
|
|
29
30
|
targetFieldName: string,
|
|
30
31
|
conditionGrns: BuffTargetGrn[],
|
|
31
32
|
rate: number,
|
|
@@ -42,7 +43,7 @@ export default class BuffTargetAction {
|
|
|
42
43
|
let properties: {[name: string]: any} = {};
|
|
43
44
|
|
|
44
45
|
if (this.targetActionName != null) {
|
|
45
|
-
properties["targetActionName"] = this.targetActionName;
|
|
46
|
+
properties["targetActionName"] = this.targetActionName.toString();
|
|
46
47
|
}
|
|
47
48
|
if (this.targetFieldName != null) {
|
|
48
49
|
properties["targetFieldName"] = this.targetFieldName;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import BuffTargetGrn from "./BuffTargetGrn";
|
|
2
2
|
import { BuffTargetModelOptions } from "./options/BuffTargetModelOptions";
|
|
3
|
+
import { BuffTargetModelTargetModelName } from "./enums/BuffTargetModelTargetModelName";
|
|
3
4
|
export default class BuffTargetModel {
|
|
4
5
|
private readonly targetModelName;
|
|
5
6
|
private readonly targetFieldName;
|
|
6
7
|
private readonly conditionGrns;
|
|
7
8
|
private readonly rate;
|
|
8
|
-
constructor(targetModelName:
|
|
9
|
+
constructor(targetModelName: BuffTargetModelTargetModelName, targetFieldName: string, conditionGrns: BuffTargetGrn[], rate: number, options?: BuffTargetModelOptions | null);
|
|
9
10
|
properties(): {
|
|
10
11
|
[name: string]: any;
|
|
11
12
|
};
|
|
@@ -10,7 +10,7 @@ class BuffTargetModel {
|
|
|
10
10
|
properties() {
|
|
11
11
|
let properties = {};
|
|
12
12
|
if (this.targetModelName != null) {
|
|
13
|
-
properties["targetModelName"] = this.targetModelName;
|
|
13
|
+
properties["targetModelName"] = this.targetModelName.toString();
|
|
14
14
|
}
|
|
15
15
|
if (this.targetFieldName != null) {
|
|
16
16
|
properties["targetFieldName"] = this.targetFieldName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuffTargetModel.js","sourceRoot":"","sources":["BuffTargetModel.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"BuffTargetModel.js","sourceRoot":"","sources":["BuffTargetModel.ts"],"names":[],"mappings":";;AAqBA,MAAqB,eAAe;IAMhC,YACI,eAA+C,EAC/C,eAAuB,EACvB,aAA8B,EAC9B,IAAY,EACZ,UAAuC,IAAI;QAE3C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC;SACnE;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACjE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAvCD,kCAuCC"}
|
|
@@ -17,15 +17,16 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import BuffTargetGrn from "./BuffTargetGrn";
|
|
19
19
|
import { BuffTargetModelOptions } from "./options/BuffTargetModelOptions";
|
|
20
|
+
import { BuffTargetModelTargetModelName } from "./enums/BuffTargetModelTargetModelName";
|
|
20
21
|
|
|
21
22
|
export default class BuffTargetModel {
|
|
22
|
-
private readonly targetModelName:
|
|
23
|
+
private readonly targetModelName: BuffTargetModelTargetModelName;
|
|
23
24
|
private readonly targetFieldName: string;
|
|
24
25
|
private readonly conditionGrns: BuffTargetGrn[];
|
|
25
26
|
private readonly rate: number;
|
|
26
27
|
|
|
27
28
|
public constructor(
|
|
28
|
-
targetModelName:
|
|
29
|
+
targetModelName: BuffTargetModelTargetModelName,
|
|
29
30
|
targetFieldName: string,
|
|
30
31
|
conditionGrns: BuffTargetGrn[],
|
|
31
32
|
rate: number,
|
|
@@ -42,7 +43,7 @@ export default class BuffTargetModel {
|
|
|
42
43
|
let properties: {[name: string]: any} = {};
|
|
43
44
|
|
|
44
45
|
if (this.targetModelName != null) {
|
|
45
|
-
properties["targetModelName"] = this.targetModelName;
|
|
46
|
+
properties["targetModelName"] = this.targetModelName.toString();
|
|
46
47
|
}
|
|
47
48
|
if (this.targetFieldName != null) {
|
|
48
49
|
properties["targetFieldName"] = this.targetFieldName;
|
|
@@ -16,6 +16,8 @@ const tslib_1 = require("tslib");
|
|
|
16
16
|
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
17
|
* express or implied. See the License for the specific language governing
|
|
18
18
|
* permissions and limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* deny overwrite
|
|
19
21
|
*/
|
|
20
22
|
const User_1 = tslib_1.__importDefault(require("./User"));
|
|
21
23
|
exports.User = User_1.default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,0DAA0B;AAsBtB,eAtBG,cAAI,CAsBH;AApBR,8EAA8C;AAsB1C,yBAtBG,wBAAc,CAsBH;AApBlB,sEAAsC;AAsBlC,qBAtBG,oBAAU,CAsBH;AApBd,kEAAkC;AAsB9B,mBAtBG,kBAAQ,CAsBH;AApBZ,yGAAsG;AAsBlG,sHAtBK,6EAAqC,OAsBL;AAnBzC,0FAA0D;AAsBtD,+BAtBG,8BAAoB,CAsBH;AApBxB,0EAA0C;AAsBtC,uBAtBG,sBAAY,CAsBH;AApBhB,8GAA8E;AAsB1E,yCAtBG,wCAA8B,CAsBH;AApBlC,uGAAoG;AAsBhG,qHAtBK,2EAAoC,OAsBL;AArBxC,8DAA8B;AAsB1B,iBAtBG,gBAAM,CAsBH;AArBV,oEAAoC;AAsBhC,oBAtBG,mBAAS,CAsBH"}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
13
|
* express or implied. See the License for the specific language governing
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* deny overwrite
|
|
15
17
|
*/
|
|
16
18
|
import User from "./User";
|
|
17
19
|
import { UserOptions } from "./options/UserOptions";
|