diff --git a/packages/types/types/calendar.ts b/packages/types/types/calendar.ts index 66021a4e..33bfb5de 100644 --- a/packages/types/types/calendar.ts +++ b/packages/types/types/calendar.ts @@ -1,3 +1,5 @@ +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 @@ -5,23 +7,31 @@ */ 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; };