-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(time): add day status constant in region & add campus status con…
…stants / types (#97)
- Loading branch information
Showing
4 changed files
with
28 additions
and
25 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
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 was deleted.
Oops, something went wrong.
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,3 +1,9 @@ | ||
import { REGION } from '@/widgets/time-table'; | ||
import { CAMPUS_STATUS, DAY_STATUS, REGION } from '@/widgets/time-table'; | ||
|
||
export type Region = (typeof REGION)[keyof typeof REGION]; | ||
|
||
export type DayStatus = keyof typeof DAY_STATUS; | ||
|
||
export type DayCampus = (typeof CAMPUS_STATUS.day)[number]; | ||
|
||
export type NightCampus = (typeof CAMPUS_STATUS.night)[number]; |