-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
59 lines (52 loc) · 2.92 KB
/
Copy pathconstants.js
File metadata and controls
59 lines (52 loc) · 2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
export const US_STATES = {
AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",
CO:"Colorado",CT:"Connecticut",DC:"D.C.",DE:"Delaware",FL:"Florida",
GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",
IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",
MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",
MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",
NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",
NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",
OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",
SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",
VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming",
};
export const EMPTY_PROGRAM = {
school:"", city:"", state:"", gender:"mens", conference:"", league:"",
ncaaDivision:"", schoolType:"", gpa:"", sat:"", acceptanceRate:"",
enrollment:"", inStateTuition:"", outStateTuition:"", rugbyRanking:"",
rugbyScholarship:false, schoolFunded:false, website:"", rugbyWebsite:"", topPrograms:"", notes:"",
featured:false, logoUrl:"", usNewsRank:"", usNewsUrl:"",
};
export const EMPTY_PROGRAM_CONTACT = {
programId:"", contact:"", contactTitle:"", email:"",
};
export const CSV_COLS = [
["school","School"],["state","State"],["city","City"],["gender","Gender"],
["conference","Conference"],["league","League"],["ncaaDivision","NCAA Division"],
["schoolType","School Type"],["gpa","GPA"],["sat","SAT"],["acceptanceRate","Acceptance Rate"],
["enrollment","Enrollment"],["inStateTuition","In-State Tuition"],
["outStateTuition","Out-of-State Tuition"],["rugbyRanking","Rugby Ranking"],
["rugbyScholarship","Rugby Scholarship"],["schoolFunded","School Funded"],["website","Website"],["rugbyWebsite","Rugby Website"],["notes","Notes"],
];
export const CSV_NUM_FIELDS = new Set(["gpa","sat","acceptanceRate","enrollment","inStateTuition","outStateTuition","rugbyRanking"]);
export const CSV_BOOL_FIELDS = new Set(["rugbyScholarship","schoolFunded"]);
export const CONF_COLS = [
["conference","Abbreviation"],["fullName","Full Name"],["notes","Notes"],
];
export const CONF_CONTACT_COLS = [
["conference","Conference"],["league","League"],["gender","Gender"],
["contactName","Contact Name"],["contactTitle","Contact Title"],["email","Email"],["phone","Phone"],
];
export const LEAGUE_COLS = [["name","Name"]];
export const PROG_CONTACT_COLS = [
["school","School"],["gender","Gender"],["contact","Contact"],["contactTitle","Contact Title"],["email","Email"],
];
export const POSITIONS = [
"Loosehead Prop", "Hooker", "Tighthead Prop",
"Lock", "Blindside Flanker", "Openside Flanker", "Number 8",
"Scrum Half", "Fly Half", "Inside Center", "Outside Center",
"Left Wing", "Right Wing", "Fullback",
];
const currentYear = new Date().getFullYear();
export const GRAD_YEARS = Array.from({ length: 6 }, (_, i) => currentYear + i);