-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d41fc70
commit cc675ff
Showing
15 changed files
with
335 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const ORIGIN_URL = "https://ktu.edu.in/"; | ||
const BASE_URL = "https://api.ktu.edu.in"; | ||
const COURSES_URL = "https://api.ktu.edu.in/ktu-web-service/anon/masterData"; | ||
const PUBLISHED_RESULTS_URL = | ||
"https://api.ktu.edu.in/ktu-web-service/anon/result"; | ||
const RESULT_URL = | ||
"https://api.ktu.edu.in/ktu-web-service/anon/individualresult"; | ||
const ANOUNCEMENTS_URL = | ||
"https://api.ktu.edu.in/ktu-web-portal-api/anon/announcemnts"; | ||
const ATTACHMENT_URL = | ||
"https://api.ktu.edu.in/ktu-web-portal-api/anon/getAttachment"; | ||
const ACADEMIC_CALENDAR_URL = | ||
"https://api.ktu.edu.in/ktu-web-portal-api/anon/academicCalendar"; | ||
const TIMETABLE_URL = | ||
"https://api.ktu.edu.in/ktu-web-portal-api/anon/timetable"; | ||
|
||
export { | ||
ORIGIN_URL, | ||
BASE_URL, | ||
COURSES_URL, | ||
PUBLISHED_RESULTS_URL, | ||
RESULT_URL, | ||
ANOUNCEMENTS_URL, | ||
ATTACHMENT_URL, | ||
ACADEMIC_CALENDAR_URL, | ||
TIMETABLE_URL, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Contains links, constants specific to bot | ||
const GITHUB_REPO = ""; | ||
const BOT_IMAGE = ""; | ||
const UPTIME_ROBOT_URL = ""; | ||
|
||
export { GITHUB_REPO, BOT_IMAGE }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
const FILTERS: Record<string, string> = { | ||
all: "ALL NOTIFICATIONS", | ||
relevant: "ALL RELEVANT NOTIFS", | ||
btech: "B.Tech", | ||
mtech: "M.Tech", | ||
mca: "MCA", | ||
phd: "PhD", | ||
bdes: "B.Des", | ||
mba: "MBA", | ||
barch: "B.Arch", | ||
march: "M.Arch", | ||
bvoc: "B.Voc", | ||
mplan: "M.Plan", | ||
hmct: "Hotel Management & Catering Technology", | ||
mhm: "MHM", | ||
}; | ||
|
||
const COURSES: Record<string, string> = { | ||
btech: "B.Tech", | ||
mtech: "M.Tech", | ||
mcaTwoYear: "MCA (2 Year)", | ||
mcaSecondYearDirect: "MCA (Second Year Direct)", | ||
mcaIntegrated: "MCA Dual degree (INTEGRATED)", | ||
mca: "MCA", | ||
phd: "PhD", | ||
bdes: "B.Des", | ||
mba: "MBA", | ||
barch: "B.Arch", | ||
march: "M.Arch", | ||
bvoc: "B.Voc", | ||
mplan: "M.Plan", | ||
hmct: "Hotel Management & Catering Technology", | ||
mhm: "MHM", | ||
}; | ||
|
||
export { FILTERS, COURSES }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.