gs2-cdk 1.0.55 → 1.0.57
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/distributor/model/StampSheetResult.d.ts +2 -0
- package/distributor/model/StampSheetResult.js +15 -5
- package/distributor/model/StampSheetResult.js.map +1 -1
- package/distributor/model/StampSheetResult.ts +10 -0
- package/distributor/model/options/StampSheetResultOptions.d.ts +2 -0
- package/distributor/model/options/StampSheetResultOptions.ts +2 -0
- package/exchange/ref/NamespaceRef.d.ts +1 -1
- package/exchange/ref/NamespaceRef.js +2 -2
- package/exchange/ref/NamespaceRef.js.map +1 -1
- package/exchange/ref/NamespaceRef.ts +2 -0
- package/exchange/stampSheet/CreateAwaitByUserId.d.ts +3 -1
- package/exchange/stampSheet/CreateAwaitByUserId.js +6 -1
- package/exchange/stampSheet/CreateAwaitByUserId.js.map +1 -1
- package/exchange/stampSheet/CreateAwaitByUserId.ts +8 -0
- package/formation/model/Namespace.d.ts +1 -0
- package/formation/model/Namespace.js +9 -4
- package/formation/model/Namespace.js.map +1 -1
- package/formation/model/Namespace.ts +6 -0
- package/formation/model/options/NamespaceOptions.d.ts +1 -0
- package/formation/model/options/NamespaceOptions.ts +1 -0
- package/idle/ref/NamespaceRef.d.ts +2 -0
- package/idle/ref/NamespaceRef.js +4 -0
- package/idle/ref/NamespaceRef.js.map +1 -1
- package/idle/ref/NamespaceRef.ts +14 -0
- package/idle/stampSheet/SetMaximumIdleMinutesByUserId.d.ts +12 -0
- package/idle/stampSheet/SetMaximumIdleMinutesByUserId.js +49 -0
- package/idle/stampSheet/SetMaximumIdleMinutesByUserId.js.map +1 -0
- package/idle/stampSheet/SetMaximumIdleMinutesByUserId.ts +63 -0
- package/idle/stampSheet/index.d.ts +2 -1
- package/idle/stampSheet/index.js +3 -1
- package/idle/stampSheet/index.js.map +1 -1
- package/idle/stampSheet/index.ts +2 -0
- package/log/model/AccessLogWithTelemetry.d.ts +18 -0
- package/log/model/AccessLogWithTelemetry.js +54 -0
- package/log/model/AccessLogWithTelemetry.js.map +1 -0
- package/log/model/AccessLogWithTelemetry.ts +92 -0
- package/log/model/enum/AccessLogWithTelemetryStatus.d.ts +5 -0
- package/log/model/enum/AccessLogWithTelemetryStatus.js +23 -0
- package/log/model/enum/AccessLogWithTelemetryStatus.js.map +1 -0
- package/log/model/enum/AccessLogWithTelemetryStatus.ts +23 -0
- package/log/model/index.d.ts +4 -1
- package/log/model/index.js +5 -1
- package/log/model/index.js.map +1 -1
- package/log/model/index.ts +6 -0
- package/log/model/options/AccessLogWithTelemetryOptions.d.ts +3 -0
- package/log/model/options/AccessLogWithTelemetryOptions.js +3 -0
- package/log/model/options/AccessLogWithTelemetryOptions.js.map +1 -0
- package/log/model/options/AccessLogWithTelemetryOptions.ts +21 -0
- package/package.json +1 -1
- package/schedule/ref/NamespaceRef.d.ts +3 -0
- package/schedule/ref/NamespaceRef.js +4 -0
- package/schedule/ref/NamespaceRef.js.map +1 -1
- package/schedule/ref/NamespaceRef.ts +15 -0
- package/schedule/stampSheet/VerifyEventByUserId.d.ts +13 -0
- package/schedule/stampSheet/VerifyEventByUserId.js +48 -0
- package/schedule/stampSheet/VerifyEventByUserId.js.map +1 -0
- package/schedule/stampSheet/VerifyEventByUserId.ts +64 -0
- package/schedule/stampSheet/enum/EventVerifyType.d.ts +5 -0
- package/schedule/stampSheet/enum/EventVerifyType.js +23 -0
- package/schedule/stampSheet/enum/EventVerifyType.js.map +1 -0
- package/schedule/stampSheet/enum/EventVerifyType.ts +23 -0
- package/schedule/stampSheet/index.d.ts +2 -1
- package/schedule/stampSheet/index.js +3 -1
- package/schedule/stampSheet/index.js.map +1 -1
- package/schedule/stampSheet/index.ts +2 -0
- package/seasonRating/index.d.ts +12 -0
- package/seasonRating/index.js +32 -0
- package/seasonRating/index.js.map +1 -0
- package/seasonRating/index.ts +36 -0
- package/seasonRating/model/CurrentMasterData.d.ts +13 -0
- package/seasonRating/model/CurrentMasterData.js +50 -0
- package/seasonRating/model/CurrentMasterData.js.map +1 -0
- package/seasonRating/model/CurrentMasterData.ts +70 -0
- package/seasonRating/model/GameResult.d.ts +9 -0
- package/seasonRating/model/GameResult.js +20 -0
- package/seasonRating/model/GameResult.js.map +1 -0
- package/seasonRating/model/GameResult.ts +44 -0
- package/seasonRating/model/MatchSession.d.ts +18 -0
- package/seasonRating/model/MatchSession.js +61 -0
- package/seasonRating/model/MatchSession.js.map +1 -0
- package/seasonRating/model/MatchSession.ts +93 -0
- package/seasonRating/model/Namespace.d.ts +21 -0
- package/seasonRating/model/Namespace.js +72 -0
- package/seasonRating/model/Namespace.js.map +1 -0
- package/seasonRating/model/Namespace.ts +115 -0
- package/seasonRating/model/SeasonModel.d.ts +12 -0
- package/seasonRating/model/SeasonModel.js +30 -0
- package/seasonRating/model/SeasonModel.js.map +1 -0
- package/seasonRating/model/SeasonModel.ts +57 -0
- package/seasonRating/model/SignedBallot.d.ts +9 -0
- package/seasonRating/model/SignedBallot.js +20 -0
- package/seasonRating/model/SignedBallot.js.map +1 -0
- package/seasonRating/model/SignedBallot.ts +44 -0
- package/seasonRating/model/TierModel.d.ts +12 -0
- package/seasonRating/model/TierModel.js +34 -0
- package/seasonRating/model/TierModel.js.map +1 -0
- package/seasonRating/model/TierModel.ts +61 -0
- package/seasonRating/model/Vote.d.ts +0 -0
- package/seasonRating/model/Vote.js +19 -0
- package/seasonRating/model/Vote.js.map +1 -0
- package/seasonRating/model/Vote.ts +17 -0
- package/seasonRating/model/WrittenBallot.d.ts +0 -0
- package/seasonRating/model/WrittenBallot.js +19 -0
- package/seasonRating/model/WrittenBallot.js.map +1 -0
- package/seasonRating/model/WrittenBallot.ts +17 -0
- package/seasonRating/model/index.d.ts +15 -0
- package/seasonRating/model/index.js +36 -0
- package/seasonRating/model/index.js.map +1 -0
- package/seasonRating/model/index.ts +48 -0
- package/seasonRating/model/options/GameResultOptions.d.ts +2 -0
- package/seasonRating/model/options/GameResultOptions.js +18 -0
- package/seasonRating/model/options/GameResultOptions.js.map +1 -0
- package/seasonRating/model/options/GameResultOptions.ts +19 -0
- package/seasonRating/model/options/MatchSessionOptions.d.ts +4 -0
- package/seasonRating/model/options/MatchSessionOptions.js +18 -0
- package/seasonRating/model/options/MatchSessionOptions.js.map +1 -0
- package/seasonRating/model/options/MatchSessionOptions.ts +21 -0
- package/seasonRating/model/options/NamespaceOptions.d.ts +7 -0
- package/seasonRating/model/options/NamespaceOptions.js +3 -0
- package/seasonRating/model/options/NamespaceOptions.js.map +1 -0
- package/seasonRating/model/options/NamespaceOptions.ts +24 -0
- package/seasonRating/model/options/SeasonModelOptions.d.ts +3 -0
- package/seasonRating/model/options/SeasonModelOptions.js +3 -0
- package/seasonRating/model/options/SeasonModelOptions.js.map +1 -0
- package/seasonRating/model/options/SeasonModelOptions.ts +21 -0
- package/seasonRating/model/options/SignedBallotOptions.d.ts +2 -0
- package/seasonRating/model/options/SignedBallotOptions.js +18 -0
- package/seasonRating/model/options/SignedBallotOptions.js.map +1 -0
- package/seasonRating/model/options/SignedBallotOptions.ts +19 -0
- package/seasonRating/model/options/TierModelOptions.d.ts +3 -0
- package/seasonRating/model/options/TierModelOptions.js +18 -0
- package/seasonRating/model/options/TierModelOptions.js.map +1 -0
- package/seasonRating/model/options/TierModelOptions.ts +20 -0
- package/seasonRating/model/options/VoteOptions.d.ts +0 -0
- package/seasonRating/model/options/VoteOptions.js +19 -0
- package/seasonRating/model/options/VoteOptions.js.map +1 -0
- package/seasonRating/model/options/VoteOptions.ts +17 -0
- package/seasonRating/model/options/WrittenBallotOptions.d.ts +4 -0
- package/seasonRating/model/options/WrittenBallotOptions.js +3 -0
- package/seasonRating/model/options/WrittenBallotOptions.js.map +1 -0
- package/seasonRating/model/options/WrittenBallotOptions.ts +23 -0
- package/seasonRating/ref/MatchSessionRef.d.ts +6 -0
- package/seasonRating/ref/MatchSessionRef.js +38 -0
- package/seasonRating/ref/MatchSessionRef.js.map +1 -0
- package/seasonRating/ref/MatchSessionRef.ts +52 -0
- package/seasonRating/ref/NamespaceRef.d.ts +7 -0
- package/seasonRating/ref/NamespaceRef.js +40 -0
- package/seasonRating/ref/NamespaceRef.js.map +1 -0
- package/seasonRating/ref/NamespaceRef.ts +59 -0
- package/seasonRating/ref/SeasonModelRef.d.ts +6 -0
- package/seasonRating/ref/SeasonModelRef.js +38 -0
- package/seasonRating/ref/SeasonModelRef.js.map +1 -0
- package/seasonRating/ref/SeasonModelRef.ts +52 -0
- package/seasonRating/ref/VoteRef.d.ts +7 -0
- package/seasonRating/ref/VoteRef.js +40 -0
- package/seasonRating/ref/VoteRef.js.map +1 -0
- package/seasonRating/ref/VoteRef.ts +56 -0
- package/seasonRating/ref/index.d.ts +5 -0
- package/seasonRating/ref/index.js +28 -0
- package/seasonRating/ref/index.js.map +1 -0
- package/seasonRating/ref/index.ts +26 -0
- package/seasonRating/stampSheet/index.d.ts +1 -0
- package/seasonRating/stampSheet/index.js +18 -0
- package/seasonRating/stampSheet/index.js.map +1 -0
- package/seasonRating/stampSheet/index.ts +18 -0
- package/skillTree/ref/NamespaceRef.d.ts +2 -2
- package/skillTree/ref/NamespaceRef.js +4 -4
- package/skillTree/ref/NamespaceRef.js.map +1 -1
- package/skillTree/ref/NamespaceRef.ts +4 -0
- package/skillTree/stampSheet/MarkReleaseByUserId.d.ts +2 -1
- package/skillTree/stampSheet/MarkReleaseByUserId.js +5 -1
- package/skillTree/stampSheet/MarkReleaseByUserId.js.map +1 -1
- package/skillTree/stampSheet/MarkReleaseByUserId.ts +6 -0
- package/skillTree/stampSheet/MarkRestrainByUserId.d.ts +2 -1
- package/skillTree/stampSheet/MarkRestrainByUserId.js +5 -1
- package/skillTree/stampSheet/MarkRestrainByUserId.js.map +1 -1
- package/skillTree/stampSheet/MarkRestrainByUserId.ts +6 -0
|
@@ -0,0 +1,40 @@
|
|
|
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 func_1 = require("../../core/func");
|
|
19
|
+
class VoteRef {
|
|
20
|
+
constructor(namespaceName, seasonName, sessionName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.seasonName = seasonName;
|
|
23
|
+
this.sessionName = sessionName;
|
|
24
|
+
}
|
|
25
|
+
grn() {
|
|
26
|
+
return new func_1.Join(":", [
|
|
27
|
+
"grn",
|
|
28
|
+
"gs2",
|
|
29
|
+
func_1.GetAttr.region().str(),
|
|
30
|
+
func_1.GetAttr.ownerId().str(),
|
|
31
|
+
"seasonRating",
|
|
32
|
+
this.namespaceName,
|
|
33
|
+
"vote",
|
|
34
|
+
this.seasonName,
|
|
35
|
+
this.sessionName,
|
|
36
|
+
]).str();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.default = VoteRef;
|
|
40
|
+
//# sourceMappingURL=VoteRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoteRef.js","sourceRoot":"","sources":["VoteRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,OAAO;IAKxB,YACI,aAAqB,EACrB,UAAkB,EAClB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,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;YAClB,MAAM;YACN,IAAI,CAAC,UAAU;YACf,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AArCD,0BAqCC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {GetAttr, Join} from "../../core/func";
|
|
18
|
+
|
|
19
|
+
export default class VoteRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly seasonName: string;
|
|
22
|
+
private readonly sessionName: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
seasonName: string,
|
|
27
|
+
sessionName: string,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.seasonName = seasonName;
|
|
31
|
+
this.sessionName = sessionName;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public grn(
|
|
35
|
+
): string {
|
|
36
|
+
return new Join(
|
|
37
|
+
":",
|
|
38
|
+
[
|
|
39
|
+
"grn",
|
|
40
|
+
"gs2",
|
|
41
|
+
GetAttr.region(
|
|
42
|
+
).str(
|
|
43
|
+
),
|
|
44
|
+
GetAttr.ownerId(
|
|
45
|
+
).str(
|
|
46
|
+
),
|
|
47
|
+
"seasonRating",
|
|
48
|
+
this.namespaceName,
|
|
49
|
+
"vote",
|
|
50
|
+
this.seasonName,
|
|
51
|
+
this.sessionName,
|
|
52
|
+
],
|
|
53
|
+
).str(
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VoteRef = exports.SeasonModelRef = exports.MatchSessionRef = exports.NamespaceRef = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
* Reserved.
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
* You may not use this file except in compliance with the License.
|
|
11
|
+
* A copy of the License is located at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
* express or implied. See the License for the specific language governing
|
|
18
|
+
* permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
21
|
+
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
|
+
const MatchSessionRef_1 = tslib_1.__importDefault(require("./MatchSessionRef"));
|
|
23
|
+
exports.MatchSessionRef = MatchSessionRef_1.default;
|
|
24
|
+
const SeasonModelRef_1 = tslib_1.__importDefault(require("./SeasonModelRef"));
|
|
25
|
+
exports.SeasonModelRef = SeasonModelRef_1.default;
|
|
26
|
+
const VoteRef_1 = tslib_1.__importDefault(require("./VoteRef"));
|
|
27
|
+
exports.VoteRef = VoteRef_1.default;
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,gFAAgD;AAM5C,0BANG,yBAAe,CAMH;AALnB,8EAA8C;AAM1C,yBANG,wBAAc,CAMH;AALlB,gEAAgC;AAM5B,kBANG,iBAAO,CAMH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import NamespaceRef from "./NamespaceRef";
|
|
17
|
+
import MatchSessionRef from "./MatchSessionRef";
|
|
18
|
+
import SeasonModelRef from "./SeasonModelRef";
|
|
19
|
+
import VoteRef from "./VoteRef";
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
NamespaceRef,
|
|
23
|
+
MatchSessionRef,
|
|
24
|
+
SeasonModelRef,
|
|
25
|
+
VoteRef,
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
export {
|
|
18
|
+
}
|
|
@@ -5,7 +5,7 @@ export default class NamespaceRef {
|
|
|
5
5
|
private readonly namespaceName;
|
|
6
6
|
constructor(namespaceName: string);
|
|
7
7
|
nodeModel(nodeModelName: string): NodeModelRef;
|
|
8
|
-
markRelease(nodeModelNames: string[], userId?: string): MarkReleaseByUserId;
|
|
9
|
-
markRestrain(nodeModelNames: string[], userId?: string): MarkRestrainByUserId;
|
|
8
|
+
markRelease(propertyId: string, nodeModelNames: string[], userId?: string): MarkReleaseByUserId;
|
|
9
|
+
markRestrain(propertyId: string, nodeModelNames: string[], userId?: string): MarkRestrainByUserId;
|
|
10
10
|
grn(): string;
|
|
11
11
|
}
|
|
@@ -27,11 +27,11 @@ class NamespaceRef {
|
|
|
27
27
|
nodeModel(nodeModelName) {
|
|
28
28
|
return new NodeModelRef_1.default(this.namespaceName, nodeModelName);
|
|
29
29
|
}
|
|
30
|
-
markRelease(nodeModelNames, userId = "#{userId}") {
|
|
31
|
-
return new MarkReleaseByUserId_1.default(this.namespaceName, nodeModelNames, userId);
|
|
30
|
+
markRelease(propertyId, nodeModelNames, userId = "#{userId}") {
|
|
31
|
+
return new MarkReleaseByUserId_1.default(this.namespaceName, propertyId, nodeModelNames, userId);
|
|
32
32
|
}
|
|
33
|
-
markRestrain(nodeModelNames, userId = "#{userId}") {
|
|
34
|
-
return new MarkRestrainByUserId_1.default(this.namespaceName, nodeModelNames, userId);
|
|
33
|
+
markRestrain(propertyId, nodeModelNames, userId = "#{userId}") {
|
|
34
|
+
return new MarkRestrainByUserId_1.default(this.namespaceName, propertyId, nodeModelNames, userId);
|
|
35
35
|
}
|
|
36
36
|
grn() {
|
|
37
37
|
return new func_1.Join(":", [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,oGAAoE;AACpE,sGAAsE;AAEtE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,aAAqB;QAErB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,aAAa,CAChB,CAAC;IACN,CAAC;IAEM,WAAW,CACd,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,YAAY,CACf,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,oGAAoE;AACpE,sGAAsE;AAEtE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,aAAqB;QAErB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,aAAa,CAChB,CAAC;IACN,CAAC;IAEM,WAAW,CACd,UAAkB,EAClB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,UAAU,EACV,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,YAAY,CACf,UAAkB,EAClB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,UAAU,EACV,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA/DD,+BA+DC"}
|
|
@@ -38,22 +38,26 @@ export default class NamespaceRef {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
public markRelease(
|
|
41
|
+
propertyId: string,
|
|
41
42
|
nodeModelNames: string[],
|
|
42
43
|
userId: string = "#{userId}",
|
|
43
44
|
): MarkReleaseByUserId {
|
|
44
45
|
return new MarkReleaseByUserId(
|
|
45
46
|
this.namespaceName,
|
|
47
|
+
propertyId,
|
|
46
48
|
nodeModelNames,
|
|
47
49
|
userId,
|
|
48
50
|
);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
public markRestrain(
|
|
54
|
+
propertyId: string,
|
|
52
55
|
nodeModelNames: string[],
|
|
53
56
|
userId: string = "#{userId}",
|
|
54
57
|
): MarkRestrainByUserId {
|
|
55
58
|
return new MarkRestrainByUserId(
|
|
56
59
|
this.namespaceName,
|
|
60
|
+
propertyId,
|
|
57
61
|
nodeModelNames,
|
|
58
62
|
userId,
|
|
59
63
|
);
|
|
@@ -2,8 +2,9 @@ import { AcquireAction } from "../../core/model";
|
|
|
2
2
|
export default class MarkReleaseByUserId extends AcquireAction {
|
|
3
3
|
private readonly namespaceName;
|
|
4
4
|
private readonly userId;
|
|
5
|
+
private readonly propertyId;
|
|
5
6
|
private readonly nodeModelNames;
|
|
6
|
-
constructor(namespaceName: string, nodeModelNames: string[], userId?: string);
|
|
7
|
+
constructor(namespaceName: string, propertyId: string, nodeModelNames: string[], userId?: string);
|
|
7
8
|
request(): {
|
|
8
9
|
[name: string]: any;
|
|
9
10
|
};
|
|
@@ -17,9 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class MarkReleaseByUserId extends model_1.AcquireAction {
|
|
20
|
-
constructor(namespaceName, nodeModelNames, userId = "#{userId}") {
|
|
20
|
+
constructor(namespaceName, propertyId, nodeModelNames, userId = "#{userId}") {
|
|
21
21
|
super();
|
|
22
22
|
this.namespaceName = namespaceName;
|
|
23
|
+
this.propertyId = propertyId;
|
|
23
24
|
this.nodeModelNames = nodeModelNames;
|
|
24
25
|
this.userId = userId;
|
|
25
26
|
}
|
|
@@ -31,6 +32,9 @@ class MarkReleaseByUserId extends model_1.AcquireAction {
|
|
|
31
32
|
if (this.userId != null) {
|
|
32
33
|
properties["userId"] = this.userId;
|
|
33
34
|
}
|
|
35
|
+
if (this.propertyId != null) {
|
|
36
|
+
properties["propertyId"] = this.propertyId;
|
|
37
|
+
}
|
|
34
38
|
if (this.nodeModelNames != null) {
|
|
35
39
|
properties["nodeModelNames"] = this.nodeModelNames;
|
|
36
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkReleaseByUserId.js","sourceRoot":"","sources":["MarkReleaseByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,mBAAoB,SAAQ,qBAAa;
|
|
1
|
+
{"version":3,"file":"MarkReleaseByUserId.js","sourceRoot":"","sources":["MarkReleaseByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,mBAAoB,SAAQ,qBAAa;IAO1D,YACI,aAAqB,EACrB,UAAkB,EAClB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC;SACtD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,kCAAkC,CAAC;IAC9C,CAAC;CACJ;AA5CD,sCA4CC"}
|
|
@@ -19,17 +19,20 @@ import {AcquireAction, ConsumeAction} from "../../core/model";
|
|
|
19
19
|
export default class MarkReleaseByUserId extends AcquireAction {
|
|
20
20
|
private readonly namespaceName: string;
|
|
21
21
|
private readonly userId: string;
|
|
22
|
+
private readonly propertyId: string;
|
|
22
23
|
private readonly nodeModelNames: string[];
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
public constructor(
|
|
26
27
|
namespaceName: string,
|
|
28
|
+
propertyId: string,
|
|
27
29
|
nodeModelNames: string[],
|
|
28
30
|
userId: string = "#{userId}",
|
|
29
31
|
) {
|
|
30
32
|
super();
|
|
31
33
|
|
|
32
34
|
this.namespaceName = namespaceName;
|
|
35
|
+
this.propertyId = propertyId;
|
|
33
36
|
this.nodeModelNames = nodeModelNames;
|
|
34
37
|
this.userId = userId;
|
|
35
38
|
}
|
|
@@ -44,6 +47,9 @@ export default class MarkReleaseByUserId extends AcquireAction {
|
|
|
44
47
|
if (this.userId != null) {
|
|
45
48
|
properties["userId"] = this.userId;
|
|
46
49
|
}
|
|
50
|
+
if (this.propertyId != null) {
|
|
51
|
+
properties["propertyId"] = this.propertyId;
|
|
52
|
+
}
|
|
47
53
|
if (this.nodeModelNames != null) {
|
|
48
54
|
properties["nodeModelNames"] = this.nodeModelNames;
|
|
49
55
|
}
|
|
@@ -2,8 +2,9 @@ import { ConsumeAction } from "../../core/model";
|
|
|
2
2
|
export default class MarkRestrainByUserId extends ConsumeAction {
|
|
3
3
|
private readonly namespaceName;
|
|
4
4
|
private readonly userId;
|
|
5
|
+
private readonly propertyId;
|
|
5
6
|
private readonly nodeModelNames;
|
|
6
|
-
constructor(namespaceName: string, nodeModelNames: string[], userId?: string);
|
|
7
|
+
constructor(namespaceName: string, propertyId: string, nodeModelNames: string[], userId?: string);
|
|
7
8
|
request(): {
|
|
8
9
|
[name: string]: any;
|
|
9
10
|
};
|
|
@@ -17,9 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class MarkRestrainByUserId extends model_1.ConsumeAction {
|
|
20
|
-
constructor(namespaceName, nodeModelNames, userId = "#{userId}") {
|
|
20
|
+
constructor(namespaceName, propertyId, nodeModelNames, userId = "#{userId}") {
|
|
21
21
|
super();
|
|
22
22
|
this.namespaceName = namespaceName;
|
|
23
|
+
this.propertyId = propertyId;
|
|
23
24
|
this.nodeModelNames = nodeModelNames;
|
|
24
25
|
this.userId = userId;
|
|
25
26
|
}
|
|
@@ -31,6 +32,9 @@ class MarkRestrainByUserId extends model_1.ConsumeAction {
|
|
|
31
32
|
if (this.userId != null) {
|
|
32
33
|
properties["userId"] = this.userId;
|
|
33
34
|
}
|
|
35
|
+
if (this.propertyId != null) {
|
|
36
|
+
properties["propertyId"] = this.propertyId;
|
|
37
|
+
}
|
|
34
38
|
if (this.nodeModelNames != null) {
|
|
35
39
|
properties["nodeModelNames"] = this.nodeModelNames;
|
|
36
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkRestrainByUserId.js","sourceRoot":"","sources":["MarkRestrainByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,oBAAqB,SAAQ,qBAAa;
|
|
1
|
+
{"version":3,"file":"MarkRestrainByUserId.js","sourceRoot":"","sources":["MarkRestrainByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,oBAAqB,SAAQ,qBAAa;IAO3D,YACI,aAAqB,EACrB,UAAkB,EAClB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC;SACtD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,mCAAmC,CAAC;IAC/C,CAAC;CACJ;AA5CD,uCA4CC"}
|
|
@@ -19,17 +19,20 @@ import {AcquireAction, ConsumeAction} from "../../core/model";
|
|
|
19
19
|
export default class MarkRestrainByUserId extends ConsumeAction {
|
|
20
20
|
private readonly namespaceName: string;
|
|
21
21
|
private readonly userId: string;
|
|
22
|
+
private readonly propertyId: string;
|
|
22
23
|
private readonly nodeModelNames: string[];
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
public constructor(
|
|
26
27
|
namespaceName: string,
|
|
28
|
+
propertyId: string,
|
|
27
29
|
nodeModelNames: string[],
|
|
28
30
|
userId: string = "#{userId}",
|
|
29
31
|
) {
|
|
30
32
|
super();
|
|
31
33
|
|
|
32
34
|
this.namespaceName = namespaceName;
|
|
35
|
+
this.propertyId = propertyId;
|
|
33
36
|
this.nodeModelNames = nodeModelNames;
|
|
34
37
|
this.userId = userId;
|
|
35
38
|
}
|
|
@@ -44,6 +47,9 @@ export default class MarkRestrainByUserId extends ConsumeAction {
|
|
|
44
47
|
if (this.userId != null) {
|
|
45
48
|
properties["userId"] = this.userId;
|
|
46
49
|
}
|
|
50
|
+
if (this.propertyId != null) {
|
|
51
|
+
properties["propertyId"] = this.propertyId;
|
|
52
|
+
}
|
|
47
53
|
if (this.nodeModelNames != null) {
|
|
48
54
|
properties["nodeModelNames"] = this.nodeModelNames;
|
|
49
55
|
}
|