Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Destaq committed Dec 3, 2024
1 parent 2ac629b commit 67a9b1b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/user-data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type FirestoreSemestersData = {
readonly orderByNewest: boolean;
};

type FirestoreCollegeOrMajorOrMinor = { readonly acronym: string; };
type FirestoreCollegeOrMajorOrMinor = { readonly acronym: string };

/** Represents the name of an exam a student can take for transfer credit */
type TransferExamType = 'AP' | 'IB' | 'CASE';
Expand All @@ -56,7 +56,7 @@ type FirestoreTransferExam = {
readonly type?: TransferExamType; // TODO @bshen migrate away
};

type FirestoreCollegeMajorMinorOrGrad = { readonly acronym: string; };
type FirestoreCollegeMajorMinorOrGrad = { readonly acronym: string };
type FirestoreOnboardingUserData = {
readonly gradYear: string;
readonly gradSem: FirestoreSemesterSeason | '';
Expand All @@ -83,7 +83,7 @@ type FirestoreCourseOptInOptOutChoices = {
* It's for attaching completely unknown courses to a requirement
* (e.g. opt-in CS 2112 for history requirement).
*/
readonly arbitraryOptIn: { readonly [requirement: string]: readonly string[]; };
readonly arbitraryOptIn: { readonly [requirement: string]: readonly string[] };
};
type FirestoreOverriddenFulfillmentChoices = {
readonly [courseUniqueId: string]: FirestoreCourseOptInOptOutChoices;
Expand All @@ -93,7 +93,7 @@ type FirestoreUserData = {
readonly name: FirestoreUserName;
readonly orderByNewest: boolean;
readonly toggleableRequirementChoices: AppToggleableRequirementChoices;
readonly subjectColors: { readonly [subject: string]: string; };
readonly subjectColors: { readonly [subject: string]: string };
readonly uniqueIncrementer: number;
readonly userData: FirestoreOnboardingUserData;
// TODO: add overriddenFulfillmentChoices once we connect new requirement flow to prod.
Expand Down Expand Up @@ -121,18 +121,18 @@ type FirestoreTrackUsersOnboardingData = {
undergradUsers: number;
gradUsers: number;
undergradAndGradUsers: number;
majorFrequences: { readonly [group: string]: number; };
minorFrequencies: { readonly [group: string]: number; };
collegeFrequencies: { readonly [group: string]: number; };
graduateProgramFrequencies: { readonly [group: string]: number; };
majorFrequences: { readonly [group: string]: number };
minorFrequencies: { readonly [group: string]: number };
collegeFrequencies: { readonly [group: string]: number };
graduateProgramFrequencies: { readonly [group: string]: number };
averageNumberUndergradMajors: number;
averageNumberUndergradMinors: number;
averageNumberUndergradAPIBExams: number;
entranceYearFrequencies: { readonly [group: string]: number; };
gradYearFrequencies: { readonly [group: string]: number; };
entranceYearFrequencies: { readonly [group: string]: number };
gradYearFrequencies: { readonly [group: string]: number };
};

type FirestoreUniqueIncrementer = { readonly uniqueIncrementer: number; };
type FirestoreUniqueIncrementer = { readonly uniqueIncrementer: number };

interface CornellCourseRosterCourse {
readonly crseId: number;
Expand Down

0 comments on commit 67a9b1b

Please sign in to comment.