From a6fb1955e3710784e639f46d13b0466640553137 Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Mon, 28 Sep 2020 16:52:37 -0300 Subject: [PATCH] utils/tc - Added CHALLENGE_STATUS --- __tests__/__snapshots__/index.js.snap | 6 ++++++ src/utils/tc.js | 10 ++++++++++ 2 files changed, 16 insertions(+) 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/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 */