Skip to content

Commit d4566be

Browse files
Merge pull request #27 from topcoder-platform/integration-v5-challenge-api
Integration v5 challenge api
2 parents 8612399 + 09e64ae commit d4566be

File tree

30 files changed

+116
-195
lines changed

30 files changed

+116
-195
lines changed

__tests__/shared/components/ChallengeTile/__mocks__/design.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"reviewType": "INTERNAL",
2323
"id": 30051608,
2424
"forumId": 599349,
25-
"numSubmissions": 22,
26-
"numRegistrants": 31,
25+
"numOfSubmissions": 22,
26+
"numOfRegistrants": 31,
2727
"registrationStartDate": "2015-10-01T22:21:07.491Z",
2828
"registrationEndDate": "2015-10-09T13:04:02.272Z",
2929
"checkpointSubmissionEndDate": "2015-10-05T13:05:56.398Z",
@@ -327,8 +327,8 @@
327327
"reviewType": "INTERNAL",
328328
"id": 30051059,
329329
"forumId": 598066,
330-
"numSubmissions": 57,
331-
"numRegistrants": 111,
330+
"numOfSubmissions": 57,
331+
"numOfRegistrants": 111,
332332
"registrationStartDate": "2015-08-10T13:00:01.576Z",
333333
"registrationEndDate": "2015-08-24T13:17:15.335Z",
334334
"checkpointSubmissionEndDate": "2015-08-17T13:10:56.385Z",
@@ -539,8 +539,8 @@
539539
"reviewType": "INTERNAL",
540540
"id": 30050375,
541541
"forumId": 596557,
542-
"numSubmissions": 15,
543-
"numRegistrants": 55,
542+
"numOfSubmissions": 15,
543+
"numOfRegistrants": 55,
544544
"registrationStartDate": "2015-06-01T19:00:33.351Z",
545545
"registrationEndDate": "2015-06-09T13:00:37.186Z",
546546
"checkpointSubmissionEndDate": "2015-06-06T13:07:38.023Z",

__tests__/shared/components/ChallengeTile/__mocks__/develop.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"reviewType": "INTERNAL",
3030
"id": 30060905,
3131
"forumId": 39153,
32-
"numSubmissions": 3,
33-
"numRegistrants": 8,
32+
"numOfSubmissions": 3,
33+
"numOfRegistrants": 8,
3434
"registrationStartDate": "2017-12-02T09:01:23.251Z",
3535
"registrationEndDate": "2017-12-12T20:01:00.000Z",
3636
"checkpointSubmissionEndDate": null,
@@ -172,8 +172,8 @@
172172
"reviewType": "INTERNAL",
173173
"id": 30060903,
174174
"forumId": 39151,
175-
"numSubmissions": 2,
176-
"numRegistrants": 6,
175+
"numOfSubmissions": 2,
176+
"numOfRegistrants": 6,
177177
"registrationStartDate": "2017-12-02T09:01:21.329Z",
178178
"registrationEndDate": "2017-12-12T20:01:00.000Z",
179179
"checkpointSubmissionEndDate": null,
@@ -330,8 +330,8 @@
330330
"reviewType": "INTERNAL",
331331
"id": 30060687,
332332
"forumId": 38951,
333-
"numSubmissions": 14,
334-
"numRegistrants": 18,
333+
"numOfSubmissions": 14,
334+
"numOfRegistrants": 18,
335335
"registrationStartDate": "2017-11-24T13:27:44.751Z",
336336
"registrationEndDate": "2017-12-05T22:27:00.000Z",
337337
"checkpointSubmissionEndDate": null,
@@ -638,8 +638,8 @@
638638
"reviewType": "INTERNAL",
639639
"id": 30060425,
640640
"forumId": 38702,
641-
"numSubmissions": 3,
642-
"numRegistrants": 17,
641+
"numOfSubmissions": 3,
642+
"numOfRegistrants": 17,
643643
"registrationStartDate": "2017-11-11T02:02:21.127Z",
644644
"registrationEndDate": "2017-11-21T02:02:00.000Z",
645645
"checkpointSubmissionEndDate": null,

__tests__/shared/components/ChallengeTile/__mocks__/marathon.json

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ exports[`Matches shallow shapshot 1`] = `
6060
<div
6161
className="src-shared-components-Dashboard-SRM-___styles__srms-links___JFdeQ"
6262
>
63-
<a
64-
href="https://www.topcoder-dev.com/my-srms/"
65-
>
66-
View Past SRMS
67-
</a>
6863
<a
6964
href="https://arena.topcoder-dev.com"
7065
>

__tests__/shared/components/ProfilePage/Stats/SubTrackChallengeView/GalleryModal/__mocks__/challenge.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
"reviewType": "INTERNAL",
8585
"id": 30051059,
8686
"forumId": 598066,
87-
"numSubmissions": 57,
88-
"numRegistrants": 111,
87+
"numOfSubmissions": 57,
88+
"numOfRegistrants": 111,
8989
"registrationStartDate": "2015-08-10T13:00:01.576Z",
9090
"registrationEndDate": "2015-08-24T13:17:15.335Z",
9191
"checkpointSubmissionEndDate": "2015-08-17T13:10:56.385Z",

__tests__/shared/components/ProfilePage/Stats/SubTrackChallengeView/__mocks__/develop.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"reviewType": "INTERNAL",
3737
"id": 30060905,
3838
"forumId": 39153,
39-
"numSubmissions": 3,
40-
"numRegistrants": 8,
39+
"numOfSubmissions": 3,
40+
"numOfRegistrants": 8,
4141
"registrationStartDate": "2017-12-02T09:01:23.251Z",
4242
"registrationEndDate": "2017-12-12T20:01:00.000Z",
4343
"checkpointSubmissionEndDate": null,
@@ -190,8 +190,8 @@
190190
"reviewType": "INTERNAL",
191191
"id": 30060903,
192192
"forumId": 39151,
193-
"numSubmissions": 2,
194-
"numRegistrants": 6,
193+
"numOfSubmissions": 2,
194+
"numOfRegistrants": 6,
195195
"registrationStartDate": "2017-12-02T09:01:21.329Z",
196196
"registrationEndDate": "2017-12-12T20:01:00.000Z",
197197
"checkpointSubmissionEndDate": null,
@@ -386,8 +386,8 @@
386386
"reviewType": "INTERNAL",
387387
"id": 30060687,
388388
"forumId": 38951,
389-
"numSubmissions": 14,
390-
"numRegistrants": 18,
389+
"numOfSubmissions": 14,
390+
"numOfRegistrants": 18,
391391
"registrationStartDate": "2017-11-24T13:27:44.751Z",
392392
"registrationEndDate": "2017-12-05T22:27:00.000Z",
393393
"checkpointSubmissionEndDate": null,
@@ -714,8 +714,8 @@
714714
"reviewType": "INTERNAL",
715715
"id": 30060425,
716716
"forumId": 38702,
717-
"numSubmissions": 3,
718-
"numRegistrants": 17,
717+
"numOfSubmissions": 3,
718+
"numOfRegistrants": 17,
719719
"registrationStartDate": "2017-11-11T02:02:21.127Z",
720720
"registrationEndDate": "2017-11-21T02:02:00.000Z",
721721
"checkpointSubmissionEndDate": null,

__tests__/shared/components/ProfilePage/Stats/SubTrackChallengeView/__snapshots__/index.jsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ exports[`SubtrackChallengeView matches shallow snapshot 1`] = `
114114
"isPrivate": false,
115115
"isTask": false,
116116
"name": "$100 Eaton PX 2.0 Petting Zoo - MDC Web Enhancement F2F Challenge",
117-
"numRegistrants": 8,
118-
"numSubmissions": 3,
117+
"numOfRegistrants": 8,
118+
"numOfSubmissions": 3,
119119
"numberOfCheckpointPrizes": null,
120120
"platforms": "NodeJS",
121121
"pointPrizes": null,
@@ -292,8 +292,8 @@ exports[`SubtrackChallengeView matches shallow snapshot 1`] = `
292292
"isPrivate": false,
293293
"isTask": false,
294294
"name": "$100 Eaton PX 2.0 Petting Zoo - ReactJS Enhancement F2F Challenge",
295-
"numRegistrants": 6,
296-
"numSubmissions": 2,
295+
"numOfRegistrants": 6,
296+
"numOfSubmissions": 2,
297297
"numberOfCheckpointPrizes": null,
298298
"platforms": "NodeJS",
299299
"pointPrizes": null,
@@ -640,8 +640,8 @@ exports[`SubtrackChallengeView matches shallow snapshot 1`] = `
640640
"isPrivate": false,
641641
"isTask": false,
642642
"name": "$500 BG800 Online Course Mock Rest API F2F Challenge",
643-
"numRegistrants": 18,
644-
"numSubmissions": 14,
643+
"numOfRegistrants": 18,
644+
"numOfSubmissions": 14,
645645
"numberOfCheckpointPrizes": null,
646646
"platforms": "Heroku",
647647
"pointPrizes": null,
@@ -874,8 +874,8 @@ exports[`SubtrackChallengeView matches shallow snapshot 1`] = `
874874
"isPrivate": false,
875875
"isTask": false,
876876
"name": "John Hancock - Giving Tuesday - General image handling",
877-
"numRegistrants": 17,
878-
"numSubmissions": 3,
877+
"numOfRegistrants": 17,
878+
"numOfSubmissions": 3,
879879
"numberOfCheckpointPrizes": null,
880880
"platforms": "Other",
881881
"pointPrizes": null,

0 commit comments

Comments
 (0)