diff --git a/__tests__/__snapshots__/index.js.snap b/__tests__/__snapshots__/index.js.snap index d8bdd649..e518ab25 100644 --- a/__tests__/__snapshots__/index.js.snap +++ b/__tests__/__snapshots__/index.js.snap @@ -371,6 +371,12 @@ Object { "processMMSubmissions": [Function], }, "tc": Object { + "CHALLENGE_STATUS": Object { + "ACTIVE": "Active", + "CANCELLED": "Cancelled", + "COMPLETED": "Completed", + "DRAFT": "Draft", + }, "COMPETITION_TRACKS": Object { "DATA_SCIENCE": "Data Science", "DESIGN": "Design", diff --git a/package.json b/package.json index cc678ced..fcee4bb2 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1.0.6", + "version": "1.0.7", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", diff --git a/src/utils/tc.js b/src/utils/tc.js index ca97ace3..4ea44255 100644 --- a/src/utils/tc.js +++ b/src/utils/tc.js @@ -31,6 +31,16 @@ export const OLD_SUBTRACKS = { TESTING_COMPETITION: 'TESTING_COMPETITION', }; +/* + * Challenge Status + */ +export const CHALLENGE_STATUS = { + ACTIVE: 'Active', + CANCELLED: 'Cancelled', + COMPLETED: 'Completed', + DRAFT: 'Draft', +}; + /** * Review Opportunity types */