-
Notifications
You must be signed in to change notification settings - Fork 2
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
29ed132
commit b84bfce
Showing
2 changed files
with
21 additions
and
9 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 |
---|---|---|
@@ -1,7 +1,15 @@ | ||
export type University = '가천대학교' | '서울시립대학교' | ||
export const UNIVERITY_LINK_LIST = ['https://cyber.gachon.ac.kr', 'https://uclass.uos.ac.kr'] | ||
|
||
export const UNIVERITY_NAME_MAP: Record<(typeof UNIVERITY_LINK_LIST)[number], University> = { | ||
export const UNIVERITY_NAME_MAP = { | ||
'https://cyber.gachon.ac.kr': '가천대학교', | ||
'https://uclass.uos.ac.kr': '서울시립대학교', | ||
} | ||
|
||
/** | ||
* @TODO 반영 예정인 대학교 목록 | ||
* | ||
* 'https://cn2.hongik.ac.kr': '홍익대학교', | ||
*/ | ||
} as const | ||
|
||
export type UniversityLink = keyof typeof UNIVERITY_NAME_MAP | ||
export type University = (typeof UNIVERITY_NAME_MAP)[UniversityLink] | ||
|
||
export const UNIVERITY_LINK_LIST = Object.keys(UNIVERITY_NAME_MAP) as UniversityLink[] |
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