1+ import { EnsureUniqueValues } from "util" ;
2+
13export const SIGList = [
24 "SIGPwny" ,
35 "SIGCHI" ,
@@ -32,4 +34,36 @@ export const CommitteePartnerList = ["Reflections | Projections", "HackIllinois"
3234
3335export const CoreOrganizationList = [ "ACM" , ...SIGList , ...CommitteeCoreList ] as [ string , ...string [ ] ] ;
3436
35- export const AllOrganizationList = [ ...CoreOrganizationList , ...CommitteePartnerList ] as [ string , ...string [ ] ] ;
37+ export const AllOrganizationList = [ ...CoreOrganizationList , ...CommitteePartnerList ] as [ string , ...string [ ] ] ;
38+
39+ export type ACMOrganization = typeof AllOrganizationList [ number ] ;
40+
41+ export const OrganizationShortIdentifierMapping = {
42+ "ACM" : "acm" ,
43+ "SIGPwny" : "sigpwny" ,
44+ "SIGCHI" : "sigchi" ,
45+ "GameBuilders" : "gamebuilders" ,
46+ "SIGAIDA" : "sigaida" ,
47+ "SIGGRAPH" : "siggraph" ,
48+ "ICPC" : "icpc" ,
49+ "SIGMobile" : "sigmobile" ,
50+ "SIGMusic" : "sigmusic" ,
51+ "GLUG" : "glug" ,
52+ "SIGNLL" : "signll" ,
53+ "SIGma" : "sigma" ,
54+ "SIGQuantum" : "sigquantum" ,
55+ "SIGecom" : "sigecom" ,
56+ "SIGPLAN" : "sigplan" ,
57+ "SIGPolicy" : "sigpolicy" ,
58+ "SIGARCH" : "sigarch" ,
59+ "SIGRobotics" : "sigrobotics" ,
60+ "SIGtricity" : "sigtricity" ,
61+ "Infrastructure Committee" : "infra" ,
62+ "Social Committee" : "social" ,
63+ "Mentorship Committee" : "mentorship" ,
64+ "Academic Committee" : "academic" ,
65+ "Corporate Committee" : "corporate" ,
66+ "Marketing Committee" : "marketing" ,
67+ "Reflections | Projections" : "reflproj" ,
68+ "HackIllinois" : "hackillinois" ,
69+ } as const satisfies EnsureUniqueValues < Record < ACMOrganization , string > > ;
0 commit comments