gs2-cdk 1.0.27 → 1.0.28
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/ref/MoldModelRef.d.ts +2 -0
- package/formation/ref/MoldModelRef.js +4 -0
- package/formation/ref/MoldModelRef.js.map +1 -1
- package/formation/ref/MoldModelRef.ts +13 -0
- package/formation/ref/NamespaceRef.d.ts +2 -0
- package/formation/ref/NamespaceRef.js +4 -0
- package/formation/ref/NamespaceRef.js.map +1 -1
- package/formation/ref/NamespaceRef.ts +14 -0
- 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
|
@@ -6,6 +6,7 @@ import AcquireActionsToFormProperties from "../stampSheet/AcquireActionsToFormPr
|
|
|
6
6
|
import { AcquireAction } from "../../core/model";
|
|
7
7
|
import AcquireActionConfig from "../model/AcquireActionConfig";
|
|
8
8
|
import AcquireActionsToPropertyFormProperties from "../stampSheet/AcquireActionsToPropertyFormProperties";
|
|
9
|
+
import SubMoldCapacityByUserId from "../stampSheet/SubMoldCapacityByUserId";
|
|
9
10
|
export default class NamespaceRef {
|
|
10
11
|
private readonly namespaceName;
|
|
11
12
|
constructor(namespaceName: string);
|
|
@@ -15,5 +16,6 @@ export default class NamespaceRef {
|
|
|
15
16
|
setMoldCapacity(moldName: string, capacity: number, userId?: string | null): SetMoldCapacityByUserId;
|
|
16
17
|
acquireActionsToFormProperties(moldName: string, index: number, acquireAction: AcquireAction, config?: AcquireActionConfig[] | null, userId?: string | null): AcquireActionsToFormProperties;
|
|
17
18
|
acquireActionsToPropertyFormProperties(formModelName: string, propertyId: string, acquireAction: AcquireAction, config?: AcquireActionConfig[] | null, userId?: string | null): AcquireActionsToPropertyFormProperties;
|
|
19
|
+
subMoldCapacity(moldName: string, capacity: number, userId?: string | null): SubMoldCapacityByUserId;
|
|
18
20
|
grn(): string;
|
|
19
21
|
}
|
|
@@ -23,6 +23,7 @@ const AddMoldCapacityByUserId_1 = tslib_1.__importDefault(require("../stampSheet
|
|
|
23
23
|
const SetMoldCapacityByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SetMoldCapacityByUserId"));
|
|
24
24
|
const AcquireActionsToFormProperties_1 = tslib_1.__importDefault(require("../stampSheet/AcquireActionsToFormProperties"));
|
|
25
25
|
const AcquireActionsToPropertyFormProperties_1 = tslib_1.__importDefault(require("../stampSheet/AcquireActionsToPropertyFormProperties"));
|
|
26
|
+
const SubMoldCapacityByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SubMoldCapacityByUserId"));
|
|
26
27
|
class NamespaceRef {
|
|
27
28
|
constructor(namespaceName) {
|
|
28
29
|
this.namespaceName = namespaceName;
|
|
@@ -45,6 +46,9 @@ class NamespaceRef {
|
|
|
45
46
|
acquireActionsToPropertyFormProperties(formModelName, propertyId, acquireAction, config = null, userId = "#{userId}") {
|
|
46
47
|
return new AcquireActionsToPropertyFormProperties_1.default(this.namespaceName, formModelName, propertyId, acquireAction, config, userId);
|
|
47
48
|
}
|
|
49
|
+
subMoldCapacity(moldName, capacity, userId = "#{userId}") {
|
|
50
|
+
return new SubMoldCapacityByUserId_1.default(this.namespaceName, moldName, capacity, userId);
|
|
51
|
+
}
|
|
48
52
|
grn() {
|
|
49
53
|
return new func_1.Join(":", [
|
|
50
54
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,0EAA0C;AAC1C,4GAA4E;AAC5E,4GAA4E;AAC5E,0HAA0F;AAG1F,0IAA0G;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,0EAA0C;AAC1C,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,QAAgB;QAEhB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,SAAS,CACZ,aAAqB;QAErB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,aAAa,CAChB,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,aAAqB,EACrB,UAAkB,EAClB,aAA4B,EAC5B,SAAqC,IAAI,EACzC,SAAsB,WAAW;QAEjC,OAAO,IAAI,gDAAsC,CAC7C,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,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"}
|
|
@@ -23,6 +23,7 @@ import AcquireActionsToFormProperties from "../stampSheet/AcquireActionsToFormPr
|
|
|
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;
|
|
@@ -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,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
|
}
|
|
@@ -3,11 +3,13 @@ import SendMessageByUserId from "../stampSheet/SendMessageByUserId";
|
|
|
3
3
|
import { AcquireAction } from "../../core/model";
|
|
4
4
|
import TimeSpan from "../model/TimeSpan";
|
|
5
5
|
import OpenMessageByUserId from "../stampSheet/OpenMessageByUserId";
|
|
6
|
+
import DeleteMessageByUserId from "../stampSheet/DeleteMessageByUserId";
|
|
6
7
|
export default class NamespaceRef {
|
|
7
8
|
private readonly namespaceName;
|
|
8
9
|
constructor(namespaceName: string);
|
|
9
10
|
globalMessage(globalMessageName: string): GlobalMessageRef;
|
|
10
11
|
sendMessage(metadata: string, readAcquireActions?: AcquireAction[] | null, expiresAt?: number | null, expiresTimeSpan?: TimeSpan | null, userId?: string | null): SendMessageByUserId;
|
|
11
12
|
openMessage(messageName: string, userId?: string | null): OpenMessageByUserId;
|
|
13
|
+
deleteMessage(messageName: string, userId?: string | null): DeleteMessageByUserId;
|
|
12
14
|
grn(): string;
|
|
13
15
|
}
|
|
@@ -20,6 +20,7 @@ const func_1 = require("../../core/func");
|
|
|
20
20
|
const GlobalMessageRef_1 = tslib_1.__importDefault(require("./GlobalMessageRef"));
|
|
21
21
|
const SendMessageByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SendMessageByUserId"));
|
|
22
22
|
const OpenMessageByUserId_1 = tslib_1.__importDefault(require("../stampSheet/OpenMessageByUserId"));
|
|
23
|
+
const DeleteMessageByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteMessageByUserId"));
|
|
23
24
|
class NamespaceRef {
|
|
24
25
|
constructor(namespaceName) {
|
|
25
26
|
this.namespaceName = namespaceName;
|
|
@@ -33,6 +34,9 @@ class NamespaceRef {
|
|
|
33
34
|
openMessage(messageName, userId = "#{userId}") {
|
|
34
35
|
return new OpenMessageByUserId_1.default(this.namespaceName, messageName, userId);
|
|
35
36
|
}
|
|
37
|
+
deleteMessage(messageName, userId = "#{userId}") {
|
|
38
|
+
return new DeleteMessageByUserId_1.default(this.namespaceName, messageName, userId);
|
|
39
|
+
}
|
|
36
40
|
grn() {
|
|
37
41
|
return new func_1.Join(":", [
|
|
38
42
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,oGAAoE;AAGpE,oGAAoE;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,oGAAoE;AAGpE,oGAAoE;AACpE,wGAAwE;AAExE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,iBAAyB;QAEzB,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,iBAAiB,CACpB,CAAC;IACN,CAAC;IAEM,WAAW,CACd,QAAgB,EAChB,qBAA2C,IAAI,EAC/C,YAAyB,IAAI,EAC7B,kBAAiC,IAAI,EACrC,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5ED,+BA4EC"}
|
|
@@ -20,6 +20,7 @@ import SendMessageByUserId from "../stampSheet/SendMessageByUserId";
|
|
|
20
20
|
import { AcquireAction } from "../../core/model";
|
|
21
21
|
import TimeSpan from "../model/TimeSpan";
|
|
22
22
|
import OpenMessageByUserId from "../stampSheet/OpenMessageByUserId";
|
|
23
|
+
import DeleteMessageByUserId from "../stampSheet/DeleteMessageByUserId";
|
|
23
24
|
|
|
24
25
|
export default class NamespaceRef {
|
|
25
26
|
private readonly namespaceName: string;
|
|
@@ -67,6 +68,17 @@ export default class NamespaceRef {
|
|
|
67
68
|
);
|
|
68
69
|
}
|
|
69
70
|
|
|
71
|
+
public deleteMessage(
|
|
72
|
+
messageName: string,
|
|
73
|
+
userId: string|null = "#{userId}",
|
|
74
|
+
): DeleteMessageByUserId {
|
|
75
|
+
return new DeleteMessageByUserId(
|
|
76
|
+
this.namespaceName,
|
|
77
|
+
messageName,
|
|
78
|
+
userId,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
70
82
|
public grn(
|
|
71
83
|
): string {
|
|
72
84
|
return new Join(
|
|
@@ -0,0 +1,29 @@
|
|
|
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 DeleteMessageByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, messageName = null, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["messageName"] = messageName;
|
|
24
|
+
properties["userId"] = userId;
|
|
25
|
+
super("Gs2Inbox:DeleteMessageByUserId", properties);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.default = DeleteMessageByUserId;
|
|
29
|
+
//# sourceMappingURL=DeleteMessageByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteMessageByUserId.js","sourceRoot":"","sources":["DeleteMessageByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,CAAA;QACvC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,gCAAgC,EAChC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAlBD,wCAkBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 DeleteMessageByUserId extends ConsumeAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
messageName: string|null = null,
|
|
24
|
+
userId: string|null = "#{userId}",
|
|
25
|
+
) {
|
|
26
|
+
let properties: {[name: string]: any} = {};
|
|
27
|
+
|
|
28
|
+
properties["namespaceName"] = namespaceName
|
|
29
|
+
properties["messageName"] = messageName
|
|
30
|
+
properties["userId"] = userId
|
|
31
|
+
|
|
32
|
+
super(
|
|
33
|
+
"Gs2Inbox:DeleteMessageByUserId",
|
|
34
|
+
properties,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import SendMessageByUserId from "./SendMessageByUserId";
|
|
2
2
|
import OpenMessageByUserId from "./OpenMessageByUserId";
|
|
3
|
-
|
|
3
|
+
import DeleteMessageByUserId from "./DeleteMessageByUserId";
|
|
4
|
+
export { SendMessageByUserId, OpenMessageByUserId, DeleteMessageByUserId, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OpenMessageByUserId = exports.SendMessageByUserId = void 0;
|
|
3
|
+
exports.DeleteMessageByUserId = exports.OpenMessageByUserId = exports.SendMessageByUserId = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,4 +21,6 @@ const SendMessageByUserId_1 = tslib_1.__importDefault(require("./SendMessageByUs
|
|
|
21
21
|
exports.SendMessageByUserId = SendMessageByUserId_1.default;
|
|
22
22
|
const OpenMessageByUserId_1 = tslib_1.__importDefault(require("./OpenMessageByUserId"));
|
|
23
23
|
exports.OpenMessageByUserId = OpenMessageByUserId_1.default;
|
|
24
|
+
const DeleteMessageByUserId_1 = tslib_1.__importDefault(require("./DeleteMessageByUserId"));
|
|
25
|
+
exports.DeleteMessageByUserId = DeleteMessageByUserId_1.default;
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wFAAwD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH;AAJvB,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH;AAJvB,4FAA4D;AAKxD,gCALG,+BAAqB,CAKH"}
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import SendMessageByUserId from "./SendMessageByUserId";
|
|
17
17
|
import OpenMessageByUserId from "./OpenMessageByUserId";
|
|
18
|
+
import DeleteMessageByUserId from "./DeleteMessageByUserId";
|
|
18
19
|
|
|
19
20
|
export {
|
|
20
21
|
SendMessageByUserId,
|
|
21
22
|
OpenMessageByUserId,
|
|
23
|
+
DeleteMessageByUserId,
|
|
22
24
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import PushByUserId from "../stampSheet/PushByUserId";
|
|
2
2
|
import JobEntry from "../model/JobEntry";
|
|
3
|
+
import DeleteJobByUserId from "../stampSheet/DeleteJobByUserId";
|
|
3
4
|
export default class NamespaceRef {
|
|
4
5
|
private readonly namespaceName;
|
|
5
6
|
constructor(namespaceName: string);
|
|
6
7
|
push(jobs?: JobEntry[] | null, userId?: string | null): PushByUserId;
|
|
8
|
+
deleteJob(jobName: string, userId?: string | null): DeleteJobByUserId;
|
|
7
9
|
grn(): string;
|
|
8
10
|
}
|
|
@@ -18,6 +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 PushByUserId_1 = tslib_1.__importDefault(require("../stampSheet/PushByUserId"));
|
|
21
|
+
const DeleteJobByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteJobByUserId"));
|
|
21
22
|
class NamespaceRef {
|
|
22
23
|
constructor(namespaceName) {
|
|
23
24
|
this.namespaceName = namespaceName;
|
|
@@ -25,6 +26,9 @@ class NamespaceRef {
|
|
|
25
26
|
push(jobs = null, userId = "#{userId}") {
|
|
26
27
|
return new PushByUserId_1.default(this.namespaceName, jobs, userId);
|
|
27
28
|
}
|
|
29
|
+
deleteJob(jobName, userId = "#{userId}") {
|
|
30
|
+
return new DeleteJobByUserId_1.default(this.namespaceName, jobName, userId);
|
|
31
|
+
}
|
|
28
32
|
grn() {
|
|
29
33
|
return new func_1.Join(":", [
|
|
30
34
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AAEtD,gGAAgE;AAEhE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,IAAI,CACP,OAAwB,IAAI,EAC5B,SAAsB,WAAW;QAEjC,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,SAAS,CACZ,OAAe,EACf,SAAsB,WAAW;QAEjC,OAAO,IAAI,2BAAiB,CACxB,IAAI,CAAC,aAAa,EAClB,OAAO,EACP,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAlDD,+BAkDC"}
|