gs2-cdk 1.0.36 → 1.0.37
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 +14 -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 +14 -0
- package/dictionary/stampSheet/VerifyEntryByUserId.d.ts +4 -0
- package/dictionary/stampSheet/VerifyEntryByUserId.js +30 -0
- package/dictionary/stampSheet/VerifyEntryByUserId.js.map +1 -0
- package/dictionary/stampSheet/VerifyEntryByUserId.ts +39 -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/enhance/ref/NamespaceRef.d.ts +1 -1
- package/enhance/ref/NamespaceRef.js +1 -1
- package/enhance/ref/NamespaceRef.js.map +1 -1
- package/enhance/ref/NamespaceRef.ts +1 -1
- package/exchange/ref/NamespaceRef.d.ts +2 -2
- package/exchange/ref/NamespaceRef.js +2 -2
- package/exchange/ref/NamespaceRef.js.map +1 -1
- package/exchange/ref/NamespaceRef.ts +2 -2
- package/experience/model/Namespace.d.ts +1 -1
- package/experience/model/Namespace.js +4 -4
- package/experience/model/Namespace.js.map +1 -1
- package/experience/model/Namespace.ts +4 -4
- package/experience/model/options/NamespaceOptions.d.ts +1 -1
- package/experience/model/options/NamespaceOptions.ts +1 -1
- package/experience/ref/NamespaceRef.d.ts +6 -2
- package/experience/ref/NamespaceRef.js +10 -2
- package/experience/ref/NamespaceRef.js.map +1 -1
- package/experience/ref/NamespaceRef.ts +38 -2
- package/experience/stampSheet/VerifyRankByUserId.d.ts +4 -0
- package/experience/stampSheet/VerifyRankByUserId.js +32 -0
- package/experience/stampSheet/VerifyRankByUserId.js.map +1 -0
- package/experience/stampSheet/VerifyRankByUserId.ts +43 -0
- package/experience/stampSheet/VerifyRankCapByUserId.d.ts +4 -0
- package/experience/stampSheet/VerifyRankCapByUserId.js +32 -0
- package/experience/stampSheet/VerifyRankCapByUserId.js.map +1 -0
- package/experience/stampSheet/VerifyRankCapByUserId.ts +43 -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/inbox/ref/NamespaceRef.d.ts +2 -2
- package/inbox/ref/NamespaceRef.js +2 -2
- package/inbox/ref/NamespaceRef.js.map +1 -1
- package/inbox/ref/NamespaceRef.ts +2 -2
- package/inventory/ref/BigInventoryModelRef.d.ts +2 -0
- package/inventory/ref/BigInventoryModelRef.js +4 -0
- package/inventory/ref/BigInventoryModelRef.js.map +1 -1
- package/inventory/ref/BigInventoryModelRef.ts +17 -0
- package/inventory/ref/BigItemModelRef.d.ts +2 -0
- package/inventory/ref/BigItemModelRef.js +4 -0
- package/inventory/ref/BigItemModelRef.js.map +1 -1
- package/inventory/ref/BigItemModelRef.ts +16 -0
- package/inventory/ref/InventoryModelRef.d.ts +8 -4
- package/inventory/ref/InventoryModelRef.js +15 -7
- package/inventory/ref/InventoryModelRef.js.map +1 -1
- package/inventory/ref/InventoryModelRef.ts +42 -8
- package/inventory/ref/ItemModelRef.d.ts +6 -4
- package/inventory/ref/ItemModelRef.js +11 -7
- package/inventory/ref/ItemModelRef.js.map +1 -1
- package/inventory/ref/ItemModelRef.ts +26 -8
- package/inventory/stampSheet/VerifyBigItemByUserId.d.ts +4 -0
- package/inventory/stampSheet/VerifyBigItemByUserId.js +32 -0
- package/inventory/stampSheet/VerifyBigItemByUserId.js.map +1 -0
- package/inventory/stampSheet/VerifyBigItemByUserId.ts +43 -0
- package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.d.ts +4 -0
- package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.js +31 -0
- package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.js.map +1 -0
- package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.ts +41 -0
- package/inventory/stampSheet/VerifyItemSetByUserId.d.ts +4 -0
- package/inventory/stampSheet/VerifyItemSetByUserId.js +33 -0
- package/inventory/stampSheet/VerifyItemSetByUserId.js.map +1 -0
- package/inventory/stampSheet/VerifyItemSetByUserId.ts +45 -0
- package/inventory/stampSheet/VerifySimpleItemByUserId.d.ts +4 -0
- package/inventory/stampSheet/VerifySimpleItemByUserId.js +32 -0
- package/inventory/stampSheet/VerifySimpleItemByUserId.js.map +1 -0
- package/inventory/stampSheet/VerifySimpleItemByUserId.ts +43 -0
- package/inventory/stampSheet/index.d.ts +5 -1
- package/inventory/stampSheet/index.js +9 -1
- package/inventory/stampSheet/index.js.map +1 -1
- package/inventory/stampSheet/index.ts +8 -0
- package/jobQueue/ref/NamespaceRef.d.ts +1 -1
- package/jobQueue/ref/NamespaceRef.js +1 -1
- package/jobQueue/ref/NamespaceRef.js.map +1 -1
- package/jobQueue/ref/NamespaceRef.ts +1 -1
- package/limit/ref/NamespaceRef.d.ts +4 -2
- package/limit/ref/NamespaceRef.js +6 -2
- package/limit/ref/NamespaceRef.js.map +1 -1
- package/limit/ref/NamespaceRef.ts +20 -2
- package/limit/stampSheet/VerifyCounterByUserId.d.ts +4 -0
- package/limit/stampSheet/VerifyCounterByUserId.js +32 -0
- package/limit/stampSheet/VerifyCounterByUserId.js.map +1 -0
- package/limit/stampSheet/VerifyCounterByUserId.ts +43 -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/money/ref/NamespaceRef.d.ts +1 -1
- package/money/ref/NamespaceRef.js +1 -1
- package/money/ref/NamespaceRef.js.map +1 -1
- package/money/ref/NamespaceRef.ts +1 -1
- package/package.json +1 -1
- package/quest/ref/NamespaceRef.d.ts +1 -1
- package/quest/ref/NamespaceRef.js +1 -1
- package/quest/ref/NamespaceRef.js.map +1 -1
- package/quest/ref/NamespaceRef.ts +1 -1
- package/stateMachine/ref/NamespaceRef.d.ts +1 -1
- package/stateMachine/ref/NamespaceRef.js +1 -1
- package/stateMachine/ref/NamespaceRef.js.map +1 -1
- package/stateMachine/ref/NamespaceRef.ts +1 -1
|
@@ -2,12 +2,14 @@ import LimitModelRef from "./LimitModelRef";
|
|
|
2
2
|
import CountDownByUserId from "../stampSheet/CountDownByUserId";
|
|
3
3
|
import DeleteCounterByUserId from "../stampSheet/DeleteCounterByUserId";
|
|
4
4
|
import CountUpByUserId from "../stampSheet/CountUpByUserId";
|
|
5
|
+
import VerifyCounterByUserId from "../stampSheet/VerifyCounterByUserId";
|
|
5
6
|
export default class NamespaceRef {
|
|
6
7
|
private readonly namespaceName;
|
|
7
8
|
constructor(namespaceName: string);
|
|
8
9
|
limitModel(limitName: string): LimitModelRef;
|
|
9
|
-
countDown(limitName: string, counterName: string, countDownValue
|
|
10
|
+
countDown(limitName: string, counterName: string, countDownValue?: number | null, userId?: string | null): CountDownByUserId;
|
|
10
11
|
deleteCounter(limitName: string, counterName: string, userId?: string | null): DeleteCounterByUserId;
|
|
11
|
-
countUp(limitName: string, counterName: string, countUpValue
|
|
12
|
+
countUp(limitName: string, counterName: string, countUpValue?: number | null, maxValue?: number | null, userId?: string | null): CountUpByUserId;
|
|
13
|
+
verifyCounter(limitName: string, counterName: string, verifyType: string, count?: number | null, userId?: string | null): VerifyCounterByUserId;
|
|
12
14
|
grn(): string;
|
|
13
15
|
}
|
|
@@ -21,6 +21,7 @@ const LimitModelRef_1 = tslib_1.__importDefault(require("./LimitModelRef"));
|
|
|
21
21
|
const CountDownByUserId_1 = tslib_1.__importDefault(require("../stampSheet/CountDownByUserId"));
|
|
22
22
|
const DeleteCounterByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteCounterByUserId"));
|
|
23
23
|
const CountUpByUserId_1 = tslib_1.__importDefault(require("../stampSheet/CountUpByUserId"));
|
|
24
|
+
const VerifyCounterByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyCounterByUserId"));
|
|
24
25
|
class NamespaceRef {
|
|
25
26
|
constructor(namespaceName) {
|
|
26
27
|
this.namespaceName = namespaceName;
|
|
@@ -28,15 +29,18 @@ class NamespaceRef {
|
|
|
28
29
|
limitModel(limitName) {
|
|
29
30
|
return new LimitModelRef_1.default(this.namespaceName, limitName);
|
|
30
31
|
}
|
|
31
|
-
countDown(limitName, counterName, countDownValue, userId = "#{userId}") {
|
|
32
|
+
countDown(limitName, counterName, countDownValue = null, userId = "#{userId}") {
|
|
32
33
|
return new CountDownByUserId_1.default(this.namespaceName, limitName, counterName, countDownValue, userId);
|
|
33
34
|
}
|
|
34
35
|
deleteCounter(limitName, counterName, userId = "#{userId}") {
|
|
35
36
|
return new DeleteCounterByUserId_1.default(this.namespaceName, limitName, counterName, userId);
|
|
36
37
|
}
|
|
37
|
-
countUp(limitName, counterName, countUpValue, maxValue = null, userId = "#{userId}") {
|
|
38
|
+
countUp(limitName, counterName, countUpValue = null, maxValue = null, userId = "#{userId}") {
|
|
38
39
|
return new CountUpByUserId_1.default(this.namespaceName, limitName, counterName, countUpValue, maxValue, userId);
|
|
39
40
|
}
|
|
41
|
+
verifyCounter(limitName, counterName, verifyType, count = null, userId = "#{userId}") {
|
|
42
|
+
return new VerifyCounterByUserId_1.default(this.namespaceName, limitName, counterName, verifyType, count, userId);
|
|
43
|
+
}
|
|
40
44
|
grn() {
|
|
41
45
|
return new func_1.Join(":", [
|
|
42
46
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;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T,WAAW,EACX,UAAU,EACV,KAAK,EACL,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;AAnGD,+BAmGC"}
|
|
@@ -19,6 +19,7 @@ import LimitModelRef from "./LimitModelRef";
|
|
|
19
19
|
import CountDownByUserId from "../stampSheet/CountDownByUserId";
|
|
20
20
|
import DeleteCounterByUserId from "../stampSheet/DeleteCounterByUserId";
|
|
21
21
|
import CountUpByUserId from "../stampSheet/CountUpByUserId";
|
|
22
|
+
import VerifyCounterByUserId from "../stampSheet/VerifyCounterByUserId";
|
|
22
23
|
|
|
23
24
|
export default class NamespaceRef {
|
|
24
25
|
private readonly namespaceName: string;
|
|
@@ -41,7 +42,7 @@ export default class NamespaceRef {
|
|
|
41
42
|
public countDown(
|
|
42
43
|
limitName: string,
|
|
43
44
|
counterName: string,
|
|
44
|
-
countDownValue: number,
|
|
45
|
+
countDownValue: number|null = null,
|
|
45
46
|
userId: string|null = "#{userId}",
|
|
46
47
|
): CountDownByUserId {
|
|
47
48
|
return new CountDownByUserId(
|
|
@@ -69,7 +70,7 @@ export default class NamespaceRef {
|
|
|
69
70
|
public countUp(
|
|
70
71
|
limitName: string,
|
|
71
72
|
counterName: string,
|
|
72
|
-
countUpValue: number,
|
|
73
|
+
countUpValue: number|null = null,
|
|
73
74
|
maxValue: number|null = null,
|
|
74
75
|
userId: string|null = "#{userId}",
|
|
75
76
|
): CountUpByUserId {
|
|
@@ -83,6 +84,23 @@ export default class NamespaceRef {
|
|
|
83
84
|
);
|
|
84
85
|
}
|
|
85
86
|
|
|
87
|
+
public verifyCounter(
|
|
88
|
+
limitName: string,
|
|
89
|
+
counterName: string,
|
|
90
|
+
verifyType: string,
|
|
91
|
+
count: number|null = null,
|
|
92
|
+
userId: string|null = "#{userId}",
|
|
93
|
+
): VerifyCounterByUserId {
|
|
94
|
+
return new VerifyCounterByUserId(
|
|
95
|
+
this.namespaceName,
|
|
96
|
+
limitName,
|
|
97
|
+
counterName,
|
|
98
|
+
verifyType,
|
|
99
|
+
count,
|
|
100
|
+
userId,
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
|
|
86
104
|
public grn(
|
|
87
105
|
): string {
|
|
88
106
|
return new Join(
|
|
@@ -0,0 +1,32 @@
|
|
|
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 VerifyCounterByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, limitName, counterName, verifyType, count = null, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["limitName"] = limitName;
|
|
24
|
+
properties["counterName"] = counterName;
|
|
25
|
+
properties["verifyType"] = verifyType;
|
|
26
|
+
properties["count"] = count;
|
|
27
|
+
properties["userId"] = userId;
|
|
28
|
+
super("Gs2Limit:VerifyCounterByUserId", properties);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.default = VerifyCounterByUserId;
|
|
32
|
+
//# sourceMappingURL=VerifyCounterByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyCounterByUserId.js","sourceRoot":"","sources":["VerifyCounterByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,SAAiB,EACjB,WAAmB,EACnB,UAAkB,EAClB,QAAqB,IAAI,EACzB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,WAAW,CAAC,GAAG,SAAS,CAAA;QACnC,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,CAAA;QACvC,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;QAC3B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,gCAAgC,EAChC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAxBD,wCAwBC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 VerifyCounterByUserId extends ConsumeAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
limitName: string,
|
|
24
|
+
counterName: string,
|
|
25
|
+
verifyType: string,
|
|
26
|
+
count: number|null = null,
|
|
27
|
+
userId: string|null = "#{userId}",
|
|
28
|
+
) {
|
|
29
|
+
let properties: {[name: string]: any} = {};
|
|
30
|
+
|
|
31
|
+
properties["namespaceName"] = namespaceName
|
|
32
|
+
properties["limitName"] = limitName
|
|
33
|
+
properties["counterName"] = counterName
|
|
34
|
+
properties["verifyType"] = verifyType
|
|
35
|
+
properties["count"] = count
|
|
36
|
+
properties["userId"] = userId
|
|
37
|
+
|
|
38
|
+
super(
|
|
39
|
+
"Gs2Limit:VerifyCounterByUserId",
|
|
40
|
+
properties,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import CountDownByUserId from "./CountDownByUserId";
|
|
2
2
|
import DeleteCounterByUserId from "./DeleteCounterByUserId";
|
|
3
3
|
import CountUpByUserId from "./CountUpByUserId";
|
|
4
|
-
|
|
4
|
+
import VerifyCounterByUserId from "./VerifyCounterByUserId";
|
|
5
|
+
export { CountDownByUserId, DeleteCounterByUserId, CountUpByUserId, VerifyCounterByUserId, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CountUpByUserId = exports.DeleteCounterByUserId = exports.CountDownByUserId = void 0;
|
|
3
|
+
exports.VerifyCounterByUserId = exports.CountUpByUserId = exports.DeleteCounterByUserId = exports.CountDownByUserId = 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 DeleteCounterByUserId_1 = tslib_1.__importDefault(require("./DeleteCounter
|
|
|
23
23
|
exports.DeleteCounterByUserId = DeleteCounterByUserId_1.default;
|
|
24
24
|
const CountUpByUserId_1 = tslib_1.__importDefault(require("./CountUpByUserId"));
|
|
25
25
|
exports.CountUpByUserId = CountUpByUserId_1.default;
|
|
26
|
+
const VerifyCounterByUserId_1 = tslib_1.__importDefault(require("./VerifyCounterByUserId"));
|
|
27
|
+
exports.VerifyCounterByUserId = VerifyCounterByUserId_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,oFAAoD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oFAAoD;AAMhD,4BANG,2BAAiB,CAMH;AALrB,4FAA4D;AAMxD,gCANG,+BAAqB,CAMH;AALzB,gFAAgD;AAM5C,0BANG,yBAAe,CAMH;AALnB,4FAA4D;AAMxD,gCANG,+BAAqB,CAMH"}
|
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
import CountDownByUserId from "./CountDownByUserId";
|
|
17
17
|
import DeleteCounterByUserId from "./DeleteCounterByUserId";
|
|
18
18
|
import CountUpByUserId from "./CountUpByUserId";
|
|
19
|
+
import VerifyCounterByUserId from "./VerifyCounterByUserId";
|
|
19
20
|
|
|
20
21
|
export {
|
|
21
22
|
CountDownByUserId,
|
|
22
23
|
DeleteCounterByUserId,
|
|
23
24
|
CountUpByUserId,
|
|
25
|
+
VerifyCounterByUserId,
|
|
24
26
|
}
|
|
@@ -7,7 +7,7 @@ export default class NamespaceRef {
|
|
|
7
7
|
constructor(namespaceName: string);
|
|
8
8
|
deposit(slot: number, price: number, count: number, userId?: string | null): DepositByUserId;
|
|
9
9
|
revertRecordReceipt(receipt: string, userId?: string | null): RevertRecordReceipt;
|
|
10
|
-
withdraw(slot: number, count: number, paidOnly
|
|
10
|
+
withdraw(slot: number, count: number, paidOnly?: boolean | null, userId?: string | null): WithdrawByUserId;
|
|
11
11
|
recordReceipt(contentsId: string, receipt: string, userId?: string | null): RecordReceipt;
|
|
12
12
|
grn(): string;
|
|
13
13
|
}
|
|
@@ -31,7 +31,7 @@ class NamespaceRef {
|
|
|
31
31
|
revertRecordReceipt(receipt, userId = "#{userId}") {
|
|
32
32
|
return new RevertRecordReceipt_1.default(this.namespaceName, receipt, userId);
|
|
33
33
|
}
|
|
34
|
-
withdraw(slot, count, paidOnly, userId = "#{userId}") {
|
|
34
|
+
withdraw(slot, count, paidOnly = null, userId = "#{userId}") {
|
|
35
35
|
return new WithdrawByUserId_1.default(this.namespaceName, slot, count, paidOnly, userId);
|
|
36
36
|
}
|
|
37
37
|
recordReceipt(contentsId, receipt, userId = "#{userId}") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAC5D,oGAAoE;AACpE,8FAA8D;AAC9D,wFAAwD;AAExD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,IAAY,EACZ,KAAa,EACb,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,KAAK,EACL,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,mBAAmB,CACtB,OAAe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J;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAlFD,+BAkFC"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export default class NamespaceRef {
|
|
|
6
6
|
private readonly namespaceName;
|
|
7
7
|
constructor(namespaceName: string);
|
|
8
8
|
questGroupModel(questGroupName: string): QuestGroupModelRef;
|
|
9
|
-
createProgress(questModelId: string, force
|
|
9
|
+
createProgress(questModelId: string, force?: boolean | null, config?: Config[] | null, userId?: string | null): CreateProgressByUserId;
|
|
10
10
|
deleteProgress(userId?: string | null): DeleteProgressByUserId;
|
|
11
11
|
grn(): string;
|
|
12
12
|
}
|
|
@@ -27,7 +27,7 @@ class NamespaceRef {
|
|
|
27
27
|
questGroupModel(questGroupName) {
|
|
28
28
|
return new QuestGroupModelRef_1.default(this.namespaceName, questGroupName);
|
|
29
29
|
}
|
|
30
|
-
createProgress(questModelId, force, config = null, userId = "#{userId}") {
|
|
30
|
+
createProgress(questModelId, force = null, config = null, userId = "#{userId}") {
|
|
31
31
|
return new CreateProgressByUserId_1.default(this.namespaceName, questModelId, force, config, userId);
|
|
32
32
|
}
|
|
33
33
|
deleteProgress(userId = "#{userId}") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AACtD,0GAA0E;AAE1E,0GAA0E;AAE1E,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,eAAe,CAClB,cAAsB;QAEtB,OAAO,IAAI,4BAAkB,CACzB,IAAI,CAAC,aAAa,EAClB,cAAc,CACjB,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AACtD,0GAA0E;AAE1E,0GAA0E;AAE1E,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,eAAe,CAClB,cAAsB;QAEtB,OAAO,IAAI,4BAAkB,CACzB,IAAI,CAAC,aAAa,EAClB,cAAc,CACjB,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,QAAsB,IAAI,EAC1B,SAAwB,IAAI,EAC5B,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,KAAK,EACL,MAAM,EACN,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,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;AA7DD,+BA6DC"}
|
|
@@ -2,6 +2,6 @@ import StartStateMachineByUserId from "../stampSheet/StartStateMachineByUserId";
|
|
|
2
2
|
export default class NamespaceRef {
|
|
3
3
|
private readonly namespaceName;
|
|
4
4
|
constructor(namespaceName: string);
|
|
5
|
-
startStateMachine(args
|
|
5
|
+
startStateMachine(args?: string | null, ttl?: number | null, userId?: string | null): StartStateMachineByUserId;
|
|
6
6
|
grn(): string;
|
|
7
7
|
}
|
|
@@ -22,7 +22,7 @@ class NamespaceRef {
|
|
|
22
22
|
constructor(namespaceName) {
|
|
23
23
|
this.namespaceName = namespaceName;
|
|
24
24
|
}
|
|
25
|
-
startStateMachine(args, ttl = null, userId = "#{userId}") {
|
|
25
|
+
startStateMachine(args = null, ttl = null, userId = "#{userId}") {
|
|
26
26
|
return new StartStateMachineByUserId_1.default(this.namespaceName, args, ttl, userId);
|
|
27
27
|
}
|
|
28
28
|
grn() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,gHAAgF;AAEhF,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,iBAAiB,CACpB,
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,gHAAgF;AAEhF,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,iBAAiB,CACpB,OAAoB,IAAI,EACxB,MAAmB,IAAI,EACvB,SAAsB,WAAW;QAEjC,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,GAAG,EACH,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,cAAc;YACd,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAzCD,+BAyCC"}
|