Update AdminController.createLeaderboard to accept two new items:
shouldExpireBy - an optional OffsetDateTimesyntaxHighlightingLanguage - a String (can be NULL)These values should be saved to the database. (This will likely require you to update the database call to LeaderboardRepository.addNewLeaderboard)
The frontend file NewLeaderboardFormBody.tsx should be updated to include these two new fields.
shouldExpireBy can be null or a valid Date string. Please use NewAnnouncementModal.tsx for an example about how to use a Date component and how to pass the data aroundsyntaxHighlightingLanguage - a String (can be NULL) this should just be a simple Text inputAC:
createLeaderboard endpoint should be tested with the following combinations
shouldExpireBy set, syntaxHighlightingLanguage set to NULLshouldExpireBy not set, syntaxHighlightingLanguage set to cppNetwork tab is acceptable)