gs2-cdk 1.0.36 → 1.0.38
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 +7 -7
- package/experience/model/Namespace.js.map +1 -1
- package/experience/model/Namespace.ts +6 -7
- package/experience/model/options/NamespaceOptions.d.ts +2 -2
- package/experience/model/options/NamespaceOptions.ts +2 -2
- 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
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import AddEntriesByUserId from "../stampSheet/AddEntriesByUserId";
|
|
2
2
|
import DeleteEntriesByUserId from "../stampSheet/DeleteEntriesByUserId";
|
|
3
|
+
import VerifyEntryByUserId from "../stampSheet/VerifyEntryByUserId";
|
|
3
4
|
export default class EntryModelRef {
|
|
4
5
|
private readonly namespaceName;
|
|
5
6
|
private readonly entryName;
|
|
6
7
|
constructor(namespaceName: string, entryName: string);
|
|
7
8
|
addEntries(entryModelNames?: string[] | null, userId?: string | null): AddEntriesByUserId;
|
|
8
9
|
deleteEntries(entryModelNames?: string[] | null, userId?: string | null): DeleteEntriesByUserId;
|
|
10
|
+
verifyEntry(entryModelName: string, verifyType: string, userId?: string | null): VerifyEntryByUserId;
|
|
9
11
|
grn(): string;
|
|
10
12
|
}
|
|
@@ -19,6 +19,7 @@ const tslib_1 = require("tslib");
|
|
|
19
19
|
const func_1 = require("../../core/func");
|
|
20
20
|
const AddEntriesByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AddEntriesByUserId"));
|
|
21
21
|
const DeleteEntriesByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteEntriesByUserId"));
|
|
22
|
+
const VerifyEntryByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyEntryByUserId"));
|
|
22
23
|
class EntryModelRef {
|
|
23
24
|
constructor(namespaceName, entryName) {
|
|
24
25
|
this.namespaceName = namespaceName;
|
|
@@ -30,6 +31,9 @@ class EntryModelRef {
|
|
|
30
31
|
deleteEntries(entryModelNames = null, userId = "#{userId}") {
|
|
31
32
|
return new DeleteEntriesByUserId_1.default(this.namespaceName, entryModelNames, userId);
|
|
32
33
|
}
|
|
34
|
+
verifyEntry(entryModelName, verifyType, userId = "#{userId}") {
|
|
35
|
+
return new VerifyEntryByUserId_1.default(this.namespaceName, entryModelName, verifyType, userId);
|
|
36
|
+
}
|
|
33
37
|
grn() {
|
|
34
38
|
return new func_1.Join(":", [
|
|
35
39
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntryModelRef.js","sourceRoot":"","sources":["EntryModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kGAAkE;AAClE,wGAAwE;
|
|
1
|
+
{"version":3,"file":"EntryModelRef.js","sourceRoot":"","sources":["EntryModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kGAAkE;AAClE,wGAAwE;AACxE,oGAAoE;AAEpE,MAAqB,aAAa;IAI9B,YACI,aAAqB,EACrB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAEM,UAAU,CACb,kBAAiC,IAAI,EACrC,SAAsB,WAAW;QAEjC,OAAO,IAAI,4BAAkB,CACzB,IAAI,CAAC,aAAa,EAClB,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,kBAAiC,IAAI,EACrC,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,cAAsB,EACtB,UAAkB,EAClB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,UAAU,EACV,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,YAAY;YACZ,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,SAAS;SACjB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AApED,gCAoEC"}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
import {GetAttr, Join} from "../../core/func";
|
|
18
18
|
import AddEntriesByUserId from "../stampSheet/AddEntriesByUserId";
|
|
19
19
|
import DeleteEntriesByUserId from "../stampSheet/DeleteEntriesByUserId";
|
|
20
|
+
import VerifyEntryByUserId from "../stampSheet/VerifyEntryByUserId";
|
|
20
21
|
|
|
21
22
|
export default class EntryModelRef {
|
|
22
23
|
private readonly namespaceName: string;
|
|
@@ -52,6 +53,19 @@ export default class EntryModelRef {
|
|
|
52
53
|
);
|
|
53
54
|
}
|
|
54
55
|
|
|
56
|
+
public verifyEntry(
|
|
57
|
+
entryModelName: string,
|
|
58
|
+
verifyType: string,
|
|
59
|
+
userId: string|null = "#{userId}",
|
|
60
|
+
): VerifyEntryByUserId {
|
|
61
|
+
return new VerifyEntryByUserId(
|
|
62
|
+
this.namespaceName,
|
|
63
|
+
entryModelName,
|
|
64
|
+
verifyType,
|
|
65
|
+
userId,
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
55
69
|
public grn(
|
|
56
70
|
): string {
|
|
57
71
|
return new Join(
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import EntryModelRef from "./EntryModelRef";
|
|
2
2
|
import AddEntriesByUserId from "../stampSheet/AddEntriesByUserId";
|
|
3
3
|
import DeleteEntriesByUserId from "../stampSheet/DeleteEntriesByUserId";
|
|
4
|
+
import VerifyEntryByUserId from "../stampSheet/VerifyEntryByUserId";
|
|
4
5
|
export default class NamespaceRef {
|
|
5
6
|
private readonly namespaceName;
|
|
6
7
|
constructor(namespaceName: string);
|
|
7
8
|
entryModel(entryName: string): EntryModelRef;
|
|
8
9
|
addEntries(entryModelNames?: string[] | null, userId?: string | null): AddEntriesByUserId;
|
|
9
10
|
deleteEntries(entryModelNames?: string[] | null, userId?: string | null): DeleteEntriesByUserId;
|
|
11
|
+
verifyEntry(entryModelName: string, verifyType: string, userId?: string | null): VerifyEntryByUserId;
|
|
10
12
|
grn(): string;
|
|
11
13
|
}
|
|
@@ -20,6 +20,7 @@ const func_1 = require("../../core/func");
|
|
|
20
20
|
const EntryModelRef_1 = tslib_1.__importDefault(require("./EntryModelRef"));
|
|
21
21
|
const AddEntriesByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AddEntriesByUserId"));
|
|
22
22
|
const DeleteEntriesByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteEntriesByUserId"));
|
|
23
|
+
const VerifyEntryByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyEntryByUserId"));
|
|
23
24
|
class NamespaceRef {
|
|
24
25
|
constructor(namespaceName) {
|
|
25
26
|
this.namespaceName = namespaceName;
|
|
@@ -33,6 +34,9 @@ class NamespaceRef {
|
|
|
33
34
|
deleteEntries(entryModelNames = null, userId = "#{userId}") {
|
|
34
35
|
return new DeleteEntriesByUserId_1.default(this.namespaceName, entryModelNames, userId);
|
|
35
36
|
}
|
|
37
|
+
verifyEntry(entryModelName, verifyType, userId = "#{userId}") {
|
|
38
|
+
return new VerifyEntryByUserId_1.default(this.namespaceName, entryModelName, verifyType, 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,4EAA4C;AAC5C,kGAAkE;AAClE,wGAAwE;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4EAA4C;AAC5C,kGAAkE;AAClE,wGAAwE;AACxE,oGAAoE;AAEpE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,UAAU,CACb,SAAiB;QAEjB,OAAO,IAAI,uBAAa,CACpB,IAAI,CAAC,aAAa,EAClB,SAAS,CACZ,CAAC;IACN,CAAC;IAEM,UAAU,CACb,kBAAiC,IAAI,EACrC,SAAsB,WAAW;QAEjC,OAAO,IAAI,4BAAkB,CACzB,IAAI,CAAC,aAAa,EAClB,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,kBAAiC,IAAI,EACrC,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,cAAsB,EACtB,UAAkB,EAClB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,UAAU,EACV,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,YAAY;YACZ,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAxED,+BAwEC"}
|
|
@@ -18,6 +18,7 @@ import {GetAttr, Join} from "../../core/func";
|
|
|
18
18
|
import EntryModelRef from "./EntryModelRef";
|
|
19
19
|
import AddEntriesByUserId from "../stampSheet/AddEntriesByUserId";
|
|
20
20
|
import DeleteEntriesByUserId from "../stampSheet/DeleteEntriesByUserId";
|
|
21
|
+
import VerifyEntryByUserId from "../stampSheet/VerifyEntryByUserId";
|
|
21
22
|
|
|
22
23
|
export default class NamespaceRef {
|
|
23
24
|
private readonly namespaceName: string;
|
|
@@ -59,6 +60,19 @@ export default class NamespaceRef {
|
|
|
59
60
|
);
|
|
60
61
|
}
|
|
61
62
|
|
|
63
|
+
public verifyEntry(
|
|
64
|
+
entryModelName: string,
|
|
65
|
+
verifyType: string,
|
|
66
|
+
userId: string|null = "#{userId}",
|
|
67
|
+
): VerifyEntryByUserId {
|
|
68
|
+
return new VerifyEntryByUserId(
|
|
69
|
+
this.namespaceName,
|
|
70
|
+
entryModelName,
|
|
71
|
+
verifyType,
|
|
72
|
+
userId,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
|
|
62
76
|
public grn(
|
|
63
77
|
): string {
|
|
64
78
|
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 VerifyEntryByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, entryModelName, verifyType, userId = "#{userId}") {
|
|
21
|
+
let properties = {};
|
|
22
|
+
properties["namespaceName"] = namespaceName;
|
|
23
|
+
properties["entryModelName"] = entryModelName;
|
|
24
|
+
properties["verifyType"] = verifyType;
|
|
25
|
+
properties["userId"] = userId;
|
|
26
|
+
super("Gs2Dictionary:VerifyEntryByUserId", properties);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.default = VerifyEntryByUserId;
|
|
30
|
+
//# sourceMappingURL=VerifyEntryByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyEntryByUserId.js","sourceRoot":"","sources":["VerifyEntryByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,mBAAoB,SAAQ,qBAAa;IAE1D,YACI,aAAqB,EACrB,cAAsB,EACtB,UAAkB,EAClB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,mCAAmC,EACnC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,sCAoBC"}
|
|
@@ -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 VerifyEntryByUserId extends ConsumeAction {
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
entryModelName: string,
|
|
24
|
+
verifyType: string,
|
|
25
|
+
userId: string|null = "#{userId}",
|
|
26
|
+
) {
|
|
27
|
+
let properties: {[name: string]: any} = {};
|
|
28
|
+
|
|
29
|
+
properties["namespaceName"] = namespaceName
|
|
30
|
+
properties["entryModelName"] = entryModelName
|
|
31
|
+
properties["verifyType"] = verifyType
|
|
32
|
+
properties["userId"] = userId
|
|
33
|
+
|
|
34
|
+
super(
|
|
35
|
+
"Gs2Dictionary:VerifyEntryByUserId",
|
|
36
|
+
properties,
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import AddEntriesByUserId from "./AddEntriesByUserId";
|
|
2
2
|
import DeleteEntriesByUserId from "./DeleteEntriesByUserId";
|
|
3
|
-
|
|
3
|
+
import VerifyEntryByUserId from "./VerifyEntryByUserId";
|
|
4
|
+
export { AddEntriesByUserId, DeleteEntriesByUserId, VerifyEntryByUserId, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteEntriesByUserId = exports.AddEntriesByUserId = void 0;
|
|
3
|
+
exports.VerifyEntryByUserId = exports.DeleteEntriesByUserId = exports.AddEntriesByUserId = 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 AddEntriesByUserId_1 = tslib_1.__importDefault(require("./AddEntriesByUser
|
|
|
21
21
|
exports.AddEntriesByUserId = AddEntriesByUserId_1.default;
|
|
22
22
|
const DeleteEntriesByUserId_1 = tslib_1.__importDefault(require("./DeleteEntriesByUserId"));
|
|
23
23
|
exports.DeleteEntriesByUserId = DeleteEntriesByUserId_1.default;
|
|
24
|
+
const VerifyEntryByUserId_1 = tslib_1.__importDefault(require("./VerifyEntryByUserId"));
|
|
25
|
+
exports.VerifyEntryByUserId = VerifyEntryByUserId_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,sFAAsD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,sFAAsD;AAKlD,6BALG,4BAAkB,CAKH;AAJtB,4FAA4D;AAKxD,gCALG,+BAAqB,CAKH;AAJzB,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH"}
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import AddEntriesByUserId from "./AddEntriesByUserId";
|
|
17
17
|
import DeleteEntriesByUserId from "./DeleteEntriesByUserId";
|
|
18
|
+
import VerifyEntryByUserId from "./VerifyEntryByUserId";
|
|
18
19
|
|
|
19
20
|
export {
|
|
20
21
|
AddEntriesByUserId,
|
|
21
22
|
DeleteEntriesByUserId,
|
|
23
|
+
VerifyEntryByUserId,
|
|
22
24
|
}
|
|
@@ -6,7 +6,7 @@ export default class NamespaceRef {
|
|
|
6
6
|
private readonly namespaceName;
|
|
7
7
|
constructor(namespaceName: string);
|
|
8
8
|
rateModel(rateName: string): RateModelRef;
|
|
9
|
-
createProgress(rateName: string, targetItemSetId: string, materials
|
|
9
|
+
createProgress(rateName: string, targetItemSetId: string, materials?: Material[] | null, force?: boolean | 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
|
rateModel(rateName) {
|
|
28
28
|
return new RateModelRef_1.default(this.namespaceName, rateName);
|
|
29
29
|
}
|
|
30
|
-
createProgress(rateName, targetItemSetId, materials = null, force, userId = "#{userId}") {
|
|
30
|
+
createProgress(rateName, targetItemSetId, materials = null, force = null, userId = "#{userId}") {
|
|
31
31
|
return new CreateProgressByUserId_1.default(this.namespaceName, rateName, targetItemSetId, materials, force, 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,0EAA0C;AAC1C,0GAA0E;AAE1E,0GAA0E;AAE1E,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,cAAc,CACjB,QAAgB,EAChB,eAAuB,EACvB,YAA6B,IAAI,EACjC,
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,0GAA0E;AAE1E,0GAA0E;AAE1E,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,cAAc,CACjB,QAAgB,EAChB,eAAuB,EACvB,YAA6B,IAAI,EACjC,QAAsB,IAAI,EAC1B,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,eAAe,EACf,SAAS,EACT,KAAK,EACL,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,SAAS;YACT,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA/DD,+BA+DC"}
|
|
@@ -42,7 +42,7 @@ export default class NamespaceRef {
|
|
|
42
42
|
rateName: string,
|
|
43
43
|
targetItemSetId: string,
|
|
44
44
|
materials: Material[]|null = null,
|
|
45
|
-
force: boolean,
|
|
45
|
+
force: boolean|null = null,
|
|
46
46
|
userId: string|null = "#{userId}",
|
|
47
47
|
): CreateProgressByUserId {
|
|
48
48
|
return new CreateProgressByUserId(
|
|
@@ -14,7 +14,7 @@ export default class NamespaceRef {
|
|
|
14
14
|
exchange(rateName: string, count: number, config?: Config[] | null, userId?: string | null): ExchangeByUserId;
|
|
15
15
|
incrementalExchange(rateName: string, count: number, config?: Config[] | null, userId?: string | null): IncrementalExchangeByUserId;
|
|
16
16
|
unlockIncrementalExchange(rateName: string, lockTransactionId: string, userId?: string | null): UnlockIncrementalExchangeByUserId;
|
|
17
|
-
createAwait(rateName: string, count
|
|
18
|
-
deleteAwait(awaitName
|
|
17
|
+
createAwait(rateName: string, count?: number | null, userId?: string | null): CreateAwaitByUserId;
|
|
18
|
+
deleteAwait(awaitName?: string | null, userId?: string | null): DeleteAwaitByUserId;
|
|
19
19
|
grn(): string;
|
|
20
20
|
}
|
|
@@ -43,10 +43,10 @@ class NamespaceRef {
|
|
|
43
43
|
unlockIncrementalExchange(rateName, lockTransactionId, userId = "#{userId}") {
|
|
44
44
|
return new UnlockIncrementalExchangeByUserId_1.default(this.namespaceName, rateName, lockTransactionId, userId);
|
|
45
45
|
}
|
|
46
|
-
createAwait(rateName, count, userId = "#{userId}") {
|
|
46
|
+
createAwait(rateName, count = null, userId = "#{userId}") {
|
|
47
47
|
return new CreateAwaitByUserId_1.default(this.namespaceName, rateName, count, userId);
|
|
48
48
|
}
|
|
49
|
-
deleteAwait(awaitName, userId = "#{userId}") {
|
|
49
|
+
deleteAwait(awaitName = null, userId = "#{userId}") {
|
|
50
50
|
return new DeleteAwaitByUserId_1.default(this.namespaceName, awaitName, userId);
|
|
51
51
|
}
|
|
52
52
|
grn() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,gGAAgE;AAChE,8FAA8D;AAE9D,oHAAoF;AACpF,gIAAgG;AAChG,oGAAoE;AACpE,oGAAoE;AAEpE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,QAAgB;QAEhB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ACN,CAAC;CACJ;AAjHD,+BAiHC"}
|
|
@@ -96,7 +96,7 @@ export default class NamespaceRef {
|
|
|
96
96
|
|
|
97
97
|
public createAwait(
|
|
98
98
|
rateName: string,
|
|
99
|
-
count: number,
|
|
99
|
+
count: number|null = null,
|
|
100
100
|
userId: string|null = "#{userId}",
|
|
101
101
|
): CreateAwaitByUserId {
|
|
102
102
|
return new CreateAwaitByUserId(
|
|
@@ -108,7 +108,7 @@ export default class NamespaceRef {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
public deleteAwait(
|
|
111
|
-
awaitName: string,
|
|
111
|
+
awaitName: string|null = null,
|
|
112
112
|
userId: string|null = "#{userId}",
|
|
113
113
|
): DeleteAwaitByUserId {
|
|
114
114
|
return new DeleteAwaitByUserId(
|
|
@@ -8,7 +8,7 @@ export default class Namespace extends CdkResource {
|
|
|
8
8
|
private readonly name;
|
|
9
9
|
private readonly description;
|
|
10
10
|
private readonly transactionSetting;
|
|
11
|
-
private readonly
|
|
11
|
+
private readonly rankCapScriptId;
|
|
12
12
|
private readonly changeExperienceScript;
|
|
13
13
|
private readonly changeRankScript;
|
|
14
14
|
private readonly changeRankCapScript;
|
|
@@ -26,7 +26,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
26
26
|
super("Experience_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.transactionSetting = null;
|
|
29
|
-
this.
|
|
29
|
+
this.rankCapScriptId = null;
|
|
30
30
|
this.changeExperienceScript = null;
|
|
31
31
|
this.changeRankScript = null;
|
|
32
32
|
this.changeRankCapScript = null;
|
|
@@ -36,7 +36,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
36
36
|
this.name = name;
|
|
37
37
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
38
38
|
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
39
|
-
this.
|
|
39
|
+
this.rankCapScriptId = (_c = options === null || options === void 0 ? void 0 : options.rankCapScriptId) !== null && _c !== void 0 ? _c : null;
|
|
40
40
|
this.changeExperienceScript = (_d = options === null || options === void 0 ? void 0 : options.changeExperienceScript) !== null && _d !== void 0 ? _d : null;
|
|
41
41
|
this.changeRankScript = (_e = options === null || options === void 0 ? void 0 : options.changeRankScript) !== null && _e !== void 0 ? _e : null;
|
|
42
42
|
this.changeRankCapScript = (_f = options === null || options === void 0 ? void 0 : options.changeRankCapScript) !== null && _f !== void 0 ? _f : null;
|
|
@@ -51,7 +51,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
51
51
|
return "GS2::Experience::Namespace";
|
|
52
52
|
}
|
|
53
53
|
properties() {
|
|
54
|
-
var _a, _b, _c, _d, _e
|
|
54
|
+
var _a, _b, _c, _d, _e;
|
|
55
55
|
let properties = {};
|
|
56
56
|
if (this.name != null) {
|
|
57
57
|
properties["Name"] = this.name;
|
|
@@ -62,8 +62,8 @@ class Namespace extends model_1.CdkResource {
|
|
|
62
62
|
if (this.transactionSetting != null) {
|
|
63
63
|
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
64
64
|
}
|
|
65
|
-
if (this.
|
|
66
|
-
properties["
|
|
65
|
+
if (this.rankCapScriptId != null) {
|
|
66
|
+
properties["RankCapScriptId"] = this.rankCapScriptId;
|
|
67
67
|
}
|
|
68
68
|
if (this.changeExperienceScript != null) {
|
|
69
69
|
properties["ChangeExperienceScript"] = (_b = this.changeExperienceScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
@@ -75,10 +75,10 @@ class Namespace extends model_1.CdkResource {
|
|
|
75
75
|
properties["ChangeRankCapScript"] = (_d = this.changeRankCapScript) === null || _d === void 0 ? void 0 : _d.properties();
|
|
76
76
|
}
|
|
77
77
|
if (this.overflowExperienceScript != null) {
|
|
78
|
-
properties["OverflowExperienceScript"] =
|
|
78
|
+
properties["OverflowExperienceScript"] = this.overflowExperienceScript;
|
|
79
79
|
}
|
|
80
80
|
if (this.logSetting != null) {
|
|
81
|
-
properties["LogSetting"] = (
|
|
81
|
+
properties["LogSetting"] = (_e = this.logSetting) === null || _e === void 0 ? void 0 : _e.properties();
|
|
82
82
|
}
|
|
83
83
|
return properties;
|
|
84
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAY9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,uBAAuB,GAAG,IAAI,CACjC,CAAC;QAhBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAY9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,uBAAuB,GAAG,IAAI,CACjC,CAAC;QAhBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,oBAAe,GAAgB,IAAI,CAAC;QACpC,2BAAsB,GAAuB,IAAI,CAAC;QAClD,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,wBAAmB,GAAuB,IAAI,CAAC;QAC/C,6BAAwB,GAAgB,IAAI,CAAC;QAC7C,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI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,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,gBAAgB,CACnB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAnHD,4BAmHC"}
|
|
@@ -31,11 +31,11 @@ export default class Namespace extends CdkResource {
|
|
|
31
31
|
private readonly name: string;
|
|
32
32
|
private readonly description: string|null = null;
|
|
33
33
|
private readonly transactionSetting: TransactionSetting|null = null;
|
|
34
|
-
private readonly
|
|
34
|
+
private readonly rankCapScriptId: string|null = null;
|
|
35
35
|
private readonly changeExperienceScript: ScriptSetting|null = null;
|
|
36
36
|
private readonly changeRankScript: ScriptSetting|null = null;
|
|
37
37
|
private readonly changeRankCapScript: ScriptSetting|null = null;
|
|
38
|
-
private readonly overflowExperienceScript:
|
|
38
|
+
private readonly overflowExperienceScript: string|null = null;
|
|
39
39
|
private readonly logSetting: LogSetting|null = null;
|
|
40
40
|
|
|
41
41
|
public constructor(
|
|
@@ -51,7 +51,7 @@ export default class Namespace extends CdkResource {
|
|
|
51
51
|
this.name = name;
|
|
52
52
|
this.description = options?.description ?? null;
|
|
53
53
|
this.transactionSetting = options?.transactionSetting ?? null;
|
|
54
|
-
this.
|
|
54
|
+
this.rankCapScriptId = options?.rankCapScriptId ?? null;
|
|
55
55
|
this.changeExperienceScript = options?.changeExperienceScript ?? null;
|
|
56
56
|
this.changeRankScript = options?.changeRankScript ?? null;
|
|
57
57
|
this.changeRankCapScript = options?.changeRankCapScript ?? null;
|
|
@@ -87,8 +87,8 @@ export default class Namespace extends CdkResource {
|
|
|
87
87
|
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
88
88
|
);
|
|
89
89
|
}
|
|
90
|
-
if (this.
|
|
91
|
-
properties["
|
|
90
|
+
if (this.rankCapScriptId != null) {
|
|
91
|
+
properties["RankCapScriptId"] = this.rankCapScriptId;
|
|
92
92
|
}
|
|
93
93
|
if (this.changeExperienceScript != null) {
|
|
94
94
|
properties["ChangeExperienceScript"] = this.changeExperienceScript?.properties(
|
|
@@ -103,8 +103,7 @@ export default class Namespace extends CdkResource {
|
|
|
103
103
|
);
|
|
104
104
|
}
|
|
105
105
|
if (this.overflowExperienceScript != null) {
|
|
106
|
-
properties["OverflowExperienceScript"] = this.overflowExperienceScript
|
|
107
|
-
);
|
|
106
|
+
properties["OverflowExperienceScript"] = this.overflowExperienceScript;
|
|
108
107
|
}
|
|
109
108
|
if (this.logSetting != null) {
|
|
110
109
|
properties["LogSetting"] = this.logSetting?.properties(
|
|
@@ -4,10 +4,10 @@ import LogSetting from "../../../core/model/LogSetting";
|
|
|
4
4
|
export interface NamespaceOptions {
|
|
5
5
|
description?: string | null;
|
|
6
6
|
transactionSetting?: TransactionSetting | null;
|
|
7
|
-
|
|
7
|
+
rankCapScriptId?: string | null;
|
|
8
8
|
changeExperienceScript?: ScriptSetting | null;
|
|
9
9
|
changeRankScript?: ScriptSetting | null;
|
|
10
10
|
changeRankCapScript?: ScriptSetting | null;
|
|
11
|
-
overflowExperienceScript?:
|
|
11
|
+
overflowExperienceScript?: string | null;
|
|
12
12
|
logSetting?: LogSetting | null;
|
|
13
13
|
}
|
|
@@ -20,11 +20,11 @@ import LogSetting from "../../../core/model/LogSetting";
|
|
|
20
20
|
export interface NamespaceOptions {
|
|
21
21
|
description?: string|null;
|
|
22
22
|
transactionSetting?: TransactionSetting|null;
|
|
23
|
-
|
|
23
|
+
rankCapScriptId?: string|null;
|
|
24
24
|
changeExperienceScript?: ScriptSetting|null;
|
|
25
25
|
changeRankScript?: ScriptSetting|null;
|
|
26
26
|
changeRankCapScript?: ScriptSetting|null;
|
|
27
|
-
overflowExperienceScript?:
|
|
27
|
+
overflowExperienceScript?: string|null;
|
|
28
28
|
logSetting?: LogSetting|null;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -6,15 +6,19 @@ import MultiplyAcquireActionsByUserId from "../stampSheet/MultiplyAcquireActions
|
|
|
6
6
|
import { AcquireAction } from "../../core/model";
|
|
7
7
|
import SubExperienceByUserId from "../stampSheet/SubExperienceByUserId";
|
|
8
8
|
import SubRankCapByUserId from "../stampSheet/SubRankCapByUserId";
|
|
9
|
+
import VerifyRankByUserId from "../stampSheet/VerifyRankByUserId";
|
|
10
|
+
import VerifyRankCapByUserId from "../stampSheet/VerifyRankCapByUserId";
|
|
9
11
|
export default class NamespaceRef {
|
|
10
12
|
private readonly namespaceName;
|
|
11
13
|
constructor(namespaceName: string);
|
|
12
14
|
experienceModel(experienceName: string): ExperienceModelRef;
|
|
13
|
-
addExperience(experienceName: string, propertyId: string, experienceValue
|
|
15
|
+
addExperience(experienceName: string, propertyId: string, experienceValue?: number | null, userId?: string | null): AddExperienceByUserId;
|
|
14
16
|
addRankCap(experienceName: string, propertyId: string, rankCapValue: number, userId?: string | null): AddRankCapByUserId;
|
|
15
17
|
setRankCap(experienceName: string, propertyId: string, rankCapValue: number, userId?: string | null): SetRankCapByUserId;
|
|
16
18
|
multiplyAcquireActions(experienceName: string, propertyId: string, rateName: string, acquireActions?: AcquireAction[] | null, userId?: string | null): MultiplyAcquireActionsByUserId;
|
|
17
|
-
subExperience(experienceName: string, propertyId: string, experienceValue
|
|
19
|
+
subExperience(experienceName: string, propertyId: string, experienceValue?: number | null, userId?: string | null): SubExperienceByUserId;
|
|
18
20
|
subRankCap(experienceName: string, propertyId: string, rankCapValue: number, userId?: string | null): SubRankCapByUserId;
|
|
21
|
+
verifyRank(experienceName: string, verifyType: string, propertyId: string, rankValue?: number | null, userId?: string | null): VerifyRankByUserId;
|
|
22
|
+
verifyRankCap(experienceName: string, verifyType: string, propertyId: string, rankCapValue: number, userId?: string | null): VerifyRankCapByUserId;
|
|
19
23
|
grn(): string;
|
|
20
24
|
}
|
|
@@ -24,6 +24,8 @@ const SetRankCapByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SetR
|
|
|
24
24
|
const MultiplyAcquireActionsByUserId_1 = tslib_1.__importDefault(require("../stampSheet/MultiplyAcquireActionsByUserId"));
|
|
25
25
|
const SubExperienceByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SubExperienceByUserId"));
|
|
26
26
|
const SubRankCapByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SubRankCapByUserId"));
|
|
27
|
+
const VerifyRankByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyRankByUserId"));
|
|
28
|
+
const VerifyRankCapByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyRankCapByUserId"));
|
|
27
29
|
class NamespaceRef {
|
|
28
30
|
constructor(namespaceName) {
|
|
29
31
|
this.namespaceName = namespaceName;
|
|
@@ -31,7 +33,7 @@ class NamespaceRef {
|
|
|
31
33
|
experienceModel(experienceName) {
|
|
32
34
|
return new ExperienceModelRef_1.default(this.namespaceName, experienceName);
|
|
33
35
|
}
|
|
34
|
-
addExperience(experienceName, propertyId, experienceValue, userId = "#{userId}") {
|
|
36
|
+
addExperience(experienceName, propertyId, experienceValue = null, userId = "#{userId}") {
|
|
35
37
|
return new AddExperienceByUserId_1.default(this.namespaceName, experienceName, propertyId, experienceValue, userId);
|
|
36
38
|
}
|
|
37
39
|
addRankCap(experienceName, propertyId, rankCapValue, userId = "#{userId}") {
|
|
@@ -43,12 +45,18 @@ class NamespaceRef {
|
|
|
43
45
|
multiplyAcquireActions(experienceName, propertyId, rateName, acquireActions = null, userId = "#{userId}") {
|
|
44
46
|
return new MultiplyAcquireActionsByUserId_1.default(this.namespaceName, experienceName, propertyId, rateName, acquireActions, userId);
|
|
45
47
|
}
|
|
46
|
-
subExperience(experienceName, propertyId, experienceValue, userId = "#{userId}") {
|
|
48
|
+
subExperience(experienceName, propertyId, experienceValue = null, userId = "#{userId}") {
|
|
47
49
|
return new SubExperienceByUserId_1.default(this.namespaceName, experienceName, propertyId, experienceValue, userId);
|
|
48
50
|
}
|
|
49
51
|
subRankCap(experienceName, propertyId, rankCapValue, userId = "#{userId}") {
|
|
50
52
|
return new SubRankCapByUserId_1.default(this.namespaceName, experienceName, propertyId, rankCapValue, userId);
|
|
51
53
|
}
|
|
54
|
+
verifyRank(experienceName, verifyType, propertyId, rankValue = null, userId = "#{userId}") {
|
|
55
|
+
return new VerifyRankByUserId_1.default(this.namespaceName, experienceName, verifyType, propertyId, rankValue, userId);
|
|
56
|
+
}
|
|
57
|
+
verifyRankCap(experienceName, verifyType, propertyId, rankCapValue, userId = "#{userId}") {
|
|
58
|
+
return new VerifyRankCapByUserId_1.default(this.namespaceName, experienceName, verifyType, propertyId, rankCapValue, userId);
|
|
59
|
+
}
|
|
52
60
|
grn() {
|
|
53
61
|
return new func_1.Join(":", [
|
|
54
62
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AACtD,wGAAwE;AACxE,kGAAkE;AAClE,kGAAkE;AAClE,0HAA0F;AAE1F,wGAAwE;AACxE,kGAAkE;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AACtD,wGAAwE;AACxE,kGAAkE;AAClE,kGAAkE;AAClE,0HAA0F;AAE1F,wGAAwE;AACxE,kGAAkE;AAClE,kGAAkE;AAClE,wGAAwE;AAExE,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,aAAa,CAChB,cAAsB,EACtB,UAAkB,EAClB,kBAA+B,IAAI,EACnC,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IA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