This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
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.
- Loading branch information
Showing
1 changed file
with
15 additions
and
5 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,27 +1,37 @@ | ||
import type { Quarter } from "./constants"; | ||
|
||
/** | ||
* An object that includes important dates for a specified quarter. | ||
* The type of the payload returned on a successful response from querying | ||
* ``/v1/rest/calendar``. | ||
*/ | ||
export type QuarterDates = { | ||
/** | ||
* When instruction begins for the given quarter. | ||
* The year of the given term. | ||
*/ | ||
year: string; | ||
/** | ||
* The quarter of the given term. | ||
*/ | ||
quarter: Quarter; | ||
/** | ||
* When instruction begins for the given term. | ||
*/ | ||
instructionStart: Date; | ||
/** | ||
* When instruction ends for the given quarter. | ||
* When instruction ends for the given term. | ||
*/ | ||
instructionEnd: Date; | ||
/** | ||
* When finals begin for the given quarter. | ||
* When finals begin for the given term. | ||
*/ | ||
finalsStart: Date; | ||
/** | ||
* When finals end for the given quarter. | ||
* When finals end for the given term. | ||
*/ | ||
finalsEnd: Date; | ||
/** | ||
* When the Schedule of Classes becomes available for the given quarter. | ||
* When the Schedule of Classes becomes available for the given term. | ||
*/ | ||
socAvailable: Date; | ||
}; |