Skip to content

Commit 7d73e6c

Browse files
committed
feat: pure-v5 challenge advance phase support
Signed-off-by: Rakib Ansary <[email protected]>
1 parent 7a9fe44 commit 7d73e6c

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

src/phase-management/phase-rules.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
{
22
"openRules": {
3+
"Open": [
4+
{
5+
"name": "Open Registration & Submission",
6+
"conditions": {
7+
"all": [
8+
{
9+
"fact": "isPastScheduledStartTime",
10+
"operator": "equal",
11+
"value": true
12+
},
13+
{
14+
"fact": "isOpen",
15+
"operator": "notEqual",
16+
"value": true
17+
},
18+
{
19+
"fact": "isClosed",
20+
"operator": "notEqual",
21+
"value": true
22+
}
23+
]
24+
},
25+
"event": {
26+
"type": "canOpen"
27+
}
28+
}
29+
],
330
"Registration": [
431
{
532
"name": "Registration Open",
@@ -184,6 +211,33 @@
184211
]
185212
},
186213
"closeRules": {
214+
"Open": [
215+
{
216+
"name": "Close Registration & Submission",
217+
"conditions": {
218+
"all": [
219+
{
220+
"fact": "isOpen",
221+
"operator": "equal",
222+
"value": true
223+
},
224+
{
225+
"fact": "isPastScheduledEndTime",
226+
"operator": "equal",
227+
"value": true
228+
},
229+
{
230+
"fact": "isClosed",
231+
"operator": "notEqual",
232+
"value": true
233+
}
234+
]
235+
},
236+
"event": {
237+
"type": "canClose"
238+
}
239+
}
240+
],
187241
"Registration": [
188242
{
189243
"name": "Registration Close",

0 commit comments

Comments
 (0)