Skip to content

Commit cb24288

Browse files
authored
Merge pull request #264 from topcoder-platform/develop
Release 2020-10-01
2 parents aae591c + b06ca4f commit cb24288

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

__tests__/__snapshots__/index.js.snap

+6
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,12 @@ Object {
371371
"processMMSubmissions": [Function],
372372
},
373373
"tc": Object {
374+
"CHALLENGE_STATUS": Object {
375+
"ACTIVE": "Active",
376+
"CANCELLED": "Cancelled",
377+
"COMPLETED": "Completed",
378+
"DRAFT": "Draft",
379+
},
374380
"COMPETITION_TRACKS": Object {
375381
"DATA_SCIENCE": "Data Science",
376382
"DESIGN": "Design",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
3232
"test": "npm run lint && npm run jest"
3333
},
34-
"version": "1.0.6",
34+
"version": "1.0.7",
3535
"dependencies": {
3636
"auth0-js": "^6.8.4",
3737
"config": "^3.2.0",

src/utils/tc.js

+10
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ export const OLD_SUBTRACKS = {
3131
TESTING_COMPETITION: 'TESTING_COMPETITION',
3232
};
3333

34+
/*
35+
* Challenge Status
36+
*/
37+
export const CHALLENGE_STATUS = {
38+
ACTIVE: 'Active',
39+
CANCELLED: 'Cancelled',
40+
COMPLETED: 'Completed',
41+
DRAFT: 'Draft',
42+
};
43+
3444
/**
3545
* Review Opportunity types
3646
*/

0 commit comments

Comments
 (0)