gs2-cdk 1.0.27 → 1.0.29
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/dictionary/ref/EntryModelRef.d.ts +2 -0
- package/dictionary/ref/EntryModelRef.js +4 -0
- package/dictionary/ref/EntryModelRef.js.map +1 -1
- package/dictionary/ref/EntryModelRef.ts +12 -0
- package/dictionary/ref/NamespaceRef.d.ts +2 -0
- package/dictionary/ref/NamespaceRef.js +4 -0
- package/dictionary/ref/NamespaceRef.js.map +1 -1
- package/dictionary/ref/NamespaceRef.ts +12 -0
- package/dictionary/stampSheet/DeleteEntriesByUserId.d.ts +4 -0
- package/dictionary/stampSheet/DeleteEntriesByUserId.js +29 -0
- package/dictionary/stampSheet/DeleteEntriesByUserId.js.map +1 -0
- package/dictionary/stampSheet/DeleteEntriesByUserId.ts +37 -0
- package/dictionary/stampSheet/index.d.ts +2 -1
- package/dictionary/stampSheet/index.js +3 -1
- package/dictionary/stampSheet/index.js.map +1 -1
- package/dictionary/stampSheet/index.ts +2 -0
- package/experience/ref/NamespaceRef.d.ts +4 -0
- package/experience/ref/NamespaceRef.js +8 -0
- package/experience/ref/NamespaceRef.js.map +1 -1
- package/experience/ref/NamespaceRef.ts +32 -0
- package/experience/stampSheet/SubExperienceByUserId.d.ts +4 -0
- package/experience/stampSheet/SubExperienceByUserId.js +31 -0
- package/experience/stampSheet/SubExperienceByUserId.js.map +1 -0
- package/experience/stampSheet/SubExperienceByUserId.ts +41 -0
- package/experience/stampSheet/SubRankCapByUserId.d.ts +4 -0
- package/experience/stampSheet/SubRankCapByUserId.js +31 -0
- package/experience/stampSheet/SubRankCapByUserId.js.map +1 -0
- package/experience/stampSheet/SubRankCapByUserId.ts +41 -0
- package/experience/stampSheet/index.d.ts +3 -1
- package/experience/stampSheet/index.js +5 -1
- package/experience/stampSheet/index.js.map +1 -1
- package/experience/stampSheet/index.ts +4 -0
- 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 +2 -1
- package/formation/ref/FormModelRef.js +5 -1
- package/formation/ref/FormModelRef.js.map +1 -1
- package/formation/ref/FormModelRef.ts +6 -0
- package/formation/ref/MoldModelRef.d.ts +9 -5
- package/formation/ref/MoldModelRef.js +17 -9
- package/formation/ref/MoldModelRef.js.map +1 -1
- package/formation/ref/MoldModelRef.ts +35 -7
- package/formation/ref/NamespaceRef.d.ts +6 -4
- package/formation/ref/NamespaceRef.js +11 -7
- package/formation/ref/NamespaceRef.js.map +1 -1
- package/formation/ref/NamespaceRef.ts +24 -10
- 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/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/SubMoldCapacityByUserId.d.ts +4 -0
- package/formation/stampSheet/SubMoldCapacityByUserId.js +30 -0
- package/formation/stampSheet/SubMoldCapacityByUserId.js.map +1 -0
- package/formation/stampSheet/SubMoldCapacityByUserId.ts +39 -0
- package/formation/stampSheet/index.d.ts +2 -1
- package/formation/stampSheet/index.js +3 -1
- package/formation/stampSheet/index.js.map +1 -1
- package/formation/stampSheet/index.ts +2 -0
- package/idle/ref/NamespaceRef.d.ts +2 -0
- package/idle/ref/NamespaceRef.js +4 -0
- package/idle/ref/NamespaceRef.js.map +1 -1
- package/idle/ref/NamespaceRef.ts +14 -0
- package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.d.ts +4 -0
- package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.js +30 -0
- package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.js.map +1 -0
- package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.ts +39 -0
- package/idle/stampSheet/index.d.ts +2 -1
- package/idle/stampSheet/index.js +3 -1
- package/idle/stampSheet/index.js.map +1 -1
- package/idle/stampSheet/index.ts +2 -0
- package/inbox/ref/NamespaceRef.d.ts +2 -0
- package/inbox/ref/NamespaceRef.js +4 -0
- package/inbox/ref/NamespaceRef.js.map +1 -1
- package/inbox/ref/NamespaceRef.ts +12 -0
- package/inbox/stampSheet/DeleteMessageByUserId.d.ts +4 -0
- package/inbox/stampSheet/DeleteMessageByUserId.js +29 -0
- package/inbox/stampSheet/DeleteMessageByUserId.js.map +1 -0
- package/inbox/stampSheet/DeleteMessageByUserId.ts +37 -0
- package/inbox/stampSheet/index.d.ts +2 -1
- package/inbox/stampSheet/index.js +3 -1
- package/inbox/stampSheet/index.js.map +1 -1
- package/inbox/stampSheet/index.ts +2 -0
- package/jobQueue/ref/NamespaceRef.d.ts +2 -0
- package/jobQueue/ref/NamespaceRef.js +4 -0
- package/jobQueue/ref/NamespaceRef.js.map +1 -1
- package/jobQueue/ref/NamespaceRef.ts +12 -0
- package/jobQueue/stampSheet/DeleteJobByUserId.d.ts +4 -0
- package/jobQueue/stampSheet/DeleteJobByUserId.js +29 -0
- package/jobQueue/stampSheet/DeleteJobByUserId.js.map +1 -0
- package/jobQueue/stampSheet/DeleteJobByUserId.ts +37 -0
- package/jobQueue/stampSheet/index.d.ts +2 -1
- package/jobQueue/stampSheet/index.js +3 -1
- package/jobQueue/stampSheet/index.js.map +1 -1
- package/jobQueue/stampSheet/index.ts +2 -0
- package/limit/ref/NamespaceRef.d.ts +2 -0
- package/limit/ref/NamespaceRef.js +4 -0
- package/limit/ref/NamespaceRef.js.map +1 -1
- package/limit/ref/NamespaceRef.ts +16 -0
- package/limit/stampSheet/CountDownByUserId.d.ts +4 -0
- package/limit/stampSheet/CountDownByUserId.js +31 -0
- package/limit/stampSheet/CountDownByUserId.js.map +1 -0
- package/limit/stampSheet/CountDownByUserId.ts +41 -0
- package/limit/stampSheet/index.d.ts +2 -1
- package/limit/stampSheet/index.js +3 -1
- package/limit/stampSheet/index.js.map +1 -1
- package/limit/stampSheet/index.ts +2 -0
- package/loginReward/ref/NamespaceRef.d.ts +2 -0
- package/loginReward/ref/NamespaceRef.js +4 -0
- package/loginReward/ref/NamespaceRef.js.map +1 -1
- package/loginReward/ref/NamespaceRef.ts +14 -0
- package/loginReward/stampSheet/UnmarkReceivedByUserId.d.ts +4 -0
- package/loginReward/stampSheet/UnmarkReceivedByUserId.js +30 -0
- package/loginReward/stampSheet/UnmarkReceivedByUserId.js.map +1 -0
- package/loginReward/stampSheet/UnmarkReceivedByUserId.ts +39 -0
- package/loginReward/stampSheet/index.d.ts +2 -1
- package/loginReward/stampSheet/index.js +3 -1
- package/loginReward/stampSheet/index.js.map +1 -1
- package/loginReward/stampSheet/index.ts +2 -0
- package/mission/ref/CounterModelRef.d.ts +2 -0
- package/mission/ref/CounterModelRef.js +4 -0
- package/mission/ref/CounterModelRef.js.map +1 -1
- package/mission/ref/CounterModelRef.ts +13 -0
- package/mission/ref/NamespaceRef.d.ts +4 -0
- package/mission/ref/NamespaceRef.js +8 -0
- package/mission/ref/NamespaceRef.js.map +1 -1
- package/mission/ref/NamespaceRef.ts +28 -0
- package/mission/stampSheet/DecreaseCounterByUserId.d.ts +4 -0
- package/mission/stampSheet/DecreaseCounterByUserId.js +30 -0
- package/mission/stampSheet/DecreaseCounterByUserId.js.map +1 -0
- package/mission/stampSheet/DecreaseCounterByUserId.ts +39 -0
- package/mission/stampSheet/RevertReceiveByUserId.d.ts +4 -0
- package/mission/stampSheet/RevertReceiveByUserId.js +30 -0
- package/mission/stampSheet/RevertReceiveByUserId.js.map +1 -0
- package/mission/stampSheet/RevertReceiveByUserId.ts +39 -0
- package/mission/stampSheet/index.d.ts +3 -1
- package/mission/stampSheet/index.js +5 -1
- package/mission/stampSheet/index.js.map +1 -1
- package/mission/stampSheet/index.ts +4 -0
- package/money/ref/NamespaceRef.d.ts +2 -0
- package/money/ref/NamespaceRef.js +4 -0
- package/money/ref/NamespaceRef.js.map +1 -1
- package/money/ref/NamespaceRef.ts +12 -0
- package/money/stampSheet/RevertRecordReceipt.d.ts +4 -0
- package/money/stampSheet/RevertRecordReceipt.js +29 -0
- package/money/stampSheet/RevertRecordReceipt.js.map +1 -0
- package/money/stampSheet/RevertRecordReceipt.ts +37 -0
- package/money/stampSheet/index.d.ts +2 -1
- package/money/stampSheet/index.js +3 -1
- package/money/stampSheet/index.js.map +1 -1
- package/money/stampSheet/index.ts +2 -0
- package/package.json +1 -1
- package/schedule/ref/NamespaceRef.d.ts +2 -0
- package/schedule/ref/NamespaceRef.js +4 -0
- package/schedule/ref/NamespaceRef.js.map +1 -1
- package/schedule/ref/NamespaceRef.ts +12 -0
- package/schedule/stampSheet/DeleteTriggerByUserId.d.ts +4 -0
- package/schedule/stampSheet/DeleteTriggerByUserId.js +29 -0
- package/schedule/stampSheet/DeleteTriggerByUserId.js.map +1 -0
- package/schedule/stampSheet/DeleteTriggerByUserId.ts +37 -0
- package/schedule/stampSheet/index.d.ts +2 -1
- package/schedule/stampSheet/index.js +3 -1
- package/schedule/stampSheet/index.js.map +1 -1
- package/schedule/stampSheet/index.ts +2 -0
- package/serialKey/ref/NamespaceRef.d.ts +2 -0
- package/serialKey/ref/NamespaceRef.js +4 -0
- package/serialKey/ref/NamespaceRef.js.map +1 -1
- package/serialKey/ref/NamespaceRef.ts +12 -0
- package/serialKey/stampSheet/RevertUseByUserId.d.ts +4 -0
- package/serialKey/stampSheet/RevertUseByUserId.js +29 -0
- package/serialKey/stampSheet/RevertUseByUserId.js.map +1 -0
- package/serialKey/stampSheet/RevertUseByUserId.ts +37 -0
- package/serialKey/stampSheet/index.d.ts +2 -1
- package/serialKey/stampSheet/index.js +3 -1
- package/serialKey/stampSheet/index.js.map +1 -1
- package/serialKey/stampSheet/index.ts +2 -0
- package/showcase/ref/NamespaceRef.d.ts +2 -0
- package/showcase/ref/NamespaceRef.js +4 -0
- package/showcase/ref/NamespaceRef.js.map +1 -1
- package/showcase/ref/NamespaceRef.ts +16 -0
- package/showcase/stampSheet/DecrementPurchaseCountByUserId.d.ts +4 -0
- package/showcase/stampSheet/DecrementPurchaseCountByUserId.js +31 -0
- package/showcase/stampSheet/DecrementPurchaseCountByUserId.js.map +1 -0
- package/showcase/stampSheet/DecrementPurchaseCountByUserId.ts +41 -0
- package/showcase/stampSheet/index.d.ts +2 -1
- package/showcase/stampSheet/index.js +3 -1
- package/showcase/stampSheet/index.js.map +1 -1
- package/showcase/stampSheet/index.ts +2 -0
- package/stamina/ref/NamespaceRef.d.ts +2 -0
- package/stamina/ref/NamespaceRef.js +4 -0
- package/stamina/ref/NamespaceRef.js.map +1 -1
- package/stamina/ref/NamespaceRef.ts +14 -0
- package/stamina/ref/StaminaModelRef.d.ts +2 -0
- package/stamina/ref/StaminaModelRef.js +4 -0
- package/stamina/ref/StaminaModelRef.js.map +1 -1
- package/stamina/ref/StaminaModelRef.ts +13 -0
- package/stamina/stampSheet/DecreaseMaxValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/DecreaseMaxValueByUserId.js +30 -0
- package/stamina/stampSheet/DecreaseMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/DecreaseMaxValueByUserId.ts +39 -0
- package/stamina/stampSheet/index.d.ts +2 -1
- package/stamina/stampSheet/index.js +3 -1
- package/stamina/stampSheet/index.js.map +1 -1
- package/stamina/stampSheet/index.ts +2 -0
|
@@ -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,QAAgB,EAChB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,QAAQ,EACR,MAAM,CACT,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,QAAgB,EAChB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,QAAQ,EACR,MAAM,CACT,CAAC;IACN,CAAC;IAEM,8BAA8B,CACjC,QAAgB,EAChB,KAAa,EACb,aAA4B,EAC5B,SAAqC,IAAI,EACzC,SAAsB,WAAW;QAEjC,OAAO,IAAI,wCAA8B,CACrC,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,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,QAAgB,EAChB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,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,13 +16,14 @@
|
|
|
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";
|
|
23
23
|
import { AcquireAction } from "../../core/model";
|
|
24
24
|
import AcquireActionConfig from "../model/AcquireActionConfig";
|
|
25
25
|
import AcquireActionsToPropertyFormProperties from "../stampSheet/AcquireActionsToPropertyFormProperties";
|
|
26
|
+
import SubMoldCapacityByUserId from "../stampSheet/SubMoldCapacityByUserId";
|
|
26
27
|
|
|
27
28
|
export default class NamespaceRef {
|
|
28
29
|
private readonly namespaceName: string;
|
|
@@ -34,20 +35,20 @@ export default class NamespaceRef {
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
public moldModel(
|
|
37
|
-
|
|
38
|
+
moldModelName: string,
|
|
38
39
|
): MoldModelRef {
|
|
39
40
|
return new MoldModelRef(
|
|
40
41
|
this.namespaceName,
|
|
41
|
-
|
|
42
|
+
moldModelName,
|
|
42
43
|
);
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
public
|
|
46
|
-
|
|
47
|
-
):
|
|
48
|
-
return new
|
|
46
|
+
public propertyFormModel(
|
|
47
|
+
propertyFormModelName: string,
|
|
48
|
+
): PropertyFormModelRef {
|
|
49
|
+
return new PropertyFormModelRef(
|
|
49
50
|
this.namespaceName,
|
|
50
|
-
|
|
51
|
+
propertyFormModelName,
|
|
51
52
|
);
|
|
52
53
|
}
|
|
53
54
|
|
|
@@ -95,7 +96,7 @@ export default class NamespaceRef {
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
public acquireActionsToPropertyFormProperties(
|
|
98
|
-
|
|
99
|
+
propertyFormModelName: string,
|
|
99
100
|
propertyId: string,
|
|
100
101
|
acquireAction: AcquireAction,
|
|
101
102
|
config: AcquireActionConfig[]|null = null,
|
|
@@ -103,7 +104,7 @@ export default class NamespaceRef {
|
|
|
103
104
|
): AcquireActionsToPropertyFormProperties {
|
|
104
105
|
return new AcquireActionsToPropertyFormProperties(
|
|
105
106
|
this.namespaceName,
|
|
106
|
-
|
|
107
|
+
propertyFormModelName,
|
|
107
108
|
propertyId,
|
|
108
109
|
acquireAction,
|
|
109
110
|
config,
|
|
@@ -111,6 +112,19 @@ export default class NamespaceRef {
|
|
|
111
112
|
);
|
|
112
113
|
}
|
|
113
114
|
|
|
115
|
+
public subMoldCapacity(
|
|
116
|
+
moldName: string,
|
|
117
|
+
capacity: number,
|
|
118
|
+
userId: string|null = "#{userId}",
|
|
119
|
+
): SubMoldCapacityByUserId {
|
|
120
|
+
return new SubMoldCapacityByUserId(
|
|
121
|
+
this.namespaceName,
|
|
122
|
+
moldName,
|
|
123
|
+
capacity,
|
|
124
|
+
userId,
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
114
128
|
public grn(
|
|
115
129
|
): string {
|
|
116
130
|
return new Join(
|
|
@@ -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 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
|
|
@@ -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 SubMoldCapacityByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, moldName, capacity, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["moldName"] = moldName;
|
|
24
|
+
properties["capacity"] = capacity;
|
|
25
|
+
properties["userId"] = userId;
|
|
26
|
+
super("Gs2Formation:SubMoldCapacityByUserId", properties);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.default = SubMoldCapacityByUserId;
|
|
30
|
+
//# sourceMappingURL=SubMoldCapacityByUserId.js.map
|
|
@@ -0,0 +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,QAAgB,EAChB,QAAgB,EAChB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAA;QACjC,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"}
|
|
@@ -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 SubMoldCapacityByUserId extends ConsumeAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
moldName: string,
|
|
24
|
+
capacity: number,
|
|
25
|
+
userId: string|null = "#{userId}",
|
|
26
|
+
) {
|
|
27
|
+
let properties: {[name: string]: any} = {};
|
|
28
|
+
|
|
29
|
+
properties["namespaceName"] = namespaceName
|
|
30
|
+
properties["moldName"] = moldName
|
|
31
|
+
properties["capacity"] = capacity
|
|
32
|
+
properties["userId"] = userId
|
|
33
|
+
|
|
34
|
+
super(
|
|
35
|
+
"Gs2Formation:SubMoldCapacityByUserId",
|
|
36
|
+
properties,
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -2,4 +2,5 @@ import AddMoldCapacityByUserId from "./AddMoldCapacityByUserId";
|
|
|
2
2
|
import SetMoldCapacityByUserId from "./SetMoldCapacityByUserId";
|
|
3
3
|
import AcquireActionsToFormProperties from "./AcquireActionsToFormProperties";
|
|
4
4
|
import AcquireActionsToPropertyFormProperties from "./AcquireActionsToPropertyFormProperties";
|
|
5
|
-
|
|
5
|
+
import SubMoldCapacityByUserId from "./SubMoldCapacityByUserId";
|
|
6
|
+
export { AddMoldCapacityByUserId, SetMoldCapacityByUserId, AcquireActionsToFormProperties, AcquireActionsToPropertyFormProperties, SubMoldCapacityByUserId, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AcquireActionsToPropertyFormProperties = exports.AcquireActionsToFormProperties = exports.SetMoldCapacityByUserId = exports.AddMoldCapacityByUserId = void 0;
|
|
3
|
+
exports.SubMoldCapacityByUserId = exports.AcquireActionsToPropertyFormProperties = exports.AcquireActionsToFormProperties = exports.SetMoldCapacityByUserId = exports.AddMoldCapacityByUserId = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -25,4 +25,6 @@ const AcquireActionsToFormProperties_1 = tslib_1.__importDefault(require("./Acqu
|
|
|
25
25
|
exports.AcquireActionsToFormProperties = AcquireActionsToFormProperties_1.default;
|
|
26
26
|
const AcquireActionsToPropertyFormProperties_1 = tslib_1.__importDefault(require("./AcquireActionsToPropertyFormProperties"));
|
|
27
27
|
exports.AcquireActionsToPropertyFormProperties = AcquireActionsToPropertyFormProperties_1.default;
|
|
28
|
+
const SubMoldCapacityByUserId_1 = tslib_1.__importDefault(require("./SubMoldCapacityByUserId"));
|
|
29
|
+
exports.SubMoldCapacityByUserId = SubMoldCapacityByUserId_1.default;
|
|
28
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAgE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAgE;AAO5D,kCAPG,iCAAuB,CAOH;AAN3B,gGAAgE;AAO5D,kCAPG,iCAAuB,CAOH;AAN3B,8GAA8E;AAO1E,yCAPG,wCAA8B,CAOH;AANlC,8HAA8F;AAO1F,iDAPG,gDAAsC,CAOH;AAN1C,gGAAgE;AAO5D,kCAPG,iCAAuB,CAOH"}
|
|
@@ -17,10 +17,12 @@ import AddMoldCapacityByUserId from "./AddMoldCapacityByUserId";
|
|
|
17
17
|
import SetMoldCapacityByUserId from "./SetMoldCapacityByUserId";
|
|
18
18
|
import AcquireActionsToFormProperties from "./AcquireActionsToFormProperties";
|
|
19
19
|
import AcquireActionsToPropertyFormProperties from "./AcquireActionsToPropertyFormProperties";
|
|
20
|
+
import SubMoldCapacityByUserId from "./SubMoldCapacityByUserId";
|
|
20
21
|
|
|
21
22
|
export {
|
|
22
23
|
AddMoldCapacityByUserId,
|
|
23
24
|
SetMoldCapacityByUserId,
|
|
24
25
|
AcquireActionsToFormProperties,
|
|
25
26
|
AcquireActionsToPropertyFormProperties,
|
|
27
|
+
SubMoldCapacityByUserId,
|
|
26
28
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import CategoryModelRef from "./CategoryModelRef";
|
|
2
2
|
import IncreaseMaximumIdleMinutesByUserId from "../stampSheet/IncreaseMaximumIdleMinutesByUserId";
|
|
3
|
+
import DecreaseMaximumIdleMinutesByUserId from "../stampSheet/DecreaseMaximumIdleMinutesByUserId";
|
|
3
4
|
export default class NamespaceRef {
|
|
4
5
|
private readonly namespaceName;
|
|
5
6
|
constructor(namespaceName: string);
|
|
6
7
|
categoryModel(categoryName: string): CategoryModelRef;
|
|
7
8
|
increaseMaximumIdleMinutes(categoryName: string, increaseMinutes?: number | null, userId?: string | null): IncreaseMaximumIdleMinutesByUserId;
|
|
9
|
+
decreaseMaximumIdleMinutes(categoryName: string, decreaseMinutes?: number | null, userId?: string | null): DecreaseMaximumIdleMinutesByUserId;
|
|
8
10
|
grn(): string;
|
|
9
11
|
}
|
package/idle/ref/NamespaceRef.js
CHANGED
|
@@ -19,6 +19,7 @@ const tslib_1 = require("tslib");
|
|
|
19
19
|
const func_1 = require("../../core/func");
|
|
20
20
|
const CategoryModelRef_1 = tslib_1.__importDefault(require("./CategoryModelRef"));
|
|
21
21
|
const IncreaseMaximumIdleMinutesByUserId_1 = tslib_1.__importDefault(require("../stampSheet/IncreaseMaximumIdleMinutesByUserId"));
|
|
22
|
+
const DecreaseMaximumIdleMinutesByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DecreaseMaximumIdleMinutesByUserId"));
|
|
22
23
|
class NamespaceRef {
|
|
23
24
|
constructor(namespaceName) {
|
|
24
25
|
this.namespaceName = namespaceName;
|
|
@@ -29,6 +30,9 @@ class NamespaceRef {
|
|
|
29
30
|
increaseMaximumIdleMinutes(categoryName, increaseMinutes = null, userId = "#{userId}") {
|
|
30
31
|
return new IncreaseMaximumIdleMinutesByUserId_1.default(this.namespaceName, categoryName, increaseMinutes, userId);
|
|
31
32
|
}
|
|
33
|
+
decreaseMaximumIdleMinutes(categoryName, decreaseMinutes = null, userId = "#{userId}") {
|
|
34
|
+
return new DecreaseMaximumIdleMinutesByUserId_1.default(this.namespaceName, categoryName, decreaseMinutes, userId);
|
|
35
|
+
}
|
|
32
36
|
grn() {
|
|
33
37
|
return new func_1.Join(":", [
|
|
34
38
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,kIAAkG;AAElG,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,YAAoB;QAEpB,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,YAAY,CACf,CAAC;IACN,CAAC;IAEM,0BAA0B,CAC7B,YAAoB,EACpB,kBAA+B,IAAI,EACnC,SAAsB,WAAW;QAEjC,OAAO,IAAI,4CAAkC,CACzC,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,eAAe,EACf,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,MAAM;YACN,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,kIAAkG;AAClG,kIAAkG;AAElG,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,YAAoB;QAEpB,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,YAAY,CACf,CAAC;IACN,CAAC;IAEM,0BAA0B,CAC7B,YAAoB,EACpB,kBAA+B,IAAI,EACnC,SAAsB,WAAW;QAEjC,OAAO,IAAI,4CAAkC,CACzC,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,0BAA0B,CAC7B,YAAoB,EACpB,kBAA+B,IAAI,EACnC,SAAsB,WAAW;QAEjC,OAAO,IAAI,4CAAkC,CACzC,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,eAAe,EACf,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,MAAM;YACN,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA/DD,+BA+DC"}
|
package/idle/ref/NamespaceRef.ts
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
import {GetAttr, Join} from "../../core/func";
|
|
18
18
|
import CategoryModelRef from "./CategoryModelRef";
|
|
19
19
|
import IncreaseMaximumIdleMinutesByUserId from "../stampSheet/IncreaseMaximumIdleMinutesByUserId";
|
|
20
|
+
import DecreaseMaximumIdleMinutesByUserId from "../stampSheet/DecreaseMaximumIdleMinutesByUserId";
|
|
20
21
|
|
|
21
22
|
export default class NamespaceRef {
|
|
22
23
|
private readonly namespaceName: string;
|
|
@@ -49,6 +50,19 @@ export default class NamespaceRef {
|
|
|
49
50
|
);
|
|
50
51
|
}
|
|
51
52
|
|
|
53
|
+
public decreaseMaximumIdleMinutes(
|
|
54
|
+
categoryName: string,
|
|
55
|
+
decreaseMinutes: number|null = null,
|
|
56
|
+
userId: string|null = "#{userId}",
|
|
57
|
+
): DecreaseMaximumIdleMinutesByUserId {
|
|
58
|
+
return new DecreaseMaximumIdleMinutesByUserId(
|
|
59
|
+
this.namespaceName,
|
|
60
|
+
categoryName,
|
|
61
|
+
decreaseMinutes,
|
|
62
|
+
userId,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
52
66
|
public grn(
|
|
53
67
|
): string {
|
|
54
68
|
return new Join(
|
|
@@ -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 DecreaseMaximumIdleMinutesByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, categoryName, decreaseMinutes = null, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["categoryName"] = categoryName;
|
|
24
|
+
properties["decreaseMinutes"] = decreaseMinutes;
|
|
25
|
+
properties["userId"] = userId;
|
|
26
|
+
super("Gs2Idle:DecreaseMaximumIdleMinutesByUserId", properties);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.default = DecreaseMaximumIdleMinutesByUserId;
|
|
30
|
+
//# sourceMappingURL=DecreaseMaximumIdleMinutesByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecreaseMaximumIdleMinutesByUserId.js","sourceRoot":"","sources":["DecreaseMaximumIdleMinutesByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,kCAAmC,SAAQ,qBAAa;IAEzE,YACI,aAAqB,EACrB,YAAoB,EACpB,kBAA+B,IAAI,EACnC,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,cAAc,CAAC,GAAG,YAAY,CAAA;QACzC,UAAU,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAA;QAC/C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,4CAA4C,EAC5C,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,qDAoBC"}
|
|
@@ -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 DecreaseMaximumIdleMinutesByUserId extends ConsumeAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
categoryName: string,
|
|
24
|
+
decreaseMinutes: number|null = null,
|
|
25
|
+
userId: string|null = "#{userId}",
|
|
26
|
+
) {
|
|
27
|
+
let properties: {[name: string]: any} = {};
|
|
28
|
+
|
|
29
|
+
properties["namespaceName"] = namespaceName
|
|
30
|
+
properties["categoryName"] = categoryName
|
|
31
|
+
properties["decreaseMinutes"] = decreaseMinutes
|
|
32
|
+
properties["userId"] = userId
|
|
33
|
+
|
|
34
|
+
super(
|
|
35
|
+
"Gs2Idle:DecreaseMaximumIdleMinutesByUserId",
|
|
36
|
+
properties,
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import IncreaseMaximumIdleMinutesByUserId from "./IncreaseMaximumIdleMinutesByUserId";
|
|
2
|
-
|
|
2
|
+
import DecreaseMaximumIdleMinutesByUserId from "./DecreaseMaximumIdleMinutesByUserId";
|
|
3
|
+
export { IncreaseMaximumIdleMinutesByUserId, DecreaseMaximumIdleMinutesByUserId, };
|
package/idle/stampSheet/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IncreaseMaximumIdleMinutesByUserId = void 0;
|
|
3
|
+
exports.DecreaseMaximumIdleMinutesByUserId = exports.IncreaseMaximumIdleMinutesByUserId = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -19,4 +19,6 @@ const tslib_1 = require("tslib");
|
|
|
19
19
|
*/
|
|
20
20
|
const IncreaseMaximumIdleMinutesByUserId_1 = tslib_1.__importDefault(require("./IncreaseMaximumIdleMinutesByUserId"));
|
|
21
21
|
exports.IncreaseMaximumIdleMinutesByUserId = IncreaseMaximumIdleMinutesByUserId_1.default;
|
|
22
|
+
const DecreaseMaximumIdleMinutesByUserId_1 = tslib_1.__importDefault(require("./DecreaseMaximumIdleMinutesByUserId"));
|
|
23
|
+
exports.DecreaseMaximumIdleMinutesByUserId = DecreaseMaximumIdleMinutesByUserId_1.default;
|
|
22
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,sHAAsF;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,sHAAsF;AAIlF,6CAJG,4CAAkC,CAIH;AAHtC,sHAAsF;AAIlF,6CAJG,4CAAkC,CAIH"}
|
package/idle/stampSheet/index.ts
CHANGED
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import IncreaseMaximumIdleMinutesByUserId from "./IncreaseMaximumIdleMinutesByUserId";
|
|
17
|
+
import DecreaseMaximumIdleMinutesByUserId from "./DecreaseMaximumIdleMinutesByUserId";
|
|
17
18
|
|
|
18
19
|
export {
|
|
19
20
|
IncreaseMaximumIdleMinutesByUserId,
|
|
21
|
+
DecreaseMaximumIdleMinutesByUserId,
|
|
20
22
|
}
|