gs2-cdk 1.0.111 → 1.0.113
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/freeze/index.d.ts +12 -0
- package/freeze/index.js +32 -0
- package/freeze/index.js.map +1 -0
- package/freeze/index.ts +36 -0
- package/freeze/model/Microservice.d.ts +9 -0
- package/freeze/model/Microservice.js +20 -0
- package/freeze/model/Microservice.js.map +1 -0
- package/freeze/model/Microservice.ts +44 -0
- package/freeze/model/Output.d.ts +9 -0
- package/freeze/model/Output.js +19 -0
- package/freeze/model/Output.js.map +1 -0
- package/freeze/model/Output.ts +40 -0
- package/freeze/model/Stage.d.ts +19 -0
- package/freeze/model/Stage.js +64 -0
- package/freeze/model/Stage.js.map +1 -0
- package/freeze/model/Stage.ts +99 -0
- package/freeze/model/enums/StageStatus.d.ts +6 -0
- package/freeze/model/enums/StageStatus.js +24 -0
- package/freeze/model/enums/StageStatus.js.map +1 -0
- package/freeze/model/enums/StageStatus.ts +24 -0
- package/freeze/model/index.d.ts +8 -0
- package/freeze/model/index.js +28 -0
- package/freeze/model/index.js.map +1 -0
- package/freeze/model/index.ts +32 -0
- package/freeze/model/options/MicroserviceOptions.d.ts +2 -0
- package/freeze/model/options/MicroserviceOptions.js +18 -0
- package/freeze/model/options/MicroserviceOptions.js.map +1 -0
- package/freeze/model/options/MicroserviceOptions.ts +19 -0
- package/freeze/model/options/OutputOptions.d.ts +3 -0
- package/freeze/model/options/OutputOptions.js +18 -0
- package/freeze/model/options/OutputOptions.js.map +1 -0
- package/freeze/model/options/OutputOptions.ts +20 -0
- package/freeze/model/options/StageOptions.d.ts +3 -0
- package/freeze/model/options/StageOptions.js +18 -0
- package/freeze/model/options/StageOptions.js.map +1 -0
- package/freeze/model/options/StageOptions.ts +20 -0
- package/freeze/ref/OutputRef.d.ts +6 -0
- package/freeze/ref/OutputRef.js +38 -0
- package/freeze/ref/OutputRef.js.map +1 -0
- package/freeze/ref/OutputRef.ts +52 -0
- package/freeze/ref/StageRef.d.ts +5 -0
- package/freeze/ref/StageRef.js +35 -0
- package/freeze/ref/StageRef.js.map +1 -0
- package/freeze/ref/StageRef.ts +48 -0
- package/freeze/ref/index.d.ts +3 -0
- package/freeze/ref/index.js +24 -0
- package/freeze/ref/index.js.map +1 -0
- package/freeze/ref/index.ts +22 -0
- package/freeze/stampSheet/index.d.ts +1 -0
- package/freeze/stampSheet/index.js +18 -0
- package/freeze/stampSheet/index.js.map +1 -0
- package/freeze/stampSheet/index.ts +18 -0
- package/mission/model/CounterScopeModel.d.ts +5 -5
- package/mission/model/CounterScopeModel.js +25 -27
- package/mission/model/CounterScopeModel.js.map +1 -1
- package/mission/model/CounterScopeModel.ts +38 -30
- package/mission/model/index.d.ts +3 -3
- package/mission/model/index.ts +4 -4
- package/mission/model/options/CounterScopeModelOptions.d.ts +0 -2
- package/mission/model/options/CounterScopeModelOptions.ts +0 -1
- package/package.json +1 -1
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { VerifyAction } from "../../core/model";
|
|
17
17
|
import { CounterScopeModelOptions } from "./options/CounterScopeModelOptions";
|
|
18
|
-
import { CounterScopeModelScopeTypeIsResetTimingOptions } from "./options/CounterScopeModelScopeTypeIsResetTimingOptions";
|
|
19
|
-
import { CounterScopeModelScopeTypeIsVerifyActionOptions } from "./options/CounterScopeModelScopeTypeIsVerifyActionOptions";
|
|
20
18
|
import { CounterScopeModelResetTypeIsNotResetOptions } from "./options/CounterScopeModelResetTypeIsNotResetOptions";
|
|
21
19
|
import { CounterScopeModelResetTypeIsDailyOptions } from "./options/CounterScopeModelResetTypeIsDailyOptions";
|
|
22
20
|
import { CounterScopeModelResetTypeIsWeeklyOptions } from "./options/CounterScopeModelResetTypeIsWeeklyOptions";
|
|
23
21
|
import { CounterScopeModelResetTypeIsMonthlyOptions } from "./options/CounterScopeModelResetTypeIsMonthlyOptions";
|
|
24
22
|
import { CounterScopeModelResetTypeIsDaysOptions } from "./options/CounterScopeModelResetTypeIsDaysOptions";
|
|
23
|
+
import { CounterScopeModelScopeTypeIsResetTimingOptions } from "./options/CounterScopeModelScopeTypeIsResetTimingOptions";
|
|
24
|
+
import { CounterScopeModelScopeTypeIsVerifyActionOptions } from "./options/CounterScopeModelScopeTypeIsVerifyActionOptions";
|
|
25
25
|
import { CounterScopeModelScopeType } from "./enums/CounterScopeModelScopeType";
|
|
26
26
|
import { CounterScopeModelResetType } from "./enums/CounterScopeModelResetType";
|
|
27
27
|
import { CounterScopeModelResetDayOfWeek } from "./enums/CounterScopeModelResetDayOfWeek";
|
|
28
28
|
|
|
29
29
|
export default class CounterScopeModel {
|
|
30
30
|
private readonly scopeType: CounterScopeModelScopeType;
|
|
31
|
-
private readonly resetType: CounterScopeModelResetType
|
|
31
|
+
private readonly resetType: CounterScopeModelResetType;
|
|
32
32
|
private readonly resetDayOfMonth: number|null = null;
|
|
33
33
|
private readonly resetDayOfWeek: CounterScopeModelResetDayOfWeek|null = null;
|
|
34
34
|
private readonly resetHour: number|null = null;
|
|
@@ -39,10 +39,11 @@ export default class CounterScopeModel {
|
|
|
39
39
|
|
|
40
40
|
public constructor(
|
|
41
41
|
scopeType: CounterScopeModelScopeType,
|
|
42
|
+
resetType: CounterScopeModelResetType,
|
|
42
43
|
options: CounterScopeModelOptions|null = null,
|
|
43
44
|
) {
|
|
44
45
|
this.scopeType = scopeType;
|
|
45
|
-
this.resetType =
|
|
46
|
+
this.resetType = resetType;
|
|
46
47
|
this.resetDayOfMonth = options?.resetDayOfMonth ?? null;
|
|
47
48
|
this.resetDayOfWeek = options?.resetDayOfWeek ?? null;
|
|
48
49
|
this.resetHour = options?.resetHour ?? null;
|
|
@@ -52,38 +53,13 @@ export default class CounterScopeModel {
|
|
|
52
53
|
this.days = options?.days ?? null;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
public static scopeTypeIsResetTiming(
|
|
56
|
-
resetType: CounterScopeModelResetType,
|
|
57
|
-
options: CounterScopeModelScopeTypeIsResetTimingOptions|null = null,
|
|
58
|
-
): CounterScopeModel {
|
|
59
|
-
return new CounterScopeModel(
|
|
60
|
-
CounterScopeModelScopeType.RESET_TIMING,
|
|
61
|
-
{
|
|
62
|
-
resetType: resetType,
|
|
63
|
-
},
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
public static scopeTypeIsVerifyAction(
|
|
68
|
-
conditionName: string,
|
|
69
|
-
condition: VerifyAction,
|
|
70
|
-
options: CounterScopeModelScopeTypeIsVerifyActionOptions|null = null,
|
|
71
|
-
): CounterScopeModel {
|
|
72
|
-
return new CounterScopeModel(
|
|
73
|
-
CounterScopeModelScopeType.VERIFY_ACTION,
|
|
74
|
-
{
|
|
75
|
-
conditionName: conditionName,
|
|
76
|
-
condition: condition,
|
|
77
|
-
},
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
56
|
public static resetTypeIsNotReset(
|
|
82
57
|
scopeType: CounterScopeModelScopeType,
|
|
83
58
|
options: CounterScopeModelResetTypeIsNotResetOptions|null = null,
|
|
84
59
|
): CounterScopeModel {
|
|
85
60
|
return new CounterScopeModel(
|
|
86
61
|
scopeType,
|
|
62
|
+
CounterScopeModelResetType.NOT_RESET,
|
|
87
63
|
{
|
|
88
64
|
},
|
|
89
65
|
);
|
|
@@ -96,6 +72,7 @@ export default class CounterScopeModel {
|
|
|
96
72
|
): CounterScopeModel {
|
|
97
73
|
return new CounterScopeModel(
|
|
98
74
|
scopeType,
|
|
75
|
+
CounterScopeModelResetType.DAILY,
|
|
99
76
|
{
|
|
100
77
|
resetHour: resetHour,
|
|
101
78
|
},
|
|
@@ -110,6 +87,7 @@ export default class CounterScopeModel {
|
|
|
110
87
|
): CounterScopeModel {
|
|
111
88
|
return new CounterScopeModel(
|
|
112
89
|
scopeType,
|
|
90
|
+
CounterScopeModelResetType.WEEKLY,
|
|
113
91
|
{
|
|
114
92
|
resetDayOfWeek: resetDayOfWeek,
|
|
115
93
|
resetHour: resetHour,
|
|
@@ -125,6 +103,7 @@ export default class CounterScopeModel {
|
|
|
125
103
|
): CounterScopeModel {
|
|
126
104
|
return new CounterScopeModel(
|
|
127
105
|
scopeType,
|
|
106
|
+
CounterScopeModelResetType.MONTHLY,
|
|
128
107
|
{
|
|
129
108
|
resetDayOfMonth: resetDayOfMonth,
|
|
130
109
|
resetHour: resetHour,
|
|
@@ -140,6 +119,7 @@ export default class CounterScopeModel {
|
|
|
140
119
|
): CounterScopeModel {
|
|
141
120
|
return new CounterScopeModel(
|
|
142
121
|
scopeType,
|
|
122
|
+
CounterScopeModelResetType.DAYS,
|
|
143
123
|
{
|
|
144
124
|
anchorTimestamp: anchorTimestamp,
|
|
145
125
|
days: days,
|
|
@@ -147,6 +127,34 @@ export default class CounterScopeModel {
|
|
|
147
127
|
);
|
|
148
128
|
}
|
|
149
129
|
|
|
130
|
+
public static scopeTypeIsResetTiming(
|
|
131
|
+
resetType: CounterScopeModelResetType,
|
|
132
|
+
options: CounterScopeModelScopeTypeIsResetTimingOptions|null = null,
|
|
133
|
+
): CounterScopeModel {
|
|
134
|
+
return new CounterScopeModel(
|
|
135
|
+
CounterScopeModelScopeType.RESET_TIMING,
|
|
136
|
+
resetType,
|
|
137
|
+
{
|
|
138
|
+
},
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
public static scopeTypeIsVerifyAction(
|
|
143
|
+
resetType: CounterScopeModelResetType,
|
|
144
|
+
conditionName: string,
|
|
145
|
+
condition: VerifyAction,
|
|
146
|
+
options: CounterScopeModelScopeTypeIsVerifyActionOptions|null = null,
|
|
147
|
+
): CounterScopeModel {
|
|
148
|
+
return new CounterScopeModel(
|
|
149
|
+
CounterScopeModelScopeType.VERIFY_ACTION,
|
|
150
|
+
resetType,
|
|
151
|
+
{
|
|
152
|
+
conditionName: conditionName,
|
|
153
|
+
condition: condition,
|
|
154
|
+
},
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
150
158
|
public properties(
|
|
151
159
|
): {[name: string]: any} {
|
|
152
160
|
let properties: {[name: string]: any} = {};
|
package/mission/model/index.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { CounterScopeModelOptions } from "./options/CounterScopeModelOptions";
|
|
|
3
3
|
import { CounterScopeModelScopeType } from "./enums/CounterScopeModelScopeType";
|
|
4
4
|
import { CounterScopeModelResetType } from "./enums/CounterScopeModelResetType";
|
|
5
5
|
import { CounterScopeModelResetDayOfWeek } from "./enums/CounterScopeModelResetDayOfWeek";
|
|
6
|
-
import { CounterScopeModelScopeTypeIsResetTimingOptions } from "./options/CounterScopeModelScopeTypeIsResetTimingOptions";
|
|
7
|
-
import { CounterScopeModelScopeTypeIsVerifyActionOptions } from "./options/CounterScopeModelScopeTypeIsVerifyActionOptions";
|
|
8
6
|
import { CounterScopeModelResetTypeIsNotResetOptions } from "./options/CounterScopeModelResetTypeIsNotResetOptions";
|
|
9
7
|
import { CounterScopeModelResetTypeIsDailyOptions } from "./options/CounterScopeModelResetTypeIsDailyOptions";
|
|
10
8
|
import { CounterScopeModelResetTypeIsWeeklyOptions } from "./options/CounterScopeModelResetTypeIsWeeklyOptions";
|
|
11
9
|
import { CounterScopeModelResetTypeIsMonthlyOptions } from "./options/CounterScopeModelResetTypeIsMonthlyOptions";
|
|
12
10
|
import { CounterScopeModelResetTypeIsDaysOptions } from "./options/CounterScopeModelResetTypeIsDaysOptions";
|
|
11
|
+
import { CounterScopeModelScopeTypeIsResetTimingOptions } from "./options/CounterScopeModelScopeTypeIsResetTimingOptions";
|
|
12
|
+
import { CounterScopeModelScopeTypeIsVerifyActionOptions } from "./options/CounterScopeModelScopeTypeIsVerifyActionOptions";
|
|
13
13
|
import Namespace from "./Namespace";
|
|
14
14
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
15
15
|
import CounterModel from "./CounterModel";
|
|
@@ -50,4 +50,4 @@ import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions
|
|
|
50
50
|
import TransactionResult from "./TransactionResult";
|
|
51
51
|
import { TransactionResultOptions } from "./options/TransactionResultOptions";
|
|
52
52
|
import CurrentMasterData from "./CurrentMasterData";
|
|
53
|
-
export { CounterScopeModel, CounterScopeModelOptions, CounterScopeModelScopeType, CounterScopeModelResetType, CounterScopeModelResetDayOfWeek,
|
|
53
|
+
export { CounterScopeModel, CounterScopeModelOptions, CounterScopeModelScopeType, CounterScopeModelResetType, CounterScopeModelResetDayOfWeek, CounterScopeModelResetTypeIsNotResetOptions, CounterScopeModelResetTypeIsDailyOptions, CounterScopeModelResetTypeIsWeeklyOptions, CounterScopeModelResetTypeIsMonthlyOptions, CounterScopeModelResetTypeIsDaysOptions, CounterScopeModelScopeTypeIsResetTimingOptions, CounterScopeModelScopeTypeIsVerifyActionOptions, Namespace, NamespaceOptions, CounterModel, CounterModelOptions, MissionGroupModel, MissionGroupModelOptions, MissionGroupModelResetType, MissionGroupModelResetDayOfWeek, MissionGroupModelResetTypeIsNotResetOptions, MissionGroupModelResetTypeIsDailyOptions, MissionGroupModelResetTypeIsWeeklyOptions, MissionGroupModelResetTypeIsMonthlyOptions, MissionGroupModelResetTypeIsDaysOptions, MissionTaskModel, MissionTaskModelOptions, MissionTaskModelVerifyCompleteType, MissionTaskModelTargetResetType, MissionTaskModelVerifyCompleteTypeIsCounterOptions, MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions, ScopedValue, ScopedValueOptions, ScopedValueScopeType, ScopedValueResetType, ScopedValueScopeTypeIsResetTimingOptions, ScopedValueScopeTypeIsVerifyActionOptions, TargetCounterModel, TargetCounterModelOptions, TargetCounterModelScopeType, TargetCounterModelResetType, TargetCounterModelScopeTypeIsResetTimingOptions, TargetCounterModelScopeTypeIsVerifyActionOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, CurrentMasterData, };
|
package/mission/model/index.ts
CHANGED
|
@@ -18,13 +18,13 @@ import { CounterScopeModelOptions } from "./options/CounterScopeModelOptions";
|
|
|
18
18
|
import { CounterScopeModelScopeType } from "./enums/CounterScopeModelScopeType";
|
|
19
19
|
import { CounterScopeModelResetType } from "./enums/CounterScopeModelResetType";
|
|
20
20
|
import { CounterScopeModelResetDayOfWeek } from "./enums/CounterScopeModelResetDayOfWeek";
|
|
21
|
-
import { CounterScopeModelScopeTypeIsResetTimingOptions } from "./options/CounterScopeModelScopeTypeIsResetTimingOptions"
|
|
22
|
-
import { CounterScopeModelScopeTypeIsVerifyActionOptions } from "./options/CounterScopeModelScopeTypeIsVerifyActionOptions"
|
|
23
21
|
import { CounterScopeModelResetTypeIsNotResetOptions } from "./options/CounterScopeModelResetTypeIsNotResetOptions"
|
|
24
22
|
import { CounterScopeModelResetTypeIsDailyOptions } from "./options/CounterScopeModelResetTypeIsDailyOptions"
|
|
25
23
|
import { CounterScopeModelResetTypeIsWeeklyOptions } from "./options/CounterScopeModelResetTypeIsWeeklyOptions"
|
|
26
24
|
import { CounterScopeModelResetTypeIsMonthlyOptions } from "./options/CounterScopeModelResetTypeIsMonthlyOptions"
|
|
27
25
|
import { CounterScopeModelResetTypeIsDaysOptions } from "./options/CounterScopeModelResetTypeIsDaysOptions"
|
|
26
|
+
import { CounterScopeModelScopeTypeIsResetTimingOptions } from "./options/CounterScopeModelScopeTypeIsResetTimingOptions"
|
|
27
|
+
import { CounterScopeModelScopeTypeIsVerifyActionOptions } from "./options/CounterScopeModelScopeTypeIsVerifyActionOptions"
|
|
28
28
|
import Namespace from "./Namespace";
|
|
29
29
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
30
30
|
import CounterModel from "./CounterModel";
|
|
@@ -72,13 +72,13 @@ export {
|
|
|
72
72
|
CounterScopeModelScopeType,
|
|
73
73
|
CounterScopeModelResetType,
|
|
74
74
|
CounterScopeModelResetDayOfWeek,
|
|
75
|
-
CounterScopeModelScopeTypeIsResetTimingOptions,
|
|
76
|
-
CounterScopeModelScopeTypeIsVerifyActionOptions,
|
|
77
75
|
CounterScopeModelResetTypeIsNotResetOptions,
|
|
78
76
|
CounterScopeModelResetTypeIsDailyOptions,
|
|
79
77
|
CounterScopeModelResetTypeIsWeeklyOptions,
|
|
80
78
|
CounterScopeModelResetTypeIsMonthlyOptions,
|
|
81
79
|
CounterScopeModelResetTypeIsDaysOptions,
|
|
80
|
+
CounterScopeModelScopeTypeIsResetTimingOptions,
|
|
81
|
+
CounterScopeModelScopeTypeIsVerifyActionOptions,
|
|
82
82
|
Namespace,
|
|
83
83
|
NamespaceOptions,
|
|
84
84
|
CounterModel,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { VerifyAction } from "../../../core/model";
|
|
2
|
-
import { CounterScopeModelResetType } from "../enums/CounterScopeModelResetType";
|
|
3
2
|
import { CounterScopeModelResetDayOfWeek } from "../enums/CounterScopeModelResetDayOfWeek";
|
|
4
3
|
export interface CounterScopeModelOptions {
|
|
5
|
-
resetType?: CounterScopeModelResetType | null;
|
|
6
4
|
resetDayOfMonth?: number | null;
|
|
7
5
|
resetDayOfWeek?: CounterScopeModelResetDayOfWeek | null;
|
|
8
6
|
resetHour?: number | null;
|
|
@@ -19,7 +19,6 @@ import { CounterScopeModelResetType } from "../enums/CounterScopeModelResetType"
|
|
|
19
19
|
import { CounterScopeModelResetDayOfWeek } from "../enums/CounterScopeModelResetDayOfWeek";
|
|
20
20
|
|
|
21
21
|
export interface CounterScopeModelOptions {
|
|
22
|
-
resetType?: CounterScopeModelResetType|null;
|
|
23
22
|
resetDayOfMonth?: number|null;
|
|
24
23
|
resetDayOfWeek?: CounterScopeModelResetDayOfWeek|null;
|
|
25
24
|
resetHour?: number|null;
|