gs2 1.4.1 → 1.4.3
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/guild/model/IgnoreUser.d.ts +24 -0
- package/guild/model/IgnoreUser.js +149 -0
- package/guild/model/IgnoreUser.js.map +1 -0
- package/guild/model/IgnoreUser.ts +165 -0
- package/guild/model/IgnoreUsers.d.ts +41 -0
- package/guild/model/IgnoreUsers.js +213 -0
- package/guild/model/IgnoreUsers.js.map +1 -0
- package/guild/model/IgnoreUsers.ts +230 -0
- package/guild/model/index.d.ts +2 -1
- package/guild/model/index.js +3 -1
- package/guild/model/index.js.map +1 -1
- package/guild/model/index.ts +2 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.d.ts +41 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.js +137 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.js.map +1 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.ts +147 -0
- package/guild/request/AddIgnoreUserRequest.d.ts +37 -0
- package/guild/request/AddIgnoreUserRequest.js +123 -0
- package/guild/request/AddIgnoreUserRequest.js.map +1 -0
- package/guild/request/AddIgnoreUserRequest.ts +133 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.d.ts +41 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.js +137 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.js.map +1 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.ts +147 -0
- package/guild/request/DeleteIgnoreUserRequest.d.ts +37 -0
- package/guild/request/DeleteIgnoreUserRequest.js +123 -0
- package/guild/request/DeleteIgnoreUserRequest.js.map +1 -0
- package/guild/request/DeleteIgnoreUserRequest.ts +133 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.d.ts +37 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.js +125 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.js.map +1 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.ts +132 -0
- package/guild/request/DescribeIgnoreUsersRequest.d.ts +37 -0
- package/guild/request/DescribeIgnoreUsersRequest.js +125 -0
- package/guild/request/DescribeIgnoreUsersRequest.js.map +1 -0
- package/guild/request/DescribeIgnoreUsersRequest.ts +132 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.d.ts +37 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.js +125 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.js.map +1 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.ts +132 -0
- package/guild/request/GetIgnoreUserRequest.d.ts +33 -0
- package/guild/request/GetIgnoreUserRequest.js +111 -0
- package/guild/request/GetIgnoreUserRequest.js.map +1 -0
- package/guild/request/GetIgnoreUserRequest.ts +118 -0
- package/guild/request/index.d.ts +9 -1
- package/guild/request/index.js +17 -1
- package/guild/request/index.js.map +1 -1
- package/guild/request/index.ts +16 -0
- package/guild/rest.d.ts +8 -0
- package/guild/rest.js +239 -0
- package/guild/rest.js.map +1 -1
- package/guild/rest.ts +271 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.d.ts +18 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.js +62 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.js.map +1 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.ts +64 -0
- package/guild/result/AddIgnoreUserResult.d.ts +18 -0
- package/guild/result/AddIgnoreUserResult.js +62 -0
- package/guild/result/AddIgnoreUserResult.js.map +1 -0
- package/guild/result/AddIgnoreUserResult.ts +64 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.d.ts +14 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.js +48 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.js.map +1 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.ts +47 -0
- package/guild/result/DeleteIgnoreUserResult.d.ts +14 -0
- package/guild/result/DeleteIgnoreUserResult.js +48 -0
- package/guild/result/DeleteIgnoreUserResult.js.map +1 -0
- package/guild/result/DeleteIgnoreUserResult.ts +47 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.d.ts +18 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.js +67 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.js.map +1 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.ts +72 -0
- package/guild/result/DescribeIgnoreUsersResult.d.ts +18 -0
- package/guild/result/DescribeIgnoreUsersResult.js +67 -0
- package/guild/result/DescribeIgnoreUsersResult.js.map +1 -0
- package/guild/result/DescribeIgnoreUsersResult.ts +72 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.d.ts +14 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.js +48 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.js.map +1 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.ts +47 -0
- package/guild/result/GetIgnoreUserResult.d.ts +14 -0
- package/guild/result/GetIgnoreUserResult.js +48 -0
- package/guild/result/GetIgnoreUserResult.js.map +1 -0
- package/guild/result/GetIgnoreUserResult.ts +47 -0
- package/guild/result/index.d.ts +9 -1
- package/guild/result/index.js +17 -1
- package/guild/result/index.js.map +1 -1
- package/guild/result/index.ts +16 -0
- package/package.json +1 -1
- package/project/request/GetProjectTokenByIdentifierRequest.d.ts +4 -0
- package/project/request/GetProjectTokenByIdentifierRequest.js +15 -1
- package/project/request/GetProjectTokenByIdentifierRequest.js.map +1 -1
- package/project/request/GetProjectTokenByIdentifierRequest.ts +15 -1
- package/project/rest.js +2 -1
- package/project/rest.js.map +1 -1
- package/project/rest.ts +1 -0
- package/ranking/request/PutScoreByUserIdRequest.d.ts +0 -4
- package/ranking/request/PutScoreByUserIdRequest.js +0 -12
- package/ranking/request/PutScoreByUserIdRequest.js.map +1 -1
- package/ranking/request/PutScoreByUserIdRequest.ts +0 -15
- package/ranking/rest.js +5 -8
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +0 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class IgnoreUser implements IModel {
|
|
3
|
+
private userId;
|
|
4
|
+
private createdAt;
|
|
5
|
+
static getRegion(grn: string): string | null;
|
|
6
|
+
static getOwnerId(grn: string): string | null;
|
|
7
|
+
static getNamespaceName(grn: string): string | null;
|
|
8
|
+
static getGuildModelName(grn: string): string | null;
|
|
9
|
+
static getGuildName(grn: string): string | null;
|
|
10
|
+
static isValid(grn: string): boolean;
|
|
11
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, guildModelName: string | null, guildName: string | null): string | null;
|
|
12
|
+
getUserId(): string | null;
|
|
13
|
+
setUserId(userId: string | null): this;
|
|
14
|
+
withUserId(userId: string | null): this;
|
|
15
|
+
getCreatedAt(): number | null;
|
|
16
|
+
setCreatedAt(createdAt: number | null): this;
|
|
17
|
+
withCreatedAt(createdAt: number | null): this;
|
|
18
|
+
static fromDict(data: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}): IgnoreUser | null;
|
|
21
|
+
toDict(): {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
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
|
+
var grnFormat = "grn:gs2:{region}:{ownerId}:guild:{namespaceName}:guild:{guildModelName}:{guildName}:ignore:user";
|
|
19
|
+
var IgnoreUser = /** @class */ (function () {
|
|
20
|
+
function IgnoreUser() {
|
|
21
|
+
this.userId = null;
|
|
22
|
+
this.createdAt = null;
|
|
23
|
+
}
|
|
24
|
+
IgnoreUser.getRegion = function (grn) {
|
|
25
|
+
var match = grn.match(grnFormat
|
|
26
|
+
.replace('{region}', '(.*)')
|
|
27
|
+
.replace('{ownerId}', '.*')
|
|
28
|
+
.replace('{namespaceName}', '.*')
|
|
29
|
+
.replace('{guildModelName}', '.*')
|
|
30
|
+
.replace('{guildName}', '.*'));
|
|
31
|
+
if (match) {
|
|
32
|
+
return match[1];
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
};
|
|
36
|
+
IgnoreUser.getOwnerId = function (grn) {
|
|
37
|
+
var match = grn.match(grnFormat
|
|
38
|
+
.replace('{region}', '.*')
|
|
39
|
+
.replace('{ownerId}', '(.*)')
|
|
40
|
+
.replace('{namespaceName}', '.*')
|
|
41
|
+
.replace('{guildModelName}', '.*')
|
|
42
|
+
.replace('{guildName}', '.*'));
|
|
43
|
+
if (match) {
|
|
44
|
+
return match[1];
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
};
|
|
48
|
+
IgnoreUser.getNamespaceName = function (grn) {
|
|
49
|
+
var match = grn.match(grnFormat
|
|
50
|
+
.replace('{region}', '.*')
|
|
51
|
+
.replace('{ownerId}', '.*')
|
|
52
|
+
.replace('{namespaceName}', '(.*)')
|
|
53
|
+
.replace('{guildModelName}', '.*')
|
|
54
|
+
.replace('{guildName}', '.*'));
|
|
55
|
+
if (match) {
|
|
56
|
+
return match[1];
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
};
|
|
60
|
+
IgnoreUser.getGuildModelName = function (grn) {
|
|
61
|
+
var match = grn.match(grnFormat
|
|
62
|
+
.replace('{region}', '.*')
|
|
63
|
+
.replace('{ownerId}', '.*')
|
|
64
|
+
.replace('{namespaceName}', '.*')
|
|
65
|
+
.replace('{guildModelName}', '(.*)')
|
|
66
|
+
.replace('{guildName}', '.*'));
|
|
67
|
+
if (match) {
|
|
68
|
+
return match[1];
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
};
|
|
72
|
+
IgnoreUser.getGuildName = function (grn) {
|
|
73
|
+
var match = grn.match(grnFormat
|
|
74
|
+
.replace('{region}', '.*')
|
|
75
|
+
.replace('{ownerId}', '.*')
|
|
76
|
+
.replace('{namespaceName}', '.*')
|
|
77
|
+
.replace('{guildModelName}', '.*')
|
|
78
|
+
.replace('{guildName}', '(.*)'));
|
|
79
|
+
if (match) {
|
|
80
|
+
return match[1];
|
|
81
|
+
}
|
|
82
|
+
return null;
|
|
83
|
+
};
|
|
84
|
+
IgnoreUser.isValid = function (grn) {
|
|
85
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
if (this.getGuildModelName(grn) == null || this.getGuildModelName(grn) === '') {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
if (this.getGuildName(grn) == null || this.getGuildName(grn) === '') {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return true;
|
|
101
|
+
};
|
|
102
|
+
IgnoreUser.createGrn = function (region, ownerId, namespaceName, guildModelName, guildName) {
|
|
103
|
+
return grnFormat
|
|
104
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
105
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
106
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
107
|
+
.replace('{guildModelName}', guildModelName !== null && guildModelName !== void 0 ? guildModelName : '')
|
|
108
|
+
.replace('{guildName}', guildName !== null && guildName !== void 0 ? guildName : '');
|
|
109
|
+
};
|
|
110
|
+
IgnoreUser.prototype.getUserId = function () {
|
|
111
|
+
return this.userId;
|
|
112
|
+
};
|
|
113
|
+
IgnoreUser.prototype.setUserId = function (userId) {
|
|
114
|
+
this.userId = userId;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
IgnoreUser.prototype.withUserId = function (userId) {
|
|
118
|
+
this.userId = userId;
|
|
119
|
+
return this;
|
|
120
|
+
};
|
|
121
|
+
IgnoreUser.prototype.getCreatedAt = function () {
|
|
122
|
+
return this.createdAt;
|
|
123
|
+
};
|
|
124
|
+
IgnoreUser.prototype.setCreatedAt = function (createdAt) {
|
|
125
|
+
this.createdAt = createdAt;
|
|
126
|
+
return this;
|
|
127
|
+
};
|
|
128
|
+
IgnoreUser.prototype.withCreatedAt = function (createdAt) {
|
|
129
|
+
this.createdAt = createdAt;
|
|
130
|
+
return this;
|
|
131
|
+
};
|
|
132
|
+
IgnoreUser.fromDict = function (data) {
|
|
133
|
+
if (data == undefined || data == null) {
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
return new IgnoreUser()
|
|
137
|
+
.withUserId(data["userId"])
|
|
138
|
+
.withCreatedAt(data["createdAt"]);
|
|
139
|
+
};
|
|
140
|
+
IgnoreUser.prototype.toDict = function () {
|
|
141
|
+
return {
|
|
142
|
+
"userId": this.getUserId(),
|
|
143
|
+
"createdAt": this.getCreatedAt(),
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
return IgnoreUser;
|
|
147
|
+
}());
|
|
148
|
+
exports.default = IgnoreUser;
|
|
149
|
+
//# sourceMappingURL=IgnoreUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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S,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,8BAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+BAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,iCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kCAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,UAAU,EAAE;aAClB,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,2BAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,iBAAC;AAAD,CAAC,AAjJD,IAiJC"}
|
|
@@ -0,0 +1,165 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:guild:{namespaceName}:guild:{guildModelName}:{guildName}:ignore:user";
|
|
19
|
+
|
|
20
|
+
export default class IgnoreUser implements IModel {
|
|
21
|
+
private userId: string|null = null;
|
|
22
|
+
private createdAt: number|null = null;
|
|
23
|
+
|
|
24
|
+
public static getRegion(grn: string): string|null {
|
|
25
|
+
const match = grn.match(grnFormat
|
|
26
|
+
.replace('{region}', '(.*)')
|
|
27
|
+
.replace('{ownerId}', '.*')
|
|
28
|
+
.replace('{namespaceName}', '.*')
|
|
29
|
+
.replace('{guildModelName}', '.*')
|
|
30
|
+
.replace('{guildName}', '.*')
|
|
31
|
+
);
|
|
32
|
+
if (match) {
|
|
33
|
+
return match[1];
|
|
34
|
+
}
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static getOwnerId(grn: string): string|null {
|
|
39
|
+
const match = grn.match(grnFormat
|
|
40
|
+
.replace('{region}', '.*')
|
|
41
|
+
.replace('{ownerId}', '(.*)')
|
|
42
|
+
.replace('{namespaceName}', '.*')
|
|
43
|
+
.replace('{guildModelName}', '.*')
|
|
44
|
+
.replace('{guildName}', '.*')
|
|
45
|
+
);
|
|
46
|
+
if (match) {
|
|
47
|
+
return match[1];
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public static getNamespaceName(grn: string): string|null {
|
|
53
|
+
const match = grn.match(grnFormat
|
|
54
|
+
.replace('{region}', '.*')
|
|
55
|
+
.replace('{ownerId}', '.*')
|
|
56
|
+
.replace('{namespaceName}', '(.*)')
|
|
57
|
+
.replace('{guildModelName}', '.*')
|
|
58
|
+
.replace('{guildName}', '.*')
|
|
59
|
+
);
|
|
60
|
+
if (match) {
|
|
61
|
+
return match[1];
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public static getGuildModelName(grn: string): string|null {
|
|
67
|
+
const match = grn.match(grnFormat
|
|
68
|
+
.replace('{region}', '.*')
|
|
69
|
+
.replace('{ownerId}', '.*')
|
|
70
|
+
.replace('{namespaceName}', '.*')
|
|
71
|
+
.replace('{guildModelName}', '(.*)')
|
|
72
|
+
.replace('{guildName}', '.*')
|
|
73
|
+
);
|
|
74
|
+
if (match) {
|
|
75
|
+
return match[1];
|
|
76
|
+
}
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public static getGuildName(grn: string): string|null {
|
|
81
|
+
const match = grn.match(grnFormat
|
|
82
|
+
.replace('{region}', '.*')
|
|
83
|
+
.replace('{ownerId}', '.*')
|
|
84
|
+
.replace('{namespaceName}', '.*')
|
|
85
|
+
.replace('{guildModelName}', '.*')
|
|
86
|
+
.replace('{guildName}', '(.*)')
|
|
87
|
+
);
|
|
88
|
+
if (match) {
|
|
89
|
+
return match[1];
|
|
90
|
+
}
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
public static isValid(grn: string): boolean {
|
|
95
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
if (this.getGuildModelName(grn) == null || this.getGuildModelName(grn) === '') {
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
if (this.getGuildName(grn) == null || this.getGuildName(grn) === '') {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
public static createGrn(
|
|
114
|
+
region: string|null,
|
|
115
|
+
ownerId: string|null,
|
|
116
|
+
namespaceName: string|null,
|
|
117
|
+
guildModelName: string|null,
|
|
118
|
+
guildName: string|null,
|
|
119
|
+
): string|null {
|
|
120
|
+
return grnFormat
|
|
121
|
+
.replace('{region}', region ?? '')
|
|
122
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
123
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
124
|
+
.replace('{guildModelName}', guildModelName ?? '')
|
|
125
|
+
.replace('{guildName}', guildName ?? '');
|
|
126
|
+
}
|
|
127
|
+
public getUserId(): string|null {
|
|
128
|
+
return this.userId;
|
|
129
|
+
}
|
|
130
|
+
public setUserId(userId: string|null) {
|
|
131
|
+
this.userId = userId;
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
public withUserId(userId: string|null): this {
|
|
135
|
+
this.userId = userId;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
public getCreatedAt(): number|null {
|
|
139
|
+
return this.createdAt;
|
|
140
|
+
}
|
|
141
|
+
public setCreatedAt(createdAt: number|null) {
|
|
142
|
+
this.createdAt = createdAt;
|
|
143
|
+
return this;
|
|
144
|
+
}
|
|
145
|
+
public withCreatedAt(createdAt: number|null): this {
|
|
146
|
+
this.createdAt = createdAt;
|
|
147
|
+
return this;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
public static fromDict(data: {[key: string]: any}): IgnoreUser|null {
|
|
151
|
+
if (data == undefined || data == null) {
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
154
|
+
return new IgnoreUser()
|
|
155
|
+
.withUserId(data["userId"])
|
|
156
|
+
.withCreatedAt(data["createdAt"]);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
public toDict(): {[key: string]: any} {
|
|
160
|
+
return {
|
|
161
|
+
"userId": this.getUserId(),
|
|
162
|
+
"createdAt": this.getCreatedAt(),
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import IgnoreUser from './IgnoreUser';
|
|
3
|
+
export default class IgnoreUsers implements IModel {
|
|
4
|
+
private ignoreUsersId;
|
|
5
|
+
private guildModelName;
|
|
6
|
+
private users;
|
|
7
|
+
private createdAt;
|
|
8
|
+
private updatedAt;
|
|
9
|
+
private revision;
|
|
10
|
+
static getRegion(grn: string): string | null;
|
|
11
|
+
static getOwnerId(grn: string): string | null;
|
|
12
|
+
static getNamespaceName(grn: string): string | null;
|
|
13
|
+
static getGuildModelName(grn: string): string | null;
|
|
14
|
+
static getGuildName(grn: string): string | null;
|
|
15
|
+
static isValid(grn: string): boolean;
|
|
16
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, guildModelName: string | null, guildName: string | null): string | null;
|
|
17
|
+
getIgnoreUsersId(): string | null;
|
|
18
|
+
setIgnoreUsersId(ignoreUsersId: string | null): this;
|
|
19
|
+
withIgnoreUsersId(ignoreUsersId: string | null): this;
|
|
20
|
+
getGuildModelName(): string | null;
|
|
21
|
+
setGuildModelName(guildModelName: string | null): this;
|
|
22
|
+
withGuildModelName(guildModelName: string | null): this;
|
|
23
|
+
getUsers(): IgnoreUser[] | null;
|
|
24
|
+
setUsers(users: IgnoreUser[] | null): this;
|
|
25
|
+
withUsers(users: IgnoreUser[] | null): this;
|
|
26
|
+
getCreatedAt(): number | null;
|
|
27
|
+
setCreatedAt(createdAt: number | null): this;
|
|
28
|
+
withCreatedAt(createdAt: number | null): this;
|
|
29
|
+
getUpdatedAt(): number | null;
|
|
30
|
+
setUpdatedAt(updatedAt: number | null): this;
|
|
31
|
+
withUpdatedAt(updatedAt: number | null): this;
|
|
32
|
+
getRevision(): number | null;
|
|
33
|
+
setRevision(revision: number | null): this;
|
|
34
|
+
withRevision(revision: number | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): IgnoreUsers | null;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var IgnoreUser_1 = tslib_1.__importDefault(require("./IgnoreUser"));
|
|
20
|
+
var grnFormat = "grn:gs2:{region}:{ownerId}:guild:{namespaceName}:guild:{guildModelName}:{guildName}:ignore:user";
|
|
21
|
+
var IgnoreUsers = /** @class */ (function () {
|
|
22
|
+
function IgnoreUsers() {
|
|
23
|
+
this.ignoreUsersId = null;
|
|
24
|
+
this.guildModelName = null;
|
|
25
|
+
this.users = null;
|
|
26
|
+
this.createdAt = null;
|
|
27
|
+
this.updatedAt = null;
|
|
28
|
+
this.revision = null;
|
|
29
|
+
}
|
|
30
|
+
IgnoreUsers.getRegion = function (grn) {
|
|
31
|
+
var match = grn.match(grnFormat
|
|
32
|
+
.replace('{region}', '(.*)')
|
|
33
|
+
.replace('{ownerId}', '.*')
|
|
34
|
+
.replace('{namespaceName}', '.*')
|
|
35
|
+
.replace('{guildModelName}', '.*')
|
|
36
|
+
.replace('{guildName}', '.*'));
|
|
37
|
+
if (match) {
|
|
38
|
+
return match[1];
|
|
39
|
+
}
|
|
40
|
+
return null;
|
|
41
|
+
};
|
|
42
|
+
IgnoreUsers.getOwnerId = function (grn) {
|
|
43
|
+
var match = grn.match(grnFormat
|
|
44
|
+
.replace('{region}', '.*')
|
|
45
|
+
.replace('{ownerId}', '(.*)')
|
|
46
|
+
.replace('{namespaceName}', '.*')
|
|
47
|
+
.replace('{guildModelName}', '.*')
|
|
48
|
+
.replace('{guildName}', '.*'));
|
|
49
|
+
if (match) {
|
|
50
|
+
return match[1];
|
|
51
|
+
}
|
|
52
|
+
return null;
|
|
53
|
+
};
|
|
54
|
+
IgnoreUsers.getNamespaceName = function (grn) {
|
|
55
|
+
var match = grn.match(grnFormat
|
|
56
|
+
.replace('{region}', '.*')
|
|
57
|
+
.replace('{ownerId}', '.*')
|
|
58
|
+
.replace('{namespaceName}', '(.*)')
|
|
59
|
+
.replace('{guildModelName}', '.*')
|
|
60
|
+
.replace('{guildName}', '.*'));
|
|
61
|
+
if (match) {
|
|
62
|
+
return match[1];
|
|
63
|
+
}
|
|
64
|
+
return null;
|
|
65
|
+
};
|
|
66
|
+
IgnoreUsers.getGuildModelName = function (grn) {
|
|
67
|
+
var match = grn.match(grnFormat
|
|
68
|
+
.replace('{region}', '.*')
|
|
69
|
+
.replace('{ownerId}', '.*')
|
|
70
|
+
.replace('{namespaceName}', '.*')
|
|
71
|
+
.replace('{guildModelName}', '(.*)')
|
|
72
|
+
.replace('{guildName}', '.*'));
|
|
73
|
+
if (match) {
|
|
74
|
+
return match[1];
|
|
75
|
+
}
|
|
76
|
+
return null;
|
|
77
|
+
};
|
|
78
|
+
IgnoreUsers.getGuildName = function (grn) {
|
|
79
|
+
var match = grn.match(grnFormat
|
|
80
|
+
.replace('{region}', '.*')
|
|
81
|
+
.replace('{ownerId}', '.*')
|
|
82
|
+
.replace('{namespaceName}', '.*')
|
|
83
|
+
.replace('{guildModelName}', '.*')
|
|
84
|
+
.replace('{guildName}', '(.*)'));
|
|
85
|
+
if (match) {
|
|
86
|
+
return match[1];
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
89
|
+
};
|
|
90
|
+
IgnoreUsers.isValid = function (grn) {
|
|
91
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
if (this.getGuildModelName(grn) == null || this.getGuildModelName(grn) === '') {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
if (this.getGuildName(grn) == null || this.getGuildName(grn) === '') {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
return true;
|
|
107
|
+
};
|
|
108
|
+
IgnoreUsers.createGrn = function (region, ownerId, namespaceName, guildModelName, guildName) {
|
|
109
|
+
return grnFormat
|
|
110
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
111
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
112
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
113
|
+
.replace('{guildModelName}', guildModelName !== null && guildModelName !== void 0 ? guildModelName : '')
|
|
114
|
+
.replace('{guildName}', guildName !== null && guildName !== void 0 ? guildName : '');
|
|
115
|
+
};
|
|
116
|
+
IgnoreUsers.prototype.getIgnoreUsersId = function () {
|
|
117
|
+
return this.ignoreUsersId;
|
|
118
|
+
};
|
|
119
|
+
IgnoreUsers.prototype.setIgnoreUsersId = function (ignoreUsersId) {
|
|
120
|
+
this.ignoreUsersId = ignoreUsersId;
|
|
121
|
+
return this;
|
|
122
|
+
};
|
|
123
|
+
IgnoreUsers.prototype.withIgnoreUsersId = function (ignoreUsersId) {
|
|
124
|
+
this.ignoreUsersId = ignoreUsersId;
|
|
125
|
+
return this;
|
|
126
|
+
};
|
|
127
|
+
IgnoreUsers.prototype.getGuildModelName = function () {
|
|
128
|
+
return this.guildModelName;
|
|
129
|
+
};
|
|
130
|
+
IgnoreUsers.prototype.setGuildModelName = function (guildModelName) {
|
|
131
|
+
this.guildModelName = guildModelName;
|
|
132
|
+
return this;
|
|
133
|
+
};
|
|
134
|
+
IgnoreUsers.prototype.withGuildModelName = function (guildModelName) {
|
|
135
|
+
this.guildModelName = guildModelName;
|
|
136
|
+
return this;
|
|
137
|
+
};
|
|
138
|
+
IgnoreUsers.prototype.getUsers = function () {
|
|
139
|
+
return this.users;
|
|
140
|
+
};
|
|
141
|
+
IgnoreUsers.prototype.setUsers = function (users) {
|
|
142
|
+
this.users = users;
|
|
143
|
+
return this;
|
|
144
|
+
};
|
|
145
|
+
IgnoreUsers.prototype.withUsers = function (users) {
|
|
146
|
+
this.users = users;
|
|
147
|
+
return this;
|
|
148
|
+
};
|
|
149
|
+
IgnoreUsers.prototype.getCreatedAt = function () {
|
|
150
|
+
return this.createdAt;
|
|
151
|
+
};
|
|
152
|
+
IgnoreUsers.prototype.setCreatedAt = function (createdAt) {
|
|
153
|
+
this.createdAt = createdAt;
|
|
154
|
+
return this;
|
|
155
|
+
};
|
|
156
|
+
IgnoreUsers.prototype.withCreatedAt = function (createdAt) {
|
|
157
|
+
this.createdAt = createdAt;
|
|
158
|
+
return this;
|
|
159
|
+
};
|
|
160
|
+
IgnoreUsers.prototype.getUpdatedAt = function () {
|
|
161
|
+
return this.updatedAt;
|
|
162
|
+
};
|
|
163
|
+
IgnoreUsers.prototype.setUpdatedAt = function (updatedAt) {
|
|
164
|
+
this.updatedAt = updatedAt;
|
|
165
|
+
return this;
|
|
166
|
+
};
|
|
167
|
+
IgnoreUsers.prototype.withUpdatedAt = function (updatedAt) {
|
|
168
|
+
this.updatedAt = updatedAt;
|
|
169
|
+
return this;
|
|
170
|
+
};
|
|
171
|
+
IgnoreUsers.prototype.getRevision = function () {
|
|
172
|
+
return this.revision;
|
|
173
|
+
};
|
|
174
|
+
IgnoreUsers.prototype.setRevision = function (revision) {
|
|
175
|
+
this.revision = revision;
|
|
176
|
+
return this;
|
|
177
|
+
};
|
|
178
|
+
IgnoreUsers.prototype.withRevision = function (revision) {
|
|
179
|
+
this.revision = revision;
|
|
180
|
+
return this;
|
|
181
|
+
};
|
|
182
|
+
IgnoreUsers.fromDict = function (data) {
|
|
183
|
+
if (data == undefined || data == null) {
|
|
184
|
+
return null;
|
|
185
|
+
}
|
|
186
|
+
return new IgnoreUsers()
|
|
187
|
+
.withIgnoreUsersId(data["ignoreUsersId"])
|
|
188
|
+
.withGuildModelName(data["guildModelName"])
|
|
189
|
+
.withUsers(data.users ?
|
|
190
|
+
data.users.map(function (item) {
|
|
191
|
+
return IgnoreUser_1.default.fromDict(item);
|
|
192
|
+
}) : [])
|
|
193
|
+
.withCreatedAt(data["createdAt"])
|
|
194
|
+
.withUpdatedAt(data["updatedAt"])
|
|
195
|
+
.withRevision(data["revision"]);
|
|
196
|
+
};
|
|
197
|
+
IgnoreUsers.prototype.toDict = function () {
|
|
198
|
+
return {
|
|
199
|
+
"ignoreUsersId": this.getIgnoreUsersId(),
|
|
200
|
+
"guildModelName": this.getGuildModelName(),
|
|
201
|
+
"users": this.getUsers() ?
|
|
202
|
+
this.getUsers().map(function (item) {
|
|
203
|
+
return item.toDict();
|
|
204
|
+
}) : [],
|
|
205
|
+
"createdAt": this.getCreatedAt(),
|
|
206
|
+
"updatedAt": this.getUpdatedAt(),
|
|
207
|
+
"revision": this.getRevision(),
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
return IgnoreUsers;
|
|
211
|
+
}());
|
|
212
|
+
exports.default = IgnoreUsers;
|
|
213
|
+
//# sourceMappingURL=IgnoreUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgnoreUsers.js","sourceRoot":"","sources":["IgnoreUsers.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,oEAAsC;AACtC,IAAM,SAAS,GAAW,iGAAiG,CAAC;AAE5H;IAAA;QACY,kBAAa,GAAgB,IAAI,CAAC;QAClC,mBAAc,GAAgB,IAAI,CAAC;QACnC,UAAK,GAAsB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,aAAQ,GAAgB,IAAI,CAAC;IA2MzC,CAAC;IAzMiB,qBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC;aAC3B,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;aAC1B,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC;aAChC,OAAO,CAAC,kBAAkB,EAAE,IAAI,CAAC;aACjC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,CAChC,CAAC;QACF,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;SACnB;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sBAAU,GAAxB,UAAyB,GAAW;QAChC,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;aACzB,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC;aAC5B,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC;aAChC,OAAO,CAAC,kBAAkB,EAAE,IAAI,CAAC;aACjC,OAAO,CAAC,aAAa,EAAE,IA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