Skip to content

Commit 59754f5

Browse files
authored
Merge pull request #100 from code4rena-dev/add-missing-type
[types]: add missing LiveJudging type
2 parents b6234e0 + 1f8b981 commit 59754f5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code4rena/components-library",
3-
"version": "4.5.12",
3+
"version": "4.5.13",
44
"description": "Code4rena's official components library ",
55
"types": "./dist/lib.d.ts",
66
"exports": {

src/lib/ContestStatus/ContestStatus.types.ts

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export enum AuditPublicStage {
4141
Upcoming = "Upcoming",
4242
SubsClosed = "Submissions closed",
4343
Completed = "Completed",
44+
LiveJudging = "Live Judging",
4445
}
4546

4647
// Grouping mapping of the audit statuses to the public stages
@@ -60,6 +61,7 @@ export const MapAuditStatusToAuditPublicStage: Record<
6061
[AuditStatus.JudgingComplete]: AuditPublicStage.SubsClosed,
6162
[AuditStatus.Paused]: AuditPublicStage.SubsClosed,
6263
[AuditStatus.Completed]: AuditPublicStage.Completed,
64+
[AuditStatus.LiveJudging]: AuditPublicStage.LiveJudging,
6365
// Excluded statuses:
6466
[AuditStatus.LostDeal]: null,
6567
[AuditStatus.Booking]: null,

0 commit comments

Comments
 (0)